Parameters for SDU

Topics concerning the Tesla front and rear drive unit drop-in board
Post Reply
phillipschip
Posts: 113
Joined: Wed Jun 19, 2024 2:02 am
Has thanked: 4 times
Been thanked: 16 times

Parameters for SDU

Post by phillipschip »

I was hoping someone could point me in the direction of a good set of tested parameters to start with for my Tesla SDU.
Thanks! Chip
User avatar
johu
Site Admin
Posts: 6487
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 303 times
Been thanked: 1406 times
Contact:

Re: Parameters for SDU

Post by johu »

Openinverter.org/parameters has some
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
catphish
Posts: 959
Joined: Fri Oct 08, 2021 11:02 pm
Location: Dorset, UK
Has thanked: 96 times
Been thanked: 188 times

Re: Parameters for SDU

Post by catphish »

I did considerable work tuning the SDU. I posted a set of parameters here that I deemed to be a good safe starting point: https://openinverter.org/parameters/view.html?id=27

There is also another (I believe more aggressively tuned) version that posted here: viewtopic.php?p=45898#p45898

Either of those should be a good starting point, though they were developed at 310V so your results may vary at higher voltages.
phillipschip
Posts: 113
Joined: Wed Jun 19, 2024 2:02 am
Has thanked: 4 times
Been thanked: 16 times

Re: Parameters for SDU

Post by phillipschip »

Thanks Catphish!
If my nominal voltage is 390, what would you suggest tweaking if I were to copy your parameters for my first shot?
User avatar
Romale
Posts: 496
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 288 times
Been thanked: 67 times

Re: Parameters for SDU

Post by Romale »

catphish wrote: Sun Sep 15, 2024 11:30 pm I did considerable work tuning the SDU. I posted a set of parameters here that I deemed to be a good safe starting point: https://openinverter.org/parameters/view.html?id=27

There is also another (I believe more aggressively tuned) version that posted here: viewtopic.php?p=45898#p45898

Either of those should be a good starting point, though they were developed at 310V so your results may vary at higher voltages.

why do different parameter sets have different sign settings for current sensors and OC?
Some of these values are negative, others have positive values.
evil neodymium :twisted:
User avatar
johu
Site Admin
Posts: 6487
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 303 times
Been thanked: 1406 times
Contact:

Re: Parameters for SDU

Post by johu »

It's random. They just need to have the same sign (ocurlim and ilXgain). In FOC it is relevant in sine not
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Romale
Posts: 496
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 288 times
Been thanked: 67 times

Re: Parameters for SDU

Post by Romale »

johu wrote: Fri Oct 04, 2024 2:47 pm It's random. They just need to have the same sign (ocurlim and ilXgain). In FOC it is relevant in sine not
Thanks! I would never have thought of it.
evil neodymium :twisted:
RobCote
Posts: 131
Joined: Sun Sep 24, 2023 10:54 am
Has thanked: 27 times
Been thanked: 13 times

Re: Parameters for SDU

Post by RobCote »

This is sort of tangentially related - I have a V8 SDU board. I see that the WiFi was flaky once the drive unit is closed up and is therefore no included on the current release of control boards. In its stead, what is the best procedure for viewing and manipulating the inverter parameters? I'm nearly ready to close everything up and put it into the chassis, but I want to do my due diligence to ensure things look correct before I jump 3 steps ahead.
User avatar
Romale
Posts: 496
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 288 times
Been thanked: 67 times

Re: Parameters for SDU

Post by Romale »

I use esp12e wi-fi modules with v8 boards, soldering them with wires. they work perfectly through the inverter housing and the car. very good communication quality.

just don't forget to put the communication module in insulation and attach it to the board with hot glue so that it doesn't hang out!
IMG20250212192900.jpg
evil neodymium :twisted:
RobCote
Posts: 131
Joined: Sun Sep 24, 2023 10:54 am
Has thanked: 27 times
Been thanked: 13 times

Re: Parameters for SDU

Post by RobCote »

What is that resistor doing on the Wifi board? I can't quite make out which terminals you've jumped there.
User avatar
Romale
Posts: 496
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 288 times
Been thanked: 67 times

Re: Parameters for SDU

Post by Romale »

Rx, Tx, Gnd, +3.3v
This 10K resistor is needed to power the module startup. the same resistor is on the reverse side of the other two pins.
IMG20250213115417~2.jpg
evil neodymium :twisted:
User avatar
Romale
Posts: 496
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 288 times
Been thanked: 67 times

Re: Parameters for SDU

Post by Romale »

it's probably worth noting that I solder already stitched Wi-Fi modules using a separate programmer for this.
evil neodymium :twisted:
RobCote
Posts: 131
Joined: Sun Sep 24, 2023 10:54 am
Has thanked: 27 times
Been thanked: 13 times

Re: Parameters for SDU

Post by RobCote »

I can’t figure it out. I am too dumb for programming, I guess.
Post Reply