Automobile fuel oil calibration method and system
By entering configuration files in the system-level bus development tool (CANoe), the simulation of sending data to the car's electronic control unit (ECU) is solved, the problem of fuel calibration cannot be performed when the car is not driving is achieved, low-cost and efficient fuel calibration without affecting normal use, and verified the calculation accuracy of the car's instrument.
Patent Information
- Application Number
- CN202510016714.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-05-16
AI Technical Summary
The prior art cannot calibrate fuel for cars without driving.
By entering configuration files in the system-level bus development tool (CANoe), the simulated vehicle electronic control unit (ECU) sends data to the vehicle instrument, and calculates and compares the error range of average fuel consumption, range and residual fuel volume to achieve fuel calibration.
Fuel calibration is achieved when the car is not driving, which is low in cost and high in efficiency, and can determine the calculation accuracy of the car instrument in normal scenarios.
Smart Images

Figure CN120008718A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automobile fuel calibration, and in particular, relates to a method and system for automobile fuel calibration. Background Art
[0002] The fuel gauge is used to indicate the remaining fuel in the tank. The gauge should indicate correctly so as to accurately reflect the current fuel situation in the tank and ensure driving safety. The calibration of the fuel gauge is the key to ensuring the accuracy of its indication.
[0003] Patent CN101916087B discloses a diagnostic test system based on CANoe, including an information reading unit, which reads the service request message sent by the diagnostic instrument and the service response message sent by the electronic control unit; an information parsing unit, which parses the content information corresponding to the request message and the response message, and displays the content information through a display unit. Furthermore, the present invention also includes a simulation unit, which simulates the diagnostic instrument to generate a service request message. The present invention has the ability to view detailed CAN messages, so that testers can understand the message exchanges between the diagnostic instrument and the electronic control unit in detail. At the same time, the present invention can also record the sent and received data for users to view and testers to organize and analyze the data; when there is no diagnostic instrument, diagnostic test operations can also be performed, and the response of the electronic control unit to the service request message can be confirmed.
[0004] However, the technology disclosed in the above patent cannot realize fuel calibration of a car when the car is not driving. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a method and system for automobile fuel calibration in view of the deficiencies in the prior art, so as to achieve the purpose of fuel calibration for an automobile even when the automobile is not driving.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] The present invention provides a method for calibrating automobile fuel, the method comprising the following steps:
[0008] S1: The host computer inputs the configuration file to the system-level bus development tool (CANoe);
[0009] S2: The system-level bus development tool (CANoe) sends the first data to the vehicle instrument according to the configuration file;
[0010] S3: the automobile instrument performs calculations according to the first data and sends the calculation results to the system-level bus development tool (CANoe);
[0011] S4: The host computer obtains the calculation results inside the automobile instrument from the system-level bus development tool (CANoe) and saves them to the database;
[0012] S5: The host computer compares the calculation results saved in the database with the data in the database;
[0013] S6: The host computer outputs the analysis results based on the comparison results.
[0014] Furthermore, the configuration file configures the data that the car's electronic control unit (ECU) sends to the car's instrument cluster.
[0015] Further, the first data in S2 is data sent to the vehicle instrument by the electronic control unit (ECU) of the vehicle configured in the configuration file.
[0016] Furthermore, the contents calculated by the automobile instrument in S3 according to the first data include average fuel consumption, cruising range and remaining fuel.
[0017] Furthermore, the database stores average fuel consumption, cruising range and remaining fuel data for completed fuel calibration.
[0018] Furthermore, the host computer compares and determines whether the error between the average fuel consumption calculated by the automobile instrument based on the first data and the average fuel consumption of the fuel calibration stored in the database is within a first error range; the host computer compares and determines whether the error between the cruising range calculated by the automobile instrument based on the first data and the cruising range of the fuel calibration stored in the database is within a second error range; the host computer compares and determines whether the error between the remaining fuel amount calculated by the automobile instrument based on the first data and the remaining fuel amount of the fuel calibration stored in the database is within a third error range.
[0019] Furthermore, the first error range is ±0.1 liter / hundred kilometers; the second error range is ±5 kilometers; and the third error range is ±0.1 liter.
[0020] Furthermore, the host computer is a personal computer (PC).
[0021] The present invention also provides a system for automobile fuel calibration, comprising a host computer, a system-level bus development tool (CANoe), and an automobile meter; the host computer inputs a configuration file to the system-level bus development tool (CANoe); the system-level bus development tool (CANoe) sends first data to the automobile meter according to the configuration file; the automobile meter performs calculations internally and sends the calculation results to the system-level bus development tool (CANoe).
[0022] The method and system for automobile fuel calibration of the present invention have the following advantages:
[0023] (1) The method and system for automobile fuel calibration of the present invention can also calibrate the fuel of an automobile when the automobile is not driving.
[0024] (2) When the method and system for automobile fuel calibration of the present invention are used to calibrate the fuel of an automobile without the automobile being driven, if the calibration fails, the host computer can remind the operator of the calibration failure.
[0025] (3) The method and system for automobile fuel calibration of the present invention can calibrate the fuel of an automobile even when the automobile is not driving, with low cost and high efficiency.
[0026] (4) The method and system for automobile fuel calibration of the present invention can determine whether the relevant calculations of the automobile instrument are correct under normal scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] This specification includes the following drawings, which show the following contents:
[0028] Figure 1 is a flow chart of a method for calibrating automobile fuel of the present invention;
[0029] Figure 2 The present invention is a logic structure block diagram of a system for calibrating automobile fuel.
[0030] Explanation of the reference numerals: 1. Host computer; 2. System-level bus development tool (CANoe); 3. Automobile instrument. DETAILED DESCRIPTION
[0031] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention and facilitating their implementation.
[0032] Figure 1 The present invention is a flow chart of a method for calibrating automobile fuel, the method comprising the following steps:
[0033] S1: The host computer 1 inputs the configuration file to the system bus development tool (CANoe) 2. Specifically, the host computer 1 inputs the configured configuration file to the system bus development tool (CANoe) 2. The configuration file configures the data sent by the electronic control unit (ECU) of the car to the car instrument 3 to simulate the data sent by the electronic control unit (ECU) of the car to the car instrument 3 when the fuel calibration is performed when the car is driving.
[0034] S2: The system bus development tool (CANoe) 2 sends the first data to the automobile meter 3 according to the configuration file. Specifically, after the system bus development tool (CANoe) 2 receives the configuration file input by the host computer 1, the system bus development tool (CANoe) 2 sends the first data to the automobile meter 3 according to the configuration file. The first data is the data sent to the automobile meter 3 by the electronic control unit (ECU) of the automobile configured in the configuration file.
[0035] S3: The automobile meter 3 performs calculations based on the first data and sends the calculation results to the system-level bus development tool (CANoe) 2. Specifically, after the automobile meter 3 receives the first data sent by the system-level bus development tool (CANoe) 2, the automobile meter 3 performs calculations based on the first data and sends the calculation results to the system-level bus development tool (CANoe) 2. Among them, the content calculated by the automobile meter 3 based on the first data includes average fuel consumption, cruising range and remaining fuel. After the automobile meter 3 calculates the average fuel consumption, cruising range and remaining fuel based on the first data, the automobile meter 3 will send the calculated average fuel consumption, cruising range and remaining fuel data to the system-level bus development tool (CANoe) 2.
[0036] S4: The host computer 1 obtains the calculation results inside the automobile instrument 3 from the system-level bus development tool (CANoe) 2 and saves them to the database. Specifically, after the instrument module 3 sends the calculated average fuel consumption, cruising range and remaining fuel data to the system-level bus development tool (CANoe) 2, the host computer 1 obtains the average fuel consumption, cruising range and remaining fuel data calculated by the automobile instrument 3 from the system-level bus development tool (CANoe) 2, and saves the average fuel consumption, cruising range and remaining fuel data to the database. Among them, the database stores the average fuel consumption, cruising range and remaining fuel data that have completed fuel calibration.
[0037] S5: The host computer 1 compares the calculation result saved in the database with the data in the database. Specifically, after the host computer 1 saves the average fuel consumption, cruising range and remaining fuel data calculated by the automobile meter 3 in the database, the host computer 1 compares the average fuel consumption, cruising range and remaining fuel data calculated by the automobile meter 3 saved in the database with the average fuel consumption, cruising range and remaining fuel data of the completed fuel calibration in the database.
[0038] S6: The host computer 1 outputs the analysis result according to the comparison result. Specifically, the host computer 1 compares and determines whether the error between the average fuel consumption calculated by the automobile meter 3 according to the first data and the average fuel consumption of the fuel calibration stored in the database is within the first error range; the host computer 1 compares and determines whether the error between the cruising range calculated by the automobile meter 3 according to the first data and the cruising range of the fuel calibration stored in the database is within the second error range; the host computer 1 compares and determines whether the error between the remaining fuel amount calculated by the automobile meter 3 according to the first data and the remaining fuel amount of the fuel calibration stored in the database is within the third error range. If the upper computer 1 compares and determines that the error between the average fuel consumption calculated by the automobile meter 3 according to the first data and the average fuel consumption of the fuel calibration stored in the database is within the first error range, and the error between the cruising range calculated by the automobile meter 3 according to the first data and the cruising range of the fuel calibration stored in the database is within the second error range, and the error between the remaining fuel volume calculated by the automobile meter 3 according to the first data and the remaining fuel volume of the fuel calibration stored in the database is within the third error range, then the calibration is successful, and the upper computer 1 outputs the calibration success information to the upper computer 1 display screen to prompt the operator; if The upper computer 1 compares and determines that the error between the average fuel consumption calculated by the automobile meter 3 according to the first data and the average fuel consumption of the fuel calibration stored in the database is not within the first error range, or the error between the cruising range calculated by the automobile meter 3 according to the first data and the cruising range of the fuel calibration stored in the database is not within the second error range, or the error between the remaining fuel volume calculated by the automobile meter 3 according to the first data and the remaining fuel volume of the fuel calibration stored in the database is not within the third error range, then the calibration fails, and the upper computer 1 outputs the calibration failure information to the upper computer 1 display screen to prompt the operator. That is, the present invention can also realize fuel calibration of the automobile when the automobile is not driving, and when the fuel calibration of the automobile is performed when the automobile is not driving, when the fuel calibration fails, the operator can be reminded of the calibration failure through the upper computer 1. In addition, the fuel calibration method of the present invention is low-cost and high-efficiency, and it can also determine whether the relevant calculations of the automobile meter 3 are correct in normal scenarios.
[0039] Figure 2 It is a logical structure block diagram of a system for automobile fuel calibration of the present invention, including a host computer 1, a system-level bus development tool (CANoe) 2, and an automobile meter 3; the host computer 1 inputs a configuration file to the system-level bus development tool (CANoe) 2; the system-level bus development tool (CANoe) 2 sends first data to the automobile meter 3 according to the configuration file; the automobile meter 3 performs calculations internally and sends the calculation results to the system-level bus development tool (CANoe) 2.
[0040] In this specific implementation, the first error range is ±0.1 liter / hundred kilometers; the second error range is ±5 kilometers; the third error range is ±0.1 liter; and the host computer is a personal computer (PC) host computer.
[0041] Functions and Effects of the Embodiments
[0042] The upper computer 1 compares and determines whether the error between the average fuel consumption calculated by the automobile meter 3 according to the first data and the average fuel consumption of the fuel calibration stored in the database is within the first error range; the upper computer 1 compares and determines whether the error between the cruising range calculated by the automobile meter 3 according to the first data and the cruising range of the fuel calibration stored in the database is within the second error range; the upper computer 1 compares and determines whether the error between the remaining fuel volume calculated by the automobile meter 3 according to the first data and the remaining fuel volume of the fuel calibration stored in the database is within the third error range. If the upper computer 1 compares and determines that the error between the average fuel consumption calculated by the automobile meter 3 according to the first data and the average fuel consumption of the fuel calibration stored in the database is within the first error range, and the error between the cruising range calculated by the automobile meter 3 according to the first data and the cruising range of the fuel calibration stored in the database is within the second error range, and the error between the remaining fuel volume calculated by the automobile meter 3 according to the first data and the remaining fuel volume of the fuel calibration stored in the database is within the third error range, then the calibration is successful, and the upper computer 1 outputs the calibration success information to the upper computer 1 display screen for display to prompt the operator; if The upper computer 1 compares and determines that the error between the average fuel consumption calculated by the automobile meter 3 according to the first data and the average fuel consumption of the fuel calibration stored in the database is not within the first error range, or the error between the cruising range calculated by the automobile meter 3 according to the first data and the cruising range of the fuel calibration stored in the database is not within the second error range, or the error between the remaining fuel volume calculated by the automobile meter 3 according to the first data and the remaining fuel volume of the fuel calibration stored in the database is not within the third error range, then the calibration fails, and the upper computer 1 outputs the calibration failure information to the upper computer 1 display screen to prompt the operator. That is, the present invention can also realize fuel calibration of the automobile when the automobile is not driving, and when the fuel calibration of the automobile is performed when the automobile is not driving, when the fuel calibration fails, the operator can be reminded of the calibration failure through the upper computer 1. In addition, the fuel calibration method of the present invention is low-cost and high-efficiency, and it can also determine whether the relevant calculations of the automobile meter 3 are correct in normal scenarios.
[0043] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A method for calibrating automobile fuel, characterized in that: The method comprises the following steps: S1: The host computer inputs the configuration file to the system-level bus development tool (CANoe); S2: The system-level bus development tool (CANoe) sends the first data to the vehicle instrument according to the configuration file; S3: the automobile instrument performs calculations according to the first data and sends the calculation results to the system-level bus development tool (CANoe); S4: The host computer obtains the calculation results inside the automobile instrument from the system-level bus development tool (CANoe) and saves them to the database; S5: The host computer compares the calculation results saved in the database with the data in the database; S6: The host computer outputs the analysis results based on the comparison results.
2. A method for calibrating automobile fuel according to claim 1, characterized in that: The configuration file configures the data that the car's electronic control unit (ECU) sends to the car's instrument cluster.
3. A method for calibrating automobile fuel according to claim 2, characterized in that: The first data described in S2 is data sent from an electronic control unit (ECU) of the vehicle configured in the configuration file to a meter of the vehicle.
4. A method for calibrating automobile fuel according to claim 3, characterized in that: The contents calculated by the automobile meter in S3 according to the first data include average fuel consumption, cruising range and remaining fuel.
5. A method for calibrating automobile fuel according to claim 4, characterized in that: The database stores average fuel consumption, cruising range and remaining fuel data for completed fuel calibration.
6. A method for calibrating automobile fuel according to claim 5, characterized in that: The host computer compares and determines whether the error between the average fuel consumption calculated by the automobile instrument based on the first data and the average fuel consumption of the fuel calibration stored in the database is within a first error range; the host computer compares and determines whether the error between the cruising range calculated by the automobile instrument based on the first data and the cruising range of the fuel calibration stored in the database is within a second error range; the host computer compares and determines whether the error between the remaining fuel amount calculated by the automobile instrument based on the first data and the remaining fuel amount of the fuel calibration stored in the database is within a third error range.
7. A method for calibrating automobile fuel according to claim 6, characterized in that: The first error range is ±0.1 liter / hundred kilometers; the second error range is ±5 kilometers; and the third error range is ±0.1 liter.
8. A method for calibrating automobile fuel according to any one of claims 1 to 7, characterized in that: The host computer is a personal computer (PC).
9. A system for calibrating automobile fuel according to any one of claims 1 to 8, characterized in that: The invention comprises a host computer, a system-level bus development tool (CANoe), and an automobile meter; the host computer inputs a configuration file to the system-level bus development tool (CANoe); the system-level bus development tool (CANoe) sends first data to the automobile meter according to the configuration file; the automobile meter performs calculations internally and sends the calculation results to the system-level bus development tool (CANoe).
Citation Information
Patent Citations
Diagnostic testing system based on CANoe
CN101916087B