Tesla Large Drive Unit Support Thread

Topics concerning the Tesla front and rear drive unit drop-in board
Locked
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Jack Bauer »

Your encoder is connected backwards.
I'm going to need a hacksaw
User avatar
Roadstercycle
Posts: 118
Joined: Mon Sep 23, 2019 10:28 pm
Location: California
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Roadstercycle »

Jack, I upgraded this morning right after your new video which answered my charger question, Thank you.

Also I want to say thank you for doing this for all the guys that wanted very badly to run a Tesla motor. I am not electrically inclined when it comes to can bus and circuit board design but if I was I would be helping you all I could with these projects. I have an idea for the model 3 motor. I'll post over in the Model 3 page.
User avatar
muehlpower
Posts: 575
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 103 times

Re: Tesla Large Drive Unit Support Thread

Post by muehlpower »

Hello, does anyone know if there is a harware difference between base and sport LDUs?
User avatar
Lee Malo
Posts: 47
Joined: Thu Mar 21, 2019 6:09 pm
Location: Gloucester MA , USA
Been thanked: 2 times

Re: Tesla Large Drive Unit Support Thread

Post by Lee Malo »

muehlpower wrote: Fri Oct 11, 2019 10:55 am Hello, does anyone know if there is a hardware difference between base and sport LDUs?


Around 7/2017 and up , all of the drive units are the same . said In another way , from 6-2017 and down the LDU are different between the performance unit and the NON performance units . The windings and inverter are built different, I was told by a Tesla technician .
Poor quality lingers long after the cheap price is forgotten.
Fierobsessed
Posts: 5
Joined: Wed Jul 24, 2019 8:42 pm
Location: Las Vegas, Nevada, USA
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Fierobsessed »

muehlpower wrote: Fri Oct 11, 2019 10:55 am Hello, does anyone know if there is a harware difference between base and sport LDUs?
Definitely a different inverter. The IGBT's in the base unit are rated at 75A, while the sport has 120A rated IGBT's that can peak even higher than that, the leads will melt though if they are hit harder than that for any real length of time. I have no info as to whether or not there is any difference in the motor at all. But I would be willing to bet that the Sport LDU has lower resistance across the phase windings.
Rx7FD
Posts: 23
Joined: Tue Aug 20, 2019 12:42 am

Re: Tesla Large Drive Unit Support Thread

Post by Rx7FD »

I got the motor working on 50v, but now with 350v, it no longer works. It is getting the forward input and a correct throttle input, but the motor does not spin or make any sounds at all. When the throttle position goes above 60%, the main contactor is opened and there is an error saying overcurrent. When graphing dc current, it remains at 0. Also, the dc voltage reading is incorrect (421v instead of the true 350v).

Any ideas on what the issue could be?
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Jack Bauer »

Have you reloaded the high voltage parameter file?
I'm going to need a hacksaw
Rx7FD
Posts: 23
Joined: Tue Aug 20, 2019 12:42 am

Re: Tesla Large Drive Unit Support Thread

Post by Rx7FD »

How would I reload that file?

I have reset the parameters over wifi, it didn't work. I have also changed the max voltage parameters to no avail.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Jack Bauer »

I would suggest learning a little more about the system before proceeding further. Start with the wiki here :
https://openinverter.org/wiki/Main_Page

Parameter files are available in this thread :
viewtopic.php?f=10&t=195
I'm going to need a hacksaw
Rx7FD
Posts: 23
Joined: Tue Aug 20, 2019 12:42 am

Re: Tesla Large Drive Unit Support Thread

Post by Rx7FD »

Thanks for the info, I'll let you know how it goes
User avatar
Roadstercycle
Posts: 118
Joined: Mon Sep 23, 2019 10:28 pm
Location: California
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Roadstercycle »

Brake switch input. I am curious if the brake switch input is just for shutting off cruise control or is there also another function. The reason I ask is because if one where to use a brake light wire for the input and the 4 ways are turned on will it just effect the cruise control or will it do something in the motor also. Just wondering.
Rx7FD
Posts: 23
Joined: Tue Aug 20, 2019 12:42 am

Re: Tesla Large Drive Unit Support Thread

Post by Rx7FD »

Thank you Damien, got it working after uploading your parameter file. One more question, I think reverse and forward are switched. I have the motor in the same orientation as the model s, power leads come upwards on passenger side. However, in forward mode, the car moves in reverse. Is this normal? Just a slight error in the programming? Thanks for all the help!
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Tesla Large Drive Unit Support Thread

Post by jon volk »

Yes this is normal. F and R are reversed on the tesla setup. Just wire it accordingly for your switches.
Formerly 92 E30 BMW Cabrio with Tesla power
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Tesla Large Drive Unit Support Thread

Post by jon volk »

Roadstercycle wrote: Thu Oct 24, 2019 7:14 pm Brake switch input. I am curious if the brake switch input is just for shutting off cruise control or is there also another function. The reason I ask is because if one where to use a brake light wire for the input and the 4 ways are turned on will it just effect the cruise control or will it do something in the motor also. Just wondering.
The brake input also triggers the brake pedal regen as well as ignore throttle input as a safety. Use the switch at the pedal. If you take of off the emergency flashers, it’ll drop throttle input on every blink.
Formerly 92 E30 BMW Cabrio with Tesla power
User avatar
dougyip
Posts: 76
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 7 times
Been thanked: 7 times

Re: Tesla Large Drive Unit Support Thread

Post by dougyip »

I'm getting strange Input values. Board is fully connected except for HV and running V4.57. Digital inputs - start/forward/reverse read okay. Pot value reads okay, but potnom reads 0 regardless of potmin/potmax values. Voltage (uaux) reads a constant 16.43 volts which is incorrect - actual voltage is 12.7. Tmphs reads okay, but tmpm alternately reads the correct value and 0. Interesting thing is digital input din_BMS alternately reads 0/1 at exactly the same frequency as tmpm.
Screenshot_20191030-232141_Chrome.jpg
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Jack Bauer »

Uaux is not implemented on the Tesla boards.
One of the motor temp sensors is not implemented hence the jumping value.
The bms pin is used to switch between the motor temp sensors hence the pattern you observed.
Potnom will not change until you are in run mode.
I'm going to need a hacksaw
User avatar
dougyip
Posts: 76
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 7 times
Been thanked: 7 times

Re: Tesla Large Drive Unit Support Thread

Post by dougyip »

Thanks Damien. I've now got the motor spinning at full voltage. Had to swap encoder wires and change "ocurlim" to something < -500 ( I see you use -2500). The temperature sensors that are not implemented are the stator temp sensors. They are very important to us for road racing. Stator temps reach 170 degC within about 5-6 laps of a 16 lap race. The stock Tesla controller cuts back on max power to keep temps from rising further. Can we use an external controller to send CAN messages to modify iacmax, or idcmax, in real time to accomplish the same thing?
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Jack Bauer »

Why not plot the temp vs resistance curve of the missing sensor and Johannes can add it to the firmware.
I'm going to need a hacksaw
User avatar
dougyip
Posts: 76
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 7 times
Been thanked: 7 times

Re: Tesla Large Drive Unit Support Thread

Post by dougyip »

I see that it will be an issue to plot the curves for the stator temperature sensor Mot1 and Mot2. Since the sensors are buried inside the stator casing, I guess I will have to find a large oven! Nominal value at 15 degC is 148k and value lowers with temp, so they are probably some type of 100k NTC thermistor.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by Jack Bauer »

Some good news on board supply. I have now acquired a much more reliable pcb manufacturer here in Ireland and boards will be in stock for immediate dispatch. No more silly delays and boards are being built on an automated smd line so quality is much improved.
Attachments
2019-11-01 15.50.54.jpg
I'm going to need a hacksaw
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Tesla Large Drive Unit Support Thread

Post by Kevin Sharpe »

dougyip wrote: Sat Nov 02, 2019 7:57 pm I see that it will be an issue to plot the curves for the stator temperature sensor Mot1 and Mot2. Since the sensors are buried inside the stator casing, I guess I will have to find a large oven!
You could try asking Zero EV if they have any redundant LDU parts they can sell you... then you would only need to put a small part in the oven :)
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
User avatar
dougyip
Posts: 76
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 7 times
Been thanked: 7 times

Re: Tesla Large Drive Unit Support Thread

Post by dougyip »

I actually have a LDU with a blown inverter, so will strip it down and use that for testing.
arber333
Posts: 3265
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 234 times
Contact:

Re: Tesla Large Drive Unit Support Thread

Post by arber333 »

Kevin Sharpe wrote: Sun Nov 03, 2019 2:42 pm
dougyip wrote: Sat Nov 02, 2019 7:57 pm I see that it will be an issue to plot the curves for the stator temperature sensor Mot1 and Mot2. Since the sensors are buried inside the stator casing, I guess I will have to find a large oven!
You could try asking Zero EV if they have any redundant LDU parts they can sell you... then you would only need to put a small part in the oven :)
I dont think that is neccessary. I plotted various temp sensors for Volt. Prius and Leaf components by running hot coolant through them.
You need one 2kW dishwasher heater, 12V coolant pump and laser temp reader or other reference. You do have to bypass heaters thermostat though. Maybe to control temperature you can use digital thermostat relay. They are not expensive. Then temperature is maintained in hoses and stator heats up.
Then you just have to maintain temperature untill stator sensor stops changing value and record that.
Then increase temperature on thermostat by 5deg and wait for stator value to stabilize again.

For temperature over 100deg use 100% ethylene glycol (clear liquid) which has boiling point at 200deg.
User avatar
dougyip
Posts: 76
Joined: Thu May 09, 2019 2:02 pm
Location: Vancouver, BC
Has thanked: 7 times
Been thanked: 7 times

Re: Tesla Large Drive Unit Support Thread

Post by dougyip »

The problem with running water through the coolant channels is that there will be a significant temperature gradient across the stator. One side will be at the coolant temperature, the other will be at the air gap temperature. The actual sensor temperature will be somewhere between. I have actually located an industrial oven I can use.
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Tesla Large Drive Unit Support Thread

Post by Kevin Sharpe »

dougyip wrote: Sun Nov 03, 2019 3:45 pm I actually have a LDU with a blown inverter, so will strip it down and use that for testing.
Great, it will be good to have this final temperature sensor supported :)
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
Locked