Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Passive Crystals and Oscillator Circuits

Both cameras run at 30 fps. Why does the same movement appear at different positions?

Two industrial cameras watch the same conveyor. Software pairs their images by frame number. At low belt speed the results look fine. After the belt speeds up, the same part sometimes appears farther along in one image than in the other. Both cameras are rated at 30 frames per second. Before asking for a more accurate oscillator, identify when the trigger reaches each camera, when each camera exposes and when software receives each image. Frame throughput and simultaneous observation are separate acceptance criteria.

Two free-running cameras can have the same nominal cadence and start at different times. They may be almost one frame apart while both deliver 30 images per second. Small frequency differences can then change the relative phase gradually. A moving object will appear in a different position when exposed at a different time. If internal buffers also change their delay, pairing by arrival order can make a software queueing change look like an exposure timing fault.

Work backward from the allowed position error

Suppose the two free-running clocks differ by 40 ppm. Even if the two frame sequences start together, their boundaries will be about 400 microseconds apart after 10 seconds. A 30 fps frame lasts about 33.3 milliseconds, so 400 microseconds is only a small fraction of one frame. But an object moving at 2 m/s travels 0.8 mm during that interval. To limit the position error to 0.5 mm at that speed, divide 0.5 mm by 2 m/s. The allowed exposure difference is 250 microseconds.

Now consider cameras sharing a trigger. Suppose the trigger arrives at their connectors within 500 ns, but one sensor waits another 100 microseconds before exposure. The exposure offset can still be about 100 microseconds. Verify the exposure point that matters to the application. A rolling-shutter sensor can start different rows at different times. Specify the row, image region or effective exposure instant that serves as the reference. These numbers illustrate the calculation and do not describe a particular camera's guaranteed performance.

Trace the actual frame-sync path

In a two-camera link using TI's DS90UB954-Q1, the deserializer can forward an external frame-sync signal from a configured input to attached serializers. It can also generate frame sync internally. The datasheet describes this trigger path separately from upstream image forwarding. Draw the signal path from the trigger source through the deserializer and serializer to the image sensor. Identify which stages use a common reference and which cross clock domains. A shared 25 MHz reference is useful evidence once you know which generators it feeds.

Check what the camera does at the trigger edge. One mode may prepare exposure immediately, while another waits for an internal boundary. The camera may expose an output for exposure start or only indicate that readout is ready. Lock exposure duration, scan direction and gain for the initial comparison so image processing cannot mistake illumination changes for timing error. Retest later with the automatic settings required in service.

On the bench, flash a common light source in view of both cameras and record the trigger edges electrically. If the sensors provide exposure-status outputs, capture them against the same time reference. Repeat with the same cable and mode. Inspect which rows change, frame identifiers and software arrival times. If trigger edges agree but the light appears at different rows, check sensor delay and line timing. If raw images align while live display pairs frames incorrectly, investigate how the application groups frames and uses synchronization labels. Save the unprocessed frames and logs separately.

The purchase specification should capture conveyor speed, allowable position error, exposure mode, trigger interface and the exact event being measured. Verify that the quoted configuration includes any required exposure output or hardware sync mode. After reconnecting a cable, restarting one camera and running continuously, check for a jump to the adjacent frame. A stationary target and one power cycle will rarely expose the worst case.

For a simple comparison, save one set ordered by camera timestamps and another by software arrival. The first helps evaluate trigger and exposure. The second helps evaluate transport and application behavior. If only the arrival-ordered set is wrong, inspect startup sequence and the handling of dropped frames before selecting a different oscillator.

References

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.