A fuel calibration method and device, electronic equipment and storage medium

By connecting to the vehicle's ECU to obtain fuel parameters, creating a fuel quantity change curve and calculating the difference, the efficiency and accuracy of fuel calibration are achieved, solving the problems of long time consumption and high manpower requirements in existing technologies, and ensuring the accuracy of fuel display.

CN116067463BActive Publication Date: 2026-07-03BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI
Filing Date
2022-12-30
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In existing technologies, the fuel algorithm calibration process is time-consuming and requires a large amount of professional manpower. Furthermore, non-professional engineers cannot accurately operate the vehicle equipment, resulting in inaccurate fuel data display, which may lead to serious problems such as vehicle breakdowns.

Method used

By establishing a connection with the ECU of the vehicle to be calibrated, target parameters are obtained, a fuel quantity change curve is created, the difference is calculated to extract fuel parameters, and fuel calibration is performed based on the magnitude of the difference to ensure the accuracy of the calibration results and support secondary testing to verify the results.

Benefits of technology

It improves the efficiency and accuracy of fuel calibration, reduces the use of human resources, ensures the accuracy of fuel display, avoids vehicle performance loss or abnormalities, and supports secondary testing to ensure the accuracy of calibration results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116067463B_ABST
    Figure CN116067463B_ABST
Patent Text Reader

Abstract

This application provides a fuel calibration method, apparatus, electronic device, and storage medium. The method includes: establishing a connection with the ECU of the vehicle to be calibrated and obtaining target parameters from the ECU; creating a fuel quantity change curve corresponding to the target parameters based on the target parameters; calculating the difference between the rate of change of the fuel quantity change curve and a preset target curve to obtain a target difference; when the target difference is less than or equal to a preset change threshold, extracting a first fuel parameter from the fuel quantity change curve and performing fuel calibration on the vehicle to be calibrated using the first fuel parameter; when the target difference is greater than the preset change threshold, obtaining a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold, determining a second fuel parameter based on the target point, and performing fuel calibration on the vehicle to be calibrated using the second fuel parameter. This application can improve fuel calibration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle data processing technology, and in particular to a fuel calibration method, apparatus, electronic device and storage medium. Background Technology

[0002] For gasoline-powered vehicles, the importance of fuel level displays is self-evident. Fuel consumption, remaining driving range, and remaining fuel are all data directly displayed to the end user. Users rely on these real-time displays to assess a vehicle's basic condition, and inaccurate displays can lead to serious problems such as breakdowns or running out of fuel at high speeds. Therefore, we need to ensure that the fuel-related algorithms in the ECU software are sufficiently accurate, and the specific parameters of these algorithms need to be recalibrated for different vehicle models.

[0003] For developers, we need to obtain a large amount of data based on actual vehicle driving conditions. This data is then used to adjust parameters in our fuel efficiency algorithms. Therefore, development engineers must constantly follow the vehicles, using specialized equipment to acquire the necessary data. Fuel-related issues are an ongoing process; continuous improvements may require adjustments to key parameters. This obviously consumes a significant amount of time for development engineers, often unnecessarily, spent on data acquisition. After acquiring the data, further time is required for analysis and adjustments. Non-engineering professionals may be completely unfamiliar with connecting to vehicle equipment and the data they need to acquire.

[0004] Therefore, fuel data calibration requires a continuous investment of highly professional personnel from development to completion, and a large proportion of the time cost in the overall development process is spent on vehicle-to-vehicle driving. Summary of the Invention

[0005] In view of this, embodiments of this application provide a fuel calibration method, apparatus, electronic device, and storage medium that can improve fuel calibration efficiency.

[0006] The technical solution of this application embodiment is implemented as follows:

[0007] In a first aspect, embodiments of this application provide a fuel calibration method, comprising the following steps:

[0008] A connection is established with the ECU of the vehicle to be calibrated, and target parameters are obtained from the ECU, wherein the target parameters are used to represent changes in fuel quantity;

[0009] Based on the target parameters, create an oil volume change curve corresponding to the target parameters;

[0010] The difference between the rate of change of the fuel quantity change curve and the preset target curve is calculated to obtain the target difference. When the target difference is less than or equal to the preset change threshold, a first fuel parameter is extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter. When the target difference is greater than the preset change threshold, a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold is obtained. A second fuel parameter is determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. The target curve is preset based on the target parameter.

[0011] In one possible implementation, the * establishes a connection with the ECU of the vehicle to be calibrated and obtains target parameters from the ECU, including:

[0012] A connection is established with the vehicle's onboard communication bus via communication software;

[0013] Based on the address of the target parameter in the ECU, the target parameter is read from the address via the communication software;

[0014] Write the target parameters into the target file.

[0015] In one possible implementation, creating an oil volume change curve corresponding to the target parameter includes:

[0016] Create a curve generation script, wherein the curve generation script is used to plot the target parameter as an oil volume change curve;

[0017] The target parameter is generated using the curve generation script, and the corresponding oil volume change curve is generated in EXCEL.

[0018] In one possible implementation, calculating the difference between the rate of change of the oil quantity change curve and the preset target curve to obtain the target difference includes:

[0019] The first slope of each first point in the oil quantity change curve and the second slope of each second point in the target curve are calculated;

[0020] Calculate the difference in slope between the first point and the second point at the same time, and use this difference as the target difference.

[0021] In one possible implementation, fuel calibration of the vehicle to be calibrated is performed using a first fuel parameter / a second fuel parameter, including:

[0022] Obtain the calibration parameters that need to be modified from the first fuel parameter / second fuel parameter, wherein the calibration parameters represent the parameters input to the vehicle to be calibrated;

[0023] Obtain the target address of the calibration parameters in the ECU of the vehicle to be calibrated;

[0024] Write the calibration parameters to the target address.

[0025] In one possible implementation, the method further includes:

[0026] For the vehicle to be calibrated after fuel calibration using the second fuel parameter, the method described in claim 1 is executed again to perform a second calibration on the vehicle to be calibrated.

[0027] In one possible implementation, the method further includes:

[0028] Obtain the vehicle model of the vehicle to be calibrated;

[0029] The calibration results of the vehicles to be calibrated for the same vehicle model are collected;

[0030] The preset target curve is adjusted based on the calibration results.

[0031] Secondly, embodiments of this application also provide a fuel calibration device, the device comprising:

[0032] A connection module is used to establish a connection with the ECU of the vehicle to be calibrated and to obtain target parameters from the ECU, wherein the target parameters are used to represent changes in fuel quantity;

[0033] A creation module is used to create an oil volume change curve corresponding to the target parameters;

[0034] The calibration module is used to calculate the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain a target difference. When the target difference is less than or equal to a preset change threshold, a first fuel parameter is extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter. When the target difference is greater than the preset change threshold, a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold is obtained. A second fuel parameter is determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. The target curve is preset based on the target parameter.

[0035] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the fuel calibration method described in any of the first aspects.

[0036] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the fuel calibration method described in any one of the first aspects.

[0037] The embodiments of this application have the following beneficial effects:

[0038] By establishing a connection with the ECU of the vehicle to be calibrated and obtaining target parameters from the ECU, a fuel quantity change curve corresponding to the target parameters is created. Finally, the difference between the rate of change of the fuel quantity change curve and the preset target curve is calculated to obtain the target difference. When the target difference is less than or equal to a preset threshold, it indicates that the result meets expectations, and a first fuel parameter can be directly extracted from the fuel quantity change curve. The vehicle to be calibrated is then calibrated using the first fuel parameter, resulting in an accurate calibration. However, when the target difference is greater than the preset threshold, it indicates that the vehicle's performance has deteriorated or is abnormal. Therefore, a target point is obtained in the fuel quantity change curve where the target difference is greater than the preset threshold. A second fuel parameter is then determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. This ensures that the calibrated result matches the actual vehicle performance. Furthermore, a secondary test can be performed on the vehicle calibrated using the second fuel parameter to ensure the accuracy of the calibration result. Attached Figure Description

[0039] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a flowchart illustrating steps S101-S103 provided in the embodiments of this application;

[0041] Figure 2 This is a flowchart illustrating steps S1011-S1013 provided in the embodiments of this application;

[0042] Figure 3 This is a flowchart illustrating steps S1021-S1022 provided in the embodiments of this application;

[0043] Figure 4 This is a flowchart illustrating steps S201-S202 provided in the embodiments of this application;

[0044] Figure 5 This is a schematic diagram of the fuel calibration device provided in the embodiments of this application;

[0045] Figure 6 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0047] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0048] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0049] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0050] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application and is not intended to limit this application.

[0052] See Figure 1 , Figure 1 This is a flowchart illustrating steps S101-S103 of the fuel calibration method provided in this application embodiment, which will be combined with... Figure 1 Steps S101-S103 shown will be explained.

[0053] Step S101: Establish a connection with the ECU of the vehicle to be calibrated, and obtain target parameters from the ECU, wherein the target parameters are used to represent changes in fuel quantity;

[0054] Step S102: Based on the target parameters, create an oil quantity change curve corresponding to the target parameters;

[0055] Step S103: Calculate the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain a target difference. When the target difference is less than or equal to a preset change threshold, extract a first fuel parameter from the fuel quantity change curve and perform fuel calibration on the vehicle to be calibrated using the first fuel parameter. When the target difference is greater than the preset change threshold, obtain a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold, determine a second fuel parameter based on the target point, and perform fuel calibration on the vehicle to be calibrated using the second fuel parameter. The target curve is preset based on the target parameter.

[0056] The aforementioned fuel calibration method establishes a connection with the ECU of the vehicle to be calibrated, obtains target parameters from the ECU, and then creates a fuel quantity change curve corresponding to the target parameters. Finally, it calculates the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain the target difference. When the target difference is less than or equal to a preset change threshold, it indicates that the result meets expectations, and a first fuel parameter can be directly extracted from the fuel quantity change curve. The vehicle to be calibrated is then calibrated using the first fuel parameter, resulting in an accurate calibration result. However, when the target difference is greater than the preset change threshold, it indicates that the vehicle's performance has deteriorated or is abnormal. Therefore, a target point is obtained in the fuel quantity change curve where the target difference is greater than the preset change threshold. A second fuel parameter is then determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. This ensures that the calibrated result matches the actual vehicle performance. Furthermore, a secondary test can be performed on the vehicle calibrated using the second fuel parameter to ensure the accuracy of the calibration result.

[0057] The exemplary steps described above in the embodiments of this application will be explained below.

[0058] In step S101, a connection is established with the ECU of the vehicle to be calibrated, and target parameters are obtained from the ECU, wherein the target parameters are used to represent changes in fuel quantity.

[0059] In some embodiments, see Figure 2 , Figure 2 This is a flowchart illustrating steps S1011-S1013 provided in the embodiments of this application. Figure 1 The step S101 shown can be implemented through steps S1011-S1013, which will be explained in conjunction with each step.

[0060] In step S1011, a connection is established with the vehicle communication bus of the vehicle to be calibrated through communication software.

[0061] In step S1012, the target parameter is read from the address in the ECU using the communication software, based on the address of the target parameter in the ECU.

[0062] In step S1013, the target parameters are written into the target file.

[0063] Here, you can create a CPAL script in the CANOE software to set fuel parameters such as fuel consumption, instantaneous fuel consumption, and average fuel consumption. By binding the environment variables and attributes of the relevant parameters, a visual operation interface can be established. By inputting the memory address of the parameters in your ECU software into the visual interface, the fuel data in the software can be read according to the specified memory address. At the same time, we can also observe the values ​​of these fuel parameters in real time. After the device is connected, the vehicle is started to automatically record the data and store the recorded data in a local file.

[0064] In step S102, an oil quantity change curve corresponding to the target parameter is created based on the target parameter.

[0065] In some embodiments, see Figure 3 , Figure 3 This is a flowchart illustrating steps S1021-S1022 provided in the embodiments of this application. Figure 1 The step S102 shown can be implemented through steps S1021-S1022, which will be explained in conjunction with each step.

[0066] In step S1021, a curve generation script is created, wherein the curve generation script is used to plot the target parameter as an oil volume change curve.

[0067] In step S1022, the target parameter is generated using the curve generation script, and the oil quantity change curve corresponding to the target parameter is generated in EXCEL.

[0068] Here, we select the fuel parameters we need to calibrate. Based on the exported data file, we use a pre-compiled script file to generate a fuel quantity change curve for the corresponding parameters in an Excel spreadsheet. This curve will show the degree of change of fuel parameters over time.

[0069] In step S103, the difference between the rate of change of the fuel quantity change curve and the preset target curve is calculated to obtain a target difference. When the target difference is less than or equal to a preset change threshold, a first fuel parameter is extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter. When the target difference is greater than the preset change threshold, a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold is obtained. A second fuel parameter is determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. The target curve is preset based on the target parameter.

[0070] In some embodiments, calculating the difference between the rate of change of the oil quantity change curve and the preset target curve to obtain the target difference includes:

[0071] The first slope of each first point in the oil quantity change curve and the second slope of each second point in the target curve are calculated;

[0072] Calculate the difference in slope between the first point and the second point at the same time, and use this difference as the target difference.

[0073] Here, the corresponding target curve can be selected as the standard curve according to the target parameters. Then, the rate of change of the oil quantity change curve and the preset target curve are compared. The target difference is obtained by calculating the slope. And the point where the difference is too large is found by using the preset change threshold.

[0074] If the curve matches our expected change, key fuel parameter values ​​will be extracted from the nodes of the fuel quantity change curve, such as fuel flow rate, resistance value of fuel segment changes, low fuel quantity, etc., to realize the first fuel parameter we finally write into the software; if the curve does not match our expected change, we need to extract the parameter difference value of the difference point with the standard curve, and determine the second fuel parameter based on the difference value, and use the second fuel parameter for calibration.

[0075] In some embodiments, fuel calibration of the vehicle to be calibrated is performed using a first fuel parameter / a second fuel parameter, including:

[0076] Obtain the calibration parameters that need to be modified from the first fuel parameter / second fuel parameter, wherein the calibration parameters represent the parameters input to the vehicle to be calibrated;

[0077] Obtain the target address of the calibration parameters in the ECU of the vehicle to be calibrated;

[0078] Write the calibration parameters to the target address.

[0079] Here, during the entire calibration process, real-time modification of fuel parameter values ​​is supported. Similarly, by inputting the memory address of the calibration parameters in the visual interface, the required calibration parameters are directly rewritten, and the values ​​of these calibration parameters are written to the ECU software. After writing the parameter values, the software is reset and restarted, and the relevant verification and calibration work is repeated.

[0080] In some embodiments, the method further includes:

[0081] For the vehicle to be calibrated after fuel calibration using the second fuel parameter, the method provided in the above embodiments of this application is executed again to perform a second calibration on the vehicle to be calibrated.

[0082] Here, the vehicle to be calibrated after fuel calibration using the second fuel parameter still needs to undergo a second inspection, that is, the method provided in the above embodiments of this application is re-executed to verify it, so as to ensure the accuracy of the calibration results.

[0083] In some embodiments, see Figure 4 , Figure 4 This is a flowchart illustrating steps S201-S202 provided in the embodiments of this application, and will be explained in conjunction with each step.

[0084] In step S201, the vehicle model of the vehicle to be calibrated is obtained.

[0085] In step S202, the calibration results of the vehicles to be calibrated for the same vehicle model are collected.

[0086] In step S203, the preset target curve is adjusted according to the calibration result.

[0087] Here, different vehicles to be calibrated all have a model number. By obtaining the vehicle model number, the calibration results of vehicles of the same model can be collected and used as a reference. When calibrating the same type of vehicles in the future, it can be used as a reference basis, such as for the preset target curve or for predicting the calibration value of the vehicle to be calibrated.

[0088] In summary, the embodiments of this application have the following beneficial effects:

[0089] By establishing a connection with the ECU of the vehicle to be calibrated and obtaining target parameters from the ECU, a fuel quantity change curve corresponding to the target parameters is created. Finally, the difference between the rate of change of the fuel quantity change curve and the preset target curve is calculated to obtain the target difference. When the target difference is less than or equal to a preset threshold, it indicates that the result meets expectations, and a first fuel parameter can be directly extracted from the fuel quantity change curve. The vehicle to be calibrated is then calibrated using the first fuel parameter, resulting in an accurate calibration. However, when the target difference is greater than the preset threshold, it indicates that the vehicle's performance has deteriorated or is abnormal. Therefore, a target point is obtained in the fuel quantity change curve where the target difference is greater than the preset threshold. A second fuel parameter is then determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. This ensures that the calibrated result matches the actual vehicle performance. Furthermore, a secondary test can be performed on the vehicle calibrated using the second fuel parameter to ensure the accuracy of the calibration result.

[0090] Based on the same inventive concept, this application also provides a fuel calibration device corresponding to the fuel calibration method in the first embodiment. Since the principle of the device in this application is similar to the above-mentioned fuel calibration method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0091] like Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of the fuel calibration device 500 provided in an embodiment of this application. The fuel calibration device 500 includes:

[0092] Module 501 is used to establish a connection with the ECU of the vehicle to be calibrated and to obtain target parameters from the ECU, wherein the target parameters are used to represent changes in fuel quantity;

[0093] Module 502 is used to create an oil quantity change curve corresponding to the target parameters based on the target parameters;

[0094] Module 503 is used to calculate the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain a target difference. When the target difference is less than or equal to a preset change threshold, a first fuel parameter is extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter. When the target difference is greater than the preset change threshold, a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold is obtained. A second fuel parameter is determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. The target curve is preset based on the target parameter.

[0095] Those skilled in the art should understand that Figure 5 The functions of each unit in the fuel calibration device 500 shown can be understood by referring to the relevant description of the aforementioned fuel calibration method. Figure 5 The functions of each unit in the fuel calibration device 500 shown can be implemented by a program running on a processor or by specific logic circuits.

[0096] In one possible implementation, the connection module 501 establishes a connection with the ECU of the vehicle to be calibrated and obtains target parameters from the ECU, including:

[0097] A connection is established with the vehicle's onboard communication bus via communication software;

[0098] Based on the address of the target parameter in the ECU, the target parameter is read from the address via the communication software;

[0099] Write the target parameters into the target file.

[0100] In one possible implementation, the creation module 502 creates an oil quantity change curve corresponding to the target parameters based on the target parameters, including:

[0101] Create a curve generation script, wherein the curve generation script is used to plot the target parameter as an oil volume change curve;

[0102] The target parameter is generated using the curve generation script, and the corresponding oil volume change curve is generated in EXCEL.

[0103] In one possible implementation, the calibration module 503 calculates the difference between the rate of change of the oil quantity change curve and the preset target curve to obtain the target difference, including:

[0104] The first slope of each first point in the oil quantity change curve and the second slope of each second point in the target curve are calculated;

[0105] Calculate the difference in slope between the first point and the second point at the same time, and use this difference as the target difference.

[0106] In one possible implementation, the calibration module 503 performs fuel calibration on the vehicle to be calibrated using a first fuel parameter / a second fuel parameter, including:

[0107] Obtain the calibration parameters that need to be modified from the first fuel parameter / second fuel parameter, wherein the calibration parameters represent the parameters input to the vehicle to be calibrated;

[0108] Obtain the target address of the calibration parameters in the ECU of the vehicle to be calibrated;

[0109] Write the calibration parameters to the target address.

[0110] In one possible implementation, the calibration module 503 further includes:

[0111] For the vehicle to be calibrated after fuel calibration using the second fuel parameter, the method described in claim 1 is executed again to perform a second calibration on the vehicle to be calibrated.

[0112] In one possible implementation, the calibration module 503 further includes:

[0113] Obtain the vehicle model of the vehicle to be calibrated;

[0114] The calibration results of the vehicles to be calibrated for the same vehicle model are collected;

[0115] The preset target curve is adjusted based on the calibration results.

[0116] The aforementioned fuel calibration device establishes a connection with the ECU of the vehicle to be calibrated and obtains target parameters from the ECU. Then, based on the target parameters, it creates a fuel quantity change curve corresponding to the target parameters. Finally, it calculates the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain the target difference. When the target difference is less than or equal to a preset threshold, it indicates that the result meets expectations. In this case, a first fuel parameter can be directly extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter, resulting in an accurate calibration result. However, when the target difference is greater than the preset threshold, it indicates that the vehicle's performance has deteriorated or is abnormal. Therefore, a target point is obtained in the fuel quantity change curve where the target difference is greater than the preset threshold. A second fuel parameter is then determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. This ensures that the calibrated result matches the actual vehicle performance. Furthermore, a secondary test can be performed on the vehicle calibrated using the second fuel parameter to ensure the accuracy of the calibration result.

[0117] like Figure 6 As shown, Figure 6 This is a schematic diagram of the composition structure of the electronic device 600 provided in the embodiments of this application. The electronic device 600 includes:

[0118] The device 600 includes a processor 601, a storage medium 602, and a bus 603. The storage medium 602 stores machine-readable instructions that can be executed by the processor 601. When the electronic device 600 is running, the processor 601 communicates with the storage medium 602 via the bus 603. The processor 601 executes the machine-readable instructions to perform the steps of the fuel calibration method described in the embodiments of this application.

[0119] In practical applications, the various components in the electronic device 600 are coupled together via a bus 603. It is understood that the bus 603 is used to achieve communication between these components. In addition to a data bus, the bus 603 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 6 The general designated all buses as Bus 603.

[0120] The aforementioned electronic device establishes a connection with the ECU of the vehicle to be calibrated and obtains target parameters from the ECU. Then, based on the target parameters, it creates a fuel quantity change curve corresponding to the target parameters. Finally, it calculates the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain the target difference. When the target difference is less than or equal to a preset threshold, it indicates that the result meets expectations. In this case, a first fuel parameter can be directly extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter, resulting in an accurate calibration result. However, when the target difference is greater than the preset threshold, it indicates that the vehicle's performance has deteriorated or is abnormal. Therefore, a target point is obtained in the fuel quantity change curve where the target difference is greater than the preset threshold. A second fuel parameter is then determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. This ensures that the calibrated result matches the actual vehicle performance. Furthermore, a secondary test can be performed on the vehicle calibrated using the second fuel parameter to ensure the accuracy of the calibration result.

[0121] This application also provides a computer-readable storage medium storing executable instructions that, when executed by at least one processor 601, implement the fuel calibration method described in this application.

[0122] In some embodiments, the storage medium may be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.; or it may be a device that includes one or any combination of the above-mentioned memories.

[0123] In some embodiments, executable instructions may take the form of a program, software, software module, script, 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 a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0124] As an example, executable instructions may, but do not necessarily, correspond to files in the file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborating files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0125] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0126] The aforementioned computer-readable storage medium establishes a connection with the ECU of the vehicle to be calibrated, obtains target parameters from the ECU, and then creates a fuel quantity change curve corresponding to the target parameters. Finally, it calculates the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain the target difference. When the target difference is less than or equal to a preset change threshold, it indicates that the result meets expectations, and a first fuel parameter can be directly extracted from the fuel quantity change curve. The vehicle to be calibrated is then calibrated using the first fuel parameter, resulting in an accurate calibration result. However, when the target difference is greater than the preset change threshold, it indicates that the vehicle's performance has deteriorated or is abnormal. Therefore, a target point is obtained in the fuel quantity change curve where the target difference is greater than the preset change threshold. A second fuel parameter is then determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. This ensures that the calibrated result matches the actual vehicle performance. Furthermore, a secondary test can be performed on the vehicle calibrated using the second fuel parameter to ensure the accuracy of the calibration result.

[0127] In the several embodiments provided in this application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another system, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0128] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0129] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0130] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0131] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A fuel calibration method, characterized in that, Includes the following steps: A connection is established with the ECU of the vehicle to be calibrated, and target parameters are obtained from the ECU, wherein the target parameters are used to represent changes in fuel quantity; Based on the target parameters, create an oil volume change curve corresponding to the target parameters; The difference between the rate of change of the fuel quantity change curve and the preset target curve is calculated to obtain a target difference. When the target difference is less than or equal to a preset change threshold, a first fuel parameter is extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter. When the target difference is greater than the preset change threshold, a target point in the fuel quantity change curve located where the target difference is greater than the preset change threshold is obtained. A second fuel parameter is determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. The target curve is preset based on the target parameter. The calculation of the difference between the rate of change of the oil quantity change curve and the preset target curve to obtain the target difference includes: The first slope of each first point in the oil quantity change curve and the second slope of each second point in the target curve are calculated; Calculate the difference in slope between the first point and the second point at the same time, and use this difference as the target difference.

2. The method according to claim 1, characterized in that, The process of establishing a connection with the ECU of the vehicle to be calibrated and obtaining target parameters from the ECU includes: A connection is established with the vehicle's onboard communication bus via communication software; The target parameter is read from the address in the ECU using the communication software. Write the target parameters into the target file.

3. The method according to claim 1, characterized in that, The step of creating an oil volume change curve corresponding to the target parameter includes: Create a curve generation script, wherein the curve generation script is used to plot the target parameter as an oil volume change curve; The target parameter is generated using the curve generation script, and the corresponding oil volume change curve is generated in EXCEL.

4. The method according to claim 1, characterized in that, Fuel calibration of the vehicle to be calibrated is performed using a first fuel parameter / a second fuel parameter, including: Obtain the calibration parameters that need to be modified from the first fuel parameter / second fuel parameter, wherein the calibration parameters represent the parameters input to the vehicle to be calibrated; Obtain the target address of the calibration parameters in the ECU of the vehicle to be calibrated; Write the calibration parameters to the target address.

5. The method according to claim 1, characterized in that, The method further includes: For the vehicle to be calibrated after fuel calibration using the second fuel parameter, the method described in claim 1 is executed again to perform a second calibration on the vehicle to be calibrated.

6. The method according to claim 1, characterized in that, The method further includes: Obtain the vehicle model of the vehicle to be calibrated; The calibration results of the vehicles to be calibrated for the same vehicle model are collected; The preset target curve is adjusted based on the calibration results.

7. A fuel calibration device, characterized in that, The device includes: A connection module is used to establish a connection with the ECU of the vehicle to be calibrated and to obtain target parameters from the ECU, wherein the target parameters are used to represent changes in fuel quantity; A creation module is used to create an oil volume change curve corresponding to the target parameters; The calibration module is used to calculate the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain a target difference. When the target difference is less than or equal to a preset threshold, a first fuel parameter is extracted from the fuel quantity change curve, and the vehicle to be calibrated is calibrated using the first fuel parameter. When the target difference is greater than the preset threshold, a target point in the fuel quantity change curve located where the target difference is greater than the preset threshold is obtained. A second fuel parameter is determined based on the target point, and the vehicle to be calibrated is calibrated using the second fuel parameter. The target curve is preset based on the target parameter. Calculating the difference between the rate of change of the fuel quantity change curve and the preset target curve to obtain the target difference includes: calculating the first slope of each first point in the fuel quantity change curve and the second slope of each second point in the target curve; calculating the difference between the slopes of the first point and the second point at the same time, and using this difference as the target difference.

8. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the fuel calibration method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the fuel calibration method as described in any one of claims 1 to 6.