Vehicle instrument gps signal failure determination method and storage medium
By installing a mobile storage device with GPS recording and analysis programs on the instrument panel of a two-wheeled vehicle, and combining it with an ideal model for comparison, the problem of GPS signal fault location in two-wheeled vehicle instruments has been solved, enabling fast and accurate fault diagnosis and improving the stability and safety of navigation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN BLUESTAR TECH CO LTD
- Filing Date
- 2023-06-19
- Publication Date
- 2026-07-03
Smart Images

Figure CN116859416B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle navigation technology, and in particular to a method for diagnosing GPS signal faults in vehicle instruments and a storage medium. Background Technology
[0002] With the development of intelligent information technology in two-wheeled vehicles, in-vehicle dashboards or dashcams with built-in GPS (Global Positioning System) modules have gradually appeared on the market. The GPS module is mainly used to obtain the latitude and longitude information of satellites in real time to provide navigation guidance for the in-vehicle dashboard. The in-vehicle dashboard can also perform local navigation without being connected to a mobile phone. The new design concept of the product makes people increasingly dependent on the use of local navigation. At this time, higher requirements are placed on the stability and quality of local navigation. The stability of GPS signal directly affects the quality of local navigation. Therefore, in some cases, the stability of GPS signal plays a crucial role in people's travel safety, especially for people driving. Once the GPS signal strength is unstable and affects navigation, the consequences may be unimaginable.
[0003] Currently, only four-wheeled vehicle dashboards are equipped with GPS modules. These modules are used for vehicle positioning, and GPS signal strength is typically assessed visually by observing the signal bars on the dashboard interface. Testing with raw data is extremely complex. In contrast, the two-wheeled vehicle dashboard market generally lacks GPS modules, and testing methods and standards are in need of improvement. Unstable GPS signal strength may indicate a GPS signal malfunction in the two-wheeled vehicle dashboard. Therefore, to prevent disruption to user travel, a rapid method for diagnosing GPS signal malfunctions in vehicle dashboards—whether caused by a hardware or software issue—is urgently needed. Summary of the Invention
[0004] This invention aims to at least partially solve one of the technical problems in related technologies. Therefore, the first objective of this invention is to provide a method for diagnosing GPS signal faults in vehicle instrument panels. This method can accurately locate GPS signal faults in vehicle instrument panels and accurately determine the accuracy of GPS signal source data.
[0005] A second objective of this invention is to provide a computer-readable storage medium.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solution:
[0007] A method for diagnosing GPS signal faults in vehicle instrument panels includes:
[0008] Step S1: Select a test path and select several test points on the test path;
[0009] Step S2: Test the vehicle and an ideal model on the test path, and obtain the GPS signal source data received by the GPS module in the vehicle instrument at each test point, as well as the GPS signal test data received by the ideal model at each test point.
[0010] Step S3: Compare the GPS signal source data and the GPS signal test data at the same test point and timestamp to see if they are within the preset error range, and locate the fault in the vehicle instrument GPS signal based on the comparison results.
[0011] Preferably, the ideal test model is a mobile terminal equipped with a positioning program.
[0012] Preferably, before step S1, the method further includes determining whether there is a GPS signal malfunction in the vehicle's instrument panel.
[0013] Preferably, the method for determining whether there is a GPS signal fault in the vehicle instrument panel includes: controlling the vehicle to drive to a preset road condition; if the vehicle instrument panel can display a GPS signal, then it is determined that there is no GPS signal fault in the vehicle instrument panel; otherwise, it is determined that there is a GPS signal fault in the vehicle instrument panel.
[0014] Preferably, in step S2, a mobile storage device containing GPS recording and GPS parsing programs is installed on the communication link between the hardware and software sides of the vehicle instrument panel to obtain GPS signal source data received by the GPS module in the vehicle instrument panel at each test point.
[0015] Preferably, the GPS signal source data includes the satellite latitude and longitude, number of satellites, and GPS signal strength of the GPS positioning system and the BeiDou positioning system.
[0016] Preferably, in step S3, the fault location is determined based on the comparison result to determine whether the vehicle instrument GPS signal fault is a hardware fault or a software fault.
[0017] Preferably, when the GPS signal source data and the GPS signal test data are within a preset error range, the vehicle instrument GPS signal fault is determined to be a software fault; when the GPS signal source data and the GPS signal test data are not within the preset error range, the vehicle instrument GPS signal fault is determined to be a hardware fault.
[0018] Preferably, the method further includes: judging the accuracy of the GPS signal source data based on the GPS signal test data.
[0019] To achieve the above objectives, a second aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the above-described method for determining faults in vehicle instrument GPS signals.
[0020] This invention has at least the following technical effects:
[0021] 1. This invention sets up a mobile storage device with GPS recording and parsing programs imported into the communication link between the hardware and software ends of the vehicle instrument panel, which can directly obtain the source data of the GPS module, i.e., the GPS signal source data. This GPS signal source data can solve the problem of inaccurate reference data when diagnosing faults.
[0022] 2. This invention establishes a standard and method for diagnosing GPS signal faults in vehicle instruments by comparing data after sampling with an ideal model. It can also determine the accuracy of the vehicle instrument GPS through the sampling data at test points.
[0023] 3. Since the implementation of the entire solution of this invention is recorded and controlled by importing the program and compared with the ideal model, the method described in this invention has a certain degree of scalability, and the entire solution can be flexibly matched by changing the configuration items in the program.
[0024] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0025] Figure 1 This is a flowchart of a vehicle instrument GPS signal fault diagnosis method according to an embodiment of the present invention.
[0026] Figure 2 This is a flowchart illustrating a specific example of a vehicle instrument GPS signal fault diagnosis method according to the present invention. Detailed Implementation
[0027] The following describes this embodiment in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the invention, and should not be construed as limiting the invention.
[0028] The following describes a method for diagnosing GPS signal faults in a vehicle instrument panel and a storage medium according to an embodiment of the present invention, with reference to the accompanying drawings.
[0029] It should be noted that the vehicle instrument GPS signal fault diagnosis method in this embodiment is mainly applied to two-wheeled vehicle instruments with relatively simple hardware configurations, although it can also be applied to four-wheeled vehicle instruments. Before describing the vehicle instrument GPS signal fault diagnosis method, a brief description of the software for two-wheeled vehicle instruments will be provided.
[0030] In this embodiment, the two-wheeled vehicle's instrument panel mainly consists of hardware and upper-level software. The hardware includes a GPS module, a Bluetooth module, and a receiving antenna, while the software includes an MCU (Microcontroller Unit) program, an XOS (Operating System) system, and various interface display programs. The entire instrument panel is powered by the vehicle's power supply and communicates via the vehicle's CAN (a bus communication protocol) signal. The GPS module and receiving antenna are connected and embedded on a circuit board. The GPS module acquires satellite signals through the receiving antenna, processes the data using its internal algorithm, and then sends the data to the software. The software then transmits the GPS signal to the interface via remote communication, allowing the user to intuitively navigate using the GPS signal bars.
[0031] During testing, judging signal quality solely by the GPS signal bars on the instrument panel is insufficient to accurately reflect the actual signal quality or pinpoint whether the GPS fault originates in the upper-level software or hardware module. Therefore, a rapid method for diagnosing vehicle instrument panel GPS signal faults is urgently needed to determine whether a hardware or software issue is the cause.
[0032] Figure 1 This is a flowchart of a vehicle instrument GPS signal fault diagnosis method according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0033] Step S1: Select a test path and select several test points on the test path.
[0034] Prior to step S1, the method further includes determining whether the vehicle's instrument panel has a GPS signal malfunction. The method for determining whether the vehicle's instrument panel has a GPS signal malfunction includes controlling the vehicle to travel to a preset road condition; if the vehicle's instrument panel can display a GPS signal, it is determined that the vehicle's instrument panel does not have a GPS signal malfunction; otherwise, it is determined that the vehicle's instrument panel has a GPS signal malfunction.
[0035] Step S2: Test the vehicle and an ideal model on the test path, and obtain the GPS signal source data received by the GPS module in the vehicle instrument at each test point, as well as the GPS signal test data received by the ideal model at each test point.
[0036] The ideal test model is a mobile terminal equipped with a location tracking program, such as a mobile phone or tablet.
[0037] In this embodiment, a mobile storage device containing GPS recording and GPS parsing programs can be installed on the communication link between the hardware and software sides of the vehicle instrument panel to obtain GPS signal source data received by the GPS module in the vehicle instrument panel at each test point.
[0038] The GPS signal source data includes the latitude and longitude of satellites, the number of satellites, and the GPS signal strength of the GPS positioning system and the BeiDou positioning system.
[0039] Step S3: Compare the GPS signal source data and GPS signal test data at the same test point and timestamp to see if they are within the preset error range, and locate the fault in the vehicle instrument GPS signal based on the comparison results.
[0040] In this embodiment, the fault location is mainly determined by comparing the results to determine whether the GPS signal failure of the vehicle instrument panel is a hardware failure or a software failure.
[0041] Specifically, when the GPS signal source data and GPS signal test data are within the preset error range, the vehicle instrument GPS signal fault is determined to be a software fault; when the GPS signal source data and GPS signal test data are not within the preset error range, the vehicle instrument GPS signal fault is determined to be a hardware fault.
[0042] Figure 2 This is a flowchart illustrating a specific example of a vehicle instrument GPS signal fault diagnosis method according to the present invention. Figure 2 As shown, the steps are as follows:
[0043] (1) Power on the vehicle instrument panel, initialize the GPS module, and then drive the vehicle to an open area on the ground, i.e. the preset road conditions. If the signal displayed in the instrument panel is good and the navigation is good, then it is determined that there is no abnormality in the GPS module and the upper-level software.
[0044] (2) If the vehicle's instrument panel has poor signal quality and cannot use the local navigation, the system will initiate an error handling process, proceeding to hardware and software fault location steps. First, a GPS recording program and a GPS parsing program are imported into the intermediate layer between the hardware and software communication. The GPS recording program directly obtains GPS signal source data from the GPS module. For example, a USB flash drive containing the imported GPS recording and parsing programs is inserted, and the USB flash drive is connected to the hardware and software communication link.
[0045] (3) Select an ideal model A (such as a mobile phone) as a reference frame. Simultaneously drive the vehicle instrument with the GPS recording program and the ideal model A on the same complex road condition (excluding weather interference) on the same test path. In this test path, N special points, i.e. test points, are pre-selected for process sampling. The ideal model A is equipped with a GPS positioning test program and is fixed in the same position as the instrument with a bracket to eliminate interference from different azimuth angles. When the test sampling begins, the instrument and the ideal model A are tested in a certain way of constant speed, acceleration and deceleration. During the driving process, the GPS recording program and the GPS positioning test program in the ideal model A automatically record GPS signal data at a certain frequency.
[0046] (4) After the test sampling is completed, the GPS signal source data is parsed and exported using the GPS parsing program, and the data of the GPS module and the ideal model A are compared at the same timestamp and the same test point, and plotted into a chart.
[0047] (5) Based on the two types of data drawn on the chart, determine whether the problem is a signal quality issue in the GPS module itself or a problem in the upper-level software implementation, thereby achieving fault location.
[0048] (6) Further, the accuracy of the GPS module's point data is judged by comparing it with the data of the ideal model A.
[0049] Furthermore, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the above-described method for determining GPS signal faults in vehicle instruments.
[0050] In summary, this invention, by setting up a mobile storage device with imported GPS recording and parsing programs on the communication link between the hardware and software sides of the vehicle instrument panel, can directly obtain the source data of the GPS module, i.e., the GPS signal source data. This GPS signal source data can solve the problem of inaccurate reference data during fault diagnosis. Furthermore, by comparing the data with that of an ideal model after sampling, this invention establishes a standard and method for diagnosing GPS signal faults in vehicle instruments. It can also determine the accuracy of the vehicle instrument panel's GPS through test point sampling data. In addition, since the entire solution of this invention is implemented through recording and control via imported programs and comparison with an ideal model, the method described in this invention has a certain degree of scalability, and the entire solution can be flexibly configured by changing the configuration items in the program.
[0051] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0052] Although the present invention has been described in detail through the preferred embodiments above, it should be understood that the above description should not be considered as a limitation of the present invention. Various modifications and substitutions to the present invention will be apparent to those skilled in the art after reading the above description. Therefore, the scope of protection of the present invention should be defined by the appended claims.
Claims
1. A method for diagnosing GPS signal faults in vehicle instruments, characterized in that, include: Step S1: Select a test path and select several test points on the test path; Step S2: Test the vehicle and an ideal model on the test path, and obtain the GPS signal source data received by the GPS module in the vehicle instrument at each test point, as well as the GPS signal test data received by the ideal model at each test point. Step S3: Compare the GPS signal source data and the GPS signal test data at the same test point and timestamp to see if they are within a preset error range, and locate the fault in the vehicle instrument GPS signal based on the comparison results; when the GPS signal source data and the GPS signal test data are within the preset error range, determine that the vehicle instrument GPS signal fault is a software fault; when the GPS signal source data and the GPS signal test data are not within the preset error range, determine that the vehicle instrument GPS signal fault is a hardware fault; and judge the accuracy of the GPS signal source data based on the GPS signal test data.
2. The method for diagnosing GPS signal faults in vehicle instruments as described in claim 1, characterized in that, The ideal model is a mobile terminal equipped with a positioning program.
3. The method for diagnosing GPS signal faults in vehicle instruments as described in claim 2, characterized in that, Prior to step S1, the method further includes determining whether there is a GPS signal malfunction in the vehicle's instrument panel.
4. The method for diagnosing GPS signal faults in vehicle instruments as described in claim 3, characterized in that, The method for determining whether there is a GPS signal fault in the vehicle's instrument panel includes: controlling the vehicle to drive to a preset road condition; if the vehicle's instrument panel can display a GPS signal, it is determined that there is no GPS signal fault in the vehicle's instrument panel; otherwise, it is determined that there is a GPS signal fault in the vehicle's instrument panel.
5. The method for diagnosing GPS signal faults in vehicle instruments as described in claim 4, characterized in that, In step S2, a mobile storage device containing GPS recording and parsing programs is installed on the communication link between the hardware and software sides of the vehicle instrument panel to obtain GPS signal source data received by the GPS module in the vehicle instrument panel at each test point.
6. The method for diagnosing GPS signal faults in vehicle instruments as described in claim 5, characterized in that, The GPS signal source data includes the satellite latitude and longitude, number of satellites, and GPS signal strength of the GPS positioning system and the BeiDou positioning system.
7. The method for diagnosing GPS signal faults in vehicle instruments as described in claim 1, characterized in that, In step S3, the fault location is determined based on the comparison results to determine whether the GPS signal fault of the vehicle instrument panel is a hardware fault or a software fault.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle instrument GPS signal fault judgment method as described in any one of claims 1-7.