Hello Guest it is November 28, 2021, 04:59:31 PM

Author Topic: Connection of Mach3 to TB6600 Drivers  (Read 7114 times)

0 Members and 1 Guest are viewing this topic.

Connection of Mach3 to TB6600 Drivers
« on: September 23, 2017, 07:52:42 AM »
Hi, Thanks for allowing me to join forum, I am new to CNC but experienced in Electronics and Computers, I am building a CNC Machine based on a NYC CNC Project but a bit higher spec Using Mach3 driving a BOB and 4 TB6600 stepper Drivers to 2 x "X" axis, "Y" axis and "Z" axis and a spindle motor working on the PWM port of driver board.
My Stepper motor power source is 24 volts.

The first quiry I have is the Stepper drivers, I am using Nema 17 for X and Y motion but there are 2 settings on TB6600 2/A 400 steps or 2/B 400 steps, which one do I select, also the motor Rating is 1.68amps/Phase so I selected 1.5 amp switch, for the  Z axis I am using Nema 23 which has 1.8deg so 200 steps and set to 3 amp.

My other concern is reading different forums its a little worrying to find Stepper drivers are burning out so is there something I can do to protect this.

Also the BOB has the USB supply from the Computer which is running quite a few things i.e Limit switches, and the PUL+, DIR+ and ENA+ is there enough power being supplied by PC to power all these things as standard USB 2 will only supply 400ma.

Most grateful for any advise
Regards John
Re: Connection of Mach3 to TB6600 Drivers
« Reply #1 on: September 23, 2017, 02:11:33 PM »
Hi,
you have the opportunity to set full or half step. In full step mode 200 pulses are required to drive a motor one revolution, in
half step mode 400 pulses are required.

Those drivers blow up a lot. If you don't want that to happen DON'T power them up! When you get sick of replacing them have a look
at Gecko drivers, expensive but you only ever have to buy them once.

Craig
My wife left with my best friend...
     and I miss him!

Offline Tweakie.CNC

*
  • *
  •  8,863 8,863
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Connection of Mach3 to TB6600 Drivers
« Reply #2 on: September 24, 2017, 03:53:34 AM »
Hi John,

Don’t be too disheartened – I have used quite a few of those TB6600 drivers in different projects and found them to be pretty reliable. OK, Gecko is better but use what you have until such time as you wish to move up.

For smooth CNC operation I would recommend that you use 1/8th microsteps (1600 steps per rev.) and or course, never exceed the motors specified current rating. Also don’t disconnect or connect a motor whilst the drive is powered-up.

I can’t answer the question about your BoB and driver’s current requirements with any certainty but I am not aware of anyone else finding the 400mA limit of USB2 ever causing a problem.

Which BoB are you using ?

Tweakie.
« Last Edit: September 24, 2017, 04:33:04 AM by Tweakie.CNC »
KEEP SAFE !
Re: Connection of Mach3 to TB6600 Drivers
« Reply #3 on: September 24, 2017, 06:52:40 AM »
Thanks for replies, I was having nightmares over 1st reply, but I have read quite a lot about does and does and don't, and like you say don't disconnect or unplug power source from motor while turned on and also I think I will ground all 0 volt lines to my case, I am using an old PC Desktop case to mount all drivers and Power supplies.
One thing I did find is from www.twovolt.com is a stepper driver schematic with Schottky Barrier Diodes to reduce spiking from motors I may experiment with this but not sure what the motor pulses look like so wont try with the TB6600 drivers.

The thought of buying Gecko Drivers is a no no at over £100 each would break the bank as I am retired and just using as a hobby.

Thanks for reply

Regards John 

Offline Tweakie.CNC

*
  • *
  •  8,863 8,863
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Connection of Mach3 to TB6600 Drivers
« Reply #4 on: September 24, 2017, 07:16:56 AM »
Hi John,

I suggest you do not ground 0Volts to case unless you have established that you will not create any GND loops. Your case should be connected to protective Earth and (depending on your configuration) 0Volts is often connected to GND by the electronics of the BoB or drivers.
GND and Earth should really be treated as two different circuits.

Just a thought.

Tweakie.
« Last Edit: September 24, 2017, 07:20:48 AM by Tweakie.CNC »
KEEP SAFE !
Re: Connection of Mach3 to TB6600 Drivers
« Reply #5 on: September 24, 2017, 07:22:27 AM »
Hi John,
the extra diodes only double up whats already inside the IC. The diodes shown are schottcky and so have a lower forward voltage drop and ultra fast
reverse recovery which may help. As tweakie says they do work and are cheap, even if you do ping one is it the end of the world?

What puts these drivers under real stress and in fact ALL divers is when a motor overruns on deceleration. So you have the motor singing away
at 1000 rpm and you want to stop....and for CNC purposes with as high deceleration as you can, the motor now becomes a generator and power
flows back to the driver IC and into the DC link capacitors of your power supply. If the voltage exceeds the breakdown voltage the switching devices
in the IC go into second breakdown with consequences for reliability.

As I say ALL motor drivers have to accommodate this problem, it just plain physics. You may have seen 'braking resistors' which are sold as an add-on
for VFDs, all they are is a place to dump the extra energy under intense deceleration and try to stop the DC link voltage going thru the roof.

Craig
My wife left with my best friend...
     and I miss him!
Re: Connection of Mach3 to TB6600 Drivers
« Reply #6 on: September 24, 2017, 08:30:26 AM »
Hi John,
if you wish to try to protect your driver from over voltage excursions as a result of deceleration try something like this...
It goes across your 24V supply, when the MOSFET turns on it loads the supply with the 10ohm resistor to absorb the
energy of the excursion. Obviously the 10ohm resistor has to be grunty, I would recommend 100W

The op amp is just a comparator, when the 24V zener starts to conduct a few mA then it will turn the gate of the MOSFET on.

This is broadly the same idea used in VDFs and servo drives, of course the DC link voltages are likely to be 320V for single phase
or 580V three phase rather than 24V as here.

Craig
My wife left with my best friend...
     and I miss him!
Re: Connection of Mach3 to TB6600 Drivers
« Reply #7 on: September 24, 2017, 09:16:25 AM »
Thanks for input, I know what you mean about Earth loops I did go round all case and remove any earth connections, the PSU GRN I will take directly so nearest point of socket, I did have an earth connection inside a TB6600 but after I took apart it disappeared,
I take it I need to connect both 0 volt lines of the 2 power supplies larger one is connected TB6600 and the small is the spindle supply which at the moment don't have a connected 0 volts the only other issue I have is the PC power supply I am using for BOB 12 volt supply and a few misc items but this supply is earthed inside the case.

Many thanks for help

Regards John

Offline Tweakie.CNC

*
  • *
  •  8,863 8,863
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Connection of Mach3 to TB6600 Drivers
« Reply #8 on: September 24, 2017, 11:13:48 AM »
Quote
I take it I need to connect both 0 volt lines of the 2 power supplies

In my opinion - Yes.

Tweakie.
KEEP SAFE !
Re: Connection of Mach3 to TB6600 Drivers
« Reply #9 on: September 24, 2017, 02:00:42 PM »
Thanks for all comments this has been very useful, I got to finish the Bed yet bit more wiring and tidy up, one problem I may have to fix is, I didn't realize the weight of "Z" axis assembly so may have to change to supported bar,  think I have a deflection of about 0.5mm on the "X" axis in the middle, more expense LOL

I will post when we are up and running, fingers crossed.

Regards John