CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-20-2008, 08:26 AM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road
Question power supply

Hello All.
I am very new to this forum so please forgive me for any mistakes.
Question: What size power supply do i need to drive these stepper:

3 off 5v, 1.1a/phase , 6wire, nema 23
Reply With Quote

  #2   Ban this user!
Old 08-20-2008, 09:19 AM
 
Join Date: Mar 2007
Location: USA
Posts: 123
springlakecnc is on a distinguished road

Hi and welcome,

I have built and retrofitted many cnc machines. You are new to this site, and no one knows how much you know about machine building. I would guess, due to the nature of this question, you are fairly new at it.

May I suggest that you describe your machine, as best as you can, like the ball screw pitch, gearing between the motor and ball screw, and if you have linear rails, is it ball screw driven, or rack and pinion, your spindle size and rpm and what you are going to cut or move with these stepper motors, etc.

The reason I say this, and no offence meant, is, if you can’t size the power supply for your motor, how did you size the motor for the machine?

This site is littered with people that are putting WAY undersized components on their machine, and I’m sure the experienced people on this site want to see you have a successful machine, that runs good.

If you tell me you are making a router, I would say, with a nema23 motor, you better be using linear ball bearing rails for the ways, and your maximum cutter size will be about ¼ or at most, 3/8 inch diameter, and be cutting aluminum or wood, NOT tool steel! If you have a tabletop mill, I would think the motors are small, but with proper gearing, they may work.

I have never used motors that small, but in my 20 years of retrofitting, I would say a ½ KVA, (500 volt amp) power supply would be safe, on a 3 axis machine. (running 3 motors) If you are going to buy a power supply from someone like Keling, that advertises on this site, they would tell you exactly what to buy. If you are building the power supply from scratch, I’m sure there are other guys on this site, that have built power supplies for those little motors, that can give you a better answer than I can.

All the machines I build are for industrial applications, so I usually oversize everything, because the money is not as important as having a great running machine, but I do understand that a lot of people on this site are on a tight budget, so over sizing is wasting money, and I can understand that.

Good Luck,
Buck.
Reply With Quote

  #3   Ban this user!
Old 08-20-2008, 10:29 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Maybe some of this basic material will help you:

CNC: Computer Numeric Control. CNC can do things that you couldn't DREAM of doing manually. Properly programmed CNC can cut a sphere or any other geometric shape. All by combining axis moves to position the cutter in 3D space.

CNC Software:

G CODE: Actually there are many other letters involved also. This is the language that tells the Control program how to direct the machine to make the part.

There are three programs involved:

CAD: (Computer Assisted Design) A program to draw plans and maybe 3D objects with.
CAM (Computer Assisted Manufacturing) This program sets up the tool paths for the mill or lathe. It may translate the CAD output to G code.
CONTROL: This software actually runs the mill or lathe or router from the G code.

MACH3 is the hobbiest defacto best computer software for machine control. It can control either Steppers or Servos. Mach operates by sending out pulses to to the drivers that control the motors. The NUMBER of pulses is limited by the speed of the computer and by an upper limit. 35 to 50 thousand pulses is an average amount.

POWER SUPPLY: Device that changes 120 volt AC to smooth DC for CNC motors. Choosing the proper voltage to match drivers/motors is one of most important decisions needed. You NEVER want to install a switch on the DC side of the power supply.


BREAK OUT BOARDS: Mach3 uses the many wires in a parallel port (printer) cable to send control from the computer to the drives. Rather than fastening each tiny wire in the cable to its destination, the breakout board accepts the cable plug and then puts each wire on an accessible screw terminal.

BACKLASH: When reversing direction, any handle movement that does not also move the axis (or table or head/quill) is backlash. It is measurable directly by the dial on the handwheel. For CNC, backlash must be checked and adjusted often. Backlash will turn a circle into a vague blob.

RAPIDS: Non-cutter axis moves to get quickly from one point to another. These are cumulative, so if they are slow it slows down the whole job.

ACME SCREWS are the standard for most manual mills. They are just a relatively close tolerance screw thread and give fairly high precision and backlash while the adjustment lasts.

Acme screws and nuts wear quickly. Usually the screw wears most in the middle and less on the ends. After a while, you can't use the ends because it's too tight. Even relatively cheap ballscrews, which HAVE some backlash, are better because the backlash does not vary so often. Mach3 can compensate for backlash that doesn't keep getting worse

BALLSCREWS have large threads that allow a ball bearing to roll IN them. The ballscrew nut contains many small steel balls that recirculate inside to reduce friction. The ball nuts can be extremely tight to eliminate backlash--yet still have little friction.

Once ballscrews are installed, manual control may not be possible. Because ballscrews turn so easily, the table or head might not hold a position, but be free to move on its own. So while you COULD install hand cranks on double shaft motors, you might have to constantly lock the gibs on the other axes and it just may not be practical.

Ballscrews come in two types: Rolled and ground. Ground ballscrews are best, but can cost thousands of dollars for just one screw. We small-time automators usually can't afford them.

Rolled ballscrews come in several grades. The better they are for accuracy and low backlash per length, the more they cost. We usually use a medium grade.

If you buy say a six foot length of ballscrew, it needs to first be cut to axis lengths. It is hardened material, so this is usually best done with an abrasive cutting disk.

After they are cut, each end is turned down on a lathe. Because they are hardened, this is difficult to do. One end is usually turned to one diameter to fit a bearing. The other end may be turned to several decreasing diameters to accomodate thrust bearings, threaded for clamp nuts, and turned at the end to fit stepper coupling or pulley.

Once you have determined the LENGTH of the screws you need, there are companies who will make your ballscrews to order.

BALL NUTS: These are basically just enclosures that contain and recirculate the small ball bearings.

PRE-LOADED BALL NUTS: These have been re-loaded with larger balls. This takes up all available wiggle space and help eliminate backlash.

DOUBLE BALL NUTS: Two ball nuts with one tightened against the other to counter backlash. These are even better, but more expensive, and because they are longer, cost a loss of axis travel.

PULLEYS are used to increase torque by gearing down the motor RPM. However, stepper motors get weaker as speed increases, (To a limit of 800-1500 RPM depending on PS voltage--up to 20-25 times motor rated voltage if the drivers can handle it.) so most of the gain in torque results in lost speed. That's why most stepper motors are connected direct drive.

COUPLERS: These connect the motor to the lead screw. There are at least 3 type: Solid, Flexible, or Flexible solid.

Solid couplers are just a tube with set screws and are not flexible.

Flexible couplers allow for some misalignment of the motor/lead screw connection. These vary from a length of rubber hose, to three piece Oldham or Lovejoy types. These multi-part couplers can have some serious "wiggle" or backlash.

Flexible Solid couplers are solid metal, but with cuts and slices that let them flex. These "Helical" couplers have little to zero backlash.

IPM: Inch Per Minute is the speed rating for the X, Y & Z axis motion. Cutting in a mill usually happens below 30 IPM. But rapids may need to be as fast as possible, to get from one place to another.

STEPPER MOTORS are designed to move just a tiny bit each time they receive an electrical pulse. Four wire Steppers can be wired Bipolar Series or Parallel. Five or Six wire steppers can be wired either Unipolar or Bipolar Series. Eight Wire steppers can be wired in any of the three methods.

http://www.ams2000.com/stepping101.html

Unipolar wired steppers are the easiest and cheapest to control, but lack power, because they only use half of the motor's coils at once.
Bipolar Series wired steppers are somewhat more powerful than Unipolar--And actually have the most torque at low speed.

Bipolar Parallel wired steppers are the MOST powerful at speed.
EXAMPLE OF BIPOLAR PARALLEL: Hold your hands out in front of you with palms facing you and thumbs up. Now fold down the two middle fingers. Each hand represents one of the four motor coils. Touch the pointer fingers and the little fingers together. This is one half of your motor coils wired in Bipolar Parallel. The current will flow into the pointer fingers and out of the little fingers. Because there are TWO paths for the current, there is LESS resistance and inductance this way, Current flow (Amps) is greater so the voltage must also be less.

EXAMPLE OF BIPOLAR SERIAL: Now rotate your right hand 90 degrees right and your left hand 90 degrees left. The thumbs are pointing right and left. Touch the little fingers together. This is one half of your motor coils wired in Bipolar Series. The current will flow into one pointer finger, through one coil, out of the little finger, into the next little finger and out the other pointer finger. Now there is only ONE path for the current, there is MORE resistance this way, so current flow (Amps) is less and the voltage can be greater.

EXAMPLE OF UNIPOLAR: Just like Bipolar Serial above, but the two coils are center tapped, (Little Fingers) and only one half (Or HAND) at a time is powered. So power would go INTO one Little finger, and then out of that hand's Pointer finger. To run a Unipolar motor in reverse, power is directed from the center tap (Little Fingers) to the OTHER coil. (Or Hand)

MICROSTEPPING: Some drivers are designed to artificially reduce the distance the motor will turn by electronics. A full step is hardwired at 1.8 degrees and with 200 computer pulses it will complete one revolution. With microstepping set at 10 (Or one tenth) The motor will theoretically take 2000 steps (And computer pulses) to complete a revolution. I say theoretically because microsteps get just a little more vague in size as their number increases. Micro stepping operates at the expense of speed, and promises extremely high accuracy by increasing steps per revolution, but practically 8 or 10 microsteps are the limit. The computer and software can only put out just so many pulses, and the higher the step count, the slower the motor will run.

CONTROL DRIVES:

Stepper drives are the electronics that translate the pulses from the computer into useable current for the motors. They are fairly expensive and many are easily damaged. Wiring the drive wrong or disconnecting it during use will destroy most drives. Generally, the more expensive drives (Like the Gecko G203 Vampires) offer the best features like overheat protection, micro stepping and speed morphing. Steppers tend to get hottest standing still. Overheat protection will 1. Cut the current down, and 2. Put the motor in "sleep" mode after a short wait. Both will drastically reduce heat buildup. Morphing changes the speed to micro step at low speed accuracy, but jump to full steps for high speed rapids. You can have a powered driver without a motor connected, But you NEVER want to disconnect a motor while power is applied.

PID: A Proportional–Integral–derivative controller (PID controller) is a generic control loop feedback mechanism widely used in servo control systems.

Servo Drives that WE can afford, use basically the same pulse system as stepper drives. Actual expensive commercial servo drives use a different, more expensive system.

GECKO DRIVES are generally acknowledged as the best. Gecko "Vampire" drives are virtually unkillable. The G203V "Vampire" drive can also morph from high resolution microstep cutting to very fast Full Step Rapids.

The new low-cost Gecko G540 board (Accepts up to 50 volt power supply) will combine four axes of tiny cheap drives with a "Vampire" morphing breakout board so that all you need to connect is the parallel cable, power wires, and motor cables. In a short while, CNC conversion is going to be a LOT easier and less expensive.

SERVO MOTORS, which are more expensive, do not have the starting torque that steppers have, but they maintain what torque they have into high rpms. They are usually geared down 2 or 3 to 1 to gain starting torque. Even geared down, they can still attain thousands of RPM, so speed is not a problem with pulleys. Servo motors are also equipped to tell the computer (through encoder feedback) exactly where the motor is at any given time so there are no missed steps. Stepper motors can stall and miss steps unbenownst to the operator until the finished part is measured. Servo motors will destroy themselves if stalled or if encoder fails.

CPR: Count Per Revolution.

PPS: Pulse Per Second.

Pulse Per Second is different from RPM or IPM. Each pulse will move the motor one step. At FULL step, (200 per revolution) and with 5 TPI ball screws, It will take 1000 pulses to move the table one inch, and 10,000 pulses to move the table 10 inches. To move the table ten inches in one MINUTE will require 10,000/60 or approximately 167 pulses per second. 2000 pulses per second would equal 120 IPM table movement.

Bear in mind that to get maximum speed, your motors need to be wired in bipolar parallel and powered with best power supply voltage. Formula for best power supply voltage = 32 times the square root of motor inductance.


Encoders: These send position and speed feedback to the controller and are rated in CPR. They are quadrature devices that require 4 times the PPS per revolution. For example: An encoder rated at 250 CPR, will require 1000 drive Pulses Per Second.

Each system has its pros and cons. Steppers used with proper power supplies are reliable, consistent and cost effective--That's why most hobby applications use steppers.

POWER SUPPLY: Both types of motors run on DC Voltage. The power supply simply converts ordinary alternating current into this direct current. Stepper motors need around 20 times their rated voltage to perform at their best. The exact formula is 32 times the square root of the inductance. EG: A motor with 6.8 mH of inductance will need an 83 volt power supply for best motor speed.

NEMA= National Electrical Manufacturers Association. They set the USA electrical standards.

NEMA SIZES: Both steppers and servos may come in different Nema flange sizes.
Nema 23= 2.3 inch flange. Nema 34= 3.4 inch flange etc. We usually use either the smaller Nema 23 or the somewhat larger Nema 34. The torque may overlap between the sizes, but generally the larger motor has an easier time.

For example, a 500 oz Nema 23 stepper motor will be working hard (and getting hotter) to attain the torque at which a 500 oz Nema 34 will be easily cruising. Generally, power is added by extending the length (stack) of the motor.

RESOLUTION: The measured (In mm. or inch) amount of accuracy possible in an axis move. This is a combination of number of steps per motor revolution and number of turns per inch of the lead screw. For example: A direct-drive Stepper motor with driver set for full step will take 200 steps for one full revolution. If that revolution turns a ballscrew with 5 turns per inch, then there will be 1000 steps per inch or a resolution of one thousanth of an inch. (.001) If that same motor was turning a 20 turn per inch Acme screw, the resolution would be 4000 steps per inch, or 4 thousanths of an inch. (.0004) Pulley or gear ratios add to the resolution.

LIMIT SWITCHES: These are usually Normally Closed switches that tell mach when an axis has exceeded its limit of travel. On a servo system they will prevent the servo from stalling and burning itself up. On a high speed stepper system they may prevent impact damage to the motor. On a low speed stepper system they are probably not needed as the stepper motor will stall harmlessly. It is almost impossible to limit switch the lower end of Z travel because of varying tool lengths. Mach3 will also allow you to set up "soft limits" that operate independent of any switch.

HOME SWITCHES are usually Normally Open, and set at one of the limits of travel. When Mach orders a home operation, the axes go to the home switch location, close the switch, and then move slightly back and stop. This gives a reference position for mach to start from and position the tool.

It is possible to combine the upper N.C. limit switch with a N.O. home switch in the same switch. (double throw)

MGP: Manual Pulse Generator. This allows easy manual CNC axis control without programming. Can be either a hand-wheel or joystick control.

Here is a very good source of info for drives and motors:

http://geckodrive.com/faq.aspx?n=707079

And another source:

http://www.cncroutersource.com/

CR.
Reply With Quote

  #4   Ban this user!
Old 08-20-2008, 11:53 AM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road
Cool

Thanks for the reply guys..
Sorry i did'nt give you'll enough info.
My machine specs.
X.Y. Axes 35mm THK linear slides with blocks
Z axis- 20mm THK linear slide with block
25mm Ballscrews on all axes - (5mm pitch)
X travel 700mm
Y travel 400mm
Z trave 200mm

Machine is of full aluminium construction.

Will post some pics soon

Regards
sa1
Reply With Quote

  #5   Ban this user!
Old 08-20-2008, 12:37 PM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road
Question LOST IN THE SUPER HIGHWAY

Thanks for the reply guys..
I hope im posting in the right place

Sorry i did'nt give you'll enough info.
My machine specs.
X.Y. Axes 35mm THK linear slides with blocks
Z axis- 20mm THK linear slide with block
25mm Ballscrews on all axes - (5mm pitch)
X travel 700mm
Y travel 400mm
Z trave 200mm

Machine is of full aluminium construction.

Will post some pics soon

Regards
sa1
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-20-2008, 01:41 PM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road
Thumbs up Eyes full of tears

After 13 months ( actually 2months) of hard work, i got the machine running.
I am not new to cnc or cnc programming ( 18 years in trade) ,,, just that I know JACK S##T about electronics. I built the driver card from a basic schematic from a friend (i almost sweated blood). The machine runs beatiful at moment using 3 off 5v 50amp p/s connected in series, BTW no cutting load
Any schematics on 24v 10amp p/s really appreciated.

sa1
Reply With Quote

  #7   Ban this user!
Old 08-22-2008, 09:26 AM
 
Join Date: Mar 2007
Location: USA
Posts: 123
springlakecnc is on a distinguished road

Hello Sa1,

I was just checking back, and read the description of your machine.

I like that reply from "Crevice Reamer", sounds like he's (or She) been around cnc for a while.

Those motors may just work!

I don't know what kind of "breakout board" you have, please be advised that the limit switch wires and e-stop wires and any input wire running around or through the machine can and will pick up all kinds of electrical noise, so you need some kind of "isolation". A lot of times, I will run those input wires to a relay board, that’s close to the break out board, to avoid the electrical noise. Also, don’t run logic level, 5 volt’s, thru the limit switches or you will be wondering why you get tripped limit switches, and you’re not even close to hitting them.

Some breakout boards have Isolation built into them, but still have the 5volt input signal. If you have to use a 5volt circuit, for the limit switches, the contact in the limit switch better not be rated to handle over just a few amps, or you will have problems. Small voltage and amperage requires small contact's to work right.

Bob Campbell from Campbell Design has a very nice breakout board, and if you look at it, Bob uses a 12 volt circuit for the limit switches. If "newbies" would spend the extra money, Bob's breakout board costs, that would save themselves a lot of headach's.

Sounds like your machine is running good, thats great! If you have any other questions, just post it on cnczone, and someone will help.

Good Luck,
Buck
Reply With Quote

  #8   Ban this user!
Old 08-25-2008, 06:36 AM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road

Hello Buck
Thank you for your input
I have attached a .jpeg of the board i am using.
At the moment my motors do heat up after about 20 minutes usage.
To work out the current resistors,would i be correct in saying that:
15v (Power supply) - 5v (motor) = 10v
10v divided 2.2amp = 4.55 ohm
10v multiplied 2.2 amp = 22 watt
So that would be the size of resistors i would use? (4.55ohm 22watt at least)


Thanks
sa1
Attached Thumbnails
Click image for larger version

Name:	BB2002 3axis card.JPG‎
Views:	118
Size:	106.5 KB
ID:	65418  
Reply With Quote

  #9   Ban this user!
Old 08-25-2008, 08:14 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

The current limiting resistors required will depend on what your driver board manufacturer recommends for the max amperage of your motors. They are usually not very large in wattage.

http://nimoweb.free.fr/cnc/electroni...ctronique.html

CR.
Reply With Quote

  #10   Ban this user!
Old 08-25-2008, 08:16 AM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

By the way: Welcome to the Zone!

CR.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-25-2008, 12:27 PM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road
Smile

Hey Guys,
Thanks for letting me get in on the CNC ACTION.

I most probably will buy a new 'off the shelf' card. It depends on my budget, but any suggestions welcome. Please also note that I am in South Africa & the S.A Rand against the Dollar$ is not the best at moment.

You guys are great..
Regards
sa1
Reply With Quote

  #12   Ban this user!
Old 08-25-2008, 12:49 PM
sa1 sa1 is offline
 
Join Date: Aug 2008
Location: South Africa
Posts: 42
sa1 is on a distinguished road

Thank you C.R and Buck for letting me get in the CNC ACTION.
Since I'm in South Africa, is there any hobby controller card in the USA that sells for less $100 ? (S.A Rand versus US Dollar)

regards
sa1
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How'd you supply your power supply? cnczane DIY-CNC Router Table Machines 12 08-28-2011 05:13 AM
More power from switching power supply R.thayer General Electronics Discussion 4 03-10-2007 07:03 PM
Need help for a 12v-18A /5V power supply Niggo General Electronics Discussion 11 10-06-2006 12:11 AM
Power Supply from a computer power supply jmytyk General Electronics Discussion 21 01-11-2006 02:56 PM
Is my power supply up to the job ? DJ Morrow General Electronics Discussion 5 09-18-2005 08:47 AM




All times are GMT -5. The time now is 09:34 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361