Go to Post If my counts are correct, during the official matches 141,077 points were scored, and a minimum of 28,746 frisbees were successfully shot into goals. All without a single decapitation, severed limb, or even one porpoise becoming accidentally entangled in the nets. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-12-2003, 02:25
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,517
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Making a forward only speed control reverse

Hey all you bright CDers.

I've got a challenge for you (actually it's more of a problem for myself). I need your help. I need to find out if there is any possible way to make a forward only speed control (where the power positive goes straight to the motor positive and the ground is what is being switched) into a forward and reverse speed control. I thought of putting a relay after it (before the motor) and using some fancy code. Would this work? Any other ideas?

Thanks
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #2   Spotlight this post!  
Unread 11-12-2003, 09:24
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Making a forward only speed control reverse

A double pole double throw relay can easily change the the direct for you.

DPDT relays are essentially dual single pole double pole switches. I will use the following names for pins
C1 - Common for switch 1
NO1 - Normally open side of switch 1
NC1 - Normally closed side of switch 1
Similar names for switch 2.

C1 - motor lead
C2 - motor lead
NC1 - NO2 AND High voltage side of speed controller
NO1 - NC2 AND Ground side of speed controller

If you operate the speed controller with the relay energized, you will drive in one direction. If you de-energize the relay your motor will drive in the opposite direction.

Good luck.

Joe J.

Quote:
Originally Posted by sanddrag
Hey all you bright CDers.

I've got a challenge for you (actually it's more of a problem for myself). I need your help. I need to find out if there is any possible way to make a forward only speed control (where the power positive goes straight to the motor positive and the ground is what is being switched) into a forward and reverse speed control. I thought of putting a relay after it (before the motor) and using some fancy code. Would this work? Any other ideas?

Thanks
  #3   Spotlight this post!  
Unread 11-12-2003, 10:19
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,517
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Making a forward only speed control reverse

Quote:
Originally Posted by Joe Johnson
A double pole double throw relay can easily change the the direct for you.

Joe J.
And I can still have full pwm control both directions right? Also, how much would one of these relay's cost and where might I get one? Thanks.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #4   Spotlight this post!  
Unread 11-12-2003, 14:22
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Making a forward only speed control reverse

Double Pole, Double Throw relays are available from a variety of sources, many of them cheap. The tough part is you need a contact rating that is higher than the current you expect to deliver to the motor. Be aware that the contacts will arc when changing directions unless all power is removed and the motors are stopped. It is just the nature of the beast. Remember that two single pole relays wired in parallel will be a double pole relay. Digikey PB527-ND relays can be used for this, they have a 12 volt operation on the coil and 40 amp contact rating and at $3.91 each appear to be a pretty good bet for most applications using robot motors.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 11-12-2003, 17:49
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Making a forward only speed control reverse

one thing from your post is not clear - you mentioned one side of the motor is ground

does that mean chassis ground? is there a ground wire or is the case of the motor ground - like the starter motor on a car?

to use a relay to reverse direction, you must have wires for the pos and gnd connection, or you will need to isolate the motor from the chassis (if its like a car starter motor)
  #6   Spotlight this post!  
Unread 11-12-2003, 18:17
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,517
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Making a forward only speed control reverse

When I say ground I was referring to negative - the black wire. Anyway, these relays you all mentioned, are they able to switch back and forth really fast, like fast enough for a two wheeled balancing vehilce?

BTW - it is a 24 volt system.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #7   Spotlight this post!  
Unread 11-12-2003, 18:25
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Re: Making a forward only speed control reverse

What you want is an H-Bridge.

I have a writeup on Everything2 about them, but E2's been down for upgrades for a couple weeks. This should be helpful, though:

http://www.dprg.org/tutorials/1998-04a/

You vary the motor speed with the PWM signal from the single direction speed controller, and determine the direction by means of the H-Bridge. (Which is what everyone else is suggesting, just a bunch of switches.) Theoretically, you'll get more resolution for the control of the motor speed, but that doesn't matter much.

Also, if you can't find relays that can handle enough current, you might be able to make your own heavy-duty solenoid relays. Just a thought.
  #8   Spotlight this post!  
Unread 12-12-2003, 07:19
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Making a forward only speed control reverse

Quote:
Originally Posted by sanddrag
When I say ground I was referring to negative - the black wire. Anyway, these relays you all mentioned, are they able to switch back and forth really fast, like fast enough for a two wheeled balancing vehilce?

BTW - it is a 24 volt system.
Relays are available in 24 volt as well but no, they are not fast enough to get balance. For that type of servo system, you need some sophisticated drive amplifiers and special motors. The overall system needs to have relatively quick response and the motors need to have relatively fine control (i.e. optimized brush/commutator for the rotational accuracy) or have a well designed gear box capable of rapid changes in direction without tearing themselves apart.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
switch speed control wayne 05 Programming 6 01-10-2003 09:35
forward reverse on drill motor PDonovan Motors 2 03-02-2003 11:11
making speed controller digital CharlieWilken Electrical 4 01-03-2002 20:15
Speed of Atwood motors in forward and reverse... Dan 550 Motors 14 04-02-2002 19:55
speed control punarhero Technical Discussion 11 24-01-2002 18:03


All times are GMT -5. The time now is 21:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi