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 04-06-2010, 10:48 PM
 
Join Date: Dec 2009
Location: US
Posts: 2
y2kiah is on a distinguished road
TB6560 timings EMC2

I cannot seem to find any information about proper timings for the cheapo 3-axis TB6560 driver board that I'm running. Started out default timings of 5000ns, 5000, 20000, 20000 (Step Time, Step Space, Direction Hold, Direction Setup).

The motors ran very choppy, so I upped the step time to 6000 and that got the motors running more smoothly. Currently I've tweaked the timings to 6000, 2000, 10000, 10000. Looking at the values for the built-in list of drivers, I see such a huge variation that I'm not at all satisfied with what I have, and further tweaking would take a long time to even notice a difference. I'm not even sure if lower values are necessarily "better" as I have been assuming.

Also, there is a lot of vibration in the motors currently, some times more than others, but occasionally it gets really bad, and I just know these motors can be run much smoother. Should I try micro stepping to resolve the vibration problem, or could this be a matter of fixing the timings?

Anyone with this driver chip found good settings that work well? Any help would be appreciated.
Reply With Quote

  #2   Ban this user!
Old 04-07-2010, 06:35 AM
 
Join Date: Nov 2009
Location: USA
Posts: 113
pfred2 is on a distinguished road

I don't have my TB6560AHQs yet but I have been studying this a lot lately:
http://www.toshiba.com/taec/componen.../382/27885.pdf

I don't know what your board allows you to adjust, but just the ICs have a lot of different ways of setting them. M1, M2, and DCY1, DCY2 seem to be the critical adjustments to me looking at the data sheet. It may be best not to try to switch those while the device is enabled.

I also found this interesting as well:
http://www.glyn.de/data/glyn/media/d..._en_090324.pdf

Reading many horror stories about people trying to use this hardware leads me to believe that lots of people are doing things wrong. Popular opinion is that one should not apply any more than 24VDC to these ICs or try to drive a motor any more than 1.75 Amps per phase either. No matter what claims have been made about the product! I know all about the 36V 3 amps but I don't believe it for a minute. Maybe with extreme care the amps per phase can be increased slightly, but I doubt it as of now. I bought a few to blow up though so I'll find out.

In a few weeks I will know much more definitively about this component myself. I've more resources than most do to figure out how to use these devices.

First draft of my test circuit:
http://img519.imageshack.us/img519/237/tb65601.png

If you're running EMC2 come hang out on the IRC channel I usually make it in there after 6PM EST myself. #emc on irc.freenode.net More information here:
http://www.linuxcnc.org/content/view/4/8/lang,en/
Reply With Quote

  #3   Ban this user!
Old 04-07-2010, 07:46 AM
 
Join Date: Dec 2009
Location: US
Posts: 2
y2kiah is on a distinguished road

thanks pfred2, yeah I've already set up the decay and current with the dip switches on the board itself, running it on 24V, lowest current.
Here is my first video
YouTube- Home built CNC machine first test
I'm really mostly concerned with the timings for the driver to be entered into the EMC2 stepconf wizard. I browsed through the TB6560 datasheet and did not find anything relevant there (maybe I missed it though...) and if it's not there, I'm not sure where it would be. Someone who has tweaked the timings of this board might come along and help us both out.

I would love to reduce the vibration of these motors to as low as possible. I might have to try microstepping, I read in another post that it can smooth out the motors, but I would still like proper timings.
Reply With Quote

  #4   Ban this user!
Old 04-07-2010, 02:28 PM
 
Join Date: Nov 2009
Location: USA
Posts: 113
pfred2 is on a distinguished road

In the datasheet under "Electrical Characteristics" it says:
Minimum clock pulse width C = 330 pF 30 uS (the C in question here is the C hooked up to pin #7 OSC on the TB6560AHQ)

Now I think EMC2 uses ns so you're going to have to convert X 1,000 but I'm bad at math and my memory isn't always super accurate either so you'd better double check that! You can also use a C there in a range of 100-1000pF. See section 8 of the datasheet.

My TB6065AHQs haven't arrived yet but I am excited to try some microstepping with them myself. With microstepping the value of C can play a factor in top motor speeds.

Forgetting about stepper motors for a moment the smaller you slice up time on your PC the less time you have for other threads on your system. So, your best timing is the slowest you can get away with and still get the speed out of your motors you need for your machine. That 30 us example was a "minimum" timing. Everything is a trade off. The only real question that remains is just how fast do you actually want to spin your lead screw? Longer timings are better, unless it doesn't allow you to run fast enough.

I think if you switch to microstepping to reduce resonance you should run smoother than with full step sequencing.

Other possible causes for rough stepper operation would include, but are not limited to, noisy power supplies (some switching supplies aren't the best), noise in a stepper drive circuit (drive crosstalk), weak power supplies, weak step or direction control signals (some ports aren't too swift either), sunspots ...

Anyhow good luck.
Reply With Quote

  #5   Ban this user!
Old 07-04-2010, 01:08 PM
 
Join Date: May 2009
Location: UK
Posts: 1
ashfaqjuna is on a distinguished road

Hello

I am new to cncs and this forum too.

I have a TB6560 based controller too with 3 axis.

the spindle is manually controlled

I will try out the settings and let you know.

BTW, I have tried this on MACH3 demo running on windows and the steppers run a lot smoother.

The settings given to me for mach 3 are as follows:

Steps per: 320

velocity 2000mm/min => 33.33 mm /s

acceleration : 300mm/s/s
Direction pulse: 5 us
step pulse 10us



does this give any ideas?

thanks

AShfaq
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-03-2011, 03:33 AM
 
Join Date: Jun 2009
Location: uk
Posts: 145
geekinesis is on a distinguished road
emc settings

I have tried the settings you suggested with some success.

the power supply is 12v

I have 1.2 a steppers. I am setting the current on the board to .8 amp and - have set the decay dip switches to slow and - I have set the step dip switches to 1/16.

So far this is the quietest way of running the motors and the only noise is the motor (hiss) that others have reported.

I get not vibration at all with these settings and smooth quiet operation.

I can set the current to the motors rated 1.2 a but then the vibrations are more audible again. I am using the board with a laser so holding torque isnt an issue.

My only thought is if I am harming the motors or potentially the board by under powering the motors?
__________________
rabbit / ls3040
Reply With Quote

  #7   Ban this user!
Old 04-29-2011, 12:10 PM
 
Join Date: Apr 2011
Location: USA
Posts: 46
hazardouschurch is on a distinguished road
Buy me a Beer?
emc2 and TB6560 driver

Try this link and set up similar to his machine. This got my motors turning his machine is a 7' by7'. You can change the size to your machine and be able to have moderate speeds with his setup. Its a good staring point to set up emc2 for the driver. My motors had some vibrations but not enough to hurt anything once in the machine.

Morgan's EMC2 Config for TB6560 driver - Zen_Toolworks_Wiki
Reply With Quote

  #8   Ban this user!
Old 05-22-2011, 09:41 AM
 
Join Date: Jun 2010
Location: USA
Posts: 21
Tom_M is on a distinguished road

I bought this board on ebay and am having troubles. Wondering if anyone can help.

Tried both 12V 20A and 24 volt 10A supplies.
All LEDS on board light up, and stepper motors lock.
No commands from Mach3 Jog will move any axis.
Motors are NEMA 23 5V 1,2 A. All seem good from reading the coil resistance.
I can spin the motors by using the manual pins on the 15 pin D connector.
I tried for 2 days playing with all the Mach3 settings. Timing, pin assignment, safety limit pin settings..... nothing.
The seller from whom I got the board from included a xml file of specific settings for Mach3, and a video of MY BOARD working. So as of now I'm still of thinking the board is operational, but I'm overlooking some computer/software setting.

I can devote another couple days to this before I get fed up and toss it into the bin-lol.

Thanks,
Tom
www. thelasercutter.com
Reply With Quote

  #9   Ban this user!
Old 05-22-2011, 11:27 AM
 
Join Date: Apr 2011
Location: USA
Posts: 46
hazardouschurch is on a distinguished road
Buy me a Beer?

The board is also known as HY-TB3DV-M. Try the link it is the manuel and has detailed instructions on how to set up in Mach 3. If this doesn't work i would try ubuntu with EMC2 but that is just me. Use the link in the previous post for EMC2. I found it Easier to just go with linux but then agin my drafting soft ware is on a different computer a mac with parallels and XP.

Good luck i hope you find your problem
Hazardouschurch

http://fozztexx.com/CNC/HY-TB3DV-M_3Axis_Driver.pdf
Reply With Quote

  #10   Ban this user!
Old 05-22-2011, 12:10 PM
 
Join Date: Jun 2010
Location: USA
Posts: 21
Tom_M is on a distinguished road

I feel like a fool, but at least a happy one.
Change the parallel port address on Mach3 and everything spins!!
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-09-2011, 12:04 PM
 
Join Date: Oct 2011
Location: United States
Posts: 12
sport537 is on a distinguished road

I have my emc2 config for the tb6560 board set up like the Morgans EMC2 Config on zentoolworks. When testing each axis i receive the following error:

Stepconf encountered an error. The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/stepconf", line 1914, in update_axis_params
halrun.flush()
IOError: [Errno 32] Broken pipe

Any ideas on how to fix this?

thanks-KM
Reply With Quote

  #12   Ban this user!
Old 10-09-2011, 12:29 PM
 
Join Date: Apr 2011
Location: USA
Posts: 46
hazardouschurch is on a distinguished road
Buy me a Beer?

how were you testing it were you jogging the axis or running gcode?
Reply With Quote

Reply

Tags
cnc emc2 tb6560 stepper




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
need help with tb6560 board terryt General Electronics Discussion 94 03-14-2012 12:08 AM
need help with 3 AXIS (TB6560) CNC DRIVER BOARD Jason Miller General Electronics Discussion 34 01-06-2011 12:25 PM
TB6560 woes draktheas Stepper Motors and Drives 0 03-28-2010 10:08 AM
4 Axis TB6560 (compatable) Zygoat Stepper Motors and Drives 3 03-01-2010 02:51 AM
Timings Pulleys and belts mocnc Mechanical Calculations/Engineering Design 6 12-30-2004 12:13 AM




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