Clock synchronization method of intelligent driving system and vehicle with intelligent driving system

By adopting a dual clock synchronization mechanism in the intelligent driving system, using the vehicle's external and internal clock information, and combining different clock synchronization protocols, the problem of unstable clock sources affecting intelligent driving functions is solved, ensuring the stability and accuracy of the system clock.

CN118748577APending Publication Date: 2024-10-08VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410777861.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The clock synchronization mechanism of the intelligent driving system is affected by external factors in some scenarios, causing the clock source to be unstable or lost, resulting in clock deviation, affecting the accuracy of the perception fusion and high-precision positioning algorithms, and thus affecting the intelligent driving function.

Method used

Adopting a dual clock synchronization mechanism, the vehicle's external clock information is obtained for clock synchronization between the first set of hardware devices, and the vehicle's internal clock information is obtained for clock synchronization between the second set of hardware devices, using different clock synchronization protocols (such as PPS+UDP and Generalized Precision Time Synchronization Protocol) to ensure the stability of the system clock.

Benefits of technology

Even if the external clock source is lost or unstable, the second clock synchronization is performed based on the internal clock information, ensuring the normal operation of the intelligent driving function, avoiding the impact of clock deviation on the system, and reducing development costs and system resource occupation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748577A_ABST
    Figure CN118748577A_ABST
Patent Text Reader

Abstract

The invention discloses a clock synchronization method of an intelligent driving system and a vehicle with the intelligent driving system. The method comprises the steps that external clock information of a vehicle is obtained, first clock synchronization between a first set of hardware devices in the vehicle is carried out with the external clock information of the vehicle as a reference moment, and the first set of hardware devices comprise hardware devices needed for achieving the operation and maintenance function; vehicle internal clock information is obtained, second clock synchronization between a second set of hardware devices in the vehicle is carried out with the vehicle internal clock information as a reference moment, and the second set of hardware devices comprise hardware devices needed for achieving the intelligent driving function. According to the method and the device, since the second clock synchronization is performed based on the vehicle internal clock information, even if the vehicle external clock source is lost, unstable or jumped, the second clock is not influenced, so that the normal operation of the intelligent driving function is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and specifically to a clock synchronization method and device for an intelligent driving system, a vehicle with an intelligent driving system, and a computer-readable storage medium. Background Art

[0002] There are some problems with the clock synchronization mechanism of the current intelligent driving system. For example, due to the limitations of various external scenarios (tunnels, underground parking lots, etc.), the clock source used for clock synchronization is unstable, easy to lose, and continuously jumps. This causes a large deviation in the clock of the intelligent driving system, which in turn affects the accuracy of algorithms such as perception fusion and high-precision positioning, and thus affects the function of intelligent driving. Summary of the invention

[0003] The present application provides a clock synchronization method and device for an intelligent driving system, a vehicle with an intelligent driving system, and a computer-readable storage medium, which can solve the technical problem in the prior art that the intelligent driving function is seriously affected when the clock source is lost, unstable, or jumps.

[0004] In a first aspect, an embodiment of the present application provides a clock synchronization method for an intelligent driving system, and the clock synchronization method for the intelligent driving system includes:

[0005] Acquire vehicle external clock information, and use the vehicle external clock information as a reference time to perform first clock synchronization between a first group of hardware devices in the vehicle, wherein the first group of hardware devices includes hardware devices required to implement an operation and maintenance function;

[0006] The internal clock information of the vehicle is obtained, and the internal clock information of the vehicle is used as a reference time to perform a second clock synchronization between a second group of hardware devices in the vehicle, wherein the second group of hardware devices includes hardware devices required to realize the intelligent driving function.

[0007] In combination with the first aspect, in one implementation, the vehicle external clock information is Coordinated Universal Time.

[0008] In combination with the first aspect, in one implementation, the vehicle internal clock information is the time of the first clock when the vehicle was last powered off.

[0009] In combination with the first aspect, in one implementation, the step of performing first clock synchronization between a first group of hardware devices in the vehicle using the vehicle external clock information as a reference time includes:

[0010] The micro control unit in the intelligent driving domain controller uses the vehicle external clock information as a reference time to perform a first clock synchronization with the telematics processor;

[0011] After the microcontroller unit completes the first clock synchronization with the telematics processor, the microcontroller unit sends the time recorded by the first clock of the local end to the system-level chip in the intelligent driving domain controller so that the system-level chip and the microcontroller unit can perform the first clock synchronization.

[0012] In combination with the first aspect, in one implementation, a clock synchronization protocol used for performing a first clock synchronization between the first group of hardware devices is different from a clock synchronization protocol used for performing a second clock synchronization between the second group of hardware devices.

[0013] In combination with the first aspect, in one implementation, the first clock synchronization between the first group of hardware devices is performed using the PPS clock synchronization protocol; the transmission of the reference time is performed using the UDP protocol;

[0014] And / or, performing second clock synchronization between the second group of hardware devices using the generalized precise time synchronization protocol and / or the CAN_TSN protocol.

[0015] In combination with the first aspect, in one implementation, the clock synchronization method of the intelligent driving system further includes:

[0016] When the external clock information of the vehicle cannot be obtained, the first clock synchronization between the first group of hardware devices is performed using the CAN time sent by the vehicle infotainment system as a reference time.

[0017] In a second aspect, an embodiment of the present application provides a vehicle with an intelligent driving system, wherein the vehicle with the intelligent driving system includes:

[0018] A first acquisition module, used for acquiring vehicle external clock information, and transmitting the vehicle external clock information to a first synchronization module;

[0019] A first synchronization module, used for performing first clock synchronization between a first group of hardware devices in the vehicle using the vehicle external clock information as a reference time, wherein the first group of hardware devices includes hardware devices required to implement an operation and maintenance function;

[0020] A second acquisition module, used for acquiring vehicle internal clock information, and transmitting the vehicle internal clock information to a second synchronization module;

[0021] The second synchronization module is used to perform a second clock synchronization between a second group of hardware devices in the vehicle using the internal clock information of the vehicle as a reference time, wherein the second group of hardware devices includes hardware devices required to implement the intelligent driving function.

[0022] In a third aspect, an embodiment of the present application provides a clock synchronization device for an intelligent driving system, wherein the clock synchronization device for the intelligent driving system comprises a processor, a memory, and a clock synchronization program for the intelligent driving system stored in the memory and executable by the processor, wherein when the clock synchronization program for the intelligent driving system is executed by the processor, the steps of the clock synchronization method for the intelligent driving system described in the first aspect are implemented.

[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a clock synchronization program for an intelligent driving system is stored. When the clock synchronization program for the intelligent driving system is executed by a processor, the steps of the clock synchronization method for the intelligent driving system described in the first aspect are implemented.

[0024] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:

[0025] In the embodiment of the present application, the vehicle's external clock information is obtained, and the vehicle's external clock information is used as a reference time to perform a first clock synchronization between a first group of hardware devices in the vehicle, wherein the first group of hardware devices includes hardware devices required to implement operation and maintenance functions; the vehicle's internal clock information is obtained, and the vehicle's internal clock information is used as a reference time to perform a second clock synchronization between a second group of hardware devices in the vehicle, wherein the second group of hardware devices includes hardware devices required to implement intelligent driving functions. Through the embodiment of the present application, since the second clock synchronization is based on the vehicle's internal clock information, even if the vehicle's external clock source is lost, unstable, or jumps, it will not affect the second clock, thereby ensuring the normal operation of the intelligent driving function. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a flow chart of an embodiment of a clock synchronization method for an intelligent driving system of the present application;

[0027] Figure 2 A schematic diagram of a clock synchronization scenario in an embodiment of a clock synchronization method for an intelligent driving system of the present application;

[0028] Figure 3 This is a functional module diagram of an embodiment of a vehicle with an intelligent driving system of the present application;

[0029] Figure 4 This is a schematic diagram of the hardware structure of the clock synchronization device of the intelligent driving system involved in the embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0031] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0032] In a first aspect, an embodiment of the present application provides a clock synchronization method for an intelligent driving system.

[0033] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the clock synchronization method of the intelligent driving system of this application. Figure 1 As shown, the clock synchronization method of the intelligent driving system includes:

[0034] Step S10, obtaining vehicle external clock information, and using the vehicle external clock information as a reference time to perform first clock synchronization between a first group of hardware devices in the vehicle, wherein the first group of hardware devices includes hardware devices required to implement an operation and maintenance function;

[0035] In this embodiment, the operation and maintenance functions include system monitoring, troubleshooting, performance optimization, log management, backup and recovery, etc. It should be noted that this is only a schematic description of the operation and maintenance functions and does not constitute a limitation on the operation and maintenance functions. The sub-items included in the operation and maintenance functions can be increased or reduced according to actual conditions.

[0036] The hardware devices required to implement the operation and maintenance functions include the MCU in the intelligent driving domain controller ADCU and the system-on-chip SoC in the ADCU. It should be noted that this is only a schematic description of the first group of hardware devices and does not constitute a limitation on the first group of hardware devices. The hardware devices included in the first group of hardware devices can be increased or reduced according to actual conditions.

[0037] After acquiring the clock information of the external clock source (i.e., the vehicle's external clock information), the vehicle's external clock information is used as a reference time, and the first clock synchronization between the first group of hardware devices can be performed according to the preset clock synchronization protocol. Specifically, a reliable external clock source is selected, such as a GPS satellite signal, an atomic clock, a network time protocol (NTP) server, etc. These external clock sources have high accuracy and stability, and are used to provide the vehicle's external clock information to the execution subject of this embodiment as a reference time.

[0038] Furthermore, in one embodiment, the external clock information is Coordinated Universal Time.

[0039] In this embodiment, the Coordinated Universal Time UTC is used as the external clock information.

[0040] Furthermore, in one embodiment, the step of performing first clock synchronization between a first group of hardware devices in the vehicle using the vehicle external clock information as a reference time comprises:

[0041] The micro control unit in the intelligent driving domain controller uses the vehicle external clock information as a reference time to perform a first clock synchronization with the telematics processor;

[0042] After the microcontroller unit completes the first clock synchronization with the telematics processor, the microcontroller unit sends the time recorded by the first clock of the local end to the system-level chip in the intelligent driving domain controller so that the system-level chip and the microcontroller unit can perform the first clock synchronization.

[0043] In this embodiment, the telematics processor T-BOX obtains vehicle external clock information from an external clock source, and transmits the vehicle external clock information to the MCU in the intelligent driving domain controller ADCU; the MCU uses the obtained vehicle external clock information as a reference time and performs a first clock synchronization with the T-BOX in combination with a first transmission delay, and the first transmission delay is the transmission delay between the T-BOX and the MCU; after the T-BOX and the MCU complete the first clock synchronization, the first clock of the MCU can take effect, thereby sending the time recorded by the first clock of the local end to the system-level chip SoC in the ADCU, and the SoC uses the received time sent by the MCU as a reference time and performs a first clock synchronization with the MCU in combination with the second transmission delay, and the second transmission delay is the transmission delay between the SoC and the MCU.

[0044] The T-BOX and MCU perform the first clock synchronization, and the MCU and SoC perform the first clock synchronization, and the clock synchronization protocol used may be the generalized precise time synchronization protocol gPTP. Of course, other clock synchronization protocols may also be selected as needed, which is not limited here.

[0045] Furthermore, in one embodiment, the clock synchronization protocol used for performing the first clock synchronization between the first group of hardware devices and the clock synchronization protocol used for performing the second clock synchronization between the second group of hardware devices are different.

[0046] In this embodiment, the first clock synchronization and the second clock synchronization use different clock synchronization protocols, which can avoid conflicts between the two clock synchronization services and confusion of time-related services during engineering development.

[0047] Further, in one embodiment, the first clock synchronization between the first group of hardware devices adopts the PPS clock synchronization protocol; the transmission of the reference time adopts the UDP protocol;

[0048] And / or, performing second clock synchronization between the second group of hardware devices using the generalized precise time synchronization protocol and / or the CAN_TSN protocol.

[0049] In this embodiment, taking the first group of hardware devices including MCU and SoC as an example, the MCU and T-BOX perform clock synchronization through PPS+UDP, with T-BOX acting as the master and MCU acting as the slave.

[0050] First, T-BOX sends a pulse-per-second signal to MCU through the GPIO interface at the exact second. Second, T-BOX transmits the external clock information synchronized with the external clock source to MCU through Ethernet. The external clock information is encapsulated using the UDP protocol, but the transmission at the application layer involves time delay, so the external clock information obtained by MCU will have deviations. Finally, MCU completes the first clock synchronization with T-BOX based on the pulse-per-second signal and the external clock information obtained by UDP.

[0051] Specifically, taking the first clock synchronization between MCU and SoC as an example, when the SOC receives the PPS second pulse signal sent by the MCU, the millisecond and lower bit information of the SOC system clock is cleared to zero at the rising edge of the second pulse and the timing is restarted. Secondly, after the SOC receives the UDP time data sent by the MCU, it extracts the information above the second level and merges it with the millisecond and lower clock information of the system time to complete a clock synchronization. The same process will be completed once every second subsequently, and the synchronization will be completed once every second.

[0052] The entire T-BOX solution does not require the development of gPTP time synchronization, so the development cost is low. In addition, the PPS+UDP synchronization method is highly versatile and will occupy less system resources and development workload.

[0053] In addition, the inter-core and external Ethernet-related sensors in the second group of hardware devices use the generalized precise time synchronization protocol gPTP for second clock synchronization, and other CAN-related sensors use the CAN_TSN protocol for second clock synchronization.

[0054] Among them, the CAN_TSN protocol is an integrated protocol based on the controller area network (CAN) bus technology and time-sensitive network (TSN) technology. The CAN bus is a serial communication bus technology widely used in the field of real-time control, while the TSN technology is a technology used to achieve high-precision and reliable communication on Ethernet networks. The CAN_TSN protocol combines the advantages of the CAN bus and TSN technologies to provide a real-time communication solution suitable for fields such as industrial control systems. By introducing time-sensitive network technology, CAN_TSN can achieve hard real-time guarantees for real-time data, ensuring that data is transmitted and processed within the specified time. The main features of the CAN_TSN protocol include:

[0055] Time sensitivity: Through TSN technology, CAN_TSN can achieve time synchronization and transmission of time-sensitive data, ensuring that the time requirements for the transmission and processing of real-time data in the network are met.

[0056] High reliability: The CAN_TSN protocol combines the anti-interference characteristics of the CAN bus and the redundancy mechanism of TSN technology to provide higher communication reliability and stability.

[0057] Flexibility: CAN_TSN can be expanded and upgraded based on the existing CAN bus to support more real-time communication requirements.

[0058] In general, the CAN_TSN protocol is a real-time communication protocol for the industrial control field. It has the characteristics of high precision, high reliability and flexibility, and can meet the application scenarios of real-time control systems for hard real-time communication requirements.

[0059] Furthermore, in one embodiment, when the external clock information of the vehicle cannot be obtained, the CAN time sent by the vehicle infotainment system is used as a reference time to perform the first clock synchronization between the first group of hardware devices.

[0060] In this embodiment, in some special scenarios, when the MCU cannot obtain the vehicle's external clock information from the T-BOX, it interacts with the in-vehicle infotainment system IVI through the CAN protocol to obtain the CAN time sent by the in-vehicle infotainment system, and uses the CAN time as a reference time to perform the first clock synchronization between the first group of hardware devices.

[0061] Among them, the specific implementation example of performing the first clock synchronization between the first group of hardware devices with CAN time as the reference time refers to the above-mentioned implementation example of performing the first clock synchronization between the first group of hardware devices with the vehicle external clock information as the reference time, and will not be repeated here.

[0062] In this embodiment, a dual-clock clock synchronization solution is adopted, which can effectively solve the impact of external clock source jumps on the entire system clock. In addition, for the scenario where the external clock source is lost, since the operation and maintenance function does not require high clock accuracy, the CAN time of IVI is obtained as a reference time to synchronize the first clock between the first group of hardware devices, which can also meet the needs of the operation and maintenance function; the first clock adopts the PPS+UDP clock synchronization solution, which can avoid conflicts with the second clock and confusion of time-related services during engineering development. The clock synchronization method mentioned in the embodiment of the present application is simple to implement, has strong versatility, and low development cost, and will occupy less system resources and development workload as a whole.

[0063] Step S20, obtaining the internal clock information of the vehicle, and using the internal clock information of the vehicle as a reference time to perform a second clock synchronization between a second group of hardware devices in the vehicle, wherein the second group of hardware devices includes hardware devices required to implement the intelligent driving function.

[0064] In this embodiment, after the internal clock information of the vehicle is obtained, the internal clock information of the vehicle is used as a reference time, and the second clock synchronization between the second group of hardware devices can be performed according to a preset clock synchronization protocol.

[0065] The second set of hardware devices includes:

[0066] Lidar, Radar, USS, P-BOX, and SoC in ADCU. It should be noted that this is only a schematic description of the second group of hardware devices and does not constitute a limitation on the second group of hardware devices. The specific content of the second group of hardware devices depends on the actual situation.

[0067] In the embodiment of the present application, the vehicle's external clock information is obtained, and the vehicle's external clock information is used as a reference time to perform a first clock synchronization between a first group of hardware devices in the vehicle, wherein the first group of hardware devices includes hardware devices required to implement operation and maintenance functions; the vehicle's internal clock information is obtained, and the vehicle's internal clock information is used as a reference time to perform a second clock synchronization between a second group of hardware devices in the vehicle, wherein the second group of hardware devices includes hardware devices required to implement intelligent driving functions. Through the embodiment of the present application, since the second clock synchronization is based on the vehicle's internal clock information, even if the external clock source is lost, unstable, or jumps, it will not affect the second clock, thereby ensuring the normal operation of the intelligent driving function.

[0068] Furthermore, in one embodiment, the vehicle internal clock information is the time of the first clock when the vehicle was last powered off.

[0069] In this embodiment, referring to the above description, since the vehicle's external clock information is the coordinated universal time UTC, the time of the first clock when the vehicle was last powered off is used as the vehicle's internal clock information, and a time closest to the standard time can be obtained. This time has continuity, and is reliable and stable.

[0070] However, the first clock when the vehicle is powered on is easily affected by external factors (such as when the vehicle is in a basement, a closed area, etc.). During the vehicle startup phase, the external clock source may be unstable or jump, and a stable and reliable first clock cannot be continuously obtained. Therefore, it is not appropriate to use the first clock when the vehicle is powered on as the vehicle's internal clock information.

[0071] In addition, considering the continuity of the clock, it is not advisable to use a single designated vehicle internal clock information (such as January 1, 1970). If a single designated vehicle internal clock information is used, business-related log data will be interspersed and messy, and the log file at the time when the problem occurred cannot be accurately identified.

[0072] Among them, when MCU is used as the execution subject of the embodiment of the present application, since the MCU has both a first clock and a second clock, the time of the first clock on the MCU end when the vehicle was last powered off can be used as the internal clock information of the vehicle and as a reference time for synchronizing the second clock.

[0073] Reference Figure 2 , Figure 2 Schematic diagram of clock synchronization scenario in an embodiment of the clock synchronization method of the intelligent driving system of this application. Figure 2 As shown, the intelligent driving domain controller ADCU is composed of a high-computing-power SoC chip of automotive grade, a high-security MCU chip and a related switch chip. The embodiment of the present application adopts a dual-clock time synchronization mechanism. There are two sets of clocks in the system, namely the first clock (Domain1) and the second clock (Domain2), wherein the first clock as a whole adopts the PPS+UDP clock synchronization scheme, T-BOX obtains external clock information through GNSS and the network, and synchronizes with the MCU in ADCU through the PPS+UDP scheme, and the MCU and SOC also use the PPS+UDP scheme for synchronization. Since the first clock only involves operation and maintenance functions, it is not necessary to synchronize the first clock with other sensors; in special scenarios, such as when T-BOX cannot obtain external clock information, or when MCU cannot obtain external clock information from T-BOX, MCU can also directly obtain the CAN time sent by IVI through the CAN protocol as a reference time for the first clock synchronization between the first group of hardware devices.

[0074] The second clock is not synchronized with the external clock source. The MCU serves as the Master of the entire intelligent driving system, and the Lidar, Radar, USS, P-BOX and SoC in ADCU serve as Slaves. The MCU uses the time of the first clock when the vehicle was last powered off as the reference time, and synchronizes the second clock with the SoC, Lidar and P-BOX in ADCU through the gPTP protocol via the switch chip inside ADCU. The synchronization accuracy is in the ns level. The second clock is synchronized with the USS and Radar through the CAN-TSN protocol. The synchronization accuracy is in the ms level. For the camera, the MCU uses the time of the second clock when receiving the photo taken by the camera as the timestamp of the photo.

[0075] In addition, the conventional clock synchronization scheme is described as follows:

[0076] As the clock source of the entire system, T-BOX synchronizes time with the intelligent driving domain controller ADCU through the gPTP protocol. The gptp protocol is used for synchronization between the MCU and SoC inside the ADCU. The laser radar, positioning box P-BOX and ADCU use the gPTP protocol for clock synchronization. The ultrasonic radar USS, radar Radar and ADCU use the CAN-TSN protocol for time synchronization. Under this solution, the clock jump of the external clock source T-BOX will cause the clock jump inside the entire ADCU system, and the perception, positioning and other system data will also jump. It will have a relatively large impact on intelligent driving functions such as high-speed NOA (automatic assisted navigation driving). Therefore, the conventional clock synchronization solution is no longer suitable for the development of high-level intelligent driving systems.

[0077] Based on the above description, the embodiments of the present application have the following advantages compared with conventional solutions:

[0078] Through the dual clock mechanism, the first clock adopts UDP+PPS to synchronize the clock. The accuracy can meet the requirements of operation and maintenance functions. At the same time, it can avoid conflicts with the second clock and confusion of time-related services during engineering development. The synchronization method is simple to implement, highly versatile, and has low development costs. It will occupy less system resources and development workload overall.

[0079] The synchronization of the second clock uses the vehicle's internal clock information as a reference time, which is not affected by the jump of the external clock source and can avoid the adverse effects of the instability of the external clock source on the intelligent driving function.

[0080] When the interaction between T-BOX and the external clock source is interrupted, or the interaction between T-BOX and MCU is interrupted, MUC cannot obtain the external clock information of the vehicle. Then, the CAN time of the in-vehicle infotainment system IVI can be obtained through the CAN protocol as the reference time to synchronize the first clock between the first set of hardware devices. In this way, even if the external clock source is lost, the normal operation and maintenance functions can still be guaranteed.

[0081] On the second aspect, an embodiment of the present application also provides a vehicle with an intelligent driving system.

[0082] In one embodiment, referring to Figure 3 , Figure 3 This is a functional module diagram of an embodiment of a vehicle with an intelligent driving system according to the present application. Figure 3 As shown in the figure, vehicles equipped with intelligent driving systems include:

[0083] A first acquisition module 10, used to acquire vehicle external clock information and transmit the vehicle external clock information to a first synchronization module;

[0084] A first synchronization module 20, configured to perform first clock synchronization between a first group of hardware devices in the vehicle using the vehicle external clock information as a reference time, wherein the first group of hardware devices includes hardware devices required to implement an operation and maintenance function;

[0085] A second acquisition module 30 is used to acquire the vehicle internal clock information and transmit the vehicle internal clock information to the second synchronization module;

[0086] The second synchronization module 40 is used to perform a second clock synchronization between a second group of hardware devices in the vehicle using the internal clock information of the vehicle as a reference time, wherein the second group of hardware devices includes hardware devices required to implement the intelligent driving function.

[0087] Furthermore, in one embodiment, the vehicle external clock information is Coordinated Universal Time.

[0088] Furthermore, in one embodiment, the vehicle internal clock information is the time of the first clock when the vehicle was last powered off.

[0089] Further, in one embodiment, the first synchronization module 20 includes a micro control unit and a system-level chip in the intelligent driving domain controller, wherein:

[0090] The micro control unit in the intelligent driving domain controller uses the vehicle external clock information as a reference time to perform a first clock synchronization with the telematics processor;

[0091] After the microcontroller unit completes the first clock synchronization with the telematics processor, the microcontroller unit sends the time recorded by the first clock of the local end to the system-level chip in the intelligent driving domain controller so that the system-level chip and the microcontroller unit can perform the first clock synchronization.

[0092] Furthermore, in one embodiment, the clock synchronization protocol used for performing the first clock synchronization between the first group of hardware devices and the clock synchronization protocol used for performing the second clock synchronization between the second group of hardware devices are different.

[0093] Further, in one embodiment, the first clock synchronization between the first group of hardware devices adopts the PPS clock synchronization protocol; the transmission of the reference time adopts the UDP protocol;

[0094] And / or, performing second clock synchronization between the second group of hardware devices using the generalized precise time synchronization protocol and / or the CAN_TSN protocol.

[0095] Furthermore, in one embodiment, the first synchronization module 20 is further configured to:

[0096] When the external clock information of the vehicle cannot be obtained, the first clock synchronization between the first group of hardware devices is performed using the CAN time sent by the vehicle infotainment system as a reference time.

[0097] Among them, the functional implementation of each module in the vehicle equipped with the above-mentioned intelligent driving system corresponds to the steps in the clock synchronization method embodiment of the above-mentioned intelligent driving system, and its functions and implementation process will not be repeated here one by one.

[0098] In a third aspect, an embodiment of the present application provides a clock synchronization device for an intelligent driving system.

[0099] Reference Figure 4 , Figure 4 Schematic diagram of the hardware structure of the clock synchronization device of the intelligent driving system involved in the embodiment of the present application. In the embodiment of the present application, the clock synchronization device of the intelligent driving system may include a processor, a memory, a communication interface and a communication bus.

[0100] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.

[0101] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces, which are used to interconnect devices within the clock synchronization device of the intelligent driving system, and interfaces used to interconnect the clock synchronization device of the intelligent driving system with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, a fiber optic interface, an ATM interface, etc.; the user device can be a display, etc.

[0102] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0103] The processor may be a general-purpose processor, which may call the clock synchronization program of the intelligent driving system stored in the memory and execute the clock synchronization method of the intelligent driving system provided in the embodiment of the present application. For example, the general-purpose processor may be a central processing unit (CPU). Among them, the method executed when the clock synchronization program of the intelligent driving system is called may refer to the various embodiments of the clock synchronization method of the intelligent driving system of the present application, which will not be repeated here.

[0104] Those skilled in the art will understand that Figure 4 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0105] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0106] A clock synchronization program for an intelligent driving system is stored on a computer-readable storage medium of the present application, wherein when the clock synchronization program for the intelligent driving system is executed by a processor, the steps of the clock synchronization method for the intelligent driving system as described above are implemented.

[0107] Among them, the method implemented when the clock synchronization program of the intelligent driving system is executed can refer to the various embodiments of the clock synchronization method of the intelligent driving system of the present application, and will not be repeated here.

[0108] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.

[0109] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.

[0110] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.

[0111] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0112] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.

[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.

[0114] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A clock synchronization method for an intelligent driving system, characterized in that: The clock synchronization method of the intelligent driving system includes: Acquire vehicle external clock information, and use the vehicle external clock information as a reference time to perform first clock synchronization between a first group of hardware devices in the vehicle, wherein the first group of hardware devices includes hardware devices required to implement an operation and maintenance function; The internal clock information of the vehicle is obtained, and the internal clock information of the vehicle is used as a reference time to perform a second clock synchronization between a second group of hardware devices in the vehicle, wherein the second group of hardware devices includes hardware devices required to realize the intelligent driving function.

2. The clock synchronization method of the intelligent driving system according to claim 1, characterized in that: The vehicle external clock information is Coordinated Universal Time.

3. The clock synchronization method of the intelligent driving system according to claim 2, characterized in that: The vehicle internal clock information is the time of the first clock when the vehicle was last powered off.

4. The clock synchronization method of the intelligent driving system according to claim 1, characterized in that: The step of performing first clock synchronization between a first group of hardware devices in the vehicle using the vehicle external clock information as a reference time comprises: The micro control unit in the intelligent driving domain controller uses the vehicle external clock information as a reference time to perform a first clock synchronization with the telematics processor; After the microcontroller unit completes the first clock synchronization with the telematics processor, the microcontroller unit sends the time recorded by the first clock of the local end to the system-level chip in the intelligent driving domain controller so that the system-level chip and the microcontroller unit can perform the first clock synchronization.

5. The clock synchronization method of the intelligent driving system according to claim 1, characterized in that: The clock synchronization protocol used for performing the first clock synchronization between the first group of hardware devices and the clock synchronization protocol used for performing the second clock synchronization between the second group of hardware devices are different.

6. The clock synchronization method of the intelligent driving system according to claim 5, characterized in that: The PPS clock synchronization protocol is used to perform the first clock synchronization between the first group of hardware devices; the UDP protocol is used to transmit the reference time; And / or, performing second clock synchronization between the second group of hardware devices using the generalized precise time synchronization protocol and / or the CAN_TSN protocol.

7. The clock synchronization method of the intelligent driving system according to any one of claims 1 to 6, characterized in that: The clock synchronization method of the intelligent driving system also includes: When the external clock information of the vehicle cannot be obtained, the first clock synchronization between the first group of hardware devices is performed using the CAN time sent by the vehicle infotainment system as a reference time.

8. A vehicle with an intelligent driving system, characterized in that: The vehicle with the intelligent driving system includes: A first acquisition module, used for acquiring vehicle external clock information, and transmitting the vehicle external clock information to a first synchronization module; A first synchronization module, used for performing first clock synchronization between a first group of hardware devices in the vehicle using the vehicle external clock information as a reference time, wherein the first group of hardware devices includes hardware devices required to implement an operation and maintenance function; A second acquisition module, used for acquiring vehicle internal clock information, and transmitting the vehicle internal clock information to a second synchronization module; The second synchronization module is used to perform a second clock synchronization between a second group of hardware devices in the vehicle using the internal clock information of the vehicle as a reference time, wherein the second group of hardware devices includes hardware devices required to implement the intelligent driving function.

9. A clock synchronization device for an intelligent driving system, characterized in that: The clock synchronization device of the intelligent driving system includes a processor, a memory, and a clock synchronization program of the intelligent driving system stored in the memory and executable by the processor. When the clock synchronization program of the intelligent driving system is executed by the processor, the steps of the clock synchronization method of the intelligent driving system as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a clock synchronization program for the intelligent driving system, wherein when the clock synchronization program for the intelligent driving system is executed by the processor, the steps of the clock synchronization method for the intelligent driving system as described in any one of claims 1 to 7 are implemented.