
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
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....
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?
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.
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:
Code:
Button up:
Code:
Joystick button(to control bubble lifter up action) down:
Code:
Button up
Code:
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...
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'
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
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
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.
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...
@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
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:
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:
Code:
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.
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.