Inverter Firmware v4.94.R

User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Inverter Firmware v4.94.R

Post by ZooKeeper »

bexander wrote: Mon Nov 02, 2020 8:42 am R21 should be 1k2, not 1k1.
How is your temp sensor connected? Should be connected from either pin 13 or 14 and then to GND.
You should be able to read normal room temperature when motor is at room temperature. 100 degree at room temperature means something is not correct.
Thanks, yes wired exactly like you describe. From my Toyota MG2 temp chart, it appears the resistance is off by hundreds of ohms. Since I could not get close with the sensor plugged in, I substituted known resistances across the sensor terminals and compared to the chart (attached).

I will make R21 1k2 and retest.
Attachments
Toyota MG2 temp function chart
Toyota MG2 temp function chart
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
User avatar
bexander
Posts: 866
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden
Has thanked: 71 times
Been thanked: 97 times

Re: Inverter Firmware v4.94.R

Post by bexander »

BTW, are you shure that the temp reading is 101 degrees, not -101degrees?
Setting R21 to 1k1 should result in a large negative value if my math is correct.
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Inverter Firmware v4.94.R

Post by ZooKeeper »

bexander wrote: Mon Nov 02, 2020 5:23 pm BTW, are you shure that the temp reading is 101 degrees, not -101degrees?
Setting R21 to 1k1 should result in a large negative value if my math is correct.
It's -450 with the sensor plugged into the MGR, but much closer to expected with a 14k7, 4k7 and 2k2 resistor respectively.
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
User avatar
bexander
Posts: 866
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden
Has thanked: 71 times
Been thanked: 97 times

Re: Inverter Firmware v4.94.R

Post by bexander »

-450 seem resonable. Change R21 to 1k2 and you should be good.
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Inverter Firmware v4.94.R

Post by ZooKeeper »

Much better, maybe some tweaking with sensor ground resistance ;)

4k7 = 75*C (low by 15*)
2k2 = 108*C (nearly dead-on :) )
1k0 = 145*C (high by 15*)
470 = 183*C (high by 17*)
047 = 200*C+ (saturated)
010 = 200*C++ (saturated)
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
User avatar
bexander
Posts: 866
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden
Has thanked: 71 times
Been thanked: 97 times

Re: Inverter Firmware v4.94.R

Post by bexander »

This is getting far of topic so I will answer in this thread instead.
viewtopic.php?f=14&t=1087
User avatar
EV_Builder
Posts: 1205
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 18 times
Been thanked: 37 times
Contact:

Re: Inverter Firmware v4.94.R

Post by EV_Builder »

Tesla SMALL Drive unit.

In manual mode the il1 and il2 values are broken.
(atleast) didn't start the inverter, went back to 4.90.R-sine

Now i got 0.65Amps and -1.31Amp in manual mode.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
User avatar
johu
Site Admin
Posts: 6710
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1536 times
Contact:

Re: Inverter Firmware v4.94.R

Post by johu »

Here is version 4.95.R, it did the offset calibration ok on my test board. If some people test it as good I will release.
Attachments
stm32_sine.zip
(68.37 KiB) Downloaded 134 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Inverter Firmware v4.94.R

Post by ZooKeeper »

Am I reading that right, "stm32_sine"??
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
User avatar
johu
Site Admin
Posts: 6710
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 368 times
Been thanked: 1536 times
Contact:

Re: Inverter Firmware v4.94.R

Post by johu »

yes, that had the major bug in it
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply