Virtual connection fault processing method, system and device, storage medium and program product
By detecting the voltage change gradient value and temperature value of the temperature sensor, and using the preset parameter table and model to calculate the temperature, the problem of virtual connection failure in the engine after-treatment device is solved, and the accuracy and reliability of exhaust gas treatment are improved.
Patent Information
- Application Number
- CN202410830236.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-06
AI Technical Summary
The temperature sensor in the engine after-treatment device is prone to virtual connection failure under the influence of vibration, high temperature and other factors, resulting in reduced exhaust gas treatment efficiency.
By detecting the voltage change gradient value and the average temperature value of the target temperature sensor in each sampling period, the virtual connection fault is determined, and the preset test parameter table and model are used to calculate the temperature, and the operating parameters of the post-processing device are adjusted to ensure a fault-free state. The following parameter relationships are used to improve the accuracy of virtual connection fault detection and processing.
The detection accuracy and processing accuracy of virtual connection faults are improved, the reduction in exhaust gas treatment efficiency caused by virtual connection faults is avoided, and the reliability of the post-processing device is enhanced.
Smart Images

Figure CN118601718A
Abstract
Description
Technical Field
[0001] The present application relates to the field of engine post-processing control technology, and in particular to a virtual connection fault processing method, system, device, storage medium and program product. Background Art
[0002] The post-treatment device refers to a device that treats the engine exhaust gas to reduce the concentration of pollutants in the engine exhaust gas. Common post-treatment devices are composed of a diesel oxidation catalyst (DOC), a wall-flow particulate filter (DPF) and a selective catalytic reduction (SCR). In the process of the post-treatment device treating the engine exhaust gas, the engine exhaust gas temperature is an important parameter that directly affects the reliability of the post-treatment device on the engine exhaust gas.
[0003] The existing engine exhaust gas temperature is collected by temperature sensors deployed between various components of the post-processing device. The above temperature sensor is connected to the interface of the control system through a connecting device (such as a wiring harness and a connector), and sends the collected temperature to the control system so that the control system controls the various components of the post-processing device to perform the corresponding engine exhaust gas treatment process. However, under the influence of many factors such as vibration, high temperature, and aging, the connection between the above connecting device and the interface is prone to loosening, causing a false connection failure of the temperature sensor. Summary of the invention
[0004] In view of the above problems, the present application provides a method, system, device, storage medium and program product for handling virtual connection faults, so as to achieve the purpose of detecting and handling the virtual connection faults of temperature sensors. The specific scheme is as follows:
[0005] The first aspect of the present application provides a virtual connection fault processing method, comprising:
[0006] Based on the operating voltage of the target temperature sensor in each sampling period, a voltage change gradient value corresponding to each sampling period is obtained, and based on the temperature value of the target temperature sensor in each sampling period, an average value of the temperature value corresponding to each sampling period is calculated;
[0007] For each of the sampling periods: based on the voltage change gradient value and the temperature value average value of the sampling period, the target temperature sensor is subjected to virtual connection fault detection, and when the virtual connection fault detection result is a virtual connection, the time of outputting the virtual connection fault detection result is determined as the change time;
[0008] Based on the engine parameter group and the environmental parameter group at the time of the change, a preset test parameter table is looked up to obtain a basic model parameter group and a modified model parameter group, and the basic model parameter group and the modified model parameter group are input into a preset temperature calculation model to obtain the model calculation temperature at the time of the change output by the preset temperature calculation model, wherein the preset test parameter table stores engine parameters, environmental parameters, basic temperature parameters, modified parameters and corresponding relationships between the parameters of the engine at various operating times and various environmental conditions in a fault-free test state;
[0009] The target post-processing device component corresponding to the target temperature sensor is controlled to operate according to the temperature calculated by the model.
[0010] In a possible implementation, the performing virtual connection fault detection on the target temperature sensor based on the voltage change gradient value and the temperature value average value in the sampling period includes:
[0011] When the voltage change gradient value of the sampling period is greater than a first preset threshold value, the target post-processing device is controlled to operate for a preset time according to the temperature value average corresponding to an adjacent sampling period before the sampling period, and the virtual connection fault detection is performed based on the voltage change gradient value and the temperature value average of each sampling period within the preset time;
[0012] At the end of the preset time, determine whether there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time, and if so, output a virtual connection fault detection result of virtual connection;
[0013] In the case that there is no sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time period, the output content is a virtual connection fault detection result indicating that there is no virtual connection fault.
[0014] In a possible implementation, the step of performing a table lookup operation on a preset test parameter table based on the engine parameter group and the environmental parameter group at the change time to obtain a basic model parameter group and a modified model parameter group includes:
[0015] A table lookup operation is performed on a preset test parameter table based on the engine parameter group and the environmental parameter group at the change time. Through the table lookup operation, a basic filtering time, a basic model temperature and a model correction temperature having the corresponding relationship with the engine speed and the fuel injection amount are obtained, a filtering correction time having the corresponding relationship with the exhaust mass flow is obtained, an ambient temperature correction parameter having the corresponding relationship with the ambient temperature is obtained, and a vehicle speed correction parameter having the corresponding relationship with the vehicle speed is obtained, wherein the engine speed, the fuel injection amount and the exhaust mass flow are parameters in the engine parameter group, the ambient temperature and the vehicle speed are parameters in the environmental parameter group, the basic filtering time and the basic model temperature are parameters in the basic model parameter group, and the model correction temperature, the filtering correction time, the ambient temperature correction parameter and the vehicle speed correction parameter are parameters in the correction model parameter group.
[0016] In a possible implementation, the process of obtaining the model calculation temperature at the change time by the preset temperature calculation model according to the basic model parameter group and the modified model parameter group includes:
[0017] The preset temperature calculation model determines the sum of the filtering correction time and the basic filtering time as the filtering time;
[0018] The preset temperature calculation model calculates the difference between the basic model temperature and the model correction temperature, and determines the product of the difference, the ambient temperature correction parameter and the vehicle speed correction parameter as the temperature correction parameter;
[0019] The preset temperature calculation model determines the sum of the temperature correction parameter and the basic model temperature as the pre-filtering temperature;
[0020] The preset temperature calculation model inputs the filtering time and the pre-filtering temperature into a preset first-order low-pass filter to perform first-order low-pass filtering to obtain the model-calculated temperature at the change moment.
[0021] In a possible implementation, the calculating the average of the temperature values corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period includes:
[0022] For each of the sampling periods:
[0023] Determine whether the number of the temperature values stored in the preset array is greater than a preset number threshold, and if so, remove the temperature value with the earliest storage time in the preset array, import the temperature value of the sampling period into the preset array, and obtain the average temperature value corresponding to the sampling period based on the imported temperature values in the preset array;
[0024] When the number of the temperature values stored in the preset array is not greater than the preset number threshold, the temperature values of the sampling period are imported into the preset array, and the average temperature value corresponding to the sampling period is obtained based on the imported temperature values in the preset array.
[0025] In a possible implementation, obtaining the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period includes:
[0026] For each of the sampling periods:
[0027] Inputting the operating voltage of the sampling period into a preset first-order high-pass filter, so that the preset first-order high-pass filter filters the operating voltage of the sampling period to obtain a high-frequency signal in the operating voltage;
[0028] It is determined whether the high-frequency signal belongs to a preset alarm signal. If so, the voltage change gradient value representing the voltage abnormality is output; if not, the voltage change gradient value representing the voltage normality is output.
[0029] A second aspect of the present application provides a virtual connection fault processing system, comprising:
[0030] A sampling module, used to obtain the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period, and calculate the average value of the temperature value corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period;
[0031] A detection module, for each of the sampling periods: based on the voltage change gradient value and the temperature value average of the sampling period, performing virtual connection fault detection on the target temperature sensor, and when the virtual connection fault detection result is a virtual connection, determining the time of outputting the virtual connection fault detection result as the change time;
[0032] a calculation module, configured to perform a table lookup operation on a preset test parameter table based on the engine parameter group and the environmental parameter group at the change time, obtain a basic model parameter group and a modified model parameter group, and input the basic model parameter group and the modified model parameter group into a preset temperature calculation model to obtain a model calculation temperature at the change time output by the preset temperature calculation model, wherein the preset test parameter table stores engine parameters, environmental parameters, basic temperature parameters, modified parameters and corresponding relationships between the parameters of the engine at various operating times and various environmental conditions in a fault-free test state;
[0033] A control module is used to control the target post-processing device component corresponding to the target temperature sensor to operate according to the temperature calculated by the model.
[0034] In a possible implementation, the detection module is configured to perform virtual connection fault detection on the target temperature sensor based on the voltage change gradient value and the temperature value mean value in the sampling period as follows:
[0035] When the voltage change gradient value of the sampling period is greater than a first preset threshold value, the target post-processing device is controlled to operate for a preset time according to the temperature value average corresponding to an adjacent sampling period before the sampling period, and the virtual connection fault detection is performed based on the voltage change gradient value and the temperature value average of each sampling period within the preset time;
[0036] At the end of the preset time, determine whether there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time, and if so, output a virtual connection fault detection result of virtual connection;
[0037] In the case that there is no sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time period, the output content is a virtual connection fault detection result indicating that there is no virtual connection fault.
[0038] In a possible implementation, the calculation module is set to:
[0039] A table lookup operation is performed on a preset test parameter table based on the engine parameter group and the environmental parameter group at the change time. Through the table lookup operation, a basic filtering time, a basic model temperature and a model correction temperature having the corresponding relationship with the engine speed and the fuel injection amount are obtained, a filtering correction time having the corresponding relationship with the exhaust mass flow is obtained, an ambient temperature correction parameter having the corresponding relationship with the ambient temperature is obtained, and a vehicle speed correction parameter having the corresponding relationship with the vehicle speed is obtained, wherein the engine speed, the fuel injection amount and the exhaust mass flow are parameters in the engine parameter group, the ambient temperature and the vehicle speed are parameters in the environmental parameter group, the basic filtering time and the basic model temperature are parameters in the basic model parameter group, and the model correction temperature, the filtering correction time, the ambient temperature correction parameter and the vehicle speed correction parameter are parameters in the correction model parameter group.
[0040] In a possible implementation, the preset temperature calculation model in the calculation module is set to:
[0041] The preset temperature calculation model determines the sum of the filtering correction time and the basic filtering time as the filtering time;
[0042] The preset temperature calculation model calculates the difference between the basic model temperature and the model correction temperature, and determines the product of the difference, the ambient temperature correction parameter and the vehicle speed correction parameter as the temperature correction parameter;
[0043] The preset temperature calculation model determines the sum of the temperature correction parameter and the basic model temperature as the pre-filtering temperature;
[0044] The preset temperature calculation model inputs the filtering time and the pre-filtering temperature into a preset first-order low-pass filter to perform first-order low-pass filtering to obtain the model-calculated temperature at the change moment.
[0045] In a possible implementation, when the sampling module calculates the mean of the temperature values corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period, it is set to:
[0046] For each of the sampling periods:
[0047] Determine whether the number of the temperature values stored in the preset array is greater than a preset number threshold, and if so, remove the temperature value with the earliest storage time in the preset array, import the temperature value of the sampling period into the preset array, and obtain the average temperature value corresponding to the sampling period based on the imported temperature values in the preset array;
[0048] When the number of the temperature values stored in the preset array is not greater than the preset number threshold, the temperature values of the sampling period are imported into the preset array, and the average temperature value corresponding to the sampling period is obtained based on the imported temperature values in the preset array.
[0049] In a possible implementation, when the sampling module obtains the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period, it is set to:
[0050] For each of the sampling periods:
[0051] Inputting the operating voltage of the sampling period into a preset first-order high-pass filter, so that the preset first-order high-pass filter filters the operating voltage of the sampling period to obtain a high-frequency signal in the operating voltage;
[0052] It is determined whether the high-frequency signal belongs to a preset alarm signal. If so, the voltage change gradient value representing the voltage abnormality is output; if not, the voltage change gradient value representing the voltage normality is output.
[0053] A third aspect of the present application provides a computer program product, comprising computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the virtual connection fault processing method of the first aspect or any implementation of the first aspect.
[0054] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0055] The memory is used to store computer programs;
[0056] The processor is used to execute the computer program so that the electronic device can implement the virtual connection fault processing method of the first aspect or any implementation manner of the first aspect.
[0057] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the virtual connection fault processing method of the above-mentioned first aspect or any implementation method of the first aspect.
[0058] By means of the above technical scheme, the present application provides a method, system, device, storage medium and program product for handling virtual connection faults, which obtains the voltage change gradient value and the temperature value mean value corresponding to each sampling period by configuring the operating voltage and temperature value of the target temperature sensor collected, and performs virtual connection fault detection based on the voltage change gradient value and the temperature value mean value, thereby improving the detection accuracy of virtual connection faults. At the same time, the present application configures and stores the preset test parameter table of the engine parameters, environmental parameters, basic temperature parameters, correction parameters and the corresponding relationship between the parameters under the state of no fault, and configures the engine parameter group and the environmental parameter group based on the change time to perform a table lookup operation on the preset test parameter table, thereby improving the accuracy of the data required for the calculation of the preset temperature calculation model, and then improving the accuracy of the model calculation temperature output by the preset temperature calculation model. Finally, since the above-mentioned preset temperature calculation model adopts the relevant parameters of the engine under the state of no fault test, there is no risk of high error in the calculation parameters in the prior art, and the accuracy of the model calculation temperature outputted is improved. Therefore, by controlling the target post-processing device corresponding to the target temperature sensor to operate according to the model calculation temperature, the accuracy of virtual connection fault processing is improved. It can be seen that the present application not only realizes the detection and processing of the virtual connection fault of the temperature sensor, but also improves the processing accuracy of the virtual fault. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0060] Figure 1 A flowchart of a method for handling a virtual connection fault provided by the present application;
[0061] Figure 2 A schematic diagram of the structure of a post-processing device provided in this application;
[0062] Figure 3 A schematic diagram of the principle of calculating temperature at the moment of generating a temperature calculation model provided by the present application;
[0063] Figure 4 A flowchart of a virtual connection fault processing method provided in an embodiment of the present application;
[0064] Figure 5 A block diagram of a virtual connection fault processing system provided by the present application;
[0065] Figure 6 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0066] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0067] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0068] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0069] The first aspect of the present application provides a method for handling virtual connection faults, such as Figure 1As shown, including:
[0070] S101 . Obtain a voltage change gradient value corresponding to each sampling period based on an operating voltage of a target temperature sensor in each sampling period, and calculate an average temperature value corresponding to each sampling period based on a temperature value of the target temperature sensor in each sampling period.
[0071] It should be noted that in actual application scenarios, there are many ways to construct the post-processing device, and an exemplary one is provided here: Figure 2 The figure shows a schematic diagram of the structure of a post-treatment device. The post-treatment device consists of a Diesel Oxidation Catalyst (DOC), a Diesel Particulate Filter (DPF) and a Selective Catalytic Reduction (SCR) connected in series. At the same time, in order to control each device, a corresponding temperature sensor is deployed upstream of each device, including: DOC upstream temperature sensor, DPF upstream temperature sensor and SCR upstream temperature sensor.
[0072] It should be noted that, in actual application scenarios, the target temperature sensor may be any temperature sensor in the post-processing device for controlling the corresponding post-processing device components. The present application does not impose too many restrictions on the specific type of the temperature sensor.
[0073] It should be noted that, in actual application scenarios, the above voltage change gradient value characterizes the degree of change of the operating voltage of the temperature sensor in a sampling cycle compared to the operating voltage of the historical sampling cycle. Because when there is a virtual connection fault, the arc discharge caused by the virtual connection will cause the operating voltage of the temperature sensor to rise sharply. Therefore, the present application obtains the voltage change gradient value of each sampling cycle through configuration, and realizes the virtual connection fault detection of the target temperature sensor through subsequent operation steps.
[0074] It should be noted that, in actual application scenarios, the above-mentioned average temperature value is the average of temperature values of multiple sampling periods.
[0075] It should be noted that, in actual application scenarios, the above sampling period can be set according to the actual application scenarios. In order to improve the accuracy of virtual connection fault detection, the above sampling period can be set to 100 milliseconds.
[0076] S102, for each sampling period: based on the voltage change gradient value and the temperature value average of the sampling period, perform virtual connection fault detection on the target temperature sensor, and when the virtual connection fault detection result is virtual connection, determine the time of outputting the virtual connection fault detection result as the change time.
[0077] It should be noted that in actual application scenarios, the above Figure 1 The implementation of step S102 shown may be performed sequentially in each sampling cycle, and its specific implementation may include the following steps A1 to A4.
[0078] Step A1, for the current sampling period, based on the voltage change gradient value and the temperature value average value of the current sampling period, perform virtual connection fault detection on the target temperature sensor, and output the virtual connection fault detection result. Triggering step A2.
[0079] Step A2, judging whether the content of the virtual connection fault result is virtual connection. If yes, triggering step A3, if no, triggering step A4.
[0080] In step A3, the time of outputting the virtual connection fault detection result is determined as the change time.
[0081] In a possible implementation, after the above step A3 is executed, the following may be triggered: Figure 1 Step S103 shown.
[0082] Step A4: Update the current sampling period to the next adjacent sampling period of the current sampling period, and trigger step A1.
[0083] It should be noted that, when the content of the virtual connection fault detection result is virtual connection, the temperature value collected by the temperature sensor can no longer ensure the engine exhaust gas treatment efficiency of the post-target treatment device. Therefore, the present application is configured to determine the time of outputting the virtual connection fault detection result as the change time when the content of the virtual connection fault detection result is virtual connection, and generate the model calculation temperature of the change time through subsequent steps, so that the target post-processing device operates according to the model calculation temperature, avoiding the risk of reduced operation reliability caused by performing engine exhaust gas treatment according to the temperature value collected by the temperature sensor with virtual connection fault.
[0084] S103. Based on the engine parameter group and the environmental parameter group at the time of change, a lookup operation is performed on the preset test parameter table to obtain a basic model parameter group and a modified model parameter group, and the basic model parameter group and the modified model parameter group are input into a preset temperature calculation model to obtain the model calculation temperature at the time of change output by the preset temperature calculation model. The preset test parameter table stores engine parameters, environmental parameters, basic temperature parameters, modified parameters and the corresponding relationship between the parameters of the engine at various operating times and various environmental conditions under a fault-free test state.
[0085] It should be noted that, in actual application scenarios, the above-mentioned engine parameter group and environmental parameter group are determined by the researchers of this application after a large number of experiments, and include a parameter group of multiple parameters that are correlated with the engine exhaust gas temperature flowing into the target after-treatment device.
[0086] It should be noted that, in actual application scenarios, since the above-mentioned preset test parameter table is a data table storing engine parameters, environmental parameters, basic temperature parameters, correction parameters and the corresponding relationship between each parameter at each operating time and each environmental condition of the engine under a fault-free test state, the present application can obtain the basic model parameter group and the correction model parameter group under a fault-free test state by performing a table lookup operation on the preset test parameter table based on the engine parameter group and the environmental parameter group at the change time, thereby ensuring the accuracy of the input data of the preset temperature calculation model, and further improving the operating efficiency and reliability of the target post-processing device when operating based on the model calculation temperature output by the preset temperature calculation model.
[0087] In a possible implementation, the above-mentioned preset test parameter table can be stored in a device or device with data storage function in the vehicle, such as ECU (Electronic Control Unit), VCU (Vehicle Control Unit), MCU (Micro Controller Unit), HCU (Hybrid Control Unit), etc.
[0088] It should be noted that, in actual application scenarios, the virtual connection fault of the temperature sensor will be temporarily eliminated due to the vibration of the vehicle or engine, that is, although a false fault occurs, there will still be a normal temperature value in the temperature value at the historical moment. This leads to the traditional method of calculating the temperature value based on the temperature value at the historical moment. Because the data required for the calculation always contains a large number of normal temperature values and abnormal temperature values, it will increase the cumulative error of the traditional temperature value calculation method, thereby affecting the accuracy of the final output temperature value, thereby reducing the processing accuracy of the virtual connection fault of the temperature sensor. However, the present application configures the engine parameter group and the environmental parameter group based on the change time to perform a table lookup operation on the preset test parameter table, obtain the basic model parameter group and the modified model parameter group as the input parameters of the preset temperature calculation model, avoid the influence of abnormal parameters on the calculation results, thereby improving the accuracy of the model calculation temperature at the change time output by the preset temperature calculation model, thereby improving the processing accuracy of the virtual connection fault of the temperature sensor and the operating reliability of the post-processing device.
[0089] S104 , controlling the target post-processing device corresponding to the target temperature sensor to operate according to the temperature calculated by the model.
[0090] It should be noted that, in actual application scenarios, the target post-processing device component may be a component in the post-processing device that corresponds to the target temperature sensor, for example: DOC, DPF or SCR.
[0091] It should be noted that the present application avoids the risk of reduced reliability caused by the target post-processing device components operating according to the abnormal temperature values collected by the target temperature sensor with a virtual connection fault by controlling the target post-processing device components corresponding to the target temperature sensor to operate according to the temperature calculated by the model.
[0092] The present application obtains the voltage change gradient value and the temperature value mean value corresponding to each sampling period by configuring the operating voltage and temperature value of the target temperature sensor collected, and performs virtual connection fault detection based on the voltage change gradient value and the temperature value mean value, thereby improving the detection accuracy of virtual connection fault. At the same time, the present application configures a preset test parameter table storing the engine parameters, environmental parameters, basic temperature parameters, correction parameters and the corresponding relationship between the parameters of the engine at each operating time and each environmental condition under a fault-free state, and configures the engine parameter group and the environmental parameter group based on the change time to perform a table lookup operation on the preset test parameter table, thereby improving the accuracy of the data required for the preset temperature calculation model calculation, thereby improving the accuracy of the model calculation temperature output by the preset temperature calculation model. Finally, since the above-mentioned preset temperature calculation model uses the relevant parameters of the engine under a fault-free test state, there is no risk of high calculation parameter error in the prior art, and the accuracy of the model calculation temperature outputted is improved. Therefore, by controlling the target post-processing device corresponding to the target temperature sensor to operate according to the model calculation temperature, the accuracy of the virtual connection fault processing is improved. It can be seen that the present application not only realizes the detection and processing of the virtual connection fault of the temperature sensor, but also improves the processing accuracy of the virtual fault.
[0093] In a possible implementation, based on the voltage change gradient value and the temperature value average value of the sampling period, performing virtual connection fault detection on the target temperature sensor includes:
[0094] When the voltage change gradient value of the sampling period is greater than the first preset threshold value, the target post-processing device is controlled to operate for a preset time according to the average temperature value corresponding to an adjacent sampling period before the sampling period, and virtual connection fault detection is performed based on the voltage change gradient value and the average temperature value of each sampling period within the preset time;
[0095] At the end of the preset time, determine whether there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time, and if so, output the virtual connection fault detection result of virtual connection;
[0096] In the case that there is no sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time length, the output content is a virtual connection fault detection result indicating that there is no virtual connection fault.
[0097] It should be noted that in actual scenarios, abnormal driving conditions and sudden changes in the external environment can cause fluctuations in the engine exhaust temperature, thereby causing the temperature collected by the target temperature sensor to be abnormal. In order to avoid false alarms of false faults and improve the detection accuracy of virtual connection faults, the present application controls the target post-processing device to run for a preset time according to the average value of the temperature value corresponding to an adjacent sampling period before the sampling period by configuring the voltage change gradient value of the sampling period to be greater than the first preset threshold. Since the voltage change gradient value of an adjacent sampling period before the sampling period is not greater than the first preset threshold, it is characterized that the collected temperature is normal. Therefore, the operation of the target post-processing device for a preset time according to the average value of the temperature value corresponding to an adjacent sampling period before the sampling period will not lead to the problem of reduced reliability and efficiency of engine exhaust treatment. At the same time, by configuring the voltage change gradient value and the temperature value average value of each sampling period within the preset time period for virtual connection fault detection, it is realized to re-detect whether the target temperature sensor has a virtual connection fault, thereby eliminating the risk of false alarms, thereby improving the detection accuracy of virtual connection faults.
[0098] In one possible implementation, when there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within a preset time length, in addition to outputting the virtual connection fault detection result of the virtual connection content, an operation step of controlling the target after-processing device component corresponding to the target temperature sensor to stop receiving the temperature value collected by the target sensor can also be executed to avoid the risk of reduced engine exhaust gas treatment efficiency and reliability of the target after-processing device component.
[0099] In a possible implementation, a preset test parameter table is looked up based on the engine parameter group and the environmental parameter group at the time of change to obtain a basic model parameter group and a modified model parameter group, including:
[0100] Based on the engine parameter group and the environmental parameter group at the time of change, a table lookup operation is performed on the preset test parameter table. Through the table lookup operation, a basic filtering time, a basic model temperature and a model correction temperature corresponding to the engine speed and the fuel injection amount are obtained, a filtering correction time corresponding to the exhaust mass flow rate is obtained, an ambient temperature correction parameter corresponding to the ambient temperature is obtained, and a vehicle speed correction parameter corresponding to the vehicle speed is obtained, wherein the engine speed, the fuel injection amount and the exhaust mass flow rate are parameters in the engine parameter group, the ambient temperature and the vehicle speed are parameters in the environmental parameter group, the basic filtering time and the basic model temperature are parameters in the basic model parameter group, and the model correction temperature, the filtering correction time, the ambient temperature correction parameter and the vehicle speed correction parameter are parameters in the correction model parameter group.
[0101] It should be noted that since most of the temperature sensors used in existing post-processing devices are thermistor type, the principle of the collected temperature is to convert the resistance change of thermistor into voltage change. In actual scenarios, this conversion takes a certain amount of time. Therefore, this application configures the above-mentioned basic filtering time to achieve the time delay of the simulated temperature sensor in the actual working state, thereby improving the accuracy of the model calculation temperature finally obtained.
[0102] It should be noted that the above-mentioned exhaust mass flow rate refers to the mass of gas discharged through the engine exhaust system per unit time. Since the larger the exhaust mass flow rate, the more gas is discharged, the faster the temperature changes, resulting in a shorter time required for filtering. Therefore, the present application obtains the filter correction time through configuration, which is used to correct the basic filter time, thereby improving the simulation accuracy of the time delay under the actual working state of the temperature sensor, and then improving the accuracy of the model calculation temperature finally obtained.
[0103] In a possible implementation, the process of obtaining the model calculation temperature at the change time according to the basic model parameter group and the modified model parameter group by the preset temperature calculation model includes:
[0104] The preset temperature calculation model determines the sum of the filter correction time and the basic filter time as the filter time;
[0105] The preset temperature calculation model calculates the difference between the basic model temperature and the model correction temperature, and determines the product of the difference, the ambient temperature correction parameter and the vehicle speed correction parameter as the temperature correction parameter;
[0106] The preset temperature calculation model determines the sum of the temperature correction parameter and the basic model temperature as the pre-filtering temperature;
[0107] The preset temperature calculation model inputs the filtering time and the temperature before filtering into a preset first-order low-pass filter to perform first-order low-pass filtering to obtain the model-calculated temperature at the time of change.
[0108] It should be noted that the above-mentioned preset temperature calculation model is a mathematical model for obtaining the model calculation temperature through mathematical calculation based on the parameters in the basic model parameter group and the modified model parameter group. Since the above-mentioned basic model parameter group and the modified model parameter group are parameters determined through experiments under a fault-free test state, there is no abnormal data, and compared with the traditional machine learning model, the above-mentioned preset temperature calculation model does not have the risk of reduced model output accuracy due to abnormal data in the training data, so that the above-mentioned preset temperature calculation model improves the output accuracy compared with the traditional machine learning model.
[0109] It should be noted that the present application calculates the difference between the basic model temperature and the model correction temperature by configuring a preset temperature calculation model, and determines the product of the difference, the ambient temperature correction parameter and the vehicle speed correction parameter as the temperature correction parameter, and determines the sum of the temperature correction parameter and the basic model temperature as the pre-filtering temperature, thereby simulating the actual temperature of the engine exhaust during vehicle driving, and using a preset first-order low-pass filter to simulate the time delay of the temperature sensor under the actual working state according to the filtering time and the pre-filtering temperature, thereby improving the accuracy of the final model calculated temperature.
[0110] Those skilled in the art can understand that, in actual application scenarios, the transfer function of the above-mentioned preset first-order low-pass filter can be: G PT1 (s) = K p / (T PT1 *s+1), where K p is the proportional constant, s is the complex variable of Laplace transformation, PT1 represents the first-order low-pass, T PT1 G is a coefficient set based on the engine exhaust mass flow rate. PT1 (s) represents the model calculation temperature. The present application does not impose too many restrictions on the specific values of the above-mentioned proportional constants and coefficients.
[0111] In a possible implementation, the schematic diagram of the principle of the temperature calculation model for calculating the temperature at the time when the temperature calculation model generates a new model can be as follows: Figure 3 shown.
[0112] In a possible implementation, calculating the average of the temperature values corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period includes:
[0113] For each sampling period:
[0114] Determine whether the number of temperature values stored in the preset array is greater than a preset number threshold, if so, remove the temperature value with the earliest storage time in the preset array, import the temperature value of the sampling period into the preset array, and obtain the average temperature value corresponding to the sampling period based on the temperature values in the imported preset array;
[0115] When the number of temperature values stored in the preset array is not greater than the preset number threshold, the temperature values of the sampling period are imported into the preset array, and the average temperature value corresponding to the sampling period is obtained based on the temperature values in the imported preset array.
[0116] It should be noted that the present application realizes dynamic updating of temperature values by configuring that when the number of temperature values stored in a preset array is greater than a preset number threshold, the temperature value with the earliest storage time in the preset array is removed, and the temperature value of the sampling period is imported into the preset array, thereby improving the accuracy of the subsequent average temperature value, and further improving the efficiency and reliability of the target post-processing device when performing engine exhaust gas treatment according to the average temperature value.
[0117] In a possible implementation, obtaining the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period includes:
[0118] For each sampling period:
[0119] Inputting the operating voltage of the sampling period into a preset first-order high-pass filter, so that the preset first-order high-pass filter filters the operating voltage of the sampling period to obtain a high-frequency signal in the operating voltage;
[0120] It is determined whether the high-frequency signal belongs to a preset alarm signal. If so, a voltage change gradient value representing voltage abnormality is output; if not, a voltage change gradient value representing voltage normality is output.
[0121] Those skilled in the art can understand that, in actual application scenarios, the transfer function of the above-mentioned preset first-order low-pass filter can be: G DT1 (s) = K D / (T DT1 *s+1), where K D is the differential constant, s is the complex variable of Laplace transformation, DT1 represents the first-order high-pass, T DT1 and K D is a coefficient set based on the no-fault temperature. G DT1 (s) represents the voltage change gradient value. The present application does not impose too many restrictions on the specific values of the above coefficients.
[0122] It should be noted that, since the first-order high-pass filter has the function of passing high-frequency signals and attenuating or blocking low-frequency signals. When the temperature sensor has a virtual connection fault, the arc discharge will cause an increase in high-frequency signals in the operating voltage of the temperature sensor. Therefore, the present application configures a preset first-order high-pass filter to filter the operating voltage of the sampling period, and determines whether the obtained high-frequency signal belongs to the preset alarm signal, thereby realizing accurate detection of the virtual connection fault of the temperature sensor.
[0123] It should be noted that, in actual application scenarios, the above-mentioned preset alarm signal can be set according to the model of the temperature sensor or the operating voltage range, and this application does not limit or elaborate on the above-mentioned preset alarm signal.
[0124] It should be noted that in actual application scenarios, the above Figure 1 There are many implementation methods of the virtual connection fault processing method shown, and an exemplary one is provided here:
[0125] like Figure 4 The figure is a flowchart of a method for handling a virtual connection fault. The specific operation steps are as follows:
[0126] Step S401, obtaining the operating voltage and temperature value of the target temperature sensor in the current sampling period, and triggering step S402.
[0127] Step S402, obtaining the voltage change gradient value and the temperature value mean value corresponding to the current sampling period, and triggering step S403.
[0128] Step S403, determining whether the voltage change gradient value corresponding to the current sampling period is greater than a first preset threshold. If yes, triggering step S404. If no, triggering step S405.
[0129] Step S404, obtaining the average temperature value corresponding to an adjacent sampling period before the current sampling period, and controlling the target post-processing device to run for a preset time according to the average temperature value corresponding to an adjacent sampling period before the sampling period, and performing virtual connection fault detection based on the voltage change gradient value and the average temperature value of each sampling period within the preset time. Triggering step S406.
[0130] Step S405: Update the current sampling period to the next adjacent sampling period of the current sampling period, and trigger step S401.
[0131] Step S406, determining whether there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time length. If yes, step S407 is triggered, and if no, step S408 is triggered.
[0132] Step S407, outputting the virtual connection fault detection result, and determining the time of outputting the virtual connection fault detection result as the change time, triggering step S409.
[0133] Step S408: Output the virtual connection fault detection result indicating that there is no virtual connection fault, and trigger step S405.
[0134] Step S409: Look up the preset test parameter table based on the engine parameter group and the environmental parameter group at the time of change to obtain the basic model parameter group and the modified model parameter group, and input the basic model parameter group and the modified model parameter group into the preset temperature calculation model to obtain the model calculation temperature at the time of change output by the preset temperature calculation model. Step S410 is triggered.
[0135] Step S410, controlling the target post-processing device component corresponding to the target temperature sensor to operate according to the temperature calculated by the model.
[0136] It should be noted that in actual application scenarios, the above Figure 4 Steps S401 and S402 are shown as follows: Figure 1 A possible implementation of step S101 is shown in FIG. Figure 4 Steps S403, S404, S406 and S407 are shown as follows: Figure 1 A possible implementation of step S102 is shown in FIG. Figure 4 Step S409 shown is as follows Figure 1 A possible implementation of step S103 is shown in FIG. Figure 4 Step S410 shown is as follows Figure 1 A possible implementation of step S104 is shown.
[0137] The second aspect of the present application provides a virtual connection fault processing system, such as Figure 5 As shown, including:
[0138] The sampling module 501 is used to obtain the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period, and calculate the average value of the temperature value corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period;
[0139] The detection module 502 is used for performing virtual connection fault detection on the target temperature sensor based on the voltage change gradient value and the temperature value mean value of each sampling period, and when the content of the virtual connection fault detection result is virtual connection, determining the time of outputting the virtual connection fault detection result as the change time;
[0140] The calculation module 503 is used to perform a table lookup operation on a preset test parameter table based on the engine parameter group and the environmental parameter group at the time of change, obtain a basic model parameter group and a modified model parameter group, and input the basic model parameter group and the modified model parameter group into a preset temperature calculation model to obtain the model calculation temperature at the time of change output by the preset temperature calculation model. The preset test parameter table stores engine parameters, environmental parameters, basic temperature parameters, modified parameters and corresponding relationships between the parameters of the engine at various operating times and various environmental conditions under a fault-free test state;
[0141] The control module 504 is used to control the target post-processing device component corresponding to the target temperature sensor to operate according to the temperature calculated by the model.
[0142] In a possible implementation, the detection module 502 is configured to perform virtual connection fault detection on the target temperature sensor based on the voltage change gradient value and the temperature value mean value of the sampling period as follows:
[0143] When the voltage change gradient value of the sampling period is greater than the first preset threshold value, the target post-processing device is controlled to operate for a preset time according to the average temperature value corresponding to an adjacent sampling period before the sampling period, and virtual connection fault detection is performed based on the voltage change gradient value and the average temperature value of each sampling period within the preset time;
[0144] At the end of the preset time, determine whether there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time, and if so, output the virtual connection fault detection result of virtual connection;
[0145] In the case that there is no sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time length, the output content is a virtual connection fault detection result indicating that there is no virtual connection fault.
[0146] In a possible implementation, the calculation module 503 is set to:
[0147] Based on the engine parameter group and the environmental parameter group at the time of change, a table lookup operation is performed on the preset test parameter table. Through the table lookup operation, a basic filtering time, a basic model temperature and a model correction temperature corresponding to the engine speed and the fuel injection amount are obtained, a filtering correction time corresponding to the exhaust mass flow rate is obtained, an ambient temperature correction parameter corresponding to the ambient temperature is obtained, and a vehicle speed correction parameter corresponding to the vehicle speed is obtained, wherein the engine speed, the fuel injection amount and the exhaust mass flow rate are parameters in the engine parameter group, the ambient temperature and the vehicle speed are parameters in the environmental parameter group, the basic filtering time and the basic model temperature are parameters in the basic model parameter group, and the model correction temperature, the filtering correction time, the ambient temperature correction parameter and the vehicle speed correction parameter are parameters in the correction model parameter group.
[0148] In a possible implementation, the preset temperature calculation model in the calculation module 503 is set to:
[0149] The preset temperature calculation model determines the sum of the filter correction time and the basic filter time as the filter time;
[0150] The preset temperature calculation model calculates the difference between the basic model temperature and the model correction temperature, and determines the product of the difference, the ambient temperature correction parameter and the vehicle speed correction parameter as the temperature correction parameter;
[0151] The preset temperature calculation model determines the sum of the temperature correction parameter and the basic model temperature as the pre-filtering temperature;
[0152] The preset temperature calculation model inputs the filtering time and the temperature before filtering into a preset first-order low-pass filter to perform first-order low-pass filtering to obtain the model-calculated temperature at the time of change.
[0153] In a possible implementation, the sampling module 501 is set to:
[0154] For each sampling period:
[0155] Determine whether the number of temperature values stored in the preset array is greater than a preset number threshold, if so, remove the temperature value with the earliest storage time in the preset array, import the temperature value of the sampling period into the preset array, and obtain the average temperature value corresponding to the sampling period based on the temperature values in the imported preset array;
[0156] When the number of temperature values stored in the preset array is not greater than the preset number threshold, the temperature values of the sampling period are imported into the preset array, and the average temperature value corresponding to the sampling period is obtained based on the temperature values in the imported preset array.
[0157] In a possible implementation, the sampling module 501 is set to:
[0158] For each sampling period:
[0159] Inputting the operating voltage of the sampling period into a preset first-order high-pass filter, so that the preset first-order high-pass filter filters the operating voltage of the sampling period to obtain a high-frequency signal in the operating voltage;
[0160] It is determined whether the high-frequency signal belongs to a preset alarm signal. If so, a voltage change gradient value representing voltage abnormality is output; if not, a voltage change gradient value representing voltage normality is output.
[0161] A third aspect of the present application provides a computer program product, including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the virtual connection fault processing method of the first aspect or any implementation of the first aspect.
[0162] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0163] The memory is used to store computer programs;
[0164] The processor is used to execute a computer program so that the electronic device can implement the virtual connection fault processing method of the first aspect or any implementation manner of the first aspect.
[0165] A fourth aspect of the present application provides a structural diagram of an electronic device as shown in Figure 6 The electronic device in this article can be a server, a PC, a PAD, a mobile phone, an ECU (Electronic Control Unit), a VCU (Vehicle Control Unit), an MCU (Micro Controller Unit), an HCU (Hybrid Control Unit), etc. Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0166] like Figure 6As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 to a random access memory (RAM) 603. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0167] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a memory card, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0168] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the virtual connection fault processing method of the above-mentioned first aspect or any implementation method of the first aspect.
[0169] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0170] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0171] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0172] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A method for handling virtual connection faults. It is characterized in that include: Based on the operating voltage of the target temperature sensor in each sampling period, a voltage change gradient value corresponding to each sampling period is obtained, and based on the temperature value of the target temperature sensor in each sampling period, an average value of the temperature value corresponding to each sampling period is calculated; For each of the sampling periods: based on the voltage change gradient value and the temperature value average value of the sampling period, the target temperature sensor is subjected to virtual connection fault detection, and when the virtual connection fault detection result is a virtual connection, the time of outputting the virtual connection fault detection result is determined as the change time; Based on the engine parameter group and the environmental parameter group at the time of the change, a preset test parameter table is looked up to obtain a basic model parameter group and a modified model parameter group, and the basic model parameter group and the modified model parameter group are input into a preset temperature calculation model to obtain the model calculation temperature at the time of the change output by the preset temperature calculation model, wherein the preset test parameter table stores engine parameters, environmental parameters, basic temperature parameters, modified parameters and corresponding relationships between the parameters of the engine at various operating times and various environmental conditions in a fault-free test state; The target post-processing device component corresponding to the target temperature sensor is controlled to operate according to the temperature calculated by the model.
2. The virtual connection fault processing method according to claim 1, It is characterized in that The step of performing virtual connection fault detection on the target temperature sensor based on the voltage change gradient value and the temperature value mean value of the sampling period includes: When the voltage change gradient value of the sampling period is greater than a first preset threshold value, the target post-processing device is controlled to operate for a preset time according to the temperature value average corresponding to an adjacent sampling period before the sampling period, and the virtual connection fault detection is performed based on the voltage change gradient value and the temperature value average of each sampling period within the preset time; At the end of the preset time, determine whether there is a sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time, and if so, output a virtual connection fault detection result of virtual connection; In the case that there is no sampling period in which the voltage change gradient value is greater than the first preset threshold value within the preset time period, the output content is a virtual connection fault detection result indicating that there is no virtual connection fault.
3. The virtual connection fault processing method according to claim 1, It is characterized in that The step of looking up a preset test parameter table based on the engine parameter group and the environmental parameter group at the time of the change to obtain a basic model parameter group and a modified model parameter group includes: A table lookup operation is performed on a preset test parameter table based on the engine parameter group and the environmental parameter group at the change time. Through the table lookup operation, a basic filtering time, a basic model temperature and a model correction temperature having the corresponding relationship with the engine speed and the fuel injection amount are obtained, a filtering correction time having the corresponding relationship with the exhaust mass flow is obtained, an ambient temperature correction parameter having the corresponding relationship with the ambient temperature is obtained, and a vehicle speed correction parameter having the corresponding relationship with the vehicle speed is obtained, wherein the engine speed, the fuel injection amount and the exhaust mass flow are parameters in the engine parameter group, the ambient temperature and the vehicle speed are parameters in the environmental parameter group, the basic filtering time and the basic model temperature are parameters in the basic model parameter group, and the model correction temperature, the filtering correction time, the ambient temperature correction parameter and the vehicle speed correction parameter are parameters in the correction model parameter group.
4. The virtual connection fault processing method according to claim 3, It is characterized in that The process of obtaining the model calculation temperature at the change time according to the basic model parameter group and the modified model parameter group by the preset temperature calculation model includes: The preset temperature calculation model determines the sum of the filtering correction time and the basic filtering time as the filtering time; The preset temperature calculation model calculates the difference between the basic model temperature and the model correction temperature, and determines the product of the difference, the ambient temperature correction parameter and the vehicle speed correction parameter as the temperature correction parameter; The preset temperature calculation model determines the sum of the temperature correction parameter and the basic model temperature as the pre-filtering temperature; The preset temperature calculation model inputs the filtering time and the pre-filtering temperature into a preset first-order low-pass filter to perform first-order low-pass filtering to obtain the model-calculated temperature at the change moment.
5. The virtual connection fault processing method according to claim 1, It is characterized in that The calculating the average of the temperature values corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period includes: For each of the sampling periods: Determine whether the number of the temperature values stored in the preset array is greater than a preset number threshold, and if so, remove the temperature value with the earliest storage time in the preset array, import the temperature value of the sampling period into the preset array, and obtain the average temperature value corresponding to the sampling period based on the imported temperature values in the preset array; When the number of the temperature values stored in the preset array is not greater than the preset number threshold, the temperature values of the sampling period are imported into the preset array, and the average temperature value corresponding to the sampling period is obtained based on the imported temperature values in the preset array.
6. The virtual connection fault processing method according to claim 1, It is characterized in that The step of obtaining the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period includes: For each of the sampling periods: Inputting the operating voltage of the sampling period into a preset first-order high-pass filter, so that the preset first-order high-pass filter filters the operating voltage of the sampling period to obtain a high-frequency signal in the operating voltage; It is determined whether the high-frequency signal belongs to a preset alarm signal. If so, the voltage change gradient value representing the voltage abnormality is output; if not, the voltage change gradient value representing the voltage normality is output.
7. A virtual connection fault handling system, It is characterized in that include: A sampling module, used to obtain the voltage change gradient value corresponding to each sampling period based on the operating voltage of the target temperature sensor in each sampling period, and calculate the average value of the temperature value corresponding to each sampling period based on the temperature value of the target temperature sensor in each sampling period; A detection module, for each of the sampling periods: based on the voltage change gradient value and the temperature value average of the sampling period, performing virtual connection fault detection on the target temperature sensor, and when the virtual connection fault detection result is a virtual connection, determining the time of outputting the virtual connection fault detection result as the change time; a calculation module, configured to perform a table lookup operation on a preset test parameter table based on the engine parameter group and the environmental parameter group at the change time, obtain a basic model parameter group and a modified model parameter group, and input the basic model parameter group and the modified model parameter group into a preset temperature calculation model to obtain a model calculation temperature at the change time output by the preset temperature calculation model, wherein the preset test parameter table stores engine parameters, environmental parameters, basic temperature parameters, modified parameters and corresponding relationships between the parameters of the engine at various operating times and various environmental conditions in a fault-free test state; A control module is used to control the target post-processing device component corresponding to the target temperature sensor to operate according to the temperature calculated by the model.
8. A computer program product, It is characterized in that The method comprises computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the virtual connection fault processing method as claimed in any one of claims 1 to 6.
9. An electronic device, It is characterized in that The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the virtual connection fault processing method according to any one of claims 1 to 6.
10. A computer storage medium, It is characterized in that The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the virtual connection fault processing method as claimed in any one of claims 1 to 6.
