Asked — Edited
Resolved Resolved by Jeremie!

2.5 Am Motor Controller. Blue Smoke Question . :(

After modifying the G-Bot's power supply to adequately power his neon transformer I decided to change the input voltage for the G-bots arms and bubble lifter to increase their respective speed. The motors and actuator I'm using for the arms and bubble lifter are all rated up to 48 volts so I thought I was safe.

I had searched and searched for specifications for the EZ Robot 2.5 amp motor controller since I had a few of them on hand. I finally gave up after not finding specs and decided to just go ahead since I did find specs for the L298 chip online which showed input voltage up to 48 volts...

Well, when testing the arm motion, a LOUD crack rang out from the controller followed by the dreaded blue smoke.... :(

I guess I just need to know if the input voltage of 24 volts was definitely responsible? I've checked more than once and can't come up with another reason...

Is there a specification sheet out there specifically for the EZ Robot controller?

Can anyone suggest a different controller I could use with the EZB v3 to controller the arm motors with a 24 volt input?

Thanks

Gwen


ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

#1  

Sabertooth 2 x 12 (up to 24v) or sabertooth 2 x 25 (up to 30V)....

that 2.5amp h-bridge is meant for little toys that don't weigh much... It's a wonder you didn't light the poor thing on fire....:P

United Kingdom
#2  

24v should be fine on the L298n controller, provided it's connected to Vcc not +5V.

Current may be the problem. What is the current draw of the motor you were testing?

Do you know what went pop and released it's smoke? Was it the on board voltage regulator or the L298n chip or maybe something else?

PRO
Canada
#3  

I have operated an L298 at 24VDC in the past with success.

I agree with Rich that current handling may have been the issue, what kind of motor were you driving? If it was moving an arm I'm guessing it was drawing a lot of current.

#4  

Well, I actually may have smoked two of the 2.4 amp L298 controllers.. Not really sure yet.

I wanted to use one to control a linear actuator to act as the G-Bot's bubble lifter. That is the one I was asking about (in another post) how to control one motor using only two EZB ports since the linear actuator only needs full on or full off and I'm using a lot of the EZB ports already. I was messing with the script commands to do that: Joystick Button (to control bubble lifter down action) down:

 SET(1.D6, ON)SET(1.D7, OFF)

Button up:

SET(1.D6, OFF)

Joystick button(to control bubble lifter up action) down:

SET(1.D6, OFF)SET(1.D7, ON)

Button up

SET(1.D7, OFF)

I was fiddling with which two pins on the controller controlled which motor out since I wasn't sure if I had the actuator connected to the correct side on the controller. I was only able to get the actuator to work once. No POP but I vaguely smelled smoke and could not get it to work again.

Sooo, I decided to try out the other controller (I already had installed to work both arms but had increased the input voltage to 24 volts to get more speed out of them.) I connected one motor and activated it. The arm extended then POP! the controller made a loud cry and smoked... Mind you this controller worked perfectly and was wired exactly the same as I had it before except that I changed the input voltage to 24 volts.

I'm wondering if BOTH the actuator and the arm motors drew too much current or whether the voltage is responsible for them both frying?

Unfortunately I don't have specs on either the linear actuator or the arm motors. I bought them both as surplus many years ago... AND unfortunately I do not have an amp meter so I'm kind of living on the edge here.

I've attached a couple pictures of one of the arm mechanisms. It is really set up for robotic control. They have three stepper motors on them all with position resolvers. I was only trying to utilize one of the motors for now to extend and retract each arm. I'm thinking when the arm fully extended it just drew lots of current because it didn't turn off when it reached its limit. Its a shame since all three motors have resolvers on them and I just do not know how to utilize them - pity.

Should I be able to use the resolver on the motor I'm trying to use to feed a signal to the EZB and have script turn it off when it reaches its limit of travel? How would I know which wires on the resolver to use or how to wire it? The resolver connectors have four wires (red, black, green and white).

Gawd, so frustrating operating beyond my scope here...

User-inserted image

User-inserted image

Also, each of the arm motors have four power connectors. two each labeled 'A' and 'B'. I had connected the two 'A's together and connected to ground and the two 'B's and connected them to power (12 then 24 volts). That seemed to work to extend and retract the arms but the movement was slow with 12 volts. I thought upping the voltage might speed them up(and it did briefly before the 'event';) but now I'm wondering if steppers can even be used like this? Should I just be using one 'A' and one 'B' on each motor?

It has all just been trial trial and error so far. Its kind of a wonder I hadn't produced the dreaded blue smoke long before last night...

As usual, all comments and suggestions are appreciated...

Gwen

#5  

Gwen, I have the same motors. I was also going to use these for my B9 arms but decided to avoid using them because of the weight and they seemed overwhelmingly complicated. My hats off to you for trying. Have you thought about contacting the guy that sold these? When I bought mine he mentioned having to do a few mods to get them to work properly. His name is Dennis and I have his email address. Let me know if you want it and I'll get it to you. Here's a link to a web site showing these motors being used for B9 arms:

In Neon - Building the LIS Robot

I think the extra set of lugs on that motor is for a break. I bet you applied voltage to both the break and the drive motor. I'm guessing the break was clamped down while the motor was trying to move. That would make the current spike while it was trying to move.

Good luck, Dave

PRO
Synthiam
#6  

Gwen, I can't help you with those motor connections... however, I can recommend a tool for your workshop. This is has been a really useful tool for robotics in my experience: http://www.ebay.com/itm/30V-10A-10AMP-110-220V-Precision-Variable-DC-Power-Supply-Pro-Digital-Adjustable-/361010437468?pt=LH_DefaultDomain_0&hash=item540de61d5c#ht_6411wt_1263

The adjustable power supply allows you to control the voltage and monitor the amperage. It is extra convenient for situations similar to yours - experimenting.

Without knowing much about those motors and the mechanism, a tool like the variable power supply will allow you to slowly increase the voltage and monitor the amperage to better understand your current requirements.

#7  

Thanks for all the suggestions guys.

Dave, i know Dennis. He lives only a few miles from me here in Massachusetts. I remember when he initially bought these ten years ago. At the time, he was as baffled as i on how to use them.

Havent talked to him in a long while. Ill drop him a line and see what he ended up coming up with.

Thanks!

PS, Still looking for a spec sheet on the EZ Robot 2.5 amp controllers...

#8  

Gwen,I don't know the specs on your motors but from looking at your pictures i am pretty sure that these exceed the 2.5 amps that the motor controller can handle.

#9  

@rb550f Agreed.

@DJ Sures I'd still love to find a spec sheet on them. I have a couple left... And thanks for the suggestion on the bench supply. I'll definitely pick one up soon.

G

United Kingdom
#10  

Most L298n H-Bridges are the same, or very similar. The L298n H-Bridge chip is the same. Datasheets for that are very easy to come by however there's one in my datasheet repo.

#11  

Gwen, Rich is right. The chip is what you really need to be worried about. The manufacture usually wont build the rest of the board to handle more then the chip will handle or even what they advertise the amperage that it's rated for. In this case you can bet this board is rated for voltage up to 48 volts and current up to 4 amps. However I would bet that these are "Peek" values and not recommended to continuously run a motor with these values.

Another thing you need to consider is that a DC motor will produce flyback voltage when it's quickly reversed because of the magnetic field collapsing. Depending on the application this voltage serge can be up to ten times the voltage. When I was trying to control a Dewalt motor for my hip motor in my leg section I burnt up three of the L298n H-Bridge's I had bought from EZ Robot. In the end I solved this problem by buying an H-Bridge with better protection. Basically the H-Bridge needs diodes installed that drain the excess voltage and current to ground. I proved this theory by building a diode board with Schottky diodes rated at 8 amps and installing it between the motor controller and the motor. It worked like a charm and no more magic smoke! Here's a pic of it installed. It's the brown board just left of the motor:

User-inserted image

Anyway, this system worked but took up a lot of room. So after I proved this was the problem I pulled the board and bought a protected H-bridge. It cost a lot more but is very tiny and does the same job. The one I bought was a Pololu VNH5019 Motor Driver Carrier and it worked nicely for my Dewelt motor. You can see it installed in the pic above just right of the motor. BUT I was running it at 12 vdc. So I would not recommend this for your application. To decide what motor controller to use you need to find out what your motor is pulling in current (amps). For reference here's the specs of the above Pololu controller I mentioned:

User-inserted image

User-inserted image


Features
Operating voltage: 5.5  24 V1
Output current: 12 A continuous (30 maximum)
3V-compatible inputs
PWM operation up to 20 kHz, which is ultrasonic and allows for quieter motor operation
Current sense output proportional to motor current (approx. 140 mV/A)
Motor indicator LEDs (indicates what the outputs are doing even when no motor is connected)
Robust:
Reverse-voltage protection
Can survive input voltages up to 41 V
Undervoltage and overvoltage shutdown
High-side and low-side thermal shutdown
Short-to-ground and short-to-Vcc protection

Now with all that said, in the end I pulled that H-Bridge set up and installed an encoder, Sabertoooth 2x12 with a Kangaroo daughter board for position and speed feedback.

I'd recommend getting the power supply DJ point to above. Then when you find out what type of current your pulling invest in a Sabertooth. These boards are almost indestructible. You'll also need to get position and speed info to control where you want the arm to be and at what speed to move them there.

The sensors on your arm device should work but only will act as limit switches. They are simple opto switches that send a beam of light across the opening. When the beam is blocked the switch shows open. The trick will be finding the specs on them, sending the proper voltage to the right pins and figuring out how to wire it to the controller. That's one of the reasons I backed away from this device. Finding the specs on the opto is easy. Just get the numbers written on the U shaped Opto. Getting the open/close info to the controller is another thing. Your maybe going to have to bypass all the already installed on board circuitry. Now, if you get all this done it doesn't do anything to show the controller the actual position or speed of the motor, just the end points. For this you'll need an encoder or potentiometer. I don't know if this device has one. One could be added bit again I haven't looked into that. I'll have to pull the ones I have and take a closer look. Hopefully Dennis will have some answers on what he ended up doing to over come these things.

In the end, depending on how you want your arms to react your controller will need to know what is going on with you arms. If you want simple in and out and back and forth to the end points then the limit switches will be enough. If you want speed and position control then you'll need to have an encoder or pot installed. EZB's ADC ports can only read the voltage sent beck from a pot. Then a script can be written to read the feedback voltage and have the motor react. I already have scrips written for this but it's kinda kluncky. However, a much more elegant solution is to use an encoder and attach a Kangaroo to a Sabertooth. (The EZB cant read an encoder). The encoder and limit switches can be attached to the Kangaroo and after an autotune the Kangaroo knows everything about your motor and setup. You don't even need limit switches if you don't want to use them as you can manually set the limits when you are training the kangaroo. However, here's the disclaimer; Getting that first autotune can be a real pain in the bottom. You have to have everything set up properly with proper voltage, connections, feedback and a system that is not starved for current. I've spent days getting my setup to the point that I get completed tune. On the other hand I really push the limits on what I am asking my equipment to do. This device you want to use seems like it will have no problems with a Sabertooth/Kangaroo combo controlling it. Here's a pic of a Sabertooth/Kangaroo combo mounted on the top shelf of the CSS that controls my radar section.

User-inserted image

Well, that's enough for now. Hope this helps a little. Wish I was closer, I'd love to come over, see the G Bot and lend a hand. :)