Pot position measurement

Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
Post Reply
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Pot position measurement

Post by FFMan »

On my cruise control project, the pedal actuator has a position pot, but strangely I can only find 2 wires, and resistance varies from approx. 0 ohms to 2.8k from end to end travel.

I was expecting a 3 wire pot I could put a voltage across and measure the wiper output but this doesn't seem to be available.

what is the best way to utilise a variable resistance interfaced to a zx40n ?

thanks
Don_Kirby
Posts: 341
Joined: 15 October 2006, 3:48 AM
Location: Long Island, New York

Post by Don_Kirby »

Perhaps it's using a reference to ground via a metal mounting surface?
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Post by FFMan »

there are 3 wires related to this function but I can't work them out. the casing is plastic so no metal surfaces.

I have a spare actuator, so I might dismantled it to see what is going on

I have a wiring diagram for the previous model and it has a standard 3 wire pot.
stevech
Posts: 715
Joined: 22 February 2006, 20:56 PM

Re: Pot position measurement

Post by stevech »

FFMan wrote:On my cruise control project, the pedal actuator has a position pot, but strangely I can only find 2 wires, and resistance varies from approx. 0 ohms to 2.8k from end to end travel.

I was expecting a 3 wire pot I could put a voltage across and measure the wiper output but this doesn't seem to be available.

what is the best way to utilise a variable resistance interfaced to a zx40n ?

thanks
If the postion pot is truly analog, not pulsed (used a 'scope on it?)... then a pair of high value resistors would produce a scaled voltage suitable for the A/D in the microprocessor?
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Post by FFMan »

swapped in the other actuator and it behaves as a 3 wire pot - so the 1st one must have a fault on the position pot

maybe why it was on ebay ?

so this should be easier now.
DocJC
Posts: 112
Joined: 16 March 2006, 6:23 AM
Location: Cleveland, OH
Contact:

Post by DocJC »

Probably worth having a look at this link: http://www.avrfreaks.net/index.php?name ... c&t=137489
on AVR Freaks, regarding automotive control software.

JC
FFMan
Posts: 502
Joined: 09 January 2010, 12:52 PM

Post by FFMan »

interesting article, and of course there is an important safety aspect to this project.

it should be noted that the only interaction with accelerator is mechanical, there is no interfacing to the engine cpu or control systems.

the actuator contains a safety clutch that is electrically controlled and immediately releases the tension when power is withdrawn. there will therefore will be an override switch in this power line very close to the steering wheel. regardless of what the cpu does, the clutch can be released.

the use of cruise control is somewhat different to general throttle control system. the cruise will naturally only be used on large roads, at a time when a constant speed is required. disengaging the system is usually done as part of the planned deceleration process

it needs care and attention for sure.

thanks
Post Reply