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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-21-2004, 01:19 AM
chuckknigh's Avatar
Gold Member
 
Join Date: Apr 2003
Location: United States
Posts: 594
chuckknigh is on a distinguished road
How to start a stepper?

OK, I've been thinking about the simplest possible driver circuit, thinking about the open source project. That would be a 4 transistor (per axis) driver, using wave control under TurboCNC. A few transistors, some diodes, and some resistors wired up to the parallel port should suffice, though I welcome other input.

My reason for asking is, I'm working on a <$20 "proof of concept" model with a single axis. A CNC Primer unit, if you will...which can function as a Z axis when completed. I intend for it to be an "I can actually do this!" type of project...simple, cheap, and easily understandable.

But, the more I think about it, the worse it gets. (Of course, I have a tendency to overanalyze everything)

OK...we have 4 coils...numbered 0, 1, 2, and 3. The motor is "stopped" at a random coil, let's say coil 2, and power is removed / computer is rebooted. That means the next step would require a pulse on coil 1 or 3, depending on the direction...that would be the next step.

But, since there's no feedback as to the position of the rotor, how does TCNC know where to start the pulses when it's first started? It could be, depending on the orientation, as much as 2 steps off at the start.

Extending this logic, it would seem this problem would exist in all stepper driver circuits. Any time power is removed, do the chips "zero" themselves back to the initial step? Seems like that's how it would work.

So, how is this situation handled? I really can't figure it out. Help?

-- Chuck Knight
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 08-21-2004, 02:17 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 234
marvinstov is on a distinguished road

Nice going Chuck. You electronics guys just amaze me. You all say " All you need is a small circuit board, throw some chips, resistors, a few diodes at the board and what ever it is you need will stick to the board and you're done." Just amazing, wish I could do that. Keep going, I'm listening.

Marv
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 08-21-2004, 07:19 AM
drawbar's Avatar  
Join Date: Apr 2004
Location: USA
Age: 43
Posts: 90
drawbar is on a distinguished road

In my experience, if I've just booted my computer up and turned my control power on, I can count on having to 'zero' my axes, because I have no idea how they've moved while it was down. For some machines, that means using homing limit switches. I don't have those installed, so I home manually (the way a machinist with a DRO does). But in any case, having just jogged the axis before zeroing, the step control is now properly somewhere in the middle of its phase sequence, holding steady and waiting for the next step that you command.

Also, when you energize one phase of the motor, the rotor will snap to that position, no matter what position it was in before. It may jump across those 2 or 3 magnetic 'detents' to get there, but I assure you, it will get there! That always happens on my control when I first turn it on. It goes to 'phase 1' from whatever phase it was on before. And as long as I accept the fact that I have to zero the axis then, I'm OK with that.

Brian

Last edited by drawbar; 08-21-2004 at 07:32 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 08-21-2004, 08:01 AM
chuckknigh's Avatar
Gold Member
 
Join Date: Apr 2003
Location: United States
Posts: 594
chuckknigh is on a distinguished road

Originally Posted by marvinstov
Nice going Chuck. You electronics guys just amaze me.
The *true* electronics guys amaze me, too. I'm a hack, relatively speaking. Found a basic circuit in one of my electronics books, and am working from that.

In fact, I'm going to an electronics surplus store, today, to get some parts. Living in a small town has its advantages, but parts availability is not one of them.

-- Chuck Knight
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 08-21-2004, 09:27 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 234
marvinstov is on a distinguished road

Originally Posted by chuckknigh
OK...we have 4 coils...numbered 0, 1, 2, and 3. The motor is "stopped" at a random coil, let's say coil 2, and power is removed / computer is rebooted. That means the next step would require a pulse on coil 1 or 3, depending on the direction...that would be the next step.

But, since there's no feedback as to the position of the rotor, how does TCNC know where to start the pulses when it's first started? It could be, depending on the orientation, as much as 2 steps off at the start.

Extending this logic, it would seem this problem would exist in all stepper driver circuits. Any time power is removed, do the chips "zero" themselves back to the initial step? Seems like that's how it would work.

So, how is this situation handled? I really can't figure it out. Help?

-- Chuck Knight


Chuck,
Check out the Xylotex data sheet. It mentions on there how the Xylotex board handles this I think. http://www.xylotex.com/XS35V.pdf There is a table on page 4 and some more explanation on the bottom of page 6.

Marv
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-21-2004, 10:32 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Chuck,
The motor goes to what ever state the driver reset to. The sequence is how to make it rotate in steps and direction. Think of a magnet on a table by itself. Each time you put it on the table its poles are oriented randomly. If you put a bar magnet to it it will alway orient to the attacting poles unless it's already oriented that way.

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 08-21-2004, 12:01 PM
 
Join Date: Jan 2004
Location: Sweden
Posts: 101
signIT is on a distinguished road

Hi,Look at this, including one stepper http://www.bde.se/bsart/bb002n.htm I have three cards with three small ~800mA steppers i will use them for a cutting machine, cutting metal foil only one stepper driver and stepper down and up wil be manual controlled.
Price card and one stepper SEK340 which is about USD45 that's nice I think that the PCB's and components can be bought separate.

SIgnIT
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 08-22-2004, 01:13 AM
chuckknigh's Avatar
Gold Member
 
Join Date: Apr 2003
Location: United States
Posts: 594
chuckknigh is on a distinguished road

Very nice. But that's a mail order stepper driver, and not what I'm aiming for.

The purpose of this project is to be a stepping stone into the world of computer control. It's not meant to be a truly practical driver design (it actually is, but there are better ones) but merely to allow someone to get to the stage where they admit to themselves, "I can do this!"

To this end I'm designing it from components that should be available at any Radio Shack or RS Components. Darlington transistors, some decent sized diodes, and some pull up resistors. By keeping it simple, I'm trying to make sure people can *easily* build this first step.

That's a big step...advancing from a pipe dream, to a piece of equipment moving under computer control...even if it is only a single axis, and primarily for proof of concept.

My intention is to make a single axis (a CNC primer unit) which, when complete, can function as a reasonable Z axis for a full machine. I figure this is the most "constantly" sized axis of any of them -- relatively speaking the movement is less than a foot, the structure can be easily made strong, and the mounting of a router spindle, or a Dremel tool takes approximately the same "vertical" space.

A relatively small project that can be put to immediate and practical use.

Seems like a good first step for the CNC newbie.

-- Chuck Knight
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 08-22-2004, 03:13 AM
 
Join Date: Jan 2004
Location: Sweden
Posts: 101
signIT is on a distinguished road
El Cheapo basic stepper driver

Hi,

This link has some schematics for stepper driver, low tech components and cheap, I haven't tried it but someone should, the site owner run this design in many applicarion single axiz or more.

What I can understand is this a very basic but working design meant for people that will try CNC technology but don't spend too much.

It is a freebie but it is not so user friendly instructions.

http://www.cnconabudget.com./freebies.html

Cheap is Good.

SignIT
Tweet this Post!Share on Facebook
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nearly time to start building!!! itsme Benchtop Machines 10 03-30-2005 03:27 AM
stepper getting hotttt?? chrisw765 Stepper Motors and Drives 6 03-01-2005 02:43 PM
Not good for a stepper motor? FLUTE HEAD Stepper Motors and Drives 4 12-02-2004 12:31 AM
Fun with floppy stepper and driver Konstantin General Electronics Discussion 5 03-08-2004 02:18 AM
disassembly of stepper motors dhprc2 General Electronics Discussion 8 06-25-2003 08:09 PM




All times are GMT -5. The time now is 07:02 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