Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: assassa1221 on April 09, 2013, 03:30:51 AM

Title: Owm pwm-control from a step by step guide
Post by: assassa1221 on April 09, 2013, 03:30:51 AM
I made this: Problem is maxium current is only 0.2A.
http://www.easterngeek.com/2008/06/simple-and-dirty-pulse-width-modulation.html (http://www.easterngeek.com/2008/06/simple-and-dirty-pulse-width-modulation.html)

This professional shop's PWM have maxium of 15A
http://dx.com/p/dc-6v-90v-15a-pwm-motor-speed-control-switch-governor-green-black-160094 (http://dx.com/p/dc-6v-90v-15a-pwm-motor-speed-control-switch-governor-green-black-160094)

WHAT TO ADD and HOW TO PLACE COMPONENTS TO MINE:
(Controlling geared 12V high torque DC motor)
LIKE THIS FOR EXAMPLE: http://dx.com/p/high-torque-60rpm-12v-dc-geared-motor-91625 (http://dx.com/p/high-torque-60rpm-12v-dc-geared-motor-91625)

A LIST OF WHAT TO BUY(with ratings W,V,A) and a drawing how to solder things...
 
Thanks  :D
Title: Re: Owm pwm-control from a step by step guide
Post by: newInRobotics on April 09, 2013, 04:50:32 AM
Hi :)

To make 555 timer PWM generator circuit 3A capable You only have to add 1 PNP transistor (able to provide 3A at 12V) and 2 resistors (pull-up resistor of 10k and base resistor which value is calculated using hFE value of Your chosen transistor (base transistor should not allow more that 0.2A to go through 555 Timer)). Take a look at simulation here --> 3A capable 555 timer PWM generator (requires Java to play) (http://www.falstad.com/circuit/#%24+1+5.0E-6+9.78399845368213+50+5.0+50%0A165+272+176+304+176+2+12.0%0AR+208+80+208+32+0+0+40.0+12.0+0.0+0.0+0.5%0Aw+208+80+336+80+0%0Aw+336+80+336+144+0%0Aw+336+80+400+80+0%0Aw+400+80+400+208+0%0Aw+272+272+272+304+0%0Ac+272+272+208+272+0+1.0000000000000001E-7+6.139328637358871%0Ac+336+336+336+384+0+1.0000000000000001E-7+7.999999999999836%0Ag+336+384+336+400+0%0Ag+208+272+192+272+0%0A174+496+208+464+272+0+100000.0+0.49010000000000004+Duty+Cycle%0Aw+400+240+464+240+0%0Ad+496+272+544+272+1+0.805904783%0Ad+544+208+496+208+1+0.805904783%0Aw+544+208+544+272+0%0Aw+544+272+544+432+0%0Aw+544+432+272+432+0%0Aw+272+432+272+304+0%0Ar+208+80+208+208+0+10000.0%0At+160+208+128+208+0+-1+11.999999999499671+-4.999289870966095E-10+100.0%0Ar+128+224+128+320+0+4.0%0Ag+128+320+128+336+0%0Aw+128+192+128+80+0%0Aw+128+80+208+80+0%0Aw+208+208+160+208+0%0Ar+208+208+272+208+0+60.0%0Ao+21+64+0+35+20.0+3.2+0+-1%0A) or at the image attached.

P.S.
It wouldn't hurt You to understand more about transistors (read and try to comprehend all 8 pages)
--> Bipolar Transisthttp://www.electronics-tutorials.ws/transistor/tran_1.html (http://Bipolar Transisthttp://www.electronics-tutorials.ws/transistor/tran_1.html)

Also, here's a good article on how to calculate base resistor value
--> http://www.physics.unlv.edu/~bill/PHYS483/transbas.pdf (http://www.physics.unlv.edu/~bill/PHYS483/transbas.pdf)
Title: Re: Owm pwm-control from a step by step guide
Post by: jwatte on April 09, 2013, 12:28:30 PM
For PWM, you really want MOSFET transistors. And, to drive MOSFET transistors, pull-up/downs isn't enough; you want to use a MOSFET driver.
I would use something like an IR2301 as the driver, and a high-end N-channel MOSFET switch. Any high-power MOSFET will work fine; for example the PSMN022 is cheap and capable.
http://www.digikey.com/product-detail/en/IR2301PBF/IR2301PBF-ND/812114 (http://www.digikey.com/product-detail/en/IR2301PBF/IR2301PBF-ND/812114)
http://www.digikey.com/product-detail/en/PSMN022-30PL,127/568-7512-5-ND/2606361 (http://www.digikey.com/product-detail/en/PSMN022-30PL,127/568-7512-5-ND/2606361)

So, you'd wire the 2301 according to the data sheet (two capacitors, one diode) and the 555 timer to the input of the 2301, and then the output of the 2301 to the gate of the MOSFET. Finally, the MOSFET switches the power for the thing you're driving. With the PSMN022-30PL, you can switch about 15V at 15A safely (it's rated for 30V at 30A.) With a slightly more expensive device, you can drive 30V at 30A or more (50V at hundreds of Amperes if you get the right MOSFET.)

Title: Re: Owm pwm-control from a step by step guide
Post by: assassa1221 on April 10, 2013, 05:00:53 AM
(http://i1321.photobucket.com/albums/u556/12356562/WiringsPWMDC6-12V3Aatleast_zpscbe31a28.jpg)

Next I'll try to draw that same with those Mosfet"jwatte".
Title: Re: Owm pwm-control from a step by step guide
Post by: assassa1221 on April 10, 2013, 06:14:21 AM
I tried drawing MOSFETS+DRIVER from datasheet but... nääh...didn't work out... :'(
- Could "jwatte" complete drawing below ? (post it to photobucket.com, flickr.com or such... free photosite)
Thanks ::)
- What are common names for DRIVER: IR2301PBF MOSFET: PSMN022-30PL,127 when searching EBAY.COM or chinese sites like DX.COM where to get these ? (Shipping Europe payment paypal.com )
(http://i1321.photobucket.com/albums/u556/12356562/MOFETsWiringsPWMDC6-12V3Aatleast_zps1608017f.jpg)
Title: Re: Owm pwm-control from a step by step guide
Post by: jwatte on April 10, 2013, 04:53:27 PM
In your first design, the transistor is going to waste a lot of power. 25V may or may not be enough. If your battery voltage is 12V or less, you're probably OK.

In the MOSFET and driver data sheet designs, each of the capacitors can be a 100 nF capacitor, at 25V or higher. The diode can be a common small-signal 200 mA fast recovery 25V rectifier like an 1N4148. The resistors should be about 5-10 Ohm or so, and 1/4W is fine, because the duty cycle will be low.

If you don't like the particular devices I showed links to, I would recommend searching for "N-channel power MOSFET" for the transistor, and "MOSFET driver" for the driver IC.

In the data sheet, there are two MOSFETs, because it's intended to be used as one half of an H-bridge (so you can run the motor both directions.)
If you just need to switch a single MOSFET, you could hook it up low-side (between the motor and ground) and you don't need the diode and high-boost capacitor.

Another decent MOSFET driver for low-side-only is the MCP1407: http://www.digikey.com/product-detail/en/MCP1407-E%252FP/MCP1407-E%252FP-ND/1228640 (http://www.digikey.com/product-detail/en/MCP1407-E%252FP/MCP1407-E%252FP-ND/1228640)

As far as suppliers go, I would recommend against eBay. Just get the parts from your local distributor. If you're in Europe, Farnell or RS-online are fine electronics distributors.
Title: Re: Owm pwm-control from a step by step guide
Post by: jwatte on April 10, 2013, 05:42:00 PM
Here's a diagram using some N-channel MOSFET and the MCP1407:

(http://www.watte.net/mosfet-driver.png)

You could also drive the 1407 directly from 12V (as high as 20V if you want) and probably get even faster switching on the MOSFET. That would matter if you were driving 10A or more.

The gate resistor can be 1 Ohm at 5V, and 2 Ohm at 12V, but you could also do without it. It doesn't need to be more than 1/4W because the duty cycle is very low.
Title: Re: Owm pwm-control from a step by step guide
Post by: assassa1221 on April 11, 2013, 03:33:13 AM


Can't buy from Fernell.com I don't have a company just private person Could you pick from below links some good alternatives ? (Price as low and as many pieces as possible)
(http://i1321.photobucket.com/albums/u556/12356562/MOFETsWiringsPWMDC6-12V3Aatleast_zpsdfc49761.jpg)[/list][/list]
Title: Re: Owm pwm-control from a step by step guide
Post by: assassa1221 on April 11, 2013, 03:44:48 AM
I really like to make my own but in the meantime waiting postage...I'd like to ask...
Are these MOSFET+DRIVER types the one i'm trying to build or is mine even better ?(See links)
Are these cheap chinese PWM-alternatives unreliable and dangerous ?
Title: Re: Owm pwm-control from a step by step guide
Post by: jwatte on April 11, 2013, 01:06:32 PM
Farnell should sell to regular people, too. Just write "self" for "company name."

If all your potentiometer does is regulate the 555 timing, I imagine a 1/4W potentiometer should be sufficient. The reason those pictures use a higher current one is likely that those are also higher-durability when operated a lot.

You *can* change direction with a DPDT switch, but you'd probably rather want to use an H-bridge for that.

A 1N4007 is overkill, and actually won't work as well as a smaller, fast-recovery diode. Although it will probably work well enough.

There are no wires marked "?" in the diagram; there are components marked "?" because there was a bug in the schematic capture program I used that didn't let me edit the component names. C?, C? and R? are really C1, C2 and R1. There are no un-marked or un-terminated connections on the diagram I posted. The diagram I posted will drive a 50A motor if you use the right MOSFET transistor -- it's all in the MOSFET at that point. Btw; A MOSFET with a low Rdson will not even need heat sinks. I don't understand why the PWM controller you're linking to uses heat sinks -- maybe they use bipolar transistors? It doesn't even make sense to use cheaper MOSFETs with higher Rdson, because the cost of the heat sink components and assembly is likely more than the price difference to a good MOSFET that doesn't need heat sinks. Perhaps they're not using a MOSFET driver at all, and spend too much time in the transition region, which would heat up the switch?