Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Help with Prototyping Board (http://www.chiefdelphi.com/forums/showthread.php?t=125540)

Qbot2640 31-01-2014 09:38

Help with Prototyping Board
 
Every year we get into a situation where we need to speed-control a motor in some prototyping system and I always say I'm going to build some simple control circuit. I have limited electronics knowledge (enough to be dangerous) and I have found a simple circuit called: "Square Wave Signal Generator with Pulse Width Modulation". The circuit

http://www.rmcybernetics.com/project...generator2.htm

allows variable control of the frequency (which I understand needs to be 15kHz for controlling a Jaguar) and the pulse width.

Will this do what we need? (By that, I mean, can we connect the Jaguar pwm input to this generator and control motor speed without needing our control system?)

ILAMtitan 31-01-2014 12:21

Re: Help with Prototyping Board
 
I ran into the same need on our team. My solution was to just pick up an RC servo tester. HobbyKing carries a bunch of them: http://hobbyking.com/hobbyking/store...h=servo+tester

These will cable right to the speed controller via the PWM port. I just got a cheap one and powered it via a 3S lipo and a UBEC that I had laying around, but some of the better ones have more power options.

Qbot2640 31-01-2014 12:32

Re: Help with Prototyping Board
 
Quote:

Originally Posted by ILAMtitan (Post 1335342)
I ran into the same need on our team. My solution was to just pick up an RC servo tester...
...I just got a cheap one and powered it via a 3S lipo and a UBEC that I had laying around, but some of the better ones have more power options.

What is a "3S Lipo" and / or a "UBEC"

Can I not just create 5VDC from a stock adapter, or from a bank of batteries?

Jon Stratis 31-01-2014 12:35

Re: Help with Prototyping Board
 
For prototyping purposes, we took apart an old drill and refitting things. Basically, a battery connector goes in the butt, and two wires with some quick connect fittings come out the top. Then it's just a matter of plugging it into a battery and the motor, and you have instant, easy to use speed control.

Joe Ross 31-01-2014 12:54

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Qbot2640 (Post 1335277)
Every year we get into a situation where we need to speed-control a motor in some prototyping system and I always say I'm going to build some simple control circuit. I have limited electronics knowledge (enough to be dangerous) and I have found a simple circuit called: "Square Wave Signal Generator with Pulse Width Modulation". The circuit

http://www.rmcybernetics.com/project...generator2.htm

allows variable control of the frequency (which I understand needs to be 15kHz for controlling a Jaguar) and the pulse width.

Will this do what we need? (By that, I mean, can we connect the Jaguar pwm input to this generator and control motor speed without needing our control system?)

The Jaguar PWM input is not 15khz. The input PWM is defined in the Jaguar Datasheet, available from VexPro (it's called servo style speed input).

Quote:

Originally Posted by Qbot2640 (Post 1335348)
What is a "3S Lipo" and / or a "UBEC"

Can I not just create 5VDC from a stock adapter, or from a bank of batteries?

3S Lipo is a Lithium Polymer battery popular with RC hobbyists. Use a Robot Battery instead. UBEC is a Universal Battery Eliminator Circuit, in other words, a 5v converter.

If you want to buy, like ILAMtitan said, you can find many options at any hobby shop (usually called a servo tester). If you want to support FIRST vendors, here are a few other options, with varying capabilities.

http://www.andymark.com/product-p/am-2732.htm
http://www.andymark.com/product-p/am-2503.htm
http://robotlogic.com/wp/product/servo-tester/

Several people have posted circuits on chiefdelphi. I've never seen one with a 555 and a comparator, I usually see them with 2 555s. You could even use a really old computer: http://www.chiefdelphi.com/media/papers/2702

ILAMtitan 31-01-2014 15:09

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Qbot2640 (Post 1335348)
What is a "3S Lipo" and / or a "UBEC"

Can I not just create 5VDC from a stock adapter, or from a bank of batteries?

Sorry for not clarifying, I come from the RC world where these are standard terms. A 3S LiPo is a lithium polymer battery pack containing three cells in series. Each cell is 3.7V, so the whole thing outputs a nominal 11.1V. There are also other cell count varieties, and I've seen up to 11S which would be 40.7V.

A UBEC is really just a highly efficient voltage regulator. It takes a voltage input above 6V, and drops it down to 5V. So the 3S battery connects to the UBEC input, and the output is 5V. This 5V is the standard TTL value used in servos and motor control systems. I used this one becouse it's cheap and I didn't need much current: http://hobbyking.com/hobbyking/store...BEC_3A_5v.html

I actually don't recommend the LiPos if you aren't familiar with them. They require highly specialized chargers and can be very dangerous is mistreated. A better battery option would probably be a cheep 4x AA holder. This would give you enough voltage to power the UBEC and feed into the tester and subsequently your servo or motor controller.

This is of course the low cost cobbled together way to do this. If you can spend a bit more, the two AndyMark products that Joe Ross linked will be much easier to us, and likely provide more features.

Qbot2640 31-01-2014 15:50

Re: Help with Prototyping Board
 
Thanks everyone for all the information. I managed to find an inexpensive servo tester on ebay that will ship and arrive quickly. I would have preferred to find something that I could have bought or built from local sources so I could have it immediately - but the closest reliable source for RC stuff is about an hour drive.

While I'm waiting for that to arrive - I'll tackle the 5V power situation. Ideally, I'd like to create something that uses the same 12V robot battery that we will be using to power the motor on the other side of the jag, or some old power supply I have sitting around from an old laptop or something. I think my "enough to be dangerous" electronics can handle getting 5V out of something we have available.

Thanks again!

dellagd 31-01-2014 16:09

Re: Help with Prototyping Board
 
Quote:

Originally Posted by ILAMtitan (Post 1335405)
Sorry for not clarifying, I come from the RC world where these are standard terms. A 3S LiPo is a lithium polymer battery pack containing three cells in series. Each cell is 3.7V, so the whole thing outputs a nominal 11.1V. There are also other cell count varieties, and I've seen up to 11S which would be 40.7V.

While they nominally output 11.1V, they are charged up to 12.6V, or 4.2V per cell, and then drop down to around 9V at a minimum or else you probably damaged the battery. So really a robot battery will be a very similar replacement.

Just that the robot battery wont catch fire if you drop it the wrong way. Those LiPos pack quite a punch.

Qbot2640 31-01-2014 17:50

Re: Help with Prototyping Board
 
Can I use the 12V-5V power converter that we use for the radio on the robot? We have a couple of those laying around.

If the answer is no (which I suspect it's going to be) please tell me why - in Math Teacher language - not EE language.

Mark McLeod 31-01-2014 18:04

Re: Help with Prototyping Board
 
Yes, or in math teacher language possibly "1"

Ether 01-02-2014 11:54

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Qbot2640 (Post 1335277)
Every year we get into a situation where we need to speed-control a motor in some prototyping system and I always say I'm going to build some simple control circuit.

If you have an old laptop, all you need is this software.



amesmich 01-02-2014 21:11

Re: Help with Prototyping Board
 
We use arduinos to run our motors. I have read about others wanting to do this so our team is going to post the code on our site when our members get a chance. I fyou want our code PM me.

Gregor 01-02-2014 21:14

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Jon Stratis (Post 1335351)
For prototyping purposes, we took apart an old drill and refitting things. Basically, a battery connector goes in the butt, and two wires with some quick connect fittings come out the top. Then it's just a matter of plugging it into a battery and the motor, and you have instant, easy to use speed control.

We do the same thing, and it's insanely useful.

Qbot2640 01-02-2014 21:43

Re: Help with Prototyping Board
 
Thanks both of you:

Quote:

Originally Posted by Ether (Post 1335769)
If you have an old laptop, all you need is this software.



I looked at that information before I posted and my head started to spin. It looked like the kind of thing I would spend two days working on and have nothing happen as a result!

Quote:

Originally Posted by amesmich (Post 1336058)
We use arduinos to run our motors. I have read about others wanting to do this so our team is going to post the code on our site when our members get a chance. If you want our code PM me.

We have no one on our team with any expertise in arduino use. Learning this is on my to do list - but there's a bunch of stuff higher on the list...I needed a more immediate solution. I may take you up on that AFTER the build season.

Ether 01-02-2014 21:43

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Qbot2640 (Post 1335277)
Every year we get into a situation where we need to speed-control a motor in some prototyping system...

Here's Team 610's solution:
Quote:

Originally Posted by Mr. Lim (Post 1328791)
I find the true strength of Jaguars to be during the prototyping phase. They are the best for getting a quick PID system running within a matter of minutes. A Jag, battery, encoder/pot, a laptop w/ black serial adapter and BDC-Comm. They were game changers for us in 2013 when we had several frisbee shooting prototypes, and were able to put very good closed loop control on each and every one.


Ether 01-02-2014 21:50

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Qbot2640 (Post 1336084)
Thanks both of you:

I looked at that information before I posted and my head started to spin. It looked like the kind of thing I would spend two days working on and have nothing happen as a result!

Please tell me what parts were confusing so I can make it easier to understand and more accessible to teams who need it.



Qbot2640 01-02-2014 22:13

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Ether (Post 1336089)
Please tell me what parts were confusing so I can make it easier to understand and more accessible to teams who need it.



PM sent. It's probably perfect as is...Don't cater the information to me...I'm Electronically Challenged.

Ether 01-02-2014 23:05

Re: Help with Prototyping Board
 
Quote:

Originally Posted by Qbot2640 (Post 1336107)
PM sent.

Your observations were helpful.




All times are GMT -5. The time now is 09:42.

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