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-26-2004, 06:41 PM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road
Troubles with L297/L298

Hi
I am a new user of stepper motors (bipolar) and I am trying to work with the L297 controller and the L298 driver. I am setting the the L297 in the two phases on mode.
The circuit I am ussing is the recommended in the Application Notes of SGS - Thompson.
I was able to manage the L297. It means I had get the outputs I was expecting from the controller, (in pines Inh1, Inh2, A, B, C and D while I move the clock manually) but I did not get the necessary voltage in the winding pins (2 - 3 and 13 - 14 of the L298).
The voltage I get between the ends of the same coil were, different of zero, but similiar between them, that means that never circulate any current through the windings.
As I place Control in High level, for Phase chopping, I thought the problem could be in the sensing current circuit. To avoid that problem, I connected the pins 13 and 14 of the L297 to Gnd and a pair of 14 ohms resistences instead of the windings and 20 Volts to the Supply Voltage (Pin 4 of L298), to be sure the curent wasn´t never higher than 2 A, but nothing change.
I had change several L298 chips, foresighting they were burned, but nothing changed.
I am sure I am making something wrong, but I don´t know what additional things can I do. I will appreciate very much any help.

Raul
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-26-2004, 08: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

Raul,
How hard is it for you to remove the L297 from the circuit? I assume you have checked power and gnd to the L298? If you can easily remove the L297, I would suggest putting a pair of load resistors to simulate the motor. Test one output by a voltmeter across the load from out1 to out 2. With ena low, there should be no voltage reading (<.2v) from out1 to out2 regardless of the state of in1 and in2. When in1 and in2 are in oposite logic states you should read your power supply voltage minus a couple of volts, reversing the opposite states on in1 and in2 should reverse the polarity of the voltage reading. For example if you motor supply voltage is 20, in one state I would expect approximately 18V the opposite state it would switch to -18V.

Phil

p.s. we have a single sided pcb available here:
layout: http://webpages.charter.net/pminmo/L297_8board.pdf
Schematic: http://webpages.charter.net/pminmo/L297_8schematic.pdf
Copper for pcb: http://webpages.charter.net/pminmo/L297_8copper.pdf

The pcb is for toner transfer home brew pcb's
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-27-2004, 10:54 AM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road

Phil

Thank you for your answer.

I had remove L297 from the circuit, then I am going to check if my schematic is the same you mentioned and will make the test.
Raul
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-28-2004, 11:27 AM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road

Phil
I have remove the L297 from the circuit and checked the power, the ground and the +5V control voltage in the L298.
When In1 and In2 were in opposite logic states and EnaA high, no tension is reading between out 1 and out2. The same thing happens with In3, In4 and EnaB.

I work with a power voltage of 25 volts with a load of 15 ohms in the outputs.

I have changed several L298 thinking they were burnt and, if this is so, I do not understand why it happens. I am lost.

Raúl
Tweet this Post!Share on Facebook
Reply With Quote

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

with no power applied, measure the resistance between in1 and in2 with no 15 ohm resistor.

Phil
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-29-2004, 08:05 AM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road

Phil
The measured resistance between in1 and in2 (pin 5 and 7). It is >10 Megaohm. The same thing happen between in3 and in4 (13 and 14), out1 and out2 (2 and 3) and out3 and out4 (13 and 14).

Raúl
Tweet this Post!Share on Facebook
Reply With Quote

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

Ok,
Make you measurements on the pins of the 298 directly. No power applied, assuming the multiwatt package:
1. Measure resistance between pin 15 and pin 1. should be low resistance < 5ohms
2. Measure resistance from pin 15 to pin 8. should be low resistance < 2ohms
3. Measure resistance from pin 1 to pin 8. should be low resistance < 2ohms
With power:
4. Measure dc volts at pin 9 to pin 8(negative) should be 5.
5. Measure dc volts at pin 4 to pin 8, should be 25.

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-30-2004, 07:39 AM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road

All the readings are OK

Raúl
Tweet this Post!Share on Facebook
Reply With Quote

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

With power applied, no load on the out1 or out 2 lines.
1. Jumper in1 and ena to 5v out 1 should be (S/B) approximately 24vdc to pin 8.
2. Leave ena to 5v and jumper in1 to gnd, out1 s/b less than 2V to pin 8.
3. Jumper in1 and ena to 5v out 2 should be (S/B) approximately 24vdc to pin 8.
4. Leave ena to 5v and jumper in1 to gnd, out2 s/b less than 2V to pin 8.
5. Jumper in3 and enb to 5v out 3 should be (S/B) approximately 24vdc to pin 8.
6. Leave enb to 5v and jumper in3 to gnd, out3 s/b less than 2V to pin 8.
7. Jumper in4 and enb to 5v out4 should be (S/B) approximately 24vdc to pin 8.
8. Leave enb to 5v and jumper in4 to gnd, out4 s/b less than 2V to pin 8.

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-31-2004, 08:28 AM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road

In all the cases the outputs were between 0.6 to 1.5 volts, but it seems there are “floting” outputs, because the values are changing permanently.. The voltage between out 1 and 2 and between 3 and 4 is always, is in all the cases between 0 and 1.6 volts.

I read the applied voltage in the pins. There are no doubts they were applied.

L298 is just e little bit warm.

Raúl
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-31-2004, 05:03 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Raul,
I'm starting to be baffled. Do you have a schematic of the circuit you built? How about a digital picture of your board?

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 11-01-2004, 07:56 AM
 
Join Date: Oct 2004
Location: Argentina
Posts: 23
ragrillo is on a distinguished road

Phil
I am sending a doc, where I pasted the schematic of the circuit I built. I am sending a zip file with an Autocad drawing with the schematic, and a PCB of my board. In the schematic, the upper right corner is just a set of optically coupled isolators to avoid noises in the microprocessor board.
There is a light difference between the PCB and the Dwg. files. The actual board is like the schematic.
I hope yuo can open this files.

Raúl
Attached Files
File Type: doc Schematic_ragrillo.doc‎ (106.0 KB, 267 views)
File Type: zip Troubles_L297_8.zip‎ (40.6 KB, 211 views)
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
CAD Troubles Blackhawk General CAM Discussion 27 06-11-2005 11:13 PM
Help to manage L297/L298 chips ragrillo Stepper Motors and Drives 1 10-25-2004 04:43 PM
Belt drive troubles JFettig Benchtop Machines 17 03-26-2004 08:47 AM




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