Searching \ for '[PIC] weird motor control ...' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=motor
Search entire site for: 'weird motor control ...'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] weird motor control ...'
2005\02\25@181825 by Stef Mientki

flavicon
face
hi All,

I just spend a lost hour on a weird idea:
controling a motor and detecting the load with minimum pin use.
I'm interested if anyone else tried this kind of uncommon motor controlling,
or knows any links concerning this subject.

You can find the schematic here:
http://oase.uci.kun.nl/~mientki/pic/jalcc/examples/example_motor.html
<http://oase.uci.kun.nl/%7Emientki/pic/jalcc/examples/example_motor.html>

I haven't looked into the circuit in detail,
but most important questions at first sight seems to me
- how to calculate components, so the PIC detects the desired  maximum
motorload
- if larger motors are used, will the flyback current damage the PIC ?

And of course, I want more  ;-)
- 2 digital pins to control the motor in both directions
- detecting the exact speed, based on commutator pulses,
with the same 2 digital pins


Stef Mientki




2005\02\26@031435 by Robert Rolf

picon face

Stef Mientki wrote:

> hi All,
>
> I just spend a lost hour on a weird idea: controling a motor and
> detecting the load with minimum pin use.
> I'm interested if anyone else tried this kind of uncommon motor
> controlling,
> or knows any links concerning this subject.
>
> You can find the schematic here:
> http://oase.uci.kun.nl/~mientki/pic/jalcc/examples/example_motor.html
> <oase.uci.kun.nl/%7Emientki/pic/jalcc/examples/example_motor.html>
>
> I haven't looked into the circuit in detail,
> but most important questions at first sight seems to me
> - how to calculate components, so the PIC detects the desired  maximum
> motorload
> - if larger motors are used, will the flyback current damage the PIC ?

Of course it will fry with the way you've wired it.
The diode should connect to back to the supply rail.

To achieve what you seem to be wanting, use a zener rated for the
supply voltage, wired back to the supply so that the motor can
produce up to the zener voltage as back EMF that you can measure..


> And of course, I want more  ;-) - 2 digital pins to control the motor in
> both directions
> - detecting the exact speed, based on commutator pulses,
> with the same 2 digital pins

Just get a bigger PIC with more available pins. Or use
SPI and 74HC595 74HC594? to get outputs/inputs.

Robert

2005\02\27@073539 by Stef Mientki

flavicon
face


Robert Rolf wrote:

{Quote hidden}

You're right, I didn't draw (and use) the flyback diode,
because it's an idea, not a design.
In an idea, I think it's better to leave out all non-essential components.

>
>
> To achieve what you seem to be wanting, use a zener rated for the
> supply voltage, wired back to the supply so that the motor can
> produce up to the zener voltage as back EMF that you can measure..

That might be a good idea.
I now think also a small capacitor is needed in the base of the transistor,
to prevent the transistor starts conducting if the back EMF is large
(high motor speed and/or low torque).
I'll get back, when I've done some more experiments.

{Quote hidden}

That's what I do in my other part of life: a 16F877 for each motor to
control.
But in my spare time, I like to design by the KISS principle ;-)

thanks,
Stef Mientki

>


'[PIC] weird motor control ...'
2005\03\01@170333 by Stef Mientki
flavicon
face
hi All,

as promissed, I would come back, when I had results, see the link below.
I like to hear other experiences with this or similar circuit.

http://oase.uci.kun.nl/~mientki/pic/jalcc/examples/example_motor.html

have fun,
Stef  Mientki

>

2005\03\01@194950 by olin_piclist

face picon face
Stef Mientki wrote:
> as promissed, I would come back, when I had results, see the link below.
> I like to hear other experiences with this or similar circuit.
>
> http://oase.uci.kun.nl/~mientki/pic/jalcc/examples/example_motor.html

This method is hardly new, but you did a nice job of explaining it and
measuring and writing up the results.

I've seen similar methods used to control brushless DC and AC motors.  Some
of them requires phase control, and it gets a lot more complicated.  Two
years ago at Masters there was a demonstration of using a dsPIC to control
an AC motor that also used back EMF from undriven windings to figure out
what the motor was doing.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

2005\03\05@183438 by Stef Mientki

flavicon
face


Olin Lathrop wrote:

{Quote hidden}

thanks,
but I don't think the circuit is as obvious as it seems at first sight ...
... at least I don't understand fully how it really works ...
... and what exactly the circuit is measuring   ;-)

Stef Mientki

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...