Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
... But we've only fondled the surface of that subject.
-- Virginia Masters
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Automation List department...
Microcontroller based digital DC motor speed control
Motion control, servos, steppers, etc. topic
Posted by kasturi on 27 October, 2007 - 1:47 am
My final year project is to design a microcontroller based digital DC motor speed controller where I am assigned the software part...

I plan to use the 16F877 microcontroller from microchip. My problem is I'm new to it and I don't understand how I can control the voltage and get my desired speed of motor. How how does the feedback circuit from motor interact with the microcontroller as a closed loop system?


Posted by Curt Wuollet on 27 October, 2007 - 4:36 pm
Isn't that what you were supposed to have learned? I would expect you have books to read.

Regards
cww


Posted by Sean Dugan on 28 October, 2007 - 1:16 pm
Dear kasturi,

The Point that Mr. Wuollet is making (albeit rather brusquely*) is that the question you are asking is rather fundamental. It seems you're asking, "what is a feedback loop?" If that is the case, then you do have some reading to do. Here are some suggestions:

1) "Schaum's Outline of Feedback and Control Systems" (ISBN: 0070170525). This will bring you up to speed on feedback control theory, and it is cheap.

2) "Automatic Control Systems" by Benjamin C. Kuo (8th edition) (ISBN: 0471134767). This title covers more topics and bridges the gap between theory and implementation. Like most textbooks, it is expensive. Look for the earlier editions.

3) "Microcontroller Based Applied Digital Control" by Dogan Ibrahim (ISBN: 0470863358). Dr. Ibrahim will show you exactly how to construct (and program) a feedback control system using none other than the 16F877.

Even if you have taken feedback control theory classes, making the transition from theory to practice can a bit intimidating. So don't feel bad if you're having problems understanding how it all fits together. You'll figure it out. Creating your first real feedback control system is really exciting, so have fun!

A few hints:
1) Use the PWM module along with an H-bridge to control the power to the motor.
2) The CCP module with a Hall effect or optical sensor may be used to calculate the motor speed.

Hope that helps,
- Sean Dugan


Posted by Kasturi on 23 November, 2007 - 11:33 am
thanx a lot for the info...
infact i did a lots of reading n now im progressing wit my programming on PIC16F877.
But my progress is so damn slow as im not good in coding and my codes are alwys having error...
i realy need help in this. can any1 kindly help me out?


Posted by ravi chandar on 30 September, 2008 - 9:59 am
Hi,

I am ravi chandar doing my B-Tech IV year. Hey, will you first please explain to me about the project you going are to do, in that what you aim to do? Anyway, I have already completed the project MICRO CONTROLLER BASED DC MOTOR SPEED CONTROL USING PWM TECHNIQUE. I hope you are doing the same. If so, I can assist you in what to do. If not, I am really sorry, but the ATMEL AT98c52 IC is very fine to use.


Posted by Rahul P Sharma on 1 October, 2008 - 11:17 am
I believe you meant Atmel 89C52 and not Atmel 98C52...!!

au revoir
Rahul

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!