Camera wire harness link optimization method and device, SOC chip and system
Through SOC chip recognition and optimization of camera wiring harness length, the problem of poor camera image data transmission quality in autonomous driving technology is solved, and clearer image transmission and longer transmission distance are achieved.
Patent Information
- Application Number
- CN202411550982.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-14
AI Technical Summary
In autonomous driving technology, it is difficult to ensure image quality when camera image data is transmitted to domain control, resulting in image frame loss, lag, blur, and distance limitations in image length.
The SOC chip automatically recognizes the length of the wire harness, and obtains the camera's harness link parameters according to the length of the wire harness, loads and configures the retimer parameters, and optimizes the camera harness link.
It realizes clearer image transmission, while increasing the transmission distance of the wire harness, solving the problem of image transmission blur due to different cable lengths.
Smart Images

Figure CN119442671A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of autonomous driving technology, and in particular to a camera wiring harness link optimization method, device, SOC chip and system. Background Art
[0002] In the field of autonomous driving, cameras are an indispensable component. Cameras are used to collect images of the surrounding environment and transmit image data to the vehicle domain control system on chip (System on Chip, SOC) through a serial bus (Gigabit Multimedia Serial Link, GMSL), also known as the computing power SOC. The computing power SOC analyzes the image data through image processing algorithms to plan and control the vehicle's driving route.
[0003] However, in actual applications, the length of the cable from the domain controller to the camera module is usually pre-determined. When cables of different lengths are adapted to the camera module, the camera line link parameters are not adjusted for different cables, so the image quality of the camera cannot reach the best state during transmission, which will lead to image frame loss, freeze, blur, and cable length is limited by distance.
[0004] Therefore, how to achieve the best match between different harness lengths and camera modules to ensure the stability and clarity of image transmission is an urgent problem to be solved in autonomous driving technology. Summary of the invention
[0005] The embodiments of the present application provide a camera harness link optimization method, device, SOC chip and system, which can effectively solve the problem of difficulty in ensuring image quality when camera image data is transmitted to a domain controller.
[0006] According to a first aspect of an embodiment of the present application, a camera harness link optimization method is provided, which is applied to a system-on-chip (SOC) chip of a vehicle domain controller. The method includes: after detecting that a camera is connected to a connector of the vehicle domain controller, identifying the harness length of the camera; according to the harness length, obtaining the harness link parameters of the camera; loading the link parameters into a retimer chip for optimizing the camera harness link, and initializing the retimer chip so that the retimer optimizes the camera harness link according to the link parameters.
[0007] Through the above technical solution, the SOC chip is used to automatically identify the length of the wiring harness, and the corresponding wiring harness link parameters are obtained according to the wiring harness length to load and configure the retimer parameters, so as to optimize the wiring harness link according to different lengths, make the image clearer, and increase the transmission distance of the wiring harness, effectively solving the problem of image transmission blur caused by different cable lengths when adapting the camera.
[0008] In one embodiment, the harness length information is pre-written in the first electrically erasable programmable memory of the camera; the identifying the harness length of the camera includes: reading the register of the camera, and identifying the harness length of the camera according to the register value of the register, wherein the register value is the harness length information read from the first electrically erasable programmable memory and loaded into the register after the camera is connected.
[0009] Through the above technical solution, the wiring harness length is automatically identified by register reading, which reduces the risk of human configuration and identification errors. Especially in complex systems, the error rate can be significantly reduced, thereby improving the efficiency of wiring harness link optimization.
[0010] In one embodiment, obtaining the link parameters of the camera harness according to the harness length includes: querying the optimal link parameters corresponding to the harness length from a predefined camera link mapping table according to the harness length, the mapping table including optimal link parameters corresponding to different harness lengths; and determining the link parameters of the camera harness according to the optimal link parameters.
[0011] Through the above technical solution, the corresponding optimal link parameters can be queried from the predefined camera link mapping table according to the harness length, and these parameters can be applied to the link configuration of the camera harness, thereby optimizing the signal transmission quality and effectively improving the efficiency and accuracy of determining the link parameters.
[0012] In one embodiment, the camera link mapping table is pre-stored in a second electrically erasable programmable memory of the SOC chip, and / or the camera link mapping table is pre-stored in the cloud; the method further includes: obtaining the camera link mapping table from the second electrically erasable programmable memory, and / or the cloud according to a mapping table request message; wherein the mapping table request message is generated after detecting that the camera is connected to the connector of the vehicle domain controller.
[0013] Through the above technical solution, the SOC chip can obtain the camera link mapping table from the EEPROM and the cloud, and query and apply the optimal link parameters according to the mapping table, thereby optimizing the signal transmission quality of the camera harness.
[0014] In one implementation, loading the link parameters into a retimer chip includes:
[0015] The link parameters are loaded into a retimer chip through an inter-integrated circuit communication I2C protocol; wherein the link parameters include at least one of the following: pre-de-emphasis, added de-emphasis, and amplitude.
[0016] Through the above technical solution, the link parameters can be efficiently loaded into the retimer chip to achieve the optimization of the camera harness link.
[0017] In one embodiment, the method further includes: in response to a wiring harness link optimization completion message triggered by the retiming chip, acquiring image data transmitted by the camera based on the wiring harness link.
[0018] Through the above technical solution, after the wiring harness link is optimized, the image data is transmitted through the wiring harness link of the camera, which can effectively ensure that the received image data is a clear image.
[0019] According to a second aspect of an embodiment of the present application, a camera harness link optimization device is provided, which is applied to a system-on-chip (SOC) chip of a vehicle domain control, and the device includes:
[0020] A length identification module, configured to identify the length of the camera harness after detecting that the camera is connected to the connector of the vehicle domain controller;
[0021] A parameter acquisition module, configured to acquire a harness link parameter of the camera according to the harness length;
[0022] An optimization module is configured to load the link parameters into a retimer chip for optimizing the camera harness link and initialize the retimer chip so that the retimer optimizes the camera harness link according to the link parameters.
[0023] In one embodiment, the camera harness link optimization device may be used to execute any possible implementation of the first aspect described above.
[0024] According to a third aspect of an embodiment of the present application, there is provided a SOC chip, including: a memory and a processor;
[0025] The memory stores computer-executable instructions;
[0026] The processor executes the computer-executable instructions stored in the memory, so that the SOC chip executes the camera harness link optimization method provided in any one of the first aspects.
[0027] According to a fourth aspect of an embodiment of the present application, there is provided an image data transmission system, comprising a vehicle domain controller, a camera, and a retimer chip electrically connected to the vehicle domain controller and the camera, respectively, wherein the vehicle domain controller comprises a connector, and a SOC chip electrically connected to the connector and the camera, respectively, and the camera is connected to the connector via a wiring harness;
[0028] The SOC chip is used to execute the camera harness link optimization method provided in any one of the first aspects above;
[0029] The retimer chip is used to optimize the wiring harness link of the camera according to the link parameters;
[0030] The camera is used to access the vehicle domain control through the connector and transmit image data to the SOC chip.
[0031] In one embodiment, the system further comprises:
[0032] The deserializers connected to the vehicle domain controller and the retiming chip respectively are used to deserialize the image data of the camera and transmit them to the SOC chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A possible system architecture diagram provided for an embodiment of the present application;
[0034] Figure 2 One of the flow diagrams of a camera harness link optimization method provided in an embodiment of the present application;
[0035] Figure 3 A second flowchart of a camera harness link optimization method provided in an embodiment of the present application;
[0036] Figure 4 A schematic diagram of a flow chart of another camera harness link optimization method provided in an embodiment of the present application;
[0037] Figure 5 A structural diagram of a camera harness link optimization device provided in an embodiment of the present application;
[0038] Figure 6 A schematic diagram of the structure of a SOC chip provided in an embodiment of the present application;
[0039] Figure 7 A schematic diagram of the structure of an image data transmission system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] Figure 1 A possible system architecture diagram provided by an embodiment of the present application is shown, and the system architecture includes a vehicle domain controller (which can be an electronic control unit or ECU in a car), a camera (module), and a retimer chip retimer, such as Figure 1As shown, the vehicle domain controller includes a computing power SOC 110 and a connector (not shown), wherein the camera 120 is connected to the connector of the domain controller via a cable to access the domain controller. When the computing power SOC 110 detects that the connector is connected to the camera, it identifies the camera's wiring harness length, and obtains the camera's wiring harness link parameters based on the wiring harness length, and then loads the link parameters into the retimer. The retimer is used to optimize the camera's wiring harness link. By initializing the retimer, the retimer optimizes the camera's wiring harness link according to the link parameters. Optionally, firstly, the calibration data of different harness lengths (i.e. harness link parameters), including equalization, pre-emphasis, and de-emphasis parameters, are calibrated and written into the Electrically Erasable Programmable Read-Only Memory (EEPROM1) of the computing power SOC. When adapting to different harness cameras, the domain controller can obtain the harness length through the Inter-Integrated Circuit (I2C) management channel, and then load the calibration data into the retimer chip 130. The retimer chip 130 is used to increase the transmission distance, ensuring that harness cameras of different lengths can be relatively optimal and the image is clearer. Optionally, the harness length of the camera 120 can be written into the EEPROM2 of the camera 120, and the computing power SOC 110 can identify the length of the camera cable by reading the EEPROM2 of the camera.
[0041] Optionally, the system architecture may also include a deserializer 140, which may be connected between the computing power SOC110 and the retimer chip 130. The retimer chip 130 transmits the image data to the deserializer after retiming the image data, converts the serial data into parallel data, and then transmits it to the computing power SOC110 for processing, which may be transmitted through the mobile industry processor interface (MIPI) interface. It is understandable that in automotive applications, domain control and cameras usually transmit image data through the GMSL serial bus. In order to facilitate the processing of image data by the domain control, a deserializer may be used to convert serial data into parallel data so that the domain controller can perform further processing. Among them, a deserializer is a device or circuit for converting a serial data stream back into parallel data. The deserializer is used between the camera and the domain control, mainly to process and transmit image data or other high-bandwidth data.
[0042] It should be noted that, in some embodiments, the retimer chip 130 and the deserializer 140 may be integrated in the domain controller, and the present application does not specifically limit whether the above components are integrated units or independent modules or devices.
[0043] The above briefly describes the scene schematic diagram of the present application. In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution in the embodiment of the present application will be described in more detail in combination with the drawings in the embodiments of the present application. In the drawings, the same or similar reference numerals throughout represent the same or similar parts or parts with the same or similar functions. The described embodiments are part of the embodiments of the present application, not all of the embodiments. The embodiments described below with reference to the drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0044] Please refer to Figure 2 , Figure 2 A schematic diagram of a camera harness link optimization method provided in an embodiment of the present application, which can be applied to Figure 1 In the system-on-chip SOC chip of the vehicle domain control shown, the method includes steps S201-S203:
[0045] Step S201: After detecting that a camera is connected to a connector of the vehicle domain controller, identifying the length of the camera's wiring harness.
[0046] In one implementable manner, the SoC chip can detect the access of the camera device through the hardware signal of the connector (such as voltage change) or bus scanning (such as CAN bus, etc.). Exemplarily, the voltage change detection method can be used to detect whether the camera is connected. When the camera is connected to the connector, certain pins on the connector (such as power pins or signal pins) will have voltage changes. The SoC can detect the access of the camera by monitoring the voltage changes of these pins. Among them, a dedicated detection pin can be designed on the connector. When the camera is inserted, the voltage of the pin changes from a high level to a low level, or from a low level to a high level. Alternatively, the current detection method can also be performed by a current sensor. The SoC can use a current sensor to monitor the current change of the connector. When the camera is connected, the current sensor will detect the change in current to determine whether the camera is connected. In some implementable methods, other devices can also be used to detect whether the camera is connected to the connector of the vehicle domain control. The SOC chip interacts with the device to determine whether the camera is connected to the vehicle domain control.
[0047] Next, the SOC chip can identify the length of the camera's harness by sending an identification command to the camera. Specifically, the SoC chip sends an identification command to the camera, requiring the camera to return its identification information and related parameters, which may include camera model, firmware version, manufacturer information, etc. After receiving the identification command, the camera returns a response data packet containing its identification information, and the SoC receives the camera response and parses the data packet to obtain relevant information about the camera. In addition, in the process of measuring the harness length, it can be achieved by the following methods, such as signal delay measurement, the SoC chip sends a specific signal to the camera and measures the time delay of the signal return. According to the propagation speed of the signal in the cable, the length of the cable can be calculated, such as the SoC chip can send a pulse signal and measure the time it takes for the pulse signal to return from the camera. Using the known signal propagation speed (usually the speed of light in the cable), the length of the cable can be calculated; or by measuring the electrical characteristics, the length of the cable can be calculated by measuring the resistance, capacitance or other electrical characteristics of the cable. The SoC can use the built-in electrical measurement module to measure the resistance or capacitance value of the cable and calculate the harness length by looking up a table or formula.
[0048] In this embodiment, the harness length information is pre-written in the first electrically erasable programmable memory of the camera, and the above-mentioned step S201 identifies the harness length of the camera, which may include the following steps: reading the register of the camera, and identifying the harness length of the camera according to the register value of the register, wherein the register value is the harness length information read from the first electrically erasable programmable memory after the camera is connected and loaded into the register.
[0049] Specifically, the EEPROM stores the harness length information of the camera in advance. When the camera is connected to the domain controller, the camera can read the harness length information from the EEPROM. The read harness length information will be loaded into a specific register of the camera. This register is used to store the harness length information for subsequent reading and use. The SOC obtains the harness length information by reading the camera's register, and the register can be read through the I2C standard protocol.
[0050] For example, the camera module can be calibrated in advance, and the cable length can be entered into the camera module eeprom. The camera module and coaxial cable also need to be calibrated with the domain controller in advance to calibrate the optimal parameters of different cables. The harness length is fixed to the 0x10 register, which can be read through the standard I2C protocol. The computing power SOC can access the camera module's eeprom, and the register value corresponding to the harness length description is also updated in the computing power SOC image. The initial register value automatically corresponds to the line length.
[0051] As shown in Table 1 below:
[0052] Table 1
[0053]
[0054] In this process, the harness length is automatically identified by register reading, reducing the risk of human configuration and identification errors. Especially in complex systems, the error rate can be significantly reduced, thereby improving the efficiency of harness link optimization.
[0055] Step S202: Obtain the wiring harness link parameters of the camera according to the wiring harness length.
[0056] After the SOC chip identifies the length of the harness to which the camera is connected, it can obtain the corresponding harness link parameters based on the harness length. The acquisition process can be obtained through interaction with other devices or determined based on the SOC computing power.
[0057] In one example, the database may store different harness lengths and the optimal harness link parameters corresponding to each harness length (which may be determined based on actual applications or a large amount of prior data). The SOC chip sends a request to obtain the harness link parameters to the database, and the request carries the harness length. The request may be in the form of a structured data query language or other forms. This embodiment does not specifically limit this. The SOC chip responds to the feedback data of the database to obtain the harness link parameters of the camera. In other examples, the SOC chip may also use the harness length to query the camera link mapping table to determine the harness link parameters. This process is described in detail in the following embodiments and will not be repeated here.
[0058] Step S203: Load the link parameters into a retimer chip for optimizing the camera harness link, and initialize the retimer chip so that the retimer optimizes the camera harness link according to the link parameters.
[0059] A retimer chip is an integrated circuit used for signal integrity and data transmission optimization, and can be used in high-speed data communication systems. It has the functions of signal retiming, signal amplification and equalization, jitter elimination, and extending transmission distance. Specifically, the retimer chip can eliminate signal jitter and timing offset caused by long-distance transmission or other factors by retiming the input signal, restoring and reconstructing the timing characteristics of the signal. It can also amplify the attenuated signal and compensate for the frequency loss of the signal during transmission through equalization technology, thereby improving signal quality and transmission distance. By retiming and amplifying the signal, the retimer chip can significantly extend the transmission distance of high-speed signals, allowing the system to maintain high-quality data transmission over longer distances.
[0060] In this embodiment, by loading the link parameters into the retimer chip, the retimer chip is used to optimize the camera harness link to extend the image data transmission distance and achieve signal retiming and amplification. Specifically, the link parameters can be written to the retiemr register through the SOC chip, and the register value can be written through the I2C interface. After the register value is successfully written, the retimer chip will be initialized according to the corresponding value. After the initialization is completed, data transmission can be performed. The specific register description is shown in Table 2 below:
[0061] Table 2
[0062] register length Detailed description 0x2D 1 byte The lower 3 bits represent the amplitude 0x15 1 byte The lower 4 bits indicate de-emphasis 0x24 1 byte The lower 4 bits indicate pre-emphasis
[0063] By adding a retimer chip to the entire link, the signal driving and balancing capabilities are enhanced. For example, the original camera transmission line is about 15 meters long. After adding the retimer chip, the camera transmission line is increased by 5 meters. In this process, the retimer chip re-drives the signal and recovers the clock, which is equivalent to a secondary signal drive, increasing the camera transmission distance and making it easier to install on vehicles with long bodies.
[0064] In the process of loading the link parameters into the retimer chip, the link parameters can be loaded into the retimer chip through the I2C protocol for communication between integrated circuits, and the link parameters include at least one of the following: pre-de-emphasis, added de-emphasis and amplitude.
[0065] Exemplarily, the SOC chip sends the I2C address of the retimer chip to identify the communication target. After the retimer chip recognizes its own address, it sends an acknowledgment signal (ACK). The SOC chip sends the register address to be written, which corresponds to the location in the retimer chip used to store link parameters. At this time, the retimer chip can send an acknowledgment signal (ACK) again to indicate that it is ready to receive data. During the data transmission phase, the SOC chip starts to send link parameter data, which include but are not limited to pre-emphasis, de-emphasis, and amplitude. The retimer chip can send an acknowledgment signal (ACK) for each byte of data sent until all data is transmitted. After the transmission is completed, the SOC chip can send a stop signal (StopCondition) to the retimer chip to end the I2C communication.
[0066] As a further example, the above-mentioned link parameters include pre-emphasis: by adjusting the high-frequency components of the signal, the high-frequency attenuation of the signal during transmission is compensated; de-emphasis: by reducing the high-frequency components of the signal, the high-frequency noise of the signal during transmission is reduced; amplitude: adjusting the voltage amplitude of the signal to ensure that the signal can be correctly decoded at the receiving end. In some embodiments, in addition to the exemplified link parameters, other link parameters such as jitter tolerance may also be included. During initialization or operation, the retiming chip uses these link parameters to optimize the link to ensure the best performance of signal transmission. Specifically, these parameters can be dynamically adjusted through internal algorithms and feedback mechanisms until the link reaches the optimal state.
[0067] In some embodiments, in addition to loading the link parameters into the retimer chip through the I2C protocol, other configuration and control methods may be used, such as using the Serial Peripheral Interface (SPI) protocol for higher-speed data transmission and configuration, or using the Universal Asynchronous Receiver / Transmitter (UART) protocol for simple serial communication to load the link parameters into the retimer chip.
[0068] Through the above technical solution, the link parameters can be efficiently loaded into the retimer chip to achieve the optimization of the camera harness link.
[0069] Furthermore, after the wire harness link is optimized, the image data is transmitted through the wire harness link of the camera, so that the received image data is clearer. Figure 3 As shown, the method provided in this embodiment may also include the following steps:
[0070] S301 . In response to a wiring harness link optimization completion message triggered by the retiming chip, obtain image data transmitted by the camera based on the wiring harness link.
[0071] In this embodiment, when the retiming chip completes link optimization, an optimization completion message can be generated, which can be sent to the SOC chip through the I2C communication protocol. The SOC chip receives the optimization completion message from the retiming chip by monitoring the corresponding communication interface, and responds to the wiring harness link optimization completion message, and uses the wiring harness link to obtain the image data transmitted by the camera. Correspondingly, the camera can also communicate with the retiming chip through the I2C communication protocol to obtain the optimization completion message of the retiming chip and transmit data. The relevant principles will not be repeated here.
[0072] It can be understood that in response to the conditions or states on which the executed operations depend, when the dependent conditions or states are met, one or more operations executed can be in real time or have a set delay; unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0073] Figure 4 This is a flow chart of another camera harness link optimization method provided by an embodiment of the present application. Based on the above embodiment, this embodiment uses a camera link mapping table to obtain link parameters, which can efficiently match the optimal link parameters. Specifically, in this embodiment, the above step S201 obtains the link parameters of the camera harness according to the harness length, which can include the following steps S401 and S402:
[0074] Step S401: According to the harness length, query the optimal link parameter corresponding to the harness length from a predefined camera link mapping table, wherein the mapping table includes the optimal link parameters corresponding to different harness lengths;
[0075] Step S402: Determine the link parameters of the camera harness according to the optimal link parameters.
[0076] In this embodiment, the SOC chip loads the retimer through I2C, initializes the retimer chip according to the harness length and the corresponding link mapping table, ensures that the parameters are optimal, and uses the retimer chip to extend the transmission distance, compensate for channel loss, eliminate signal jitter, and improve signal integrity.
[0077] The camera link mapping table may be as shown in Table 3 below:
[0078] Table 3:
[0079] Wire harness length (m) Pre-emphasis(dB) De-emphasis(dB) Amplitude(mv) 1 0.5 -1 650 3 2 -2 700 5 3.5 -2.5 750 10 6 -3 800 15 7.5 -4 900 20 8 -5 950
[0080] Through the above steps, the system can query the corresponding optimal link parameters from the predefined camera link mapping table according to the length of the harness, and apply these parameters to the link configuration of the camera harness, thereby optimizing the signal transmission quality.
[0081] In one example, the camera link mapping table is pre-stored in a second electrically erasable programmable memory of the SOC chip. The method provided in this embodiment may also include the following steps: obtaining the camera link mapping table from the second electrically erasable programmable memory and / or the cloud according to a mapping table request message.
[0082] In this embodiment, when the SOC chip needs to obtain the camera link mapping table, it generates a mapping table request message to obtain the mapping table from the EEPROM. After receiving the request, the EEPROM returns the stored camera link mapping table data. The SOC chip receives and parses the mapping table data read from the EEPROM in preparation for subsequent use.
[0083] In another example, the camera link mapping table is pre-stored in the cloud, and the method provided in this embodiment may further include the following steps: acquiring the camera link mapping table from the cloud according to a mapping table request message.
[0084] If the mapping table is not stored in the EEPROM, or the mapping table needs to be updated, the SOC chip can obtain the latest camera link mapping table from the cloud. The SOC chip can establish a connection with the cloud server through Wi-Fi, Ethernet or other network interfaces, and send a mapping table request message to the cloud server to request the latest camera link mapping table. After receiving the request, the cloud server searches and returns the latest camera link mapping table data. The SOC chip receives the mapping table data returned from the cloud for subsequent processing, or stores it in the EEPROM for subsequent use.
[0085] Among them, the above-mentioned mapping table request message can be generated after detecting that the camera is connected to the connector of the vehicle domain controller.
[0086] Through the above technical solution, the SOC chip can obtain the camera link mapping table from the EEPROM and the cloud, and query and apply the optimal link parameters according to the mapping table, thereby optimizing the signal transmission quality of the camera harness.
[0087] Figure 5 is a schematic diagram of the structure of a camera harness link optimization device provided in an embodiment of the present application, which is applied to a system-on-chip SOC chip of a vehicle domain control, such as Figure 5 As shown, the device 500 includes a length identification module 501, a parameter acquisition module 502 and an optimization module 503, wherein:
[0088] A length identification module 501, which is configured to identify the length of the camera harness after detecting that the camera is connected to the connector of the vehicle domain controller;
[0089] A parameter acquisition module 502, which is configured to acquire the wire harness link parameters of the camera according to the wire harness length;
[0090] The optimization module 503 is configured to load the link parameters into a retimer chip for optimizing the camera harness link, and initialize the retimer chip so that the retimer optimizes the camera harness link according to the link parameters.
[0091] In one embodiment, the harness length information is pre-written in the first electrically erasable programmable memory of the camera; the length identification module 501 is specifically configured to read the register of the camera and identify the harness length of the camera according to the register value of the register, and the register value is the harness length information read from the first electrically erasable programmable memory after the camera is connected and loaded into the register.
[0092] In one implementation, the parameter acquisition module 502 includes:
[0093] A query unit, configured to query an optimal link parameter corresponding to the harness length from a predefined camera link mapping table according to the harness length, wherein the mapping table includes optimal link parameters corresponding to different harness lengths;
[0094] A determination unit is configured to determine the link parameters of the camera harness according to the optimal link parameters.
[0095] In one implementation, the camera link mapping table is pre-stored in a second electrically erasable programmable memory of the SOC chip, and / or the camera link mapping table is pre-stored in the cloud; the device further includes:
[0096] a mapping table acquisition module, configured to acquire the camera link mapping table from the second electrically erasable programmable memory and / or the cloud according to a mapping table request message;
[0097] The mapping table request message is generated after detecting that the camera is connected to the connector of the vehicle domain controller.
[0098] In one implementation, the optimization module 503 includes:
[0099] a loading unit configured to load the link parameters into the retimer chip via an inter-integrated circuit communication I2C protocol;
[0100] The link parameters include at least one of the following: pre-de-emphasis, added de-emphasis and amplitude.
[0101] In one embodiment, the device further comprises:
[0102] A transmission module is configured to respond to a wiring harness link optimization completion message triggered by the retiming chip and obtain image data transmitted by the camera based on the wiring harness link.
[0103] It should be noted that the above-mentioned device provided in the embodiments of the present application corresponds to the contents of the above-mentioned method embodiments, and its implementation principles and technical effects are similar. For technical details not disclosed in the above-mentioned equipment embodiments of the present application, please refer to the description of the method embodiments or device embodiments of the present application for understanding.
[0104] Figure 6 is a SOC chip provided in an embodiment of the present application, such as Figure 6 As shown, the SOC chip includes: a processor 601, and a memory 602 that is communicatively connected to the processor 601; the memory 602 stores computer-executable instructions; the processor 601 executes the computer-executable instructions stored in the memory 602 to implement the radar conversion method, wherein the memory 602 and the processor 601 are connected via a bus 603.
[0105] It should be noted that the above-mentioned chip provided in the embodiment of the present application corresponds to the content of the above-mentioned method embodiment, and its implementation principle and technical effect are similar. For the technical details not disclosed in the above-mentioned device embodiment of the present application, please refer to the description of the method embodiment or device embodiment of the present application for understanding.
[0106] Figure 7 is a structural diagram of an image data transmission system provided in an embodiment of the present application, such as Figure 7 As shown, the system includes a vehicle domain control 710, a camera 720 and a retimer chip 730 electrically connected to the vehicle domain control 710 and the camera 720, respectively, wherein the vehicle domain control 710 includes a connector 711, and a SOC chip 712 electrically connected to the connector 711 and the camera 720, respectively, and the camera 720 is connected to the connector 711 through a wiring harness; the SOC chip 712 is used to execute the camera wiring harness link optimization method provided in any one of the first aspects above; the retimer chip 730 is used to optimize the wiring harness link of the camera 720 according to the link parameters; the camera 720 is used to access the vehicle domain control 710 through the connector 711 and transmit image data to the SOC chip 711.
[0107] In one embodiment, the system further comprises:
[0108] The deserializers connected to the vehicle domain controller and the retiming chip respectively are used to deserialize the image data of the camera and transmit them to the SOC chip.
[0109] It should be noted that the above-mentioned system provided in the embodiment of the present application corresponds to the content of the above-mentioned method embodiment, and its implementation principles and technical effects are similar. For technical details not disclosed in the above-mentioned equipment embodiment of the present application, please refer to the description of the method embodiment or device embodiment of the present application for understanding.
[0110] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0111] As is well known to those skilled in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0112] Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0113] In the description of the embodiments of the present application, the term "and / or" merely indicates an association relationship that describes associated objects, indicating that three relationships may exist. For example, A and / or B may indicate the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" indicates any combination of at least two of any one or more of a plurality of. For example, at least one of A, B, and C may indicate any one or more elements selected from a set that includes A, B, and C.
[0114] In the description of the embodiments of the present application, the terms "upper", "lower", "front", "back", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present application. In addition, the term "plurality" means two or more, unless otherwise precisely and specifically specified.
[0115] In the description of the embodiment of the present application, the terms "first", "second", "third", "fourth", etc. (if present) are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A camera harness link optimization method, characterized in that: A system-on-chip (SOC) chip applied to vehicle domain control, the method comprising: After detecting that the camera is connected to the connector of the vehicle domain controller, identifying the length of the wiring harness of the camera; According to the length of the wire harness, obtaining a wire harness link parameter of the camera; The link parameters are loaded into a retimer chip for optimizing the camera harness link, and the retimer chip is initialized so that the retimer optimizes the camera harness link according to the link parameters.
2. The method according to claim 1, characterized in that The first electrically erasable programmable memory of the camera is pre-written with the wiring harness length information; The identifying the length of the harness of the camera includes: The register of the camera is read, and the harness length of the camera is identified according to the register value of the register, wherein the register value is the harness length information read from the first electrically erasable programmable memory after the camera is connected and loaded into the register.
3. The method according to claim 1 or 2, characterized in that: The step of obtaining the link parameter of the camera harness according to the harness length includes: According to the harness length, querying an optimal link parameter corresponding to the harness length from a predefined camera link mapping table, wherein the mapping table includes optimal link parameters corresponding to different harness lengths; According to the optimal link parameters, link parameters of the camera harness are determined.
4. The method according to claim 3, characterized in that The camera link mapping table is pre-stored in a second electrically erasable programmable memory of the SOC chip, and / or the camera link mapping table is pre-stored in a cloud; the method further includes: Acquire the camera link mapping table from the second electrically erasable programmable memory and / or the cloud according to the mapping table request message; The mapping table request message is generated after detecting that the camera is connected to the connector of the vehicle domain controller.
5. The method according to any one of claims 1 to 4, characterized in that: The step of loading the link parameters into a retimer chip comprises: Loading the link parameters into the retimer chip via an inter-integrated circuit communication I2C protocol; The link parameters include at least one of the following: pre-de-emphasis, added de-emphasis and amplitude.
6. The method according to any one of claims 1 to 4, characterized in that: Also includes: In response to a wiring harness link optimization completion message triggered by the retiming chip, image data transmitted by the camera is acquired based on the wiring harness link.
7. A camera harness link optimization device, characterized in that: A system-on-chip (SOC) chip for vehicle domain control, the device comprising: A length identification module, configured to identify the length of the camera harness after detecting that the camera is connected to the connector of the vehicle domain controller; A parameter acquisition module, configured to acquire a harness link parameter of the camera according to the harness length; An optimization module is configured to load the link parameters into a retimer chip for optimizing the camera harness link and initialize the retimer chip so that the retimer optimizes the camera harness link according to the link parameters.
8. A SOC chip, characterized in that: include: Memory and processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the SOC chip executes the camera harness link optimization method according to any one of claims 1 to 6.
9. An image data transmission system, characterized in that: A vehicle domain controller, a camera, and a retimer chip electrically connected to the vehicle domain controller and the camera, respectively, wherein the vehicle domain controller includes a connector, and a SOC chip electrically connected to the connector and the camera, respectively, and the camera is connected to the connector through a wiring harness; The SOC chip is used to execute the camera harness link optimization method according to any one of claims 1 to 6; The retimer chip is used to optimize the wiring harness link of the camera according to the link parameters; The camera is used to access the vehicle domain control through the connector and transmit image data to the SOC chip.
10. The system according to claim 9, characterized in that Also includes: The deserializers connected to the vehicle domain controller and the retiming chip respectively are used to deserialize the image data of the camera and transmit them to the SOC chip.