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 09-28-2006, 03:22 PM
 
Join Date: Feb 2006
Location: us
Posts: 164
originator is on a distinguished road
Hacking up a bad controller

I have a MAXNC10CL that has not run right since day one, and it has died altogether once. Now it is basiclly useless again. The wll not run hardly at all. I swapped out the X micro from the unused A driver, I also swapped out the TIP120's.

The motors are 8 wire uni. 210 oz, 2 amp. Their system runs in quadrature and requires special drivers for MACH3, for which I have never had it really work well, but is prefernce of machine software There are encoders attached which I can lose.

Please tell me if this is semi workable as a cheap and dirty temporary solution:

I keep their controllerbox, with limit switches and parallel port in tact on their box so less to reinvent. I cut traces on their board to access the input pins 4,5,6,7,8,9 pins. for step and dir. I keep their 4 TIP120's per motor in tact, cut the traces to them.

Either A. write some simple code for an SX to receive the Step an Dir, and output the appropriate sequence to the already existing mosfets, or B. Get a simple driver like an EDE1200 6 wire driver. The 1200's are a shiort drive, the SX are on hand as well. I also have th SX28's on hand and could perf board the whole thing.

Hopefully someone can say this is workable or not. MAX wants 450 for just the stuffed board, but why try that again when it never worked, and I am still locked into that company like a prisoner. Gecko is 3 drives at 120 ea plus a PS, but would work, but would require some other extrenal box plus rewiring everthing.

Thanks for any suggestions.
Reply With Quote

  #2   Ban this user!
Old 09-28-2006, 07:09 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Can you post some pictures of the board? Probably some clues there.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #3   Ban this user!
Old 09-28-2006, 09:31 PM
 
Join Date: Feb 2006
Location: us
Posts: 164
originator is on a distinguished road

Ok here is the poard. It has X, Y, Z, A. Quadrature, 6 wire unipolar.

I picked up some EDE1200 unipolar drivers today to breadboard. I see no reason I can't just cut traces and use the existing box, PS, TIP120's. I guess we'll find out soon.

http://www.elabinc.com/ede1200.pdf#search=%22ede1200%22
Attached Thumbnails
Click image for larger version

Name:	maxncboard.jpg‎
Views:	219
Size:	239.7 KB
ID:	23409  
Reply With Quote

  #4   Ban this user!
Old 09-28-2006, 10:35 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Just looking over the data, looks to me like a normal unipolar stepper driver, 2 phase full ste, half step. Using the TIP120's to sink the appropriate amount of current. Since the LPT port has defined inputs and outputs, I can't say I see what the problem would be running it from the standard software controllers. Mach3 for winxp, and many others for older win9X systems or dos. How are you powering the board? Do the motors have lables giving resistance, voltage or current? You say 8 wire unipolar, I assume you mean they are eight wire motors, wired for 6 wire unipolar?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #5   Ban this user!
Old 09-29-2006, 12:35 AM
 
Join Date: Feb 2006
Location: us
Posts: 164
originator is on a distinguished road

I am sorry if I said 8, I was in a rush. They are 6 wire motors. Lin engineering 5718M-05 2 amp. I picked up the EDE1200's and breadboarded one for a test using the Step and Dir from the parallel port. I cut the traces from the existing board to the parallel port, ran the Step/Dir pins to the EDE1200 uni driver IC. Set it to full step for testing. I cut the traces to the 4 TIP120's, and left the outs in tact to the motor. The center tap to the motor is at 18v from the old xontrllers PS until I plug the motor in, then it drops to 8 volts for some unkown reason. Prior to tonight the rail was usually around 18 to the center tap with all motors plugged in, but now cutting traces or something else has caused the rail to drop in half when just one motor is plugged in, also the controller's breaker is popping often now as a result. The motor is getting quite hot, and I don't recall it getting hot before todays changes.

The inputs to the TIP120's are now from the breadboarded EDE1200 driver IC. The driver is basically a PIC packaged for driving unipolar motors. In testing the driver with LED's first, everything looks right, but when trying to run the motor, it will attempt to rotate in the correct direction, but is not quite right, it stutters, shakes, sometimes goes around partially, it will reverse according to the reverse jog key, but the same thing, very rough. These tests are at very low jog speeds. At high speeds, it will not turn at all, just sits still buzzing. I have tried other combinations thinking I had the phases wrong, but haven't had any luck, I think it is plugged in right though. The problems must be related to the motor getting hot and sinking the rail, which may very well be causing it not to turn properly. Why it is sinking the 18v rail now is a mystery. Once that is solved, I think Mach3 will drive it just fine once this rail issue is solved.

Just to clarify the problem: Whe I plug the motor into one of the unchanged outputs where there were no traces cut for the axis, the rail stays at 18v, but when I plug it in on the output of the TIP120's that are now routed to the EDE1200 outs, the rail goes to around 9 volts. I even floated the 4 inputs to the TIP's and still the rail is dropping.

*Update: I have narrowed down the issue with the rail getting dropped. The way that MAX had it set up, a PIC had 4 outs that drove a NAND, using the NAND as an inverter. The 7400 NAND went to the 4 TIP120's, straight to the motor connector. What I have done is cut the traces from the 7400 to the TIPS on one axis and insert both the EDE1200 and an SX processor, one at a time to test driving the TIPs directly. If I plug the motor into an output as it was from the factory 7400NAND>TIP>connector The highside rail stats at 18. BUT, when I insert either the EDE or SC, the rail drops to 7 volts, the PS breaker pops not to long after that.

I have spent hours trying to see what is different between their NAND gate and my IC's, and have found no answer. I have even tried taking had wire and running the TIP inputs to GND and VDD, still the rail is dropped. I have tried cutting the traces from the NAND to the TIPS, no change. The TIP's have a 5V 1k pullup, I have tried leaving them in and taking them out. Once I get past this mystery life will be good. I have been able to drive the motor more smoothly, a few .01's here and there have helped.

BTW the NANDS outs are all sitting at 0. I can't understand why me cutting traces and taking 4 wires from the TIP ins to GND is producing a different result.

Last edited by originator; 09-29-2006 at 04:57 AM.
Reply With Quote

Sponsored Links
  #6  
Old 09-29-2006, 05:57 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 530
HillBilly is on a distinguished road

I am not familiar with the EDE1200 chip. But it sounds like it has no current control. The Max controller used a chopper output to the tips for current regulation (that is the ringing you hear at stand still). If this is the case you will need a balast resistor or a chopper circuit between the rail voltage and the motor to limit current.

Darek
Reply With Quote

  #7   Ban this user!
Old 09-29-2006, 10:04 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Originally Posted by HillBilly View Post
I am not familiar with the EDE1200 chip. But it sounds like it has no current control. The Max controller used a chopper output to the tips for current regulation (that is the ringing you hear at stand still). If this is the case you will need a balast resistor or a chopper circuit between the rail voltage and the motor to limit current.

Darek
While I can't make out all the ics on the pcb, I didn't see anything that would make me think there is chopper components? No power resistors for current sensing..... Doen't mean there might not be, but.....
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #8   Ban this user!
Old 09-29-2006, 10:08 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Darek is correct that you will need some current limiting, i.e. power resistors or a chopper circuit. Probably why you are seeing a rail voltage drop and breaker pop. Your breadboard wiring will also pick up noise. If you want a unipolar chopper, look at my L297uni on my website. http://PMinMO.com
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #9  
Old 09-29-2006, 11:10 AM
Gold Member
 
Join Date: Sep 2003
Location: USA
Posts: 530
HillBilly is on a distinguished road

The MaxNC micro chip outputs PWM to the TIP's, not just on and off.

Darek
Reply With Quote

  #10   Ban this user!
Old 09-29-2006, 11:19 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Originally Posted by HillBilly View Post
The MaxNC micro chip outputs PWM to the TIP's, not just on and off.

Darek
You still need some method to sample current. PWM alone isn't enough.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-29-2006, 12:38 PM
 
Join Date: Jul 2005
Location: USA
Age: 42
Posts: 442
pastera is on a distinguished road

If you can control the power supply voltage and the motor specs, you can get some control in open loop. The issue is you'll fry the motors if they stall.

IMHO, scrap the board, salvage the connectors and build your own.
a few LM324's, IRCZ44's and an SX will get you where you want to go.

Aaron
Reply With Quote

  #12   Ban this user!
Old 09-29-2006, 02:12 PM
 
Join Date: Feb 2006
Location: us
Posts: 164
originator is on a distinguished road

Thanks for the notes.

The first step was to get an understanding of how the board was working and I have done a pretty good job of getting that part down. Unless they were chopping the PIC outputs, there is no obvious current limiting going on. There is clearly no sense R or circuit, or other PWM signal anywhere that I can find. The only resistsors to the NAND or TIPS are pullup 1k's on the outs of the NAND gates. Why pullup and logic gate? Who knows.

OK the mystery still remains about why it is that I can leave their 7400 NAND in place: so the path is NAND>TIPS>Motor and the common 18 volts to the stepper stays at around 18. BUt, when I do this

SX>NAND>TIPS>Motor or

EDE1200>NAND>TIPS>Motor

...the rail drops, even if I have all inputs to the NAND at 0 or all at 1 or using any coil sequence applied. Theoretically, with no signal present at the TIPs, they should be open and not shunting one side of the coil(s) to GND. OK so if using the NAND the reverse is true, a signal present at the NAND means no singal to the TIPs, and no shunt to the coils = rail is unaffected.

I'll dig on and maybe have an AHA! moment.

Next, once that will work, I'll simply make an SX board that mounts on to the existing board, use the same connectors, but replacing the PIC processors. I can even use the existing encoders and count/monitor pulses/movement, and E-stop or pause in the event of stall. Honestly, I have burnt up 1 spindle motor, 3 backlash nuts, a dozen end mills prior, so what I had before didn't have any safety feature while using MACH3 at least. I do believe that using their software it would stop in a stall, but I am not sure. I can address that directly myself though with my own code and Estop. Once this thing will get me by for the immediate needs, I'll just put it is Eagle send out for a fresh board, same size to fit the box, make life simpler.
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





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