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 05-31-2011, 06:18 AM
 
Join Date: Apr 2011
Location: USA
Posts: 9
cnczo2629 is on a distinguished road
Motor "pulsing" but not stepping continuously in same direction

Ok, ignoramus here. Let me go on the record and say I know very little about controlling stepper motors. I have a Centent CNO142 (CN0142 & CN0143 Microstep Drive) microstep drive controller and a Vexta 1.8 deg 1.4v 3.8A 2-phase stepper motor that I'm trying to get to work together in a standalone application. I pulled these two items from a piece of working equipment, so I know they are compatible. To generate a step input for the CNO142 I built a simple 555-based pulse generator (The 555 Astable Circuit - More Detail) The pulse generator is powered from a 6v DC supply, the CNO142 from a separate 24v DC supply.

When I power everything up, the motor "pulses" almost in place, not moving in one direction. It'll take a step or two one way, then back the other way, then vibrate in place and not seem to move at all. If I adjust the speed of the pulse output on the 555 circuit, the speed of the motor pulse varies accordingly, so I think the CNO142 is correctly seeing the step input and the 555 pulse generator is working OK. But why does the motor not turn in the same direction continuously? I suspect it has something to do with the fact that I have nothing connected to the DIRECTION input of the CNO142, but I'm not sure what to connect it to. I've tried connecting it to both + and - of the pulse generator power supply, but neither made any difference. What am I doing wrong? Thanks!
Reply With Quote

  #2   Ban this user!
Old 05-31-2011, 08:00 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Can you put together a diagram showing all of the connections that you wired up to the driver (including power, motor leads, and 555 circuit)?

What component values are you using for the 555 pulse generator?

For initial testing you can connect the Direction input pin to the ground/negative terminal of the power supply used for the 555 circuit.
Reply With Quote

  #3   Ban this user!
Old 05-31-2011, 08:36 AM
 
Join Date: Apr 2011
Location: USA
Posts: 9
cnczo2629 is on a distinguished road

Sure, here's my hookup diagram. The component values I used are as stated in the schematic. I did try hooking the direction input to the pulse circuit ground, but that didn't seem to make any difference. Thanks!

Reply With Quote

  #4   Ban this user!
Old 05-31-2011, 08:52 AM
 
Join Date: Jul 2007
Location: Canada
Posts: 1,087
rowbare is on a distinguished road

Just a WAG. Make sure you set some value for the direction signal according to spec. If it isn't tied internally, it is floating and could lead to strange behaviour.

bob
Reply With Quote

  #5   Ban this user!
Old 05-31-2011, 08:59 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

A few comments and questions:

1) Your circuit does not show a ground connection between the 0v terminal of the 555 and the Ground pin of the drive, but it should have one.

2) How many wires do your motors have? How are your motors wired?

3) How certain are you of the resistor and capacitor values that you are using on the 555?

4) Are you really using 6 volts on the 555, or 5 volts, or something else?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-31-2011, 09:25 AM
 
Join Date: Apr 2011
Location: USA
Posts: 9
cnczo2629 is on a distinguished road

Thanks doorknob. To answer your questions:

1) You're correct, there is no connection between the 555 power supply ground and the drive GROUND terminal. In reading the CNO142 manual it was not clear that this was necessary, and I thought that terminal was only used in conjunction with the CURRENT SET terminal to set the output current (by placing a resistor across the two)

2) The motor has 4 wires. I pulled both the motor and the drive from a working piece of equipment, and hooked them up exactly as I found them in the original setup. I don't have them in front of me so I can't tell you the wire colors.

3) I'm very certain of the component values. I bought them new just for this project.

4) Yes, really using 6v. A lead-acid 6v, 4A battery, to be exact.
Reply With Quote

  #7   Ban this user!
Old 05-31-2011, 10:47 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

The documentation for the drive is poor at best.

It is not clear from the documentation which ground pin you should connect to the - terminal of your 6-volt battery. My guess would be pin 12, but maybe they intend it to be pin 1.

It is also not clear what the rated maximum input voltage applied to pin 10 should be. You have 6 volts there, which is probably OK, but 5 volts might make the drive "happier".

My suggestions are:

a) try connecting the - terminal of the 6-volt battery to pin 12.

b) also connect the Direction terminal (pin 8) to pin 12 (for initial testing - later on you can connect that to some kind of direction switch).

c) The documentation states:

Both the DIRECTION and STEP inputs require 16 mA current sink capability.

I do not think that you will be able to sink 16 mA through the 1K resistor R3. Try changing that value to 100 ohms.

d) The documentation makes a special point (at least twice, in fact) of the following:

The logic transition time for the STEP input must be 200 nanoseconds or less.

It is possible that the 555 output pulse does not meet that requirement, but you would need to look at that signal with an oscilloscope to be sure. One way to ensure that you get a fast transition would be to use a "schmitt trigger" circuit between the output of the 555 and the STEP input of the driver - for example, by using one section of a 74HC14 inverter to condition that signal.

e) If you're still not having good results, try putting a current set resistor between terminals 11 and 12 (even though the documentation implies that you can get away with not using a current set resistor there). The documentation is a bit ambiguous in this area as well - I'd try something in the range of 50K to 500K.
Reply With Quote

  #8   Ban this user!
Old 05-31-2011, 11:24 AM
 
Join Date: Apr 2011
Location: USA
Posts: 9
cnczo2629 is on a distinguished road

Thanks for all the great suggestions. I'll try them tomorrow. FYI, regarding your point e), I did try a current set resistor. There's a chart that indicates 3.3M resistor for a 3.5A parallel motor, which had no effect.
Reply With Quote

  #9   Ban this user!
Old 06-06-2011, 06:42 AM
 
Join Date: Apr 2011
Location: USA
Posts: 9
cnczo2629 is on a distinguished road

Well, still no progress. I tried most of your suggestions Doorknob, to no avail. Same results in all cases. Except I did not investigate item d) as I have no O-scope. I'm assuming the pulse is being picked up ok by the driver, since the motor does vibrate in sync with the step pulse. Hmmm. Not sure what I'm going to try next.
Reply With Quote

  #10   Ban this user!
Old 06-06-2011, 08:02 AM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Have you tried it with the potentiometer cranked all the way towards the low-resistance end of the scale? Do you have a piece of tape on the motor shaft to monitor the behavior of the motor? If you're microstepping, it takes a lot of microsteps to make a noticeable amount of shaft movement, and the step pulse rate from your 555 is pretty slow.

I'm not sure what else I can recommend (other than trying the 74HC14 schmitt trigger inverter). Without an oscilloscope you're really shooting in the dark...
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-06-2011, 09:20 AM
 
Join Date: May 2007
Location: UK
Posts: 701
wildwestpat is on a distinguished road

Sorry you are having problems. Here is my take on what you need to consider:-

1. The drive should not need any external set current resistor. It has an internal limit set and adding external resistors between pins 11 and 12 will increase the current pulsing in the coils. The current rating is that of the motor winding and should not be exceeded as you risk burning out the coils or over heating them which depends on the current and how long they remain connected.

2. It can damage the electronics if the coils become disconnected with the power applied to the driver or if the connections are making doggy contact between winding and the driver module. Always disconnect the power before changing motor winding connections. Also be aware there are some high voltages on the coils which can inflict pain or worse.

3. The CN driver is opto buffered so there is no need for the input power source to be connected to the power supply that drives either the amplifier or the motor.

4. The opto isolator requires 20 ma of current to be sourced for both step and direction. The circuit you have for the 555 timer the input to the CN driver is via a 1K resistor. At best your input current is limited to less than 6 ma. and will be much less due to the volt drop across the diode in the opto isolator. However it is not certain from the data sheet if this is enough to operate the driver but is below the recommended current.

5. IMPORTANT please note that a stepper motor that is sitting on the bench and is not connected to its mechanical load does not necessarily rotate. It may just sit there and twitch when stepped. This is because of the resonances associated with pulsing the current to generate a turning moment against the action of the permanent magnetic field are sufficient to make the rotor move but the magnetic force causes the electronically controlled current to cut off prior to the step to be completed. Result is vibrating rotor or twitching depending on the stepping rate. (Micro-stepping can make this worse as well as reducing the out put torque. Nice sets of curves in the data sheet so thanks for the link.)) With the motor held still try pinching the shaft hard but on no account let the motor body turn and pull the leads out of the CN Driver. The driver might be wrecked if a motor could gets disconnected with the power on.

Hope step five provides a solution for you if not keep posting in this thread. Regards - Pat

Last edited by wildwestpat; 06-06-2011 at 09:24 AM. Reason: Reason for twitching added
Reply With Quote

  #12   Ban this user!
Old 06-06-2011, 05:36 PM
 
Join Date: Apr 2011
Location: USA
Posts: 9
cnczo2629 is on a distinguished road

Well, I finally threw in the towel and sent an e-mail to Centent support, begging for help. Before I knew it I was on the phone with two of their engineers, who graciously filled me in on the finer points of motor control. Kudos to Centent for outstanding customer service! Pretty fine of them to support a 14 year-old device for a random Internet nutjob like myself. After speaking with them, all signs point to weak pulse output from the 555 circuit as the culprit. (and the fact that the 555 can't sink the required current.)

FYI, relative to other comments in this thread, I've got some feedback from Centent to share should anyone else run into a similar situation.

1) The pin 12 ground connection is for current set only. It is not common with the pin 1 ground and should not be used for any other purpose.

3) There should not be a connection between the 555 circuit power supply ground and the CNO142 power supply ground.

4) If not using the DIRECTION input, it should be connected either directly to the 555 circuit +5, or to the 555 circuit ground via a 100 ohm resistor.

5) If the 555 circuit were going to work at all, R3 should be 100 ohms and not 1k.

Thanks to wildwestpat's last post, which was pretty much on the mark. The guys at Centent also recommended their CNO173 pulse generator (CN0173 Step Pulse Generator), which does everything I was trying to accomplish and more. Thanks to all who provided input for this thread.
Reply With Quote

Reply

Tags
vexta centent cno142




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 to "offset" Double sided PCB if I don't have abolute "home" on my CNC ? Calico PCB milling 11 07-12-2011 06:02 AM
Need Help!- "motor steps per resolution" and "driver microstepping" settings margni74 LinuxCNC (formerly EMC2) 9 10-24-2009 02:33 AM
"J" head type "millport"(tiwan,1980) clutch marksbug Bridgeport and Hardinge Mills 1 08-17-2009 10:48 AM
Help finding information on Sanyo Denki "Step Syn" IBM stepper motor Oracle_9 Stepper Motors and Drives 12 06-08-2007 12:55 PM




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