Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Thread Tools Display Modes
Old 5th January 2008, 07:05 PM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default Motor Speed/Rotation counter discussion

I have been reading up on efforts to sense brushed DC PM motor speed and/or count rotations without optical sensors. It is possible to buy motors and controllers with sensor ability. I am looking to a DIY slant for use with sensorless motors.

A web hunt has resulted in 3 methods.

A) Use a hall effect sensor to get some number of counts per motor rotation. Hall-effect sensor to measure motor speed

B) Sample back EMF on the low side (simpler). This requires PWM. Also here and Acroname Robots. Microchip has an appnote on which touches on it.

C) Read the zero crossings of the inductive spikes caused by the brushes switching poles. Maybe use a comparator.

Neither A or C will work with PWM. Maybe one could allowed the motor to run full time during a periodic sample time. Sampling would change the speed but maybe not enough to be a problem.

C can be effected by the state of the brushes. A does not have that problem and since it does not connect to the motor power supply there is no voltage level problems.

One problem with B is that as PWM goes to 100% you do not have enough time to make the reading. One could either uses a voltage supply high enough so that the motors would develop enough output at less then 100%. About 50% more voltage would work. Or one could toss in a measurement period knowing that it would slow the motor some.

A and C look like they would be fun to play with but B looks like it is the most mainstream and easiest to get going.

I would be interested in hearing from anyone who has played with or is interested in any of these.

EDIT:
Sparkfun Discussion

PayDirt: PID controller using Back EMF as the Control Feedback (PIC16F88 and CCS C).

Last edited by 3v0; 5th January 2008 at 07:20 PM.
3v0 is offline   Reply With Quote
Old 5th January 2008, 10:29 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Stick a low value resistor in one end of a DC motor, connect a scope across the resistor, then apply a DC supply (a battery is good) across the series resistor an motor. Watch the waveform on the scope, consider how you could use it!.

This technique was used extensively for speed control in motors for cassette recorders.

Bear in mind PWM will completely mess this up though!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Dual counter bananasiong Micro Controllers 45 24th March 2007 02:49 AM
How we can do it in Assembly..Help Needed Ayne Micro Controllers 37 29th December 2006 05:49 PM
Input Counter Pic16F84A (Code problems) loco Micro Controllers 4 26th September 2006 01:18 PM
[help] Power consumption issue on bullet counter project * Lanzer Electronic Projects Design/Ideas/Reviews 13 26th August 2005 06:06 AM
Crude assembly counter Mark Lazarides Micro Controllers 5 28th February 2004 07:22 PM



All times are GMT. The time now is 10:40 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.