Other TB6560 documentation:
http://www.semicon.toshiba.co.jp/doc..._en_090324.pdf mostly how to (not) make it smoke.
I've been reading the TB6560 driver chip data sheet.. you can find it here:
http://www.toshiba-components.com/mo...3_20080407.pdf
The interesting part to me is on page 28, where it says:
So... there are a couple of thoughts that come to mind after reading that:Power-on Sequence with Control Input Signals
Turn on VDD. Then, when the VDD voltage has stabilized, turn on VMA/B.
Hold the control input pins Low while turning on VDD and VMA/B.
(All the control input pins are internally pulled down.)
After VDD and VMA/B completely stabilizes at the rated voltages, the RESET and ENABLE pins can be set High. If this sequence is not properly followed, the IC may not operate correctly, or the IC and the peripheral parts may be damaged.
...
A power-off sequence should be the reverse of this sequence
First, has anyone ever seen that documented in the operating instructions for a TB6560 based driver? Like all those cheap ones from China and Hong Kong that are being sold on ebay.. do ANY of those say "um... by the way, don't turn on the motor power until after the logic voltage is up, and turn off the motor power before you shut down logic power."? Or do any of them have some magical circuitry to prevent the motor power from coming on until after the logic supply has settled?
Secondly, how on earth would you even do that in a driver that depends on a separate power supply? Keeping the logic power on after motor power goes down isn't hard, the caps in the regulator circuit will do that, but the power up sequence is the trick. If you were building a complete system, and you could build two power supplies (one for logic supply and one for motor supply) and you built in a timing control that flips on the one first and then the other, then, yeah... that's possible. But if you just sell a driver, and you have the user hook up any old power supply for motor and logic without warning them... or you have an onboard +5 regulator to supply the logic power from the motor power supply... how do you set that up so it doesn't fry the chip?
I started off wondering why so many people who buy these crap TB6560 drivers end up frying the chip, and NOW, I'm wondering how any of them work at all!
http://www.cnczone.com/forums/genera...y_chinese.html
I started looking into this after reading:
http://www.cnczone.com/forums/genera...se-24.html#281 so I'm not the only one who has noticed this problem...
I'd honestly like to hear if there is a good electronic solution to that problem. I'm not an analog electronics expert, or a power systems designer by any means. Maybe there is some way of doing this power up sequence with ONE power supply that I've not heard of?
The capacitors and current limiting in a standard +5 voltage regulation circuit pretty much guarantee that it will come up to +5 volts slower than it's supply voltage turns on. I guess you could add a great huge power resistor between the motor supply and the chip and put a great huge high voltage capacitor right there so it also comes up slower but A) high wattage resistors and high voltage high value caps are expensive and B) you would loose supply power due to the resistor. That's why people didn't like the old style of linear supplies.
Another obvious idea would be a relay, but then you are controlling an inductive load and as soon as the relay breaks, you are going to get a nice healthy back EMF spike which will kill the chip anyway. (Datasheet, page 32, point 3).
I guess you could hook your motor power supply INPUT up to a relay... but then you need a separate supply for logic power again...
Bottom line: TB6560 = 2 separate power supplies and the first one has to turn on the second one after a time delay. OR... it's going to fry eventually. No?
Last edited by James Newton; 10-27-2011 at 11:04 AM. Reason: typos and power down clarification.
Other TB6560 documentation:
http://www.semicon.toshiba.co.jp/doc..._en_090324.pdf mostly how to (not) make it smoke.
I had a brief discussion of the power sequencing topic with another cnczone poster a few months back - he was building his own driver board based on the TB6560.
I don't remember how he decided to handle it, but maybe I can find that thread.
I thought about uaing the spindle relay to do the power sequencing.
I want to connect the regulators directly to power source, tb6560 motor power switched by relay and relay coil to the 12V regulator.
In this way the motor power will be switched on after 12V regulator output has reached a reasonable value.
A 100ohm resistor in parallel should be useful to prevent power spikes on the relay contacts (the dissipations shouldn't be a problem given the limited amounth of time it will be off).
The discussion about a DIY TB6560 controller starts with post #56 in the following thread:
http://www.cnczone.com/forums/diy-cn...cb_mill-2.html
I raised the issue of startup timing in post #58, and the OP mmcp42 alluded to it in at least posts #59 and #60. I'm not sure that any definitive resolution of the issue was arrived at, though.
Right, I'd thought of that as well... it does mean you can't jog or move the axis until the spindle is running...
Not sure where you are getting 12V from... is that the logic supply voltage for your driver? I guess the board itself regulates that down to 5V?
Keep in mind, if you just switch the OUTPUT of the motor power supply, you will kill the drivers via back EMF when you power down. You MUST switch the INPUT to the power supply, and have a separate logic power supply.
Well... I'm not an analog / power engineer, but I'm pretty sure that will not prevent the back EMF kick.
James hosts the single best wiki page about steppers for CNC hobbyists on the net:
http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)
James hosts the single best wiki page about steppers for CNC hobbyists on the net:
http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)
The relay will not be managed by spindle output. It's coil will be connected directly to the 12v regulator onboard.
The emf will be handled by the diodes at tb's outputs(togheter with the tb6560's internals). I only need to revise the topology of the supply diodes to better cope with them.
I'll post a schematic as soon as i'll found a couple of free minutes.
Last edited by ToshiroTamigi; 10-28-2011 at 01:52 AM.
Mariss Freimanis posted this on another thread but I wanted to quote it here because A) it's brilliant (as usual) and B) it points out exactly what (I think) happened with the TB6560:
The TB6560 is a perfect example of #1 above (not to mention #3 and #4 as well). This thing was designed to be used in a /system/ where the power supply sequence was carefully controlled. It obviously had a logic power supply, and a microcontroller that would fire up, hold the chip in reset, THEN enable the motor power supply and complete the power up sequence with the TB6560 control lines. Easy when you are designing a complete system, quite difficult when you are designing a separate stepper driver.
James hosts the single best wiki page about steppers for CNC hobbyists on the net:
http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)
My experience with the 6560 failing is the quality of VMA and VMB at the chip leg itself. However, if a design is just thrown together not taking into consideration proper power supply timing for power up and power down, that will be an issue as well.
As to the Mariss post, some points are valid, some are Gecko sales oriented. I'm sure STmicro engineers would take issue with him....
In general though, monolythic stepper ICs are geared to consumer products, specifically printers. CNC usage is not why they are designed, but some of the chips work fine for hobby machines.
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Hey Phil, thanks for taking the time to reply. Could I ask for a tad more information? What do you mean by "quality"? Things like kick back? wire coming loose? Spikes? Over-voltage?
James hosts the single best wiki page about steppers for CNC hobbyists on the net:
http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)