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! > OpenSource CNC Design Center > Open Source Controller Boards


Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-06-2007, 02:06 PM
 
Join Date: Sep 2007
Location: Finland
Posts: 32
MagooT is on a distinguished road
Problems with stepper driver (L297 and L6203)

Hello dudes, i have assembled a board using this schematic
http://netikka.net/maggot/bipolar.png

Here's the board layout
http://netikka.net/maggot/bipolar_brd.png
X2-1 is +5v
X2-2 is +15v
X2-3 is GND

X1-1 is DIR
X1-2 is STEP

M1-M4 are the motor outputs


However it doesn't work.
I have measured about every pin using my oscilloscope but the only strange thing i found is that the outputs of the L6203's (pin 1 and pin 3) are high all the time, when i step it slowly (using jog in Mach3) i can see some small flickering around 14-15volt, but i assume it should switch between high and low.

Since i can't find anything wierd on the board, i'm asking if anyone can spot any errors in the schematic or board layout, i have checked the board about 10 times for solder bridges or stuff like that so i don't think that's the problem.

Any ideas what to look for would be nice, since i have no idea what might be wrong with this.

If you need more info just let me know, and sorry for my bad english
Greets
// MaggoT
Reply With Quote

  #2   Ban this user!
Old 10-06-2007, 03:00 PM
markcomp77's Avatar  
Join Date: Feb 2005
Location: Poland
Age: 46
Posts: 130
markcomp77 is on a distinguished road

I found one error... look R6 & R7 on your design



R6,R7 need to be connected to GND and sense->L6203[10]
look -> http://forum-cnc.pl/index.php?topic=55.0
__________________
markcomp77@forum-cnc.pl
Reply With Quote

  #3   Ban this user!
Old 10-06-2007, 03:48 PM
 
Join Date: Sep 2007
Location: Finland
Posts: 32
MagooT is on a distinguished road

Thanks for your help.
I have fixed the problem now but it still won't run.

Another go with the oscilloscope shows that pin 1 on both 6203's now switch between 0 and 15volts, but pin 3 switches between 0 and 5 volts i can hear a small ticking sound from the motor when im jogging but it doesn't move.

When i measure between GND and motor outputs M1-M4 i just see a blinking line at 10 volts on the oscilloscope.
Reply With Quote

  #4   Ban this user!
Old 10-07-2007, 11:23 AM
markcomp77's Avatar  
Join Date: Feb 2005
Location: Poland
Age: 46
Posts: 130
markcomp77 is on a distinguished road

Originally Posted by MagooT View Post
Another go with the oscilloscope shows that pin 1 out1 on both 6203's now switch between 0 and 15volts, but pin 3 out 2 switches between 0 and 5 volts i can hear a small ticking sound from the motor when im jogging but it doesn't move.


out1 and out2 should switch between 0 and Vs

1)
data sheet of l6203 is:
Vs Supply Voltage --> min=12V typical=36V max=48 V
its better to use higher voltage...
power supply - on AC24V trafo (DC output about 32..33V)

2)
use new L6203... and make new tests


Originally Posted by MagooT View Post
When i measure between GND and motor outputs M1-M4 i just see a blinking line at 10 volts on the oscilloscope.
make output current measurements... current of winding
__________________
markcomp77@forum-cnc.pl
Reply With Quote

  #5   Ban this user!
Old 10-07-2007, 11:37 AM
 
Join Date: Sep 2007
Location: Finland
Posts: 32
MagooT is on a distinguished road

I just found the problem (embarassing) if you look at my schematic OUT1, BOOT1 and OUT2, BOOT2 are the wrong way around on the motor outputs, so i switched them and now it seems to work thanks a lot for your help.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-08-2007, 02:08 PM
markcomp77's Avatar  
Join Date: Feb 2005
Location: Poland
Age: 46
Posts: 130
markcomp77 is on a distinguished road

Originally Posted by MagooT View Post
I just found the problem (embarassing) if you look at my schematic OUT1, BOOT1 and OUT2, BOOT2 are the wrong way around on the motor outputs, so i switched them and now it seems to work thanks a lot for your help.
do you think about...



making of STEP=1/2 better?
to have equal ful step and half steps...

__________________
markcomp77@forum-cnc.pl
Reply With Quote

  #7   Ban this user!
Old 10-08-2007, 05:11 PM
 
Join Date: Sep 2007
Location: Finland
Posts: 32
MagooT is on a distinguished road

I'm sorry, i don't understand what you mean, i'm not good at reading schematics what does it do?
Reply With Quote

  #8   Ban this user!
Old 10-09-2007, 01:45 AM
markcomp77's Avatar  
Join Date: Feb 2005
Location: Poland
Age: 46
Posts: 130
markcomp77 is on a distinguished road

Originally Posted by MagooT View Post
what does it do?
it change Vref (=>output current) for half steps...
because of this => torque of motor on full steps and half steps will be equal
because of this => half steps will be more precise
__________________
markcomp77@forum-cnc.pl
Reply With Quote

  #9   Ban this user!
Old 10-09-2007, 06:25 AM
 
Join Date: Sep 2007
Location: Finland
Posts: 32
MagooT is on a distinguished road

Ok, thanks.

Another question, i'm trying to run a small motor from a printer (don't have any other specifications for it other than "10 ohms", unfortunatley), and it get REALLY hot just after a few seconds, so i assume i must recalculate sense-resistors or something? Because the chopper isn't lowering the current at all, can anybody explain how to do this?
Reply With Quote

  #10   Ban this user!
Old 10-09-2007, 01:09 PM
markcomp77's Avatar  
Join Date: Feb 2005
Location: Poland
Age: 46
Posts: 130
markcomp77 is on a distinguished road

Originally Posted by MagooT View Post
Ok, thanks.

Another question, i'm trying to run a small motor from a printer (don't have any other specifications for it other than "10 ohms", unfortunatley), and it get REALLY hot just after a few seconds, so i assume i must recalculate sense-resistors or something?
yes...
but better is to regulate Vref of L297
look there -> R23


Because the chopper isn't lowering the current at all, can anybody explain how to do this?
use potentiometer (R23) to set Vref
look on any L297/8 driver - make the same...
__________________
markcomp77@forum-cnc.pl
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-09-2007, 01:58 PM
 
Join Date: Sep 2007
Location: Finland
Posts: 32
MagooT is on a distinguished road

Thanks, i googled around a bit and read about vref, this is what i came up with:

Schematic: http://i20.tinypic.com/2emdkx0.png
PCB: http://i23.tinypic.com/28lg9c8.png

This allows me to adjust Vref between 0 and 1.7 volts, should work great.
Guess it's time to etch a new board an try it out
Reply With Quote

  #12   Ban this user!
Old 11-11-2008, 08:49 AM
 
Join Date: Jun 2008
Location: singapore
Posts: 23
xinzc28 is on a distinguished road

Hi Magoot, I made similar driver.

My 10 ohm resistor is always get to smoke because of excess heat.
Do you have this problem?
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 4 (0 members and 4 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
L298, L297 Stepper Driver abbe Open Source Controller Boards 20 01-13-2012 11:45 AM
CONTROLADORA BIPOLAR CON EL L6203 -l297 lupi200 Spanish CNCzone 13 11-20-2011 08:39 PM
l297 7amp unipolar driver ljd10 Open Source Controller Boards 13 10-09-2007 07:56 PM
L297 / L298n problems - whining motor! bigal Stepper Motors and Drives 2 07-21-2005 04:32 AM
Troubleshooting the Simple BreakOutBoard and L297 driver pigifly Open Source Controller Boards 38 11-10-2004 02:13 PM




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