Difference between revisions of "Camera Synchronization"

From ElphelWiki
Jump to: navigation, search
(summary of the discussion so far)
Line 4: Line 4:
 
# And (in some cases) camera should be able to precisely keep time, so in-sync state of two or more cameras will last longer.
 
# And (in some cases) camera should be able to precisely keep time, so in-sync state of two or more cameras will last longer.
  
How about something like ntp - network time protocol? --[[User:Pfavr|Pfavr]] 16:15, 26 October 2005 (CDT)
+
Here is a [https://sourceforge.net/forum/forum.php?thread_id=1068147&forum_id=371579 Thread on sf] about synchronizing two 313 cameras using [http://mhonarc.axis.se/dev-etrax/msg02121.html sntpdate client]: "Synchronizing the cameras ended up being incredibly simple, I didn't have to do anything special at all. I decided to try the easiest solution first, keeping the 2 cameras at the exact same settings. I had the client I wrote request image captures from both cameras at approx. the same time. I havn't benchmarked it to see the exact amount of jitter between matching frames, but I can set FPS to any value and not see any noticable difference."
  
I believe they used something like that here -  [http://www.kipr.org/papers/cmech-is05.pdf pdf article] ([https://sourceforge.net/forum/forum.php?thread_id=1068147&forum_id=371579 sf discussion])--[[User:Andrey.filippov|Andrey.filippov]] 17:14, 26 October 2005 (CDT)
+
How about a digital phase locked loop using the [[RTC]] timer in the FPGA? NTP is basically a digital phase locked loop in software, but it also adds a lot of code for robustness against "malicious" NTP servers - something we probably don't need for the cameras --[[User:Pfavr|Pfavr]] 15:15, 27 October 2005 (CDT)

Revision as of 12:15, 27 October 2005

There are several parts of the camera synchronization task.

  1. Camera should receive synchronizing event. It can be done by either special hardware inputs or just over the network. It most cases if you want to syncronize 2 or more networked cameras you do not need extra wires, so the network sycnchronizatrion is the most convinient. But sometimes you would like to be able to trigger the camera without the network - i.e. from some contact closure.
  2. Camera should be able to start image acquisition process when required - generally not possible with most CMOS sensors. /this used with "external trigger" in FPGA API? - Spectr/
  3. And (in some cases) camera should be able to precisely keep time, so in-sync state of two or more cameras will last longer.

Here is a Thread on sf about synchronizing two 313 cameras using sntpdate client: "Synchronizing the cameras ended up being incredibly simple, I didn't have to do anything special at all. I decided to try the easiest solution first, keeping the 2 cameras at the exact same settings. I had the client I wrote request image captures from both cameras at approx. the same time. I havn't benchmarked it to see the exact amount of jitter between matching frames, but I can set FPS to any value and not see any noticable difference."

How about a digital phase locked loop using the RTC timer in the FPGA? NTP is basically a digital phase locked loop in software, but it also adds a lot of code for robustness against "malicious" NTP servers - something we probably don't need for the cameras --Pfavr 15:15, 27 October 2005 (CDT)