Oxygen sensor aging fault simulation method and device, electronic equipment, storage medium and program product

By configuring fault simulation parameters at the software level, oxygen sensor aging fault parameters are acquired and verified, aging fault simulation signals are generated, and directly output to the vehicle control unit. This solves the problems of complexity and accuracy in traditional oxygen sensor aging fault simulation methods, and achieves efficient oxygen sensor aging fault simulation.

CN121835159APending Publication Date: 2026-04-10STARRY SKY PLAN (SHANGHAI) AUTOMOBILE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
STARRY SKY PLAN (SHANGHAI) AUTOMOBILE TECHNOLOGY CO LTD
Filing Date
2025-12-26
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Traditional methods for simulating oxygen sensor aging faults are complex to operate and prone to errors in wiring connections, which affects simulation efficiency and accuracy.

Method used

Fault simulation parameters are obtained through the simulation parameter input page, safety threshold verification is performed, and aging fault simulation signals are generated by using software-level signal fault simulation processing. These signals are then directly output to the vehicle control unit without the need for wiring connections.

Benefits of technology

It improves the efficiency and accuracy of oxygen sensor aging fault simulation, simplifies the operation process, and avoids errors caused by wiring connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121835159A_ABST
    Figure CN121835159A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an oxygen sensor aging fault simulation method and device, electronic equipment, a storage medium and a program product. The method comprises the following steps: acquiring configured fault simulation parameters through a simulation parameter input page; the fault simulation parameter is used for controlling a target oxygen sensor of the target automobile to simulate a target aging fault state; safety threshold verification is carried out on the fault simulation parameters, under the condition that the fault simulation parameters pass the safety threshold verification, signal fault simulation processing is carried out on the electric signals output by the target oxygen sensor according to the fault simulation parameters, and aging fault simulation signals are obtained; and outputting the aging fault simulation signal to a control unit of the target automobile, so that the control unit controls the air-fuel ratio of the target automobile based on the aging fault simulation signal to simulate a target aging fault state. By adopting the method, the simulation efficiency and accuracy of the aging fault of the oxygen sensor can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, electronic device, storage medium and program product for simulating aging failure of an oxygen sensor. Background Technology

[0002] In automotive fault simulation scenarios, an external oxygen sensor signal simulator can be used to simulate the aging and failure of the automotive oxygen sensor. The oxygen sensor, a "probe" installed on the vehicle's exhaust pipe, monitors the oxygen content in the exhaust gas after engine combustion in real time and sends this information to the vehicle's control unit (ECU). This ECU then indirectly and accurately calculates the engine's current air-fuel ratio (i.e., the air-fuel mixture ratio), allowing it to adjust the fuel injection quantity based on the current air-fuel ratio, thereby adjusting subsequent air-fuel ratios. If the oxygen sensor in the vehicle ages and fails, it will affect the ECU's accurate control of the air-fuel ratio. To study solutions for oxygen sensor aging failures, it is necessary to simulate the oxygen sensor aging failure to understand the ECU's control over the air-fuel ratio.

[0003] However, in traditional technologies, simulating oxygen sensor aging faults requires connecting the oxygen sensor signal simulator between the ECU and the engine wiring harness. This process is complex and time-consuming, and errors in the wiring connection can affect the accuracy of the simulation. Therefore, the traditional method of simulating oxygen sensor aging faults using an external oxygen sensor signal simulator can negatively impact the simulation efficiency and accuracy. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, storage medium, and program product for simulating oxygen sensor aging faults, in order to improve the simulation efficiency and accuracy of oxygen sensor aging faults.

[0005] In a first aspect, embodiments of this application provide a method for simulating aging failure of an oxygen sensor, comprising:

[0006] The configured fault simulation parameters can be obtained through the simulation parameter input page; the fault simulation parameters are used to control the target oxygen sensor of the target vehicle to simulate the target aging fault state.

[0007] The fault simulation parameters are checked for safety thresholds. If the fault simulation parameters pass the safety threshold check, the electrical signal output by the target oxygen sensor is processed for signal fault simulation based on the fault simulation parameters to obtain the aging fault simulation signal.

[0008] The aging fault simulation signal is output to the control unit of the target vehicle, so that the control unit controls the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state.

[0009] In one possible implementation, the fault simulation parameters are checked for safety thresholds, including:

[0010] If the response delay parameter in the fault simulation parameters is within the safe range of response delay, it is determined that the response delay parameter passes the safety threshold verification.

[0011] If the amplitude attenuation parameter in the fault simulation parameters is within the safe range of amplitude attenuation, then the amplitude attenuation parameter is determined to have passed the safety threshold verification.

[0012] In one possible implementation, the oxygen sensor aging failure simulation method further includes:

[0013] If either the response delay parameter or the amplitude attenuation parameter fails the safety threshold check, it is determined that the fault simulation parameter has failed the safety threshold check.

[0014] Feedback error messages; error messages are used to indicate that the fault simulation parameters are configured incorrectly.

[0015] In one possible implementation, based on fault simulation parameters, the electrical signal output by the target oxygen sensor is subjected to signal fault simulation processing to obtain an aging fault simulation signal, including:

[0016] Based on the response delay parameter in the fault simulation parameters, the electrical signal output by the target oxygen sensor is processed by signal delay to obtain the delayed electrical signal;

[0017] Based on the amplitude attenuation parameter in the fault simulation parameters, the delayed electrical signal is subjected to amplitude attenuation processing to obtain the aging fault simulation signal.

[0018] In one possible implementation, the electrical signal output by the target oxygen sensor is subjected to signal delay processing based on the response delay parameter in the fault simulation parameters to obtain a delayed electrical signal, including:

[0019] When the electrical signal output by the target oxygen sensor rises from the first low level to the first high level, a rising edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain the delayed electrical signal.

[0020] When the electrical signal output by the target oxygen sensor drops from the second high level to the second low level, a falling edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain the delayed electrical signal.

[0021] In one possible implementation, the target aging fault state is divided into three aging stages, and each aging stage is set with a response delay value range.

[0022] When the response delay parameter is within the first response delay value range, the delayed electrical signal represents the first aging stage;

[0023] When the response delay parameter is within the second response delay value range, the delayed electrical signal characterizes the second aging stage;

[0024] When the response delay parameter is within the third response delay value range, the delayed electrical signal represents the third aging stage.

[0025] Secondly, embodiments of this application provide an oxygen sensor aging failure simulation device, comprising:

[0026] The simulation parameter acquisition module is used to obtain the configured fault simulation parameters through the simulation parameter input page; the fault simulation parameters are used to control the target oxygen sensor of the target vehicle to simulate the target aging fault state.

[0027] The analog signal acquisition module is used to perform safety threshold verification on the fault simulation parameters. If the fault simulation parameters pass the safety threshold verification, the module performs signal fault simulation processing on the electrical signal output by the target oxygen sensor based on the fault simulation parameters to obtain the aging fault simulation signal.

[0028] The analog signal output module is used to output the aging fault simulation signal to the control unit of the target vehicle, so that the control unit controls the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state.

[0029] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0030] The memory stores the instructions that the computer executes;

[0031] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0032] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0033] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0034] The oxygen sensor aging fault simulation method, apparatus, electronic device, storage medium, and program product provided in this application embodiment can obtain configured fault simulation parameters through a simulation parameter input page. These fault simulation parameters are used to control the target oxygen sensor of the target vehicle to simulate a target aging fault state. Further, a safety threshold verification is performed on the fault simulation parameters. If the fault simulation parameters pass the safety threshold verification, signal fault simulation processing is performed on the electrical signal output by the target oxygen sensor according to the fault simulation parameters to obtain an aging fault simulation signal. Then, the aging fault simulation signal is output to the control unit of the target vehicle, enabling the control unit to control the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state. Using the above process, the target aging fault state of the oxygen sensor can be simulated through software-level fault simulation parameter configuration. This eliminates the need for wiring connections between the oxygen sensor signal simulator and the ECU and engine wiring harness, simplifying operation and avoiding errors caused by complex wiring connections. Therefore, it improves the simulation efficiency and accuracy of oxygen sensor aging faults. Attached Figure Description

[0035] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0036] Figure 1 A schematic diagram illustrating a scenario for the oxygen sensor aging failure simulation method provided in this application;

[0037] Figure 2 A flowchart illustrating the oxygen sensor aging failure simulation method provided in this application;

[0038] Figure 3 A schematic diagram of the simulation parameter input page provided in this application;

[0039] Figure 4 A schematic diagram of the oxygen sensor aging failure simulation device provided in this application;

[0040] Figure 5 A schematic diagram of the structure of the electronic device provided in this application.

[0041] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0042] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0043] The oxygen sensor aging failure simulation method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal device 102 can connect to the control unit 104 of the target vehicle via network communication, and can also connect to the target oxygen sensor 106 of the target vehicle via network communication, or connect to the target oxygen sensor 106 via a simple wiring connection. Based on this, the user can use terminal device 102 to access the simulation parameter input page and configure fault simulation parameters on the simulation parameter input page. The fault simulation parameters are used to control the target oxygen sensor 106 of the target vehicle to simulate the target aging fault state. Based on this, terminal device 102 can obtain the configured fault simulation parameters through the simulation parameter input page. Furthermore, terminal device 102 can perform a safety threshold verification on the fault simulation parameters. If the fault simulation parameters pass the safety threshold verification, based on the fault simulation parameters, signal fault simulation processing is performed on the electrical signal output by the target oxygen sensor 106 to obtain an aging fault simulation signal. The electrical signal output by the target oxygen sensor 106 can be sent to terminal device 102 by the target oxygen sensor 106. Then, terminal device 102 can output the aging fault simulation signal to the control unit 104 of the target vehicle, causing the control unit 104 to control the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state. The terminal device 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, etc. The control unit 104 can receive, fuse, and process data, run complex algorithms to make decisions, and ultimately issue control commands to the vehicle's actuators.

[0044] In one embodiment, an oxygen sensor aging failure simulation method is provided. This embodiment uses the application of this oxygen sensor aging failure simulation method to terminal device 102 as an example for illustration. Figure 2 As shown, the oxygen sensor aging failure simulation method includes:

[0045] Step 202: Obtain the configured fault simulation parameters through the simulation parameter input page; the fault simulation parameters are used to control the target oxygen sensor of the target vehicle to simulate the target aging fault state.

[0046] The fault simulation parameters include the response delay parameter (TDELAY) and the amplitude attenuation parameter (CWLSUFTDL). The response delay parameter, measured in seconds (s), simulates the lag in signal response to changes in oxygen concentration caused by decreased activity of the ceramic sensing element and slower electrode reaction rate after the oxygen sensor ages. The amplitude attenuation parameter is a dimensionless parameter used to simulate the reduction in signal amplitude caused by the aging of the oxygen sensor.

[0047] Optionally, the terminal device can obtain the fault simulation parameters configured by the user on the simulation parameter input page.

[0048] For example, the simulation parameter input page can specifically be as follows: Figure 3 As shown, users can configure the response delay parameter TDELAY=0.5s and the amplitude attenuation parameter CWLSUFTDL=3.0 on the simulation parameter input page.

[0049] Step 204: Perform safety threshold verification on the fault simulation parameters. If the fault simulation parameters pass the safety threshold verification, perform signal fault simulation processing on the electrical signal output by the target oxygen sensor according to the fault simulation parameters to obtain the aging fault simulation signal.

[0050] Optionally, the terminal device can perform a safety threshold verification on the fault simulation parameters to determine whether the response delay parameter and amplitude attenuation parameter in the fault simulation parameters are both within the safety threshold and whether they are valid. Furthermore, if the fault simulation parameters pass the safety threshold verification, the terminal device can perform signal fault simulation processing on the electrical signal output by the target oxygen sensor based on the response delay parameter and amplitude attenuation parameter in the fault simulation parameters, so that it has the response delay indicated by the response delay parameter and the amplitude attenuation indicated by the amplitude attenuation parameter, thereby obtaining an aging fault simulation signal.

[0051] Step 206: Output the aging fault simulation signal to the control unit of the target vehicle, so that the control unit controls the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state.

[0052] Optionally, the terminal device can output an aging fault simulation signal to the control unit of the target vehicle, so that the control unit can adjust the fuel injection quantity based on the aging fault simulation signal, thereby controlling the air-fuel ratio of the target vehicle to simulate the target aging fault state.

[0053] The aforementioned oxygen sensor aging fault simulation method allows for the acquisition of configured fault simulation parameters through a simulation parameter input page. These parameters control the target oxygen sensor in the target vehicle to simulate a target aging fault state. Further, a safety threshold verification is performed on the fault simulation parameters. If the parameters pass the safety threshold verification, signal fault simulation processing is applied to the electrical signal output by the target oxygen sensor based on these parameters to obtain an aging fault simulation signal. This signal is then output to the control unit of the target vehicle, enabling the control unit to control the air-fuel ratio based on the signal to simulate the target aging fault state. Using this process, the target aging fault state of the oxygen sensor can be simulated through software-level fault simulation parameter configuration. This eliminates the need for wiring connections between the oxygen sensor signal simulator and the ECU and engine wiring harness, simplifying operation and avoiding errors caused by complex wiring connections. Therefore, it improves the simulation efficiency and accuracy of oxygen sensor aging faults.

[0054] In one possible implementation, the fault simulation parameters are checked for safety thresholds, including:

[0055] If the response delay parameter in the fault simulation parameters is within the safe range of response delay, it is determined that the response delay parameter passes the safety threshold verification.

[0056] If the amplitude attenuation parameter in the fault simulation parameters is within the safe range of amplitude attenuation, then the amplitude attenuation parameter is determined to have passed the safety threshold verification.

[0057] Specifically, the safe range for response delay can be 0.05s (lower limit of response delay) to 1.5s (upper limit of response delay). The safe range for amplitude attenuation can be 2.0 (lower limit of amplitude attenuation) to 4.0 (upper limit of amplitude attenuation).

[0058] Optionally, if the response delay parameter in the fault simulation parameters is within the safe range, the terminal device can determine that the response delay parameter has passed the safety threshold verification. If the configured response delay parameter is less than the minimum value of the safe range (0.05s) or greater than the maximum value of the safe range (1.5s), the terminal device can determine that the response delay parameter has failed the safety threshold verification, invalidate the user-configured response delay parameter, refuse to start the simulation, and default to using the actual electrical signal from the target oxygen sensor.

[0059] Optionally, if the amplitude attenuation parameter in the fault simulation parameters is within the safe range for amplitude attenuation, the terminal device can determine that the amplitude attenuation parameter has passed the safety threshold verification. If the configured amplitude attenuation parameter is less than the minimum value of the safe range for amplitude attenuation (2.0) or greater than the maximum value of the safe range for amplitude attenuation (4.0), the terminal device can determine that the amplitude attenuation parameter has failed the safety threshold verification, invalidate the configured amplitude attenuation parameter, and refuse to start the simulation.

[0060] In the above embodiments, the configured fault simulation parameters can be verified through a security threshold to ensure that they meet the requirements of the actual application scenario and are effective. The simulation can then be started only if the fault simulation parameters are valid.

[0061] In one possible implementation, the oxygen sensor aging failure simulation method further includes:

[0062] If either the response delay parameter or the amplitude attenuation parameter fails the safety threshold check, it is determined that the fault simulation parameter has failed the safety threshold check.

[0063] Feedback error messages; error messages are used to indicate that the fault simulation parameters are configured incorrectly.

[0064] Optionally, if either the response delay parameter or the amplitude attenuation parameter fails the safety threshold verification, the terminal device can determine that the fault simulation parameter has failed the safety threshold verification.

[0065] Furthermore, if only the response delay parameter fails the security threshold verification, the terminal device can report the error message "Response delay parameter exceeds the security range, simulation startup fails"; if only the amplitude attenuation parameter fails the security threshold verification, the terminal device can report the error message "Amplitude attenuation parameter exceeds the security range, simulation startup fails"; if both the response delay parameter and the amplitude attenuation parameter fail the security threshold verification, the terminal device can report the error message "Response delay parameter and amplitude attenuation parameter exceed the security range, simulation startup fails".

[0066] In the above embodiments, error information can be fed back if any of the fault simulation parameters exceeds the safe range, so that users can adjust the erroneous fault simulation parameters in a timely manner and ensure the simulation efficiency and accuracy of the target oxygen sensor aging fault.

[0067] In some optional embodiments, based on fault simulation parameters, the electrical signal output by the target oxygen sensor is subjected to signal fault simulation processing to obtain an aging fault simulation signal, including:

[0068] Based on the response delay parameter in the fault simulation parameters, the electrical signal output by the target oxygen sensor is processed by signal delay to obtain the delayed electrical signal;

[0069] Based on the amplitude attenuation parameter in the fault simulation parameters, the delayed electrical signal is subjected to amplitude attenuation processing to obtain the aging fault simulation signal.

[0070] Optionally, the terminal device can perform signal delay processing on the electrical signal output by the target oxygen sensor based on the response delay parameter in the fault simulation parameters, extending the response time of the switching level in the electrical signal to obtain a delayed electrical signal, thus giving the delayed electrical signal the characteristics of response delay. Furthermore, the terminal device can perform amplitude attenuation processing on the delayed electrical signal based on the amplitude attenuation parameter in the fault simulation parameters to obtain an aging fault simulation signal, thus giving the aging fault simulation signal the characteristics of amplitude attenuation.

[0071] In the above embodiments, by configuring fault simulation parameters, an aging fault simulation signal with the characteristics of response delay and amplitude attenuation can be obtained, thereby directly simulating oxygen sensor aging faults. This eliminates the need for complex wiring connections and can replace the function of an oxygen sensor signal simulator. Based on this, the simulation efficiency and accuracy of oxygen sensor aging faults can be improved.

[0072] In one possible implementation, the electrical signal output by the target oxygen sensor is subjected to signal delay processing based on the response delay parameter in the fault simulation parameters to obtain a delayed electrical signal, including:

[0073] When the electrical signal output by the target oxygen sensor rises from the first low level to the first high level, a rising edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain the delayed electrical signal.

[0074] When the electrical signal output by the target oxygen sensor drops from the second high level to the second low level, a falling edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain the delayed electrical signal.

[0075] Specifically, when the target vehicle's exhaust switches from a "rich mixture" (air-fuel ratio λ<1) to a "lean mixture" (air-fuel ratio λ>1), the electrical signal output by the target oxygen sensor rises from a first low level (close to 0V) to a second high level (close to 0.8V). In this case, the terminal device can apply a rise-edge delay to the electrical signal based on the response delay parameter in the fault simulation parameters, thus obtaining a delayed electrical signal. This extends the time for the electrical signal to rise from the first low level to the first high level. For example, based on the configured response delay parameter, the signal level switching duration can be extended from the normal less than 0.1s to a value greater than 0.5s (less than 1.5s).

[0076] Specifically, when the target vehicle's exhaust switches from a "lean mixture" (air-fuel ratio λ>1) to a "rich mixture" (air-fuel ratio λ<1), the electrical signal output by the target oxygen sensor drops from the second high level (close to 1V) to the second low level (close to 0.2V). In this case, the terminal equipment can apply a falling edge delay to the electrical signal based on the response delay parameter in the fault simulation parameters, thus extending the time for the electrical signal to drop from the second high level to the second low level, resulting in a delayed electrical signal.

[0077] In the above embodiments, the electrical signal output by the target oxygen sensor can be processed by signal delay based on the response delay parameter in the fault simulation parameters to obtain a delayed electrical signal with response delay characteristics.

[0078] In one possible implementation, the target aging fault state is divided into three aging stages, and each aging stage is set with a response delay value range.

[0079] When the response delay parameter is within the first response delay value range, the delayed electrical signal represents the first aging stage;

[0080] When the response delay parameter is within the second response delay value range, the delayed electrical signal characterizes the second aging stage;

[0081] When the response delay parameter is within the third response delay value range, the delayed electrical signal represents the third aging stage.

[0082] Optionally, if the configured response delay parameter TDELAY is between 0.15s and 0.3s, which is 50% to 200% higher than the normal value, then the delayed electrical signal represents the first aging stage (mild aging stage). Subsequently, the amplitude attenuation is processed based on this delayed electrical signal to obtain the aging fault simulation signal and send it to the ECU. The ECU can still adjust the air-fuel ratio basically normally.

[0083] Optionally, if the configured response delay parameter TDELAY is between 0.3s and 0.6s, the response delay is 3 to 8 times the normal value. At this time, the delayed electrical signal represents the second aging stage (medium aging stage). Subsequently, the amplitude attenuation processing is performed based on this delayed electrical signal to obtain the aging fault simulation signal and send it to the ECU. The ECU adjusts the air-fuel ratio with a lag of more than 1 second.

[0084] Optionally, if the configured response delay parameter TDELAY is between 0.6s and 1.2s, and the response delay exceeds 10 times the normal value, then the delayed electrical signal represents the third aging stage (severe aging stage). Subsequently, after the amplitude attenuation processing is performed based on this delayed electrical signal to obtain the aging fault simulation signal and send it to the ECU, the ECU will be unable to keep up with the changes in exhaust oxygen concentration to adjust the air-fuel ratio.

[0085] In the above embodiments, without the need for complex wiring connections, the function of the oxygen sensor signal simulator can be replaced to simulate oxygen sensor aging faults.

[0086] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0087] Based on the same inventive concept, this application also provides an oxygen sensor aging failure simulation device for implementing the oxygen sensor aging failure simulation method described above. The solution provided by this oxygen sensor aging failure simulation device is similar to the solution described in the oxygen sensor aging failure simulation method above. Therefore, the specific limitations in one or more device embodiments provided below can be found in the limitations of the oxygen sensor aging failure simulation method described above, and will not be repeated here.

[0088] In one embodiment, such as Figure 4 As shown, an oxygen sensor aging failure simulation device 400 is provided, comprising:

[0089] The simulation parameter acquisition module 402 is used to acquire the configured fault simulation parameters through the simulation parameter input page; the fault simulation parameters are used to control the target oxygen sensor of the target vehicle to simulate the target aging fault state.

[0090] The analog signal acquisition module 404 is used to perform safety threshold verification on the fault simulation parameters. If the fault simulation parameters pass the safety threshold verification, the module performs signal fault simulation processing on the electrical signal output by the target oxygen sensor according to the fault simulation parameters to obtain the aging fault simulation signal.

[0091] The analog signal output module 406 is used to output an aging fault simulation signal to the control unit of the target vehicle, so that the control unit controls the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state.

[0092] The aforementioned oxygen sensor aging fault simulation device allows users to obtain configured fault simulation parameters through a simulation parameter input page. These parameters are used to control the target oxygen sensor in the target vehicle to simulate a target aging fault state. Further, a safety threshold verification is performed on the fault simulation parameters. If the parameters pass the safety threshold verification, signal fault simulation processing is applied to the electrical signal output by the target oxygen sensor to obtain an aging fault simulation signal. This signal is then output to the control unit of the target vehicle, enabling the control unit to control the air-fuel ratio based on the signal to simulate the target aging fault state. Using this process, the target aging fault state of the oxygen sensor can be simulated through software-level fault simulation parameter configuration. This eliminates the need for wiring connections between the oxygen sensor signal simulator and the ECU and engine wiring harness, simplifying operation and avoiding errors caused by complex wiring connections. Therefore, it improves the simulation efficiency and accuracy of oxygen sensor aging faults.

[0093] In one possible implementation, the analog signal acquisition module is configured as follows:

[0094] If the response delay parameter in the fault simulation parameters is within the safe range of response delay, it is determined that the response delay parameter passes the safety threshold verification.

[0095] If the amplitude attenuation parameter in the fault simulation parameters is within the safe range of amplitude attenuation, then the amplitude attenuation parameter is determined to have passed the safety threshold verification.

[0096] In one possible implementation, the oxygen sensor aging failure simulation device further includes an error information feedback module, which is configured to:

[0097] If either the response delay parameter or the amplitude attenuation parameter fails the safety threshold check, it is determined that the fault simulation parameter has failed the safety threshold check.

[0098] Feedback error messages; error messages are used to indicate that the fault simulation parameters are configured incorrectly.

[0099] In one possible implementation, the analog signal acquisition module is configured as follows:

[0100] Based on the response delay parameter in the fault simulation parameters, the electrical signal output by the target oxygen sensor is processed by signal delay to obtain the delayed electrical signal;

[0101] Based on the amplitude attenuation parameter in the fault simulation parameters, the delayed electrical signal is subjected to amplitude attenuation processing to obtain the aging fault simulation signal.

[0102] In one possible implementation, the analog signal acquisition module is further configured to:

[0103] When the electrical signal output by the target oxygen sensor rises from the first low level to the first high level, a rising edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain the delayed electrical signal.

[0104] When the electrical signal output by the target oxygen sensor drops from the second high level to the second low level, a falling edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain the delayed electrical signal.

[0105] In one possible implementation, the target aging fault state is divided into three aging stages, and each aging stage has a response delay value range.

[0106] When the response delay parameter is within the first response delay value range, the delayed electrical signal represents the first aging stage;

[0107] When the response delay parameter is within the second response delay value range, the delayed electrical signal characterizes the second aging stage;

[0108] When the response delay parameter is within the third response delay value range, the delayed electrical signal represents the third aging stage.

[0109] Each module in the above-mentioned device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0110] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. Figure 5 As shown, the electronic device 500 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 500 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0111] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.

[0112] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0113] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0114] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0115] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0116] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0117] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0118] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0119] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0120] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

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

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

[0123] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0124] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0125] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for simulating aging failure of an oxygen sensor, characterized in that, include: Obtain the configured fault simulation parameters through the simulation parameter input page; The fault simulation parameters are used to simulate the aging fault state of the target oxygen sensor of the target vehicle. The fault simulation parameters are subjected to a safety threshold verification. If the fault simulation parameters pass the safety threshold verification, the electrical signal output by the target oxygen sensor is processed according to the fault simulation parameters to obtain an aging fault simulation signal. The aging fault simulation signal is output to the control unit of the target vehicle, so that the control unit controls the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state.

2. The method according to claim 1, characterized in that, The step of performing a safety threshold verification on the fault simulation parameters includes: If the response delay parameter in the fault simulation parameters is within the safe range of response delay, it is determined that the response delay parameter passes the safety threshold verification. If the amplitude attenuation parameter in the fault simulation parameters is within the safe range of amplitude attenuation, then the amplitude attenuation parameter is determined to have passed the safety threshold verification.

3. The method according to claim 2, characterized in that, The method further includes: If either the response delay parameter or the amplitude attenuation parameter fails the safety threshold verification, it is determined that the fault simulation parameter has failed the safety threshold verification. Feedback error message; the error message is used to indicate that the fault simulation parameter configuration is incorrect.

4. The method according to claim 1, characterized in that, The step of performing signal fault simulation processing on the electrical signal output by the target oxygen sensor based on the fault simulation parameters to obtain an aging fault simulation signal includes: Based on the response delay parameter in the fault simulation parameters, the electrical signal output by the target oxygen sensor is subjected to signal delay processing to obtain a delayed electrical signal; Based on the amplitude attenuation parameter in the fault simulation parameters, the delayed electrical signal is subjected to amplitude attenuation processing to obtain the aging fault simulation signal.

5. The method according to claim 4, characterized in that, The step of performing signal delay processing on the electrical signal output by the target oxygen sensor based on the response delay parameter in the fault simulation parameters to obtain a delayed electrical signal includes: When the electrical signal output by the target oxygen sensor rises from a first low level to a first high level, a rising edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain a delayed electrical signal. When the electrical signal output by the target oxygen sensor drops from the second high level to the second low level, a falling edge delay is applied to the electrical signal according to the response delay parameter in the fault simulation parameters to obtain a delayed electrical signal.

6. The method according to claim 5, characterized in that, The target aging fault state is divided into three aging stages, and each aging stage is set with a response delay value range. When the response delay parameter is within the first response delay value range, the delayed electrical signal represents the first aging stage; When the response delay parameter is within the second response delay value range, the delayed electrical signal represents the second aging stage; When the response delay parameter is within the third response delay value range, the delayed electrical signal represents the third aging stage.

7. An oxygen sensor aging failure simulation device, characterized in that, include: The simulation parameter acquisition module is used to obtain the configured fault simulation parameters through the simulation parameter input page; The fault simulation parameters are used to control the target oxygen sensor of the target vehicle to simulate the target aging fault state. The simulation signal acquisition module is used to perform safety threshold verification on the fault simulation parameters. If the fault simulation parameters pass the safety threshold verification, the module performs signal fault simulation processing on the electrical signal output by the target oxygen sensor according to the fault simulation parameters to obtain the aging fault simulation signal. The analog signal output module is used to output the aging fault simulation signal to the control unit of the target vehicle, so that the control unit controls the air-fuel ratio of the target vehicle based on the aging fault simulation signal to simulate the target aging fault state.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method described in claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in claims 1 to 6.