[WIP] BMW Z3

Tell us about the project you do with the open inverter
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

tom91 wrote: Thu Feb 15, 2024 8:23 pm Can you please post the Zombieverter settings .json you currently are running?

As the GS450/IS300h code should be scaling the PotNom to 3500 it seems to not be scaling it alot for some reason.
will do :)
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

tom91 wrote: Thu Feb 15, 2024 8:23 pm Can you please post the Zombieverter settings .json you currently are running?

As the GS450/IS300h code should be scaling the PotNom to 3500 it seems to not be scaling it alot for some reason.
params (1).json
(1.78 KiB) Downloaded 25 times
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

I got the data logger to work though it stopped after 24 seconds but the torque spikes at each end are curious
log (3).csv
(4.86 KiB) Downloaded 18 times
:)
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: [WIP] BMW Z3

Post by Bigpie »

Did your log cover a torque cut?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Bigpie wrote: Fri Feb 16, 2024 11:17 am Did your log cover a torque cut?
Not sure I've had to pop out for a while I'll try it again a bit later
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: [WIP] BMW Z3

Post by tom91 »

Just a few observations:

You limit throttle two ways:
"bmslimhigh": 50
"throtmax": 50

when you do another plot can you add Potnom as this is the calculated throttle command vs your throttle positon reading to see if they stay linear.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

tom91 wrote: Fri Feb 16, 2024 1:53 pm Just a few observations:

You limit throttle two ways:
"bmslimhigh": 50
"throtmax": 50

when you do another plot can you add Potnom as this is the calculated throttle command vs your throttle positon reading to see if they stay linear.
but there is no bms enabled ?
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

weirdest thing, I've just done 3 runs with the data logger and everytime it cuts the data logger stops
log (6).csv
(972 Bytes) Downloaded 21 times
log (5).csv
(972 Bytes) Downloaded 18 times
log (4).csv
(2.71 KiB) Downloaded 19 times
:?
User avatar
rstevens81
Posts: 353
Joined: Sun Dec 22, 2019 10:36 am
Location: Bristol, UK
Has thanked: 23 times
Been thanked: 92 times

Re: [WIP] BMW Z3

Post by rstevens81 »

you haven't got a bad earth or something essentially cutting the 12v?
Rule 1 of EV Club is don't buy a rust bucket....
Which rule does everyone forget 🤪
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: [WIP] BMW Z3

Post by Bigpie »

Go back to the graphs if that's more reliable?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: [WIP] BMW Z3

Post by tom91 »

How are you driving during the logs, your cut outs do not seem to be "consistant" with any over signals.

Can you do it with the Pot1 and Potnom so we can see what happens there.

The Torque cuts, do you loose wifi connection too when it cuts out?
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

rstevens81 wrote: Fri Feb 16, 2024 2:38 pm you haven't got a bad earth or something essentially cutting the 12v?
pretty sure 12v is ok because if I stop straight away and stop and restart the log it starts again straight away so no loss to zombie also inverter and battery voltage match and remain stable so not losing power to inverter
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Bigpie wrote: Fri Feb 16, 2024 3:03 pm Go back to the graphs if that's more reliable?
yes I will go back to graphs as they seem unaffected can't test anymore today as the school is kicking out (damn pesky kids)
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

tom91 wrote: Fri Feb 16, 2024 3:14 pm How are you driving during the logs, your cut outs do not seem to be "consistant" with any over signals.

Can you do it with the Pot1 and Potnom so we can see what happens there.

The Torque cuts, do you loose wifi connection too when it cuts out?
no don't lose wifi, I will have to go back to the graphs as plot is less temperamental
:)
Zechy
Posts: 44
Joined: Sat Apr 30, 2022 1:10 am
Location: Australia
Has thanked: 34 times
Been thanked: 25 times

Re: [WIP] BMW Z3

Post by Zechy »

royhen99 wrote: Tue Feb 13, 2024 7:04 pm As far as I can tell the bodge in lastest release is only in the prius inverter for some reason. Having looked at several posts here and on discord it appears that the temperatures are 8 bit signed value ( maybe it was just assumed to be 16 bit ) . The MTH value when read gets placed into an array of unsigned values that then gets converted to float. I think this Is why Damien was seeing 255 at negative temperatures ( this is also another clue that values are 8 bit and not 16 ). The unsigned value needs converting to integer before converting to float either like this, for 300H, temp_inv_water=int8_t(mth_data[20]); or by declaring temp_inv_water as int8_t in GS450.h.
Thanks royhen99. temp_inv_water=int8_t(mth_data[20]); worked for me. Quick run around the block. Smooth as can be!
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Zechy wrote: Sat Feb 17, 2024 9:31 am Thanks royhen99. temp_inv_water=int8_t(mth_data[20]); worked for me. Quick run around the block. Smooth as can be!
Since this power cut was stopping me progressing with the car I decided to drag my arse into the 21st century and learn how to compile a binary for the zombieverter it took quite a while to install the required software but I got there eventually and made the change as per the quoted post and the problem has now gone the only problem I now have is that I compiled it from the 2.04A release but I'm running a modified version of this that jamie sent me to make my brake booster work so now goes but doesn't stop :lol: never mind plenty of things to get on with at least I would have if it wasn't pissing down
:)
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: [WIP] BMW Z3

Post by Bigpie »

https://github.com/damienmaguire/Stm32-vcu/pull/76 Has the fix, apply that and you're golden.

Also https://github.com/crasbe/ZombieBuild is the easiest way to build :D

Code: Select all

temp_inv_water=int8_t(mth_data[20]);
What about when it's below 0?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Bigpie wrote: Mon Feb 19, 2024 10:27 am https://github.com/damienmaguire/Stm32-vcu/pull/76 Has the fix, apply that and you're golden.

Also https://github.com/crasbe/ZombieBuild is the easiest way to build :D

Code: Select all

temp_inv_water=int8_t(mth_data[20]);
What about when it's below 0?
no idea about below 0, I was just seeing if it worked I haven't even looked at the temps it's throwing out If the rain stops I'll get out and try it and log some values see what happens
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: [WIP] BMW Z3

Post by Bigpie »

int8_t is unsigned integer. Did it fix the cutting out though?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
royhen99
Posts: 211
Joined: Sun Feb 20, 2022 4:23 am
Location: N. Wiltshire. UK
Has thanked: 16 times
Been thanked: 101 times

Re: [WIP] BMW Z3

Post by royhen99 »

uint8_t is unsigned integer, int8_t is signed integer ( -128 to 127 ).
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: [WIP] BMW Z3

Post by Bigpie »

royhen99 wrote: Mon Feb 19, 2024 11:18 am uint8_t is unsigned integer, int8_t is signed integer ( -128 to 127 ).
HAHA I totally misread that
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Bigpie wrote: Mon Feb 19, 2024 11:16 am int8_t is unsigned integer. Did it fix the cutting out though?
yes running fine
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Bigpie wrote: Mon Feb 19, 2024 10:27 am https://github.com/damienmaguire/Stm32-vcu/pull/76 Has the fix, apply that and you're golden.

Also https://github.com/crasbe/ZombieBuild is the easiest way to build :D

Code: Select all

temp_inv_water=int8_t(mth_data[20]);
What about when it's below 0?
Thanks for giving me the benefit of the doubt but your confidence in me was misplaced all I got for my time was a screen full of errors it seems that editing that one line of code was my limit I shall stick to licking windows and eating Crayons :lol:
I've got to drop the l210 anyway to lock the motor to gearbox coupling to stop that bloody rattle
:)
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: [WIP] BMW Z3

Post by Bigpie »

BIN PM'd
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
andybpowell
Posts: 299
Joined: Thu Sep 02, 2021 8:04 pm
Location: Southend,essex,uk
Has thanked: 192 times
Been thanked: 230 times
Contact:

Re: [WIP] BMW Z3

Post by andybpowell »

Thanks to Jamie coming through with an updated Bin making up for my shortcomings we have some more data from the l210 with is300h inverter
I'm pretty sure I'm no longer getting the harsh cut but the car is juddering a lot due to my bad choice of mounting the entire motor to gearbox coupling, but current still max's out at 120 Amps
Screenshot 2024-02-19 134746.png
Screenshot 2024-02-19 134350.png
Screenshot 2024-02-19 133755.png
I'm going to pull out the L210 to fix the coupling to lock the input shaft solid hopefully at the end of the week so if anyone wants me to do any runs before that to get specific data let me know hopefully the l210 wil be out and back in quickly but sods law say's something will slow me down or get in the way you know the way it is. :)
Post Reply