Author Topic: Small motor driver  (Read 3968 times)

0 Members and 1 Guest are viewing this topic.

Offline CommanderbobTopic starter

  • Robot Overlord
  • ****
  • Posts: 146
  • Helpful? 2
  • Embeddedmicro.com
    • Embedded Micro
Small motor driver
« on: May 26, 2008, 12:08:15 AM »
I am making a small robot that is using 2 DC 3V motors that will be powered with a Li-ion battery. The problem is most of the electronics run at 5V using a step up circuit and I need a way to control the motor (forward and reverse with PWM) at 3V. I have used H-bridges for this but most have a voltage drop of 2V, so I could not use them with the 3.7v battery. I prefer one that uses a PWM input and a direction input (Ex.dir=0 CCW dir=1 CW, PWM=1 On PWM=0 Off), that makes it easier when the AVR only has two PWM channels. Has anyone been able to use motors like this before?
Thanks,
Justin

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Small motor driver
« Reply #1 on: May 26, 2008, 12:23:24 AM »
I don't think you will have any problem with choosing the microcontroller as
most of them run as low as 2V7...

For the H-bridge... did you considered any MOSFETs...
MOSFETs are beginning to have less and less internal resistor, meaning that your voltage drop
will be very very low... and you don't even need any external components...


Cheers,
Lefteris
For whom the interrupts toll...

Offline bens

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 335
  • Helpful? 3
Re: Small motor driver
« Reply #2 on: May 26, 2008, 03:45:46 AM »
I am making a small robot that is using 2 DC 3V motors that will be powered with a Li-ion battery. The problem is most of the electronics run at 5V using a step up circuit and I need a way to control the motor (forward and reverse with PWM) at 3V. I have used H-bridges for this but most have a voltage drop of 2V, so I could not use them with the 3.7v battery. I prefer one that uses a PWM input and a direction input (Ex.dir=0 CCW dir=1 CW, PWM=1 On PWM=0 Off), that makes it easier when the AVR only has two PWM channels. Has anyone been able to use motors like this before?
Thanks,
Justin
You have a few options that I can think of:

1) Build your own low voltage H-bridge out of discrete MOSFETs, as TrickyNekro suggested.
2) Use an existing H-bridge with a 2V voltage drop and a 5 - 6 V power source (e.g. four NiMH cells).  Such a power source can be problematic if you want it to power electronics at 5 V, but you could use it just for the motors.  How committed are you to that Li-ion battery?
3) Consider a  pre-built solution, such as this low-voltage dual serial motor controller.  This contains two low-voltage H-bridges constructed out of discrete MOSFETs and controlled by a microcontroller that accepts serial commands.

- Ben

Offline CommanderbobTopic starter

  • Robot Overlord
  • ****
  • Posts: 146
  • Helpful? 2
  • Embeddedmicro.com
    • Embedded Micro
Re: Small motor driver
« Reply #3 on: May 26, 2008, 10:07:08 AM »
I was thinking about making my own but that would require 2 PWM channels per motor correct? I was looking for something more like http://focus.ti.com/lit/ds/symlink/tpic0107b.pdf.

I do have a 7.4V 1100mAh Ni-MH pack that I could use but this is a small robot and the pack will be MUCH heavier then the robot.

I am using an AVR that is run off 5V for speed. The 5V is generated from a converter.

The robot consists of two bump sensors, ATmega32, 3 axis accelerometer, a servo, and a sharp IR sensor. Everything except the motors and the 3 axis accelerometer runs off 5V.

I could fit the Ni-MH pack under the robot if there is no easy way to use the li-ion.

Thanks,
Justin
« Last Edit: May 26, 2008, 10:07:49 AM by Commanderbob »

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: Small motor driver
« Reply #4 on: May 26, 2008, 11:20:56 AM »
I think MOSFETs are the best solution....


I weird question to you...
Have been making a coil gun?!?! I want to make one this summer or at least experiment...

If you are willing to help and have enough info should I pm you?!?!
For whom the interrupts toll...

Offline CommanderbobTopic starter

  • Robot Overlord
  • ****
  • Posts: 146
  • Helpful? 2
  • Embeddedmicro.com
    • Embedded Micro
Re: Small motor driver
« Reply #5 on: May 26, 2008, 02:39:48 PM »
Quote
Have been making a coil gun?!?! I want to make one this summer or at least experiment...

 ;D yes. I have made a few.

Quote
If you are willing to help and have enough info should I pm you?!?!

Post your questions on [ur=http://forum.coilgunpower.com/l]my forum[/url].

I decide to use a H-bridge IC and the 7.4V battery.

Thanks,
Justin

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots
Re: Small motor driver
« Reply #6 on: June 01, 2008, 01:47:38 PM »
You can use a 3.6V or 2.4V battery for your motors/driver, and your 7.2V battery with the microcontroller.

Nothing says you can't use two batteries ;D

(just make sure you keep grounds common)

Oh, and many AVR's can run at 3.3V, no problem. Just check the datasheet.

 

SMF spam blocked by CleanTalk