Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 108
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
RateReducer (35)


Next birthdays
11/02 Download (31)
11/02 ScottH (37)
11/03 Electroguy (94)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Simple unipolar stepper motor driver - amplifing LPT signals

Move Thread LAN_403
Tonic
Fri Dec 21 2007, 05:37PM Print
Tonic Registered Member #528 Joined: Fri Feb 16 2007, 10:32PM
Location: Warsaw, Poland
Posts: 166
Hello,

Well, there are so many sites about homemade CNC routers and they provides much driver schemes. The problem is that those schemes are complex for my electronic knowledge and doesn't make sense (in context I don't understand them).

I'm going to make a simple CNC router for milling PCBs. I need a driver which would control unipolar stepper motors. The most powerful I have are 1.7A and 4.08 DCV. They have to be controlled by CNC programs like Mach3, Kcam, TurboCNC etc. through LPT port. I want something simple and understable for me. As so far, there are two options for me and they're very similiar. The first one is using optocouplers and power transistors. There's line, which describes how I imagine:

LPT signal -> current limiting resistor -> optocoupler -> gate current limiting resistor -> IRF820 -> stepper motor coil

Second option is pretty same, only one transistor is added between optocoupler and IRF820 and it's role is amplifing signal, so I would use more powerful power transistors. The idea line:

LPT signal -> current limiting resistor -> optocoupler -> amplifing transistor (for example, BD139) -> gate current limiting resistor -> IRF820 -> stepper motor coil

Why I can't decide which options suits best is caused by that I don't know if first option will work. From what I've readed, LPT can supply only few milliamps. But that's enough for optocouplers to switch. Optocoupler's transistors powered by, let's say, +12V, should provide something aroung 50mA RMS current. IRF820's gate capacitance is 360pF. According to datasheet, the charge needed to open gate at +10V and Vds 100V is equal to 10nC. Rise time is 11nS. So, a amount of ampers needed to open gate at +10V in 11 nanoseconds, is calculated by i = Q/t formula. i = 10nC/11ns gives almost 1A. If I've calculated properly, then the next problem is that I can't figure out if optocoupler can provide this peak amperage. There's something as pulse current in optocoupler's datasheets, but under different conditions (for example, pulse width is 300uS and duty cycle 2%).

The second option (with amplifing transistor between optocoupler and IRF820) would guarante that it will work, but requires more messing with soldering, buying etc., so I prefer the first option. Of course, only if it would work, that's why I'm asking you.

There's site, wchich describes better the options I've said above:

Link2 ("Transistor amplified optocoupler circuit" and "Optoisolated high power control circuit")
Back to top
Bjørn
Fri Dec 21 2007, 07:14PM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
11ns rise/fall would give 45 MHz, your motors will not work at 45 Mhz so it makes little sense to use such high gate drive currents. Since a motor is an inductor (among other things) it is usually not a great idea to use such a fast rise time.

I would have used the simplest method and adjusted the gate resistor so there was little heating in the transistors and nice looking waveforms.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.