CN110996011A - Multi-camera synchronous triggering system - Google Patents

Multi-camera synchronous triggering system Download PDF

Info

Publication number
CN110996011A
CN110996011A CN201911328398.0A CN201911328398A CN110996011A CN 110996011 A CN110996011 A CN 110996011A CN 201911328398 A CN201911328398 A CN 201911328398A CN 110996011 A CN110996011 A CN 110996011A
Authority
CN
China
Prior art keywords
module
camera
trigger
synchronous
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911328398.0A
Other languages
Chinese (zh)
Inventor
张乃华
傅灵忠
秦凤滨
吕猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Isvision Hangzhou Technology Co Ltd
Original Assignee
Isvision Hangzhou Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Isvision Hangzhou Technology Co Ltd filed Critical Isvision Hangzhou Technology Co Ltd
Priority to CN201911328398.0A priority Critical patent/CN110996011A/en
Publication of CN110996011A publication Critical patent/CN110996011A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a multi-camera synchronous triggering system which comprises a plurality of synchronous triggering modules, wherein each synchronous triggering module is connected with a camera to be triggered; the synchronous trigger module comprises a main control chip, a communication module and a trigger module, and the communication module and the trigger module are respectively connected with the main control chip; the communication module receives a command data packet sent by the upper computer and transmits the command data packet to the main control chip, and the main control chip analyzes the command data packet and judges whether to send a trigger signal to the trigger module according to the analyzed command data; the trigger module is connected with the camera, and when the trigger module receives a trigger signal, the trigger module triggers the camera to start to acquire images; according to the technical scheme, any plurality of cameras can be synchronously triggered, the scheduling of an operating system is not needed, the time delay is avoided, the real-time performance is high, two trigger channels of a network broadcast trigger mode and an RS485 trigger mode are designed, and the flexibility of the system is improved; the invention can be suitable for the camera with the network interface and can be compatible with the camera without the network interface.

Description

Multi-camera synchronous triggering system
Technical Field
The invention relates to the field of communication, in particular to a multi-camera synchronous triggering system.
Background
In the field of machine vision detection, an application scenario that all cameras or a plurality of specified cameras in a system trigger photographing at the same time is required, and the prior art mainly adopts the following modes:
1. the soft triggering mode is that the upper computer software sends triggering commands to each camera one by one, and because the software triggering commands of each camera are executed in time sequence and are influenced by uncertainty of scheduling of an operating system, the delay difference of each camera receiving the triggering commands reaches dozens of milliseconds, and the requirement of synchronous triggering shooting of the system is difficult to meet;
2. in the hard triggering mode, each camera is respectively connected with a triggering signal line to a triggering signal source, and when a plurality of cameras which need to be triggered simultaneously exist in the system, the cost and the complexity of the system are greatly increased;
3. the technical scheme is only directed to interface cameras with network communication, the industrial cameras have various interface standards, if the industrial cameras are not network interface cameras, a network needs to be specially paved for triggering, and additional equipment support is needed.
Disclosure of Invention
In order to solve the technical problems, the invention provides a multi-camera synchronous triggering system, the technical scheme of the invention can synchronously trigger any plurality of cameras, does not need operation system scheduling, does not have time delay, does not need a uniform triggering signal source, can be realized by only one broadcast instruction, and overcomes the defect that the existing synchronous triggering method can only trigger all the cameras of the system.
Therefore, the technical scheme of the invention is as follows:
a multi-camera synchronous triggering system comprises a plurality of synchronous triggering modules, wherein each synchronous triggering module is connected with a camera to be triggered; the synchronous trigger module comprises a main control chip, a communication module and a trigger module, and the communication module and the trigger module are respectively connected with the main control chip; the communication module receives a command data packet sent by the upper computer and transmits the command data packet to the main control chip, and the main control chip analyzes the command data packet and judges whether to send a trigger signal to the trigger module according to the analyzed command data; the trigger module is connected with the camera, and when the trigger module receives the trigger signal, the camera is triggered to start to collect images.
Furthermore, each synchronous trigger module is correspondingly provided with a unique code, and the code is stored in a storage module connected with the main control chip.
Further, the communication module comprises a network communication module and/or an RS485 communication module.
Further, the upper computer sends out an instruction data packet in a broadcasting mode, and the instruction data packet is received and analyzed by the synchronous trigger modules at the same time; the instruction packet includes: frame header, address information, data length, function code, data block and check code.
Further, the data block includes N bytes of binary bits,
Figure BDA0002328960690000021
Figure BDA0002328960690000022
represents the smallest integer greater than the quotient;
sequencing the binary bits, wherein the sequenced serial numbers correspond to the codes of the synchronous trigger modules one by one;
the single synchronous trigger module searches for a binary bit consistent with the storage number of the single synchronous trigger module, and the main control chip judges whether to start the trigger module according to the numerical value state of the binary bit.
And further, partial cameras can be triggered to be started, and camera triggering in multiple modes can be carried out.
In order to improve the transmission stability, a retransmission mechanism is set, and further, the synchronous trigger module sends a response signal to the upper computer through the communication module when receiving the instruction data packet each time;
and if the upper computer does not receive the response signal within the specified time T, the command data packet is sent again, the sending frequency of the same command data packet is less than or equal to three times, and T is 50 ms-200 ms.
Specifically, the function code is provided with a sequence number, where the sequence number is used to indicate the number of times the same instruction packet is transmitted, and the initial sequence number is 1, and is +1 for each transmission; when the sequence number is larger than 3, the sending is prompted to fail and the network transmission environment is unstable;
preferably, the camera further comprises a light source module, the light source module is connected with the trigger module, and when the light source module is started with the trigger module, the light source module is started to illuminate the camera.
Preferably, the RS485 communication modules of the plurality of synchronous trigger modules are connected to the 485 bus in a cascading mode; the 485 bus is connected with the communication converter, the communication converter is communicated with the upper computer, and the instruction data packet sent by the upper computer is converted into a 485 communication instruction data packet and broadcasted to each synchronous trigger module.
Further, the communication converter comprises a 485 concentrator, a repeater and a 485 communication network card.
Furthermore, the network communication modules of the plurality of synchronous trigger modules are respectively connected to the network equipment; the network equipment communicates with the upper computer and broadcasts the instruction data packet sent by the upper computer to each synchronous trigger module.
Further, the network device is a switch or a network card.
The technical scheme of the invention can synchronously trigger any plurality of cameras, does not need operating system scheduling, does not have time delay, does not need a uniform trigger signal source, and can be realized only by one broadcast instruction, thereby overcoming the defect that the prior synchronous triggering method can only trigger all the cameras of the system.
An RS485 synchronous triggering mode is added on the basis of a network broadcast triggering mode, namely two triggering channels are provided, and the flexibility of the system is improved; the invention can be suitable for the camera with the network interface and can be compatible with the camera without the network interface.
The scheme adopts a bus topological structure, and enables a plurality of cameras to be connected to a bus communication signal line in a cascading manner, so that the wiring scheme of the system is simplified, and the cost is reduced; the scheme also has the advantages of large mounting quantity of cameras and long signal transmission distance.
Drawings
FIG. 1 is a schematic diagram of a multi-camera synchronous triggering module according to an embodiment;
FIG. 2 is a schematic diagram of the embodiment in which a synchronous trigger module is connected to an upper computer by a bus;
fig. 3 is a schematic diagram of a synchronization triggering process in the embodiment.
Detailed Description
The technical scheme of the invention is described in detail with reference to the accompanying drawings and the specific embodiments.
A multi-camera synchronous triggering system is shown in fig. 1 and comprises a plurality of synchronous triggering modules, wherein each synchronous triggering module is connected with a camera to be triggered; the synchronous trigger module comprises a main control chip, a communication module and a trigger module, and the communication module and the trigger module are respectively connected with the main control chip; the communication module receives a command data packet sent by the upper computer and transmits the command data packet to the main control chip, and the main control chip analyzes the command data packet and judges whether to send a trigger signal to the trigger module according to the analyzed command data; the trigger module is connected with the camera, and when the trigger module receives a trigger signal (GPIO signal), the trigger module triggers the camera to start to acquire images.
In order to realize the triggering of any plurality of cameras, a unique code is correspondingly set for each synchronous triggering module, and the code is stored in a storage module connected with a main control chip.
The communication module comprises a network communication module (a network interface RJ45+ a switch chip) and/or an RS485 communication module (an RS485 interface + an RS485 chip);
the upper computer sends out an instruction data packet in a broadcasting mode, and the synchronous trigger modules receive and analyze the instruction data packet at the same time; the instruction packet includes: frame header, address information, data length, functional code, data block and check code;
wherein the data block comprises N bytes of binary bits,
Figure BDA0002328960690000041
represents the smallest integer greater than the quotient;
sequencing the binary bits, wherein the sequenced serial numbers correspond to the codes of the synchronous trigger modules one by one;
as shown in fig. 3, a single synchronous trigger module searches for a binary bit with a same storage number as the single synchronous trigger module, and the main control chip determines whether to start the trigger module according to the value state of the binary bit.
And further, partial cameras can be triggered to be started, and camera triggering in multiple modes can be carried out.
For example:
if there are 20 cameras in the system
Then 3 byte binary numbers need to be sent (000010011000011001011011):
Figure BDA0002328960690000051
triggering all cameras with binary numbers of 1, namely triggering the cameras connected with synchronous triggering modules with serial numbers of 20, 17, 16, 11, 10, 7, 5, 4, 2 and 1;
(II) if the system has 15 cameras in common
Then a 2 byte binary number needs to be sent (0100011001011011):
Figure BDA0002328960690000052
triggering all cameras with binary numbers of 1, namely triggering the cameras connected with synchronous triggering modules with serial numbers of 15, 11, 10, 7, 5, 4, 2 and 1;
setting the frame header as AA, the address as FE, the frame length as 2 bytes, setting the address information as coding FE, transmitting the command to each trigger module in the system, realizing the broadcast function;
when the synchronous trigger module receives an order with an AA frame header, the synchronous trigger module starts to receive the order, when the order length reaches the frame length (2 bytes), the data is moved to the verification part, if the last two verification codes of the order are incorrect, the synchronous trigger module will respond the error report information to the computer, if the last two verification codes of the order are correct, the synchronous trigger module enters the order extraction part to obtain the number information needing to be triggered.
In order to improve the transmission stability, a retransmission mechanism is set, and specifically, the synchronous trigger module sends a response signal to the upper computer through the communication module every time the synchronous trigger module receives an instruction data packet;
and if the upper computer does not receive the response signal within the specified time T, the command data packet is sent again, the sending frequency of the same command data packet is less than or equal to three times, and T is 50 ms-200 ms.
Specifically, the function code is provided with a sequence number, where the sequence number is used to indicate the number of times the same instruction packet is transmitted, and the initial sequence number is 1, and is +1 for each transmission; when the sequence number is larger than 3, the sending is prompted to fail and the network transmission environment is unstable;
in this embodiment, the camera further includes a light source module, the light source module is connected to the trigger module, and when the trigger module is turned on, the light source module is turned on to illuminate the camera.
For flexibility of information transmission, as an embodiment of the invention, the communication module comprises a network communication module and an RS485 communication module;
as shown in fig. 2, RS485 communication modules of a plurality of synchronous trigger modules are connected to a 485 bus in a cascade connection manner, and the 485 bus adopts a bus-type topology structure; in the figure, A, B refers to the terminals of two RS485 communication lines, and the A, B terminals of a plurality of RS485 devices are correspondingly connected; the 485 bus is connected with the communication converter, the communication converter is communicated with the upper computer, and the instruction data packet sent by the upper computer is converted into a 485 communication instruction data packet and broadcasted to each synchronous trigger module. The communication converter can be set as a 485 concentrator, a repeater and a 485 communication network card.
The network communication modules of the synchronous trigger modules are respectively connected to network equipment; the network equipment communicates with the upper computer, and broadcasts the instruction data packet sent by the upper computer to each synchronous trigger module.
The network device is a switch or a network card.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. The foregoing description is not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable others skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications thereof. It is intended that the scope of the invention be defined by the following claims and their equivalents.

Claims (10)

1. A multi-camera synchronous triggering system is characterized by comprising a plurality of synchronous triggering modules, wherein each synchronous triggering module is connected with a camera to be triggered; the synchronous trigger module comprises a main control chip, a communication module and a trigger module, and the communication module and the trigger module are respectively connected with the main control chip; the communication module receives a command data packet sent by the upper computer and transmits the command data packet to the main control chip, and the main control chip analyzes the command data packet and judges whether to send a trigger signal to the trigger module according to the analyzed command data; the trigger module is connected with the camera, and when the trigger module receives the trigger signal, the camera is triggered to start to collect images.
2. The multi-camera synchronous triggering system of claim 1, wherein: and each synchronous trigger module is correspondingly provided with a unique code, and the code is stored in a storage module connected with the main control chip.
3. The multi-camera synchronous triggering system of claim 1, wherein: the communication module comprises a network communication module and/or an RS485 communication module.
4. A multi-camera synchronous triggering system as claimed in claim 2 or 3, wherein: the upper computer sends out an instruction data packet in a broadcasting mode, and the instruction data packet is received and analyzed by the synchronous trigger modules at the same time; the instruction packet includes: frame header, address information, data length, function code, data block and check code.
5. The multi-camera synchronous triggering system of claim 4, wherein: the data block comprises N bytes of binary bits,
Figure FDA0002328960680000011
indicating a minimum integer greater than the quotientCounting;
sequencing the binary bits, wherein the sequenced serial numbers correspond to the codes of the synchronous trigger modules one by one;
the single synchronous trigger module searches for a binary bit consistent with the storage number of the single synchronous trigger module, and the main control chip judges whether to start the trigger module according to the numerical value state of the binary bit.
6. The multi-camera synchronous triggering system of claim 1, wherein: the synchronous trigger module sends a response signal to the upper computer through the communication module every time the synchronous trigger module receives an instruction data packet;
and if the upper computer does not receive the response signal within the specified time T, the command data packet is sent again, the sending frequency of the same command data packet is less than or equal to three times, and T is 50 ms-200 ms.
7. The multi-camera synchronous triggering system of claim 1, wherein: the camera further comprises a light source module, the light source module is connected with the trigger module, and when the light source module is started with the trigger module, the light source module is started to illuminate the camera.
8. The multi-camera synchronous triggering system of claim 3, wherein: RS485 communication modules of the synchronous trigger modules are connected to a 485 bus in a cascading mode; the 485 bus is connected with the communication converter, the communication converter is communicated with the upper computer, and the instruction data packet sent by the upper computer is converted into a 485 communication instruction data packet and broadcasted to each synchronous trigger module.
9. The multi-camera synchronous triggering system of claim 8, wherein: the communication converter comprises a 485 concentrator, a repeater and a 485 communication network card.
10. The multi-camera synchronous triggering system of claim 3, wherein: the network communication modules of the synchronous trigger modules are respectively connected to network equipment; the network equipment communicates with the upper computer and broadcasts the instruction data packet sent by the upper computer to each synchronous trigger module; the network equipment is a switch or a network card.
CN201911328398.0A 2019-12-20 2019-12-20 Multi-camera synchronous triggering system Pending CN110996011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911328398.0A CN110996011A (en) 2019-12-20 2019-12-20 Multi-camera synchronous triggering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911328398.0A CN110996011A (en) 2019-12-20 2019-12-20 Multi-camera synchronous triggering system

Publications (1)

Publication Number Publication Date
CN110996011A true CN110996011A (en) 2020-04-10

Family

ID=70074374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911328398.0A Pending CN110996011A (en) 2019-12-20 2019-12-20 Multi-camera synchronous triggering system

Country Status (1)

Country Link
CN (1) CN110996011A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112654124A (en) * 2020-12-30 2021-04-13 广东奥普特科技股份有限公司 Light source controller with real-time synchronous trigger output or warning output and method thereof
CN114401355A (en) * 2022-01-04 2022-04-26 安徽国钜工程机械科技有限公司 Integrated trigger device of industrial camera array
CN114554037A (en) * 2020-11-26 2022-05-27 华为技术有限公司 Data transmission method and electronic equipment
WO2023280206A1 (en) * 2021-07-08 2023-01-12 Zhejiang Huaray Technology Co., Ltd. Systems and methods for camera synchronization

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5144445A (en) * 1989-12-26 1992-09-01 Sanyo Electric Co., Ltd. Solid-state image pickup apparatus having a plurality of photoelectric transducers arranged in a matrix
CN1848916A (en) * 2005-04-15 2006-10-18 索尼株式会社 Multicamera system, image pickup apparatus, image pickup control method, controller and control method thereof
CN103338334A (en) * 2013-07-17 2013-10-02 中测新图(北京)遥感技术有限责任公司 System and method for controlling multi-cameral digital aerial photographic camera synchronous exposure
CN107172371A (en) * 2017-06-28 2017-09-15 高感(北京)科技有限公司 A kind of multi-lens camera simultaneous exposure control system and method
CN208043065U (en) * 2018-05-07 2018-11-02 广西壮族自治区地理信息测绘院 The 15 photogrammetric camera synchronizer of control of one kind
CN108848354A (en) * 2018-08-06 2018-11-20 四川省广播电视科研所 A kind of VR content camera system and its working method
CN109413328A (en) * 2018-10-16 2019-03-01 长春理工大学 A kind of array type camera shutter wired controller
CN109743501A (en) * 2019-01-15 2019-05-10 上海曼恒数字技术股份有限公司 A kind of polyphaser synchronous trigger method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5144445A (en) * 1989-12-26 1992-09-01 Sanyo Electric Co., Ltd. Solid-state image pickup apparatus having a plurality of photoelectric transducers arranged in a matrix
CN1848916A (en) * 2005-04-15 2006-10-18 索尼株式会社 Multicamera system, image pickup apparatus, image pickup control method, controller and control method thereof
CN103338334A (en) * 2013-07-17 2013-10-02 中测新图(北京)遥感技术有限责任公司 System and method for controlling multi-cameral digital aerial photographic camera synchronous exposure
CN107172371A (en) * 2017-06-28 2017-09-15 高感(北京)科技有限公司 A kind of multi-lens camera simultaneous exposure control system and method
CN208043065U (en) * 2018-05-07 2018-11-02 广西壮族自治区地理信息测绘院 The 15 photogrammetric camera synchronizer of control of one kind
CN108848354A (en) * 2018-08-06 2018-11-20 四川省广播电视科研所 A kind of VR content camera system and its working method
CN109413328A (en) * 2018-10-16 2019-03-01 长春理工大学 A kind of array type camera shutter wired controller
CN109743501A (en) * 2019-01-15 2019-05-10 上海曼恒数字技术股份有限公司 A kind of polyphaser synchronous trigger method, device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554037A (en) * 2020-11-26 2022-05-27 华为技术有限公司 Data transmission method and electronic equipment
CN114554037B (en) * 2020-11-26 2023-04-18 华为技术有限公司 Data transmission method and electronic equipment
CN112654124A (en) * 2020-12-30 2021-04-13 广东奥普特科技股份有限公司 Light source controller with real-time synchronous trigger output or warning output and method thereof
CN112654124B (en) * 2020-12-30 2024-01-05 广东奥普特科技股份有限公司 Light source controller with real-time synchronous trigger output or warning output and method thereof
WO2023280206A1 (en) * 2021-07-08 2023-01-12 Zhejiang Huaray Technology Co., Ltd. Systems and methods for camera synchronization
CN114401355A (en) * 2022-01-04 2022-04-26 安徽国钜工程机械科技有限公司 Integrated trigger device of industrial camera array

Similar Documents

Publication Publication Date Title
CN110996011A (en) Multi-camera synchronous triggering system
CN111200844B (en) Multi-slave-machine bidirectional communication method
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN106844251B (en) Data transmission method and device
EP0195598A2 (en) Universal protocol data receiver
US4661657A (en) Method and apparatus for transmitting and receiving encoded data
US4769839A (en) Method and device for the transfer of data in a data loop
CN108696309B (en) Relay device and multi-connected control system
CN111984477A (en) PCIe equipment signal parameter dynamic correction device and method
CN102394734B (en) RS 485 communication system with nonpolarized connection and control method thereof
JPH03102939A (en) Cell synchronizing system
CN100571285C (en) A kind of identification method of multi-stage far-end wireless device and device
CN112737995B (en) Method, device and equipment for processing Ethernet frame and storage medium
CN109150465B (en) Synchronization signal block indication determining method, device, base station, terminal and storage medium
CN109474716A (en) Sensor Accreditation System, method and apparatus based on universal serial bus
US7116739B1 (en) Auto baud system and method and single pin communication interface
CN115801494B (en) Communication system and networking method for communication system
CN115334041A (en) Method for automatically allocating addresses to communication equipment of master station and slave station, master station, slave station and system
US11457507B2 (en) Communication system for serial communication between communication devices
EP0416235B1 (en) Data-communication method for loop-type network having portable slave stations connectable to addressable junction boxes permanently connected in the network
CN113572629A (en) Message transmission method, terminal and storage medium
CN114339654B (en) Communication method and device of multi-sensor system
CN104734838A (en) Method, system and switching matrix for synchronizing data
CN112133072B (en) Test system and test method for LoRa wireless data acquisition device
CN115663549B (en) Multi-interface conversion device and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410

RJ01 Rejection of invention patent application after publication