Go to Post Teach them to fish by catching the first fish for them. (Give them the answer, but also give them how you came to that conclusion) - David V [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 10-08-2013, 07:44
jameschin jameschin is offline
Registered User
FTC #0310 (Fission)
Team Role: Engineer
 
Join Date: Mar 2013
Rookie Year: 2012
Location: New York
Posts: 1
jameschin is an unknown quantity at this point
Tank Drive Without a Microcontroller

If you didn't want to use a microcontroller, is it possible to make a tank drive such that it was directly wired to potentiometers?
  #2   Spotlight this post!  
Unread 10-08-2013, 08:28
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Tank Drive Without a Microcontroller

It certainly seems feasible, assuming you can get a linear response out of the pots. The one difficulty I'd see is controlling it remotely, but even that might be doable with some model airplane electronics.
__________________
I code stuff.
  #3   Spotlight this post!  
Unread 10-08-2013, 08:57
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

Sure just use a microprocessor without integrated peripherals
Need to watch your terminology here.
I wonder if digital logic is outside your request or just integrated computing.

You can build analog speed controls.
They can be adjusted with potentiometers.
They can recieve from various radio modulations.
I have done it before for non-FIRST application.

An analog speed control can still pulse the motor like the FIRST speed controls.
So an analog speed control need not be resistive or linear to the motor.
However analog speed controls suffer from temperature and noise limits (drift).
Thermistors help with temperature but only to a point.

It is entirely possible to fly an actual plane with analog electronics.

If integrated circuits are still allowed within your scope it is even easier and smaller.
Then you have tiny operational amplifiers.

If digital logic is allowed take a good look at the 555 timer.
I won a contest in highschool driving hobby servos without their board using 558 IC.
I only implemented a single joystick then but I could have made 2.

You can drive a PWM input with merely simple timers like the 555 using PWM.
It is possible you just need to tinker a bit.

See Analog Systems:
http://en.m.wikipedia.org/wiki/Fly-by-wire

Last edited by techhelpbb : 10-08-2013 at 09:20.
  #4   Spotlight this post!  
Unread 10-08-2013, 09:39
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

If you are planning to control motors like CIMs, you will need to use a speed controller like a victor or a jaguar. If you want to generate the pwm signal without using a microcontroller, you will need a 555 timer. Team 358 has a schematic for a circuit that can control a victor here. You could use this to control your victors.
  #5   Spotlight this post!  
Unread 10-08-2013, 11:14
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

All the FIRST approved motor controllers have microcontrollers in them.
The circuit to drive a DC brush motor like the CIMs with pulsed power is an analog/digital chopper.
Circuits without microcontrollers existed for decades.
Motor control chopper (generic term) come in time (like PWM) or current/voltage control.
Current/voltage control choppers have a wider range of speeds with good torque.
Complexity and wasted energy tends to increase for current/voltage choppers.

It is unclear exactly what is being looked for in this topic.
Like Ether wrote if you have a high power resistor/potentiometer/rheostat you can make this work.
However a chopper circuit is better with larger motors.
The pulsing dramatically impacts the waste heat.

You can make a relatively small speed control for a CIM sized motor without a microcontroller.
I did it for wheelchairs.
Just consider that all features require more parts.

Last edited by techhelpbb : 10-08-2013 at 11:47.
  #6   Spotlight this post!  
Unread 10-08-2013, 22:06
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

1. As has been said, you can't control a Jaguar, Victor, or Talon directly with a potentiometer.

2. There are other COTS speed controllers (not FIRST-legal) that accept analog input. I've used the Sabertooth series in personal projects before and have been happy with them. Some models from this series accept analog input, and there are models that can switch up to 60A per motor channel. You can get them on Trossen Robotics or Robot Shop

3. If you want a remote-controlled system that requires no programming, that's entirely possible. The PWM signal that Jaguars, Victors, and Talons accept is a standard signal type outputted by many (if not most) hobby RC systems.

4. If you're looking to easily test your speed controllers without the need for a microcontroller, AndyMark has a product for that, or you can build your own version, as has been said.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor

Last edited by RyanCahoon : 10-08-2013 at 22:08. Reason: Added links for Sabertooth controllers, fixed AndyMark link
  #7   Spotlight this post!  
Unread 11-08-2013, 12:53
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 512
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

Yes a little unclear, but a servo tester may fit the bill?

http://www.andymark.com/product-p/am-2503.htm

We have a few that we picked up at a hobby shop for less than $10 each, but they don't seem to run a jag or a victor to full speed, but perfectly fine for testing systems. The AM one started last year, and may be calibrated to the motor controllers, as opposed to the hobby servos? Or maybe you get what you pay for?
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #8   Spotlight this post!  
Unread 11-08-2013, 13:22
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 328
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
Re: Tank Drive Without a Microcontroller

Quote:
Originally Posted by tr6scott View Post
We have a few that we picked up at a hobby shop for less than $10 each, but they don't seem to run a jag or a victor to full speed, but perfectly fine for testing systems.
Did you make sure to re-calibrate the Jag (I haven't used a victor before so I am unsure as to what is necessary for them). If you go on the vex website they provide documentation on how to re-calibrate the Jag for different pulse width ranges. We had the same issue where the Jag would only put out 50% power when we used a servo controller on a test board we built. Once we re-calibrated the Jag with that servo controller it worked perfectly. Just make sure that you re-calibrate the Jag once it goes back on the robot.
  #9   Spotlight this post!  
Unread 11-08-2013, 14:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Tank Drive Without a Microcontroller


An old junker laptop makes an ideal PWM generator for testing. All you need is some software and a cheap diode and resistor. You can adjust the PWM period and the max pulse width.

http://www.chiefdelphi.com/media/papers/2702


  #10   Spotlight this post!  
Unread 12-08-2013, 06:07
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 512
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

Quote:
Originally Posted by cad321 View Post
Did you make sure to re-calibrate the Jag (I haven't used a victor before so I am unsure as to what is necessary for them). If you go on the vex website they provide documentation on how to re-calibrate the Jag for different pulse width ranges. We had the same issue where the Jag would only put out 50% power when we used a servo controller on a test board we built. Once we re-calibrated the Jag with that servo controller it worked perfectly. Just make sure that you re-calibrate the Jag once it goes back on the robot.
We did try to calibrate the victors, and it improved, but still not ideal. The servo tester we have would go almost full speed in one direction, and about 1/2 speed in the other direction. We were using this to prototype the shooter last year. I ended up using an arduino, the ardunio servo library, a little code to convert an analog pot to servo pwm output. It worked fine for both Jags and Victors out of the box. (not sure what the difference in the inputs are, I know you declare the controller type in labview, so would suspect there is some difference, but did not notice it on the arduino.)
__________________
The sooner we get behind schedule, the more time we have to catch up.

  #11   Spotlight this post!  
Unread 12-08-2013, 08:34
arizonafoxx's Avatar
arizonafoxx arizonafoxx is offline
Registered User
FRC #4395 (T-Rex)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Fort Mill, SC
Posts: 96
arizonafoxx is an unknown quantity at this point
Re: Tank Drive Without a Microcontroller

Depending on the size of the motors you want to use and how you reduce the speed you could use spike relays, which would not require a micro to control them. This of course would cause the motors to either be full speed in fwd/rev or stopped, but if your robots full speed was something manageable like maybe 4ft per second that is totally plausible. All you would need is 5 volt inputs to the spikes which could easily come from buttons or other non-micro related circuitry. I have built a few robots like this. Tank drive is achieved but speed control is not desired.
  #12   Spotlight this post!  
Unread 12-08-2013, 17:56
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

Quote:
Originally Posted by tr6scott View Post
I ended up using an arduino, the ardunio servo library, a little code to convert an analog pot to servo pwm output. It worked fine for both Jags and Victors out of the box. (not sure what the difference in the inputs are, I know you declare the controller type in labview, so would suspect there is some difference, but did not notice it on the arduino.)
The Victor PWM pulse width is 1-2ms. The Jaguar PWM pulse width is .67-2.33ms.
  #13   Spotlight this post!  
Unread 12-08-2013, 18:10
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,506
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Tank Drive Without a Microcontroller

A hobby RC radio is ideal here, it even has multiple channels for other systems.


V-tail mixing is the same as arcade drive.

AndyMark now stocks a popular and affordable chinese model.
  #14   Spotlight this post!  
Unread 10-08-2013, 08:54
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

Quote:
Originally Posted by jameschin View Post
If you didn't want to use a microcontroller, is it possible to make a tank drive such that it was directly wired to potentiometers?

It's not clear what you are asking. What are you proposing to directly wire the potentiometers to?

In principle you could wire a pot directly to a DC brushed motor (like a CIM), but in practice it would have to be a very heavy duty pot, and it would waste a lot of battery power (and get hot).

Wiring a pot directly to a Talon or Jag or Vic would not work. These devices require a PWM input signal, not a DC voltage..


  #15   Spotlight this post!  
Unread 13-08-2013, 11:24
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,404
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Tank Drive Without a Microcontroller

Quote:
Originally Posted by jameschin View Post
If you didn't want to use a microcontroller, is it possible to make a tank drive such that it was directly wired to potentiometers?
I think we'd appreciate a bit more context. Are you asking for a project you had in mind, or are you just curious about alternative motor controllers?
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
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


All times are GMT -5. The time now is 10:22.

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