Exact match. Not showing close matches.
'[PIC]: Motor speed control with back EMF'
Have just joined the list so this topic may have been covered before.
I am trying to design a motor controller for a model railroad loco
(DCC) with 16F872. This uses the PWM module for speed control
(15625Hz) and an A/D channel to sample the motor back emf for closed
loop stabilisation. Motor is driven by a H bridge. Sampling rate is
88Hz and the PWM is turned off during samples.
So far have implemented an integral only routine. Can anyone point me
to suitable code for PI or PID (other than AN532 which it too complex
for a 8 bit PIC)control algorithm. Has anyone else implemented a back
emf feedback loop for a small DC motor using a PIC?
I am pretty familiar with feedback principles, but not cramming it
into a PIC.
Dr Mike Bolton
Manchester M20 2LR UK
Phone (44) 161 291 3445
Fax (44) 161 291 3801
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
More... (looser matching)
- Last day of these posts
- In 2001
, 2002 only
- New search...