Serdes data transmission system, control method, chip and vehicle
By introducing a ternary architecture and a link status detection module into the SerDes data transmission system, the problem of abnormal data transmission links in the vehicle environment was solved, enabling bidirectional data transmission and rapid fault repair at both the serializer and deserializer ends, thus improving system reliability and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NIO TECH ANHUI CO LTD
- Filing Date
- 2026-03-31
- Publication Date
- 2026-07-03
AI Technical Summary
Existing SerDes data transmission systems are susceptible to electromagnetic interference and temperature fluctuations in vehicle environments, leading to loss of data transmission link synchronization and a surge in bit error rate, making it impossible to quickly troubleshoot and repair faults at the serializer and deserializer ends.
The system adopts a three-element SerDes data transmission architecture, which includes high-speed forward, low-speed reverse, and low-speed bidirectional data transmission channels. By multiplexing the same transmission cable, a low-speed bidirectional data transmission channel is added to maintain bidirectional data transmission in the event of channel failure. Fault diagnosis and repair are achieved through a link status detection module.
This improves the reliability of the SerDes data transmission system, enables rapid online fault diagnosis and repair, enhances user experience, and facilitates vehicle development, testing, and after-sales maintenance.
Smart Images

Figure CN122086820B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle data transmission technology, specifically to a SerDes data transmission system, control method, chip, and vehicle. Background Technology
[0002] Currently, in-vehicle SerDes data transmission systems generally adopt a binary SerDes data transmission architecture (binary architecture) consisting of a "high-speed forward data transmission channel + low-speed reverse data transmission channel". The high-speed forward data transmission channel is used to transmit high-definition video and control signals, requiring a large data bandwidth, with a data transmission rate typically not less than 1Gbps. The low-speed reverse channel is used to handle the issuance of control commands from the vehicle's main control unit, GPIO port pass-through, and device status readback, requiring a smaller data bandwidth, with a data transmission rate of approximately hundreds of Mbps. This binary architecture has been widely used in in-vehicle surround view, ADAS (Advanced Driving Assistance System), and in-vehicle infotainment systems.
[0003] However, the SerDes data transmission system's cables are distributed throughout the vehicle body, with a maximum transmission distance of up to 15 meters. This makes it highly susceptible to strong electromagnetic interference, wide temperature fluctuations, and power supply ripple, all characteristic of the automotive environment. These factors can cause data transmission link synchronization loss, a surge in bit error rate, and ultimately, data transmission link disconnection. Current optimizations of the SerDes data transmission system primarily focus on improvements to the aforementioned binary architecture, such as signal enhancement, anti-interference design, and protocol error correction. However, these improvements still fail to address how to ensure the deserializer can still obtain the serializer's status information and send control commands to the serializer after the binary data transmission link is disconnected, thus enabling rapid fault diagnosis and repair. Therefore, improving the SerDes data transmission architecture design has become an urgent problem to be solved.
[0004] Accordingly, there is a need in the field for a new SerDes data transmission scheme to solve the above problems. Summary of the Invention
[0005] In order to overcome the above-mentioned defects, this application is proposed to solve, or at least partially solve, the technical problem of how to still realize bidirectional data transmission between the serializer and the deserializer after the high-speed forward data transmission channel and the low-speed reverse data transmission channel are abnormal.
[0006] In a first aspect, a SerDes data transmission system is provided, the system comprising:
[0007] The serializer includes a serialization control module, a high-speed transmitting module, a low-speed receiving module, and a first bidirectional transceiver module;
[0008] The deserializer includes a deserialization control module, a high-speed receiving module, a low-speed transmitting module, and a second bidirectional transceiver module.
[0009] The high-speed transmitting module and the high-speed receiving module constitute a high-speed forward data transmission channel;
[0010] The low-speed receiving module and the low-speed transmitting module constitute a low-speed reverse data transmission channel.
[0011] The first bidirectional transceiver module and the second bidirectional transceiver module constitute a low-speed bidirectional data transmission channel;
[0012] The high-speed forward data transmission channel, the low-speed reverse data transmission channel, and the low-speed bidirectional data transmission channel share the same transmission cable.
[0013] In one technical solution of the aforementioned SerDes data transmission system,
[0014] The serialization control module is configured to: enable the high-speed transmission module, enable the low-speed reception module, and disable the first bidirectional transceiver module;
[0015] The deserialization control module is configured to: enable the high-speed receiving module, enable the low-speed transmitting module, and disable the second bidirectional transceiver module;
[0016] This enables the SerDes data transmission system to enter a working state, allowing the serializer and deserializer to transmit data via the high-speed forward data transmission channel and the low-speed reverse data transmission channel.
[0017] In one technical solution of the aforementioned SerDes data transmission system,
[0018] The serializer terminal further includes: a first link status detection module, used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel;
[0019] The deserializer also includes a second link status detection module, used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel;
[0020] The locking states include: high-speed forward channel lockout and / or low-speed reverse channel lockout.
[0021] In one technical solution of the aforementioned SerDes data transmission system,
[0022] The serialization control module is configured to perform the following operations: in response to the loss of the high-speed forward channel from the first link status detection module, or the loss of the high-speed forward channel and the loss of the low-speed reverse channel, disable the high-speed transmission module, disable the low-speed reception module, and enable the first bidirectional transceiver module.
[0023] The deserialization control module is configured to perform the following operations: in response to the loss of the high-speed forward channel from the second link state detection module, or the loss of the high-speed forward channel and the loss of the low-speed reverse channel, disable the high-speed receiving module, disable the low-speed transmitting module, and enable the second bidirectional transceiver module.
[0024] This enables the serializer and the deserializer to transmit data through the low-speed bidirectional data transmission channel.
[0025] In one technical solution of the aforementioned SerDes data transmission system,
[0026] The serialization control module is configured to perform the following operations: in response to the loss of lock of the low-speed reverse channel from the first link status detection module, disable the low-speed receiving module and enable the first bidirectional transceiver module;
[0027] The deserialization control module is configured to perform the following operations: in response to the low-speed reverse channel loss of the second link state detection module, disable the low-speed transmission module and enable the second bidirectional transceiver module;
[0028] This enables the serializer and the deserializer to transmit data through the high-speed forward data transmission channel and the low-speed bidirectional data transmission channel.
[0029] In one technical solution of the aforementioned SerDes data transmission system,
[0030] The data transmission rate of the high-speed forward data transmission channel is higher than that of the low-speed reverse data transmission channel.
[0031] The data transmission rate of the low-speed reverse data transmission channel is higher than that of the low-speed bidirectional data transmission channel.
[0032] In one technical solution of the aforementioned SerDes data transmission system, the system further includes:
[0033] The main control terminal is communicatively connected to the deserializer terminal and performs bidirectional data transmission with the serializer terminal through the deserializer terminal and the low-speed bidirectional data transmission channel.
[0034] In one technical solution of the aforementioned SerDes data transmission system, the master control terminal is configured to perform the following operations:
[0035] The first fault information at the serializer end is obtained through the low-speed bidirectional data transmission channel.
[0036] Determine whether the fault corresponding to the first fault information can be repaired.
[0037] In response to the fact that the fault corresponding to the first fault information can be repaired, at least one of the following operations is performed: sending a first fault repair command to the serializer end through the low-speed bidirectional data transmission channel, and sending a second fault repair command to the deserializer end; and / or
[0038] Obtain the second fault information at the deserializer end.
[0039] Determine whether the fault corresponding to the second fault information can be repaired.
[0040] In response to the fact that the fault corresponding to the second fault information can be repaired, at least one of the following operations is performed: sending a third fault repair instruction to the deserializer end, and sending a fourth fault repair instruction to the serializer end through the low-speed bidirectional data transmission channel.
[0041] In a second aspect, a SerDes data transmission control method is provided, applied to the SerDes data transmission system described in any of the above technical solutions, the method comprising:
[0042] Step S01: Enable the high-speed forward data transmission channel, enable the low-speed reverse data transmission channel, and disable the low-speed bidirectional data transmission channel so that the serializer end and the deserializer end can transmit data through the high-speed forward data transmission channel and the low-speed reverse data transmission channel;
[0043] Step S02: Periodically detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel, wherein the locking status includes the high-speed forward channel being unlocked and / or the low-speed reverse channel being unlocked;
[0044] Step S03: Based on the locked state, control the data transmission between the serializer and the deserializer, including:
[0045] In response to the loss of the high-speed forward channel, or the loss of both the high-speed forward channel and the low-speed reverse channel, the high-speed forward data transmission channel is disabled, the low-speed reverse data transmission channel is disabled, and the low-speed bidirectional data transmission channel is enabled, so that the serializer end and the deserializer end can transmit data through the low-speed bidirectional data transmission channel.
[0046] In one technical solution of the SerDes data transmission control method described above, step S03 further includes:
[0047] In response to the loss of lock of only the low-speed reverse channel, the low-speed reverse data transmission channel is disabled and the low-speed bidirectional data transmission channel is enabled, so that the serializer end and the deserializer end can transmit data through the high-speed forward data transmission channel and the low-speed bidirectional data transmission channel.
[0048] In one technical solution of the above-mentioned SerDes data transmission control method, the method further includes:
[0049] Obtain the first fault information at the serializer end.
[0050] Determine whether the fault corresponding to the first fault information can be repaired.
[0051] In response to the fact that the fault corresponding to the first fault information can be repaired, at least one of the following operations is performed: sending a first fault repair command to the serializer, sending a second fault repair command to the deserializer; and / or,
[0052] Obtain the second fault information at the deserializer end.
[0053] Determine whether the fault corresponding to the second fault information can be repaired.
[0054] In response to the fact that the fault corresponding to the second fault information can be repaired, at least one of the following operations is performed: a third fault repair instruction is sent to the deserializer, and a fourth fault repair instruction is sent to the serializer.
[0055] In one technical solution of the above-mentioned SerDes data transmission control method, the method further includes:
[0056] In response to the inability to repair the fault corresponding to the first fault information and / or the inability to repair the fault corresponding to the second fault information, when there is a loss of lock on the high-speed forward channel, the SerDes data transmission system is disabled, and a first fault prompt message is sent to the user; or...
[0057] In response to the inability to repair the fault corresponding to the first fault information and / or the inability to repair the fault corresponding to the second fault information, when only the low-speed reverse channel is lost, a second fault prompt message is sent to the user.
[0058] In one technical solution of the above-mentioned SerDes data transmission control method, the method further includes:
[0059] A system recovery command is sent to the serializer and the deserializer respectively. The system recovery command includes: enabling the high-speed forward data transmission channel, enabling the low-speed reverse data transmission channel, and disabling the low-speed bidirectional data transmission channel, thereby cyclically executing steps S01, S02 and S03.
[0060] In a third aspect, a serializer chip is provided, applied to the serializer end of the SerDes data transmission system described in any of the above technical solutions, the serializer chip comprising:
[0061] The high-speed transmission module is used to build a high-speed forward data transmission channel;
[0062] The low-speed receiving module is used to construct a low-speed reverse data transmission channel;
[0063] The first bidirectional transceiver module is used to construct a low-speed bidirectional data transmission channel;
[0064] A serialization control module is used to control the high-speed transmitting module, the low-speed receiving module, and the first bidirectional transceiver module, so that the high-speed forward data transmission channel, the low-speed reverse data transmission channel, and the low-speed bidirectional data transmission channel can reuse the same transmission cable.
[0065] The first link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel.
[0066] In a fourth aspect, a deserializer chip is provided, applied to the deserializer end of the SerDes data transmission system described in any of the above technical solutions, the deserializer chip comprising:
[0067] A high-speed receiving module is used to build a high-speed forward data transmission channel;
[0068] The low-speed transmission module is used to construct a low-speed reverse data transmission channel;
[0069] The second bidirectional transceiver module is used to construct a low-speed bidirectional data transmission channel;
[0070] The deserialization control module is used to control the high-speed receiving module, the low-speed transmitting module and the second bidirectional transceiver module so that the high-speed forward data transmission channel, the low-speed reverse data transmission channel and the low-speed bidirectional data transmission channel can reuse the same transmission cable;
[0071] The second link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel.
[0072] In a fifth aspect, a vehicle is provided, wherein the vehicle includes the SerDes data transmission system described in any of the above-mentioned technical solutions.
[0073] The above-mentioned technical solutions of this application have at least one or more of the following beneficial effects: by adding a low-speed bidirectional data transmission channel with a lower transmission rate, bidirectional data transmission between the serializer end and the deserializer end can still be maintained through the low-speed bidirectional data transmission channel even when the high-speed forward data transmission channel and the reverse data transmission channel are abnormal. This makes online rapid fault diagnosis, fault assessment and fault repair possible, which not only improves the reliability of the SerDes data transmission system, but also enhances the user experience, and facilitates vehicle development testing and after-sales maintenance. Attached Figure Description
[0074] The disclosure of this application will become more readily understood with reference to the accompanying drawings. It will be readily understood by those skilled in the art that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of this application.
[0075] Figure 1 This is a schematic diagram of a SerDes data transmission system according to an embodiment of this application.
[0076] Figure 2 This is a schematic flowchart of the main steps of a SerDes data transmission control method according to an embodiment of this application.
[0077] Figure 3 This is a detailed flowchart illustrating step S203 according to an embodiment of this application. Detailed Implementation
[0078] Some embodiments of this application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of this application and are not intended to limit the scope of protection of this application.
[0079] In the description of this application, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, memory, and may also include software components, such as program code, or a combination of software and hardware. A processor can be a central processing unit, microprocessor, image processor, digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The terms "at least one A or B" or "at least one of A and B" have a similar meaning to "A and / or B" and can include only A, only B, or A and B. The singular terms "a" or "this" can also include plural forms.
[0080] First, please refer to the appendix. Figure 1 , Figure 1 This is a schematic diagram of a SerDes data transmission system according to an embodiment of this application. Figure 1 As shown, the SerDes data transmission system of this application includes: a serializer end, a deserializer end, and a master control end.
[0081] The serializer and deserializer communicate via a transmission cable. For example, the cable can be coaxial, twisted pair, etc., with a transmission distance of up to 15 meters. The deserializer and main control units can communicate via... One or more low-speed interfaces such as MIPI, UART, and SPI can transmit control information, while one or more high-speed interfaces such as MIPI and PCIe can transmit sensor data.
[0082] In one embodiment of this application, Figure 1 The SerDes data transmission system shown can be applied to intelligent driving applications in vehicles. The serializer end consists of a single serializer chip connected to one or more image sensors. The deserializer end consists of a single deserializer chip connected to the vehicle's cockpit domain controller (main controller). Communication between the deserializer chip and the vehicle's cockpit domain controller is via… The interface and UART interface transmit control information, and the MIPI interface transmits video data (sensor data).
[0083] Continue reading Figure 1The serializer end (serializer chip) includes a serialization control module, a high-speed transmission module, a low-speed reception module, a first bidirectional transceiver module, and a first link status detection module. The deserializer end (deserializer chip) includes a deserialization control module, a high-speed reception module, a low-speed transmission module, a second bidirectional transceiver module, and a first link status detection module.
[0084] The high-speed transmitting module and the high-speed receiving module constitute a high-speed forward data transmission channel; the low-speed receiving module and the low-speed transmitting module constitute a low-speed reverse data transmission channel; and the first bidirectional transceiver module and the second bidirectional transceiver module constitute a low-speed bidirectional data transmission channel.
[0085] In this application, the data transmission rate of the high-speed forward data transmission channel is higher than that of the low-speed reverse data transmission channel; the data transmission rate of the low-speed reverse data transmission channel is higher than that of the low-speed bidirectional data transmission channel.
[0086] As an example, the data transmission rate of a high-speed forward data transmission channel is typically in the Gbps range, such as 5Gbps; the data transmission rate of a low-speed reverse data transmission channel is typically in the hundreds of Mbps range, such as 200Mbps; and the data transmission rate of a low-speed bidirectional data transmission channel is typically below the tens of Mbps range, such as 2Mbps.
[0087] Therefore, due to the differences in data transmission rates among the three data transmission channels, the high-speed forward data transmission channel, the low-speed reverse data transmission channel, and the low-speed bidirectional data transmission channel can reuse the same transmission cable through frequency division multiplexing.
[0088] It should be noted that a low data transmission rate can enhance the anti-interference capability of data transmission and reduce the requirements for the quality of transmission cables. Therefore, when the general data transmission channels (high-speed forward data transmission channel and reverse data transmission channel) are abnormal due to interference from the vehicle's electromagnetic environment or damage to the transmission cables (quality degradation), the bidirectional data transmission between the serializer and deserializer can still be maintained by adding a low-speed bidirectional data transmission channel with an even lower transmission rate. This makes online rapid fault diagnosis, fault assessment, and fault repair possible, which not only improves the reliability of the SerDes data transmission system and enhances the user experience, but also facilitates vehicle development testing and after-sales maintenance.
[0089] Furthermore, the ternary SerDes data transmission architecture of this application (high-speed forward data transmission channel + low-speed reverse data transmission channel + low-speed bidirectional data transmission channel) can be designed based on the current binary SerDes data transmission architecture, thus effectively solving the compatibility problem with existing SerDes data transmission systems.
[0090] The first link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel at the serializer end; the second link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel at the deserializer end.
[0091] The lockout states include: high-speed forward channel unlocking, low-speed reverse channel unlocking, and both high-speed forward channel and low-speed reverse channel unlocking. This application does not limit the method for determining the lockout state (unlocked state). As an example, it can be determined based on one or more of the registers such as the PLL / CDR lockout state register, synchronization state register, and bit error rate register at the serializer / deserializer end.
[0092] Please refer to the appendix below. Figure 2 and combined Figure 1 This application describes the SerDes data transmission control method of the SerDes data transmission system. Figure 2 This is a schematic flowchart of the main steps of a SerDes data transmission control method according to an embodiment of this application. The SerDes data transmission control method in this embodiment includes:
[0093] Step S201: Enable the high-speed forward data transmission channel, enable the low-speed reverse data transmission channel, and disable the low-speed bidirectional data transmission channel;
[0094] Step S202: Periodically check the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel;
[0095] Step S203: Based on the locked state, control the data transmission between the serializer and the deserializer.
[0096] After the SerDes data transmission system is powered on, in step S201, the serializer and deserializer ends execute the default configuration so that the SerDes data transmission system enters the default working state: the serializer and deserializer ends can use a single transmission cable for data transmission in a frequency division multiplexing manner through a high-speed forward data transmission channel and a low-speed reverse data transmission channel.
[0097] Specifically, the serialization control module at the serializer end is configured to perform the following operations: set the default data transmission rates of the high-speed transmitting module, the low-speed receiving module, and the first bidirectional transceiver module; enable the high-speed transmitting module; enable the low-speed receiving module; and disable the first bidirectional transceiver module, etc.
[0098] The deserialization control module of the deserializer is set to perform the following operations: set the default data transmission rate of the high-speed receiving module, the low-speed transmitting module, and the second bidirectional transceiver module (to match the data transmission rate at the serializer end), enable the high-speed receiving module, enable the low-speed transmitting module, and disable the second bidirectional transceiver module, etc.
[0099] In one embodiment, before disabling the low-speed bidirectional data transmission channel, a self-test of the low-speed bidirectional data transmission channel can be performed, such as calibrating the signal amplitude, rate, encoding format, etc., to confirm whether the low-speed bidirectional data transmission channel is available.
[0100] While disabling the low-speed bidirectional data transmission channel, the serialization control module can also control the first bidirectional transceiver module to enter a low-power state, and the deserialization control module can also control the second bidirectional transceiver module to enter a low-power state, so as to reduce system power consumption.
[0101] In step S202, the serialization control module starts the first link status detection module; the deserialization control module starts the second link status detection module, so that the serializer end and the deserializer end check the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel at preset detection cycles. As an example, the detection cycle can be set to 1ms.
[0102] Next, read the appendix. Figure 3 and combined Figure 3 Explain the specific implementation method of step S203. Figure 3 This is a detailed flowchart illustrating step S203 according to an embodiment of this application.
[0103] In response to the loss of the high-speed forward channel, or the loss of both the high-speed forward channel and the low-speed reverse channel, the high-speed forward data transmission channel is disabled, the low-speed reverse data transmission channel is disabled, and the low-speed bidirectional data transmission channel is enabled, so that the serializer and deserializer can transmit data through the low-speed bidirectional data transmission channel.
[0104] Specifically, for the serializer end, after the serialization control module detects that the high-speed forward channel is unlocked from the first link status detection module, or simultaneously detects that the high-speed forward channel is unlocked from the first link status detection module and the low-speed reverse channel is unlocked, it performs the following operations: disables the high-speed transmitting module, disables the low-speed receiving module, and enables the first bidirectional transceiver module.
[0105] For the deserializer end, after the deserialization control module detects that the high-speed forward channel is lost from the second link status detection module, or simultaneously detects that the high-speed forward channel and the low-speed reverse channel are lost from the second link status detection module, it performs the following operations: disables the high-speed receiving module, disables the low-speed transmitting module, and enables the second bidirectional transceiver module.
[0106] At this point, due to the loss of lock on the high-speed forward channel, data cannot be reliably transmitted from the serializer end to the deserializer end. The main control end cannot obtain fault information from the serializer end, and therefore cannot formulate a targeted fault handling plan.
[0107] After enabling the low-speed bidirectional data transmission channel, bidirectional data transmission can be established between the serializer and the deserializer. This allows the main control unit to obtain fault information from the serializer through the low-speed bidirectional data transmission channel and send targeted fault handling commands to the serializer, thereby quickly repairing the high-speed forward data transmission channel.
[0108] In response to the loss of lock on only the low-speed reverse channel, the high-speed forward data transmission channel is enabled, the low-speed reverse data transmission channel is disabled, and the low-speed bidirectional data transmission channel is enabled, so that the serializer and deserializer can transmit data in frequency division multiplexing mode through the high-speed forward data transmission channel and the low-speed bidirectional data transmission channel.
[0109] Specifically, for the serializer end, the serialization control module only detects the loss of lock on the low-speed reverse channel from the first link status detection module and then performs the following operations: disable the low-speed receiving module and enable the first bidirectional transceiver module.
[0110] For the deserializer end, after the deserialization control module detects that the low-speed reverse channel has lost lock from the second link status detection module, it performs the following operations: disables the low-speed transmission module and enables the second bidirectional transceiver module.
[0111] At this time, although the high-speed forward data transmission channel can transmit data (sensor data and control information) normally, and the master control terminal can obtain the fault information of the serializer through the high-speed forward data transmission channel, the master control terminal cannot send fault handling commands to the serializer due to the loss of lock of the low-speed reverse channel.
[0112] After enabling the low-speed bidirectional data transmission channel, bidirectional data transmission can be established between the serializer and the deserializer. This allows the main control unit to receive fault information from the serializer and send fault handling commands to it, thereby quickly repairing the low-speed reverse data transmission channel and ensuring uninterrupted transmission of sensor data.
[0113] To improve the reliability of lockout detection, a setting can be made so that a lockout state lasting longer than a set duration is considered a true lockout. For example, on the serializer side, the first link status detection module will only set the high-speed forward data transmission channel as lockout after detecting a lockout for 10ms (the set duration).
[0114] Continue reading the appendix Figure 3After enabling the low-speed bidirectional data transmission channel, the main control terminal can obtain the first fault information of the serializer and the second fault information of the deserializer, and take corresponding measures based on the fault information.
[0115] The main control terminal obtains the first fault information of the serializer terminal through the low-speed bidirectional data transmission channel and the deserializer terminal; determines whether the fault corresponding to the first fault information can be repaired; and, in response to the fact that the fault corresponding to the first fault information can be repaired, performs at least one of the following operations: sends a first fault repair command to the serializer terminal through the deserializer terminal and the low-speed bidirectional data transmission channel, and sends a second fault repair command to the deserializer terminal.
[0116] As an example, the first fault information is an abnormal TDR (Time Domain Reflectometry) characteristic impedance, and at least one of the following operations can be performed: change the drive strength of the high-speed transmit module at the serializer end, such as increasing the drive strength; change the equalizer configuration at the deserializer end, such as enabling high-order equalization to improve the receiver sensitivity, etc.
[0117] The master control terminal obtains the second fault information of the deserializer terminal through the inter-chip UART interface; and determines whether the fault corresponding to the second fault information can be repaired; in response that the fault corresponding to the second fault information can be repaired, it performs at least one of the following operations: sends a third fault repair instruction to the deserializer terminal, and sends a fourth fault repair instruction to the serializer terminal through the deserializer terminal and the low-speed bidirectional data transmission channel.
[0118] As an example, the second fault information is an abnormal bit error rate, and at least one of the following operations can be performed: simultaneously change the data communication rate at the serializer end and the deserializer end, such as reducing the communication rate; or change the equalizer configuration at the deserializer end, such as enabling high-order equalization to improve the receiver sensitivity, etc.
[0119] In response to the inability to repair the fault corresponding to the first fault information and / or the inability to repair the fault corresponding to the second fault information, different response operations can be performed depending on the different lock statuses.
[0120] When at least one high-speed forward channel is lost, it indicates that the master control unit can no longer reliably acquire data from the image sensor, which will directly affect the vehicle's intelligent driving functions. At this time, the master control unit sends a command to the serializer and deserializer to disable the SerDes data transmission system and sends a first fault message to the user, prompting the user to report the problem immediately and request professional personnel to troubleshoot the fault as soon as possible.
[0121] When only the low-speed reverse channel is unlocked, it indicates that the high-speed forward data transmission channel is functioning normally, the main control unit can still acquire data from the image sensor, and the vehicle's intelligent driving functions are available. At this point, a second fault message is sent to the user, prompting them to report the problem for inspection when they have free time. In other words, the urgency of handling the first fault message is higher than that of handling the second fault message.
[0122] After the master control terminal sends a fault repair command to the serializer terminal and / or the deserializer terminal, it sends a system recovery command to the serializer terminal and the deserializer terminal respectively. The system recovery command includes enabling the high-speed forward data transmission channel, enabling the low-speed reverse data transmission channel, and disabling the low-speed bidirectional data transmission channel, so as to resume the cyclic execution of the aforementioned steps S201, 202 and S203.
[0123] When the locking status obtained in step S202 is high-speed forward channel locked and low-speed reverse channel locked, the fault is successfully repaired. The serializer and deserializer end are restored to the default settings and continue to transmit data through the high-speed forward data transmission channel and the low-speed reverse data transmission channel. The low-speed bidirectional data transmission channel will go to the low-power standby state.
[0124] It should be noted that this application does not limit the data transmission method of the low-speed bidirectional data transmission channel. As an example, the serializer and deserializer can communicate bidirectionally in a time-division multiplexing manner using the REQ-ACK protocol, and the data frame structure can be in the form of 32 bits (4-bit device address in the frame header + 4-bit signal type + 20-bit data + 4-bit CRC checksum). Those skilled in the art can also use other communication protocols to achieve bidirectional data transmission between the serializer and deserializer.
[0125] It should be noted that although the steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effect of this application, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These adjusted solutions are equivalent to the technical solutions described in this application and therefore will also fall within the protection scope of this application.
[0126] Those skilled in the art will understand that all or part of the processes in the method of the above-described embodiment can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above-described method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0127] The technical solution of this application has been described above with reference to one embodiment shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. Without departing from the principles of this application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of this application.
Claims
1. A SerDes data transmission system, characterized in that, The system includes: The serializer includes a serialization control module, a high-speed transmission module, a low-speed reception module, a first bidirectional transceiver module, and a first link status detection module. The deserializer includes a deserialization control module, a high-speed receiving module, a low-speed transmitting module, a second bidirectional transceiver module, and a second link status detection module. The high-speed transmitting module and the high-speed receiving module constitute a high-speed forward data transmission channel; The low-speed receiving module and the low-speed transmitting module constitute a low-speed reverse data transmission channel. The first bidirectional transceiver module and the second bidirectional transceiver module constitute a low-speed bidirectional data transmission channel; The high-speed forward data transmission channel, the low-speed reverse data transmission channel, and the low-speed bidirectional data transmission channel reuse the same transmission cable; The first link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel; The second link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel; The locking states include: high-speed forward channel unlocking and / or low-speed reverse channel unlocking; The serialization control module is configured to perform the following operations: in response to the loss of the high-speed forward channel from the first link status detection module, or the loss of the high-speed forward channel and the loss of the low-speed reverse channel, disable the high-speed transmission module, disable the low-speed reception module, and enable the first bidirectional transceiver module. The deserialization control module is configured to perform the following operations: in response to the loss of the high-speed forward channel from the second link state detection module, or the loss of the high-speed forward channel and the loss of the low-speed reverse channel, disable the high-speed receiving module, disable the low-speed transmitting module, and enable the second bidirectional transceiver module. This enables the serializer and the deserializer to transmit data through the low-speed bidirectional data transmission channel.
2. The SerDes data transmission system according to claim 1, characterized in that, The serialization control module is configured to: enable the high-speed transmission module, enable the low-speed reception module, and disable the first bidirectional transceiver module; The deserialization control module is configured to: enable the high-speed receiving module, enable the low-speed transmitting module, and disable the second bidirectional transceiver module; This enables the SerDes data transmission system to enter a working state, allowing the serializer and deserializer to transmit data via the high-speed forward data transmission channel and the low-speed reverse data transmission channel.
3. The SerDes data transmission system according to claim 1, characterized in that, The serialization control module is configured to perform the following operations: in response to the loss of lock of the low-speed reverse channel from the first link status detection module, disable the low-speed receiving module and enable the first bidirectional transceiver module; The deserialization control module is configured to perform the following operations: in response to the low-speed reverse channel loss of the second link state detection module, disable the low-speed transmission module and enable the second bidirectional transceiver module; This enables the serializer and the deserializer to transmit data through the high-speed forward data transmission channel and the low-speed bidirectional data transmission channel.
4. The SerDes data transmission system according to any one of claims 1 to 3, characterized in that, The data transmission rate of the high-speed forward data transmission channel is higher than that of the low-speed reverse data transmission channel. The data transmission rate of the low-speed reverse data transmission channel is higher than that of the low-speed bidirectional data transmission channel.
5. The SerDes data transmission system according to claim 1 or 3, characterized in that, The system also includes: The main control terminal is communicatively connected to the deserializer terminal and performs bidirectional data transmission with the serializer terminal through the deserializer terminal and the low-speed bidirectional data transmission channel.
6. The SerDes data transmission system according to claim 5, characterized in that, The main control terminal is configured to perform the following operations: The first fault information at the serializer end is obtained through the low-speed bidirectional data transmission channel. Determine whether the fault corresponding to the first fault information can be repaired. In response to the fact that the fault corresponding to the first fault information can be repaired, at least one of the following operations is performed: sending a first fault repair command to the serializer end through the low-speed bidirectional data transmission channel, and sending a second fault repair command to the deserializer end; and / or Obtain the second fault information at the deserializer end. Determine whether the fault corresponding to the second fault information can be repaired. In response to the fact that the fault corresponding to the second fault information can be repaired, at least one of the following operations is performed: sending a third fault repair instruction to the deserializer end, and sending a fourth fault repair instruction to the serializer end through the low-speed bidirectional data transmission channel.
7. A SerDes data transmission control method, characterized in that, Applied to the SerDes data transmission system according to any one of claims 1 to 6, the method comprises: Step S01: Enable the high-speed forward data transmission channel, enable the low-speed reverse data transmission channel, and disable the low-speed bidirectional data transmission channel so that the serializer end and the deserializer end can transmit data through the high-speed forward data transmission channel and the low-speed reverse data transmission channel; Step S02: Periodically detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel, wherein the locking status includes the high-speed forward channel being unlocked and / or the low-speed reverse channel being unlocked; Step S03: Based on the locked state, control the data transmission between the serializer and the deserializer, including: In response to the loss of the high-speed forward channel, or the loss of both the high-speed forward channel and the low-speed reverse channel, the high-speed forward data transmission channel is disabled, the low-speed reverse data transmission channel is disabled, and the low-speed bidirectional data transmission channel is enabled, so that the serializer end and the deserializer end can transmit data through the low-speed bidirectional data transmission channel.
8. The SerDes data transmission control method according to claim 7, characterized in that, Step S03 also includes: In response to the loss of lock of only the low-speed reverse channel, the low-speed reverse data transmission channel is disabled and the low-speed bidirectional data transmission channel is enabled, so that the serializer end and the deserializer end can transmit data through the high-speed forward data transmission channel and the low-speed bidirectional data transmission channel.
9. The SerDes data transmission control method according to claim 7 or 8, characterized in that, The method further includes: Obtain the first fault information at the serializer end. Determine whether the fault corresponding to the first fault information can be repaired. In response to the fact that the fault corresponding to the first fault information can be repaired, at least one of the following operations is performed: sending a first fault repair command to the serializer, sending a second fault repair command to the deserializer; and / or, Obtain the second fault information at the deserializer end. Determine whether the fault corresponding to the second fault information can be repaired. In response to the fact that the fault corresponding to the second fault information can be repaired, at least one of the following operations is performed: a third fault repair instruction is sent to the deserializer, and a fourth fault repair instruction is sent to the serializer.
10. The SerDes data transmission control method according to claim 9, characterized in that, The method further includes: In response to the inability to repair the fault corresponding to the first fault information and / or the inability to repair the fault corresponding to the second fault information, when there is a loss of lock on the high-speed forward channel, the SerDes data transmission system is disabled, and a first fault prompt message is sent to the user; or... In response to the inability to repair the fault corresponding to the first fault information and / or the inability to repair the fault corresponding to the second fault information, when only the low-speed reverse channel is lost, a second fault prompt message is sent to the user.
11. The SerDes data transmission control method according to claim 9, characterized in that, The method further includes: A system recovery command is sent to the serializer and the deserializer respectively. The system recovery command includes: enabling the high-speed forward data transmission channel, enabling the low-speed reverse data transmission channel, and disabling the low-speed bidirectional data transmission channel, thereby cyclically executing steps S01, S02 and S03.
12. A serializer chip, characterized in that, The serializer chip, applied to the serializer end of the SerDes data transmission system according to any one of claims 1 to 6, comprises: The high-speed transmission module is used to build a high-speed forward data transmission channel; The low-speed receiving module is used to construct a low-speed reverse data transmission channel; The first bidirectional transceiver module is used to construct a low-speed bidirectional data transmission channel; A serialization control module is used to control the high-speed transmitting module, the low-speed receiving module, and the first bidirectional transceiver module, so that the high-speed forward data transmission channel, the low-speed reverse data transmission channel, and the low-speed bidirectional data transmission channel can reuse the same transmission cable. The first link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel.
13. A deserializer chip, characterized in that, The deserializer chip, applied to the SerDes data transmission system according to any one of claims 1 to 6, comprises: A high-speed receiving module is used to build a high-speed forward data transmission channel; The low-speed transmission module is used to construct a low-speed reverse data transmission channel; The second bidirectional transceiver module is used to construct a low-speed bidirectional data transmission channel; The deserialization control module is used to control the high-speed receiving module, the low-speed transmitting module and the second bidirectional transceiver module so that the high-speed forward data transmission channel, the low-speed reverse data transmission channel and the low-speed bidirectional data transmission channel can reuse the same transmission cable; The second link status detection module is used to detect the locking status of the high-speed forward data transmission channel and the low-speed reverse data transmission channel.
14. A vehicle, characterized in that, The vehicle includes the SerDes data transmission system as described in any one of claims 1 to 6.