Joined
·
4,389 Posts
I wanted to bounce something off you guys:
Assembly languare programmers always look for the simplest way to solve a problem reliabily. To write a tight assembly program for throttle control, means trying get one more control multiplexed on top of the standard throttle = more power less power control.
The second control function is the electric / gas power mix proportion, or level of assist/regen .
This is the information I am generating from the throttl pedal
I take 1/8 second samples of the throttle A/D value which is being sampled several hundred times a second. I do a running average of 8 of those samples.(1 second) Any throttle change will yield 4 numbers.
1. The running average of the last second.
2. The last throttle reading
3. The rate of change (difference between the average and the last reading)
4.The throttle position with 0ne part in 1000 resolution.
If you press down slowly, the difference can be as little as 3-4 even though the throttle may have moved from full off to full on, you did it slowly, so the average was almost able to keep up with your rate of change.
If you press down fast, you can generate almost 255 of difference,with just a short motion, since the value is rate of change rather than positional based. As soon as you stop moving the throttle, it settles back to zero in a sec or so.
One system of using these 3 numbers to control MIMA by throttle could go as follows:
1. cruising at 55, @70MPG+, in lean burn. See a hill coming up, want to climb it mostly MIMA powered. I slowly back off the throttle (there will be a speed of throttle rate of change that will not activate MIMA call it the dead band of throttle rate of change.) when I want to activate MIMA, I step down quickly (full assist) not so quick ( 3/4 assist) medium (1/2 assist) slow (1/4 assist). A quick slight backing off of the throttle and a return to the same lean burn point would turn MIMA assist off. Regen would work in a similar way as you lift the throttle, the speed that your foot moves at determines magnitude of regen.
Change your foot position slowley, and you can go from idle to full throttle, and never trigger assist, and the same in reverse as far as regen.
System tuning variables for throttle will be The assist dead band, assist (Magnify), the regen dead band and regen (Magnify)are settable with the left right joystick, and will be retained until you change them again.
That is how it is looking right now. Any ideas suggestions? Comments?
Assembly languare programmers always look for the simplest way to solve a problem reliabily. To write a tight assembly program for throttle control, means trying get one more control multiplexed on top of the standard throttle = more power less power control.
The second control function is the electric / gas power mix proportion, or level of assist/regen .
This is the information I am generating from the throttl pedal
I take 1/8 second samples of the throttle A/D value which is being sampled several hundred times a second. I do a running average of 8 of those samples.(1 second) Any throttle change will yield 4 numbers.
1. The running average of the last second.
2. The last throttle reading
3. The rate of change (difference between the average and the last reading)
4.The throttle position with 0ne part in 1000 resolution.
If you press down slowly, the difference can be as little as 3-4 even though the throttle may have moved from full off to full on, you did it slowly, so the average was almost able to keep up with your rate of change.
If you press down fast, you can generate almost 255 of difference,with just a short motion, since the value is rate of change rather than positional based. As soon as you stop moving the throttle, it settles back to zero in a sec or so.
One system of using these 3 numbers to control MIMA by throttle could go as follows:
1. cruising at 55, @70MPG+, in lean burn. See a hill coming up, want to climb it mostly MIMA powered. I slowly back off the throttle (there will be a speed of throttle rate of change that will not activate MIMA call it the dead band of throttle rate of change.) when I want to activate MIMA, I step down quickly (full assist) not so quick ( 3/4 assist) medium (1/2 assist) slow (1/4 assist). A quick slight backing off of the throttle and a return to the same lean burn point would turn MIMA assist off. Regen would work in a similar way as you lift the throttle, the speed that your foot moves at determines magnitude of regen.
Change your foot position slowley, and you can go from idle to full throttle, and never trigger assist, and the same in reverse as far as regen.
System tuning variables for throttle will be The assist dead band, assist (Magnify), the regen dead band and regen (Magnify)are settable with the left right joystick, and will be retained until you change them again.
That is how it is looking right now. Any ideas suggestions? Comments?