DIY Electric Car Forums banner

1 - 9 of 9 Posts

·
Registered
Joined
·
3,141 Posts
Discussion Starter #1
I had an idea for a simple DIY foot throttle for an EV. Apparently the resistive potentiometer types are prone to wearing out and failure, and other types such as hall effect and LVDTs seem to be very expensive.

I don't know what specifications are needed, but for my own purposes using a standard 3 phase VFD controller, it will accept either a potentiometer or a variable voltage which can be set for 0-5 VDC. I have also used a computer joystick which is a 0-200k resistance, and I converted that to a +/- 5VDC signal which also provided reverse. But I think a foot operated throttle will be best.

I have some experience with LVDTs, but they are typically high precision and very expensive position sensors that require special circuitry. Here is a tutorial I found which helped refresh my memory:
http://www.macrosensors.com.cn/ms-lvdt_faq-tutorial.html

But the basic principle is very similar to a steel core moving within a magnetic solenoid. Here are some examples of AC and DC solenoids, and normally they are used to convert electrical power to mechanical power by pulling or pushing a plunger in a linear direction, usually about an inch or so.

However, the other property of a solenoid is that the inductance changes and is increased as the plunger is pulled in, and for an AC solenoid this is desireable because the current draw will decrease as the plunger pulls in. I happen to have a couple of solenoids and an LCR meter, so I ran a little test on one of them:

0.829" 53.6 mH 63.6 uSec
0.700" 62.5 mH 72.6 uSec
0.600" 76.0 mH
0.500" 89.7 mH
0.400" 111.8 mH
0.300" 137.2 mH 147.5 uSec
0.200" 166.9 mH
0.100" 228 mH
0.000" 288 mH 298.6 uSec

It would be very easy to design a circuit which could read and convert these inductance values to a range of voltage suitable for a throttle input. My idea would be to use a Microchip PIC with a 5VDC supply, and measure the inductance by applying a voltage and measuring the time for the current to reach a certain value. For a fixed voltage and a set current, the time is proportional to inductance, so for 5V and a current of 5mA, the times will be as shown in the third column above.

So it can read pedal position at least 3000 times per second, and it can utilize a look-up table to accomplish any linearization or custom response desired. For instance, it may be good to use a logarithmic or square law response, so that the first portion of travel provides very fine control, and the further it is pressed, the faster it responds. :cool:

The entire circuit, including the solenoid, could be built for, say, well under $5 in quantity, or maybe $20-$30 for a few prototypes. Maybe this is already available, so I might just build it for my own use, but if it would be a valuable product for the EV community, I can put more time and effort into it and make it available more quickly, like one month compared to 6 months. But I'm not familiar with the requirements and expectations, and maybe this has been done before. :confused:
 

·
Registered
Joined
·
225 Posts

·
Registered
Joined
·
739 Posts

·
Registered
Joined
·
1,562 Posts
Ok waaaayy back in the day: inductive "pots" like what the OP proposes were used as a resonant circuit, kinda like a very primitive PWM, EXCEPT they made average voltage / current instead of frequency. Less core involved, less inductance, more frequency, more effective voltage. Used mostly in "explosive" environs where you didn't want sparks. Also saw a modified one for a microphone.

FWIW: perhaps too much thinking and circuitry. YMMV.
 

·
Registered
Joined
·
739 Posts
one of the things not covered the TPS, is the monitoring of the TPS functionality.
Comercially there is testing for Opens, Shorts, Noise.
Newer ones now have dual sensing elements that are opposite, or in hall effects 90 degrees out of phase.

For some controllers, this is done, as the industry grows, I expect to see them separated.
 

·
Registered
Joined
·
739 Posts
A thought, how about a 1inch by 1inch board that has standard output to Lin or CAN.
it would have analog input so it can interface to current sensors.
I have one I use in production, has more than is needed for a TPS, but I don't want to have a lot of hardware configurations. I rather do it in software.
but is someone wanted to make one for thier own using their own processor and code, then Kewl.
the discussion can be high level description for functionality.
 
1 - 9 of 9 Posts
Top