Skip to content

Throttle Configuration

knoxsp edited this page May 17, 2020 · 2 revisions

throttle fault < max regen < min regen < min positive torque < max positive torque

So, a possible configuration for a standard hall effect throttle would be:

throttle fault = 5 max regen = 50 min regen = 200 min positive torque = 250 max positive torque = 900

So, "zero torque command" is in 200-250. Then, when you release the throttle completely, it might show 50 on the microcontroller, so you would get max regen until you come to a stop. Full throttle would be around 900 (1023 would mean 5.0 volts for the analog signal).

Now it's time to connect your throttle. My board is set for 0 - 5K ohms input, 0 = stop and 5K = max speed. I have one end of the throttle connected to 5V, the other to 0V and the wiper connected to the throttle input. These are all on the 3 pin header as labeled.

With an ohm-meter, you should be able to figure out which way your throttle works. We are not using the relay contacts on the throttle if you have them.

Power up your controller. You should hear the clicks, see the AC Controller version 1.0 message, and there should not be a throttle error.

Now we are going to check out the throttle signal. type in these commands, one line at a time, with an ENTER after each one

After the last one, lines will start to scroll on your terminal and will look something like this

We are looking at the raw throttle signal, a number from 0 - 1023 that represents 0V - 5.0V and the scaled throttle signal, which is a number from -16000 to +16000 which is sent to the controller algorithm, which converts that to the pulses sent out to the motor.

When you change your throttle, the numbers change. It is a good idea to write down what the raw throttle signal is when the throttle is released and when it is at maximum. This value will change a little bit with temperature, and over time. So we don't use that number EXACTLY.

Here are my numbers. I set up my throttle for single direction (the motor won't go reverse at all) which is good for a manual transmission that has a reverse gear.

Minimum 121 Maximum 968

So with these numbers, I changed the settings below

Fault Max rev Min rev Min fwd Max fwd

So of the throttle signal is below fault, the controller shuts off and the motor coasts Between Fault and Max rev it runs at maximum reverse. I don't want reverse, so I put Max rev below Fault Min rev is also below Fault Anything between Fault and Min Fwd does nothing. It is coast And between Min Fwd and Max Fwd is a linear increase in torque (NOT SPEED) for the motor. You can go over your max speed if you are going downhill. This is kind of important to remember

SAVE

The changes in the configuration are now saved.

If you want to check the output of the controller, you can put your voltmeter, on the AC range that you have that is safe for 24VAC (I use 200VAC range on mine) and connect it on the posts of one IGBT as circled below

When you press the throttle it should change from 0V to some higher voltage. The value is not really important, but it should change for a couple of seconds when you press the throttle.

This is your third milestone. The controller is putting out control signals.

If you have trouble getting any voltage output, check the appendix for troubleshooting.

Turn off the controller

Clone this wiki locally