P
Pedro Duarte
Guest
Hi,
I pretend to control a small dc motor (about 5 - 6V) using a
microcontroller (PIC) and I think I need some precautions since the
motor may be an inductive load...
What I want to do is this : the PIC connects to the base of a
transistor working in saturation zone, so that is behaves like a
switch turning on and off the motor's power supply (you know, the
motor is wired to the power source and connected to the transistor
colector, the usual stuff.)
By doing PWM on the signal outputed by the PIC to the transistor's
base, it's possible to control the motor speed (the motor is "quickly"
beeing turned on and off).
Since the motor is an inductive load (all dc motor are? correct me if
i'm worng) each time I power it and "unpower" it, a spike of current
is generated so the life of this circuit would be seriously shortened
....
What is the easiest yet functional way to protect it agains these
spikes ? Some diodes ? Where and how ? I'm know very little about this
matter ... A small schematic or a detailed description of an example
circuit is really welcome.
Thanks a lot
Pedro Duarte
I pretend to control a small dc motor (about 5 - 6V) using a
microcontroller (PIC) and I think I need some precautions since the
motor may be an inductive load...
What I want to do is this : the PIC connects to the base of a
transistor working in saturation zone, so that is behaves like a
switch turning on and off the motor's power supply (you know, the
motor is wired to the power source and connected to the transistor
colector, the usual stuff.)
By doing PWM on the signal outputed by the PIC to the transistor's
base, it's possible to control the motor speed (the motor is "quickly"
beeing turned on and off).
Since the motor is an inductive load (all dc motor are? correct me if
i'm worng) each time I power it and "unpower" it, a spike of current
is generated so the life of this circuit would be seriously shortened
....
What is the easiest yet functional way to protect it agains these
spikes ? Some diodes ? Where and how ? I'm know very little about this
matter ... A small schematic or a detailed description of an example
circuit is really welcome.
Thanks a lot
Pedro Duarte