585,759 active members*
3,910 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > How I fixed my Chinese TB6560 controller (updated)
Results 1 to 20 of 900

Threaded View

  1. #1
    Join Date
    Aug 2010
    Posts
    0

    How I fixed my Chinese TB6560 controller (updated)

    I purchased a 4-axis controller base on the Toshiba TB6560 Driver IC from a Hong Kong vendor thru e.b.a.y. Although the board could be made to function by setting all parameters to low / relaxed / lame, I decided to find out why the controller greatly underperformed as compared to what the TB6560 IC specification implied.

    Performance issues of MY board:
    - required maximum (slow) timing settings in EMC2 to work without missing steps
    - could be made to work at 12v but not 24v without missing steps
    - would work with drive current set to minimum (25%) otherwise motors would miss steps
    - at working controller settings, rapids weren't rapid...

    All of these factors suggested a noise problem in the circuit (faster timings = less noise margin, higher drive voltage = more switching noise, higher drive current = more switching noise, rapid rapids = more switching noise).

    Disclaimer: The information here pertains to MY TB6560 board which may not be the same as YOUR TB6560 board. Use the information here in at your own risk. I accept no responsibility as to the application of this information to YOUR board. However, the information is believed to be correct and does seem to have completely fixed MY board.

    A schematic did not ship with my board. Another e.b.a.y. customer had requested the schematic from the my vendor, but the vendor response was "we dont do that". So I developed my own schematic based on inspecting and measuring MY board. See attached.

    Seven issues were identified with the design on MY board:

    1) Driver IC CLOCK input improperly driven: The TB6560 uses the rising edge of the CLOCK input (not explicitly called out in IC spec except for “rising edge” symbol shown in one table). The slow turn off time of the opto-coupler combined with the passive pull-up resistor are insufficient and allow system noise to cause unstable driver circuit operation. ( I measured a rise time with and oscilliscope of app 50uSec on my board.) Solution: Actively drive the CLOCK input using added 74HC14 IC as buffer.

    2) Driver IC ENABLE input improperly driven: The opto-coupler for the ENABLE input is wired incorrectly having the npn emitter connected to supply. Although the circuit does function, the improper wiring of the npn will cause very low transistor gain opening the possibility of system noise corrupting the ENABLE signal. Solution: Rewire the npn of the opto-coupler with collector to supply and emitter to output.

    3) Drive Current Manipulated by CLOCK/STEP signal: It appears that an attempt was made to implement a feature where the driver would reduce current to the stepper motors when the motors were idle. This was accomplished by pulling the drive current set input low when the CLOCK signal was active high. And although the feature does work for drive current settings of 25% and 50%, the implementation has negative side effects that outweigh the feature usefulness:
    - the feature departs from the reference design of the TB6560 spec resulting in the spec no longer accurately describing operation
    - motors may be overdriven with higher than programmed drive current
    - artificially raises the lowest current motor that the controller board can safely drive
    Solution: Disconnect the non-spec circuit.

    4) Activity LED improper function: The activity LED circuit works properly when the STEP signal from the PC has high duty cycle (active low orientation). However, the TB6560 spec directly states that proper operation requires low CLOCK (e.g., STEP) signal duty cycle (or active high orientation). With active high orientation signal the activity LED remains lit even when the driver is not being ‘stepped’. Solution: None. Ignore the LEDs.

    5) Potential for Overheating of 12V Voltage Regulator: The cooling fan is fed directly from the 12V Vreg output adding significantly to the loading of the device. The 12V Vreg will shut down if it overheats protecting itself; such a shutdown would result in lost steps of an active motor. Solution: Power the cooling fan with an external supply or (with suitable step down circuit) from the stepper motor supply voltage directly. With the fan connected to the 12v Vreg the heatsink temperature was 155 F, disconnecting the fan and waiting 5 minutes, the 12V Vreg heatsink temp dropped to 125 F.

    6) System Not Optically Isolated: Despite having opto-couplers on all PC inputs and output, the controller does not properly implement optical isolation of the PC from the driver IC’s nor from the stepper motor power supply. This is due to sharing of ground among all circuits. Solution: None. However, do assure PC and stepper motor power supply externally share the same earth ground.

    7) Operating Voltage Mis-information: The board is marked for input voltage “12v to 36v” but the IC spec indicates maximum operating voltage of 34V. But even that is probably not a safe operating point due to potential stepper motor generated voltage spikes. The controller board output diodes will clamp large overvoltage spikes when the diode breakdown voltage is reached, but the breakdown voltage is likely above the maximum voltage the driver IC can sustain without damage. Solution: Recommend limiting input voltage to 30v or less to provide margin of safety for operation.

    Update: Immediately after posting the fixes, it occurred to me that it would be better to buffer the CLOCK/STEP signals with 1 74HC14 inverter instead of 2 :
    - allows the 'activity LEDs' to work (using 1 inverter and setting software to invert the clock)
    - allows 1 IC to 'fix' a 4 or 5 axis board instead of needing 2 IC's
    - simpler to wire
    See attachment slide10ver2.jpg for updated fix. I tested this morning and works fine.
    Attached Thumbnails Attached Thumbnails cntr_top.jpg   cntr_bot.jpg   bufbrdmntd.jpg   Slide09.JPG  

    Slide10ver2.jpg   step_waveform.jpg  
    Attached Files Attached Files

Similar Threads

  1. Chinese 3 Axis TB6560 & 300oz @ 24V too slow and not enough power
    By KallDall in forum Stepper Motors / Drives
    Replies: 12
    Last Post: 09-28-2016, 06:20 PM
  2. New (red version) of TB6560 chinese driver board
    By hspalm in forum Stepper Motors / Drives
    Replies: 19
    Last Post: 02-23-2014, 01:34 AM
  3. soc-robotics MK4cp OR chinese TB6560 driver
    By 24ariel3 in forum Stepper Motors / Drives
    Replies: 2
    Last Post: 04-09-2013, 04:24 AM
  4. Maximum Voltage with Chinese TB6560
    By riphet in forum Stepper Motors / Drives
    Replies: 9
    Last Post: 10-16-2012, 05:29 AM
  5. Just got my updated super Pid controller
    By msimpson99 in forum DIY CNC Router Table Machines
    Replies: 13
    Last Post: 12-22-2010, 10:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •