Synchronious servo throttle control
Posted: Fri Mar 12, 2010 11:31 am
Since a vew months i m a user of Flowcode 4 (PIC). I ve started a project on a car engine V12 wich has two DC servo's for actuating the throttle. Important is that the throttle position of each valve is identic in course of motor damage.
Each of the 2 throtle motors has a position sensor (potentiometer)
There is a pedalposition potentiometer which gives the signal to the controler.
I ve configured with a PIC16F877a the A port (AD conversion) the pedalposition input and even the throttle position.
De difficulty i run into is that the range of the pedal position as even the throttleposition potmeters are not starting on zero, therefor the conversion to 8 bit will also not startin with "0"
This gives me difficulties in the calculation in order to let the throttle gain from "0"to "max"
Is there a possibillity to modify the range of the AD conversion so it would give a nice output?
Or must i develop a analog circuit in order to make the output voltage from the potentiometers from "0" to "5 volt"
Who can help me?
Each of the 2 throtle motors has a position sensor (potentiometer)
There is a pedalposition potentiometer which gives the signal to the controler.
I ve configured with a PIC16F877a the A port (AD conversion) the pedalposition input and even the throttle position.
De difficulty i run into is that the range of the pedal position as even the throttleposition potmeters are not starting on zero, therefor the conversion to 8 bit will also not startin with "0"
This gives me difficulties in the calculation in order to let the throttle gain from "0"to "max"
Is there a possibillity to modify the range of the AD conversion so it would give a nice output?
Or must i develop a analog circuit in order to make the output voltage from the potentiometers from "0" to "5 volt"
Who can help me?