Timing device and timing method of V2X on-board unit, vehicle V2X equipment and vehicle

By using switch switching chips and hardware detection circuits in the V2X vehicle-mounted unit, flexible switching of internal and external timing signals is achieved, which solves the problems of waste of interface resources and inflexible communication in the existing technology, and improves the utilization rate of the interface resources of the vehicle-mounted unit. and convenience.

CN114401501BActive Publication Date: 2024-10-22ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202210044279.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-14
Publication Date
2024-10-22
Estimated Expiration
2042-01-14

AI Technical Summary

Technical Problem

Existing V2X vehicle-mounted units need to modify the interface and change the software program when timing through external timing equipment, resulting in a waste of interface resources and inflexible communication, making it difficult to quickly implement access to external timing equipment.

Method used

The switch chip and hardware detection circuit are used to switch the internal timing signal and the external timing signal through the enable terminal to achieve compatible switching of the same set of signal channels and avoid changing the internal software program.

Benefits of technology

It improves the resource utilization of the main controller interface of the vehicle unit, realizes flexible and fast timing mode switching, and enhances access convenience and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114401501B_ABST
    Figure CN114401501B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a timing device of a V2X vehicle-mounted unit, a timing method, a vehicle V2X device and a vehicle, which can be applied to the technical field of unmanned / autonomous driving vehicles. The timing device includes: a switch chip, which is arranged in the V2X vehicle-mounted unit and connected to a main controller of the V2X vehicle-mounted unit, and is used to output a timing signal to the main controller; an internal timing module, which is arranged in the V2X vehicle-mounted unit and connected to the switch chip, and is used to output an internal timing signal; an external timing module, which is arranged outside the V2X vehicle-mounted unit and connected to the switch chip through a cable, and is used to output an external timing signal; wherein, when the switch chip is switched to a first state, the switch chip outputs the internal timing signal, and when the switch chip is switched to a second state, the switch chip outputs the external timing signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of unmanned / autonomous driving vehicles, and in particular to a timing device and a timing method of a V2X vehicle-mounted unit, a vehicle V2X device, and a vehicle. Background Art

[0002] At present, in the vehicle field, vehicle to everything (V2X) communication technology has been widely used in vehicle automatic / unmanned driving vehicle networking and vehicle-road collaboration. V2X usually includes multiple devices such as on-board units, roadside units, perception equipment and cloud platforms. During the operation of the vehicle, each device often has a large delay in the form of network timing, which will seriously affect the speed of collecting and processing the situations encountered by the vehicle. Generally speaking, the existing V2X on-board unit is timed by the internal timing module equipped inside. Since the internal timing has low accuracy and is prone to large delays, the relevant technology uses a high-precision external timing device installed on the outside of the on-board unit to time the V2X on-board unit.

[0003] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following technical problems in the related art:

[0004] In order to synchronize the time of the V2X on-board unit through an external timing device, the on-board unit needs to be modified to connect to the external timing device. Therefore, in addition to the interface connected to the internal timing module, an additional set of interfaces needs to be reserved in the interface of the main controller for modification and connection to the external timing device, resulting in a waste of the interface resources of the main controller. The same set of signal channels cannot be used to be compatible with and switch the internal timing signals and the timing signals of the external devices. In addition, if the external timing is achieved through the above method, it is often necessary to change the internal software program to communicate with the external timing device, resulting in a large workload and an inability to flexibly and quickly achieve access to the external timing device. Summary of the invention

[0005] In order to at least solve the technical problems in the related art that the same set of signal channels cannot be used to be compatible and switch between internal timing signals and timing signals of external devices, and that internal software programs need to be changed to access external timing devices, the embodiments of the present disclosure provide a timing device for a V2X on-board unit, a timing method, a vehicle V2X device, and a vehicle.

[0006] In a first aspect, an embodiment of the present disclosure provides a timing device of a V2X vehicle-mounted unit, the timing device comprising: a switch chip, the switch chip being arranged in the V2X vehicle-mounted unit and connected to a main controller of the V2X vehicle-mounted unit, for outputting a timing signal to the main controller; an internal timing module being arranged in the V2X vehicle-mounted unit and connected to the switch chip, for outputting an internal timing signal; an external timing module being arranged outside the V2X vehicle-mounted unit and connected to the switch chip via a cable, for outputting an external timing signal; wherein, when the switch chip is switched to a first state, the switch chip outputs the internal timing signal, and when the switch chip is switched to a second state, the switch chip outputs the external timing signal.

[0007] According to an embodiment of the present disclosure, the above-mentioned switch switching chip includes an enable end, and the above-mentioned switch switching chip includes an enable end. The above-mentioned switch switching chip switches the above-mentioned internal timing signal and the above-mentioned external timing signal as output according to the level of the above-mentioned enable end; wherein, when the above-mentioned enable end is at a high level, the above-mentioned switch switching chip switches to the above-mentioned first state, and the above-mentioned switch switching chip is used to output the above-mentioned internal timing signal to the above-mentioned main controller; when the above-mentioned enable end is at a low level, the above-mentioned switch switching chip switches to the above-mentioned second state, and the above-mentioned switch switching chip is used to output the above-mentioned external timing signal to the above-mentioned main controller.

[0008] According to an embodiment of the present disclosure, the timing device further includes: a hardware detection circuit, the hardware detection circuit is arranged in the V2X vehicle-mounted unit, a pull-down resistor is arranged between one end of the hardware detection circuit and the enable end of the switch chip, wherein when the hardware detection circuit detects that the external timing module is connected to the hardware detection circuit, the enable end is grounded through the pull-down resistor, so that the enable end is at a low level.

[0009] According to an embodiment of the present disclosure, a pull-up resistor is arranged between the enable end of the above-mentioned switch switching chip and the general input / output port of the above-mentioned main controller; wherein, when the above-mentioned hardware detection circuit does not detect that the above-mentioned external timing module is connected to the above-mentioned hardware detection circuit, the above-mentioned enable end is connected to the general input / output port of the above-mentioned main controller through the above-mentioned pull-up resistor, so that the above-mentioned enable end is at a high level.

[0010] According to an embodiment of the present disclosure, the above-mentioned switch switching chip includes a first input end and a second input end, the above-mentioned internal timing module is connected to the first input end of the above-mentioned switch switching chip, and the above-mentioned hardware detection circuit is connected to the second input end of the above-mentioned switch switching chip; wherein, in the above-mentioned first state, the internal timing signal output by the above-mentioned internal timing module is transmitted to the above-mentioned first input end as the input of the above-mentioned switch switching chip, and the above-mentioned switch switching chip outputs the above-mentioned internal timing signal to the above-mentioned main controller; in the above-mentioned second state, the external timing signal output by the above-mentioned external timing module is transmitted to the above-mentioned second input end via the above-mentioned cable and the above-mentioned hardware detection circuit as the input of the above-mentioned switch switching chip, and the above-mentioned switch switching chip outputs the above-mentioned external timing signal to the above-mentioned main controller.

[0011] According to an embodiment of the present disclosure, the above-mentioned hardware detection circuit includes a signal interface connector, and a metal spring is arranged on the above-mentioned signal interface connector; wherein, when the above-mentioned metal spring is not connected to the cable, the above-mentioned metal spring is suspended in the air, so that the above-mentioned enable end is at a high level; when the above-mentioned external timing module is connected to the above-mentioned metal spring via a cable, the above-mentioned external timing module is connected to the above-mentioned hardware detection circuit, so that the above-mentioned enable end is at a low level.

[0012] According to an embodiment of the present disclosure, the above-mentioned external timing module includes a posture data acquisition module, and the above-mentioned posture data acquisition module is used to collect gyroscope information of the vehicle posture; wherein, in the above-mentioned second state, the above-mentioned gyroscope information is transmitted to the above-mentioned main controller via the above-mentioned cable and the above-mentioned switch switching chip.

[0013] In a second aspect, an embodiment of the present disclosure provides a timing method for a V2X on-board unit, the timing method comprising: timing the V2X on-board unit through the timing device of the V2X on-board unit as described above, the timing device comprising an internal timing module arranged in the V2X on-board unit, a switch chip and an external timing module arranged outside the V2X on-board unit; wherein, when the external timing module is not connected to the V2X on-board unit, the V2X on-board unit is timed through the internal timing module; when the external timing module is connected to the V2X on-board unit, the V2X on-board unit is timed through the external timing module.

[0014] In a third aspect, an embodiment of the present disclosure provides a vehicle V2X device, including a V2X on-board unit, wherein the V2X on-board unit includes a timing device of the V2X on-board unit as described above.

[0015] In a fourth aspect, an embodiment of the present disclosure provides a vehicle, wherein the vehicle includes the V2X on-board unit or the vehicle V2X device as described above.

[0016] The above technical solution provided by the embodiments of the present disclosure has at least some or all of the following advantages:

[0017] By setting the switch switching chip, flexible switching between the internal timing mode and the external timing mode is achieved. It is possible to use the same set of signal channels to be compatible with and switch the internal timing signals and the timing signals of external devices, and there is no need to change the internal software program to communicate with the external timing device. It can realize internal timing in scenarios where internal timing is required, and at the same time, it can realize the switch from internal timing to external timing in application scenarios that require high-precision external timing, which greatly improves the interface resource utilization of the main controller of the vehicle-mounted unit, enables convenient and fast access, and improves flexibility and convenience. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1 The structure diagram of the timing device of the V2X vehicle-mounted unit according to an embodiment of the present disclosure is schematically shown; and

[0021] Figure 2 The figure schematically shows a flow chart of a timing method of a V2X vehicle-mounted unit according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] At present, vehicle networking and vehicle-road collaboration based on vehicle-to-everything (V2X) communication technology are the key to realizing autonomous driving, which can significantly reduce road traffic accidents and improve traffic efficiency. The key to autonomous driving is the speed at which the equipment collects and processes the situations encountered during the operation of the vehicle. Generally speaking, the existing V2X vehicle-mounted unit uses the internal timing module equipped inside for timing. Since the internal timing has low accuracy and is prone to large delays, various devices (including various sensors) often have large delays in the form of network timing, which will seriously affect the speed of collecting and processing the situations encountered by the vehicle during operation.

[0023] In the prior art, the timing of the on-board unit mostly adopts the internal timing module to directly synchronize the time to the main controller through the board serial port signal and the 1pps signal. In the prior art, the timing of the on-board unit mostly adopts this internal timing form, which has low cost and low accuracy. In the scenario with strict requirements on time accuracy, this timing method will cause a large delay.

[0024] Therefore, in order to achieve high-precision and low-latency timing, high-precision timing equipment is usually used in related technologies to individually time each device (including the vehicle-mounted unit), and to upload the data containing time. For example, a high-precision external timing device is used to time the vehicle-mounted unit, that is, the main controller is connected to the signal interface connector through a set of signal channels. The channel is different from the channel connected to the internal timing module, and an additional interface of the main controller is occupied. The signal interface connector is connected to the external high-precision timing device through an external cable as an interface, so that the external high-precision timing device is connected to the vehicle-mounted unit interface through a cable, and the serial port signal and the 1pps signal are indirectly transmitted to the main controller to time the vehicle-mounted unit.

[0025] It can be seen that in the method of timing the V2X on-board unit through an external timing device, the on-board unit needs to be modified to access the external timing device. Therefore, in addition to the interface connected to the internal timing module in the interface of the main controller, an additional set of interfaces needs to be reserved for modification and access to the external timing device, resulting in a waste of main controller interface resources. The same set of signal channels cannot be used to be compatible with and switch the internal timing signals and the timing signals of the external device. In addition, if external timing is achieved through the above method, it is often necessary to change the internal software program to communicate with the external timing device, resulting in a large workload and an inability to flexibly and quickly achieve access to the external timing device.

[0026] In view of this, an embodiment of the present disclosure provides a timing device of a V2X vehicle-mounted unit, the timing device comprising: a switch chip, the switch chip is arranged in the V2X vehicle-mounted unit and connected to the main controller of the V2X vehicle-mounted unit, and is used to output a timing signal to the main controller; an internal timing module is arranged in the V2X vehicle-mounted unit and connected to the switch chip, and is used to output an internal timing signal; an external timing module is arranged outside the V2X vehicle-mounted unit and connected to the switch chip through a cable, and is used to output an external timing signal; wherein, when the switch chip is switched to a first state, the switch chip outputs the internal timing signal, and when the switch chip is switched to a second state, the switch chip outputs the external timing signal.

[0027] The timing device of the V2X vehicle-mounted unit provided in the embodiments of the present disclosure can use the same set of signal channels to be compatible with and switch the internal timing signals and the timing signals of the external devices, and there is no need to change the internal software program to communicate with the external timing device. It can realize internal timing in scenarios where internal timing is required, and at the same time, it can realize the switching of internal timing to external timing in application scenarios where high-precision external timing is required, which greatly improves the interface resource utilization of the main controller of the vehicle-mounted unit, can realize access conveniently and quickly, and improves flexibility and convenience.

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0029] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the existence of other identical elements in the process, method, article or device including the above elements.

[0030] A first exemplary embodiment of the present disclosure provides a timing device for a V2X vehicle-mounted unit.

[0031] Figure 1 The structure diagram of the timing device of the V2X vehicle-mounted unit according to an embodiment of the present disclosure is schematically shown.

[0032] Reference Figure 1As shown, the timing device of the V2X vehicle-mounted unit provided in the embodiment of the present disclosure, the above-mentioned V2X vehicle-mounted unit 100 includes a main controller, and the above-mentioned timing device includes: a switch switching chip, the above-mentioned switch switching chip is arranged in the above-mentioned vehicle-mounted unit and connected to the main controller of the above-mentioned V2X vehicle-mounted unit, and is used to output a timing signal to the above-mentioned main controller; an internal timing module, which is arranged in the above-mentioned V2X vehicle-mounted unit and connected to the above-mentioned switch switching chip, and is used to output an internal timing signal; an external timing module, which is arranged outside the above-mentioned V2X vehicle-mounted unit and is connected to the above-mentioned switch switching chip through a cable, and is used to output an external timing signal.

[0033] When the switch chip is switched to the first state, the switch chip outputs the internal timing signal, and when the switch chip is switched to the second state, the switch chip outputs the external timing signal. The first state can be understood as the internal timing mode, in which the main controller is timed by the internal timing signal, and the second state can be understood as the external timing mode, in which the main controller is timed by the external timing signal.

[0034] Specifically, the internal timing module of the timing device according to the embodiment of the present disclosure may be an internal timing module. The main controller of the vehicle-mounted unit may be connected to the internal timing module by using a set of serial port signals and a general input / output signal interface, which may be connected to a switch switching chip through a port for transmitting serial port signals. In the first state, internal serial port signals and internal 1pps signals may be transmitted, including internal timing information (for example, a time signal provided by an internal timing module), and other data such as positioning information. In the second state, external serial port signals and external 1pps signals may be transmitted, including external timing information (for example, a time signal provided by an external clock source signal), and other data such as positioning information.

[0035] Optionally, the switch chip includes an enable terminal, and the switch chip switches the internal timing signal and the external timing signal as output according to the level of the enable terminal. When the enable terminal is at a high level, the switch chip switches to the first state, and the switch chip is used to output the internal timing signal to the main controller; when the enable terminal is at a low level, the switch chip switches to the second state, and the switch chip is used to output the external timing signal to the main controller.

[0036] Specifically, the switch chip can be any form of component used to implement state switching (switching between internal timing mode and external timing mode), including various types of switch chips, such as TS5A23159 model chip, and other types of chips.

[0037] Exemplarily, the switch chip may include an enable terminal, such as an enable pin. When the enable pin is at a high level, the chip's selection mode is that the internal module synchronizes the main controller, and the internal timing signal output by the internal timing module is connected to the main controller; and when the external timing module (for example, an external high-precision device) is connected to the vehicle-mounted unit interface via a cable, the enable pin of the chip is grounded and pulled low, thereby switching to the second state (external timing mode), that is, the external timing signal output by the external timing module is connected to the main controller.

[0038] Optionally, the timing device further includes: a hardware detection circuit, the hardware detection circuit is arranged in the V2X vehicle-mounted unit, a pull-down resistor is arranged between one end of the hardware detection circuit and the enable end of the switch chip, wherein when the hardware detection circuit detects that the external timing module is connected to the hardware detection circuit, the enable end is grounded through the pull-down resistor, so that the enable end is at a low level.

[0039] Specifically, the hardware detection circuit is used to detect whether an external timing module is connected to the above-mentioned hardware detection circuit. When it is detected that the external timing module is connected to the above-mentioned hardware detection circuit, the enable pin is grounded through a pull-down resistor, so that the above-mentioned enable end is at a low level, thereby switching the mode to the second state, that is, the external timing signal output by the above-mentioned external timing module is connected to the above-mentioned main controller.

[0040] Optionally, a pull-up resistor is arranged between the enable end of the switch chip and the general input / output port of the main controller; wherein, when the hardware detection circuit does not detect that the external timing module is connected to the hardware detection circuit, the enable end is connected to the general input / output port of the main controller through the pull-up resistor, so that the enable end is at a high level.

[0041] Specifically, the enable pin of the chip can be connected to the general input and output port (GPIO port) through a pull-up resistor, and the default state of the main controller GPIO port is a high level. Then, when the external timing module is not connected to the above-mentioned hardware detection circuit, that is, the enable pin of the chip is a high level, the internal timing module is connected to the main controller via the switch switching chip, thereby providing an internal timing signal to the main controller for timing.

[0042] Optionally, the switch chip includes a first input end and a second input end, the internal timing module is connected to the first input end of the switch chip, and the hardware detection circuit is connected to the second input end of the switch chip; in the first state, the internal timing signal output by the internal timing module is transmitted to the first input end as the input of the switch chip, and the switch chip outputs the internal timing signal to the main controller; in the second state, the external timing signal output by the external timing module is transmitted to the second input end via the cable and the hardware detection circuit as the input of the switch chip, and the switch chip outputs the external timing signal to the main controller.

[0043] Specifically, the switch switching chip as exemplified above can be any form of component for realizing state switching (switching between internal timing mode and external timing mode), including multiple types of switch switching chips, such as TS5A23159 type chip, and other types of chips. The switch switching chip can at least include an enable terminal, an output terminal, a first input terminal, and a second input terminal, and the output of the chip is controlled by switching the high and low levels of the enable terminal.

[0044] Exemplarily, in the above-mentioned first state, when the enable end is at a high level, the internal timing signal output by the above-mentioned internal timing module is transmitted to the above-mentioned first input end as the input of the above-mentioned switch switching chip. At this time, the switch switching chip uses the signal input by the first input end as an output, that is, the above-mentioned switch switching chip outputs the above-mentioned internal timing signal to the above-mentioned main controller, thereby realizing the timing of the main controller using the timing signal of the internal timing module.

[0045] Exemplarily, in the above-mentioned second state, when the enable end is at a low level, the external timing signal output by the above-mentioned external timing module is transmitted to the above-mentioned second input end as the input of the above-mentioned switch switching chip. At this time, the switch switching chip uses the signal input by the second input end as an output, that is, the above-mentioned switch switching chip outputs the above-mentioned external timing signal to the above-mentioned main controller, thereby realizing the timing of the main controller using the timing signal of the external timing module.

[0046] Optionally, the hardware detection circuit includes a signal interface connector, on which a metal spring is provided; wherein, when the metal spring is not connected to a cable, the metal spring is suspended in the air, so that the enable end is at a high level; when the external timing module is connected to the metal spring via a cable, the external timing module is connected to the hardware detection circuit, so that the enable end is at a low level.

[0047] Specifically, the cable can be any form of cable that can transmit external timing signals. For example, a DB9 type cable can be connected to a metal spring to conduct and connect to a hardware detection circuit, thereby enabling the external timing module to access the above-mentioned hardware detection circuit and transmit external timing signals. The external timing signals may include serial port signals and 1pps signals.

[0048] Exemplarily, the metal spring arranged at the position of the signal interface connector is suspended when the metal spring is not connected to the DB9 male and female heads of the transmission line. Since the chip enable signal is connected to the main controller GPIO through a pull-up resistor, the internal module is used for timing by default. When the external timing device is connected to the metal spring through a cable, the metal spring connected to the outer casing of the external timing device is equivalent to being grounded, and the switch chip enable pin is pulled low, thereby disconnecting the internal timing module connection and switching to the second state.

[0049] Optionally, the above-mentioned external timing module includes a posture data acquisition module, and the above-mentioned posture data acquisition module is used to collect gyroscope information of the vehicle posture; wherein, in the above-mentioned second state, the above-mentioned gyroscope information is transmitted to the above-mentioned main controller via the above-mentioned cable and the above-mentioned switch switching chip.

[0050] In actual application scenarios, the external timing module usually uses a high-precision timing device, which not only contains high-precision timing information, but also can provide positioning information and gyroscope information. The gyroscope information can be provided by the attitude data acquisition module. The above-mentioned attitude data acquisition module is set in the external high-precision timing device and is used to collect gyroscope information of the vehicle attitude.

[0051] For example, during use, the external timing module can transmit timing information, positioning information, and gyroscope information to the on-board unit via a cable connection, and the on-board unit then uploads and processes the data.

[0052] Therefore, in the second state (external timing mode), the problem of limited accuracy and inability to provide attitude information caused by the use of only internal timing due to cost constraints in actual applications can be effectively solved. Since the internal timing module generally does not contain gyroscope information and cannot collect the vehicle's attitude information, the problem of limited accuracy and inability to provide attitude information can be solved.

[0053] Based on the timing device of the above-mentioned V2X vehicle-mounted unit, the same set of signal channels are used to be compatible with the timing signals of internal timing signals and external devices, and there is no need to change the internal software program to communicate with the external timing device. It can realize internal timing in scenarios where internal timing is required, and can also realize the switch from internal timing to external timing in application scenarios where high-precision external timing is required, which greatly improves the interface resource utilization of the main controller of the vehicle-mounted unit, can easily and quickly achieve access, and improves flexibility and convenience. At the same time, it is also possible to achieve compatibility between the signals transmitted by the internal timing module and the external high-precision timing device within the V2X vehicle-mounted unit board, and realize the switch from internal to external timing by hardware detection of the access of the external high-precision timing device, so that one hardware circuit board can adapt to two application scenarios, thereby fully improving the utilization of the main controller of the V2X vehicle-mounted unit and facilitating the process of accessing the external high-precision timing device.

[0054] A second exemplary embodiment of the present disclosure provides a timing method for a V2X vehicle-mounted unit.

[0055] Figure 2 The figure schematically shows a flow chart of a timing method of a V2X vehicle-mounted unit according to an embodiment of the present disclosure.

[0056] An embodiment of the present disclosure provides a timing method for a V2X on-board unit, comprising: timing the V2X on-board unit through the timing device of the V2X on-board unit as described above, wherein the timing device comprises an internal timing module arranged in the V2X on-board unit, a switch chip and an external timing module arranged outside the V2X on-board unit; wherein, when the external timing module is not connected to the V2X on-board unit, timing the V2X on-board unit is performed through the internal timing module; and when the external timing module is connected to the V2X on-board unit, timing the V2X on-board unit is performed through the external timing module.

[0057] Combination Figure 2 As shown, the timing method of the V2X vehicle-mounted unit includes operations S401, S402, S403a and S403b:

[0058] In operation S401, the V2X onboard unit is timed by the timing device of the V2X onboard unit as described above, wherein the timing device includes an internal timing module arranged in the onboard unit, a switch chip, and an external timing module arranged outside the onboard unit;

[0059] In operation S402, determine whether the external timing module is connected to the above-mentioned vehicle-mounted unit. If so, execute operation S403a, that is, when the above-mentioned external timing module is connected to the above-mentioned vehicle-mounted unit, the vehicle-mounted unit is timed by the above-mentioned external timing module; if not, execute operation S403b, that is, when the above-mentioned external timing module is not connected to the above-mentioned vehicle-mounted unit, the vehicle-mounted unit is timed by the above-mentioned internal timing module.

[0060] Based on the timing method of the above-mentioned V2X on-board unit, the same set of signal channels are used to be compatible with internal timing signals and timing signals of external devices, and there is no need to change the internal software program to communicate with the external timing device. It can realize internal timing in scenarios where internal timing is required, and at the same time, it can realize the switching of internal timing to external timing in application scenarios that require high-precision external timing. It greatly improves the interface resource utilization of the main controller of the on-board unit, can easily and quickly achieve access, improves flexibility and convenience, and facilitates switching between internal and external timing modes under different scenario requirements by disassembling and connecting cables.

[0061] A third exemplary embodiment of the present disclosure provides a vehicle V2X device, including a V2X on-board unit, wherein the V2X on-board unit includes the timing device of the V2X on-board unit as described above.

[0062] A fourth exemplary embodiment of the present disclosure provides a vehicle, comprising the V2X on-board unit or the vehicle V2X device as described above.

[0063] Based on the timing device and timing method of the above-mentioned V2X on-board unit, the above-mentioned vehicle V2X equipment and vehicle can use the same set of signal channels to be compatible with and switch the internal timing signals and the timing signals of external devices, and there is no need to change the internal software program to communicate with the external timing device. It can not only realize internal timing in scenarios where internal timing is required, but also realize the switching of internal timing to external timing in application scenarios that require high-precision external timing, which greatly improves the interface resource utilization of the main controller of the on-board unit, can easily and quickly realize access, and improves flexibility and convenience.

[0064] The above-mentioned vehicle can be an unmanned vehicle or an automatic driving vehicle, etc.

[0065] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the technical concept of the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A timing device for a V2X vehicle-mounted unit, characterized in that: The timing device comprises: A switch chip, which is arranged in the V2X vehicle-mounted unit and connected to a main controller of the V2X vehicle-mounted unit, and is used to output a timing signal to the main controller; An internal timing module, arranged in the V2X vehicle-mounted unit and connected to the switch chip, for outputting an internal timing signal; An external timing module is arranged outside the V2X vehicle-mounted unit and connected to the switch chip through a cable, and is used to output an external timing signal; When the switch chip is switched to the first state, the switch chip uses the internal timing signal as output, and when the switch chip is switched to the second state, the switch chip uses the external timing signal as output.

2. The timing device of the V2X vehicle-mounted unit according to claim 1, characterized in that: The switch chip includes an enable terminal, and the switch chip switches the internal timing signal and the external timing signal as output according to the level of the enable terminal; Wherein, when the enable terminal is at a high level, the switch switching chip switches to the first state, and the switch switching chip is used to output the internal timing signal to the main controller; When the enable terminal is at a low level, the switch chip switches to the second state, and the switch chip is used to output the external timing signal to the main controller.

3. The timing device of the V2X vehicle-mounted unit according to claim 2, characterized in that: The timing device also includes: A hardware detection circuit, wherein the hardware detection circuit is arranged in the V2X vehicle-mounted unit, and a pull-down resistor is arranged between one end of the hardware detection circuit and the enable end of the switch chip; When the hardware detection circuit detects that the external timing module is connected to the hardware detection circuit, the enable terminal is grounded through the pull-down resistor, so that the enable terminal is at a low level.

4. The timing device of the V2X vehicle-mounted unit according to claim 3, characterized in that: A pull-up resistor is provided between the enable terminal of the switch chip and the general input / output port of the main controller; Among them, when the hardware detection circuit does not detect that the external timing module is connected to the hardware detection circuit, the enable end is connected to the general input and output port of the main controller through the pull-up resistor, so that the enable end is at a high level.

5. The timing device of the V2X vehicle-mounted unit according to claim 4, characterized in that: The switch chip comprises a first input terminal and a second input terminal, the internal timing module is connected to the first input terminal of the switch chip, and the hardware detection circuit is connected to the second input terminal of the switch chip; Wherein, in the first state, the internal timing signal output by the internal timing module is transmitted to the first input end as the input of the switch chip, and the switch chip outputs the internal timing signal to the main controller; In the second state, the external timing signal output by the external timing module is transmitted to the second input end via the cable and the hardware detection circuit as an input of the switch chip, and the switch chip outputs the external timing signal to the main controller.

6. The timing device of the V2X vehicle-mounted unit according to claim 5, characterized in that: The hardware detection circuit includes a signal interface connector, and a metal spring is arranged on the signal interface connector; Wherein, when the metal spring is not connected to a cable, the metal spring is suspended in the air, so that the enable end is at a high level; In the case where the external timing module is connected to the metal dome via a cable, the external timing module is connected to the hardware detection circuit so that the enable end is at a low level.

7. The timing device of the V2X vehicle-mounted unit according to any one of claims 1 to 6, characterized in that: The external timing module includes a posture data acquisition module, and the posture data acquisition module is used to collect gyroscope information of the vehicle posture; Wherein, in the second state, the gyroscope information is transmitted to the main controller through the cable and the switch chip.

8. A timing method for a V2X vehicle-mounted unit, characterized in that: include: The V2X on-board unit is timed by a timing device of the V2X on-board unit according to any one of claims 1 to 7, wherein the timing device comprises an internal timing module arranged in the V2X on-board unit, a switch chip and an external timing module arranged outside the V2X on-board unit; Wherein, when the external timing module is not connected to the V2X vehicle-mounted unit, the V2X vehicle-mounted unit is timed by the internal timing module; when the external timing module is connected to the V2X vehicle-mounted unit, the V2X vehicle-mounted unit is timed by the external timing module.

9. A vehicle V2X device, characterized in that: It comprises a V2X vehicle-mounted unit, wherein the V2X vehicle-mounted unit comprises a timing device of the V2X vehicle-mounted unit as claimed in any one of claims 1 to 8.

10. A vehicle, characterized in that: The method comprises the V2X on-board unit according to any one of claims 1 to 8 or the vehicle V2X device according to claim 9.

Citation Information

Patent Citations

  • Automatic detection calibration device and automatic detection calibration method of electric car bridge board

    CN103698691A

  • Time frequency reference generation device and method based on satellite time service and CPT atomic clock time keeping

    CN112147874A

  • Time service method, device and equipment of vehicle-mounted computing platform and storage medium

    CN112394634A

  • Time synchronization method and device of domain controller, domain controller and storage medium

    CN113110160A

  • Vehicle-mounted communication equipment, control system and vehicle

    CN211720748U