. .
Page 1 of 2 12 LastLast
  1. #1
    For better, for worse, I've been trying to sort problems with my mill (heavily modded Denford Starmill), lately rebuilding the control cabinet from scratch. For reference, I'm using a cheap Chinese Ethernet motion controller (NVEM 5-axis) and the TB6600-based HY-DIV268N-5A controllers, with 40V/600VA drive supply.

    Part of the reason for the rebuild was cosmetic, but I was concious that pre-rebuild I suffered occasional skipped steps; post-rebuild (and the introduction of the HY-DIVs) I was getting substantially more missed steps.

    The obvious solutions - replace the PSU and stepper drivers, but that's £300 in anyone's money for 4-axis so I thought it worth having a look at what's actually going on.

    Firstly, the NVEM controller manual suggests feeding the stepper driver from a constant +5V and switched pulse/direction lines (-ve going). The steppers were losing about 50% of all pulses and the steppers sounded awful.

    Measuring the actual signalling the pulse/direction lines were positive-going pulses vs common ground. Rewired for this and the situation was much improved, but still losing a random number of steps (example was on 4th axis, running 0-90 degrees I'd lose 3-8 degrees, clearly still useless). The improvement, however, got me wondering about the stepper driver's opto-isolated inputs and whether these were struggling with saturation of the photo transistor and/or switching speeds.

    Now, scoping the signals from the NVEM controller, the step pulses were 2.25us in length. Tearing one HY-DIV apart and examining the circuit revealed the inputs for step/direction were based on 4N25 opto-isolators. Now, these are not exactly fast devices, with the datasheet quoting an optimal rise/fall times in the order of 2-3us (depending on configuration and manufacturer) and supply voltage across the phototransistor. Throwing a scope on the transistor-side of the opto-isolator showed poor transfer performance (and, accidentally touching the base-connection of the transistor miraculously improved the stepper performance greatly. That was enough to make me think hard about whether my problems were due to the short pulse period from the motion controller.

    Now, with a normal parallel BOB you can tweak the pulse width, but not with this cheap motion controller.

    So, one idea - if people are losing steps with these drivers, try increasing the pulse-width to 5us to see if this improves your situation.

    For me, though, I was starting to think of solutions such as pulse stretcher (hint: Do NOT search for that term on eBay, especially if at work. Sometimes I wonder how innocent and naive I am).

    However, another solution presented itself. The TB6600 is capable of stepping with 2us pulses, so all I needed was a faster opto-isolator. Problem is, they're like hens-teeth to find.

    Instead, I came across the 6N137 device. This is a logic-level high speed buffer device. It's 8 pin DIL, compared to the 6 pin DIL 4N25, but pin compatible if you sit the device 2-1, 3-2, 4-3, 5-4, 6-5, 7-5 on the pads for the 4N25, and you then only have to source a +supply for the pin 8. Don't worry, a picture later will make that clear.

    One other problem exists, that the driver had a 51k resistor from the opto-isolator's transistor's base to 0V. This pin on the 6N137 is the enable input, and needs to be floating, or pulled high for the 6N137 to work properly. Simple solution - remove the resistor.

    So, for example,

    Click image for larger version. 

Name:	IMG_1743.jpg 
Views:	3039 
Size:	307.1 KB 
ID:	22107

    Here, you can see that I've remove the 2 6-pin Opto Isolators (lower-right) and the two base-pulldown resistors (just above each opto isolator). I've soldered in 2x3 pin SIL headers for each opto-isolator to accept the replacement 6N137s.

    Click image for larger version. 

Name:	IMG_1744.jpg 
Views:	2274 
Size:	285.8 KB 
ID:	22108

    Here, I've inserted the 6N137's, bending pins 1&8 away from the PCB (no holes for these). Pin 1 is N/C, pin 8 is +5V. Also, according to the datasheet the 6N137 requires a 100nF capacitor between VCC and ground (pin 5). So...

    Click image for larger version. 

Name:	IMG_1745.jpg 
Views:	2513 
Size:	329.4 KB 
ID:	22109

    I've strapped capacitors across the supply to the 6N137 and sourced a +5V supply from the SMD resistor near the TB6600.

    Reassembled the driver, and tested. A-Axis was perfect - responding to much quicker acceleration and max speed than previous and faultless in terms of lost steps. Tried one of the remaining drivers - back to the usual poor performance. So, an evening in the shed later and I've upgraded all 4 of the drivers and reassembled the cabinet. Operation is now perfect, as far as I've been able to test.

    So, lessons:

    1) Buy different stepper drivers.

    2) Or, if that's too late, start looking at just WHAT your problem is. Don't discount the pulse width from your controller.

    3) If you think you are losing steps and increasing the pulse-width doesn't help, have a look inside the stepper driver, and read the spec on the opto isolators on the step/dir inputs. If these are slower than your preset-able pulse-width then think about replacing them.

    I can't promise my solution for my problem fixes anyone else's but the solution above has given me what I think is solid performance for very little money.

    Happy to discuss further with anyone interested, this was a very brief description of my problem/solution.

    Mike
    Last edited by Doddy; 06-07-2017 at 09:22 PM.

  2. The Following User Says Thank You to Doddy For This Useful Post:


  3. #2
    Clive S's Avatar
    Lives in Marple Stockport, United Kingdom. Last Activity: 20 Hours Ago Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 3,333. Received thanks 618 times, giving thanks to others 78 times. Made a monetary donation to the upkeep of the community. Is a beta tester for Machinists Network features.
    Nice write up Mike looking forward to the next instalment
    Last edited by Clive S; 06-07-2017 at 10:58 PM.
    ..Clive
    The more you know, The better you know, How little you know

  4. #3
    Nice work Mike good write up
    Building a CNC machine to make a better one since 2010 . . .
    MK1 (1st photo), MK2, MK3, MK4

  5. #4
    I have a problem with the HY-DIV268N-5A, the 2 Led's turn red with nothing but the power cables connected to it. I have a 48v 10A power supply. My other DQ860 MA driver work great from this power supply. Any suggestions?

  6. #5
    Well documented write up, well done!! any news on reliability I assume you have done more testing?


    edit: Ok I have purchased one of these as they are cheap as chips!!!!

    fully expecting that I have to mod it to make it into something more reliable!! but I have just opened it up after delivery and it has 6N137's fitted already (no caps across the supply pins though) - time for some testing.....

    earle


    Earle
    Last edited by Earle; 31-07-2017 at 02:02 PM.

  7. #6
    Quote Originally Posted by Earle View Post
    Well documented write up, well done!! any news on reliability I assume you have done more testing?


    edit: Ok I have purchased one of these as they are cheap as chips!!!!

    fully expecting that I have to mod it to make it into something more reliable!! but I have just opened it up after delivery and it has 6N137's fitted already (no caps across the supply pins though) - time for some testing.....

    earle


    Earle
    Sorry, I missed this, probably too late now. But, to answer your question re. reliability - yes, totally reliable now, although only just started using the machine again last night but managed to machine a face-plate for a project box without any problems.

  8. #7
    Quote Originally Posted by darius12 View Post
    I have a problem with the HY-DIV268N-5A, the 2 Led's turn red with nothing but the power cables connected to it. I have a 48v 10A power supply. My other DQ860 MA driver work great from this power supply. Any suggestions?
    Hello Darius, I have exactly the same problem with the same driver that I bought 2 days ago. Did you find a solution ? Where you able to solve that problem ? Thx.

  9. #8
    Hi,

    I'm also using TB6600 based controllers... these super-cheap ones:
    Click image for larger version. 

Name:	s-l1600.jpg 
Views:	586 
Size:	117.2 KB 
ID:	23660
    and they're fine apart from after about 10 minutes any of X/Y axes will die, all indicator lights off on driver, until I power cycle it. They don't seem very warm and they don't auto-recover as you might expect if it were overheating. It's perhaps too different from your circuit but maybe someone here recognises the problem.

    Over current? Totally dodgy circuit / waste of money?

    Any suggestions appreciated!

    (36v 15A power. driving fine using GRBLv1.1. Failed on highest power and the one down from that)

    Phil
    Last edited by davies46; 23-01-2018 at 01:38 AM.

  10. #9
    Phil,

    If you could remove the cover and take/post a photo of the circuit board I'd be interested in comparing. Only advice is - when reassembling only tighten the case screws lightly (the plastic mould form for the screw hole tends to float inside the case - so if you tighten the screws too much it will snap the plastic.

  11. #10
    Happily! Here it is:

    Click image for larger version. 

Name:	tb6600pcb.jpg 
Views:	1706 
Size:	268.6 KB 
ID:	23661

    the back showing the tiny chip:
    Click image for larger version. 

Name:	tb6600back.jpg 
Views:	1253 
Size:	209.3 KB 
ID:	23662

    and the block that sits on it (connected by some purple mat to the actual heatsink):
    Click image for larger version. 

Name:	tb6600hsink.jpg 
Views:	812 
Size:	176.8 KB 
ID:	23663

    I expected it to be like the 6560 in size! It's labelled S109AFTG - I've been sold a totally different board

    Click image for larger version. 

Name:	chip.jpg 
Views:	743 
Size:	160.2 KB 
ID:	23664

    OK looking into datasheet, the TSD and ISD modes on this chip require more than just disable/enable to recover, so it's probably one of those, and since it's happening towards the end of a job it's maybe pointing more towards TSD error. Will reset heatsinking and try again.

    OK, opened all the boxes, reduced clearance to heatsink and replaced foam pads with silicon grease. Heat sinks now getter hotter and no fail yet...

    -Phil
    Last edited by davies46; 23-01-2018 at 12:37 PM.

  12. The Following User Says Thank You to davies46 For This Useful Post:


Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. TB6600 vs. CW5045
    By eurikain in forum Motor Drivers & Controllers
    Replies: 0
    Last Post: 04-10-2015, 12:23 PM
  2. How hot do TB6600 drivers run normally ?
    By KevinK in forum Motor Drivers & Controllers
    Replies: 4
    Last Post: 20-09-2015, 03:50 PM
  3. Pcb-linear motion solutions
    By kyris31 in forum Gantry/Router Machines & Building
    Replies: 2
    Last Post: 20-02-2013, 10:14 AM
  4. The reason of noise of Engraving machine and solutions
    By Tomas in forum Machine Discussion
    Replies: 0
    Last Post: 26-08-2011, 10:41 AM
  5. Delcam Advanced Manufacturing Solutions
    By Andywarwick in forum Manufacturer News
    Replies: 0
    Last Post: 06-06-2011, 04:48 PM

Bookmarks

Posting Permissions

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