Test system and test tool for V2X equipment
By introducing a microcontroller simulator into the V2X equipment testing system, a continuous GPS module synchronization signal is provided, which solves the problem of long GPS module synchronization time in V2X equipment testing, improves test efficiency and reduces costs.
Patent Information
- Application Number
- CN202420108848.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-01-16
AI Technical Summary
During factory testing, V2X equipment relies on GPS module synchronization signals, resulting in long synchronization times, which affects test efficiency.
Design a test system that includes the V2X module main control CPU, internal GPS module and microcontroller simulator. The microcontroller simulator is connected to the V2X module main control CPU through the 1PPS second pulse level signal interface and the UART serial code stream interface. It can continuously simulate the GPS module output and provide synchronization signals after power-on.
It effectively reduces the testing time of V2X equipment, improves factory testing efficiency, and has the advantages of flexible settings and low cost.
Smart Images

Figure CN221863002U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of V2X device testing, and in particular to a testing system and testing tooling for V2X devices. Background Art
[0002] As an essential vehicle-mounted device in the field of vehicle-road collaboration, V2X can provide communication between vehicles, roads, and clouds. To achieve these basic functions, V2X devices need positioning and time information provided by GPS modules. For V2X devices, ordinary GPS modules are generally used. The typical circuit structure is as follows: Figure 1 shown.
[0003] The main control part of the V2X module on the V2X device motherboard receives the positioning and timing information provided by the internal GPS module: among them, the time and positioning data are generally transmitted through the physical serial port in the form of NMEA-0183 code stream, and the second pulse is transmitted in the form of 1pps level signal. The normal operation of the V2X device depends on the GPS synchronization information, and the GPS module generally takes more than 20 seconds from power-on to obtaining the synchronization state, and then the V2X whole device can start normal communication, which will lead to a long time for the factory to test a single V2X device.
[0004] Considering that the normal operation of V2X equipment depends on the synchronization signal provided by GPS, V2X equipment generally uses the positioning and timing information provided by the internal ordinary GPS module when used independently. When conducting factory production tests, whether using synchronized GPS satellite signals or GPS signal simulator solutions, the equipment synchronization time will be longer, which will lead to long factory production line testing time. Utility Model Content
[0005] The embodiments of the present application provide a test system and a test tool for a V2X device to reduce the time required for factory testing of the V2X device.
[0006] The present application embodiment adopts the following technical solutions:
[0007] In a first aspect, an embodiment of the present application provides a test system for a V2X device, wherein the test system includes: a V2X module main control CPU and an internal GPS module, wherein the V2X module main control CPU is connected to the internal GPS module and is arranged inside a V2X device board, and the outside of the V2X device board also includes: a single-chip microcomputer simulator, and the single-chip microcomputer simulator is connected to the V2X module main control CPU through a 1PPS second pulse level signal interface and a UART serial code stream interface.
[0008] In some embodiments, the output of the single chip simulator includes a 1PPS pulse per second signal and a time positioning signal.
[0009] In some embodiments, the single-chip simulator is powered on continuously during the test and continuously provides a 1PPS second pulse signal and a time positioning signal to the V2X module main control CPU.
[0010] In some embodiments, the single chip microcomputer simulator includes: a local OSC crystal oscillator, a frequency divider, and a time position simulator, and the local OSC crystal oscillator is connected to the frequency divider and the time position simulator respectively.
[0011] In some embodiments, the V2X device board also includes a plurality of test points, and the test points are connected to output signals corresponding to the single-chip microcomputer simulator.
[0012] In some embodiments, the test points include at least two.
[0013] In some embodiments, the test points include a 1PPS signal test point and a UART_TX signal test point.
[0014] In some embodiments, the single chip microcomputer simulator is powered by an independent power supply.
[0015] In some embodiments, the single chip microcomputer simulator simulates the output of GPS modules in different frequency bands.
[0016] In a second aspect, an embodiment of the present application further provides a factory test tool for a V2X device, which includes the test system described in the first aspect.
[0017] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: the test system includes: a V2X module main control CPU and an internal GPS module, the V2X module main control CPU is connected to the internal GPS module and is arranged inside the V2X device single board, and the outside of the V2X device single board also includes: a single-chip microcomputer simulator, and the single-chip microcomputer simulator is connected to the V2X module main control CPU through a 1PPS second pulse level signal interface and a UART serial code stream interface. The single-chip microcomputer simulator can continuously simulate the output of the GPS module after power-on and provide a synchronization signal to the V2X device. A single-chip microcomputer simulator that does not stop powering on is used to provide a continuous synchronization signal to the device under test. The test time can be effectively reduced and the factory test efficiency can be improved. In addition, the use of a single-chip microcomputer simulator also has the advantages of flexible settings, can be equipped on demand, and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1A schematic diagram of a factory V2X device test circuit in the related art;
[0020] Figure 2 This is a schematic diagram of the internal structure of a test system for a V2X device in an embodiment of the present application;
[0021] Figure 3 This is a schematic diagram of the circuit principle of a test system for a V2X device in an embodiment of the present application;
[0022] Figure 4 Schematic diagram of the circuit principle of a single-chip simulator in a test system for a V2X device in an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. 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 making creative work are within the scope of protection of the present application.
[0024] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0025] like Figure 2 As shown, a test system 200 for a V2X device in an embodiment of the present application, wherein the test system includes: a V2X module main control CPU 210, an internal GPS module 220, the V2X module main control CPU is connected to the internal GPS module and is arranged inside the V2X device single board, and the outside of the V2X device single board also includes: a single-chip microcomputer simulator 230, and the single-chip microcomputer simulator 230 is connected to the V2X module main control CPU 210 through a 1PPS second pulse level signal interface and a UART serial code stream interface.
[0026] In specific implementation, the test system mainly includes a V2X module main control CPU 210 and an internal GPS module 220, and the V2X module main control CPU is connected to the internal GPS module and is set inside the V2X device single board. When the V2X device factory test is required, the single-chip simulator 230 is used to access the V2X module main control CPU 210 through the 1PPS second pulse level signal interface and the UART serial code stream interface. After power-on, the single-chip simulator 230 can continuously output and simulate the positioning data and 1PPS second pulse signal required by the V2X module main control CPU 210. In this way, the single-chip simulator 230 is not disconnected during the test, so that the synchronization signal can be continuously provided to the V2X device to be tested. Once the V2X device to be tested is powered on, it can obtain synchronization and enter a normal working state, thereby improving the test efficiency. It solves the problem in the related art that during factory production testing, whether the synchronous GPS satellite signal or the GPS signal simulator solution is used, the device synchronization time will be long, which will lead to a long factory production line test time.
[0027] In one embodiment of the present application, the output of the single-chip simulator includes a 1PPS second pulse signal and a time positioning signal.
[0028] The 1PPS signal and time positioning signal are simulated and output to the V2X device by using a single-chip microcomputer. When the V2X device is in factory test mode, the internal GPS module cannot output valid data, and the V2X device uses the time and positioning signals provided by the external single-chip microcomputer simulator.
[0029] In one embodiment of the present application, the single-chip microcomputer simulator is powered on continuously during the test and continuously provides a 1PPS second pulse signal and a time positioning signal to the V2X module main control CPU.
[0030] The V2X device uses the time and positioning signals provided by an external MCU simulator. The MCU simulator is powered on during the test, so it can continuously provide time and positioning signals.
[0031] In one embodiment of the present application, the single-chip microcomputer simulator includes: a local OSC crystal oscillator, a frequency divider, and a time position simulator, and the local OSC crystal oscillator is connected to the frequency divider and the time position simulator respectively.
[0032] like Figure 4 As shown, in the 1PPS second pulse generation part, the local OSC crystal oscillator is used to achieve it by dividing the local clock.
[0033] For example, when the local crystal oscillator uses 8 MHz, the clock is divided by 8*106 times to generate a 1PPS signal.
[0034] In addition, it should be noted that since 1PPS is generally a high pulse signal with a duty cycle of 1 / 10, that is, 100ms of high level and 900ms of low level in 1s, in order to improve the accuracy of the 1PPS signal, it is necessary to improve the accuracy of the local OSC crystal oscillator as much as possible.
[0035] like Figure 4 As shown in the figure, in the time and position simulation part, according to the requirements of the NMEA_0183 protocol, the simulated time, position, and satellite signal information are packaged into the code stream for output. The NMEA-0183 protocol is the most widely used protocol on GNSS receivers. Most common GNSS receivers, GNSS data processing software, and navigation software comply with or are at least compatible with this protocol.
[0036] Commonly used code stream statements include but are not limited to formats such as GPGGA and GPRMC; the serial code stream rate is usually 115200bps.
[0037] Different from the working mode of directly using the GPS module to receive and analyze the GPS signal in real time, the single-chip simulator in the embodiment of the present application uses the local OSC crystal oscillator as the reference, cooperates with the frequency divider to output the second pulse signal, and cooperates with the time position simulator to simulate the output of the serial code stream. Therefore, the single-chip simulator can continuously simulate the output of the GPS module after power-on and provide a synchronization signal to the V2X device. Using the single-chip simulator without power failure to provide a continuous synchronization signal to the device under test
[0038] In one embodiment of the present application, the V2X device board also includes a plurality of test points, and the test points are connected to output signals corresponding to the single-chip microcomputer simulator.
[0039] Please refer to Figure 3 , Internal test points of the board to be tested: Test points are used inside the V2X board to connect with the corresponding output signals of the MCU simulator.
[0040] In one embodiment of the present application, the test points include at least two.
[0041] Please refer to Figure 3 ,Considering that time and positioning data are generally transmitted in the form of NMEA-0183 code streams through physical serial ports, and second pulses are transmitted as 1pps level signals, at least two test points need to be connected separately.
[0042] In one embodiment of the present application, the test points include a 1PPS signal test point and a UART_TX signal test point.
[0043] Please refer to Figure 3 The relevant test points mainly include 1PPS signal test point and UART_TX signal test point.
[0044] In one embodiment of the present application, the single-chip microcomputer simulator is powered by an independent power supply.
[0045] An external MCU is used to simulate the output of the GPS module to provide a synchronization signal to the V2X device. In this way, the MCU simulator with uninterrupted power supply can be used to provide a continuous synchronization signal to the device under test. This can effectively reduce the test time and improve the factory test efficiency.
[0046] In one embodiment of the present application, the single chip microcomputer simulator simulates the output of GPS modules in different frequency bands.
[0047] In specific implementation, the single-chip microcomputer simulator can be used to simulate GPS modules of different frequency bands, thereby adapting to the factory testing requirements of different V2X devices.
[0048] A factory test tool for a V2X device is also provided in an embodiment of the present application, which includes the test system described above, wherein the test system includes: a V2X module main control CPU and an internal GPS module, wherein the V2X module main control CPU is connected to the internal GPS module and is arranged inside a V2X device single board, and the outside of the V2X device single board also includes: a single-chip microcomputer simulator, wherein the single-chip microcomputer simulator is connected to the V2X module main control CPU via a 1PPS second pulse level signal interface and a UART serial code stream interface.
[0049] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A test system for a V2X device, wherein: The test system includes: a V2X module main control CPU and an internal GPS module. The V2X module main control CPU is connected to the internal GPS module and is arranged inside the V2X device single board. The outside of the V2X device single board also includes: a single-chip microcomputer simulator. The single-chip microcomputer simulator is connected to the V2X module main control CPU through a 1PPS second pulse level signal interface and a UART serial code stream interface.
2. The test system according to claim 1, wherein: The output of the single chip simulator includes a 1PPS second pulse signal and a time positioning signal.
3. The test system as claimed in claim 2, wherein: The single-chip simulator does not lose power during the test and continues to provide the V2X module main control CPU with a 1PPS second pulse signal and a time positioning signal.
4. The test system as claimed in claim 2, wherein: The single chip computer simulator comprises: a local OSC crystal oscillator, a frequency divider, and a time position simulator. The local OSC crystal oscillator is connected to the frequency divider and the time position simulator respectively.
5. The test system according to claim 1, wherein: The V2X device board also includes a plurality of test points, and the test points are connected to output signals corresponding to the single-chip microcomputer simulator.
6. The test system as claimed in claim 5, wherein: The test points include at least two.
7. The test system of claim 5, wherein: The test points include a 1PPS signal test point and a UART_TX signal test point.
8. The test system of claim 1, wherein: The single chip computer simulator is powered by an independent power supply.
9. The test system of claim 1, wherein: The single chip computer simulator simulates the output of GPS modules in different frequency bands.
10. A test tool, wherein: A test system for a V2X device comprising the test system for a V2X device as described in any one of claims 1 to 9.
