CN115270476A - XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium - Google Patents

XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium Download PDF

Info

Publication number
CN115270476A
CN115270476A CN202210918401.XA CN202210918401A CN115270476A CN 115270476 A CN115270476 A CN 115270476A CN 202210918401 A CN202210918401 A CN 202210918401A CN 115270476 A CN115270476 A CN 115270476A
Authority
CN
China
Prior art keywords
carbon loading
loading capacity
dpf
engine
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210918401.XA
Other languages
Chinese (zh)
Inventor
闫方超
任进
郭行龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Bool Technology Co ltd
Original Assignee
Tianjin Bool Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Bool Technology Co ltd filed Critical Tianjin Bool Technology Co ltd
Priority to CN202210918401.XA priority Critical patent/CN115270476A/en
Publication of CN115270476A publication Critical patent/CN115270476A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processes For Solid Components From Exhaust (AREA)

Abstract

The application relates to the technical field of diesel vehicle emission monitoring, in particular to a DPF carbon loading capacity prediction method, a DPF carbon loading capacity prediction device and a DPF carbon loading capacity prediction storage medium based on an XGBOOST algorithm, wherein state data of an engine are collected through a method name, and the state data comprises the carbon loading capacity, engine oil pressure, accumulated mileage and accumulated fuel consumption; calculating the mean value, the variance and the skewness of the carbon loading capacity in a preset time period before each historical moment, the kurtosis of the engine oil pressure, the logarithmic value of the accumulated fuel consumption and the logarithmic value of the accumulated mileage at each historical moment, and generating a sample data set; dividing a sample data set into a training set and a testing set, training an XGB OST algorithm model by using the training set, and testing the prediction performance of the XGB OST algorithm model by using the testing set to obtain a DPF carbon loading capacity prediction model; and predicting the carbon load of the engine at the current and future moments according to the state data and the DPF carbon load prediction model. The method can predict the carbon loading capacity of the engine at the future moment in advance so as to conveniently and reasonably arrange the stopping time to carry out active DPF regeneration or ash removal.

Description

XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium
Technical Field
The application relates to the technical field of diesel vehicle emission monitoring, in particular to a method and a device for predicting DPF carbon loading capacity based on an XGB OST algorithm and a storage medium.
Background
One part of the air pollution sources are from diesel engine vehicles, the pollutants of a diesel engine mainly comprise particulate matters and nitrogen oxides, the diesel engine postprocessor mainly treats the particulate matters through the DPF, the DPF is a physical filter, the DPF can be blocked and loses effect along with different use time, the DPF needs to be cleaned after being blocked to recover the function, and the process is also called as DPF regeneration.
The installation of a particulate trap (DPF) on a diesel engine, trapping the particulates and burning them for regeneration at the right moment (carbon loading reaches a certain threshold) is an important technical approach to reduce the particulate emissions of diesel engines at present. The particulate trap collects more and more soot (carbon particles) which slowly results in high exhaust back pressure affecting the engine power.
Disclosure of Invention
In order to solve the technical problems mentioned in the background art or at least partially solve the technical problems, the application provides a DPF carbon loading capacity prediction method, device and storage medium based on an XGBOOST algorithm, which can predict the carbon loading capacity of an engine at a future time in advance so as to reasonably arrange a parking time for active DPF regeneration or ash removal.
In order to solve the above problems, the technical solution proposed by the present invention is as follows:
in a first aspect, the application provides a DPF carbon loading prediction method based on an XGBOOST algorithm, including:
acquiring state data of the engine, and carrying out preprocessing of aggregation calculation on the state data according to an average value;
calculating the mean value, the variance and the skewness of the carbon loading capacity in a preset time period before each historical moment, the kurtosis of the engine oil pressure, the logarithm value of the accumulated fuel consumption and the logarithm value of the accumulated mileage at each historical moment, and generating a sample data set;
dividing the sample data set into a training set and a testing set, training the XGB OST algorithm model by using the training set, and testing the prediction performance of the XGB OST algorithm model by using the testing set to obtain a DPF carbon loading capacity prediction model;
and predicting the carbon load of the engine at the current and future moments according to the state data and the DPF carbon load prediction model.
Preferably, the status data includes a carbon load, an oil pressure, a cumulative mileage, and a cumulative fuel consumption.
Preferably, the sample data set is divided into a training set and a test set according to time sequence, and the data proportion of the training set to the test set is 8:2.
preferably, the characteristic values and the target values of the training set are put into an XGBOOST algorithm model for training, and the mean square error minimization is used as an optimization target.
In a second aspect, the application further provides a DPF carbon loading prediction device based on an XGBOOST algorithm, including:
a memory for storing program instructions;
a processor for invoking the program instructions stored in the memory to implement the XGBOOST algorithm based DPF carbon loading prediction method according to any aspect of the first aspect.
In a third aspect, the present application further provides a computer readable storage medium storing program code for implementing the XGBOOST algorithm based DPF carbon loading prediction method according to any aspect of the first aspect.
Advantageous effects
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
1. the XGBOOST algorithm is applied to the carbon loading prediction of the engine, and the model is established based on the XGBOOST algorithm, so that the method is more flexible and effective than a neural network, relatively higher in accuracy and higher in calculation speed. The XGB OST algorithm model is trained by the training set with the aim of minimizing mean square error, the XGB OST algorithm model is tested and verified by the testing set, and the DPF carbon loading capacity prediction model which is well trained and optimized is obtained if the error is within a preset range. Specifically, the acquired state data are calculated to obtain characteristic data of multiple dimensions, namely the average value, the variance and the skewness of the carbon load, and the data of the average value trend, the volatility and the deviation of the carbon load, and the logarithm values of the kurtosis, the accumulated mileage and the accumulated fuel consumption of the engine oil are used as characteristic data input models to train and calculate, so that the accuracy and the prediction capability of carbon load prediction are improved.
2. The trained DPF carbon loading capacity prediction model is used for predicting the carbon loading capacity of the engine at the current moment and the future moment, a driver can make a plan of static regeneration in advance, the vehicle can be stopped at a proper time to carry out active DPF regeneration or ash removal, the vehicle can be prevented from stopping in time due to overhigh carbon loading capacity in the high-speed or driving process, accumulated impurities can be removed in time, the damage of DPF assembly due to blockage caused by DPF blockage is avoided (after the system detects that the DPF is blocked, the system can automatically intervene the work of the engine, the torque is limited, the power is reduced and raised, and even the DPF assembly is directly damaged), the smooth exhaust of the engine can be guaranteed, and the power of the engine can be kept well.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic flow chart of a DPF carbon loading amount prediction method based on an XGBOOST algorithm according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a DPF carbon loading amount prediction device based on an XGBOOST algorithm according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, for convenience of understanding, details of a DPF carbon loading prediction method, a DPF carbon loading prediction device and a storage medium based on an XGBOOST algorithm provided in an embodiment of the present application are described below, where the DPF carbon loading prediction method based on the XGBOOST algorithm includes the following steps:
step S1, collecting state data of an engine, wherein the state data comprises carbon capacity, engine oil pressure, accumulated mileage and accumulated fuel consumption;
s2, calculating the mean value, the variance and the skewness of the carbon loading capacity in a preset time interval before each historical moment, the kurtosis of the engine oil pressure, the logarithm value of the accumulated fuel consumption and the logarithm value of the accumulated mileage at each historical moment, and generating a sample data set according to the calculation result;
s3, dividing a sample data set into a training set and a testing set, training the XGB OST algorithm model by using the training set, and testing the prediction performance of the XGB OST algorithm model by using the testing set to obtain a DPF carbon loading capacity prediction model;
and S4, predicting the carbon load of the engine at the current and future moments according to the state data and the DPF carbon load prediction model.
Acquiring state data of an engine at a historical moment and state data of an engine at a current moment through the step S1; generating a sample data set according to the state data of the historical moment, dividing the sample data set into a training set and a testing set, training a pre-built XGB OST algorithm model by using the training set, testing and verifying the trained model by using the testing set, and determining that the training is optimized when the error is within a preset range to obtain the DPF carbon loading capacity prediction model. The current-time state data is input into the DPF carbon loading prediction model, and the carbon loading of the engine at the future time is output.
In some embodiments of the present application, the sample data set is divided into a training set and a test set in chronological order. The ratio of training set to test set is 8 to 2.
In some embodiments of the present application, before calculating the average, the variance, the skewness of the carbon loading, the kurtosis of the oil pressure, and the logarithm of the cumulative fuel consumption and the logarithm of the cumulative mileage at each historical time in the preset time interval before each historical time, a preprocessing process of performing aggregation calculation on the state data according to the average is further included.
In some embodiments of the present application, the carbon load, oil pressure, mileage, fuel consumption data of the engine are collected continuously at a 1Hz fetch frequency. In order to prevent data loss (data loss caused by data packet loss), the second-level data is aggregated into minute-level data according to the mean value so as to ensure the continuity of the data and improve the accuracy of data acquisition, the aggregated data calculates the mean value, the variance, the skewness and the kurtosis of the data within the range of 24 hours before each moment, the kurtosis of the engine oil pressure, the accumulated fuel consumption and the accumulated mileage are logarithmic values (the logarithm is an absolute value for reducing the accumulated mileage and the accumulated fuel consumption so as to facilitate calculation and improve the sensitivity of the data).
In some embodiments of the present application, the XGBOOST algorithm model is trained using a training set with a mean square error minimization as an optimization objective. And putting the characteristic values and the target values of the training set into a model for training, wherein the target is to minimize the mean square error.
Example two
Referring to fig. 2, there is also provided a DPF carbon loading prediction device 10 based on the XGBOOST algorithm, comprising:
a memory 101 for storing program instructions;
a processor 102 for invoking program instructions stored in memory to implement the XGBOOST algorithm based DPF carbon loading prediction method as any of the embodiments described above.
EXAMPLE III
A computer readable storage medium is also provided, having stored program code for implementing the XGBOOST algorithm based DPF carbon loading prediction method as any of the embodiments described above.
The XGBOOST algorithm is applied to the carbon loading prediction of the engine, and the model is established based on the XGBOOST algorithm, so that the method is more flexible and effective than a neural network, relatively higher in accuracy and higher in calculation speed.
The XGB OST algorithm model is trained by the training set with the aim of minimizing mean square error, the XGB OST algorithm model is tested and verified by the testing set, and the DPF carbon loading capacity prediction model which is well trained and optimized is obtained if the error is within a preset range. Specifically, the acquired state data are calculated to obtain characteristic data of multiple dimensions, namely the average value, the variance and the skewness of the carbon load, and the data of the average value trend, the volatility and the deviation of the carbon load, and the logarithm values of the kurtosis, the accumulated mileage and the accumulated fuel consumption of the engine oil are used as characteristic data input models to train and calculate, so that the accuracy and the prediction capability of carbon load prediction are improved.
The trained DPF carbon loading capacity prediction model is used for predicting the carbon loading capacity of the engine at the current moment and the future moment, a driver can make a plan for stopping DPF regeneration in advance, the problem that the carbon loading capacity of the vehicle is too high in the high speed or driving process to cause DPF faults is prevented, the vehicle can be stopped in time to conduct active DPF regeneration or ash removal, accumulated impurities are removed in time, the problems that the DPF is blocked to cause torque limitation, power is reduced, oil consumption is increased and the like are avoided, even the DPF assembly is directly damaged, the engine is guaranteed to exhaust smoothly, the faults are reduced, and the service life is prolonged.
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A DPF carbon loading capacity prediction method based on an XGBOOST algorithm is characterized by comprising the following steps:
acquiring state data of the engine, and carrying out preprocessing of aggregation calculation on the state data according to an average value;
calculating the mean value, the variance and the skewness of the carbon loading capacity in a preset time period before each historical moment, the kurtosis of the engine oil pressure, the logarithmic value of the accumulated fuel consumption and the logarithmic value of the accumulated mileage at each historical moment, and generating a sample data set;
dividing the sample data set into a training set and a testing set, training the XGB OST algorithm model by using the training set, and testing the prediction performance of the XGB OST algorithm model by using the testing set to obtain a DPF carbon loading capacity prediction model;
and predicting the carbon load of the engine at the current and future moments according to the state data and the DPF carbon load prediction model.
2. The XGB OST algorithm-based DPF carbon loading prediction method as recited in claim 1, wherein said status data comprises carbon loading, oil pressure, accumulated mileage and accumulated fuel consumption.
3. The XGB OST algorithm-based DPF carbon loading capacity prediction method as claimed in claim 1, wherein the sample data set is divided into a training set and a test set according to time sequence, and the ratio of data in the training set to data in the test set is 8:2.
4. the XGB OST algorithm-based DPF carbon loading prediction method as claimed in claim 1, wherein the feature values and target values of the training set are put into an XGB OST algorithm model for training, and the mean square error is minimized as an optimization target.
5. A DPF carbon loading capacity prediction device based on an XGB OST algorithm is characterized by comprising the following components:
a memory for storing program instructions;
a processor for invoking the program instructions stored in the memory to implement the XGB OST algorithm based DPF carbon loading prediction method of any one of claims 1-4.
6. A computer-readable storage medium characterized in that the computer-readable storage medium stores program code for implementing the XGBOOST algorithm based DPF carbon loading prediction method according to any one of claims 1 to 4.
CN202210918401.XA 2022-08-01 2022-08-01 XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium Pending CN115270476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210918401.XA CN115270476A (en) 2022-08-01 2022-08-01 XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210918401.XA CN115270476A (en) 2022-08-01 2022-08-01 XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium

Publications (1)

Publication Number Publication Date
CN115270476A true CN115270476A (en) 2022-11-01

Family

ID=83747910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210918401.XA Pending CN115270476A (en) 2022-08-01 2022-08-01 XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium

Country Status (1)

Country Link
CN (1) CN115270476A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117854636A (en) * 2024-03-07 2024-04-09 西南林业大学 Method for predicting emission quantity of particulate matters in transient process of diesel vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117854636A (en) * 2024-03-07 2024-04-09 西南林业大学 Method for predicting emission quantity of particulate matters in transient process of diesel vehicle
CN117854636B (en) * 2024-03-07 2024-04-30 西南林业大学 Method for predicting emission quantity of particulate matters in transient process of diesel vehicle

Similar Documents

Publication Publication Date Title
CN114048591A (en) XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium
CN107208512B (en) Internal combustion engine and method for estimating amount of component of exhaust gas
CN108223060B (en) Particulate matter trap monitoring system and method
DE102010017308A1 (en) Preventing underestimation of soot load on diesel particulate filters by detecting soot retention
CN113530656B (en) DPF fault monitoring method and device
CN114087058B (en) Method and system for detecting DPF overload
DE102014109511A1 (en) Monitoring the performance of a particulate filter
CN112282905B (en) DPF carbon loading capacity estimation method and device
CN115270476A (en) XGBOOST algorithm-based DPF carbon loading capacity prediction method and device and storage medium
CN111022155A (en) Method for diagnosing overhigh regeneration frequency of diesel particulate filter
CN113565610A (en) Method for judging working state of diesel vehicle particle catcher
DE102019107947B4 (en) MISFIRING DETECTION DEVICE FOR AN INTERNAL COMBUSTION ENGINE
CN112127979B (en) Regeneration method and system of particulate matter catcher, engine and motor vehicle
CN112414717A (en) Test method for engine oil dilution by post-injection fuel oil of engine
CN114508407B (en) Method and device for determining DPF removal
CN115405404A (en) Construction method and device of Soot original emission model and engine aftertreatment system
CN113090368B (en) Regeneration control method and controller for exhaust gas particulate filter, engine and vehicle
CN115063050A (en) Heavy diesel vehicle NOx emission list determining method based on big data
CN110714822B (en) Control method and control system for DPF regeneration
CN113686585B (en) Vehicle emission monitoring method, device, computer equipment and storage medium
CN110005509A (en) For detecting the method and system of the particle object amount of diesel particulate filters capture
CN112611578A (en) Function test method and system for vehicle diagnosis and diagnosis equipment
DE102020200085A1 (en) DEVICE AND METHOD FOR CONTROLLING A HEATING CATALYST TEMPERATURE BASED ON A FORECASTING MODEL OF UNBURNED HYDROCARBON IN A HEATING CATALYST
KR100820415B1 (en) Regeneration method of diesel particulate filter
CN117569905B (en) DPF fault monitoring method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination