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 > Stepper Motors and Drives


Stepper Motors and Drives Discuss stepper motors, drivers and related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-20-2007, 05:52 PM
 
Join Date: Mar 2004
Location: United States
Posts: 1,147
vacpress is on a distinguished road
dekengineering U2 resonance problems

Hey! I know I could probably figure this out by searching the forums, and I have read some stuff, but I also want to ask advice..

I am building a set of U2 stepper drivers per http://www.dakeng.com/u2.html

I had it on a breadboard and added alot to the stock circuit suggested to hopefully 'take care of the problems', which were wildly triggering inputs, possibly from some RF or EMF or whatever off the breadboard?


So, I added some 10k resistors to ground... This seems to be working fine.

The problem is that there are lots of resonant areas... the steppers i am using didnt have these troubles with a plain logic IC full step setup... Incidently, in the frequencies which are good, the U2 is much smoother and quiet than a full step logic drive.. the same motors does not have these resonant dead zones with a xylotex driver..(i blew up 4 of them! i suck

i am using a 4mhz ceramic oscillator and the modified code provided on the U2 site.. If I can get these working well, I plan to convert the code

anyhow, see my schematic. please advise!

www.robertguyser.com/u2.jpg

Thanks in advance! (Pnmino, i am looking at you!)

and now, off to drum lessons!
Reply With Quote

  #2   Ban this user!
Old 02-20-2007, 07:59 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Tell us about your motors. What current and voltage are they? Your limit resistors seem to be a very low value for L/R driver (1 ohm), you might be running them with a phase current way over the specs.
Reply With Quote

  #3   Ban this user!
Old 02-20-2007, 08:18 PM
 
Join Date: Mar 2004
Location: United States
Posts: 1,147
vacpress is on a distinguished road

my motors are the 'laserjet 2 motors'

these are 1.4 amp/phase, 5.4v.... i am running them with 16v power supply for now... it is a switching power supply...

at worst, the resonance problem is so bad it trips the breaker in the power supply...

i have a 24v 3amp transformer.. i just am too lazy to hunt up the proper rectifier...

also, I am using TIP102 transistors.. not Tip122.. Proteus has a limited number of the most usefull parts... and infinite ceramic capactors.... one very disconcerting thing is that you dont actually wire a oscillator.. but, that is another topic alltogether!
Reply With Quote

  #4   Ban this user!
Old 02-20-2007, 08:42 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Originally Posted by vacpress View Post
my motors are the 'laserjet 2 motors'

these are 1.4 amp/phase, 5.4v.... i am running them with 16v power supply for now... it is a switching power supply...

at worst, the resonance problem is so bad it trips the breaker in the power supply...

i have a 24v 3amp transformer.. i just am too lazy to hunt up the proper rectifier...

also, I am using TIP102 transistors.. not Tip122.. Proteus has a limited number of the most usefull parts... and infinite ceramic capactors.... one very disconcerting thing is that you dont actually wire a oscillator.. but, that is another topic alltogether!
You are driving those motors with almost 4 Amps per phase!!! that is why you are tripping the breaker.

In order to limit the current you need to replace the 1 ohm resistors by 5.0 ohm resistors (4.7 ohm are ok) 25 Watt each. (power dissipation is approx 12.5 Watt), and when you are driving half step or full step two phases on you will be over the maximum current your power supply will deliver safely. I recommend a 5A power supply for one motor. (all those values are for a 16 Volts power supply)
Reply With Quote

  #5   Ban this user!
Old 02-20-2007, 09:02 PM
 
Join Date: Mar 2004
Location: United States
Posts: 1,147
vacpress is on a distinguished road

ah. that seems to make sense.. my unipolar board has... a bunch of piggybacked ceramic resistors...

the effect of these 4 amps is... heat and magnetic resonance\feedback in the stepper body? less efficiency on account of heat loss?

let me ask, what sort of motor could i use with what ive got? it is wired up and pretty! last time i put that much solder on $30 of components without figuring out at least the important math! these are supposed to hold me over untill i can afford more xylotex boards or geckos or something better... i like the electronics at least.. it isnt a total loss..

one thing i had tried was 1amp, 60v schottky diodes across the transistor outputs... these got very hot and melted my breadboard.. i suppose that was the 4 amps on em...

ohms law! hah!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-21-2007, 06:34 AM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Originally Posted by vacpress View Post
ah. that seems to make sense.. my unipolar board has... a bunch of piggybacked ceramic resistors...

the effect of these 4 amps is... heat and magnetic resonance\feedback in the stepper body? less efficiency on account of heat loss?

let me ask, what sort of motor could i use with what ive got? it is wired up and pretty! last time i put that much solder on $30 of components without figuring out at least the important math! these are supposed to hold me over untill i can afford more xylotex boards or geckos or something better... i like the electronics at least.. it isnt a total loss..

one thing i had tried was 1amp, 60v schottky diodes across the transistor outputs... these got very hot and melted my breadboard.. i suppose that was the 4 amps on em...

ohms law! hah!
What is producing your resonance is current waveform distorsion due to magnetic saturation. If you continue using the motors without current limit you could demagnetize the permanent magnets.

Try to get the resistors, it will be fine after replacing them. Don't forget to mount a heat sink on the transistors.
Reply With Quote

  #7   Ban this user!
Old 02-22-2007, 10:19 PM
 
Join Date: Mar 2004
Location: United States
Posts: 1,147
vacpress is on a distinguished road

Originally Posted by kreutz View Post
What is producing your resonance is current waveform distorsion due to magnetic saturation. If you continue using the motors without current limit you could demagnetize the permanent magnets.

Try to get the resistors, it will be fine after replacing them. Don't forget to mount a heat sink on the transistors.
Thanks for the advice! I will share the code when done. I meant to say I am converting it to PicBasic at the top of the thread. This will make it easier for those of us who use some variation of pic basic to work with the code..

I dont know much ASM, but the U2 code is simple, and I am looking forward to converting it over...

Now if only proteus supported PicBasicPro which i purchased not even knowing about: Protron, which seems superior and cheaper, and supported by proteus!
__________________
Design & Development
My Portfolio: www.robertguyser.com | CAD Blog I Contribute to: http://www.jeffcad.info
Reply With Quote

  #8   Ban this user!
Old 02-22-2007, 11:07 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

You need fast recovery diodes across the transistors or they could get damaged.
Reply With Quote

  #9   Ban this user!
Old 03-10-2007, 05:42 PM
 
Join Date: Mar 2004
Location: United States
Posts: 1,147
vacpress is on a distinguished road

So, I am working on this again, right now. I do not have any 5k 25watt resistors. I have now got 11ohms, through a 1 and 10, 10watt resistors in series.. This seems to run smoother, no more power supply freak outs.

I do not know exactly how to do the diodes. I had 60v Schottky diodes across the transistor outputs. They got hot and melted! The drives didnt work at all untill i cut them out of the circuit... What kind of diodes?

Is there a good example of a well engineered unipolar output section that you can direct me to? A nice appropriate output design i can tack onto my pic indexer microcontroller?

In single step mode it is currently nice and smooth sounding. In half step mode it is smoother sounding but it seems to be hiccuping every so often regardless of speed... I think there may be lots of 'back emf' or similar from the coils switching.. How do I smooth this out?

Thanks.

Thanks.
__________________
Design & Development
My Portfolio: www.robertguyser.com | CAD Blog I Contribute to: http://www.jeffcad.info
Reply With Quote

  #10   Ban this user!
Old 03-11-2007, 09:26 AM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Originally Posted by vacpress View Post
I do not know exactly how to do the diodes. I had 60v Schottky diodes across the transistor outputs. They got hot and melted! The drives didnt work at all untill i cut them out of the circuit... What kind of diodes?


Thanks.
The diodes should be ultrafast diodes (less than 150 nSec reverse recovery time) 5Amperes minimum, connected across the C-E of the TIP122 with the cathodes connected to the collectors. Vclamping (peak reverse voltage) about 80-90 volt.

The TIP102 already has a diode inside, so you don't need any external diode unless the speed of the internal diode is too slow. You will need an oscilloscope measuring VCE during switching in order to find out if you need the external diodes or not.

In oder to suppress instabilities due to ground noise connect a 1 uF /250 volt plastic film capacitor (not polarized) across Vmotor and Ground as near as possible to the board.
Reply With Quote

Sponsored Links
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mach 3 resonance??? mikec8100 Mach Wizards, Macros, & Addons 6 03-10-2007 02:08 PM
A Problem With Resonance MoonlightMedia Gecko Drives 1 09-29-2006 04:39 PM
vibration / resonance boyvox DIY-CNC Router Table Machines 8 04-11-2006 11:33 AM
Leadscrew resonance davidmb DIY-CNC Router Table Machines 2 07-19-2005 03:32 AM
Resonance Jonathon DIY-CNC Router Table Machines 23 03-27-2005 09:16 PM




All times are GMT -5. The time now is 04:39 AM.





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