View my account

Issue with triggering D435 with external trigger

Comments

5 comments

  • MartyG

    Hi Johannes Rabe I have not seen a previous case of image flickering when using hardware sync with an external trigger pulse.

     

    You seem to be doing everything right in regard to your cabling, settings and the width of the trigger pulse (50 when using a master camera, 100 or more when using an external trigger).

     

    The frame counter error can indicate that an ESD charge is building up in the sync cable and then being discharged.  This can occur with sync cables that are longer than 3 ft, which is why anti-ESD components are recommended for long cables.  You have already tried these components though, and since the problem does not occur when using a master camera trigger, it suggests that the sync cabling is okay.

     

    It can be very difficult to achieve sync when using an external trigger due to the need to sync the pulse frequency very closely with the slave camera's 'real' FPS (e.g 30.015 FPS).  It is easier to implement external sync when using the genlock hardware sync mode.  Whilst no longer supported by Intel, genlock sync modes (mode 4 and above) remain accessible in the SDK and Viewer.

     

    You could test whether genlock is more stable than mode 2 for your project by setting the slave camera's mode to 4 and then setting the slave camera to 30 FPS and setting the frequency of the external trigger pulse to 15 Hz.  Unlike mode 2, setting the trigger frequency to half the value of the slave camera FPS is required when using genlock sync modes.  So if you wish to keep your trigger frequency at 30 when using mode 4, you would need to set the slave camera FPS to 60.

    1
    Comment actions Permalink
  • Johannes Rabe

    Hi MartyX Grover,

    thank you very much for your response!

     

    These are two very valuable points:

    1) I tried to get to as close as possible to 30 Hz (which my scope self-measures at 30.000000169... Hz). When setting it to 30.015 Hz, it indeed works fine. I must have missed this.

    2) The genlock sync mode: With setting mode 4, and the camera to 30 fps / trigger to 15 Hz, I am able to capture with 15 fps. Similarly for the 60 fps setting / 30 Hz signal.

     

    So it looks like this solves my problem!

     

    Due to the tests I did, my setup is currently not in the same state that I want to use in the final capture, so I'll need to put all the pieces together and see if it still behaves well :)

    0
    Comment actions Permalink
  • MartyG

    You are very welcome.  It's great to hear that you have had positive test results.  Please do let me know if you require further assistance once your setup is fully assembled.  Good luck!

    0
    Comment actions Permalink
  • Johannes Rabe

    Hello MartyG,

    from the tests we did so far, it seems that the triggering/synchronization works fine now. Thank you for your help.

    0
    Comment actions Permalink
  • MartyG

    You are very welcome.  It's great to hear that your sync is stable and successful.  Thanks very much for the update!

    0
    Comment actions Permalink

Please sign in to leave a comment.