Termination resistance dynamic switching circuit and image acquisition device

By independently adjusting the differential-mode terminating resistor array and the common-mode terminating branch, the problems of signal jitter and common-mode noise suppression caused by direct series connection of switching devices in the prior art are solved. Flexible adjustment of differential-mode impedance matching and common-mode noise suppression is achieved, ensuring high-quality transmission of high-speed signals.

CN123185461APending Publication Date: 2026-11-27PULLMAN (HANGZHOU) IND TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611685894.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing dynamic termination solutions, the switching devices are directly connected in series on the main path of the differential signal, which causes the on-resistance and parasitic capacitance to disrupt the impedance continuity, introduce signal jitter and return loss. At the same time, differential impedance matching and common-mode noise suppression cannot be adjusted independently, making it difficult to meet the needs of different transmission scenarios.

Method used

By employing a differential-mode termination resistor array and a common-mode termination branch, the differential-mode and common-mode termination states can be independently adjusted through a switch array, avoiding direct series connection of switching devices to the main path of the differential signal. The control module enables flexible adjustment of differential-mode impedance and common-mode noise.

Benefits of technology

It achieves both flexibility in differential-mode impedance matching and common-mode noise suppression in different transmission scenarios, ensuring the transmission quality and electromagnetic compatibility performance of high-speed signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185461A_ABST
    Figure CN123185461A_ABST
Patent Text Reader

Abstract

The application relates to a terminated resistance dynamic switching circuit and an image acquisition device. The circuit comprises two differential mode terminated resistance arrays, one of which is connected to a differential signal positive end, and the other is connected to a differential signal negative end, each differential mode terminated resistance array comprising a plurality of resistances connected in series; two switch arrays, each switch array being connected with a series node of the corresponding side differential mode terminated resistance array; two common mode terminated branches, each common mode terminated branch being connected with the corresponding side switch array at one end and connected with a common mode voltage end at the other end; and a control module connected with the two switch arrays and used for controlling the state of the switch arrays to switch the access resistance value of the differential mode terminated resistance array and the access state of the common mode terminated branch. By adopting the circuit, the parasitic parameters of the switch array can be isolated from the main transmission path of the differential signal, and the impedance matching requirement and the electromagnetic compatibility performance can be considered in different transmission scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of high-speed serial interface circuit technology, and in particular to a dynamic switching circuit for termination resistors and an image acquisition device. Background Technology

[0002] Mobile industrial cameras and automotive vision systems widely employ high-speed serial interfaces such as MIPI (Mobile Industry Processor Interface) or LVDS (Low-Voltage Differential Signaling) to transmit image data. To ensure signal integrity, the receiving end of these interfaces typically requires a differential-mode termination resistor matched to the characteristic impedance of the transmission line to eliminate signal reflection. Simultaneously, a common-mode termination branch is incorporated to suppress common-mode noise and mitigate electromagnetic interference.

[0003] To address the issue that fixed termination resistors in traditional termination resistor schemes cannot adapt to different scenarios, dynamic termination technology has emerged. This technology involves changing the value of the differential-mode resistor by switching on and off the device to adapt to different transmission conditions.

[0004] However, existing dynamic termination schemes have two drawbacks. Firstly, the switching devices are typically connected in series on the main transmission path of the differential signal. The on-resistance and parasitic capacitance of these devices disrupt the impedance continuity of the differential lines, easily introducing signal jitter and return loss. Secondly, the common-mode termination branch is often coupled to the differential-mode termination switch, making it impossible to independently adjust differential-mode impedance matching and common-mode noise suppression. This makes it difficult to simultaneously meet impedance matching requirements and electromagnetic compatibility performance in different transmission scenarios. Summary of the Invention

[0005] Therefore, it is necessary to provide a dynamic switching circuit for termination resistors and an image acquisition device that can simultaneously achieve independent adjustment of differential-mode impedance and common-mode noise, addressing the aforementioned technical problems.

[0006] In a first aspect, this application provides a dynamic switching circuit for termination resistors, comprising:

[0007] Two differential-mode terminating resistor arrays, one connected to the positive terminal of the differential signal and the other connected to the negative terminal of the differential signal, each of the differential-mode terminating resistor arrays including multiple resistors connected in series;

[0008] Two switch arrays are connected to the differential mode terminating resistor array, wherein each switch array is connected to a series node of the corresponding differential mode terminating resistor array.

[0009] Two common-mode terminal branches are connected to the switch array, wherein one end of each common-mode terminal branch is connected to the switch array on the corresponding side, and the other end is connected to the common-mode voltage terminal;

[0010] A control module, connected to the two switch arrays, is used to control the state of the switch arrays to switch the input resistance value of the differential mode termination resistor array and the input state of the common mode termination branch.

[0011] Secondly, this application also provides an image acquisition device, including an image sensor and a terminating resistor dynamic switching circuit as described in any one of the first aspects.

[0012] The aforementioned dynamic switching circuit for termination resistors and image acquisition equipment avoids the influence of the on-resistance and parasitic capacitance of the switching devices on high-speed signals by connecting the two switch arrays to the intermediate nodes of the corresponding side series resistors, rather than directly connecting them in series on the main path of the differential signal. Simultaneously, the control module can independently adjust the target access resistance value of the differential-mode termination resistor array and the target access state of the common-mode termination branch by controlling the on / off state of each switch in the switch array. This ensures both the flexibility of differential-mode impedance matching under different transmission scenarios and the flexible activation of common-mode noise suppression, thus balancing impedance matching requirements and electromagnetic compatibility performance. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 This is a schematic diagram of the structure of a dynamic switching circuit for termination resistors in one embodiment;

[0015] Figure 2 This is a schematic diagram of the differential-mode terminating resistor array in another embodiment;

[0016] Figure 3 This is a schematic diagram of the common-mode termination branch in one embodiment;

[0017] Figure 4 This is a schematic diagram of the structure of an image acquisition device in one embodiment;

[0018] Figure 5 This is a schematic diagram of the differential-mode terminating resistor array in a specific embodiment;

[0019] Figure 6 This is a schematic diagram of the execution flow of the control module in one embodiment. Detailed Implementation

[0020] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application.

[0022] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0023] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0024] It is understandable that "at least one" refers to one or more, and "multiple" refers to two or more. "At least a part of an element" refers to part or all of an element.

[0025] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0026] In high-speed serial interface circuits, the signal transmission link typically includes a driver and a receiver. The driver outputs a high-speed differential signal, which is transmitted to the receiver via a transmission line. When the characteristic impedance of the transmission line is inconsistent with the input impedance of the receiver, the signal will be reflected at the impedance discontinuity, leading to signal distortion, eye diagram closure, and increased bit error rate. To eliminate reflection, a termination resistor matching the characteristic impedance of the transmission line needs to be set at the receiver.

[0027] Differential signal termination is generally divided into three types: differential-mode signal termination, common-mode signal termination, and differential-mode and common-mode signal termination. The differential-mode termination resistor is connected between the positive terminal (P) and the negative terminal (N) of the differential signal to match the differential impedance and absorb differential-mode reflected signals. The common-mode termination branch is usually composed of a resistor network, with one end connected to the differential signal line and the other end connected to the common-mode voltage terminal, used to release common-mode noise and suppress electromagnetic interference. In this application, the load side refers to the side where the differential signal is input to the receiving chip; the signal input side is the side closest to the image sensor drive output.

[0028] However, in applications such as camera modules and automotive vision systems, transmission links involve various scenarios, including short-distance and long-distance coaxial cables within the board, as well as multi-camera cascading, with transmission rates ranging from 80Mbps to 4Gbps. Fixed-value termination resistors cannot simultaneously adapt to different link lengths and rates. To address this issue, dynamic termination schemes have emerged in existing technologies, which change the connected resistance value by switching. However, these schemes often connect the switch directly in series on the differential signal main path, and the parasitic parameters of the switch can degrade the quality of high-speed signals. Furthermore, differential-mode termination and common-mode termination cannot be adjusted independently, making it difficult to simultaneously achieve impedance matching and electromagnetic interference suppression.

[0029] Therefore, this embodiment provides a termination resistor dynamic switching circuit 100, the structure of which is as follows: Figure 1 As shown, it includes two differential-mode terminating resistor arrays 110, two switch arrays 120, two common-mode terminating branches 130, and a control module 140.

[0030] In this configuration, one of the two differential-mode terminating resistor arrays is connected to the positive terminal of the differential signal, and the other is connected to the negative terminal of the differential signal. Each differential-mode terminating resistor array includes multiple resistors connected in series.

[0031] Specifically, multiple resistors are connected in series and then integrated into the main transmission path of the differential signal. By changing the effective resistance segment actually connected to the main path in the resistor array, the equivalent differential-mode termination resistance between the positive and negative terminals of the differential signal can be adjusted.

[0032] Two switch arrays are connected to a differential-mode terminating resistor array, wherein each switch array is connected to a series node of the differential-mode terminating resistor array on the corresponding side.

[0033] Specifically, one end of each switch array is connected to the series node between adjacent resistors in the corresponding differential-mode terminating resistor array, and the other end is connected to the common-mode terminating branch on the corresponding side. Each switching element in the switch array is connected from the bypass branch leading out of the series node, so that the parasitic parameters of the switching element itself do not directly affect the differential main link.

[0034] Two common-mode termination branches are connected to the switch array, with one end of each common-mode termination branch connected to the corresponding side of the switch array and the other end connected to the common-mode voltage terminal.

[0035] Specifically, the common-mode termination branch is used to connect the positive or negative terminal of the differential signal to the common-mode voltage via a portion of the resistor array when the corresponding switch in the switch array is turned on. This provides a common-mode current return path for the differential signal, thereby suppressing common-mode noise. The common-mode voltage terminal provides a stable reference voltage that matches the common-mode voltage specification of the interface protocol used by the differential signal.

[0036] The control module is connected to two switch arrays and is used to control the state of the switch arrays to switch the input resistance value of the differential mode terminating resistor array and the input state of the common mode terminating branch.

[0037] It is understandable that by changing the on / off combination of the switch array, the control module can switch the number of effective resistance segments connected to the differential main path in the differential mode termination resistor array, thereby adjusting the equivalent resistance value of the differential mode termination; at the same time, the control module can also independently control the connection and disconnection between the common mode termination branch and the differential signal terminal, thereby independently controlling the access state of the common mode termination.

[0038] In the aforementioned dynamic termination resistor switching circuit, differential-mode termination resistor arrays, each consisting of multiple resistors connected in series, are set at both the positive and negative terminals of the differential signal. The connection point of the switch array is located at the series node of the resistor array, thus isolating parasitic parameters such as the on-resistance and parasitic capacitance of the switching elements from the main transmission link. During the process of the control module driving the switch array to switch termination resistance values ​​or adjust the common-mode termination state, the impedance of the differential main path is unaffected by the switch parasitic parameters. This ensures the transmission quality of high-speed differential signals while achieving dynamic switching of multiple termination resistor levels and flexible configuration of common-mode termination.

[0039] In some embodiments, the two differential-mode terminating resistor arrays are symmetrical circuit structures. For example... Figure 2As shown, the differential-mode terminating resistor array connected to the positive terminal of the differential signal includes a first resistor R1 and a second resistor R2 connected in series. The first node Mp formed by the first resistor R1 and the second resistor R2 is connected to the corresponding switch array. Correspondingly, the differential-mode terminating resistor array connected to the negative terminal of the differential signal includes a third resistor R3 and a fourth resistor R4 connected in series. The second node Mn formed by the third resistor R3 and the fourth resistor R4 is connected to the switch array on the corresponding side.

[0040] The aforementioned symmetrical structure ensures that the termination impedance characteristics of the positive and negative terminals of the differential signal remain consistent. The switch array is connected to the intermediate node of the series resistor and is not connected to the main differential transmission path, allowing for flexible switching of the resistance value of the differential termination resistor connected to the main link.

[0041] Furthermore, in an exemplary embodiment, the two switch arrays have a symmetrical circuit structure. The switch array connected to the positive terminal of the differential signal includes a first switch Q1 and a second switch Q2. The first switch Q1 is connected between the first node Mp and the corresponding common-mode termination branch, and the second switch Q2 is connected between the load side of the positive terminal of the differential signal and the corresponding common-mode termination branch. Symmetrically, the switch array connected to the negative terminal of the differential signal includes a third switch Q3 and a fourth switch Q4. The third switch Q3 is connected between the second node Mn on one side of the negative terminal of the differential signal and the corresponding common-mode termination branch, and the fourth switch Q4 is connected between the load side of the negative terminal of the differential signal and the corresponding common-mode termination branch.

[0042] In this structure, the first switch Q1 and the third switch Q3 control the on / off state of the common-mode connection branches from the intermediate nodes on both sides, respectively; the second switch Q2 and the fourth switch Q4 control the on / off state of the common-mode connection branches from the load terminals on both sides, respectively. By controlling the on / off combinations of the first to fourth switches, the control module can independently control the switching on and off of the common-mode connection branches while adjusting the resistance value of the differential-mode connection resistor array.

[0043] In some exemplary embodiments, the common-mode termination branch includes a common-mode resistor and a capacitor, which are connected in parallel to form an RC circuit.

[0044] Specifically, such as Figure 3 As shown, the common-mode termination branch has a symmetrical circuit structure. The common-mode termination branch connected to the positive terminal of the differential signal includes a first capacitor Ccm1 and a first common-mode resistor Rcm1, which are connected in parallel. Symmetrically, the common-mode termination branch connected to the negative terminal of the differential signal includes a second capacitor Ccm2 and a second common-mode resistor Rcm2.

[0045] The aforementioned RC parallel structure can provide a low-impedance AC path for high-frequency common-mode noise during the switching of the switch array, suppressing common-mode voltage ringing.

[0046] It is understood that the aforementioned dynamic termination resistor switching circuit, as an independent functional module, can be integrated into various differential signal receiving devices. In practical applications, when an image sensor outputs image data through high-speed serial interfaces such as MIPI or LVDS, the transmission rate and transmission line length may change depending on the operating mode or application scenario. Therefore, based on the same inventive concept, this application also provides an image acquisition system that implements the aforementioned dynamic termination resistor switching circuit. The solution provided by this device is similar to the solution described in the above method. Therefore, in one or more embodiments of the dynamic termination resistor switching circuit provided below, the specific limitations of the relevant circuits can be found in the limitations of the corresponding dynamic termination resistor switching circuit described above, and will not be repeated here.

[0047] In one exemplary embodiment, an image acquisition device is provided, including an image sensor and a termination resistor dynamic switching circuit as described in any of the above embodiments.

[0048] Specifically, such as Figure 4 As shown, the control module 140 includes a speed detection unit 141, a distance detection unit 142, a gear matching unit 143, and a switch drive unit 144.

[0049] The rate detection unit 141 is used to detect the signal transmission rate of the differential signal and simultaneously acquire the bit error rate of the differential signal. The distance detection unit 142 is used to detect the signal transmission distance of the differential signal, and the detection method can be any method such as hardware detection by a time-domain reflectometer or software estimation based on signal attenuation parameters. The range matching unit 143 is used to determine the target resistance value of the differential-mode terminating resistor array and the target access state of the common-mode terminating branch according to the signal transmission rate and signal transmission distance. The switch driving unit 144, connected to the switch array, is used to output switch control signals according to the target resistance value and target access state to adjust the on / off combination of the switch array.

[0050] In this embodiment, the control module acquires transmission parameters in real time through the rate detection unit and the distance detection unit, the gear matching unit automatically determines the termination configuration suitable for the current scene, and the switch driving unit drives the switch array to perform switching, so that the image acquisition device can adaptively adjust impedance matching and common-mode noise suppression at different transmission rates.

[0051] It is understandable that during image transmission, if the termination switching action occurs during valid image data transmission, the instantaneous impedance fluctuation caused by the change in switching state may couple to the differential signal line, causing bit errors in the currently transmitted pixel data, which manifests as line stripes or localized screen artifacts on the image. Therefore, to further avoid the switching action from disturbing the image data, a synchronization control mechanism based on image transmission timing can be introduced.

[0052] In some exemplary embodiments, such as Figure 5 As shown, the control module 140 further includes a timing detection unit 145, used to identify frame blanking periods and line blanking periods based on the frame synchronization timing and line synchronization timing of the image transmission. The switch driving unit is also used to output switch control signals during the frame blanking periods and the line blanking periods.

[0053] The frame gap period refers to the time interval between two adjacent image frames where no valid pixel data is transmitted, and the line gap period refers to the time interval within the same frame between two adjacent lines where no valid pixel data is transmitted. The timing detection unit can monitor the current timing stage in real time by acquiring the frame synchronization signal and line synchronization signal output by the image sensor 200.

[0054] In this embodiment, by introducing a timing detection unit to synchronize termination switching with the image transmission gap, and cooperating with the verification unit to achieve closed-loop feedback adjustment of the bit error rate, the image acquisition device can not only avoid interference of switching on valid image data, but also adaptively maintain the termination configuration in the optimal state when the transmission environment changes.

[0055] Considering that the transmission environment may change due to factors such as temperature variations and electromagnetic interference in practical applications, a closed-loop verification mechanism can be introduced to evaluate the signal transmission quality after switching.

[0056] In some exemplary embodiments, the control module 140 further includes a verification unit 146, used to read the bit error rate collected by the rate detection unit, and after the switch array performs a switching action, determine whether the bit error rate exceeds a preset threshold; if the bit error rate exceeds the preset threshold, then based on the current signal transmission rate, signal transmission distance and bit error rate, redetermine the target resistance value of the differential mode termination resistor array and the target access state of the common mode termination branch, and re-output the switch control signal through the switch drive unit; if the bit error rate still exceeds the preset threshold after a set number of consecutive switching operations, then fine-tune the level of the differential mode termination resistor array step by step until the bit error rate is lower than the preset threshold; when the bit error rate drops after a set number of consecutive fine-tuning operations, then terminate the switching and output an abnormal alarm.

[0057] Preferably, when the bit error rate exceeds the threshold, the gear matching unit prioritizes selecting the adjacent gear with a higher common-mode suppression level based on the current rate-distance corresponding gear.

[0058] In some exemplary embodiments, the image acquisition device further includes a memory. The memory is connected to the control module and is used to store preset transmission parameters and termination configuration mappings. The transmission parameters include signal transmission rate and signal transmission distance, and the termination configuration includes the target access resistance value of the differential-mode termination resistor array and the target access status of the common-mode termination branch.

[0059] In this embodiment, the response speed of termination switching is improved by pre-storing the mapping relationship between transmission parameters and termination configuration in the memory.

[0060] It should be noted that the specific resistance values ​​of the differential-mode terminating resistor array, the selection parameters of the switching devices, the component configuration of the common-mode terminating branch, and the internal composition of the control module in the above embodiments can be adapted to the target interface protocol and transmission scenario. The following uses the MIPI CSI-2 interface application as an example, combined with... Figure 3 A detailed explanation of a specific implementation method is provided.

[0061] In one specific embodiment, the differential-mode terminating resistor array connected to the positive terminal P of the differential signal includes a first resistor R1 and a second resistor R2 connected in series, and the differential-mode terminating resistor array connected to the negative terminal N of the differential signal includes a third resistor R3 and a fourth resistor R4 connected in series. The resistance values ​​of R1, R2, R3, and R4 are all 50Ω.

[0062] The switch array includes a first switch Q1, a second switch Q2, a third switch Q3, and a fourth switch Q4. All switches utilize NMOS / PMOS complementary CMOS transmission gates with an on-resistance of 0.05Ω and a turn-off parasitic capacitance of 3pF. The common-mode termination branch includes a first common-mode resistor Rcm1 and a second common-mode resistor Rcm2, both with a resistance of 50Ω and a voltage rating of 1.2V, matching the MIPI interface common-mode voltage standard.

[0063] The common-mode termination branch also includes a first capacitor Ccm1 and a second capacitor Ccm2. Ccm1 is connected in parallel with Rcm1, and Ccm2 is connected in parallel with Rcm2, both with a capacitance of 10pF.

[0064] Based on the operating rate of the MIPI interface and the image transmission timing, the control module uses the synchronous switching of Q1 and Q3, and the synchronous switching of Q2 and Q4 to combine the output to drive the switching of the on / off states of each switch.

[0065] This embodiment achieves the following switchable operating modes through the on / off combination of the switch array:

[0066] (1) High-speed full suppression mode, the switch on / off state is: Q1, Q2, Q3 and Q4 are all on. At this time, the RC network of the P / N channel is connected to the link from both the intermediate node of the resistor network and the load end. It is suitable for 4K / 8K high frame rate high-definition image transmission and high-speed operation with a single channel transmission rate ≥1.5Gbps / lane.

[0067] (2) Medium-speed balanced mode, with Q1 and Q3 on and Q2 and Q4 off. In this mode, the RC network only accesses the link from the intermediate node of the resistor network. It is suitable for 1080P regular preview and recording, medium-speed operation with a single-channel transmission rate of 0.5-1.5Gbps / lane, and transmission scenarios with a distance of less than 30cm.

[0068] (3) Long-distance adaptation mode: Q2 and Q4 are on, and Q1 and Q3 are off. In this mode, the RC network only accesses the link from a single P / N node at the load end, which is suitable for long-distance coaxial cable transmission scenarios with a distance greater than 2m.

[0069] (4) Low-power standby mode, where the switches Q1, Q2, Q3, and Q4 are all off. At this time, the RC network is completely disconnected from the differential link, which is suitable for low-power standby and low frame rate preview modes of the camera.

[0070] When the aforementioned imaging devices are working, such as Figure 6 As shown, the control module executes the following control flow:

[0071] Step S1: The device is powered on and initialized. The switch drive unit outputs a control signal by default to control Q1, Q2, Q3, and Q4 to be turned on, and the high-speed full suppression mode is loaded.

[0072] In step S2, the rate detection unit reads the signal transmission rate of the MIPI interface in real time and detects the signal transmission distance through the time domain reflectometer. The timing detection unit simultaneously acquires the frame synchronization timing XVS and line synchronization timing XHS of the image transmission.

[0073] Step S3: Based on the transmission rate and signal transmission distance, query the mapping table to determine the corresponding target operating mode, the differential mode terminal target resistance value and the common mode terminal branch target access status, and match the corresponding switch on / off combination.

[0074] In step S4, the timing detection unit continuously monitors the image transmission timing and identifies the next available frame gap or line gap window.

[0075] In step S5, the switch driving unit outputs the corresponding switch control signal during the identified frame blanking period / line blanking period, driving Q1 to Q4 to complete the switching of the on / off state.

[0076] Step S6: After the switching action is completed, the verification unit monitors the bit error rate of the link in real time through the rate detection unit and determines whether to switch gears again.

[0077] If the bit error rate does not exceed the preset threshold, the current termination configuration is maintained; if the bit error rate exceeds the preset threshold, the target resistance value of the differential-mode termination resistor array and the target access state of the common-mode termination branch are re-determined based on the current signal transmission rate, signal transmission distance, and bit error rate, and the switch control signal is re-output through the switch drive unit; if the bit error rate still exceeds the preset threshold after a set number of consecutive switching operations, the range of the differential-mode termination resistor array is finely adjusted step by step until the bit error rate is lower than the preset threshold; if the bit error rate still exceeds the preset threshold after a set number of consecutive fine adjustments, the switching is terminated and an abnormal alarm is output.

[0078] In this embodiment, the differential-mode and common-mode terminations are completely decoupled through a termination resistor switching circuit. By acquiring the frame synchronization and line synchronization timing of camera image transmission in real time, the termination switching action is limited to the blank period, without interfering with the transmission cycle of valid image data. Through the built-in standardized rate-impedance mapping rules, the interface operating rate and link bit error rate are detected in real time, which can automatically match the optimal termination level. Combined with real-time bit error rate monitoring, closed-loop adaptive optimization is achieved, and a retry limit is set to avoid program deadlock.

[0079] Each module in the aforementioned image acquisition device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0080] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0081] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0082] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A circuit for dynamically switching termination resistors, characterized in that, include: Two differential-mode terminating resistor arrays, one connected to the positive terminal of the differential signal and the other connected to the negative terminal of the differential signal, each of the differential-mode terminating resistor arrays including multiple resistors connected in series; Two switch arrays are connected to the differential mode terminating resistor array, wherein each switch array is connected to a series node of the corresponding differential mode terminating resistor array. Two common-mode terminal branches are connected to the switch array, wherein one end of each common-mode terminal branch is connected to the switch array on the corresponding side, and the other end is connected to the common-mode voltage terminal; A control module, connected to the two switch arrays, is used to control the state of the switch arrays to switch the input resistance value of the differential mode termination resistor array and the input state of the common mode termination branch.

2. The circuit according to claim 1, characterized in that: The two differential-mode terminating resistor arrays are symmetrical circuit structures; The differential-mode terminating resistor array connected to the positive terminal of the differential signal includes a first resistor and a second resistor connected in series, and the intermediate node between the first resistor and the second resistor is connected to the corresponding switch array.

3. The circuit according to claim 2, characterized in that: The two switch arrays have a symmetrical circuit structure: The switch array connected to the positive terminal of the differential signal includes a first switch and a second switch. The first switch is connected between the intermediate node and the common-mode termination branch on the corresponding side, and the second switch is connected between the load side of the positive terminal of the differential signal and the common-mode termination branch on the corresponding side.

4. The circuit according to claim 1, characterized in that, The common-mode termination branch includes a common-mode resistor and a capacitor, which are connected in parallel to form an RC circuit.

5. An image acquisition device, characterized in that, It includes an image sensor and a dynamic switching circuit for terminating resistors as described in any one of claims 1 to 4.

6. The image acquisition device according to claim 5, characterized in that, The control module includes: The rate detection unit is used to detect the signal transmission rate of the differential signal and simultaneously acquire the bit error rate of the differential signal. Distance detection unit, used to detect the signal transmission distance of differential signals; A gear matching unit is used to determine the target resistance value of the differential mode terminating resistor array and the target access state of the common mode terminating branch based on the signal transmission rate and the signal transmission distance. A switch driving unit, connected to a switch array, is used to output a switch control signal according to the target resistance value and the target access state, so as to adjust the on / off combination of the switch array.

7. The image acquisition device according to claim 6, characterized in that, The control module also includes: The timing detection unit is used to identify frame blanking periods and line blanking periods based on the frame synchronization timing and line synchronization timing of image transmission. The switch driving unit is also used to output switch control signals during the frame blanking period and the line blanking period.

8. The image acquisition device according to claim 6, characterized in that, The control module also includes: The verification unit is used to read the bit error rate collected by the rate detection unit. After the switch array performs a switching action, it determines whether the bit error rate exceeds a preset threshold. If the bit error rate exceeds the preset threshold, it redetermines the target resistance value of the differential-mode termination resistor array and the target access state of the common-mode termination branch based on the current signal transmission rate, signal transmission distance, and bit error rate, and re-outputs the switch control signal through the switch drive unit. If the bit error rate still exceeds the preset threshold after a set number of consecutive switching operations, it fine-tunes the range of the differential-mode termination resistor array step by step until the bit error rate is lower than the preset threshold. If the bit error rate still exceeds the preset threshold after a set number of consecutive fine-tuning operations, it terminates the switching and outputs an abnormal alarm.

9. The image acquisition device according to claim 6, characterized in that, The switch driving unit is also used to control all of the switch arrays to be turned on during power-on initialization.

10. The image acquisition device according to claim 6, characterized in that, The image acquisition device also includes: The memory, connected to the control module, is used to store preset transmission parameters and termination configuration mapping relationships. The transmission parameters include signal transmission rate and signal transmission distance, and the termination configuration includes the target access resistance value of the differential mode termination resistor array and the target access status of the common mode termination branch.