1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Tell us about the project you do with the open inverter

What motor/inverter combo would you like to see me use?

Poll ended at Wed Jan 31, 2024 8:57 pm

Nissan Leaf
13
38%
Toyota Prius
15
44%
Other (No Outlanders in US)
6
18%
 
Total votes: 34
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

Alibro wrote: Sat May 04, 2024 8:58 am I was going to use the start position of my ignition switch to enable drive, but in my car the Ign pos 1 and 2 are disconnected from the battery when I do. Probably to ensure the starter gets 100% of battery power but I was disappointed when I discovered this as it caused issues else where.
It's not ideal but drive is enabled as soon as I turn to pos 2.

But I'm not using Zombie so I'm missing a lot of the benefits of it.
Interesting, do you think the Freelander has something like an X-Relay circuit in it, which cripples ancillaries whilst starting?
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Alibro
Posts: 863
Joined: Sun Feb 23, 2020 9:24 am
Location: Northern Ireland
Has thanked: 273 times
Been thanked: 153 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Alibro »

I think it is just part of the ignition switch that disconnects everything except the starter and whatever other part of the ECU etc required for the car to start. I already had the VCU and other parts of the LV junction box connected to Ign pos 1 and 2 when I realised.
I need a bigger hammer!
MattsAwesomeStuff
Posts: 912
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 304 times
Been thanked: 186 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by MattsAwesomeStuff »

Gregski wrote: Sat May 04, 2024 4:13 amZombieVerter VCU Wont RUN
A hunch...

When autorefresh is on, the search bar refreshes faster than you can get to the 2nd search item.

I've come across a few things like that, that seemed like they were broken or unresponsive, and it was just the auto-refresh.

...

On variable names, I'm onboard with you. They're programmer-friendly for anyone editing the code perhaps, but not user-friendly.

Short variable names are perhaps useful when using the interface to send commands directly. "Set udcsw 330" or whatnot on the command line. But for anyone reading them, yeah, challenging.

On Johannes not listening... Johannes has already cleaned up Damien's variable names at least once in the past, just for consistency's sake for capitalization nomenclature and all that, and gave a lecture on why it's important. Seems to not have stuck perhaps :P

And like any system, it now has momentum behind it.

I'd settle for a questionmark or a hover bubble next to each variable name where you could click on it and it brings up the help/info on that specfiic parameter. Last I went through this, even many of main parameters had no description or documentation about what they are and how you'd use them.

I was thinking about documentation having like, beginner, intermediate, and advanced use for each parameter.

But like most of my ideas on documentation, you have to understand something really well in order to document it well, especially at a structural stage, and I don't have the depth of knowledge to followthrough on any of the documentation redesign I get half way through suggesting.

This leaves the inevitable curse of open source... anyone who can figure it out doesn't need to document it, and anyone who can't figure it out can't document it. So, nothing is ever thoroughly documented. :p
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

MattsAwesomeStuff wrote: Sat May 04, 2024 10:30 pm A hunch...

When autorefresh is on, the search bar refreshes faster than you can get to the 2nd search item.

I've come across a few things like that, that seemed like they were broken or unresponsive, and it was just the auto-refresh.

...

On variable names, I'm onboard with you. They're programmer-friendly for anyone editing the code perhaps, but not user-friendly.

Short variable names are perhaps useful when using the interface to send commands directly. "Set udcsw 330" or whatnot on the command line. But for anyone reading them, yeah, challenging.

On Johannes not listening... Johannes has already cleaned up Damien's variable names at least once in the past, just for consistency's sake for capitalization nomenclature and all that, and gave a lecture on why it's important. Seems to not have stuck perhaps :P

And like any system, it now has momentum behind it.

I'd settle for a questionmark or a hover bubble next to each variable name where you could click on it and it brings up the help/info on that specfiic parameter. Last I went through this, even many of main parameters had no description or documentation about what they are and how you'd use them.

I was thinking about documentation having like, beginner, intermediate, and advanced use for each parameter.

But like most of my ideas on documentation, you have to understand something really well in order to document it well, especially at a structural stage, and I don't have the depth of knowledge to followthrough on any of the documentation redesign I get half way through suggesting.


I could not have said it better myself, and this last part I tried to quote you on many a times before but I could not find or remember where I first read you say that (read you say that??? yeah it's now a thing)

MattsAwesomeStuff wrote: Sat May 04, 2024 10:30 pm This leaves the inevitable curse of open source... anyone who can figure it out doesn't need to document it, and anyone who can't figure it out can't document it. So, nothing is ever thoroughly documented. :p

strength in numbers folks Strength In Numbers !!!
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

84 VW MK1 Rabbit DIY Wire Harness Fuse Block & BMW Safety Box Part 1





What is he up to now?
IMG_4404.JPG
IMG_4406.JPG
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
jrbe
Posts: 308
Joined: Mon Jul 03, 2023 3:17 pm
Location: CT, central shoreline, USA
Has thanked: 105 times
Been thanked: 83 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by jrbe »

MattsAwesomeStuff wrote: Sat May 04, 2024 10:30 pm This leaves the inevitable curse of open source... anyone who can figure it out doesn't need to document it, and anyone who can't figure it out can't document it. So, nothing is ever thoroughly documented. :p
Gregski wrote: Sun May 05, 2024 12:53 am strength in numbers folks Strength In Numbers !!!
I don't want to get too off topic, but while you guys are chatting about documentation I wanted to throw an Idea into the ring.

I believe ai is perfectly suited for digging through tons of text and pulling out pertinent info to put documentation together. I've been pretty impressed with claude.ai specifically. I haven't tried yet but I think Claude can do this well. It should help with giving the documentation 1 voice and should also be able to translate it to different languages.
I'll stop there. If you guys want to pursue this and want to start another thread about this please tag me in it.
User avatar
uhi22
Posts: 649
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 93 times
Been thanked: 429 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by uhi22 »

User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

84 VW MK1 Rabbit DIY Wire Harness Fuse Block & BMW Safety Box 2






below the bench power supply on the right is simulating the High Voltage battery pack
IMG_4445.JPG

IMG_4447.JPG
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
MattsAwesomeStuff
Posts: 912
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 304 times
Been thanked: 186 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by MattsAwesomeStuff »

Gregski wrote: Tue May 07, 2024 1:27 pm84 VW MK1 Rabbit DIY Wire Harness Fuse Block & BMW Safety Box 2 What's going on here, isn't the light bulb the same as a capacitor?
Just taking a swing...

A capacitor is a load, yes. But when it charges up it stays charged.

A light bulb is also a load, but it is continuous. So it's constantly draining the power.

Since you don't actually have a capacitor hooked up, there's no energy reserve. Maybe when your relay toggles, that moment between, the voltage drops and throws the error?
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

MattsAwesomeStuff wrote: Tue May 07, 2024 5:57 pm Just taking a swing...

A capacitor is a load, yes. But when it charges up it stays charged.

A light bulb is also a load, but it is continuous. So it's constantly draining the power.

Since you don't actually have a capacitor hooked up, there's no energy reserve. Maybe when your relay toggles, that moment between, the voltage drops and throws the error?
Thanks Matt, per a commentors suggestion I tried lowering the udcsw to 35 volts and that worked, someday I will understand all this but today is not that day
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

ZombieVerter VCU Throttle Calibration




Throttlefication.jpg
Sweet Spot.jpg
IMG_4500 Labeled.jpg
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
MattsAwesomeStuff
Posts: 912
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 304 times
Been thanked: 186 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by MattsAwesomeStuff »

"Digits" I think is, maybe a poor translation, based on Johannes' feedback to me a few years ago.

In English, digits means how many orders of magnitude. Like, 5927 is 4 digits. 218 is 3 digits. How many columns the number takes up.

"Units" might be a closer meaning.

For example, there are some variables that vary between 0 and 4095. If a variable is currently at 500... that's 500 of what? It doesn't have a unit, (amps, volts, ohms, etc), so its unit... is units.

You can think of it like a percentage, if the percentage went from 0-4095 instead of 0-100. It's a unitless number.

I've never heard anyone describe that in English as "digits", though, I'm only an engineering dropout, so, maybe I'm missing something.
P.S.Mangelsdorf
Posts: 779
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 97 times
Been thanked: 100 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by P.S.Mangelsdorf »

MattsAwesomeStuff wrote: Fri May 10, 2024 4:44 am It's a unitless number.
That's how my engineering professors would have described it.

A unitless integer with a range from 0 to whatever.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

P.S.Mangelsdorf wrote: Fri May 10, 2024 2:38 pm That's how my engineering professors would have described it.

A unitless integer with a range from 0 to whatever.

man just when I thought I knew nothing, you remind me that I know even less !
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
mane2
Posts: 186
Joined: Fri Jan 13, 2023 6:32 am
Location: Finland
Has thanked: 23 times
Been thanked: 21 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by mane2 »

How about "Reference Voltage"?
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

mane2 wrote: Fri May 10, 2024 4:44 pm How about "Reference Voltage"?
talk to me Goose.jpg
talk to me Goose.jpg (11.22 KiB) Viewed 514 times
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
P.S.Mangelsdorf
Posts: 779
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 97 times
Been thanked: 100 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by P.S.Mangelsdorf »

Gregski wrote: Fri May 10, 2024 3:18 pm man just when I thought I knew nothing, you remind me that I know even less !
Oh let's not pretend I know anything either!
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
arber333
Posts: 3276
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 239 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by arber333 »

Gregski wrote: Fri May 10, 2024 3:18 pm man just when I thought I knew nothing, you remind me that I know even less !
Well nice job with the video...
It is all about sensor resolution. 0 to 4095 means your sensor can see in 12bit increments. 12bit is greater parts than 10bit. This means your full sensor resolution is divided into 4095 indivdual parts which are referenced by the chip Aref pin. This pin wil see the full value from 0 to Vref (can be 3V3 on some chips and 5V on others...) so thats your analog sensor input pin can comfortably divide its 12bit array to 4095 of same pieces of cake.
When you move thottle your analog pin will see changes in voltage but its comparator will see how many of those parts you ran through with voltage :). Those parts will turn from 0 to 1 and this will mean something which was predetermined in code. Normally result is in % throttle, but it could be in Nm of torque or CAN bus command etc...

When you calibrate throttle you set the area within those 4095 parts where throttle is active. For example if you use 5V reference, but your throttle can only show from 0.8V to 4.2V you calibrate that area with some overhead to eliminate jumpiness. Say calibrate from 0.85V to 3.99V. This will then mean 0 to 100% throttle motion, everything else will be ignored. This may mean you cant utilize full 4095 pieces of cake but only 3200. Still it is plenty enough for detecting throttle changes.
MattsAwesomeStuff
Posts: 912
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 304 times
Been thanked: 186 times

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by MattsAwesomeStuff »

arber333 wrote: Fri May 10, 2024 9:02 pmfrom 0.8V to 4.2V you calibrate that area with some overhead to eliminate jumpiness. Say calibrate from 0.85V to 3.99V. This will then mean 0 to 100% throttle motion, everything else will be ignored.
In the original setup documentation, the notes say that you're supposed to calibrate the throttle to be a "little less than, and a little more than" the actual measurements.

And I asked, and got no reply, as to whether that should've been smaller net range or larger net range. The wording was ambiguous, like saying "Traffic lights tell you whether to stop or go", yes but WHICH tells you to stop and which tells you to go? You haven't delivered the critical piece of information. The throttle should be a little less and a little more. Okay, but in what way?

If throttle was 1.0v to 4.0v ... do I set it to 0.9v-4.1v? Or do I set it to 1.1v-3.9v? Greg shows we narrow the net range, so the latter.

My concern here, several years ago, based on what Arber said, was... in what way does it ignore it? Like, if my pedal is 1.0v to 4.0v ... and I set it 1.1v to 3.9v ... what happens when I put the pedal to the metal? What happens when I cross past 3.9v? Does my throttle suddenly die because I bottomed it out at 4.0v?

Do I actually set the throttle like a parallelegram, 1.1v to 4.1v?

Like, these questions all have answers, but again it relates to the trouble of documentation written for equals, or documentation written for people who know less than you. So much open source documentation is written for equals, as light reminders. When, to be useful, it needs to be written for people who would merely use the project, not people who could've developed it themselves.
arber333
Posts: 3276
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 239 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by arber333 »

MattsAwesomeStuff wrote: Fri May 10, 2024 10:11 pm ...
If throttle was 1.0v to 4.0v ... do I set it to 0.9v-4.1v? Or do I set it to 1.1v-3.9v? Greg shows we narrow the net range, so the latter.
If the program in the VCU is set correctly you cant calibrate lesser value than your sensor is showing. You are seeing 0.8V low and 4.2 full and you cant measure 0.6V unless you do something directly to the sensor circuit. When you calibrate you put your foot on the pedal only slightly so you show VCU where your preset 0% is Not natural 0 but preset 0!
Then you push the pedal full and show VCU where the 100% is set. Because of pedal geometry this could be less than 4.2V but never more since the op amp inside the pedal can only go so far.
My concern here, several years ago, based on what Arber said, was... in what way does it ignore it? Like, if my pedal is 1.0v to 4.0v ... and I set it 1.1v to 3.9v ... what happens when I put the pedal to the metal? What happens when I cross past 3.9v? Does my throttle suddenly die because I bottomed it out at 4.0v?
When you go past 3.9V with full throttle analog sensor will still read say 4030 value but since you set the limits by calibrating code then 100% value ends with 3.9V or translated 3980 into 12bit pieces. VCU will know you are past the value but will only output up to the 100% value. An equivalent of mechanical door stop if you will.
Do I actually set the throttle like a parallelegram, 1.1v to 4.1v?
I have throttle reading set at 1.6V to 4.0V in my Mazda just because pedal geometry works that way. And it still works good.
The way Aot93 programmed VCU is to take motor RPM and pedal position and produce torque request. This means my throttle position is made of only 21 pices of cake!!! And it still works rather well.
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

arber333 wrote: Fri May 10, 2024 9:02 pm Well nice job with the video...
It is all about sensor resolution. 0 to 4095 means your sensor can see in 12bit increments. 12bit is greater parts than 10bit. This means your full sensor resolution is divided into 4095 indivdual parts which are referenced by the chip Aref pin. This pin wil see the full value from 0 to Vref (can be 3V3 on some chips and 5V on others...) so thats your analog sensor input pin can comfortably divide its 12bit array to 4095 of same pieces of cake.
When you move thottle your analog pin will see changes in voltage but its comparator will see how many of those parts you ran through with voltage :). Those parts will turn from 0 to 1 and this will mean something which was predetermined in code. Normally result is in % throttle, but it could be in Nm of torque or CAN bus command etc...

When you calibrate throttle you set the area within those 4095 parts where throttle is active. For example if you use 5V reference, but your throttle can only show from 0.8V to 4.2V you calibrate that area with some overhead to eliminate jumpiness. Say calibrate from 0.85V to 3.99V. This will then mean 0 to 100% throttle motion, everything else will be ignored. This may mean you cant utilize full 4095 pieces of cake but only 3200. Still it is plenty enough for detecting throttle changes.

Image
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

sometimes you're allowed to have a little fun

IMG_4492.JPG
IMG_4494.JPG
IMG_4496.JPG
IMG_4498.JPG
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

introducing the latest line to our Wood-A-Bility series

IMG_4502.JPG
IMG_4505.JPG
IMG_4511.JPG
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

I had so much fun making this...

IMG_4507.JPG
IMG_4509.JPG
IMG_4513.JPG
IMG_4515.JPG
IMG_4517.JPG
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
User avatar
Gregski
Posts: 2344
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 359 times
Been thanked: 476 times
Contact:

Re: 1984 Voltswagen Rabbit Prius Gen 3 ZOMBIE

Post by Gregski »

Bus Bars Amazon Listing.jpg
71ES1ejsBgL._SL1500_.jpg
81Re1PFLCYL._SL1500_.jpg
81ua-T4miqL._SL1500_.jpg
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Post Reply