Liquid ejection amount abnormality processing method, processing device, and electronic device

By calculating the actual injection volume and duty cycle, the fitting relationship between the historical injection volume and duty cycle is obtained, and abnormal urea injection volume is judged in real time. This solves the problem of low detection timeliness in the existing technology, enables timely handling of abnormalities, and avoids the risk of urea crystallization and excessive emissions.

CN117759415BActive Publication Date: 2026-01-23WEICHAI POWER CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410023589.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-04
Publication Date
2026-01-23
Estimated Expiration
2044-01-04

AI Technical Summary

Technical Problem

Existing methods for detecting abnormal liquid injection volume have low timeliness, leading to over- or under-injection of urea, which poses risks of crystallization and exceeding emission standards.

Method used

By calculating the actual injection volume and the actual duty cycle, the fitting relationship between the historical injection volume and the duty cycle is obtained, the theoretical injection volume is determined, and the difference between the injection volume and the theoretical injection volume is calculated to determine whether the liquid injection volume is abnormal in real time.

Benefits of technology

It enables real-time anomaly detection of liquid injection volume, reduces time lag, promptly detects and handles anomalies, and avoids problems such as over-spraying or under-spraying of urea.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117759415B_ABST
    Figure CN117759415B_ABST
Patent Text Reader

Abstract

The application provides a liquid injection amount abnormality processing method, a processing device and an electronic device. The method comprises the following steps: calculating an actual injection amount and an actual duty cycle, wherein the actual duty cycle is a ratio of a liquid injection time of a motor to a liquid non-injection time; obtaining a plurality of historical injection amounts and a historical duty cycle corresponding to each historical injection amount, fitting the historical injection amounts and the historical duty cycle to obtain a fitting relationship between the historical injection amounts and the historical duty cycle, and determining a theoretical injection amount corresponding to the actual duty cycle according to the fitting relationship; calculating an absolute value of a difference between the actual injection amount and the theoretical injection amount, and determining that the liquid injection amount is abnormal and processing the abnormal injection amount in a case where the absolute value of the difference is less than a minimum allowable error or greater than a maximum allowable error. Through the application, the problem of low timeliness of the liquid injection amount abnormality detection method in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle anomaly handling, and more specifically, to a method, apparatus, computer-readable storage medium, and electronic device for handling abnormal liquid injection volume. Background Technology

[0002] Existing technologies detect faults by comparing the consumption of urea solution in the tank with the urea injection quantity calculated by the ECU (Electronic Control Unit). When the calculated urea consumption is inconsistent or the deviation is too large, a urea consumption deviation fault is reported. The consumption of urea solution in the tank is mainly calculated by monitoring changes in the urea tank level. The urea injection quantity calculated by the ECU is mainly calculated based on the actuation amount of the urea nozzle. The above method has the following drawbacks: Using changes in the urea tank level to determine urea consumption deviation is problematic because the urea tank volume is relatively large. When urea consumption is low, the level change is not obvious or may not be detected at all. Urea consumption abnormality detection is only triggered when urea consumption is high or when it causes a significant change in the urea tank level. By the time the fault is detected, it has already occurred for some time, posing two risks: first, the risk of crystallization due to over-injection of urea; and second, the risk of exceeding emission standards due to insufficient urea injection.

[0003] Therefore, an accurate method for detecting deviations in urea consumption is needed. Summary of the Invention

[0004] The main objective of this application is to provide a method, apparatus, computer-readable storage medium, and electronic device for handling abnormal liquid jet volume, so as to at least solve the problem of low timeliness in existing methods for detecting abnormal liquid jet volume.

[0005] To achieve the above objectives, according to one aspect of this application, a method for handling abnormal liquid injection volume is provided, comprising: calculating an actual injection volume and an actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid; acquiring multiple historical injection volumes and historical duty cycles corresponding to each historical injection volume; fitting the historical injection volume and the historical duty cycle to obtain a fitting relationship between the historical injection volume and the historical duty cycle; determining the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship; calculating the absolute value of the difference between the actual injection volume and the theoretical injection volume; and determining that the liquid injection volume is abnormal if the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, and processing the abnormal injection volume.

[0006] Optionally, calculating the actual injection quantity and the actual duty cycle includes: obtaining multiple injection quantities and the duty cycle corresponding to each injection quantity; determining the injection quantity as the target injection quantity when the injection quantity is greater than the minimum injection quantity; adding the target injection quantities to obtain the actual injection quantity; and adding the duty cycles corresponding to the target injection quantities to obtain the actual duty cycle.

[0007] Optionally, fitting the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle includes: performing linear regression fitting on the historical injection volume and the historical duty cycle to obtain a first regression coefficient and a second regression coefficient; using the first regression coefficient as the coefficient of the first-order term of the linear equation and the second regression coefficient as the coefficient of the constant term of the linear equation to obtain the fitting relationship.

[0008] Optionally, determining the theoretical injection amount corresponding to the actual duty cycle based on the fitting relationship includes: using the actual duty cycle as the dependent variable, solving the linear equation, and obtaining the theoretical injection amount corresponding to the actual duty cycle.

[0009] Optionally, obtaining multiple historical injection quantities and the historical duty cycle corresponding to each historical injection quantity includes: when the actual injection quantity is greater than the minimum injection accumulation quantity, obtaining multiple historical injection quantities and the historical duty cycle corresponding to each historical injection quantity, wherein the minimum injection accumulation quantity is the minimum injection quantity corresponding to fault detection.

[0010] Optionally, processing the abnormal injection volume includes: incrementing the abnormality count by 1, where the abnormality count represents the total number of times the liquid injection volume is abnormal; if the abnormality count is greater than or equal to a preset threshold, outputting a fault signal, and processing the abnormal injection volume according to the fault signal, where the fault signal is a signal indicating that the motor spraying the liquid has malfunctioned.

[0011] Optionally, the method further includes: determining that the liquid injection volume is normal if the absolute value of the difference is greater than or equal to the minimum permissible error or less than or equal to the maximum permissible error; and fitting the actual injection volume corresponding to the normal injection volume as the historical injection volume and the actual duty cycle as the historical duty cycle to correct the fitting relationship.

[0012] According to another aspect of this application, a device for handling abnormal liquid injection volume is provided, comprising: a calculation unit for calculating an actual injection volume and an actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time when the liquid is not injected; a first determination unit for acquiring multiple historical injection volumes and historical duty cycles corresponding to each historical injection volume, fitting the historical injection volume and the historical duty cycle to obtain a fitting relationship between the historical injection volume and the historical duty cycle, and determining the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship; and a processing unit for calculating the absolute value of the difference between the actual injection volume and the theoretical injection volume, and determining that the liquid injection volume is abnormal if the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, and processing the abnormal injection volume.

[0013] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform any of the processing methods described above.

[0014] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any of the processing methods described above.

[0015] By applying the technical solution of this application, the actual injection volume and actual duty cycle are calculated. Historical injection volumes and historical duty cycles are then fitted to obtain a fitting relationship between them. Based on this relationship, the theoretical injection volume corresponding to the actual duty cycle is determined. The absolute value of the difference between the actual and theoretical injection volumes is then calculated. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, an anomaly in the liquid injection volume is identified and addressed. This allows for real-time determination of whether the injection volume is abnormal based on the fitted relationship, providing high timeliness. Compared to existing methods that determine anomalies by comparing the consumption of solution in the liquid tank, this application can determine whether anomalies have occurred in the injection volume in real time, achieving the effect of timely detection and handling of anomalies. Attached Figure Description

[0016] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0017] Figure 1A hardware structure block diagram of a mobile terminal for performing a method for handling abnormal liquid injection volume according to an embodiment of this application is shown.

[0018] Figure 2 A schematic flowchart of a method for handling abnormal liquid injection volume provided by an embodiment of this application is shown.

[0019] Figure 3 This illustration shows a schematic diagram of the calculation process for the actual injection volume and the actual duty cycle in a liquid injection volume anomaly handling method provided by an embodiment of this application.

[0020] Figure 4 The illustration shows a flowchart of a specific method for handling abnormal liquid injection volume according to an embodiment of this application;

[0021] Figure 5 A schematic diagram showing the relationship between urea injection rate and pump motor duty cycle provided in an embodiment of this application is shown.

[0022] Figure 6 A structural block diagram of a liquid injection volume abnormality handling device provided by an embodiment of this application is shown.

[0023] The above figures include the following reference numerals:

[0024] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation

[0025] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] As described in the background section, existing methods for detecting abnormal liquid injection volume have low timeliness. To address this issue, embodiments of this application provide a method, apparatus, computer-readable storage medium, and electronic device for processing abnormal liquid injection volume.

[0029] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0030] The methods and embodiments provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of handling abnormal liquid jet volume according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0031] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the liquid injection volume abnormality handling method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-described networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the above-described networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0032] This embodiment provides a method for handling abnormal liquid injection volume running on a mobile terminal, computer terminal or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0033] Figure 2 This is a flowchart of a method for handling abnormal liquid injection volume according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:

[0034] Step S201: Calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid.

[0035] Specifically, the liquid mentioned above can be urea during actual vehicle operation. However, judging whether the urea injection volume has deviated based on changes in the urea tank level has a time lag, meaning it can only be detected some time after the anomaly occurs. Since there is a relatively definite linear relationship between urea consumption and the duty cycle of the urea pump motor, and their relationship can be easily fitted using experimental data, this application, to reduce the lag time, substitutes the actual duty cycle into the above-mentioned fitted relationship to obtain the theoretical injection volume. Then, the theoretical injection volume is compared with the actual injection volume to quickly and in real-time determine whether the urea injection volume is abnormal.

[0036] Step S202: Obtain multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume; fit the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle; and determine the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship.

[0037] Specifically, to obtain the above-mentioned fitting formula, coefficients are obtained by fitting multiple historical injection volumes and the corresponding historical duty cycles for each historical injection volume, ultimately leading to the above-mentioned fitting formula. After determining the fitting formula, the theoretical injection volume corresponding to the actual duty cycle can be calculated, that is, the amount of urea that should theoretically be injected when the duty cycle is the above-mentioned actual duty cycle.

[0038] Step S203: Calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, determine that the injection volume of the liquid is abnormal and process the abnormal injection volume.

[0039] Specifically, after calculating the theoretical injection volume, it is compared with the actual injection volume of the motor pump. The absolute value of the difference between the two is calculated. If it is within the allowable error range, i.e., between the minimum and maximum allowable errors mentioned above, the injection volume is considered normal; otherwise, the injection volume is determined to be abnormal. After determining the abnormality, a fault signal corresponding to the abnormal injection volume is output to initiate the corresponding fault handling program or to allow manual fault handling.

[0040] This embodiment calculates the actual injection volume and actual duty cycle, fits historical injection volumes and historical duty cycles to obtain a fitting relationship between them, determines the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship, and then calculates the absolute value of the difference between the actual and theoretical injection volumes. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, an anomaly in the liquid injection volume is identified and addressed. This allows for real-time determination of whether the injection volume is abnormal based on the fitted relationship, providing high timeliness. Compared to existing technologies that determine anomalies by comparing the consumption of solution in the liquid tank, this application can determine whether anomalies have occurred in the injection volume in real time, achieving the effect of timely detection and handling of anomalies.

[0041] In the specific implementation process, the above step S201, which calculates the actual injection quantity and the actual duty cycle, can be achieved through the following steps: such as Figure 3 As shown, step S2011: Obtain multiple injection quantities and the corresponding duty cycle for each injection quantity; if the injection quantity is greater than the minimum injection quantity, determine the injection quantity as the target injection quantity; step S2012: Add the target injection quantities to obtain the actual injection quantity, and add the duty cycles corresponding to the target injection quantities to obtain the actual duty cycle. This method adds the injection quantities that meet the injection quantity conditions, thus accurately determining the actual injection quantity and avoiding large injection quantity errors.

[0042] Specifically, after obtaining multiple injection quantities, it is determined whether they are greater than the pre-calibrated minimum injection quantity. If they are less than or equal to the minimum injection quantity, they are usually not included in the statistical range. Therefore, the data that are less than or equal to the minimum injection quantity are removed, and only the data that are greater than the minimum injection quantity are superimposed to obtain the actual injection quantity. The corresponding duty cycles are then superimposed to obtain the actual duty cycle.

[0043] To accurately obtain the aforementioned fitting relationship, in some optional embodiments, step S202 involves fitting the historical injection volume and the historical duty cycle to obtain the fitting relationship between them. This can be achieved through the following steps: performing linear regression fitting on the historical injection volume and the historical duty cycle to obtain a first regression coefficient and a second regression coefficient; using the first regression coefficient as the coefficient of the first-order term of the linear equation and the second regression coefficient as the coefficient of the constant term of the linear equation to obtain the aforementioned fitting relationship. This method obtains the fitting relationship through linear regression fitting, thus accurately describing the one-to-one correspondence between injection volume and duty cycle.

[0044] In practical implementation, a univariate linear regression fitting method can be used. Therefore, the first regression coefficient is the coefficient of the linear term, and the second regression coefficient is the coefficient of the constant term, expressed as Y = AX + B, where A is the first regression coefficient, B is the second regression coefficient, X is the historical injection volume, and Y is the historical duty cycle. In one specific implementation, A is 3.3613 and B is 15.47, and the above fitting relationship is Y = 3.3613X + 15.47. In practical applications, other feasible fitting relationships can also be used.

[0045] In some optional implementations, step S202, which determines the theoretical injection quantity corresponding to the actual duty cycle based on the fitting relationship, can be achieved through the following steps: using the actual duty cycle as the dependent variable, solving the linear equation to obtain the theoretical injection quantity corresponding to the actual duty cycle. This method substitutes the actual duty cycle into the fitting relationship, thus accurately determining the theoretical injection quantity.

[0046] Specifically, by taking the actual duty cycle as the dependent variable Y and substituting it into the equation Y = 3.3613X + 15.47, the theoretical injection volume X can be obtained.

[0047] To meet the injection accumulation condition, the acquisition of multiple historical injection volumes and the corresponding historical duty cycle in step S202 can be achieved through the following steps: when the actual injection volume is greater than the minimum injection accumulation volume, acquire multiple historical injection volumes and the corresponding historical duty cycle, where the minimum injection accumulation volume is the minimum injection volume corresponding to fault detection. This method acquires historical injection volumes and historical duty cycles when the accumulated injection volume meets the injection accumulation condition (i.e., is greater than the minimum injection volume), and then performs fitting to determine whether an anomaly exists. This allows fault detection to be performed only after the injection volume has accumulated to the minimum injection volume corresponding to fault detection, avoiding inaccurate detection results.

[0048] In the specific implementation process, the above multiple injection quantities are accumulated until the minimum injection accumulation quantity specified by the fault detection is reached. The minimum injection accumulation quantity can be obtained through pre-calibration. Then, the historical injection quantity and historical duty cycle are obtained, fitted, and it is determined whether the injection quantity has become abnormal.

[0049] In some optional embodiments, step S203 above, which processes the abnormal injection volume, can be implemented through the following steps: incrementing the abnormality count by 1, where the abnormality count represents the total number of abnormal injection volumes of the liquid; outputting a fault signal when the abnormality count is greater than or equal to a preset threshold, and processing the abnormal injection volume according to the fault signal, where the fault signal is a signal indicating a malfunction in the motor spraying the liquid. This method accumulates the abnormality count when an abnormality occurs, and outputs a fault signal when the count reaches a certain level, i.e., a preset threshold, thus allowing for corresponding processing based on the fault signal.

[0050] Specifically, when the error exceeds the specified range, the anomaly count is incremented by 1. Once the predetermined number of fault detections, i.e., the preset threshold, is reached, a fault signal is reported to indicate an abnormal urea consumption deviation. In practical applications, pre-stored handling measures can be implemented automatically upon triggering a fault signal. Alternatively, a fault signal can be reported, allowing staff to manually address the issue.

[0051] To improve the accuracy of the fitting relationship, the method further includes the following steps: If the absolute value of the difference is greater than or equal to the minimum permissible error or less than or equal to the maximum permissible error, the liquid injection volume is determined to be normal; the actual injection volume corresponding to the normal injection volume is used as the historical injection volume, and the actual duty cycle is used as the historical duty cycle for fitting, thereby correcting the fitting relationship. This method further uses the injection volume data and duty cycle data as historical injection volume and historical duty cycle, which can correct the fitting relationship.

[0052] In practice, the actual injection volume and actual duty cycle under normal conditions are within the allowable error range. Therefore, they can be used as historical injection volume and historical duty cycle to correct the fitted relationship.

[0053] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the liquid injection volume abnormality handling method of this application will be described in detail below with reference to specific embodiments.

[0054] This embodiment relates to a specific method for handling abnormal liquid injection volume, such as... Figure 4 As shown, it includes the following steps:

[0055] Step S1: Begin;

[0056] Step S2: Calculate the actual urea injection quantity dm (target injection quantity) and the actual duty cycle rPs of the urea pump;

[0057] Step S3: Determine whether dm is greater than dm1 (minimum injection volume). dm1 is a calibration parameter. If yes, proceed to step S4. If no, return to step S2.

[0058] Step S4: Calculate the total urea injection volume m (actual injection volume) and the cumulative actual duty cycle of the urea pump p (actual duty cycle).

[0059] Step S5: Determine whether m is greater than m1 (minimum injection accumulation), where m1 is a calibration parameter. If yes, proceed to step S6; otherwise, return to step S4.

[0060] Step S6: Based on the fitting formula Y = AX + B, where Y = p, X = m², m² is the calculated theoretical urea injection rate (theoretical injection rate), and A and B are calibration parameters, the experimental data are fitted and synthesized. The curve showing the relationship between urea injection rate and pump motor duty cycle is shown below. Figure 5 As shown, the horizontal axis represents the cumulative urea injection volume, and the vertical axis represents the cumulative urea pump duty cycle. The fitted formula is y = 3.3613x - 15.47.

[0061] Step S7: Determine whether the error △1 between m2 (theoretical injection quantity) and m (actual injection quantity) is greater than △2, where △2 is the calibrated allowable error range. If yes, proceed to step S8; otherwise, assign m and p to 0, restart the calculation, and continue to step S2.

[0062] Step S8: Increment the count of errors exceeding the range by 1;

[0063] Step S9: Determine whether the number of times the error exceeds the limit n (preset threshold). n is a calibration parameter and the minimum number of calculations to trigger the fault. If yes, proceed to step S10. If no, assign m and p to 0, restart the calculation, and continue to step S2.

[0064] Step S10: Report an abnormal urea consumption deviation fault (fault signal);

[0065] Step S11: End.

[0066] This application also provides a device for handling abnormal liquid injection volume. It should be noted that the device for handling abnormal liquid injection volume in this application can be used to execute the device for handling abnormal liquid injection volume provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0067] The following describes the liquid injection volume abnormality handling device provided in the embodiments of this application.

[0068] Figure 6 This is a schematic diagram of a liquid jet volume abnormality handling device according to an embodiment of this application. Figure 6 As shown, the device includes:

[0069] The calculation unit 10 is used to calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time when the motor injects liquid to the time when it does not inject liquid.

[0070] Specifically, the liquid mentioned above can be urea during actual vehicle operation. Since devices that determine whether the urea injection volume has deviated based on changes in the urea tank level have a time lag, meaning they can only detect the anomaly some time after it occurs. Because there is a relatively definite linear relationship between urea consumption and the duty cycle of the urea pump motor, and their relationship can be easily fitted using experimental data, this application, in order to reduce the lag time, substitutes the actual duty cycle into the aforementioned fitted relationship to obtain the theoretical injection volume. Then, it compares the theoretical injection volume with the actual injection volume to quickly and in real-time determine whether the urea injection volume is abnormal.

[0071] The first determining unit 20 is used to acquire multiple historical injection quantities and the historical duty cycle corresponding to each of the historical injection quantities, fit the historical injection quantities and the historical duty cycles to obtain the fitting relationship between the historical injection quantities and the historical duty cycles, and determine the theoretical injection quantity corresponding to the actual duty cycle based on the fitting relationship.

[0072] Specifically, to obtain the above-mentioned fitting formula, coefficients are obtained by fitting multiple historical injection volumes and the corresponding historical duty cycles for each historical injection volume, ultimately leading to the above-mentioned fitting formula. After determining the fitting formula, the theoretical injection volume corresponding to the actual duty cycle can be calculated, that is, the amount of urea that should theoretically be injected when the duty cycle is the above-mentioned actual duty cycle.

[0073] The processing unit 30 is used to calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, the processing unit 30 determines that the injection volume of the liquid is abnormal and processes the abnormal injection volume.

[0074] Specifically, after calculating the theoretical injection volume, it is compared with the actual injection volume of the motor pump. The absolute value of the difference between the two is calculated. If it is within the allowable error range, i.e., between the minimum and maximum allowable errors mentioned above, the injection volume is considered normal; otherwise, the injection volume is determined to be abnormal. After determining the abnormality, a fault signal corresponding to the abnormal injection volume is output to initiate the corresponding fault handling program or to allow manual fault handling.

[0075] This embodiment calculates the actual injection volume and actual duty cycle, fits historical injection volumes and historical duty cycles to obtain a fitting relationship between them, determines the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship, and then calculates the absolute value of the difference between the actual and theoretical injection volumes. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, an anomaly in the liquid injection volume is determined and addressed. This allows for real-time determination of whether the injection volume is abnormal based on the fitted relationship, providing high timeliness. Compared to existing technologies that determine anomalies by comparing the consumption of solution in the liquid tank, this application can determine whether anomalies have occurred in the injection volume in real time, achieving the effect of timely detection and handling of anomalies.

[0076] In its specific implementation, the aforementioned calculation unit includes a first determining module and an adding module. The first determining module acquires multiple injection quantities and their corresponding duty cycles. If the injection quantity is greater than the minimum injection quantity, the injection quantity is determined as the target injection quantity. The adding module adds the target injection quantities to obtain the actual injection quantity and adds the corresponding duty cycles to obtain the actual duty cycle. This device adds the injection quantities that meet the injection quantity conditions, thus accurately determining the actual injection quantity and avoiding significant injection quantity errors.

[0077] Specifically, after obtaining multiple injection quantities, it is determined whether they are greater than the pre-calibrated minimum injection quantity. If they are less than or equal to the minimum injection quantity, they are usually not included in the statistical range. Therefore, the data that are less than or equal to the minimum injection quantity are removed, and only the data that are greater than the minimum injection quantity are superimposed to obtain the actual injection quantity. The corresponding duty cycles are then superimposed to obtain the actual duty cycle.

[0078] To accurately obtain the aforementioned fitting relationship, in some optional embodiments, the first determining unit includes a fitting module and a second determining module. The fitting module is used to perform linear regression fitting on the historical injection volume and the historical duty cycle to obtain a first regression coefficient and a second regression coefficient. The second determining module is used to use the first regression coefficient as the coefficient of the first-order term of the linear equation and the second regression coefficient as the coefficient of the constant term of the linear equation to obtain the aforementioned fitting relationship. This device obtains the aforementioned fitting relationship through linear regression fitting, thus accurately describing the one-to-one correspondence between the injection volume and the duty cycle.

[0079] In practical implementation, a univariate linear regression fitting device can be used for fitting. Therefore, the first regression coefficient is the coefficient of the linear term, and the second regression coefficient is the coefficient of the constant term, expressed as Y = AX + B, where A is the first regression coefficient, B is the second regression coefficient, X is the historical injection volume, and Y is the historical duty cycle. In one specific implementation, A is 3.3613 and B is 15.47, and the above fitting relationship is Y = 3.3613X + 15.47. In practical applications, other feasible fitting relationships can also be used.

[0080] In some optional embodiments, the first determining unit includes a solving module for solving the linear equation using the actual duty cycle as the dependent variable to obtain the theoretical injection quantity corresponding to the actual duty cycle. The device substitutes the actual duty cycle into the fitting equation, thus accurately determining the theoretical injection quantity.

[0081] Specifically, by taking the actual duty cycle as the dependent variable Y and substituting it into the equation Y = 3.3613X + 15.47, the theoretical injection volume X can be obtained.

[0082] To satisfy the cumulative injection volume condition, the first determining unit further includes an acquisition module, used to acquire multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume when the actual injection volume is greater than the minimum cumulative injection volume. The minimum cumulative injection volume is the minimum injection volume corresponding to fault detection. When the accumulated injection volume satisfies the cumulative injection volume condition (i.e., is greater than the minimum injection volume), the device acquires historical injection volumes and historical duty cycles, and then performs a fitting test to determine if an anomaly is present. This allows fault detection to be performed only after the injection volume has accumulated to the minimum injection volume corresponding to fault detection, avoiding inaccurate detection results.

[0083] In the specific implementation process, the above multiple injection quantities are accumulated until the minimum injection accumulation quantity specified by the fault detection is reached. The minimum injection accumulation quantity can be obtained through pre-calibration. Then, the historical injection quantity and historical duty cycle are obtained, fitted, and it is determined whether the injection quantity has become abnormal.

[0084] In some optional embodiments, the processing unit includes a calculation module and a processing module. The calculation module increments the number of abnormalities by 1, where the number of abnormalities represents the total number of times the liquid injection volume is abnormal. The processing module outputs a fault signal when the number of abnormalities is greater than or equal to a preset threshold, and processes the injection volume abnormality according to the fault signal, where the fault signal is a signal indicating a malfunction in the motor that injects the liquid. When an abnormality occurs, the device accumulates the number of abnormalities, and when the accumulation reaches a certain level, i.e., the preset threshold, it outputs a fault signal, thus enabling corresponding processing based on the fault signal.

[0085] Specifically, when the error exceeds the specified range, the anomaly count is incremented by 1. Once the predetermined number of fault detections, i.e., the preset threshold, is reached, a fault signal is reported to indicate an abnormal urea consumption deviation. In practical applications, pre-stored handling measures can be implemented automatically upon triggering a fault signal. Alternatively, a fault signal can be reported, allowing staff to manually address the issue.

[0086] To improve the accuracy of the fitting relationship, the device further includes a second determining unit and a third determining unit. The second determining unit is used to determine that the liquid injection volume is normal when the absolute value of the difference is greater than or equal to the minimum permissible error or less than or equal to the maximum permissible error. The third determining unit is used to fit the actual injection volume corresponding to the normal injection volume as the historical injection volume and the actual duty cycle as the historical duty cycle to correct the fitting relationship. This device further uses the injection volume data and duty cycle data as historical injection volume and historical duty cycle, thus correcting the fitting relationship.

[0087] In practice, the actual injection volume and actual duty cycle under normal conditions are within the allowable error range. Therefore, they can be used as historical injection volume and historical duty cycle to correct the fitted relationship.

[0088] The aforementioned device for handling abnormal liquid injection volume includes a processor and a memory. The aforementioned calculation unit, first determination unit, and processing unit are all stored as program units in the memory, and the processor executes the aforementioned program units stored in the memory to achieve the corresponding functions. All of the aforementioned modules are located in the same processor; alternatively, the aforementioned modules may be located in different processors in any combination.

[0089] The processor contains a kernel, which retrieves the corresponding program unit from memory. One or more kernels can be configured, and adjusting kernel parameters can improve the timeliness of methods for detecting abnormal liquid injection volumes.

[0090] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0091] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the liquid injection volume abnormality handling method.

[0092] Specifically, the methods for handling abnormal liquid injection volume include:

[0093] Step S201: Calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid.

[0094] Specifically, the liquid mentioned above can be urea during actual vehicle operation. However, judging whether the urea injection volume has deviated based on changes in the urea tank level has a time lag, meaning it can only be detected some time after the anomaly occurs. Since there is a relatively definite linear relationship between urea consumption and the duty cycle of the urea pump motor, and their relationship can be easily fitted using experimental data, this application, to reduce the lag time, substitutes the actual duty cycle into the above-mentioned fitted relationship to obtain the theoretical injection volume. Then, the theoretical injection volume is compared with the actual injection volume to quickly and in real-time determine whether the urea injection volume is abnormal.

[0095] Step S202: Obtain multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume; fit the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle; and determine the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship.

[0096] Specifically, to obtain the above-mentioned fitting formula, coefficients are obtained by fitting multiple historical injection volumes and the corresponding historical duty cycles for each historical injection volume, ultimately leading to the above-mentioned fitting formula. After determining the fitting formula, the theoretical injection volume corresponding to the actual duty cycle can be calculated, that is, the amount of urea that should theoretically be injected when the duty cycle is the above-mentioned actual duty cycle.

[0097] Step S203: Calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, determine that the injection volume of the liquid is abnormal and process the abnormal injection volume.

[0098] Specifically, after calculating the theoretical injection volume, it is compared with the actual injection volume of the motor pump. The absolute value of the difference between the two is calculated. If it is within the allowable error range, i.e., between the minimum and maximum allowable errors mentioned above, the injection volume is considered normal; otherwise, the injection volume is determined to be abnormal. After determining the abnormality, a fault signal corresponding to the abnormal injection volume is output to initiate the corresponding fault handling program or to allow manual fault handling.

[0099] Optionally, calculating the actual injection quantity and the actual duty cycle includes: obtaining multiple injection quantities and the duty cycle corresponding to each of the above injection quantities; determining the above injection quantity as the target injection quantity when the above injection quantity is greater than the minimum injection quantity; adding the above target injection quantities to obtain the above actual injection quantity; and adding the duty cycles corresponding to the above target injection quantities to obtain the above actual duty cycle.

[0100] Optionally, fitting the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle includes: performing linear regression fitting on the historical injection volume and the historical duty cycle to obtain a first regression coefficient and a second regression coefficient; using the first regression coefficient as the coefficient of the first-order term of the linear equation and the second regression coefficient as the coefficient of the constant term of the linear equation to obtain the fitting relationship.

[0101] Optionally, determining the theoretical injection quantity corresponding to the actual duty cycle based on the above fitting relationship includes: taking the actual duty cycle as the dependent variable, solving the above linear equation, and obtaining the theoretical injection quantity corresponding to the actual duty cycle.

[0102] Optionally, obtaining multiple historical injection quantities and the historical duty cycle corresponding to each of the aforementioned historical injection quantities includes: when the actual injection quantity is greater than the minimum injection accumulation quantity, obtaining multiple of the aforementioned historical injection quantities and the historical duty cycle corresponding to each of the aforementioned historical injection quantities, wherein the aforementioned minimum injection accumulation quantity is the minimum injection quantity corresponding to fault detection.

[0103] Optionally, processing the above-mentioned abnormal injection volume includes: incrementing the abnormality count by 1, wherein the abnormality count represents the total number of times the above-mentioned liquid injection volume is abnormal; if the abnormality count is greater than or equal to a preset threshold, outputting a fault signal, and processing the above-mentioned abnormal injection volume according to the fault signal, wherein the fault signal is a signal indicating that the motor spraying the above-mentioned liquid has malfunctioned.

[0104] Optionally, the above method further includes: determining that the injection volume of the liquid is normal when the absolute value of the difference is greater than or equal to the minimum permissible error or less than or equal to the maximum permissible error; fitting the actual injection volume corresponding to the normal injection volume as the historical injection volume and the actual duty cycle as the historical duty cycle to correct the fitting relationship.

[0105] This invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:

[0106] Step S201: Calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid.

[0107] Step S202: Obtain multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume; fit the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle; and determine the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship.

[0108] Step S203: Calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, determine that the injection volume of the liquid is abnormal and process the abnormal injection volume.

[0109] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.

[0110] Optionally, calculating the actual injection quantity and the actual duty cycle includes: obtaining multiple injection quantities and the duty cycle corresponding to each of the above injection quantities; determining the above injection quantity as the target injection quantity when the above injection quantity is greater than the minimum injection quantity; adding the above target injection quantities to obtain the above actual injection quantity; and adding the duty cycles corresponding to the above target injection quantities to obtain the above actual duty cycle.

[0111] Optionally, fitting the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle includes: performing linear regression fitting on the historical injection volume and the historical duty cycle to obtain a first regression coefficient and a second regression coefficient; using the first regression coefficient as the coefficient of the first-order term of the linear equation and the second regression coefficient as the coefficient of the constant term of the linear equation to obtain the fitting relationship.

[0112] Optionally, determining the theoretical injection quantity corresponding to the actual duty cycle based on the above fitting relationship includes: taking the actual duty cycle as the dependent variable, solving the above linear equation, and obtaining the theoretical injection quantity corresponding to the actual duty cycle.

[0113] Optionally, obtaining multiple historical injection quantities and the historical duty cycle corresponding to each of the aforementioned historical injection quantities includes: when the actual injection quantity is greater than the minimum injection accumulation quantity, obtaining multiple of the aforementioned historical injection quantities and the historical duty cycle corresponding to each of the aforementioned historical injection quantities, wherein the aforementioned minimum injection accumulation quantity is the minimum injection quantity corresponding to fault detection.

[0114] Optionally, processing the above-mentioned abnormal injection volume includes: incrementing the abnormality count by 1, wherein the abnormality count represents the total number of times the above-mentioned liquid injection volume is abnormal; if the abnormality count is greater than or equal to a preset threshold, outputting a fault signal, and processing the above-mentioned abnormal injection volume according to the fault signal, wherein the fault signal is a signal indicating that the motor spraying the above-mentioned liquid has malfunctioned.

[0115] Optionally, the above method further includes: determining that the injection volume of the liquid is normal when the absolute value of the difference is greater than or equal to the minimum permissible error or less than or equal to the maximum permissible error; fitting the actual injection volume corresponding to the normal injection volume as the historical injection volume and the actual duty cycle as the historical duty cycle to correct the fitting relationship.

[0116] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0117] Step S201: Calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid.

[0118] Step S202: Obtain multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume; fit the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle; and determine the theoretical injection volume corresponding to the actual duty cycle based on the fitting relationship.

[0119] Step S203: Calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, determine that the injection volume of the liquid is abnormal and process the abnormal injection volume.

[0120] Optionally, calculating the actual injection quantity and the actual duty cycle includes: obtaining multiple injection quantities and the duty cycle corresponding to each of the above injection quantities; determining the above injection quantity as the target injection quantity when the above injection quantity is greater than the minimum injection quantity; adding the above target injection quantities to obtain the above actual injection quantity; and adding the duty cycles corresponding to the above target injection quantities to obtain the above actual duty cycle.

[0121] Optionally, fitting the historical injection volume and the historical duty cycle to obtain the fitting relationship between the historical injection volume and the historical duty cycle includes: performing linear regression fitting on the historical injection volume and the historical duty cycle to obtain a first regression coefficient and a second regression coefficient; using the first regression coefficient as the coefficient of the first-order term of the linear equation and the second regression coefficient as the coefficient of the constant term of the linear equation to obtain the fitting relationship.

[0122] Optionally, determining the theoretical injection quantity corresponding to the actual duty cycle based on the above fitting relationship includes: taking the actual duty cycle as the dependent variable, solving the above linear equation, and obtaining the theoretical injection quantity corresponding to the actual duty cycle.

[0123] Optionally, obtaining multiple historical injection quantities and the historical duty cycle corresponding to each of the aforementioned historical injection quantities includes: when the actual injection quantity is greater than the minimum injection accumulation quantity, obtaining multiple of the aforementioned historical injection quantities and the historical duty cycle corresponding to each of the aforementioned historical injection quantities, wherein the aforementioned minimum injection accumulation quantity is the minimum injection quantity corresponding to fault detection.

[0124] Optionally, processing the above-mentioned abnormal injection volume includes: incrementing the abnormality count by 1, wherein the abnormality count represents the total number of times the above-mentioned liquid injection volume is abnormal; if the abnormality count is greater than or equal to a preset threshold, outputting a fault signal, and processing the above-mentioned abnormal injection volume according to the fault signal, wherein the fault signal is a signal indicating that the motor spraying the above-mentioned liquid has malfunctioned.

[0125] Optionally, the above method further includes: determining that the injection volume of the liquid is normal when the absolute value of the difference is greater than or equal to the minimum permissible error or less than or equal to the maximum permissible error; fitting the actual injection volume corresponding to the normal injection volume as the historical injection volume and the actual duty cycle as the historical duty cycle to correct the fitting relationship.

[0126] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0127] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0128] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0129] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0130] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0131] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0132] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0133] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0134] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0135] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0136] 1) In the method for handling abnormal liquid injection volume of this application, the actual injection volume and the actual duty cycle are calculated. The historical injection volume and the historical duty cycle are fitted to obtain a fitting relationship between the historical injection volume and the historical duty cycle. Based on the fitting relationship, the theoretical injection volume corresponding to the actual duty cycle is determined. Then, the absolute value of the difference between the actual injection volume and the theoretical injection volume is calculated. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, the liquid injection volume is determined to be abnormal, and processing is carried out. This allows for real-time determination of whether the injection volume is abnormal based on the fitted relationship, providing high timeliness. Compared with the prior art method of determining abnormality by comparing the consumption of solution in the liquid tank, this application can determine whether the injection volume is abnormal in real time, achieving the effect of timely detection and processing of abnormalities.

[0137] 2) In the liquid injection volume anomaly processing device of this application, the actual injection volume and actual duty cycle are calculated, and the historical injection volume and historical duty cycle are fitted to obtain the fitting relationship between the historical injection volume and historical duty cycle. Based on the fitting relationship, the theoretical injection volume corresponding to the actual duty cycle is determined. Then, the absolute value of the difference between the actual injection volume and the theoretical injection volume is calculated. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, the liquid injection volume is determined to be abnormal, and processing is carried out. In this way, it is possible to determine whether the injection volume is abnormal in real time based on the fitted relationship obtained, which has high timeliness. Compared with the prior art, which determines whether there is an anomaly by comparing the consumption of solution in the liquid tank, this application can determine whether the injection volume is abnormal in real time, achieving the effect of timely detection and processing of anomalies.

[0138] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for handling abnormal liquid injection volume, characterized in that, include: Calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid; Multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume are obtained. The historical injection volumes and the historical duty cycles are fitted to obtain the fitting relationship between the historical injection volumes and the historical duty cycles. The theoretical injection volume corresponding to the actual duty cycle is determined based on the fitting relationship. Calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, determine that the liquid injection volume is abnormal, and handle the abnormal injection volume. Calculate the actual injection volume and actual duty cycle, including: Obtain multiple injection quantities and the duty cycle corresponding to each injection quantity; if the injection quantity is greater than a pre-calibrated minimum injection quantity, determine the injection quantity as the target injection quantity. The target injection quantities are added together to obtain the actual injection quantity, and the duty cycles corresponding to the target injection quantities are added together to obtain the actual duty cycle. Obtaining multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume includes: When the actual injection volume is greater than the pre-calibrated minimum injection accumulation, multiple historical injection volumes and the historical duty cycle corresponding to each historical injection volume are obtained, wherein the minimum injection accumulation is the minimum injection volume corresponding to fault detection.

2. The processing method according to claim 1, characterized in that, The historical injection volume and the historical duty cycle are fitted to obtain the fitting relationship between the historical injection volume and the historical duty cycle, including: The historical injection volume and the historical duty cycle are subjected to linear regression fitting to obtain the first regression coefficient and the second regression coefficient; The first regression coefficient is used as the coefficient of the first-order term of the linear equation, and the second regression coefficient is used as the coefficient of the constant term of the linear equation to obtain the fitting relationship.

3. The processing method according to claim 2, characterized in that, Determining the theoretical injection quantity corresponding to the actual duty cycle based on the fitting relationship includes: By using the actual duty cycle as the dependent variable and solving the linear equation, the theoretical injection quantity corresponding to the actual duty cycle is obtained.

4. The processing method according to claim 1, characterized in that, The handling of the abnormal injection volume includes: Increment the number of anomalies by 1, where the number of anomalies represents the total number of times the liquid injection volume is abnormal; If the number of abnormal events is greater than or equal to a preset threshold, a fault signal is output, and the abnormal injection volume is processed according to the fault signal, wherein the fault signal is a signal indicating that the motor spraying the liquid has malfunctioned.

5. The processing method according to claim 1, characterized in that, The method further includes: If the absolute value of the difference is greater than or equal to the minimum permissible error and less than or equal to the maximum permissible error, the liquid injection volume is determined to be normal. The actual injection volume corresponding to the normal injection volume is used as the historical injection volume, and the actual duty cycle is used as the historical duty cycle for fitting, so as to correct the fitting relationship.

6. An apparatus for handling abnormal liquid injection volume when performing the method according to any one of claims 1 to 5, characterized in that, include: A calculation unit is used to calculate the actual injection volume and the actual duty cycle, wherein the actual duty cycle is the ratio of the time the motor injects liquid to the time it does not inject liquid; The first determining unit is used to acquire multiple historical injection quantities and the historical duty cycle corresponding to each historical injection quantity, fit the historical injection quantity and the historical duty cycle to obtain the fitting relationship between the historical injection quantity and the historical duty cycle, and determine the theoretical injection quantity corresponding to the actual duty cycle based on the fitting relationship. The processing unit is used to calculate the absolute value of the difference between the actual injection volume and the theoretical injection volume. If the absolute value of the difference is less than the minimum permissible error or greater than the maximum permissible error, the unit determines that the injection volume of the liquid is abnormal and processes the abnormal injection volume.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the processing method according to any one of claims 1 to 5.

8. An electronic device, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing the processing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Engine control apparatus

    CN106014663A

  • Control method for fuel injection amount of methanol engine, electric control unit and vehicle

    CN109915271A