piclist 2001\02\26\072730a >
Thread: Motor speed control with back EMF
www.piclist.com/techref/microchip/ios.htm?key=motor
flavicon
face BY : mike bolton email (remove spam text)



Hi Folks

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.


---
Mike  Bolton

Dr Mike Bolton
Clinical Engineering
Withington Hospital
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


<4E1E6960122@fs1.with.man.ac.uk> 7BIT

See also: www.piclist.com/techref/microchip/ios.htm?key=motor
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Motor speed control with back EMF

month overview.

new search...