SOLVED Issues with Hardware Trigger and 2 cameras
-
IMX287 - version is C 01.37 and L 02.04
We have 2 cameras set up for stereo vision. The primary camera triggers the secondary camera. The secondary camera sends a signal to the LED's to strobe.
I believe the triggers are not synchronized the way I expect.
I expect the primary camera and the secondary camera to have equal exposure and LED brightness. It seems the LED pulse is perfect for the secondary camera but does not line up with the primary camera.My settings
primary: r trigger mode is 0
secondary: r trigger mode is 1
primary: r outIO1 mode is 0 - This is going to the secondary camera
secondary: r outIO1 mode is 0 - This is going to the LED's
primary: r expmode is 0
secondary: r expmode is 0
primary: r manual exp time 70 us
secondary: r manual exp time 70 us
primary: r current exptime is 59 us
secondary: r current exptime is 59 usWhen I run the cameras at 500fps it looks close but the secondary is brighter.
At 300 FPS it gets worse
And at 100 FPS the primary camera doesn't capture any LED from the secondary camera
Here's an analyzer showing the trigger from the secondary camera is not equal to the primary camera. Even though the settings show it should be.
-
@mca312
Your approach to the application is quite creative, but I must say there are indeed some issues with it.The first camera outputs a strobe signal to the second camera, which serves as the trigger signal for the second camera.
However, there is a time delay from when the second camera receives the trigger signal to when it actually starts exposure and outputs the strobe signal, as shown in the diagram below:
My suggestion is for you to generate a separate trigger signal and simultaneously output this signal to both cameras.
-
@veye_xumm ok thank you. We'll try generating an external trigger and seeing how things sync up. We will follow up with more questions if we have any.