Automobile diagnosis method, tire pressure sensor and storage medium
By using tire pressure sensors to obtain the radius of rotation and acceleration to calculate vehicle mileage, the high cost and low convenience of existing technologies are solved, realizing a low-cost and simple vehicle diagnostic method, and improving the accuracy and safety of tire replacement timing.
Patent Information
- Application Number
- CN202511828501.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-05
- Publication Date
- 2026-01-09
AI Technical Summary
Existing vehicle diagnostic methods, such as tire pressure testing and wear testing, are costly and inconvenient, making it difficult to accurately determine when to replace tires and posing safety hazards.
By obtaining the rotation radius and initial acceleration from the tire pressure sensor, the final value of the vehicle's mileage is calculated. This method utilizes existing tire pressure sensor parameters and eliminates the need for an additional mileage measurement sensor, simplifying the calculation process.
It reduces vehicle diagnostic costs, improves diagnostic convenience and efficiency, and can accurately determine when to replace tires based on mileage, thus reducing safety hazards.
Smart Images

Figure CN121291007A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive diagnostic technology, and more particularly to an automotive diagnostic method, a tire pressure sensor, and a storage medium. Background Technology
[0002] In recent years, with the continuous improvement of the automotive industry, automobiles have become an integral part of people's daily lives, significantly improving travel efficiency, bringing great convenience, and promoting global economic development. Tires, as a crucial component of a car, play a vital role in safe driving. Tire pressure and wear monitoring are essential when using a vehicle. Tires experience various types of wear, and both excessively high and low tire pressure can easily lead to accidents, causing harm to the person and property of the driver and passengers. Current tire pressure monitoring systems typically involve installing tire pressure sensors on the tires to detect pressure and issue warnings when abnormal pressure is detected.
[0003] Furthermore, because tire wear is a slow process, it's difficult for drivers to accurately determine when to replace tires. Replacing tires too early is wasteful, while replacing them too late may pose safety hazards. Related technologies use odometer sensors to measure the vehicle's total mileage and determine tire wear based on that mileage, thus enabling vehicle diagnostics. However, this method requires additional odometer sensors to calculate the total mileage, resulting in high costs and complex calculation methods, making it inconvenient for vehicle diagnostics and ultimately increasing diagnostic costs. Summary of the Invention
[0004] In view of this, one objective of the embodiments of the present invention is to provide a vehicle diagnostic method, a tire pressure sensor and a storage medium, aiming to solve the technical problems of high cost and low convenience of vehicle diagnostics in related technologies.
[0005] To address the aforementioned technical problems, the embodiments of the present invention provide the following technical solutions: In a first aspect, embodiments of the present invention provide a vehicle diagnostic method applied to a tire pressure sensor, the tire pressure sensor being disposed on the tires of a vehicle, the method comprising: The rotation radius and the first acceleration are obtained, wherein the rotation radius is the rotation radius of the tire pressure sensor during the tire rotation process, and the first acceleration is the radial acceleration of the tire pressure sensor during the tire rotation process; Calculate the final mileage of the car based on the radius of rotation and the first acceleration; The diagnostic results for the vehicle are obtained based on the final mileage value.
[0006] In some embodiments, the tire pressure sensor is communicatively connected to the tire pressure device to obtain the radius of rotation, including: The radius of rotation sent by the tire pressure monitoring system; or, Candidate accelerations are obtained, and the rotation period is calculated based on the candidate accelerations. The rotation radius is calculated based on the first acceleration and the rotation period. The candidate accelerations include the first acceleration and / or the second acceleration. The second acceleration is the tangential acceleration of the tire pressure sensor as it follows the tire rotation. The rotation period is the time required for the tire pressure sensor to rotate one revolution with the tire.
[0007] In some embodiments, the rotation period is calculated based on candidate accelerations, including: Determine the first and second peak values of the candidate accelerations; Determine the first time corresponding to the first peak and the second time corresponding to the second peak; Subtracting the first time from the second time gives the rotation period.
[0008] In some embodiments, calculating the radius of rotation based on the first acceleration and the rotation period includes: Multiply the first acceleration by the first product to obtain the first product value, which is the product of the rotation period and the rotation period. Divide the first product value by the first preset value to obtain the radius of rotation.
[0009] In some embodiments, the first acceleration is the radial acceleration collected by the tire pressure sensor within each preset time period. Based on the rotation radius and the first acceleration, the final value of the vehicle's mileage is calculated, including: Calculate the angular velocity based on the radius of rotation and the first acceleration. Calculate the target rotation angle based on the preset duration and angular velocity; Receive the reference radius sent by the tire pressure monitoring system; the reference radius is the radius of the tire. Multiply the target rotation angle by the reference radius to obtain the final mileage value.
[0010] In some embodiments, the angular velocity is calculated based on the radius of rotation and the first acceleration, including: Divide the first acceleration by the radius of rotation to obtain the first quotient. The angular velocity is obtained by taking the square root of the first quotient.
[0011] In some embodiments, the target rotation angle is calculated based on a preset duration and angular velocity, including: Multiply the preset duration by the angular velocity to obtain the candidate rotation angle; Sum the multiple candidate rotation angles to obtain the current rotation angle; Get the previous rotation angle, which is the sum of the rotation angles of the tire pressure sensor since the last calculation; Add the current rotation angle to the previous rotation angle to obtain the target rotation angle.
[0012] In some embodiments, the vehicle further includes an electronic control unit and a warning device, the electronic control unit being communicatively connected to the tire pressure sensor and the warning device respectively, and the method further includes: After calculating the target rotation angle based on a preset duration and angular velocity, the method also includes: The target rotation angle is sent to the electronic control unit so that when the target rotation angle is greater than or equal to a preset rotation angle threshold, the electronic control unit controls the warning device to display a first warning message. The first warning message is used to remind the user to repair or replace the tire pressure sensor.
[0013] In some embodiments, the method further includes: A reference radius is sent to the electronic control unit so that the electronic control unit can calculate the final mileage of the vehicle based on the target rotation angle and the reference radius. When the final mileage is greater than or equal to a preset mileage threshold, the control warning device presents a first result; or when the final mileage is less than the mileage threshold, the control warning device presents a second result. The first result is used to prompt the user to repair or replace the tires, and the second result is used to indicate that the tires are in good condition.
[0014] In some embodiments, the diagnostic results of the vehicle are obtained based on the final mileage value, including: The final mileage value is sent to the electronic control unit so that when the final mileage value is greater than or equal to a preset mileage threshold, the electronic control unit controls the warning device to present a first result, or when the final mileage value is less than the mileage threshold, the warning device controls the second result. The first result is used to prompt the user to repair or replace the tires, and the second result is used to indicate that the tires are in good condition. Receive the first or second result sent by the electronic control unit.
[0015] Secondly, embodiments of the present invention provide a tire pressure sensor, comprising: A processor and a memory communicatively connected to the processor; The memory stores computer program instructions executable by the processor, which executes the computer program instructions to cause the tire pressure sensor to perform any of the vehicle diagnostic methods proposed in the first aspect.
[0016] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing processor-executable computer program instructions, wherein the processor executes the computer program instructions to cause the computer to perform any of the vehicle diagnostic methods proposed in the first aspect.
[0017] The embodiments of the present invention have the following beneficial effects: Unlike related technologies, the vehicle diagnostic method provided in the embodiments of the present invention is applied to a tire pressure sensor, which is disposed on the tire of a vehicle. The method includes: acquiring a rotation radius and a first acceleration, wherein the rotation radius is the rotation radius of the tire pressure sensor during the tire's rotation, and the first acceleration is the radial acceleration of the tire pressure sensor during the tire's rotation; calculating the final mileage of the vehicle based on the rotation radius and the first acceleration; and obtaining the vehicle's diagnostic result based on the final mileage.
[0018] This invention provides an embodiment of the invention that obtains the rotation radius and first acceleration of a tire pressure sensor installed on a car tire, and calculates the final value of the car's mileage based on the rotation radius and first acceleration. In this way, only the relevant parameters of the existing tire pressure sensor need to be detected and utilized, without the need to set up an additional mileage measurement sensor to measure and calculate the car's mileage. This enables the calculation of the car's mileage at low cost and is simple in calculation method. Thus, the diagnostic results of the car can be obtained based on the car's mileage, improving the convenience and efficiency of car diagnosis and reducing diagnostic costs. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the prior art or embodiments will be briefly introduced below. Obviously, the drawings described below only show some embodiments of the present invention and should not be considered as limiting the scope of protection. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1a These are schematic diagrams illustrating application scenarios of the vehicle diagnostic method in some embodiments of the present invention; Figure 1b This is a schematic diagram of a tire pressure sensor following the rotation of a car tire in some embodiments of the present invention; Figure 2a These are schematic diagrams of the structure of a car provided in some embodiments of the present invention; Figure 2b These are schematic diagrams of the structure of a car provided in other embodiments of the present invention; Figure 3 This is a schematic diagram of the structure of a tire pressure sensor in a car provided in some embodiments of the present invention; Figure 4 This is a schematic flowchart of an automotive diagnostic method provided in some embodiments of the present invention; Figure 5a yes Figure 4 A schematic diagram of a sub-process of step S41 in the vehicle diagnostic method shown in the embodiment; Figure 5b yes Figure 4Another sub-process diagram of step S41 in the vehicle diagnostic method shown in the embodiment; Figure 5c This is a schematic diagram of the sinusoidal waveform of the first acceleration changing with time in some embodiments of the present invention; Figure 6 yes Figure 4 A schematic diagram of a sub-process of step S42 in the vehicle diagnostic method shown in the embodiment; Figure 7 This is a schematic diagram of the structure of an automotive diagnostic device provided in some embodiments of the present invention; Figure 8 This is a structural schematic diagram of an automotive diagnostic device provided in other embodiments of the present invention. Detailed Implementation
[0021] To make the objectives and advantages of the embodiments of the present invention more readily understood, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. The detailed description of the embodiments of the present invention in the accompanying drawings is not intended to limit the scope of protection claimed by the present invention, but only to illustrate selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] It should be noted that, unless there is a conflict, the various technical features involved in the embodiments of the present invention described below can be combined with each other, and all are within the protection scope of the present invention. Furthermore, although functional modules are divided in the device or structural schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. In addition, the terms "first," "second," "third," and other similar expressions used herein do not limit the data or execution order, but are only for illustrative purposes and to distinguish identical or similar items with substantially the same function and effect, and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features.
[0023] Unless otherwise defined, the technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. It should be understood that the term "and / or" as used herein includes any and all combinations of one or more of the listed items.
[0024] Tires, as a crucial component of a car, play a vital role in safe driving. Tire pressure and wear monitoring are essential when using a vehicle. Tires experience various types of wear, and both excessively high and low tire pressure can easily lead to accidents, causing harm to passengers and property. Current tire pressure monitoring systems typically involve installing tire pressure sensors on the tires to detect pressure and issue warnings when abnormal pressure is detected.
[0025] Furthermore, because tire wear is a slow process, it's difficult for drivers to accurately judge when to replace tires. Replacing tires too early is wasteful, while replacing them too late may pose safety hazards. Related technologies incorporate mileage sensors to measure the vehicle's total mileage and determine tire wear based on this data, enabling vehicle diagnostics. Once the vehicle reaches a certain mileage, worn tires are replaced, thus ensuring safe driving.
[0026] The inventors discovered that this method requires setting up additional mileage measurement sensors to measure and calculate the total mileage of the car, which is costly and the measurement and calculation method is complicated, making it inconvenient for car diagnosis and increasing the cost of car diagnosis.
[0027] In view of this, embodiments of the present invention provide a vehicle diagnostic method that obtains the rotation radius and first acceleration of a tire pressure sensor located on a vehicle tire, and calculates the final value of the vehicle's mileage based on the rotation radius and first acceleration. In this way, only the relevant parameters of the existing tire pressure sensor (i.e., rotation radius and first acceleration) need to be detected and utilized, without the need to set up an additional mileage measurement sensor to measure and calculate the vehicle's mileage. This method can calculate the vehicle's mileage at low cost and is simple to use. Thus, the diagnostic results of the vehicle can be obtained based on the vehicle's mileage, improving the convenience and efficiency of vehicle diagnostics and reducing diagnostic costs.
[0028] Please see Figure 1a , Figure 1a The illustration shows a schematic diagram of an application scenario of the vehicle diagnostic method in some embodiments of the present invention.
[0029] like Figure 1a As shown, this application scenario includes a car 100, and the tires 120 of the car 100 are equipped with tire pressure sensors. Figure 1a (Not shown), the tire pressure sensor is configured to detect the tire pressure of tire 120, as well as the radius of rotation and a first acceleration. It should be understood that the tire pressure sensor can be located at any suitable position on tire 120, such as on the rim of tire 120.
[0030] Understandably, the radius of rotation is the radius of rotation of the tire pressure sensor as it follows the tire 120 as it rotates, and the first acceleration is the radial acceleration of the tire pressure sensor as it follows the tire 120 as it rotates. Please refer to [link / reference]. Figure 1b , Figure 1b A schematic diagram of a tire pressure sensor rotating with the tire is shown. Point O is the center of the tire. When the tire pressure sensor rotates clockwise (N) with the tire 120 to point K, the first acceleration a1 and the radius of rotation r of the tire pressure sensor at point K are collected. The first acceleration a1 is the radial acceleration (or centrifugal acceleration) of the tire pressure sensor at point K, and its value is 2000. The first acceleration a1 at points A, B, C, and D are 2050, 1945, 2050, and 2155, respectively.
[0031] In some embodiments, the tire pressure sensor communicates with the tire pressure monitoring system via a network. The rotation radius *r* is a fixed value. After installing the tire pressure sensor on the tire, the user can measure a reference distance between the tire pressure sensor and the tire's center, and then transmit this reference distance, which is the rotation radius *r*, to the tire pressure sensor via the network. When calculating the vehicle's mileage, the tire pressure sensor retrieves the reference radius *r* from local storage. Alternatively, in some embodiments, the tire pressure sensor can calculate the rotation radius *r* based on a first acceleration *a1*.
[0032] Among them, the vehicle 100 includes an electronic control unit ( Figure 1a (Not shown) The electronic control unit (ECU) is communicatively connected to the tire pressure sensor. After obtaining the rotation radius and first acceleration of the tire pressure sensor, the tire pressure sensor calculates the final mileage of the vehicle based on the rotation radius and first acceleration, achieving low-cost calculation of vehicle mileage with a simple calculation method. Finally, the tire pressure sensor sends the final mileage of vehicle 100 to the ECU, which then performs diagnostics on vehicle 100 based on the final mileage value, obtaining the diagnostic results for vehicle 100.
[0033] Easy to understand, Figure 1a The application scenarios shown are merely illustrative and do not limit the structure, type, or quantity of the vehicle 100, electronic control unit, tire pressure sensor, or tire pressure device in other application scenarios or embodiments. For example, in some other application scenarios or embodiments, the electronic control unit may also be an FPGA chip, a microcontroller, a microcontroller, or other suitable device or component.
[0034] To facilitate understanding of the vehicle diagnostic method provided in the embodiments of the present invention, the vehicle and tire pressure sensor provided in the embodiments of the present invention will first be described in detail.
[0035] Please see Figure 2a , Figure 2a The diagram shows a structural schematic of a car provided by some embodiments of the present invention.
[0036] See Figure 2a As shown, the vehicle 100 includes an electronic control unit 110, a tire 120, and a tire pressure sensor 130. The tire pressure sensor 130 is disposed at any suitable position on the tire 120. The electronic control unit 110 is communicatively connected to the tire pressure sensor 130, and the tire pressure sensor 130 is also communicatively connected to the tire pressure device 200 via a network.
[0037] In this embodiment of the invention, the electronic control unit 110 is configured to diagnose the vehicle 100 based on the mileage of the vehicle 100, and obtain the diagnostic results of the vehicle 200.
[0038] The tire pressure monitoring device 200 is configured to receive the rotation radius of the tire pressure sensor 130 and the radius of the tire 120 input by the user, and to transmit the rotation radius of the tire pressure sensor 130 and the radius of the tire 120 to the tire pressure sensor 130. The tire pressure monitoring device 200 can be any suitable terminal equipment, system, or device.
[0039] For example, tire pressure sensor 130 is configured to detect tire pressure of tire 120, as well as to detect rotation radius, a first acceleration, and a second acceleration, and is also configured to receive the rotation radius of tire pressure sensor 130 and the radius of tire 120 transmitted by tire pressure device 200. The second acceleration is the tangential acceleration of tire pressure sensor 130 as it rotates with tire 120, for example, see [reference needed]. Figure 1b When the tire pressure sensor 130 rotates clockwise N with the tire 120 to position K, the second acceleration a2 of the tire pressure sensor 130 at position K is collected. When the radius of rotation is unknown, the tire pressure sensor 130 can calculate the radius of rotation based on either the first or second acceleration, and then calculate the vehicle's mileage based on the radius of rotation and the first acceleration.
[0040] Please see Figure 2b , Figure 2b A schematic diagram of the structure of a car provided by other embodiments of the present invention is shown.
[0041] See Figure 2b As shown, the vehicle 100 also includes a warning device 140, which is communicatively connected to the electronic control unit 110. In this embodiment of the invention, the warning device 140 is configured to present the diagnostic results of the vehicle 100 and / or the warning information from the tire pressure sensor 130. The warning device 140 can be any suitable device or apparatus, such as a display screen, indicator light, buzzer, etc.
[0042] Understandable. Figure 2a and Figure 2bThis illustration only shows a tire 120 and a tire pressure sensor 130 disposed on the tire 120. In actual applications, the vehicle 100 includes multiple tires 120, and each tire 120 is provided with one or more tire pressure sensors 130. This embodiment of the invention does not limit this in any way.
[0043] Please see Figure 3 , Figure 3 The schematic diagram illustrates the structure of a tire pressure sensor in some embodiments of the present invention.
[0044] See Figure 3 As shown, the tire pressure sensor 130 includes at least one processor 131 and a memory 132 with communication connectivity. Figure 3 Taking a bus system 133 and a processor 131 as an example, the various components of the tire pressure sensor 130 are coupled together through the bus system 133, which is used to realize the connection and communication between the various components. It is easy to understand that the bus system 133, in addition to a data bus, may also include a power bus, a control bus, and a status signal bus, etc. However, for the sake of clarity and brevity, in... Figure 3 The general labels all buses as Bus System 133. This is understandable. Figure 3 The structures shown in the embodiments are merely illustrative and do not limit the structure of the tire pressure sensor described above. For example, the tire pressure sensor may also include components that are more... Figure 3 The structure shown has more or fewer components, or has the same Figure 3 The diagram shows different configurations of the structure.
[0045] For example, processor 131 is configured to provide computational and control capabilities to support tire pressure sensor 130 in executing corresponding business logic and functions. For instance, it may support tire pressure sensor 130 in executing any of the vehicle diagnostic methods provided in this embodiment of the invention, or in executing steps in any possible implementation of any of the vehicle diagnostic methods provided in this embodiment of the invention. Those skilled in the art will understand that processor 131 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0046] The memory 132, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, instructions, and modules, such as the programs, instructions, and modules corresponding to the vehicle diagnostic method in the embodiments of the present invention. In some embodiments, the memory 132 may include a program storage area and a data storage area. The program storage area stores the operating system and application programs required for at least one function, and the data storage area may store data created according to the use of the processor 131, etc. The processor 131 executes various functional applications and data processing of the tire pressure sensor 130 by running the non-transitory software programs, instructions, and modules stored in the memory 132, so as to implement any vehicle diagnostic method provided in the embodiments of the present invention, or execute the steps in any possible implementation of any vehicle diagnostic method provided in the embodiments of the present invention. In some embodiments, the memory 132 may include high-speed random access memory and may also include non-transitory memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 132 may also include memory remotely located relative to the processor 131, and these remotely located memories may be connected to the processor 131 through a communication network. It is understood that examples of the aforementioned communication networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0047] As can be understood from the above, the implementing entity of any vehicle diagnostic method provided in the embodiments of the present invention can be any suitable type of tire pressure sensor with certain calculation and control capabilities, such as the tire pressure sensor 130 of the aforementioned vehicle 100. In some feasible implementations, any vehicle diagnostic method provided in the embodiments of the present invention can be implemented by a processor executing computer program instructions stored in a memory.
[0048] The following will describe in detail the vehicle diagnostic method provided by the embodiments of the present invention, with reference to exemplary applications and implementations of the tire pressure sensor provided in the embodiments of the present invention.
[0049] Please see Figure 4 , Figure 4 The schematic diagram illustrates a flowchart of an automotive diagnostic method provided in some embodiments of the present invention.
[0050] It is readily understood that the vehicle diagnostic method provided in this embodiment of the invention can be applied to the aforementioned tire pressure sensor (such as tire pressure sensor 130). Specifically, the vehicle diagnostic method is executed by one or at least two processors of the tire pressure sensor.
[0051] like Figure 4 As shown, the vehicle diagnostic method includes, but is not limited to, the following steps S41-S43: S41: Obtain the rotation radius and the first acceleration.
[0052] In this step, the rotation radius is the rotation radius of the tire pressure sensor as it follows the tire's rotation, and the first acceleration is the radial acceleration of the tire pressure sensor as it follows the tire's rotation.
[0053] In some embodiments, the user manually inputs the rotation radius into the tire pressure device, and the tire pressure device sends the rotation radius to the tire pressure sensor. In this embodiment of the invention, the rotation radius is obtained from the local storage of the tire pressure sensor.
[0054] In some embodiments, the tire pressure sensor includes an acceleration detection device, and the acceleration detection device is configured to detect the radial acceleration (i.e., the first acceleration) of the tire pressure sensor as it follows the rotation of the tire. In this embodiment of the invention, the first acceleration of the tire pressure sensor detected by the acceleration detection device is obtained from the acceleration detection device.
[0055] S42: Calculate the final mileage of the car based on the radius of rotation and the first acceleration.
[0056] For example, after obtaining the rotation radius and first acceleration of the tire pressure sensor, the rotation angle of the tire pressure sensor is calculated based on the rotation radius and first acceleration. The rotation angle of the tire pressure sensor is the rotation angle of the tire. Multiplying the tire rotation angle by the tire radius yields the current mileage of the vehicle during this test. Adding the current mileage to the previous mileage gives the final mileage value of the vehicle.
[0057] S43: Obtain diagnostic results for the vehicle based on the final mileage value.
[0058] For example, in this embodiment of the invention, the final mileage value is sent to the electronic control unit (ECU) via a network. The ECU determines whether the vehicle tires need repair or replacement based on the final mileage value and generates a diagnostic result for the vehicle. The diagnostic result includes either a result indicating that the vehicle tires need repair or replacement, or a result indicating that the vehicle tires do not need repair or replacement.
[0059] This invention provides an embodiment of the invention that obtains the rotation radius and first acceleration of a tire pressure sensor installed on a car tire, and calculates the final value of the car's mileage based on the rotation radius and first acceleration. In this way, only the relevant parameters of the existing tire pressure sensor need to be detected and utilized, without the need to set up an additional mileage measurement sensor to measure and calculate the car's mileage. This enables the calculation of the car's mileage at low cost and is simple in calculation method. Thus, the diagnostic results of the car can be obtained based on the car's mileage, improving the convenience and efficiency of car diagnosis and reducing diagnostic costs.
[0060] Please see Figure 5a , Figure 5aThe illustration shows a sub-process diagram of step S41 in the vehicle diagnostic method provided by some embodiments of the present invention.
[0061] See Figure 5a As shown, in some embodiments, obtaining the rotation radius specifically includes, but is not limited to, the following step S411: S411: Receives the rotation radius sent by the tire pressure monitoring system.
[0062] Specifically, after installing the tire pressure sensor onto the tire, the user measures the reference distance between the tire pressure sensor and the tire's center and inputs this reference distance into the tire pressure monitoring system. This reference distance is the rotation radius of the tire pressure sensor. The tire pressure monitoring system receives the input rotation radius and then transmits it to the tire pressure sensor via the network. The tire pressure sensor receives the rotation radius transmitted by the tire pressure monitoring system.
[0063] Please see Figure 5b , Figure 5b This schematically illustrates another sub-process diagram of step S41 in the vehicle diagnostic method provided by some embodiments of the present invention.
[0064] like Figure 5b As shown, in some embodiments, obtaining the rotation radius specifically includes, but is not limited to, the following step S412: S412: Obtain candidate accelerations, calculate the rotation period based on the candidate accelerations, and calculate the rotation radius based on the first acceleration and the rotation period.
[0065] In this embodiment, the candidate acceleration includes a first acceleration and / or a second acceleration. The second acceleration is the tangential acceleration of the tire pressure sensor as it follows the tire rotation, and the rotation period is the time required for the tire pressure sensor to rotate one revolution with the tire.
[0066] For example, in embodiments of the present invention, the first acceleration and / or the second acceleration detected and collected by the acceleration detection device in the tire pressure sensor are continuously acquired, and the first acceleration and / or the second acceleration are used as candidate accelerations.
[0067] In this embodiment of the invention, the changes of the first acceleration and the second acceleration over time are represented by a sinusoidal waveform. For example, please refer to [link to relevant documentation]. Figure 5c The waveform of the first acceleration a1 changing with time is shown in the first curve L1. The peak value and trough value of the first acceleration a1 are 2155 and 1945 respectively. The rotation period is calculated based on the time difference (or phase difference) between two adjacent peak values of the first acceleration a1.
[0068] Understandably, the waveform of the second acceleration a2 changing with time is similar to that of the first curve L1. The only difference is that the waveform of the second acceleration a2 changing with time is shifted upward and away from the time axis t by a certain distance. The magnitude of the second acceleration a2 is different from that of the first acceleration a1.
[0069] It should be understood that the movement path of the tire pressure sensor as it follows the tire's rotation can be approximated as uniform circular motion, which has the following physical relationship: The definition of centrifugal acceleration (i.e., radial acceleration) is: (1), in formula (1), The linear velocity of the tire pressure sensor. This is the radius of rotation of the tire pressure sensor. The distance the tire pressure sensor travels in one rotation is the circumference of the circle. Rotation period It is the time it takes to rotate one revolution (i.e., the time it takes for the tire pressure sensor to follow the tire through one revolution), therefore the linear velocity (2), combining formulas (1) and (2), we can derive the following: After transforming the obtained formula, we can get (3). Finally, the first acceleration... and rotation period Substituting into formula (3), the rotation radius of the tire pressure sensor is calculated. .
[0070] For example, in some embodiments, the rotation period is calculated based on the candidate acceleration, specifically including but not limited to the following steps S4121-S4123: S4121: Determine the first and second peak values of the candidate acceleration.
[0071] S4122: Determine the first time corresponding to the first peak and the second time corresponding to the second peak.
[0072] S4123: Subtract the first time from the second time to obtain the rotation period.
[0073] Specifically, when the candidate acceleration is the first acceleration, any two adjacent peaks are determined in the sinusoidal waveform of the first acceleration changing with time. These two adjacent peaks are the first peak and the second peak of the first acceleration, respectively. The first time corresponding to the first peak and the second time corresponding to the second peak are determined in the sinusoidal waveform. The rotation period is obtained by subtracting the first time from the second time.
[0074] Specifically, when the candidate acceleration is the second acceleration, any two adjacent peaks are determined in the sinusoidal waveform of the second acceleration over time. These two adjacent peaks are the first peak and the second peak of the second acceleration, respectively. The first time corresponding to the first peak and the second time corresponding to the second peak are determined in the sinusoidal waveform. The rotation period is obtained by subtracting the first time from the second time.
[0075] For example, see Figure 5c As shown, in the sinusoidal waveform L1 of the first acceleration changing with time, the two adjacent peaks are the first peak G1 and the second peak G2. The first time corresponding to the first peak G1 is t1, and the second time corresponding to the second peak G2 is t2. The rotation period T is obtained by subtracting the first time t1 from the second time t2.
[0076] In some embodiments, the radius of rotation is calculated based on the first acceleration and the rotation period, specifically including but not limited to the following steps S4124-S4125: S4124: Multiply the first acceleration by the first product to obtain the first product value.
[0077] S4125: Divide the first product value by the first preset value to obtain the rotation radius.
[0078] In this embodiment of the invention, the first product is the product of the rotation period and the rotation period, i.e., in the above formula (3). The first preset value is in the above formula (3). The first acceleration The first product is obtained by multiplying by the first product. Then, the first product value Divided by the first preset value The rotation radius of the tire pressure sensor is obtained. .
[0079] Please see Figure 6 , Figure 6 The illustration shows a sub-process diagram of step S42 in the vehicle diagnostic method provided in some embodiments of the present invention.
[0080] like Figure 6 As shown, in some embodiments, the final mileage of the vehicle is calculated based on the radius of rotation and the first acceleration, specifically including but not limited to the following steps S421-S424: S421: Calculate the angular velocity based on the radius of rotation and the first acceleration.
[0081] In uniform circular motion, the linear velocity of the tire pressure sensor (4), The angular velocity of the tire pressure sensor is given by the definition of centripetal acceleration (equal in magnitude and opposite in direction to centrifugal acceleration): (5), combining formulas (4) and (5), we can derive the following: The angular velocity can be obtained by transforming the given formula. (6). The first acceleration As centripetal acceleration , the first acceleration and radius of rotation Substituting into formula (6), the angular velocity of the tire pressure sensor is calculated. .
[0082] In some embodiments, the angular velocity is calculated based on the radius of rotation and the first acceleration, specifically including but not limited to the following steps S4211-S4212: S4211: Divide the first acceleration by the radius of rotation to obtain the first quotient.
[0083] S4212: Take the square root of the first quotient to obtain the angular velocity.
[0084] In this embodiment of the invention, the first acceleration Divide by the radius of rotation , obtain the first quotient The angular velocity of the tire pressure sensor is obtained by taking the square root of the first quotient. .
[0085] S422: Calculate the target rotation angle based on the preset duration and angular velocity.
[0086] In this embodiment of the invention, a data acquisition cycle is divided into multiple preset durations. The first acceleration is the radial acceleration collected by the tire pressure sensor within each preset duration. The motion path of the tire pressure sensor within the preset duration can be approximated as uniform circular motion. When the preset duration is short, the product of the preset duration and the angular velocity of the tire pressure sensor can be used as the angle of rotation of the tire pressure sensor within the preset duration. The preset duration is any suitable duration within 1 second.
[0087] For example, for any preset duration, the angular velocity corresponding to that preset duration is calculated based on the radial acceleration (i.e., the first acceleration) and rotation radius collected within that preset duration. The preset duration is then multiplied by the corresponding angular velocity to obtain the rotation angle of the tire pressure sensor for that preset duration. The rotation angles corresponding to all preset durations are summed to obtain the current rotation angle of the tire pressure sensor (i.e., the angle of rotation of the tire pressure sensor within that acquisition cycle). The reference rotation angle of the tire pressure sensor after calculating the rotation angle in the previous acquisition cycle is obtained, and this reference rotation angle is added to the current rotation angle to obtain the target rotation angle of the tire pressure sensor. The target rotation angle represents the sum of the rotation angles of the tire pressure sensor as it rotates with the vehicle tire.
[0088] In some embodiments, the target rotation angle is calculated based on a preset duration and angular velocity, including but not limited to the following steps S4221-S4224: S4221: Multiply the preset duration by the angular velocity to obtain the candidate rotation angle.
[0089] S4222: Sum the multiple candidate rotation angles to obtain the current rotation angle.
[0090] S4223: Get the previous rotation angle.
[0091] S4224: Add the current rotation angle to the previous rotation angle to obtain the target rotation angle.
[0092] In this step, the previous rotation angle is the sum of the rotation angles of the tire pressure sensor after the previous calculation of the rotation angle, that is, the sum of the rotation angles of the tire pressure sensor following the rotation of the car tire after the previous acquisition cycle.
[0093] In this embodiment, within one acquisition cycle, for any preset duration, the preset duration is multiplied by the angular velocity to obtain the candidate rotation angle corresponding to that preset duration. All candidate rotation angles corresponding to preset durations are added together to obtain the current rotation angle of the tire pressure sensor. The previous rotation angle is then obtained, and the current rotation angle is added to the previous rotation angle to obtain the target rotation angle of the tire pressure sensor.
[0094] S423: Receive the reference radius sent by the tire pressure monitoring system.
[0095] In this embodiment, the reference radius is the tire radius. For example, the user inputs the tire radius into the tire pressure monitoring system based on the tire parameters. The tire pressure monitoring system receives the user-input tire radius, uses it as a reference radius, and sends it to the tire pressure sensor via the network. The tire pressure sensor receives the reference radius sent by the tire pressure monitoring system.
[0096] S424: Multiply the target rotation angle by the reference radius to obtain the final mileage value.
[0097] For example, the target rotation angle is multiplied by the reference radius (i.e., the tire radius) to obtain the final value of the vehicle's mileage. In some embodiments, the tire radius may also be pre-stored in the local storage of the tire pressure sensor. In this embodiment of the invention, the tire radius is obtained from the local storage of the tire pressure sensor, and the tire radius is multiplied by the target rotation angle to obtain the final value of the vehicle's mileage.
[0098] In some embodiments, after calculating the target rotation angle based on a preset duration and angular velocity, the vehicle diagnostic method further includes, but is not limited to, the following step S42A: S42A: Send the target rotation angle to the electronic control unit so that when the target rotation angle is greater than or equal to a preset rotation angle threshold, the electronic control unit controls the warning device to present the first warning information.
[0099] It should be understood that the first warning information is used to prompt the user to repair or replace the tire pressure sensor. The first warning information can be presented in any suitable way or form, such as text, graphics, patterns or voice, etc., and the embodiments of the present invention do not limit it in any way.
[0100] For example, after calculating the target rotation angle of the tire pressure sensor, the target rotation angle is sent to the electronic control unit (ECU). Upon receiving the target rotation angle, the ECU compares the target rotation angle with a preset rotation angle threshold. When the target rotation angle is greater than or equal to the preset rotation angle threshold, the ECU controls the warning device to display a first warning message, such as displaying the first warning message in text form on the car's display screen, to remind maintenance personnel, the car owner, or other users to repair or replace the tire pressure sensor in a timely manner.
[0101] It is easy to understand that engineers can customize and set the rotation angle threshold based on engineering experience and historical data, and this embodiment of the invention does not impose any limitations on this.
[0102] In some embodiments, the vehicle diagnostic method further includes, but is not limited to, the following step S42B: S42B: Sends a reference radius to the electronic control unit so that the electronic control unit can calculate the final mileage of the vehicle based on the target rotation angle and the reference radius. When the final mileage is greater than or equal to a preset mileage threshold, the control warning device presents a first result; or when the final mileage is less than the mileage threshold, the control warning device presents a second result.
[0103] In this embodiment, the first result is used to prompt the user to repair or replace the tire, and the second result is used to indicate that the tire is in good condition. The first and second results can be presented in any suitable manner or form, such as text, graphics, patterns, or voice, and this embodiment of the invention does not impose any limitations on this.
[0104] For example, after receiving the radius of the car tires (i.e., the reference radius), the reference radius is sent to the electronic control unit (ECU). Upon receiving the reference radius, the ECU multiplies the reference radius by the target rotation angle to obtain the final mileage value of the car. The ECU compares the final mileage value with a preset mileage threshold. When the final mileage value is greater than or equal to the preset mileage threshold, a first result is determined as the car's diagnostic result. The ECU controls the warning device to display the first result, for example, by broadcasting the first result in voice form via a buzzer, to remind maintenance personnel, the car owner, or other users to promptly repair or replace the tires. When the final mileage value is less than the mileage threshold, a second result is determined as the car's diagnostic result. The ECU controls the warning device to display the second result, for example, by displaying the second result in text form on the car's display screen, to inform maintenance personnel, the car owner, or other users that the car tires are in good condition.
[0105] It is easy to understand that engineers can customize and set the mileage threshold based on engineering experience and historical data, and this embodiment of the invention does not impose any limitations on this.
[0106] In some embodiments, the diagnostic results of the vehicle are obtained based on the final mileage value, including but not limited to the following steps S431-S432: S431: Send the final mileage value to the electronic control unit so that the electronic control unit controls the warning device to present a first result when the final mileage value is greater than or equal to a preset mileage threshold, or controls the warning device to present a second result when the final mileage value is less than the mileage threshold.
[0107] S432: Receives the first or second result sent by the electronic control unit.
[0108] For example, after calculating the final mileage of the vehicle, the final mileage value is sent to the electronic control unit (ECU). Upon receiving the final mileage value, the ECU compares it with a preset mileage threshold. When the final mileage value is greater than or equal to the preset mileage threshold, a first result is determined as the vehicle's diagnostic result, and the ECU controls the warning device to display the first result. When the final mileage value is less than the mileage threshold, a second result is determined as the vehicle's diagnostic result, and the ECU controls the warning device to display the second result.
[0109] For example, after obtaining the diagnostic results of the vehicle (i.e., the first result or the second result), the electronic control unit sends the diagnostic results of the vehicle to the tire pressure sensor via the network, and the tire pressure sensor receives the diagnostic results (i.e., the first result or the second result) sent by the electronic control unit.
[0110] In summary, the vehicle diagnostic method provided by this invention obtains the rotation radius and first acceleration of the tire pressure sensor installed on the vehicle tire, and calculates the final value of the vehicle's mileage based on the rotation radius and first acceleration. It only requires detecting and utilizing the relevant parameters of the existing tire pressure sensor, without the need to set up an additional mileage measurement sensor to measure and calculate the vehicle's mileage. It can calculate the vehicle's mileage at low cost, and the calculation method is simple. Thus, the diagnostic results of the vehicle can be obtained based on the vehicle's mileage, improving the convenience and efficiency of vehicle diagnostics and reducing diagnostic costs.
[0111] As another aspect of this invention, this embodiment also provides a corresponding automotive diagnostic device. The automotive diagnostic device can be a software module, which includes several instructions stored in a memory. A processor can access the memory, invoke the instructions, and execute them to complete the automotive diagnostic methods described in the various embodiments above.
[0112] In some possible implementations, the automotive diagnostic device can also be constructed from hardware components. For example, the automotive diagnostic device can be constructed from one or more chips, which can work together to implement the automotive diagnostic methods described in the various embodiments above. In some embodiments, the automotive diagnostic device can also be constructed from various logic devices, such as general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), microcontrollers, field-programmable gate arrays (FPGAs), ARM (Acorn RISC Machine) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or any combination of these devices or components.
[0113] Please see Figure 7 , Figure 7 The diagram illustrates the structure of an automotive diagnostic device provided in some embodiments of the present invention. It is readily understood that the automotive diagnostic device can be configured with a tire pressure sensor, which is located on the tire of the vehicle.
[0114] For example, such as Figure 7 As shown, the vehicle diagnostic device 700 includes an acquisition module 710, a calculation module 720, and a diagnostic module 730.
[0115] The acquisition module 710 is used to acquire the rotation radius and the first acceleration, wherein the rotation radius is the radius of rotation of the tire pressure sensor as it follows the tire's rotation, and the first acceleration is the radial acceleration of the tire pressure sensor as it follows the tire's rotation. The calculation module 720 is used to calculate the final value of the vehicle's mileage based on the rotation radius and the first acceleration. The diagnostic module 730 is used to obtain the vehicle's diagnostic results based on the final value of the mileage.
[0116] In some embodiments, the tire pressure sensor is communicatively connected to the tire pressure device, and the acquisition module 710 is specifically used to: receive the rotation radius sent by the tire pressure device, or acquire candidate acceleration, calculate the rotation period based on the candidate acceleration, and calculate the rotation radius based on the first acceleration and the rotation period. The candidate acceleration includes the first acceleration and / or the second acceleration, the second acceleration being the tangential acceleration of the tire pressure sensor during the tire rotation process, and the rotation period being the time required for the tire pressure sensor to rotate one revolution with the tire.
[0117] In some embodiments, the acquisition module 710 is further specifically used to: determine a first peak value and a second peak value of the candidate acceleration, determine a first time corresponding to the first peak value and a second time corresponding to the second peak value, and subtract the first time from the second time to obtain the rotation period.
[0118] In some embodiments, the acquisition module 710 is further specifically used to: multiply the first acceleration by the first product to obtain a first product value, wherein the first product is the product of the rotation period and the rotation period, and divide the first product value by a first preset value to obtain the rotation radius.
[0119] In some embodiments, the first acceleration is the radial acceleration collected by the tire pressure sensor within each preset time period. The calculation module 720 is specifically used to: calculate the angular velocity based on the rotation radius and the first acceleration; calculate the target rotation angle based on the preset time period and the angular velocity; receive the reference radius sent by the tire pressure device, where the reference radius is the radius of the tire; and multiply the target rotation angle by the reference radius to obtain the final value of the driving mileage.
[0120] In some embodiments, the calculation module 720 is further specifically used to: divide the first acceleration by the radius of rotation to obtain a first quotient, and perform a square root operation on the first quotient to obtain the angular velocity.
[0121] In some embodiments, the calculation module 720 is further specifically used to: multiply the preset duration by the angular velocity to obtain a candidate rotation angle, sum the multiple candidate rotation angles to obtain the current rotation angle, obtain the previous rotation angle, the previous rotation angle being the sum of the rotation angles of the tire pressure sensor after the last calculation of the rotation angle, and add the current rotation angle to the previous rotation angle to obtain the target rotation angle.
[0122] In some embodiments, the vehicle also includes an electronic control unit and a warning device, the electronic control unit being communicatively connected to the tire pressure sensor and the warning device, respectively. See [link to relevant documentation]. Figure 8 The vehicle diagnostic device 700 also includes a sending module 740, which sends a target rotation angle to the electronic control unit so that when the target rotation angle is greater than or equal to a preset rotation angle threshold, the electronic control unit controls the warning device to display a first warning message. The first warning message is used to prompt the user to repair or replace the tire pressure sensor.
[0123] In some embodiments, the sending module 740 is further configured to send a reference radius to the electronic control unit, so that the electronic control unit calculates the final value of the vehicle's mileage based on the target rotation angle and the reference radius, and controls the warning device to present a first result when the final value of the mileage is greater than or equal to a preset mileage threshold, or controls the warning device to present a second result when the final value of the mileage is less than the mileage threshold. The first result is used to prompt the user to repair or replace the tires, and the second result is used to indicate that the tires are in good condition.
[0124] In some embodiments, please refer to Figure 8 The vehicle diagnostic device 700 also includes a receiving module 750, and a sending module 740 is further configured to send a final mileage value to the electronic control unit (ECU). This allows the ECU to control a warning device to display a first result when the final mileage value is greater than or equal to a preset mileage threshold, or to control the warning device to display a second result when the final mileage value is less than the mileage threshold. The first result is used to prompt the user to repair or replace the tires, and the second result is used to indicate that the tires are in good condition. The receiving module 750 is used to receive either the first or second result sent by the ECU.
[0125] It should be noted that, for the sake of simplicity and brevity, the above-described automotive diagnostic device can execute the corresponding functional modules of the automotive diagnostic method provided in the embodiments of the present invention and achieve the corresponding beneficial effects. Technical details not described in detail in the embodiments of the automotive diagnostic device can be found in the automotive diagnostic method provided in the embodiments of the present invention. The specific working process of the above-described automotive diagnostic device can also be found in the specific execution process corresponding to the aforementioned automotive diagnostic method provided in the embodiments of the present invention, and will not be elaborated upon here.
[0126] This invention provides a computer-readable storage medium storing processor-executable computer program instructions. The processor executes the computer program instructions to cause a computer to perform the vehicle diagnostic method provided in this invention, or to perform the steps in any possible implementation of the vehicle diagnostic method provided in this invention.
[0127] In some embodiments, the storage medium may be a flash memory, a hard disk, an optical disk, a register, a magnetic surface memory, a removable disk, a CD-ROM, a random access memory (RAM), a read-only memory (ROM), an electrically programmable ROM, and an electrically erasable programmable ROM, or any other form of storage medium known in the art, or various devices including one or any combination of the above storage media.
[0128] In some embodiments, computer program instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0129] As an example, computer program instructions may, but do not necessarily, correspond to files in a file system, and may be stored as part of a file that holds other programs or data, for example, in one or more scripts in an HTML (Hypertext Markup Language) document, or in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).
[0130] As an example, computer program instructions can be deployed to execute on a single computing device (including devices such as smart terminals and servers), or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network. It is readily understood that all or part of the steps of the methods described in the embodiments of the present invention above can be implemented directly using electronic hardware or processor-executable computer program instructions, or a combination of both.
[0131] Those skilled in the art will understand that the embodiments provided by this invention are merely illustrative. The order in which the steps in the methods of the embodiments are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The order can be adjusted, merged, and deleted according to actual needs. Modules or sub-modules, units or sub-units in the apparatus or system of the embodiments can be merged, divided, and deleted according to actual needs. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0132] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, it can be implemented using hardware. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods.
[0133] It should be noted that the above embodiments are for illustrating the technical concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement it accordingly. They should not be construed as limiting the scope of protection of the present invention. Those skilled in the art can understand that all or part of the processes of the above embodiments can be implemented by modifying the technical solutions described in the embodiments of the present invention, or by making equivalent substitutions for some of the technical features. It is understood that these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention, and should be considered as equivalent changes and modifications made based on the embodiments of the present invention, all of which should fall within the scope of the claims of the present invention.
Claims
1. A vehicle diagnostic method applied to a tire pressure sensor, characterized in that, The tire pressure sensor is disposed on the tire of the vehicle, and the method includes: The rotation radius and the first acceleration are obtained, wherein the rotation radius is the rotation radius of the tire pressure sensor during the process of rotating with the tire, and the first acceleration is the radial acceleration of the tire pressure sensor during the process of rotating with the tire; Based on the radius of rotation and the first acceleration, the final mileage of the vehicle is calculated; Based on the final mileage value, the diagnostic results for the vehicle are obtained.
2. The vehicle diagnostic method according to claim 1, characterized in that, The tire pressure sensor is communicatively connected to the tire pressure device, and the acquisition of the rotation radius includes: Receive the rotation radius sent by the tire pressure monitoring device; or, Candidate accelerations are obtained, and the rotation period is calculated based on the candidate accelerations. The rotation radius is calculated based on the first acceleration and the rotation period. The candidate accelerations include the first acceleration and / or the second acceleration. The second acceleration is the tangential acceleration of the tire pressure sensor as it follows the tire rotation. The rotation period is the time required for the tire pressure sensor to rotate one revolution as it follows the tire.
3. The vehicle diagnostic method according to claim 2, characterized in that, The calculation of the rotation period based on the candidate acceleration includes: Determine the first peak value and the second peak value of the candidate acceleration; Determine the first time corresponding to the first peak and the second time corresponding to the second peak; The rotation period is obtained by subtracting the first time from the second time.
4. The vehicle diagnostic method according to claim 2 or 3, characterized in that, The calculation of the rotation radius based on the first acceleration and the rotation period includes: Multiply the first acceleration by the first product to obtain the first product value, where the first product is the product of the rotation period and the rotation period; The first product value is divided by a first preset value to obtain the rotation radius.
5. The vehicle diagnostic method according to claim 2, characterized in that, The first acceleration is the radial acceleration collected by the tire pressure sensor within each preset time period. The calculation of the final mileage of the vehicle based on the rotation radius and the first acceleration includes: Calculate the angular velocity based on the radius of rotation and the first acceleration; Calculate the target rotation angle based on the preset duration and the angular velocity; Receive a reference radius sent by the tire pressure device, wherein the reference radius is the radius of the tire; Multiplying the target rotation angle by the reference radius yields the final value of the driving mileage.
6. The vehicle diagnostic method according to claim 5, characterized in that, The calculation of angular velocity based on the rotation radius and the first acceleration includes: Divide the first acceleration by the rotation radius to obtain the first quotient; The angular velocity is obtained by taking the square root of the first quotient.
7. The vehicle diagnostic method according to claim 5 or 6, characterized in that, The calculation of the target rotation angle based on the preset duration and the angular velocity includes: Multiply the preset duration by the angular velocity to obtain the candidate rotation angle; The current rotation angle is obtained by summing the multiple candidate rotation angles. Obtain the previous rotation angle, which is the sum of the rotation angles of the tire pressure sensor after the last calculation of the rotation angle; The target rotation angle is obtained by adding the current rotation angle to the previous rotation angle.
8. The vehicle diagnostic method according to claim 7, characterized in that, The vehicle also includes an electronic control unit and a warning device. The electronic control unit is communicatively connected to the tire pressure sensor and the warning device, respectively. After calculating the target rotation angle based on the preset duration and the angular velocity, the method further includes: The target rotation angle is sent to the electronic control unit so that when the target rotation angle is greater than or equal to a preset rotation angle threshold, the electronic control unit controls the warning device to display a first warning message, which is used to prompt the user to repair or replace the tire pressure sensor.
9. The vehicle diagnostic method according to claim 8, characterized in that, The method further includes: The reference radius is sent to the electronic control unit so that the electronic control unit calculates the final mileage of the vehicle based on the target rotation angle and the reference radius. When the final mileage is greater than or equal to a preset mileage threshold, the electronic control unit controls the warning device to present a first result; or when the final mileage is less than the mileage threshold, the electronic control unit controls the warning device to present a second result. The first result is used to prompt the user to repair or replace the tire, and the second result is used to indicate that the tire is in good condition.
10. The vehicle diagnostic method according to claim 8, characterized in that, The process of obtaining the diagnostic results for the vehicle based on the final mileage value includes: The final mileage value is sent to the electronic control unit so that when the final mileage value is greater than or equal to a preset mileage threshold, the electronic control unit controls the warning device to present a first result, or when the final mileage value is less than the mileage threshold, the electronic control unit controls the warning device to present a second result. The first result is used to prompt the user to repair or replace the tire, and the second result is used to indicate that the tire is in good condition. Receive the first result or the second result sent by the electronic control unit.
11. A tire pressure sensor, characterized in that, include: A processor and a memory communicatively connected to the processor; The memory stores computer program instructions executable by the processor, which executes the computer program instructions to cause the tire pressure sensor to perform the vehicle diagnostic method as described in any one of claims 1-10.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores processor-executable computer program instructions, which the processor executes to cause the computer to perform the vehicle diagnostic method as described in any one of claims 1-10.