mukeshp11, I'm glad to see someone finally adopt this feature into a controller (and make it work).
While you're at it, how about a good sensorless mode and motor temperature feedback :wink:
Most of my earlier circuits were limiters and not current based throttle circuits. Making the true current mode throttle adapter work took a lot of messing around to get dialed in. I think with a bit more circuit, it's possible to make one that will cover a wide variety of controllers and not be too tricky to get set up.
I recently built a version of this for interfacing a hall effect throttle to an Alltrax controller. The design is based on the hall throttle having a 1v to 4v signal output and a 300 amp range. Current sensing is done with a LEM HASS 400-S torroidal hall effect current sensor (
http://www.lemusa.com/docs/products/hass_e.pdf) At $27.50ea for the sensor, it's a spendy little bugger, but it has a hole big enough for some fat 4ga wire to pass through, which makes installation easy. This particular circuit also has an output stage that will interface to the Alltrax's 0 to 5k two wire throttle input. It also has a throttle supervisor circuit that will detect an open ground on the throttle line and kill the output (otherwise an open ground will give you full throttle).
The first prototype of this used a smaller Tamura L01Z400S05 sensor ($17.50ea) that has a smaller opening.

Here's the next version with the larger sensor opening:

Another view:
View attachment 1
The Allegro sensor would work in the same circuit, but requires cutting into a main power wire and running it through the sensor. The Allegro sensor would be perhaps better for smaller systems (under 150A)
An even cheaper approach would be to use a shunt to measure the current, but would also require inserting the circuit in line with a main power wire.
The Alltrax version was designed to be placed over a motor wire, so the current would be directly proportional to torque. In a brushless system, the motor wires are running AC and it would take a bit of extra conditioning circuitry to make it properly sense motor current. On my Vego unit, I just put the sensor in line with the battery wire (which is always DC). This results in a "power mode" rather than a "torque mode", but in actual operation it's hard to tell the difference. At low speeds, the "power mode" will give a bit higher torque for a given throttle setting.