Search found 202 matches

by cloudy
Mon Jan 29, 2024 3:22 pm
Forum: Open Tasks
Topic: Make Nissan Leaf Gen3 adapter board
Replies: 62
Views: 20611

Re: Make Nissan Leaf Gen3 adapter board

Looks great! How has testing been going?
by cloudy
Sat Jul 15, 2023 3:21 pm
Forum: Tesla
Topic: Dead SDU? or not?
Replies: 15
Views: 1002

Re: Dead SDU? or not?

Not sure what level the fault signal should be but please be super careful if you have HV connected and live with the inverter open. Should ideally be using HV rated gloves. Guessing you are just testing interlock without voltage but just in case!
by cloudy
Sat Jul 15, 2023 11:57 am
Forum: Tesla
Topic: Dead SDU? or not?
Replies: 15
Views: 1002

Re: Dead SDU? or not?

Sounds like your multimeter might not be up to par, those measurements are well out of expected tolerance...
by cloudy
Fri Jul 14, 2023 12:45 pm
Forum: Tesla
Topic: Dead SDU? or not?
Replies: 15
Views: 1002

Re: Dead SDU? or not?

Suspect Tom is right - but just in case - I had an issue caused by the HVIL input For anyone trying to fix similar - I found a tombstoned capacitor (C50) on the HVIL line into the nand gate - resoldering that appears to have fixed the issue. I guess HVIL was triggering - which it seems would also ca...
by cloudy
Thu Jul 06, 2023 8:55 am
Forum: Vehicle Control (VCU)
Topic: Chademo Leaf PDM & Zombieverter!
Replies: 57
Views: 11124

Re: Chademo Leaf PDM & Zombieverter!

Do you have the 12v to the PDM switched via the VCU controlled relay? Describing the same symptom as when you wake the PDM ign line before precharge. If it helps I can confirm AC charging is working fine on v2
by cloudy
Tue Jun 20, 2023 9:35 am
Forum: BMW
Topic: Info on BMW hybrid battery packs?
Replies: 436
Views: 679228

Re: Info on BMW hybrid battery packs?

Does anyone have any of medium/long HV module interconnect cables they would be willing to sell/swap in UK? (I have several of the short "back to back" connectors available)
by cloudy
Wed May 31, 2023 1:54 pm
Forum: Tesla
Topic: SDU bolt discussion (split from catphishes project thread)
Replies: 17
Views: 1016

Re: SDU bolt discussion (split from catphishes project thread)

Just checked, it's a normal m8x1.25. Maybe your threads are damaged?
by cloudy
Wed May 31, 2023 11:25 am
Forum: Tesla
Topic: SDU bolt discussion (split from catphishes project thread)
Replies: 17
Views: 1016

Re: SDU bolt discussion (split from catphishes project thread)

Pretty sure it's a standard M8 coarse bolt - (I replaced mine)
by cloudy
Sat Apr 29, 2023 5:43 pm
Forum: Classifieds
Topic: Wanted - Bmw hybrid battery link cable
Replies: 3
Views: 510

Re: Wanted - Bmw hybrid battery link cable

You can buy these direct from BMW for next to nothing - the short one for side by side modules ones are £13 if I remember correctly!
by cloudy
Thu Apr 20, 2023 8:51 am
Forum: Nissan
Topic: Nissan Leaf Resolver offsets
Replies: 30
Views: 6649

Re: Nissan Leaf Resolver offsets

Thanks, yes I'd seen that one, but it didn't mention whether offsets were considered. In theory it would still work to some degree even if 180 out, do you think power matches expected, get good regen and is it the same performance when in reverse gear?
by cloudy
Wed Apr 19, 2023 9:09 pm
Forum: Nissan
Topic: Nissan Leaf Resolver offsets
Replies: 30
Views: 6649

Re: Nissan Leaf Resolver offsets

Looking for some advice as planning to reverse a leaf motor on original inverter. I can swap the cosine resolver pair and a phase which I think should reverse motor. However I think this will offset the resolver signal by 180 degrees as cosine phase is inverted, which from previous would probably ru...
by cloudy
Sat Mar 25, 2023 2:51 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Back to testing this. This time implemented a full PID controller.

Parameters need a fair bit of tuning, but best result yet. Still oscillating but slip angle was kept within 40% - current is being pulled back within 50ms of the slip starting, but still takes 200ms to control.
pidmode.JPG
by cloudy
Sat Mar 25, 2023 2:39 pm
Forum: Nissan
Topic: Gen 3 160kw inverter only outputs 125 kw
Replies: 15
Views: 1792

Re: Gen 3 160kw inverter only outputs 125 kw

You get 125 from the 110?
by cloudy
Mon Mar 13, 2023 11:32 pm
Forum: Nissan
Topic: Gen 3 160kw inverter only outputs 125 kw
Replies: 15
Views: 1792

Re: Gen 3 160kw inverter only outputs 125 kw

Did anyone manage to solve this in the end?
by cloudy
Sat Mar 11, 2023 2:48 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Not able to get as close with an integral approach, tried a few things. Probably need to look towards PID - the derivative should prevent the overshoot both of these approaches give.
tcutest5.JPG
by cloudy
Sun Mar 05, 2023 6:51 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Exactly, currently it's 3* slipError (deviation from desired slip) I was just focused on the first slip ie: getting a control loop fast enough to catch the initial slip - but was certainly expecting getting my approach to reach steady state would need lots of tuning. Will give integral-only approach...
by cloudy
Sun Mar 05, 2023 4:20 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Another slight improvement. 50%/10ms and throtfilter 3. I reckon I can shave off even more time by either dropping the target slip (so it drops throtmax quicker) and increasing the proportional response (or moving to a basic PID controller that can see the trend of increasing slip earlier) and reduc...
by cloudy
Sat Mar 04, 2023 9:46 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Sounds like you've gone through the same journey! (am also SDU) Thanks for your patch! I've compiled latest with your commit included and will give it a whirl at 50%/10ms and throtFilter at 3 instead of 4 when out next. I wonder if it would be also be useful to be able to configure rising and fallin...
by cloudy
Sat Mar 04, 2023 2:44 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

40%/10ms - fair bit better but still not fast enough. Throttle/potnom is cut within about 40-50ms of the slip starting, but motor current takes a further 50ms to decay - can reduce the ramp up to 100%/10ms but then I'm dealing with some internal openinverter ramping I guess...
tcutest2.JPG
by cloudy
Sat Mar 04, 2023 11:31 am
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Ran a few tests today with 2%/10ms throtramp. It's "working" but unable to keep up and ends up oscillating. Seems throtramp also applies for coming off throttle, I had assumed it was only for application, but clearly see its falling at 2%/10ms also. I'm going to have to raise that value a ...
by cloudy
Sat Feb 25, 2023 11:50 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Mystery solved! :D
by cloudy
Sat Feb 25, 2023 9:34 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Hmm setting the scaling to -32 works, but I have to send in a positive number...
by cloudy
Sat Feb 25, 2023 9:09 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Struggling to get the throtmin parameter to map... for throtmax I have: can rx throtmax 1794 48 8 32 (which works fine) For throtmin (negative numbers) I have tried all sorts but think it should be: can rx throtmin 1794 56 8 32 I can get it to set 0 on 0x00, but no other values work (ie: 0xCE (-50) ...
by cloudy
Mon Feb 20, 2023 4:17 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Well looks like I need to just try it!

I looked at a few 3rd party TC modules and seems common to have a parameter for increased slip allowed during initial phase of launch (I guess to combat backlash, squat & slow wheel sensor update) I've implemented to see if useful...
by cloudy
Mon Feb 20, 2023 12:04 pm
Forum: General
Topic: Best sine parameter to vary for traction control?
Replies: 27
Views: 2353

Re: Best sine parameter to vary for traction control?

Thank you both - that's most helpful! Johannes, looks like you are sending the throtmax param at 100Hz - is that working OK?