Fault diagnosis method, system, electronic equipment, medium and vehicle for positioning system
By obtaining multiple system parameters and preset weight values to determine the fault type, the problem of low accuracy in positioning chip fault diagnosis in the prior art has been solved, and more refined fault diagnosis and reminder functions have been achieved.
Patent Information
- Application Number
- CN202411009374.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The existing positioning chip fault diagnosis method directly judges the positioning chip status through the change of PGA value output by the variable gain amplifier circuit and the monitored positioning results, resulting in a single judgment data and low accuracy of the fault diagnosis results.
By obtaining various system parameters of the positioning system, such as signal parameters, power-up parameters, startup parameters, ephemeris download parameters, etc., combined with the preset weight value, the fault type is determined, including power-up failure, startup failure, and ephemeris download failure, ephemeris download failure, and ephemeris download failure. , disconnection, interference, etc., improve the accuracy of fault diagnosis.
This makes fault diagnosis richer, more sufficient conditions and more refined results, improves the accuracy of fault diagnosis, and can more accurately identify the fault type of the positioning system and remind users of faults.
Smart Images

Figure CN118534495B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a fault diagnosis method, system, electronic equipment, medium and vehicle of a positioning system. Background Art
[0002] At present, new energy vehicles are becoming more and more popular. With the increasingly extensive application of intelligent technology in new energy vehicles, positioning chip modules have become standard for new energy vehicles. How to ensure that the positioning module can provide a set of reliable and trustworthy precise positioning in real time is a problem that all new energy vehicle manufacturers must face.
[0003] The existing positioning chip fault diagnosis method only directly determines the positioning chip status through the change of the PGA value output by the variable gain amplifier circuit and the monitored positioning result. The judgment data of the existing fault diagnosis method is single and the fault diagnosis result has low accuracy. Summary of the invention
[0004] The embodiments of the present application provide a fault diagnosis method, system, electronic device, medium and vehicle for a positioning system, which are intended to combine multiple data for fault diagnosis, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, the diagnostic results are more refined, and the accuracy of fault diagnosis is improved.
[0005] The present application provides a fault diagnosis method, including:
[0006] Acquiring system parameters of the positioning system, wherein the system parameters include at least one signal parameter and / or parameters other than the signal parameter;
[0007] A fault type is determined based on the system parameters.
[0008] According to the fault diagnosis method provided in the present application, the signal parameters include signal gain parameters, signal strength parameters and radio frequency parameters; the system parameters also include at least one of positioning system parameters, power-on parameters, startup parameters and ephemeris download parameters.
[0009] According to the fault diagnosis method provided by the present application, determining the fault type according to the system parameters includes:
[0010] The fault type is determined according to the system parameter and / or a preset weight value corresponding to the system parameter.
[0011] According to the fault diagnosis method provided by the present application, determining the fault type according to the system parameter and / or the preset weight value corresponding to the system parameter includes:
[0012] When the system parameters include the power-on parameters and the power-on parameters are power-on abnormalities, the fault type is power-on failure;
[0013] and / or, when the system parameters include the startup parameters and the startup parameters are startup abnormalities, the fault type is startup failure;
[0014] And / or, when the system parameters include the ephemeris download parameters and the ephemeris download parameters are download abnormal, the fault type is ephemeris download failure.
[0015] According to the fault diagnosis method provided by the present application, determining the fault type according to the system parameter and / or the preset weight value corresponding to the system parameter includes:
[0016] In a case where the system parameters include the signal gain parameter, determining whether the signal gain parameter is greater than a preset signal gain value;
[0017] In the case where the signal gain parameter is greater than the preset signal gain value, the fault type is disconnection;
[0018] In a case where the signal gain parameter is less than or equal to the preset signal gain value, the fault type is determined according to the system parameter and a preset weight value corresponding to the system parameter.
[0019] According to the fault diagnosis method provided by the present application, determining the fault type according to the system parameter and the preset weight value corresponding to the system parameter includes:
[0020] Determine a fault diagnosis result according to preset weight values corresponding to the signal parameters and the positioning system parameters, wherein the positioning system parameters include positioning result parameters and positioning accuracy parameters;
[0021] The fault type is determined according to the fault diagnosis result.
[0022] According to the fault diagnosis method provided by the present application, the determining of the fault diagnosis result according to the preset weight values corresponding to the signal parameters and the positioning system parameters includes:
[0023] The preset weight values include parameter preset weights corresponding to the radio frequency parameter, the signal gain parameter, the positioning result parameter, the positioning accuracy parameter and the signal strength parameter;
[0024] Calculate the weighted result value of the preset weights of the parameters;
[0025] The fault diagnosis result is determined according to the weighted result value, and the fault diagnosis result includes interference and no interference.
[0026] According to the fault diagnosis method provided by the present application, determining the fault type according to the fault diagnosis result includes:
[0027] Determining the number of fault diagnoses and the number of faults, wherein the number of faults is the number of diagnoses in which the fault diagnosis result is not disturbed;
[0028] The fault type is determined according to the fault diagnosis times and the fault times.
[0029] According to the fault diagnosis method provided by the present application, determining the fault type according to the fault diagnosis times and the fault times includes:
[0030] Determine a disturbed result value, wherein the disturbed result value is a ratio of the number of faults to the number of fault diagnoses;
[0031] When the interference result value is greater than or equal to a first preset threshold, determining that the fault type is severe interference;
[0032] When the interference result value is less than the first preset threshold and greater than or equal to a second preset threshold, the fault type is determined to be mild interference, wherein the second preset threshold is less than the first preset threshold.
[0033] According to the fault diagnosis method provided by the present application, the method further includes:
[0034] When the result value of the number of interferences is less than the second preset threshold, it is determined that the fault type is positioning failure, and the fault diagnosis method continues to be executed.
[0035] According to the fault diagnosis method provided by the present application, after determining the fault type according to the system parameters, the method further includes:
[0036] The user is reminded of the fault by using the fault type.
[0037] The present application also provides a fault diagnosis system, including:
[0038] An antenna detection circuit, wherein the antenna detection circuit is used to detect status data of the antenna;
[0039] A positioning module, the positioning module is connected to the antenna detection circuit, the positioning module is used to receive signal data, and process the state data and / or the signal data to generate signal parameters and / or positioning system parameters;
[0040] A fault diagnosis module is connected to the positioning module, and is used to receive and process the signal parameters and / or the positioning system parameters to determine the fault type.
[0041] According to the fault diagnosis system provided by the present application, the positioning module includes a radio frequency module and a positioning data processing module;
[0042] The radio frequency module is connected to the antenna detection circuit, and the positioning data processing module is connected to the radio frequency module;
[0043] The radio frequency module is used to collect status data and / or signal data of the antenna detection circuit;
[0044] The positioning data processing module is used to receive and process the status data and / or signal data to generate signal parameters and / or positioning system parameters, and send the signal parameters and / or positioning system parameters to the fault diagnosis module.
[0045] The fault diagnosis system provided by the present application also includes:
[0046] A fault display module is connected to the fault diagnosis module, and is used to display the fault type.
[0047] An embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the memory stores multiple computer programs; the processor loads the computer program from the memory to execute any fault diagnosis method provided in the embodiment of the present application.
[0048] An embodiment of the present application also provides a computer-readable storage medium, which stores multiple computer programs that can be executed by a vehicle. When the computer programs are run on the vehicle, the vehicle executes any one of the fault diagnosis methods provided in the embodiments of the present application.
[0049] The embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is executed by a processor to perform any one of the fault diagnosis methods provided in the embodiment of the present application.
[0050] An embodiment of the present application also provides a vehicle, which includes any one of the fault diagnosis systems, or electronic devices, or computer program products.
[0051] The fault diagnosis method of the positioning system provided in the embodiment of the present application obtains the system parameters of the positioning system, the system parameters include at least one signal parameter and / or parameters other than the signal parameters, and then determines the fault type according to the system parameters. Therefore, fault diagnosis is performed through at least one signal parameter and / or parameters other than the signal parameters, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, the diagnostic results are more refined, and the accuracy of fault diagnosis is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0053] Figure 1 It is a flowchart of a fault diagnosis method of a positioning system provided in one embodiment of the present application;
[0054] Figure 2 It is a flowchart of a fault diagnosis and judgment method provided in one embodiment of the present application;
[0055] Figure 3 is a schematic diagram of a fault diagnosis software architecture provided in one embodiment of the present application;
[0056] Figure 4 is a structural schematic diagram of a fault diagnosis system provided in one embodiment of the present application;
[0057] Figure 5 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical solutions 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, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0059] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that shown in the drawings.
[0060] At present, new energy vehicles are becoming more and more popular. With the increasing application of intelligent technology in new energy vehicles, positioning chip modules have become standard equipment for new energy vehicles. How to ensure that the positioning module can provide a set of reliable and reliable precise positioning in real time is a problem that all new energy vehicle manufacturers must face. The existing positioning chip fault diagnosis method only directly judges the positioning chip status through the PGA value change output by the variable gain amplifier circuit and the monitoring positioning result. The existing fault diagnosis method has a single judgment data and the fault diagnosis result has low accuracy.
[0061] The inventor of the present application has proposed a fault diagnosis method of multi-source data fusion, that is, fault diagnosis is performed through at least one signal parameter and / or parameters other than signal parameters, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, the diagnostic results are more refined, and the accuracy of fault diagnosis is improved.
[0062] Glossary
[0063] Gain amplifier (Programmable Gain Amplifier, PGA).
[0064] Global Positioning System (GPS).
[0065] Embedded controller (SoC, System-on-Chip).
[0066] Semantic storage model (Hyperspace Analogue to Language, HAL).
[0067] Hardware abstraction layer interface definition language (HAL interface definition language, HIDL).
[0068] Android Interface definition language (AIDL).
[0069] Tablet computer (portable android device, Pad).
[0070] Video Distribution System (VDS).
[0071] The execution subject of the embodiment of the present application takes a fault diagnosis system as an example for explanation. Figure 1 , Figure 11 is a flow chart of a fault diagnosis method for a positioning system provided by an embodiment of the present application. The fault diagnosis method for the positioning system is specifically described in steps 10 to 20:
[0072] Step 10: Obtain system parameters of the positioning system.
[0073] In this embodiment, the positioning system at least includes an antenna, and the fault diagnosis system detects status data of the antenna and obtains signal data received by the antenna.
[0074] Furthermore, the fault diagnosis system generates system parameters based on the status data and / or signal data, wherein the system parameters include at least one signal parameter and / or parameters other than signal parameters, the signal parameters include signal gain parameters, signal strength parameters and radio frequency parameters, and the parameters other than signal parameters include at least one of positioning system parameters, power-on parameters, startup parameters and ephemeris download parameters.
[0075] Step 20: determine the fault type according to the system parameters.
[0076] The fault diagnosis system determines the fault type based on the signal parameters and / or parameters other than the signal parameters, specifically: determines the fault type based on the system parameters and / or preset weight values corresponding to the system parameters, as described in steps 201 to 206.
[0077] The embodiment of the present application performs fault diagnosis through at least one signal parameter and / or parameters other than signal parameters, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, and the diagnostic results are more precise, thereby improving the accuracy of fault diagnosis.
[0078] In one embodiment, the description of step 201 to step 203 includes:
[0079] Step 201, when the system parameters include power-on parameters and the power-on parameters are power-on abnormalities, the fault type is power-on failure;
[0080] Step 202, when the system parameters include startup parameters and the startup parameters are startup abnormalities, the fault type is startup failure;
[0081] Step 203: When the system parameters include ephemeris download parameters and the ephemeris download parameters are download abnormal, the fault type is ephemeris download failure.
[0082] In one embodiment, the system parameters may include one of a power-on parameter, a startup parameter, and an ephemeris download parameter. Therefore, when the system parameters only include the power-on parameter, and the power-on parameter is a power-on abnormality, the fault diagnosis system determines that the fault type is a power-on failure. When the system parameters only include the startup parameter, and the startup parameter is a startup abnormality, the fault diagnosis system determines that the fault type is a startup failure. When the system parameters only include the ephemeris download parameter, and the ephemeris download parameter is a download abnormality, the fault diagnosis system determines that the fault type is an ephemeris download failure.
[0083] In one embodiment, the system parameters may include any two of the power-on parameters, the startup parameters, and the ephemeris download parameters. Therefore, when the system parameters include the power-on parameters and the startup parameters, and the power-on parameters are power-on abnormal, and the startup parameters are startup abnormal, the fault diagnosis system determines that the fault type is power-on failure and startup failure. When the system parameters include the power-on parameters and the ephemeris download parameters, and the power-on parameters are power-on abnormal, and the ephemeris download parameters are download abnormal, the fault diagnosis system determines that the fault type is power-on failure and ephemeris download failure. When the system parameters include the startup parameters and the ephemeris download parameters, and the startup parameters are startup abnormal, and the ephemeris download parameters are download abnormal, the fault diagnosis system determines that the fault type is startup failure and ephemeris download failure.
[0084] In one embodiment, the system parameters include power-on parameters, startup parameters, and ephemeris download parameters. Therefore, when the power-on parameters are power-on abnormal, the startup parameters are startup abnormal, and the ephemeris download parameters are download abnormal, the fault diagnosis system determines that the fault type is power-on failure, startup failure, and ephemeris download failure.
[0085] The embodiment of the present application performs fault diagnosis through at least one system parameter, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, and the diagnostic results are more precise, thereby improving the accuracy of fault diagnosis.
[0086] In one embodiment, the description of step 204 to step 206 includes:
[0087] Step 204, when the system parameters include a signal gain parameter, determining whether the signal gain parameter is greater than a preset signal gain value;
[0088] Step 205, when the signal gain parameter is greater than the preset signal gain value, the fault type is disconnection;
[0089] Step 206: When the signal gain parameter is less than or equal to the preset signal gain value, determine the fault type according to the system parameter and the preset weight value corresponding to the system parameter.
[0090] When the system parameters include a signal gain parameter (Antenna Gain), the fault diagnosis system compares the signal gain parameter (Antenna Gain) with a preset signal gain value to determine whether the signal gain parameter (Antenna Gain) is greater than the preset signal gain value, wherein the preset signal gain value is the maximum gain value MAX(Antenna Gain) of the set antenna, that is, the preset signal gain value is MAX(Antenna Gain).
[0091] When the signal gain parameter (Antenna Gain) is greater than the preset signal gain value MAX (Antenna Gain), the fault diagnosis system determines that the fault type is disconnection, that is, the antenna in the positioning system is in a disconnected state, and outputs antenna disconnection fault information.
[0092] When the signal gain parameter (Antenna Gain) is less than or equal to the preset signal gain value MAX (Antenna Gain), the positioning chip is in a connected state, that is, the antenna in the positioning system is in a connected state. The fault type needs to be determined based on the system parameters and the preset weight values corresponding to the system parameters, specifically:
[0093] The fault diagnosis system obtains preset weight values corresponding to the signal parameters and the positioning system parameters, and determines the fault diagnosis result according to the signal parameters and the positioning system parameters and their corresponding preset weight values, as described in steps 2061 to 2062, wherein the positioning system parameters include positioning result parameters and positioning accuracy parameters. Further, the fault diagnosis system determines the fault type according to the fault diagnosis result.
[0094] In one embodiment, the preset weight values include parameter preset weights corresponding to the RF parameters, signal gain parameters, positioning result parameters, positioning accuracy parameters and signal strength parameters. It should be noted that the sum of the parameter preset weights of all parameters is 1, and the parameter preset weight of each parameter can be set according to actual conditions. For example, the parameter preset weight of the RF parameter is 0.2, the parameter preset weight of the signal gain parameter is 0.4, the parameter preset weight of the positioning result parameter is 0.2, the parameter preset weight of the positioning accuracy parameter is 0.1, and the parameter preset weight of the signal strength parameter is 0.1.
[0095] This embodiment combines multiple data of signal gain parameters, radio frequency parameters, signal strength parameters, positioning result parameters and positioning accuracy parameters and their corresponding parameter preset weights for fault diagnosis, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, the diagnostic results are more precise, and the accuracy of fault diagnosis is improved.
[0096] In one embodiment, the description of step 2061 to step 2062 includes:
[0097] Step 2061, calculating the weighted result value of the preset weights of the parameters;
[0098] Step 2062: determine the fault diagnosis result according to the weighted result value, and the fault diagnosis result includes interference and no interference.
[0099] The fault diagnosis system multiplies and sums the signal gain parameter, RF parameter, signal strength parameter, positioning result parameter and positioning accuracy parameter and their corresponding parameter preset weights to calculate a weighted result value. For example, the parameter preset weight of the RF parameter is 0.2, the parameter preset weight of the signal gain parameter is 0.4, the parameter preset weight of the positioning result parameter is 0.2, the parameter preset weight of the positioning accuracy parameter is 0.1, and the parameter preset weight of the signal strength parameter is 0.1. The calculated weighted result value = RF parameter × 0.2 + signal gain parameter × 0.4 + positioning result parameter × 0.2 + positioning accuracy parameter × 0.1 + signal strength parameter × 0.1.
[0100] The fault diagnosis system determines a fault diagnosis result according to the weighted result value, wherein the fault diagnosis result includes interference and no interference.
[0101] In one embodiment, specifically: the fault diagnosis system determines the number of fault diagnoses and the number of faults, wherein the number of fault diagnoses is the number of diagnoses in which the fault diagnosis result is not disturbed, and the number of fault diagnoses is the number of diagnoses in which the fault diagnosis result is disturbed. The number of fault diagnoses within the pre-trial period can obtain a preset interval time, and the pre-trial period is usually set to 1 minute.
[0102] Further, the fault diagnosis system determines the fault type according to the number of fault diagnoses and the number of faults, specifically: determining the interference result value, wherein the interference result value is the ratio of the number of faults to the number of fault diagnoses. When the interference result value is greater than or equal to the first preset threshold, the fault type is determined to be severe interference. When the interference result value is less than the first preset threshold and greater than or equal to the second preset threshold, the fault type is determined to be mild interference, wherein the second preset threshold is less than the first preset threshold.
[0103] Further, when the result value of the number of interferences is less than a second preset threshold, the fault diagnosis system determines that the fault type is positioning failure and continues to execute the fault diagnosis method.
[0104] In another embodiment, the fault diagnosis system determines whether the weighted result value satisfies a preset interference condition, wherein the preset interference condition indicates whether the weighted result value is greater than a preset threshold, that is, the fault diagnosis system determines whether the weighted result value is greater than a preset threshold, wherein the preset threshold is set according to actual conditions.
[0105] Further, if it is determined that the weighted result value is greater than a preset threshold, the fault diagnosis system determines that there is interference with the antenna in the positioning system. If it is determined that the weighted result value is less than or equal to the preset threshold, the fault diagnosis system determines that there is no interference with the antenna in the positioning system.
[0106] Therefore, if it is determined that there is interference with the antenna in the positioning system, the fault diagnosis system obtains the cumulative time in which the weighted result value meets the preset interference condition within the first time period, where the time period is set according to actual conditions, such as setting the time period to 1 minute, 2 minutes, 5 minutes, etc.
[0107] In the embodiment of the present application, the second time range is smaller than the first time range, and the third time range is smaller than the second time range. For example, the first time range is greater than 50 seconds, the second time range is 5-50 seconds, and the third time range is less than 5 seconds. Further, the time range can also be understood as a time proportion. Taking a time period of 1 minute as an example, the first time range is greater than 50 seconds, that is, the time proportion of interference in the time period is greater than 83.3%, the second time range is 5-50 seconds, that is, the time proportion of interference in the time period is greater than 8.33% and less than or equal to 83.3%, and the third time range is less than 5 seconds, that is, the time proportion of interference in the time period is less than 8.33%.
[0108] Therefore, if it is determined that the cumulative time is within the first time range, it means that the time during the time period where interference occurs accounts for a large proportion, and the fault diagnosis system determines that the fault diagnosis result is the first result, wherein the first result indicates that the antenna in the positioning system is in an interference level with an interference intensity greater than or equal to a first preset intensity during the first time period, that is, the antenna in the positioning system is in severe interference.
[0109] If it is determined that the accumulated time is within the second time range, it means that the time during which interference occurs accounts for a large proportion within the time period, and the fault diagnosis system determines that the fault diagnosis result is the first result, wherein the second result indicates that the antenna in the positioning system is in an interference level within the first time period where the interference intensity is less than the first preset intensity and greater than or equal to the second preset intensity, that is, the antenna in the positioning system is in a state of slight interference.
[0110] If it is determined that the accumulated time is within the third time range, it means that the time period with interference is very small, and the fault diagnosis system determines that the fault diagnosis result is the third result. The third result indicates that the antenna in the positioning system is in an interference level with an interference intensity less than the second preset intensity within the first time period, that is, the interference level of the antenna in the positioning system can be ignored.
[0111] Reference Figure 2 , Figure 2It is a flowchart of the fault diagnosis and judgment method provided in the embodiment of the present application. The specific process is as follows: each time period is 1 minute (60 seconds).
[0112] Diagnosis start S1: Every 1 minute starts as an independent detection cycle.
[0113] Gain value comparison S2: determines whether the signal gain parameter (Antenna Gain) is less than the maximum gain value MAX (Antenna Gain), that is, determines whether the antenna is disconnected.
[0114] Diagnosis result output S3: If not, that is, the antenna is disconnected, the diagnosis result of the antenna disconnection is output.
[0115] Weighted result value S4: If yes, that is, the antenna is not disconnected, the weighted result value is calculated by using the signal gain parameter, RF parameter, signal strength parameter, positioning result parameter and positioning accuracy parameter within this 1-minute period and their corresponding parameter preset weights.
[0116] Time accumulation S5: the accumulated time that the weighted result value meets the interference condition within this 1-minute period.
[0117] Fault diagnosis result determination S6: If the cumulative time exceeds 50 seconds at the end of this 1-minute period, it is determined to be a severe interference. If the cumulative time is between 10 seconds and 50 seconds, it is determined to be a slight interference. If the cumulative time is less than 10 seconds, it is determined to be no interference.
[0118] Cyclic detection S7: After each 1-minute cycle ends, the fault diagnosis of the next 1-minute cycle is restarted, and the accumulated interference time value of the previous time cycle is not considered at this time.
[0119] In a specific embodiment, it is assumed that the fault diagnosis system starts from 0 seconds and accumulates and calculates the interference time every 1 minute: 1st minute (0 seconds to 60 seconds): The cumulative interference time is 55 seconds -> severe interference, action: record severe interference and prepare to enter the next 1-minute cycle. 2nd minute (60 seconds to 120 seconds): The cumulative interference time is 35 seconds -> slight interference, action: record slight interference and prepare to enter the next 1-minute cycle. 3rd minute (120 seconds to 180 seconds): The cumulative interference time is 8 seconds -> no interference action: record no interference and prepare to enter the next 1-minute cycle.
[0120] The embodiment of the present application determines the fault diagnosis result of the positioning system according to the accumulated time that the weighted result value meets the interference condition within a time period, and accurately obtains the fault diagnosis result.
[0121] In one embodiment, after the fault type is determined based on the root system parameters, the user is reminded of the fault type, such as by voice broadcast reminder, interface display reminder, etc.
[0122] In one embodiment, in a scenario where the vehicle computer encounters antenna interference causing the central control PAD map to report a weak GPS signal or a route deviation, the diagnostic application will prompt the user with the diagnostic fault result in an explicit manner on the DiLink system instrument or the central control PAD screen, such as a pop-up window or instrument light reminder.
[0123] In addition to providing passive diagnostic reminder functions, after-sales or final assembly can also apply diagnosis to the VDS system to make an active fault diagnosis system for the vehicle positioning module. For example, the VDS system can be used directly to diagnose the receiver or antenna of the vehicle at the final assembly workshop, thereby improving the functional pass rate of the DiLink host.
[0124] Reference Figure 3 , Figure 3 This is a schematic diagram of the fault diagnosis software architecture provided in an embodiment of the present application. The RF module in the embodiment of the present application adds an antenna detection circuit, which can monitor the health status of the antenna in real time. Therefore, the RF module can collect the status data of the antenna and collect RF parameters, wherein the status data includes the signal gain parameter (Antenna Gain) and the RF parameters include the RF front-end I / Q value. Furthermore, the RF module transmits the status data and RF parameters to the positioning module.
[0125] After the positioning module solves the radio frequency parameters, it obtains the signal strength parameter (CN0), positioning result parameter and positioning accuracy parameter (FIX), which are as follows:
[0126] The RF parameters include carrier and positioning data, so the RF parameters are preprocessed, including signal amplification, filtering, mixing and other operations. The preprocessed signal needs to be tracked to ensure that the satellite signal can be stably tracked in a complex environment and the required information can be extracted. Further, the processed analog signal is converted into a digital signal for digital signal processing and solution calculation. Furthermore, the received positioning data contains information such as the location, time, and health status of the satellite, which needs to be processed and decoded to obtain information actually used for positioning solution. By analyzing and processing the received signal, the signal to interference plus noise ratio (SNR) of each satellite signal, that is, the CN0 value, can be calculated to evaluate the quality and strength of the signal. Using the received satellite signal and positioning data, the receiving device can perform positioning solution to calculate the position of the receiving device.
[0127] Furthermore, the positioning module transparently transmits the signal gain parameters, radio frequency parameters, signal strength parameters, positioning result parameters and positioning accuracy parameters to the diagnosis sending module of the HAL layer engine in real time.
[0128] At the HAL layer, the diagnostic sending module of the Engine reports the signal gain parameters and RF parameters to the Android Framework layer GNSS system service (Diagnosis Service) through the chip extension HIDL / AIDL interface. Defined by the diagnostic characteristics, the current Extended GNSS HIDL / AIDL Service does not accept upper-layer command control, and only reports the observation data of the signal gain parameters and RF parameters of the underlying positioning module, which is a forwarding and transparent reporting working mode.
[0129] In the Android Framework layer, after receiving the observed data of signal gain parameters and radio frequency parameters reported by the positioning module, the Diagnosis Service module first parses and preprocesses the observed data stream, and provides two data acquisition interfaces: one is the application request passive monitoring mode, and the Diagnosis Service returns the parsed data to the registered monitoring application through callback. The other is the active query acquisition mode, and the Diagnosis Service transparently transmits the parsed data to the application by providing the get method.
[0130] At the APP application layer, after obtaining the observation data, the diagnostic application uses the Android standard interface to obtain the signal strength parameters, positioning result parameters and positioning accuracy parameters. Then the diagnostic algorithm module uses the signal gain parameters, RF parameters, signal strength parameters, positioning result parameters and positioning accuracy parameters to perform fusion diagnosis and obtain the fault diagnosis result.
[0131] The fault diagnosis system provided in the embodiment of the present application is described below. The fault diagnosis system described below and the fault diagnosis method described above can be referenced to each other.
[0132] Reference Figure 4 As shown, Figure 4 40 is a schematic diagram of the structure of a fault diagnosis system provided in an embodiment of the present application. The fault diagnosis system includes an antenna detection circuit 401, a positioning module 402 and a fault diagnosis module 403.
[0133] Antenna detection circuit 401, antenna detection circuit 401 is used to detect status data of the antenna;
[0134] A positioning module 402, the positioning module 402 is connected to the antenna detection circuit 401, and the positioning module 402 is used to receive signal data, process state data and / or signal data to generate signal parameters and / or positioning system parameters;
[0135] The fault diagnosis module 403 is connected to the positioning module 402 and is used to receive and process signal parameters and / or positioning system parameters to determine the fault type.
[0136] The embodiment of the present application performs fault diagnosis through at least one signal parameter and / or parameters other than signal parameters, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, and the diagnostic results are more precise, thereby improving the accuracy of fault diagnosis.
[0137] In one embodiment, the positioning module includes a radio frequency module and a positioning data processing module;
[0138] The radio frequency module is connected to the antenna detection circuit, and the positioning data processing module is connected to the radio frequency module;
[0139] The radio frequency module is used to collect status data and / or signal data of the antenna detection circuit;
[0140] The positioning data processing module is used to receive and process the status data and / or signal data to generate signal parameters and / or positioning system parameters, and send the signal parameters and / or positioning system parameters to the fault diagnosis module.
[0141] In one embodiment, the fault diagnosis system further includes: a fault display module, which is connected to the fault diagnosis module and is used to display the fault type.
[0142] Reference Figure 5 , Figure 5 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call a computer program in the memory 530 to execute the steps of the fault diagnosis method, including:
[0143] Obtain system parameters of the positioning system, where the system parameters include at least one signal parameter and / or parameters other than signal parameters; determine the fault type based on the system parameters, and perform fault diagnosis through at least one signal parameter and / or parameters other than signal parameters, so that the diagnosed fault types are richer, the diagnostic conditions are more sufficient, the diagnostic results are more precise, and the accuracy of fault diagnosis is improved.
[0144] In addition, the logical computer program in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several computer programs to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0145] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0146] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including several computer programs to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A fault diagnosis method for a positioning system, characterized in that: include: Acquire system parameters of a positioning system, wherein the system parameters include at least one signal parameter and / or parameters other than the signal parameter; wherein the positioning system includes at least an antenna, and the system parameters are obtained based on state data of the antenna within a detection period and / or received signal data; determining a fault type according to the system parameters; The determining the fault type according to the system parameter comprises: Determining the fault type according to the system parameter and / or the preset weight value corresponding to the system parameter; wherein, when the system parameter is a parameter other than the signal parameter, determining the fault type based on the content of the parameter other than the signal parameter; The signal parameters include signal gain parameters, signal strength parameters and radio frequency parameters; the system parameters also include at least one of positioning system parameters, power-on parameters, startup parameters and ephemeris download parameters; Wherein, determining the fault type according to the system parameter and / or the preset weight value corresponding to the system parameter includes: In a case where the system parameters include the signal gain parameter, determining whether the signal gain parameter is greater than a preset signal gain value; In a case where the signal gain parameter is less than or equal to the preset signal gain value, determining the fault type according to the system parameter and a preset weight value corresponding to the system parameter; Wherein, determining the fault type according to the system parameter and the preset weight value corresponding to the system parameter includes: Determine a fault diagnosis result according to preset weight values corresponding to the signal parameters and the positioning system parameters, wherein the positioning system parameters include positioning result parameters and positioning accuracy parameters; Determine the fault type according to the fault diagnosis result; The preset weight value includes the preset weights of parameters corresponding to the radio frequency parameter, the signal gain parameter, the positioning result parameter, the positioning accuracy parameter and the signal strength parameter; and determining the fault diagnosis result according to the preset weight values corresponding to the signal parameter and the positioning system parameter includes: Calculate the weighted result value of the preset weights of the parameters; Determine the fault diagnosis result according to the weighted result value, wherein the fault diagnosis result includes interference and no interference; If it is determined that the weighted result value is greater than a preset threshold, it is determined that interference exists in the antenna in the positioning system; If it is determined that the weighted result value is less than or equal to a preset threshold, it is determined that there is no interference with the antenna in the positioning system; If it is determined that there is interference with the antenna in the positioning system, then the accumulated time during which the weighted result value meets the preset interference condition in the first time period is obtained; The severity of interference to the antenna is determined according to the accumulated time.
2. The fault diagnosis method according to claim 1, characterized in that: When the system parameter is a parameter other than the signal parameter, determining the fault type based on the parameter other than the signal parameter comprises: When the system parameters include the power-on parameters and the power-on parameters are power-on abnormalities, the fault type is power-on failure; and / or, when the system parameters include the startup parameters and the startup parameters are startup abnormalities, the fault type is startup failure; And / or, when the system parameters include the ephemeris download parameters and the ephemeris download parameters are download abnormal, the fault type is ephemeris download failure.
3. The fault diagnosis method according to claim 1, characterized in that: The determining of the fault type according to the system parameter and / or the preset weight value corresponding to the system parameter further includes: When the signal gain parameter is greater than the preset signal gain value, the fault type is disconnection.
4. The fault diagnosis method according to claim 1, characterized in that: The method further comprises: When the antenna is in a state of slight interference, the fault type is determined to be positioning failure, and the fault diagnosis method is continued to be executed.
5. The fault diagnosis method according to any one of claims 1 to 4, characterized in that: After determining the fault type according to the system parameters, the method further includes: The user is reminded of the fault by using the fault type.
6. A fault diagnosis system, characterized in that: include: An antenna detection circuit, the antenna detection circuit is used to detect status data of the antenna within a detection period; A positioning module, the positioning module is connected to the antenna detection circuit, the positioning module is used to receive signal data, and process the state data and / or the signal data to generate signal parameters and / or positioning system parameters; A fault diagnosis module, the fault diagnosis module is connected to the positioning module, the fault diagnosis module is used to receive and process the signal parameters and / or the positioning system parameters, and determine the fault type according to the system parameters and / or the preset weight values corresponding to the system parameters; wherein, when the system parameters are the content of parameters other than the signal parameters, the fault diagnosis module is used to determine the fault type based on the parameters other than the signal parameters; The signal parameters include signal gain parameters, signal strength parameters and radio frequency parameters; the system parameters also include at least one of positioning system parameters, power-on parameters, startup parameters and ephemeris download parameters; Wherein, the fault diagnosis module is specifically used to, when the system parameter includes the signal gain parameter, determine whether the signal gain parameter is greater than a preset signal gain value; In a case where the signal gain parameter is less than or equal to the preset signal gain value, determining the fault type according to the system parameter and a preset weight value corresponding to the system parameter; The fault diagnosis module is specifically used to include: Determine a fault diagnosis result according to preset weight values corresponding to the signal parameters and the positioning system parameters, wherein the positioning system parameters include positioning result parameters and positioning accuracy parameters; Determine the fault type according to the fault diagnosis result; The preset weight value includes the preset weights of the parameters corresponding to the radio frequency parameter, the signal gain parameter, the positioning result parameter, the positioning accuracy parameter and the signal strength parameter; the fault diagnosis module is specifically used to include: Calculate the weighted result value of the preset weights of the parameters; Determine the fault diagnosis result according to the weighted result value, wherein the fault diagnosis result includes interference and no interference; If it is determined that the weighted result value is greater than a preset threshold, it is determined that interference exists in the antenna in the positioning system; If it is determined that the weighted result value is less than or equal to a preset threshold, it is determined that there is no interference with the antenna in the positioning system; If it is determined that there is interference with the antenna in the positioning system, then the accumulated time during which the weighted result value meets the preset interference condition in the first time period is obtained; The severity of interference to the antenna is determined according to the accumulated time.
7. The fault diagnosis system according to claim 6, characterized in that: The positioning module includes a radio frequency module and a positioning data processing module; The radio frequency module is connected to the antenna detection circuit, and the positioning data processing module is connected to the radio frequency module; The radio frequency module is used to collect status data and / or signal data of the antenna detection circuit; The positioning data processing module is used to receive and process the status data and / or signal data to generate signal parameters and / or positioning system parameters, and send the signal parameters and / or positioning system parameters to the fault diagnosis module.
8. The fault diagnosis system according to claim 7, characterized in that: Also includes: A fault display module is connected to the fault diagnosis module, and is used to display the fault type.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of computer programs; the processor loads the computer program from the memory to execute the fault diagnosis method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program executable by a vehicle, and when the computer program runs on the vehicle, the vehicle executes the fault diagnosis method according to any one of claims 1 to 5.
11. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the fault diagnosis method according to any one of claims 1 to 5 is implemented.
12. A vehicle, characterized in that: The vehicle comprises the fault diagnosis system according to any one of claims 6 to 8, or the electronic device according to claim 9, or the computer program product according to claim 11.
Citation Information
Patent Citations
Vehicle-mounted navigation device and fault diagnosis method thereof
CN103335662A
Method and apparatus for detecting potential fault in positioning device
CN113933863A
Fault positioning system and method for continuous operation reference station of Beidou navigation system
CN114384561A
Fault positioning method of navigation positioning system of mining unmanned vehicle
CN115200614A