All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > General Electronics Chat

Notices

General Electronics Chat Discussion forum for general chat about anything electronics related, including asking questions about material in the All About Circuits E-book, Worksheets, and Videos.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-23-2012, 07:28 PM
hspalm hspalm is offline
Senior Member
 
Join Date: Feb 2010
Location: Oslo, Norway
Posts: 186
Default Relay holding circuit, motor control

Hi,
I'm need a motor control circuit that has these features:
*3 inputs, forward, backward, stop. All inputs are one-shot 12v pulses.
*With a pulse on either dir input, the motor must keep running until the stop signal is pulsed.

I was thinking to do this with relays. It will be a battery powered application, and so I like that the relays have absolutely no standby current.

Was hoping someone could take a quick look at my schematic and maybe point out to me if this will work? I don't have three DPDT relays at hand to prototype right now... My inputs are actually 5v digital pins, which will switch a transistor which will switch a relay. But I was thinking to deal with this later.

The three relays are color coded and marked, so I hope you can see which coil belongs to what switches etc.

Reply With Quote
  #2  
Old 03-23-2012, 07:47 PM
#12's Avatar
#12 #12 is online now
Senior Member
 
Join Date: Nov 2010
Location: 15 miles west of Tampa, Florida
Posts: 8,474
Blog Entries: 9
Default

In general, that will work but, it has no safety lockout so forward and backward can never happen at the same time. The way this is wired, it won't let the smoke out, the motor will just stop, but you might be in an undefined condition as far as the controller is concerned. A pulse to "stop" will clear the fault.

In case this helps,
When using relays, you need at least 5 milliseconds of start pulse, and 10 milliseconds won't hurt. You can do that with a capacitor through a momentary pushbutton instead of making a timing circuit.
__________________
It's only my opinion, and sometimes I'm wrong.
(I learn something almost every day on this site.)
Reply With Quote
  #3  
Old 03-23-2012, 08:00 PM
hspalm hspalm is offline
Senior Member
 
Join Date: Feb 2010
Location: Oslo, Norway
Posts: 186
Default

Quote:
Originally Posted by #12 View Post
In general, that will work but, it has no safety lockout so forward and backward can never happen at the same time. The way this is wired, it won't let the smoke out, the motor will just stop, but you might be in an undefined condition as far as the controller is concerned. A pulse to "stop" will clear the fault.

In case this helps,
When using relays, you need at least 5 milliseconds of start pulse, and 10 milliseconds won't hurt. You can do that with a capacitor through a momentary pushbutton instead of making a timing circuit.
Yes, I've been careful not to wire it so a short can occur (so I think at least).

The digital signals will come from an RF receiver, and will stay high for as long as the human is pushing the remote control button. I'm guessing they will never manage to press and release a button in less than 10ms? Most probably they will push the button long and hard as with a TV remote with low battery.
Reply With Quote
  #4  
Old 03-23-2012, 08:23 PM
#12's Avatar
#12 #12 is online now
Senior Member
 
Join Date: Nov 2010
Location: 15 miles west of Tampa, Florida
Posts: 8,474
Blog Entries: 9
Default

Here's a nice 5 volt relay if you can muster 28ma.
That allows you to use a resistor to waste 7 volts of the 12 volts instead of using a transistor to change the 5V activation pulse to 12V capable.

and yes, a human is not going to get off the button in less than 10 milliseconds.

edit: Fwd and Backward has to fire 2 relay coils! That would probably require a transistor anyway. No help with this suggestion
Attached Files
File Type: pdf ENG_SS_108-98002_P.pdf (1.55 MB, 23 views)
__________________
It's only my opinion, and sometimes I'm wrong.
(I learn something almost every day on this site.)

Last edited by #12; 03-23-2012 at 08:46 PM.
Reply With Quote
  #5  
Old 03-23-2012, 08:55 PM
pilko pilko is offline
Senior Member
 
Join Date: Dec 2008
Location: Nova Scotia,Canada
Posts: 190
Default

If you apply a forward pulse and a backward pulse in any order, then both sides of the motor become + and the motor stops. If you then apply a stop pulse, and depending on the different speeds of deenergisation of the forward and backward relays, the motor will receive a restart pulse in a direction dependent of the relay dropout speeds.

pilko
Reply With Quote
  #6  
Old 03-23-2012, 10:44 PM
hspalm hspalm is offline
Senior Member
 
Join Date: Feb 2010
Location: Oslo, Norway
Posts: 186
Default

I just prototyped it, and it works brilliant, thanks guys! Found some relays in my junk box.

Quote:
Originally Posted by #12 View Post
Here's a nice 5 volt relay if you can muster 28ma.
That allows you to use a resistor to waste 7 volts of the 12 volts instead of using a transistor to change the 5V activation pulse to 12V capable.

and yes, a human is not going to get off the button in less than 10 milliseconds.

edit: Fwd and Backward has to fire 2 relay coils! That would probably require a transistor anyway. No help with this suggestion
Thanks, I'm looking for relays right now, so I accept suggestions like this!
It's not yet given that the relay application will be 12v, only in the finished circuit it will have to switch a 12V motor. Why must the fwd/bckwd switch two relay coils?

Quote:
Originally Posted by pilko View Post
If you apply a forward pulse and a backward pulse in any order, then both sides of the motor become + and the motor stops. If you then apply a stop pulse, and depending on the different speeds of deenergisation of the forward and backward relays, the motor will receive a restart pulse in a direction dependent of the relay dropout speeds.

pilko
Good one! I tested it now, and the pulse doesn't seem to hit the motor very much, at least it's not visible.

Found this one though:
If I first start the motor in one direction, then hit the other direction button, both forward and backward are latched (as you said). The problem with this is that the motor now seems properly halted to the user, but in fact it's drawing 70mA over the relay coils "invisibly". I must think this one out.
Reply With Quote
  #7  
Old 03-23-2012, 11:00 PM
#12's Avatar
#12 #12 is online now
Senior Member
 
Join Date: Nov 2010
Location: 15 miles west of Tampa, Florida
Posts: 8,474
Blog Entries: 9
Default

I saw the stop switch as a coil. Wrong again!
__________________
It's only my opinion, and sometimes I'm wrong.
(I learn something almost every day on this site.)
Reply With Quote
  #8  
Old 03-24-2012, 12:53 AM
ifixit's Avatar
ifixit ifixit is online now
Senior Member
 
Join Date: Nov 2008
Location: Ontario, Canada
Posts: 591
Lightbulb

Here is a re-arrangement that locks out changing directions until the stop is pressed first. The control signals are, positive going, 10mS, 5 volt pulses.

Needs review and testing.

have fun,
Ifixit
Attached Images
File Type: gif motor switch.gif (10.1 KB, 16 views)
__________________
"Learn the rules well, so that you'll know how to break them wisely."
“The quality of an answer is directly proportional to the quality of the question.”
Reply With Quote
  #9  
Old 03-24-2012, 01:57 AM
#12's Avatar
#12 #12 is online now
Senior Member
 
Join Date: Nov 2010
Location: 15 miles west of Tampa, Florida
Posts: 8,474
Blog Entries: 9
Default

Looks good to me.
__________________
It's only my opinion, and sometimes I'm wrong.
(I learn something almost every day on this site.)
Reply With Quote
  #10  
Old 03-24-2012, 10:08 AM
hspalm hspalm is offline
Senior Member
 
Join Date: Feb 2010
Location: Oslo, Norway
Posts: 186
Default

Brilliant, thanks! If I read this correct, it will also put my motor to stop when hitting the other direction button. Which is great, I like that feature.
Reply With Quote
Reply   Post New Thread

Tags
, , , ,


Related Site Pages
Section Title
Textbook Motor control circuits : Ladder Logic


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Light Circuit For My Car tonysticks General Electronics Chat 16 06-26-2008 07:29 PM
latching momentary switch to relay circuit dmc0162 The Projects Forum 3 05-04-2008 06:04 AM
need a circuit to pulse a relay on and off gforceman General Electronics Chat 6 04-28-2008 11:35 AM
help with timed relay circuit skinner927 The Projects Forum 6 01-27-2008 12:39 AM
Sensor circuit, Flasher circuit 123456 Homework Help 11 08-03-2006 10:58 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:27 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.