Quote:
Originally Posted by jackbauer
Got my motor rpm sensor up and running today and began thinking of an rpm limiter circuit for the controller. What would you guys think about using an lm2917 frequency to voltage converter connected to the hardware overcurrent circuit in the revolt? It could be setup to drop out the pwm at a certain rpm with low component count. Quite important for myself with an 11" forklift motor.
|
Is there no counter input available on the micro?
If you speed sensor is giving pulses the easiest method would be for the micro to measure pulse time and compare to a minimum value.
many micros have a counter/timer input that will measure pulse width.
if (pulse_width < min_allowed)
pwm = pwm * 0.5;
Actually I see you are using the counter input T1 for the UVFault input.
Maybe UVFault could have gone to INT0 where it could trigger an interrupt when activated.