A timing control method, system and device for a vehicle-mounted camera
Patent Information
- Application Number
- CN202610869970.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-16
- Publication Date
- 2026-09-22
AI Technical Summary
[0008]为了弥补上述不足,本发明提出一种车载摄像头的时序控制方法、系统及设备,解决了现有技术中车载摄像头因时序配置不合理而导致的启动失败、稳定性差及缺乏容错能力的技术问题;提高了摄像头的启动成功率和运行稳定性
[0032]本发明通过标准化的上电延时、复位延时、配置延时和链路稳定延时,确保了各硬件模块在供电稳定和状态就绪后再进行操作,从根本上避免了因时序不匹配导致的配置失效问题,显著提高了摄像头的首次启动成功率。
Smart Images

Figure CN122802785A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle-mounted camera technology, and specifically to a timing control method, system, and device for vehicle-mounted cameras. Background Technology
[0002] With the increasing prevalence of intelligent driving assistance systems, vehicle-mounted blind spot cameras, as core sensing components for achieving advanced driver assistance functions such as blind spot monitoring and lane change assist, face stringent automotive-grade requirements regarding their startup speed, operational stability, and signal reliability. Currently, the configuration timing schemes used in vehicle-mounted blind spot cameras suffer from the following technical shortcomings:
[0003] First, there is a lack of standardized delay processing during the power-on and register configuration phases. Existing technologies typically perform initialization operations before the power supply is stable, which can easily cause camera chips (such as serializers and deserializers) to fail to configure due to power ripple or incomplete state, resulting in the inability to output video streams normally.
[0004] Secondly, the system lacks an effective shielding and interlocking mechanism for repeated trigger or exit signals. When external control commands conflict, such as when a new trigger or exit command is received during startup, the existing solution cannot arbitrate the conflict, leading to timing disorder and causing the camera to repeatedly start and stop abnormally, thus affecting system stability.
[0005] Secondly, the existing register configuration process lacks a readback verification step. When a register write operation fails due to communication interference or other reasons, the system cannot detect it in time, leading to configuration errors. Furthermore, the system lacks automatic recovery logic after video stream loss, requiring external intervention to restart.
[0006] Finally, the device lacks necessary delay protection during the power-down process. If a rapid power-on or power-off operation is performed within a very short time, residual charge may cause chip damage or communication logic malfunctions because the power supply is not fully discharged.
[0007] The aforementioned problems directly lead to vehicle camera startup failures, image lag, or signal interruptions, severely affecting the availability of safety functions such as blind spot monitoring and reducing the redundancy of driving safety. Summary of the Invention
[0008] To overcome the above deficiencies, this invention proposes a timing control method, system, and device for vehicle-mounted cameras, which solves the technical problems of startup failure, poor stability, and lack of fault tolerance caused by unreasonable timing configuration of vehicle-mounted cameras in the prior art; and improves the startup success rate and operational stability of the camera.
[0009] To achieve the above objectives, the present invention adopts the following technical solution:
[0010] In a first aspect, the present invention provides a timing control method for an in-vehicle camera, the method comprising:
[0011] In response to the trigger signal, the power supply to the vehicle camera is turned on, and the deserializer is initialized after the power supply stabilizes to establish a communication link;
[0012] Using the communication link, the serializer is reset and its functions are configured.
[0013] Based on the configured serializer, enable the video stream output of the image sensor and confirm the video link status;
[0014] Based on the confirmation result of the video link status, maintain power supply enable and block repeated trigger signals;
[0015] In response to the exit signal, power is disconnected and the system waits for it to fully discharge before responding to the next trigger signal.
[0016] Optionally, after powering on the vehicle-mounted camera, the process further includes waiting for a first preset duration to allow the power supply to stabilize.
[0017] Optionally, the step of resetting and configuring the serializer includes: writing a first reset value to the first register of the serializer and waiting for a second preset duration; writing a second reset value to the second register of the serializer and waiting for the second preset duration; and writing the first reset value to the first register again and waiting for the second preset duration.
[0018] Each time a reset value is written to the first register and the second preset time is waited, a readback operation is performed to confirm that the written value is consistent with the expected value.
[0019] Optionally, the step of resetting and configuring the serializer further includes: configuring the serializer's function registers in steps, and waiting for a third preset time after writing a configuration value to each function register.
[0020] Optionally, enabling the image sensor video stream output includes writing configuration parameters through the image sensor's parameter storage module.
[0021] Optionally, the confirmation of the video link status includes: waiting for a fifth preset duration, writing a link lock value to the first register of the serializer, waiting for the fourth preset duration, and performing a readback confirmation.
[0022] Optionally, maintaining power supply enable and shielding repeated trigger signals specifically includes: after the deserializer enables video stream output, the microcontroller maintains power supply enable and waits for a sixth preset time period. If a new trigger signal is received during this waiting period, it will not be processed.
[0023] Optionally, disconnecting the power supply and waiting for the system to fully discharge includes: waiting for a seventh preset time after disconnecting the power supply; if a trigger signal is received again during the waiting period of the seventh preset time, then restarting the process from the enabled power supply after the seventh preset time is completed.
[0024] Secondly, the present invention provides a timing control system for an in-vehicle camera, comprising:
[0025] The timing master control module is used to respond to the trigger signal, turn on the power supply of the vehicle camera, and initialize the deserializer after the power supply stabilizes in order to establish a communication link;
[0026] The reset configuration module is used to perform reset and function configuration on the serializer using the communication link;
[0027] The confirmation module is used to enable the video stream output of the image sensor based on the configured serializer and to confirm the video link status.
[0028] The steady-state maintenance module is used to maintain power supply enable and shield repeated trigger signals based on the confirmation result of the video link status.
[0029] The power-down control module is used to disconnect the power supply and wait for the system to fully discharge in response to the exit signal, so as to allow the next trigger signal to be responded to.
[0030] A third aspect of the present invention provides an electronic device including a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of the first aspects.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] This invention ensures that each hardware module operates only after power supply is stable and the state is ready by standardizing power-on delay, reset delay, configuration delay and link stabilization delay. This fundamentally avoids configuration failure caused by timing mismatch and significantly improves the first-time startup success rate of the camera.
[0033] By setting up runtime hold delay and power-down delay interlock mechanisms, repeated triggering or instruction conflict signals are effectively shielded during sensitive phases (such as the stable output period of the video stream and the hardware discharge period), eliminating the risk of timing disorder and improving the robustness of the system in complex instruction environments.
[0034] By introducing register write-readback verification and a multiple retry mechanism, configuration errors can be detected and attempted to be repaired in a timely manner. When the software retry fails, a hardware power-off restart process is automatically triggered, realizing unattended self-recovery after video stream loss, which greatly enhances the system's fault tolerance and long-term operational reliability.
[0035] The power-down delay protection mechanism ensures complete discharge of the hardware power supply, preventing chip damage or communication abnormalities caused by rapid power-up and power-down, and meeting the stringent requirements of automotive-grade products for long-term reliability. Attached Figure Description
[0036] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.
[0037] Figure 1 A flowchart of a timing control method for an in-vehicle camera provided in an embodiment of the present invention;
[0038] Figure 2 This is a schematic diagram of the pocket stop combination switch structure provided in an embodiment of the present invention;
[0039] Figure 3 A timing control device diagram for an in-vehicle camera provided in an embodiment of the present invention;
[0040] Figure 4 A block diagram of a timing control method for an in-vehicle camera provided in an embodiment of the present invention;
[0041] Figure 5 This is an internal structure diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0042] The embodiments of the technical solution of the present invention will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of the present invention and are therefore merely examples, and should not be construed as limiting the scope of protection of the present invention.
[0043] It should be noted that, unless otherwise stated, the technical or scientific terms used in this invention should have the ordinary meaning as understood by one of ordinary skill in the art.
[0044] This invention provides a timing control method, system, and device for an in-vehicle camera, and particularly relates to a timing control method and system for an in-vehicle camera used in an intelligent driving assistance system. Embodiments of this invention are described below with reference to the accompanying drawings.
[0045] Example 1: This example describes in detail the specific execution flow of a timing control method for an in-vehicle camera. The overall flow can be found by referring to... Figure 1 The method specifically includes the following steps:
[0046] S101 responds to the trigger signal, turns on the power supply to the vehicle camera, and initializes the deserializer after the power supply stabilizes to establish a communication link;
[0047] S102 uses the communication link to perform a reset and function configuration on the serializer;
[0048] S103 enables the image sensor video stream output based on the configured serializer and confirms the video link status.
[0049] S104 maintains power supply enable and blocks repeated trigger signals based on the confirmation result of the video link status;
[0050] In response to the exit signal, S105 disconnects the power supply and waits for the system to fully discharge before responding to the next trigger signal.
[0051] After turning on the power supply to the vehicle camera as described in step S101, the process also includes waiting for a first preset time to allow the power supply to stabilize.
[0052] Step S102, the reset and function configuration of the serializer includes: writing a first reset value to the first register of the serializer and waiting for a second preset time; writing a second reset value to the second register of the serializer and waiting for the second preset time; writing the first reset value to the first register again and waiting for the second preset time.
[0053] Each time a reset value is written to the first register and the second preset time is waited, a readback operation is performed to confirm that the written value is consistent with the expected value.
[0054] Furthermore, resetting and configuring the serializer also includes: configuring the serializer's function registers in steps, and waiting for a third preset time after writing a configuration value to each function register.
[0055] Step S103, enabling the image sensor video stream output includes: writing configuration parameters through the image sensor's parameter storage module.
[0056] Step S103, confirming the video link status includes: waiting for a fifth preset duration, writing a link lock value to the first register of the serializer, waiting for the fourth preset duration, and performing a readback confirmation.
[0057] In step S104, maintaining power supply enable and shielding repeated trigger signals specifically includes: after the deserializer enables video stream output, the microcontroller maintains power supply enable and waits for a sixth preset time period. If a new trigger signal is received during this waiting period, it will not be processed.
[0058] Step S105 disconnecting the power supply and waiting for the system to fully discharge includes: waiting for a seventh preset time after disconnecting the power supply; if a trigger signal is received again during the waiting period of the seventh preset time, the system will resume execution from the enabled power supply after the seventh preset time is completed.
[0059] In one embodiment, when the readback confirmation fails in step S105, an exception recovery process is triggered.
[0060] The abnormal recovery process includes: when a register readback verification failure or video stream loss is detected, the system-on-a-chip triggers a counting operation; if the number of consecutive retries does not reach the preset threshold, the current configuration steps are re-executed; if the number of consecutive retries reaches the preset threshold and all fail, the system-on-a-chip sends a power-off command to the microcontroller, the microcontroller performs a power-off restart of the camera, and re-executes from step S101.
[0061] Example 2: In one embodiment, Example 2 of the present invention provides a timing control system for an in-vehicle camera, the system as follows: Figure 2 As shown, it includes: a timing master control module 210, a reset configuration module 220, a confirmation module 230, a steady-state maintenance module 240, and a power-down control module 250, wherein:
[0062] The timing master control module 210 is used to respond to the trigger signal, turn on the power supply of the vehicle camera, and initialize the deserializer after the power supply stabilizes in order to establish a communication link;
[0063] The reset configuration module 220 is used to perform reset and function configuration on the serializer using the communication link;
[0064] The confirmation module 230 is used to enable the video stream output of the image sensor based on the configured serializer and to confirm the video link status.
[0065] The steady-state maintenance module 240 is used to maintain power supply enable and block repeated trigger signals based on the confirmation result of the video link status.
[0066] The power-down control module 250 is used to disconnect the power supply and wait for the system to fully discharge in response to the exit signal, so as to allow the response to the next trigger signal.
[0067] Example 3: Example 3 provides a timing control device for an in-vehicle camera. This device is applied to a blind spot camera module of a certain vehicle model as a specific implementation object. It is understood that the technical solution of the present invention is also applicable to other types of in-vehicle cameras such as front-view cameras, surround-view cameras, and rear-view cameras.
[0068] Please see Figure 3 The device mainly includes: a microcontroller (MCU) and a MAX96718 deserializer installed on the vehicle's infotainment system, and a MAX9295A serializer, an image sensor, and a FLASH configuration storage module installed on the camera.
[0069] Among them, the microcontroller is the core of the entire timing control. It is responsible for receiving trigger signals or exit signals from the vehicle controller, and executing power supply enable, delay control at all levels, signal shielding and interlock determination, and triggering abnormal reset process.
[0070] The microcontroller includes the functional modules in Embodiment 2 above: timing master control module 210, reset configuration module 220, confirmation module 230, steady state maintenance module 240, and power-down control module 250;
[0071] The MAX96718 deserializer is located at the vehicle's infotainment system and is a video receiver chip. After receiving instructions from the microcontroller, it completes its own initialization and executes the video stream output enable (start_stream), forwarding the video data from the camera to the subsequent domain controller for processing.
[0072] The MAX9295A serializer, located at the camera end, is a video transmission chip. It is responsible for receiving instructions from the microcontroller, performing reset and internal register configuration, and forwarding the MIPI (Mobile Industry Processor Interface) stream from the image sensor to the GMSL (Gigabit Multimedia Serial Link) link.
[0073] The image sensor is the core of image acquisition, and its initialization parameters are stored in an internal flash memory module. Once configured, the image sensor outputs a MIPI video stream.
[0074] Based on the hardware architecture described above, this embodiment describes a timing control method. Please refer to... Figure 4 The flowchart shown below illustrates the detailed steps of this method:
[0075] I. Power-on Triggering Phase
[0076] When the microcontroller detects a trigger signal from the vehicle's blind spot camera (such as when reverse gear is engaged or lane change assist is activated), it immediately executes the first-level operation: enabling power supply to the camera module. Simultaneously, the microcontroller's built-in timer begins counting, waiting for a first preset duration.
[0077] In this embodiment, the first preset duration is specifically 300 milliseconds. The core function of this delay is to wait for the power chip output at the camera end to stabilize, suppress power ripple at the moment of power-on, and ensure that the reset and power-on initialization sequence inside the image sensor can be fully executed. If this delay is too short, unstable power supply or sensor not ready before proceeding to the next operation will directly lead to serializer initialization failure.
[0078] II. Deserializer Initialization Phase
[0079] After a 300-millisecond power-on stabilization delay, the microcontroller considers the power supply stable. At this point, the MAX96718 deserializer on the vehicle's infotainment system begins its initialization process. This process includes loading firmware and configuring the internal clock. After initialization, the system automatically enters the serializer's reset process.
[0080] III. MAX9295A Serializer Reset and Configuration Stage
[0081] This stage is one of the core timing control points of this invention, and includes multiple sub-steps and a readback verification mechanism.
[0082] First reset: The microcontroller writes a first reset value (0x43) to the first register (address 0x0404) of the serializer MAX9295A via the I2C bus. This operation triggers a soft reset of the serializer. After writing, the system immediately waits for a second preset duration, which is 40 milliseconds in this embodiment.
[0083] Readback Confirmation: After a 40-millisecond delay, the microcontroller performs a readback operation, reading the current value of register 0x0404 and comparing it with the preset value 0x43. If they match, the reset instruction has been successfully executed; if they do not match, an error is recorded.
[0084] Second reset: The microcontroller then writes a second reset value (0x80) to the second register (address 0x0010). This operation is used to configure specific functions of the serializer. After writing, the system waits again for 40 milliseconds.
[0085] Third reset: To ensure the stability of the reset and configuration state, the microcontroller will write 0x43 to the first register 0x0404 again, wait for 40 milliseconds, and then perform a readback confirmation.
[0086] The aforementioned 40-millisecond delay is based on the typical reset time of 10-20 milliseconds in the serializer datasheet, and is set with a 2x margin to cope with power fluctuations in automotive-grade applications.
[0087] After completing the core reset, the microcontroller enters the step-by-step configuration register stage. It sequentially writes configuration parameters to multiple function registers, waiting for a third preset duration after each write (10 milliseconds in this embodiment). For example:
[0088] Write 0x64 to register 0x0315, with a 10-millisecond delay;
[0089] Write 0x11 to register 0x0331, with a delay of 10 milliseconds;
[0090] Write 0x40 to register 0x0407, with a delay of 10 milliseconds.
[0091] This 10-millisecond delay is used to ensure that the configuration parameters can be stably written to the register and to complete any possible cross-clock domain synchronization processes.
[0092] IV. Image Sensor MIPI Stream Output and Link Locking Stage
[0093] After the serializer is configured, the system begins to activate the image sensor.
[0094] First, enable the write function of the internal flash memory module of the image sensor to write the pre-stored configuration parameters applicable to the current scenario into the corresponding registers of the image sensor.
[0095] Next, the microcontroller writes an enable value (0x01) to the serializer's third register (address 0x0100) to enable MIPI stream output from the image sensor. After writing, it waits for a fourth preset duration, which is 10 milliseconds in this embodiment, and then performs a readback confirmation. This 10-millisecond delay covers the time for MIPI clock locking and serializer receiver synchronization.
[0096] Subsequently, the system enters a critical waiting period: waiting for the fifth preset duration, which is 360 milliseconds in this embodiment. This 360-millisecond delay is crucial, as it superimposes the time required for the image sensor to complete the entire initialization process (typically 200-300 milliseconds) and the time required for the GMSL link to complete training and locking. To increase automotive-grade margin, this embodiment adds approximately 10% margin on top of this.
[0097] After a 360-millisecond delay, the microcontroller writes the link lock value (0x83) to the first register 0x0404. This operation notifies the serializer that the image source is ready and can attempt to establish the final link lock. After writing, it waits another 10 milliseconds (the fourth preset duration) and reads back for confirmation. If the readback is successful, it indicates that the GMSL link has been successfully locked, and the video stream is ready at the physical layer.
[0098] V. Video Stream Enabling and Operation Protection Phase
[0099] After the link is locked, the MAX96718 deserializer executes the csi_out_en(start_stream) instruction to start outputting the video stream to the domain controller and notifies the microcontroller that the video stream has been output normally.
[0100] At this point, the microcontroller enters a hold state: it continues to power and enable the camera and starts a timer for a sixth preset duration, 500 milliseconds in this embodiment. During this 500-millisecond "protection period," if the microcontroller receives another trigger signal from the same blind spot camera on the vehicle, it will determine that it is a duplicate trigger or a false trigger and perform a shielding operation, that is, it will not respond to this new signal, allowing the currently working video stream to continue to be output stably. This mechanism effectively eliminates repeated start-stop cycles caused by switch jitter or system misjudgment, ensuring driving safety.
[0101] VI. Power-off Protection Phase
[0102] When the microcontroller receives a valid exit trigger signal (such as reversing end or lane change assist deactivated), it executes the power-down procedure.
[0103] The microcontroller immediately disconnects the power supply to the camera and simultaneously starts a timer with a seventh preset duration, which is 300 milliseconds in this embodiment.
[0104] This 300-millisecond delay is used to allow the filter capacitors and energy storage components on the camera module's power rail to completely discharge. If power is restored immediately after power-down, the residual charge in the capacitors may prevent the chip from entering a properly reset state, potentially leading to logic errors or a failure to lock the circuit upon the next power-up.
[0105] More importantly, this invention incorporates a power-down trigger interlock mechanism: during the 300-millisecond discharge wait period, if the microcontroller receives a new trigger signal, it will not respond immediately. Instead, it must wait for the 300-millisecond delay to completely end before re-executing the complete power-up sequence (i.e., starting from the enable power supply). This design completely eliminates the risk of hardware damage caused by rapid power-up and power-down, and ensures that the system is in a clean and deterministic initial state each time it starts up.
[0106] VII. Abnormal Recovery Mechanism
[0107] This embodiment also includes a robust automatic anomaly recovery process, further improving the system's fault tolerance.
[0108] The system-on-chip (SoC) continuously monitors the status of the video stream. When it attempts to access the serializer's 0x0404 register via I2C but fails to respond after three consecutive retries (readback failure or communication timeout), or detects an unexpected loss of the video stream, it triggers an exception recovery process.
[0109] In this process, the SoC first records an "anomaly count". If the anomaly can be resolved by software retry (e.g., resending a configuration command and succeeding), the count is reset to zero. If three consecutive retries fail, the SoC determines it to be a serious anomaly and sends a clear power-down command to the microcontroller.
[0110] Upon receiving the instruction, the microcontroller immediately performs a complete hardware reset: first, it disconnects the camera power supply, waits 300 milliseconds for discharge, then re-enables the power supply and starts executing all the standard timing procedures described above from the beginning. This two-level recovery mechanism of "software retry + hardware power failure restart" ensures that in most abnormal situations, the system can recover automatically without user intervention.
[0111] Comparative Results: Without the solution described in this invention, the intermittent startup failure rate of the blind spot camera in prototype vehicle testing was approximately 3%, and there was about a 0.5% probability of the camera "crashing" during rapid power-on / off operations, requiring a power outage of the entire vehicle to recover. However, after adopting the timing scheme described in this invention, through standardized 300ms power-on delay, 40ms reset delay, 10ms configuration delay, 360ms link training delay, 500ms runtime hold delay, and 300ms power-off delay, combined with write-readback verification and automatic fault reset mechanisms, the following results were achieved in mass production verification:
[0112] The power-on failure rate was reduced from 3% to below 0.1%, with the remaining failures mainly related to physical hardware damage rather than timing issues.
[0113] The failure rate caused by rapid power-on and power-off was reduced from 0.5% to below 0.01%, and the protection mechanism effectively prevented the chip from entering an undefined state due to abnormal timing.
[0114] The microcontroller can effectively shield the repetitive and jittery trigger signals sent by the vehicle body control module, and there has never been a video stream interruption due to instruction conflicts.
[0115] In summary, this invention systematically solves several pain points in the startup, operation, and power-off processes of automotive cameras in automotive-grade applications through a rigorous, hierarchical fixed delay timing sequence with fault tolerance and interlocking mechanisms, and has extremely high practical and commercial value.
[0116] Example 4: In one embodiment, Example 4 of the present invention also provides an electronic device; the electronic device may be a terminal, and its internal structure diagram may be as follows. Figure 5 As shown. The electronic device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements the timing control method for an in-vehicle camera as described in any one of steps S101 to S105. The display screen can be a liquid crystal display (LCD) or an e-ink display. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the device's casing, or an external keyboard, touchpad, or mouse.
[0117] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device to which the present invention is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0118] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0119] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0120] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0121] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0122] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of the claims of the present invention pending approval.
Claims
1. A timing control method for an in-vehicle camera, characterized in that, The method includes: In response to the trigger signal, the power supply to the vehicle camera is turned on, and the deserializer is initialized after the power supply stabilizes to establish a communication link; Using the communication link, the serializer is reset and its functions are configured. Based on the configured serializer, enable the video stream output of the image sensor and confirm the video link status; Based on the confirmation result of the video link status, maintain power supply enable and block repeated trigger signals; In response to the exit signal, power is disconnected and the system waits for it to fully discharge before responding to the next trigger signal.
2. The method according to claim 1, characterized in that, After powering on the vehicle-mounted camera, the process includes waiting for a first preset time to allow the power supply to stabilize.
3. The method according to claim 1, characterized in that, The process of resetting and configuring the serializer includes: writing a first reset value to the first register of the serializer and waiting for a second preset duration; writing a second reset value to the second register of the serializer and waiting for the second preset duration; and writing the first reset value to the first register again and waiting for the second preset duration. Each time a reset value is written to the first register and the second preset time is waited, a readback operation is performed to confirm that the written value is consistent with the expected value.
4. The method according to claim 1, characterized in that, The process of resetting and configuring the serializer further includes: configuring the serializer's function registers in steps, and waiting for a third preset time after writing a configuration value to each function register.
5. The method according to claim 1, characterized in that, Enabling the image sensor video stream output includes writing configuration parameters through the image sensor's parameter storage module.
6. The method according to claim 1, characterized in that, The confirmation of the video link status includes: waiting for a fifth preset duration, writing a link lock value to the first register of the serializer, waiting for the fourth preset duration, and performing a readback confirmation.
7. The method according to claim 1, characterized in that, The specific steps of maintaining power supply enable and shielding repeated trigger signals include: after the deserializer enables video stream output, the microcontroller maintains power supply enable and waits for a sixth preset time period. If a new trigger signal is received during this waiting period, it will not be processed.
8. The method according to claim 1, characterized in that, The process of disconnecting the power supply and waiting for the system to fully discharge includes: waiting for a seventh preset time after disconnecting the power supply; if a trigger signal is received again during the seventh preset time, the process restarts from the enabled power supply after the seventh preset time has elapsed.
9. A timing control system for an in-vehicle camera, characterized in that, include: The timing master control module is used to respond to the trigger signal, turn on the power supply of the vehicle camera, and initialize the deserializer after the power supply stabilizes in order to establish a communication link; The reset configuration module is used to perform reset and function configuration on the serializer using the communication link; The confirmation module is used to enable the video stream output of the image sensor based on the configured serializer and to confirm the video link status. The steady-state maintenance module is used to maintain power supply enable and shield repeated trigger signals based on the confirmation result of the video link status. The power-down control module is used to disconnect the power supply and wait for the system to fully discharge in response to the exit signal, so as to allow the next trigger signal to be responded to.
10. An electronic device, comprising a memory and a processor, characterized in that, The memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 8.