Microcontroller-based microsecond-level multi-channel global exposure camera synchronous trigger control system

By using an AT32F403A microcontroller and a hardware timer cascaded multi-channel global exposure camera synchronous triggering system, the problems of high cost and electromagnetic interference are solved, achieving microsecond-level synchronization accuracy and anti-interference capability, making it suitable for automotive environments.

CN123123514APending Publication Date: 2026-11-17SHANDONG DARUI ENVIRONMENTAL PROTECTION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611345572.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing multi-camera synchronous triggering systems are costly, have difficulty achieving microsecond-level synchronization accuracy, and are susceptible to electromagnetic interference in vehicle environments, leading to unstable synchronization accuracy.

Method used

The AT32F403A microcontroller is used as the main control module. The trigger signal is directly generated through hardware timer cascading. Combined with digital isolation and power isolation design, and with delay compensation and feedback modules, closed-loop calibration is achieved to ensure synchronization accuracy and anti-interference capability.

Benefits of technology

It achieves low-cost, microsecond-level synchronous triggering of multiple cameras, maintains high precision in complex electromagnetic environments, and is suitable for automotive applications.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

This invention relates to the field of multi-camera synchronous control technology, providing a microcontroller-based microsecond-level multi-channel global exposure camera synchronous trigger control system. The system includes a power management module, a main control module, a timer cascade module, a signal fan-out module, a digital isolation module, a camera configuration module, a delay compensation and feedback module, a communication module, and an IMU module. The main control module uses an AT32F403A chip, with built-in master timer TIM1 and slave timers TIM2 and TIM3, directly generating trigger pulses through hardware timer PWM output. In the timer cascade module, the TRGO signal of TIM1 serves as the trigger input for TIM2 and TIM3, and the slave timers are configured in trigger slave mode, with master-slave initialization and slave-slave startup. This solution uses the AT32F403A microcontroller instead of an FPGA / CPLD, significantly reducing hardware costs. Multi-level power isolation and digital isolation design effectively suppress common-mode interference in environments with strong electromagnetic interference, such as high-power vehicle motors. The timer cascade architecture supports multi-level expansion, enabling control of dozens or even hundreds of cameras.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of multi-camera synchronization control technology, specifically a microcontroller-based microsecond-level multi-channel global exposure camera synchronization triggering control system. Background Technology

[0002] In applications such as industrial unmanned forklifts, machine vision, 3D reconstruction, high-speed motion analysis, and autonomous driving, multiple global exposure cameras are often required to simultaneously acquire images of the same target from different angles. All pixels of the global exposure camera must begin and end exposure at the same time, demanding extremely high synchronization accuracy of the trigger signal, typically better than 1 microsecond. Furthermore, in vehicle-mounted applications such as industrial unmanned forklifts, high-power motors, frequency converters, and other equipment generate strong electromagnetic interference, posing a severe challenge to the power integrity and signal integrity of the synchronous triggering system.

[0003] Most existing multi-camera synchronization triggering schemes suffer from the following problems: ① High cost and long development cycle, which is not conducive to product miniaturization and cost control; ② Serious waste of hardware resources, high system complexity, and communication delay between microcontrollers will affect synchronization accuracy; ③ Uncertainty of network transmission makes it difficult to guarantee synchronization accuracy at the microsecond level, and jitter usually reaches the millisecond level; ④ Trigger signals are generated through software delay or interrupt service routines. The sequential execution of the program causes a time difference in the control of each channel, and the uncertainty of interrupt response delay introduces large jitter, making it difficult to achieve microsecond-level synchronization accuracy.

[0004] Therefore, there is an urgent need for a multi-camera synchronous triggering control system that is low-cost, high-precision, has strong anti-interference capabilities, and does not rely on satellite signals. Summary of the Invention

[0005] The purpose of this invention is to provide a microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system, comprising a power management module, a main control module, a timer cascade module, a signal fan-out module, a digital isolation module, a camera configuration module, a delay compensation and feedback module, a communication module, and an IMU module; The main control module uses the AT32F403A chip, which has a built-in master timer TIM1 and slave timers TIM2 and TIM3. It directly generates trigger pulses through hardware timer PWM output. In the timer cascading module, the TRGO signal of TIM1 serves as the trigger input for TIM2 and TIM3, and the timer is configured to trigger slave mode, with initialization prior to master and startup prior to slave. The input terminal of the signal fan-out module is connected to the TIM1 output channel, and the output terminal is divided into multiple channels connected to the FSYNC trigger input pin of each OV9281 camera. The digital isolation module includes ADuM1401 and 6N137, and is located between the main control module and the external interface; The camera configuration module connects to each camera via I2C or a serial interface and is configured for external hardware trigger mode and global shutter mode. The delay compensation and feedback module includes a comparison value offset register and an FSYNC acquisition unit, which are used to independently configure the offset for each channel, receive the FSYNC feedback signal, calculate the synchronization error and dynamically adjust the compensation parameters. The communication module is isolated by an ADuM1401 and then connected to an RS485 bus to communicate with the edge computing unit. The IMU module is connected to the IMU sensor via SPI or I2C bus and triggers synchronous sampling with the camera.

[0007] Preferably, the power management module includes a TVS surge suppression circuit, a π-type LC filter, a first isolated DC-DC converter and a second isolated DC-DC converter, with its input terminal connected to a 9V~35V power supply and its output terminals connected to the main control module, the camera configuration module and the signal fan-out module, respectively.

[0008] Preferably, the main control module has a clock frequency of 120MHz, a timer counting period of 8.33ns, a main timer auto-reload value of 50000, a trigger period of 4166.67μs, and a frame rate of 240fps.

[0009] Preferably, the master-slave counter deviation in the timer cascade module is <8.33ns.

[0010] Preferably, the formula for counting the offset of the i-th path in the delay compensation and feedback module is as follows: ; in, Let i be the inherent delay time of the i-th camera. This represents the maximum delay time.

[0011] Preferably, the synchronization error calculation formula in the delay compensation and feedback module is as follows: ; in, The timestamp for receiving the FSYNC feedback signal from the i-th camera. Output timestamps for the corresponding trigger signals.

[0012] Preferably, the compensation method is as follows: like ,but ;on the contrary, ; in, This is the offset after compensation.

[0013] Preferably, the For the preset threshold, .

[0014] Preferably, the difference in trace length between each output channel in the signal fan-out module is <1mm, the signal propagation speed is v=15cm / ns, the propagation delay deviation is <6.7ps, and the time difference between each trigger signal is <1μs.

[0015] The present invention has at least the following beneficial effects: (1) The AT32F403A microcontroller is used to replace the FPGA / CPLD, which significantly reduces the hardware cost; (2) The timer hardware directly outputs the trigger signal without going through the software interrupt, the trigger jitter is controlled at the nanosecond level, and the master-slave cascade deviation is less than 8.33ns; (3) Each trigger signal is fanned out through an equal-length trace with a time difference of less than 1μs, which meets the synchronization accuracy requirements of the global exposure camera; (4) Multi-level power isolation and digital isolation design effectively suppress common-mode interference in strong electromagnetic interference environments such as high-power motors in vehicles; (5) The FSYNC feedback and dynamic phase fine-tuning form a closed-loop calibration system, which can continuously correct system errors; (6) The timer cascading architecture supports multi-level expansion and can control dozens or even hundreds of cameras. Detailed Implementation

[0016] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Example

[0017] This embodiment provides a microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system, including the following modules: 1. Power Management Module The power management module consists of a TVS surge suppression circuit, a π-type LC filter, and two isolated DC-DC converters. The input is connected to a 9V~35V vehicle power supply, and the outputs power the main control module, camera configuration module, and signal fan-out module, respectively.

[0018] After surge suppression by a TVS diode, the vehicle power supply enters a π-type LC filter to remove high-frequency noise and is divided into two paths: the first path is converted to 5V / 3A via an isolated DC-DC converter to power the main control module; the second path is converted to 12V / 5A via an isolated DC-DC converter to power the camera configuration module and signal fan-out module.

[0019] TVS diodes are used to absorb voltage spikes on the power line and suppress surge impacts; π-type LC filters are used to filter out high-frequency noise and improve power quality; dual-channel isolated DC-DC converters achieve power domain isolation, preventing power noise from high-power loads from coupling to the main control module through the power line and affecting timer accuracy.

[0020] 2. Main control module The main control module uses an AT32F403A microcontroller with a system clock frequency of 120MHz and built-in advanced timers TIM1, TIM2, and TIM3. As the system's synchronization master, the main control module directly generates trigger pulse signals through the PWM output mode of the hardware timers, bypassing software interrupt service routines and avoiding the uncertainty of interrupt response delays.

[0021] The main control module has a clock frequency of 120MHz, a timer counting period of 8.33ns, a main timer auto-reload value of 50000, a trigger period of 4166.67μs, and a frame rate of 240fps.

[0022] 3. Timer cascading module The timer cascading module consists of a master timer TIM1, slave timers TIM2 and TIM3, and a TRGO signal line. TIM1 is configured in PWM output mode, using an overflow event as the TRGOUT source to output the TRGO signal. TIM2 and TIM3 are configured in trigger slave mode, using the TRGO signal from TIM1 as the external trigger input.

[0023] The initialization order of each timer is TIM1 first, followed by TIM2 and TIM3, and the startup order is TIM2 and TIM3 first, followed by TIM1. This cascading method ensures that the counter value deviation between the master and slave timers is less than one timer clock cycle, i.e., <8.33ns.

[0024] 4. Signal fan-out module The signal fan-out module consists of a fan-out chip and a PCB with equal-length traces. The input of the fan-out chip is connected to the PWM output channel of the TIM1, and the output is divided into multiple independent trigger signal channels, which are respectively connected to the FSYNC trigger input pin of each OV9281 camera. The fan-out chip is used to replicate a single trigger signal into multiple channels and enhance the driving capability to meet the input load requirements of multiple cameras.

[0025] Each output channel adopts an equal-length trace design, with a trace length difference of <1mm between each output channel, a signal propagation speed of v=15cm / ns, a propagation delay deviation of <6.7ps, and a trigger signal time difference of <1μs between each channel.

[0026] 5. Digital isolation module The digital isolation module consists of an ADuM1401 digital isolation chip and a 6N137 optocoupler isolation device. The ADuM1401 is positioned between the main control module's USART interface and the external RS485 bus, while the 6N137 is positioned between the main control module's GPIO interface and the external sensor. The digital isolation module is used to achieve electrical isolation between the high-performance computing area and the external interface area, suppressing common-mode interference in environments with strong electromagnetic interference, such as high-power automotive motors.

[0027] 6. Camera Configuration Module The camera configuration module connects to each OV9281 camera via I2C or a serial interface to configure the operating mode of each camera as external hardware trigger mode and global shutter mode, and to read the camera status and parameters.

[0028] 7. Delay Compensation and Feedback Module The delay compensation and feedback module consists of a timer comparison value offset register, an FSYNC feedback signal acquisition unit, a timestamp recording unit, and an error calculation unit.

[0029] The comparison value offset register is used to independently configure the timer comparison value offset for each trigger channel, compensating for the inherent delay differences of each camera and signal path.

[0030] The formula for counting the offset of the i-th path in the delay compensation and feedback module is as follows: ; in, Let i be the inherent delay time of the i-th camera. This represents the maximum delay time.

[0031] The formula for calculating synchronization error in the delay compensation and feedback module is as follows: ; in, The timestamp for receiving the FSYNC feedback signal from the i-th camera. Output timestamps for the corresponding trigger signals.

[0032] The compensation methods are as follows: like ,but ;on the contrary, ; in, This is the offset after compensation; For the preset threshold, .

[0033] 8. Communication module The communication module is connected to an external RS485 bus via an ADuM1401 digital isolation chip to communicate with the edge computing unit, receive trigger parameter configuration instructions, and upload trigger timestamps, FSYNC feedback timestamps, and synchronization error data.

[0034] 9. IMU module The IMU interface module connects to the IMU sensor via SPI or I2C bus to acquire inertial measurement data (acceleration, angular velocity). The IMU sensor's sampling trigger is synchronized with the camera's trigger, simultaneously triggered by the overflow event of the master timer TIM1. IMU data is uploaded to the main controller via SPI, and then via RS485 to Orin NX for motion compensation.

[0035] Based on the above system, a synchronous triggering control method using the above system is provided, including the following steps: S1, Power-on and Power Management: The vehicle power supply provides power to the main control module, camera configuration module, and signal fan-out module via TVS, π-type LC, and isolated DC-DC converters.

[0036] S2, System Initialization: Configure the AT32F403A with a 120MHz clock and initialize the peripherals.

[0037] S3, camera configuration: Configure the OV9281 for external trigger and global shutter mode via I2C.

[0038] S4, Timer Cascading Configuration: TIM1 is set to PWM mode with TRGO enabled, and TIM2 / TIM3 are set to trigger slave mode. Initialization proceeds from master to slave, and startup proceeds from slave to master.

[0039] S5, Delay Calibration: The oscilloscope was used to measure the time difference between the input and feedback of FSYNC, and the average value was taken 10 times. ,calculate .

[0040] S6, synchronous trigger: TIM1 generates trigger pulses with a period of 4166.67μs, which are then synchronized with TRGO to start TIM2 / TIM3 and fan out to each camera. The time difference between each trigger signal is as follows: .

[0041] S7, Feedback Collection: Record trigger time Feedback time with FSYNC .

[0042] S8, Error Calibration: calculate ,like If so, the compensation amount will be adjusted.

[0043] S9, Data Upload: The timestamp is uploaded to Orin NX via isolated RS485.

[0044] S10, IMU synchronization: TIM1 overflow triggers IMU acquisition, and the data is uploaded for motion compensation.

[0045] This solution directly generates trigger pulses through a hardware timer within the main control module. Multi-channel synchronous output is achieved via timer cascading, distributed to each camera via a signal fan-out module, and closed-loop calibration is implemented through delay compensation and feedback modules. This solution achieves microsecond-level synchronous triggering of multiple cameras at low cost, while possessing strong anti-interference capabilities, making it suitable for complex electromagnetic environments such as automotive applications.

[0046] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or basic characteristics. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within the present invention.

[0047] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system, characterized in that, It includes a power management module, a main control module, a timer cascade module, a signal fan-out module, a digital isolation module, a camera configuration module, a delay compensation and feedback module, a communication module, and an IMU module; The main control module uses the AT32F403A chip, which has a built-in master timer TIM1 and slave timers TIM2 and TIM3. It directly generates trigger pulses through hardware timer PWM output. In the timer cascading module, the TRGO signal of TIM1 serves as the trigger input for TIM2 and TIM3, and the timer is configured to trigger slave mode, with initialization prior to master and startup prior to slave. The input terminal of the signal fan-out module is connected to the TIM1 output channel, and the output terminal is divided into multiple channels connected to the FSYNC trigger input pin of each OV9281 camera. The digital isolation module includes ADuM1401 and 6N137, and is located between the main control module and the external interface; The camera configuration module connects to each camera via I2C or a serial interface and is configured for external hardware trigger mode and global shutter mode. The delay compensation and feedback module includes a comparison value offset register and an FSYNC acquisition unit, which are used to independently configure the offset for each channel, receive the FSYNC feedback signal, calculate the synchronization error and dynamically adjust the compensation parameters. The communication module is isolated by an ADuM1401 and then connected to an RS485 bus to communicate with the edge computing unit. The IMU module is connected to the IMU sensor via SPI or I2C bus and triggers synchronous sampling with the camera.

2. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 1, characterized in that, The power management module includes a TVS surge suppression circuit, a π-type LC filter, a first isolation DC-DC converter, and a second isolation DC-DC converter. Its input is connected to a 9V~35V power supply, and its output is connected to the main control module, the camera configuration module, and the signal fan-out module, respectively.

3. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 1, characterized in that, The main control module has a clock frequency of 120MHz, a timer counting period of 8.33ns, a main timer auto-reload value of 50000, a trigger period of 4166.67μs, and a frame rate of 240fps.

4. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 1, characterized in that, The master-slave counter deviation in the timer cascade module is <8.33ns.

5. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 1, characterized in that, The formula for counting the offset of the i-th path in the delay compensation and feedback module is as follows: ; in, Let i be the inherent delay time of the i-th camera. This represents the maximum delay time.

6. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 5, characterized in that, The synchronization error calculation formula in the delay compensation and feedback module is as follows: ; in, The timestamp for receiving the FSYNC feedback signal from the i-th camera. The timestamp is output for the corresponding trigger signal.

7. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 6, characterized in that, The compensation method is as follows: like ,but ;on the contrary, ; in, This is the offset after compensation.

8. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 7, characterized in that, The For the preset threshold, .

9. The microcontroller-based microsecond-level multi-channel global exposure camera synchronous triggering control system according to claim 1, characterized in that, The signal fan-out module has a trace length difference of <1mm between each output channel, a signal propagation speed of v=15cm / ns, a propagation delay deviation of <6.7ps, and a trigger signal time difference of <1μs between each channel.