. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Doddy View Post
    Andy,

    I think you understand a fair bit on the old electronic side. I was casually browsing this thread and one thing is niggling me. Opto isolators typically have a low CTR - usually significantly less than 1, often less than 0.5. That does mean that cascading optos is going to end (eventually, depending on CTR and number of optos in chain) with the latter optos not switching effectively. Really, the opto should be switching a high-z logic device rather than the relatively high current LED input on the successive circuit.

    You link a rating of the output at 100mA - that /could/ just be the Ice(max) for the PT in the opto, rather than an actual expected switching current (reading the 4n25 data sheet this is the case).

    I'm not suggesting this is your problem, but bear it in mind and measure the switching voltages along the opto-cascade,
    Hi Doddy,

    Thanks - that is quite high praise, but I'm still very much stumbling my way around so don't assume too much!

    I hadn't really considered the CTRs of the optoisolators, however is this relevant if I'm effectively connecting each drive in parallel with oneanother? My intuition is only really concerned about the fact that I have the Optoisolator from the drive, and then the one in the OSSD output which as I understand is effectively acting as a transistor to ground. Upstream of the drive is merely the current limiting resistors and the +24V rail. My ~40mA came from the sum of 10mA per drive based on the current limiting resistors, and if the CTR<1 then I shouldn't have damaged anything staying under 70mA.

    I suspect I've totally missed the point here though :) Please educate me further!

  2. #2
    Doddy's Avatar
    Lives in Preston, United Kingdom. Last Activity: 3 Weeks Ago Has been a member for 9-10 years. Has a total post count of 1,364. Received thanks 188 times, giving thanks to others 66 times. Referred 1 members to the community.
    Quote Originally Posted by AndyUK View Post
    I suspect I've totally missed the point here though :) Please educate me further!

    I'm trying not to mis-direct this thread (tangent?, what tangent...), but to explain my logic....

    If I redraw your schematic (lesson #1, "Eagle" is not good for this)

    Click image for larger version. 

Name:	Screenshot 2020-02-04 at 20.07.06.png 
Views:	4734 
Size:	44.5 KB 
ID:	27314

    and zoom into a bit of text that I torturously added

    Click image for larger version. 

Name:	Screenshot 2020-02-04 at 20.07.39.png 
Views:	4704 
Size:	60.9 KB 
ID:	27315

    If you /assume/ that the opto-isolator on the UB1 OSSD output has a forward current through the LED (I1) of 10mA (not unreasonable, and likely a design goal). Also, /assume/ the CTR is 0.5 for that device. That means that the switching current (Iossd) would be I1 * CTR = 5mA.

    Now, Kirchoff's law says basically that the sum of the currents at a node equals zero. So, if 5mA is flowing into the OSSD input, then the sum of currents through the 4 separate '806 drivers must also equal 5mA. Give them the benefit of the doubt and say that all '806's are created equal, then your forward current through each '806 LED is that 5mA, divided equally by 4, or 1.25mA. Not the 10mA that you believe you have. Then you're at the mercy of the circuit design in the '806 behind the internal opto-isolator. That 1.25mA is multiplied by the local CTR and further diminished. Also, the CTR is impacted by the forward current - it's less at 1.25mA than if driven by 10mA, and so the internal switched voltage swing is further diminished, and may, or may not impact on the performance of the ENA input.

    The bit of maths around Vossd is easily verified by yourself - measure the voltage, wrt ground, at the OSSD output when you have a fault condition. If the OSSD output was an ideal switch you'd expect it to be 0V. I expect it to be rather higher (calculated around 20V), based on the less-than-ideal switching behaviour of the opto-isolator (and if I have to correct my auto-correct for opto/onto once more....).

    I'm cautious of playing too much behind a calculator - measure the voltage yourself. Reality beats theory any day. The one thing that worries me about my theory is that I would expect the behaviour to be accurately described in the owner's manual of the UB1. And the manual doesn't describe my perceived behaviour - so I could be wrong here.

    I've tried to look online for a high-res image of the UB1 for information on the opto-isolator chosen - to no avail. If you can check and advise? It could be an intelligent selection of a device with an unusually high CTR. Pretty sure they are not buffered devices as they look to be 4-pin devices.


    EDIT:

    Here's an idea. Short the OSSD output to ground (or just the wire from the OSSD output). Either that will work as expected (inhibit each driver) or not. That's a quick way to fault-find the circuit.
    Last edited by Doddy; 04-02-2020 at 09:33 PM.

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


  4. #3
    Quote Originally Posted by Doddy View Post
    If I redraw your schematic (lesson #1, "Eagle" is not good for this)
    Sorry to side track Andy...

    Doddy have a look at Fusion 360, they've been working on updates for the PCB design side more recently, I don't know if schematic support is available as I haven't had time to explore just yet...Autodesk owning Eagle i'm now thinking probably not.
    Lee

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. BUILD LOG: 8x4 router build. Steel base & Aluminium gantry gantry
    By D-man in forum DIY Router Build Logs
    Replies: 57
    Last Post: 13-12-2019, 10:43 AM
  2. BUILD LOG: Build Log: 4'x4' Moving Gantry CNC Router
    By GeorgeW21 in forum DIY Router Build Logs
    Replies: 14
    Last Post: 20-01-2019, 09:33 AM
  3. BUILD LOG: Ar last!!! Started my Gantry 3-Axis CNC Build
    By MikeyC38 in forum DIY Router Build Logs
    Replies: 74
    Last Post: 16-06-2018, 11:29 PM
  4. Any sugestions how to build my gantry
    By masinecc in forum Gantry/Router Machines & Building
    Replies: 8
    Last Post: 20-09-2015, 05:17 PM
  5. BUILD LOG: Flying Gantry Build Diary
    By geoff.sim in forum DIY Router Build Logs
    Replies: 8
    Last Post: 29-05-2008, 02:53 AM

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
  •