View Single Post
Old 03-26-2016, 04:46 PM   #2701 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 749
Thanked 565 Times in 447 Posts
The Windydrew custom fimrware for racing - based on Paul Holmes Open Source AC Controller 1.1

There is a throttle that is scaled 0 - 100% throttle with no regen programmed.

There is a momentary button (push to engage, disengaged when you let go of the button) that is connected to the LED pin that is wired normally open. Normal state is the button released = input Hi = forward. Button Pressed = input Lo = reverse (or regen braking)

First the regen sequence
Code:
button		Throttle	description
Released	0 - 100%	normal forward controlled by accelerator pedal, 0 - 100%
Released	0%		Coasting, no acceleration
Pressed		0%		If rpm >= 50, switch throttle signal to regen
Pressed		30%		30% regen braking
Pressed		0%		Coasting again, remain in forward with regen
Released	0%		normal forward controlled by accelerator pedal, 0 - 100%
Now we describe reverse
Code:
Released	0 - 100%	normal forward controlled by accelerator pedal, 0 - 100%
Released	0%		Coasting, no acceleration
Pressed		0%		If rpm < 50, switch to reverse.
Pressed		30%		throttle reverse
Pressed		0%		Coasting again, remain in reverse or forward with regen
Released	0%		normal forward controlled by accelerator pedal, 0 - 100%
Did I get that all right?

  Reply With Quote