Control method, device and system for switching oxygen sensor
By acquiring and calculating multiple corresponding relationships of the switch oxygen sensor and accurately controlling its voltage and resistance changes, the problem of low control accuracy of the switch oxygen sensor is solved and the purification effect of the three-way catalyst is improved.
Patent Information
- Application Number
- CN202211145090.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-09-20
AI Technical Summary
The control accuracy of the switch oxygen sensor in the prior art is low, resulting in a decrease in the purification ability of the three-way catalyst for CO, HC and NOx.
By obtaining multiple first and second corresponding relationships of the switch oxygen sensor, the excess air coefficient and temperature range corresponding to the current voltage and resistance are determined, and the target voltage and resistance change are calculated based on these relationships to accurately control the excess air coefficient and temperature of the switch oxygen sensor.
It achieves precise control of the switch oxygen sensor, improves its control accuracy under different working conditions, and ensures the purification capacity of the three-way catalyst.
Smart Images

Figure CN115599146B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle detection technology, and in particular to a control method, device, computer-readable storage medium, processor, and system for a switch oxygen sensor. Background Art
[0002] In engines that use three-way catalytic converters to reduce exhaust pollution, the switch oxygen sensor is one of the essential components. Once the air-fuel ratio of the mixture deviates from the theoretical air-fuel ratio, the three-way catalyst will reduce the CO, HC and NO x The purification capacity will drop sharply. Switch oxygen sensors are often used in exhaust gas aftertreatment processes because their output voltage changes with the concentration of combustible gases. However, their application range is relatively narrow, so open-loop control strategies are currently often used, resulting in low control accuracy.
[0003] Therefore, there is an urgent need for a method for controlling the switching oxygen sensor with higher precision.
[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country to those skilled in the art. Summary of the Invention
[0005] The main purpose of this application is to provide a control method, device, computer-readable storage medium, processor and system for a switch oxygen sensor to solve the problem of low control accuracy of the switch oxygen sensor in the prior art.
[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a control method for a switch oxygen sensor is provided, comprising: obtaining a plurality of first corresponding relationships and a plurality of second corresponding relationships of the switch oxygen sensor, wherein the first corresponding relationship is the relationship among excess air coefficient, voltage and resistance, and the second corresponding relationship is the relationship among temperature, the voltage and resistance, and each of the first corresponding relationships is applicable to a different range of the excess air coefficient, and each of the second corresponding relationships is applicable to a different range of the temperature, and the temperature is the absolute temperature inside the switch oxygen sensor; obtaining a current excess air coefficient range corresponding to the current voltage and current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and current resistance, and determining The first correspondence corresponding to the range of the excess air coefficient that is the same as the current range of the excess air coefficient is determined as the target first correspondence, and the second correspondence corresponding to the range of the temperature that is the same as the current temperature range is determined as the target second correspondence; the target voltage change and the target resistance change of the switching oxygen sensor are determined based on at least the current voltage, the current resistance, the target first correspondence, the target second correspondence, the target excess air coefficient range and the target temperature range; the current voltage is controlled to increase the target voltage change and the current resistance is controlled to increase the target resistance change, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range.
[0007] Optionally, obtaining multiple first correspondences and multiple second correspondences of the switch oxygen sensor includes: obtaining multiple first historical data groups and multiple second historical data groups of the switch oxygen sensor, the first historical data group including a first historical excess air coefficient and a first historical temperature, a first historical voltage, and a first historical resistance corresponding to the first historical excess air coefficient, the second historical data group including a second historical temperature and a second historical excess air coefficient, a second historical voltage, and a second historical resistance corresponding to the second historical temperature, the range of the first historical excess air coefficient in each of the first historical data groups being different, and the range of the second historical temperature in each of the second historical data being different; and using a trial-and-error method to calculate the first historical data group and the second historical data group respectively to obtain multiple first correspondences corresponding one-to-one to the first historical data group and multiple second correspondences corresponding one-to-one to the second historical data group.
[0008] Optionally, obtaining multiple first historical data groups and multiple second historical data groups of the switching oxygen sensor includes: obtaining multiple parameter sets of the switching oxygen sensor under different operating conditions, the parameter sets including historical excess air coefficient, historical temperature, historical voltage and historical resistance; and training the multiple groups of parameter sets using a ten-fold cross-validation method to obtain multiple first historical data groups and multiple second historical data groups.
[0009] Optionally, obtaining a current excess air coefficient range corresponding to the current voltage and current resistance of the switching oxygen sensor, and a current temperature range corresponding to the current voltage and current resistance, includes: determining a range of the first historical excess air coefficient corresponding to the first voltage and the first resistance as the current excess air coefficient range, the first voltage being the first historical voltage that is the same as the current voltage in multiple first historical data groups, and the first resistance being the first historical resistance that is the same as the current resistance in multiple first historical data groups; determining a range of the second historical temperature corresponding to the second voltage and the second resistance as the current temperature range, the second voltage being the second historical voltage that is the same as the current voltage in multiple second historical data groups, and the second resistance being the second historical resistance that is the same as the current resistance in multiple second historical data groups.
[0010] Optionally, the target voltage change and the target resistance change of the switch oxygen sensor are determined at least based on the current voltage, the current resistance, the target first correspondence, the target second correspondence, the target excess air coefficient range and the target temperature range, including: calculating the difference between the middle value of the current excess air coefficient range and the middle value of the target excess air coefficient range to obtain a first difference; calculating the ratio of the absolute value of the first difference to the middle value of the target excess air coefficient range to obtain a first ratio; calculating the difference between the middle value of the current temperature range and the middle value of the target temperature range to obtain a second difference; calculating the ratio of the absolute value of the second difference to the middle value of the target temperature range to obtain a second ratio; and determining the target voltage change and the target resistance change of the switch oxygen sensor at least based on whether the difference between the first ratio and the second ratio is greater than a predetermined value.
[0011] Optionally, the target voltage change and the target resistance change of the switching oxygen sensor are determined at least based on whether the difference between the first ratio and the second ratio is greater than a predetermined value, including: when the difference between the first ratio and the second ratio is greater than the predetermined value, substituting the current voltage and the current resistance into the target first corresponding relationship to determine the target voltage change and the target resistance change; when the difference between the first ratio and the second ratio is less than or equal to the predetermined value, substituting the current voltage and the current resistance into the target second corresponding relationship to determine the target voltage change and the target resistance change.
[0012] According to another aspect of the present application, a control device for a switch oxygen sensor is provided, comprising an acquisition unit, a first determination unit, a second determination unit, and a control unit, wherein the acquisition unit is used to acquire multiple first corresponding relationships and multiple second corresponding relationships of the switch oxygen sensor, the first corresponding relationship being the relationship between excess air coefficient, voltage, and resistance, the second corresponding relationship being the relationship between temperature, the voltage, and the resistance, the first corresponding relationships being applicable to different ranges of the excess air coefficient, the second corresponding relationships being applicable to different ranges of the temperature, the temperature being the absolute temperature inside the switch oxygen sensor; the first determination unit being used to acquire a current excess air coefficient range corresponding to the current voltage and current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and current resistance range, and determines that the first correspondence corresponding to the range of the excess air coefficient that is the same as the current excess air coefficient range is the target first correspondence, and the second correspondence corresponding to the range of the temperature that is the same as the current temperature range is the target second correspondence; the second determination unit is used to determine the target voltage change and the target resistance change of the switching oxygen sensor based on at least the current voltage, the current resistance, the target first correspondence, the target second correspondence, the target excess air coefficient range and the target temperature range; the control unit is used to control the current voltage to increase the target voltage change and the current resistance to increase the target resistance change, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range.
[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the control methods for a switch oxygen sensor.
[0014] According to another aspect of the present application, a processor is provided, wherein the processor is configured to run a program, wherein the program executes any one of the control methods for switching an oxygen sensor when the program is run.
[0015] According to another aspect of the present application, a control system for a switch oxygen sensor is provided, comprising a controller and a switch oxygen sensor, wherein the controller is configured to execute any one of the control methods for the switch oxygen sensor; and the switch oxygen sensor is communicatively connected to the controller.
[0016] Applying the technical solution of the present application, in a control method for a switch oxygen sensor, first, multiple first corresponding relationships and multiple second corresponding relationships of the switch oxygen sensor are obtained, wherein the first corresponding relationship is the relationship between the excess air coefficient, voltage, and resistance, and the second corresponding relationship is the relationship between the temperature, the voltage, and the resistance. The range of the excess air coefficient applicable to each of the first corresponding relationships is different, and the range of the temperature applicable to each of the second corresponding relationships is different, and the temperature is the absolute temperature inside the switch oxygen sensor; thereafter, the current excess air coefficient range corresponding to the current voltage and current resistance of the switch oxygen sensor, as well as the current temperature range corresponding to the current voltage and current resistance are obtained, and the temperature range corresponding to the current excess air coefficient is determined. The first correspondence corresponding to the range of the excess air coefficient with the same air coefficient range is the target first correspondence, and the second correspondence corresponding to the temperature range with the same current temperature range is the target second correspondence; thereafter, the target voltage change and the target resistance change of the switching oxygen sensor are determined at least based on the current voltage, the current resistance, the target first correspondence, the target second correspondence, the target excess air coefficient range and the target temperature range; finally, the current voltage is controlled to increase the target voltage change and the current resistance is controlled to increase the target resistance change, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range. The method first obtains multiple first corresponding relationships applicable to different excess air coefficient ranges and multiple second corresponding relationships applicable to different temperature ranges, and then determines the target first corresponding relationship and the target second corresponding relationship corresponding to the current excess air coefficient range and the current temperature range, that is, a more accurate corresponding relationship between the excess air coefficient and the voltage resistance, and between the temperature and the voltage resistance is obtained, so that the current voltage and the current resistance can be more accurately controlled to increase the target voltage change and the target resistance change, respectively, so that the excess air coefficient and temperature of the switch oxygen sensor reach the target excess air coefficient and the target temperature, thereby solving the problem of low control accuracy of the switch oxygen sensor in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings that constitute part of this application are used to provide a further understanding of this application. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0018] Figure 1 A flow chart showing a method for controlling a switch oxygen sensor according to an embodiment of the present application is shown;
[0019] Figure 2 shows a relationship diagram between excess air coefficient and voltage according to an embodiment of the present application;
[0020] Figure 3 shows a relationship diagram between temperature and resistance according to an embodiment of the present application;
[0021] Figure 4 A schematic diagram of a control device for a switch oxygen sensor according to an embodiment of the present application is shown;
[0022] Figure 5 A logic diagram of a control method for a switch oxygen sensor according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0025] It should be noted that 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 are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element or intervening elements may be present. Moreover, in the specification and claims, when it is described that an element is "connected to" another element, the element may be "directly connected to" the other element or "connected to" the other element through a third element.
[0027] For ease of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0028] Support Vector Machine: It is a generalized linear classifier that performs binary classification on data using supervised learning. Its decision boundary is the maximum margin hyperplane solved for the learning samples.
[0029] Fuzzy control: A form of intelligent control that uses professional knowledge to control the control strategy and behavior of the controlled object, usually expressed by if-then rules and language variables.
[0030] As mentioned in the background technology, the control accuracy of the switch oxygen sensor in the prior art is low. In order to solve the above problem, in a typical embodiment of the present application, a control method, device, computer-readable storage medium, processor and system for a switch oxygen sensor are provided.
[0031] According to an embodiment of the present application, a control method for switching an oxygen sensor is provided.
[0032] Figure 1 FIG. 1 is a flow chart of a method for controlling a switch oxygen sensor according to an embodiment of the present application. Figure 1 As shown, the method includes the following steps:
[0033] Step S101: Acquire multiple first correspondences and multiple second correspondences of the switch oxygen sensor, wherein the first correspondences are the relationships among excess air coefficient, voltage, and resistance, and the second correspondences are the relationships among temperature, voltage, and resistance. Each of the first correspondences is applicable to a different range of excess air coefficient, and each of the second correspondences is applicable to a different range of temperature. The excess air coefficient is the ratio of the actual air mass supplied for the actual combustion of 1 kg of fuel to the theoretical air mass required for the combustion of 1 kg of fuel. The temperature is the absolute temperature inside the switch oxygen sensor.
[0034] Step S102: obtaining a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, and determining the first corresponding relationship corresponding to the excess air coefficient range that is the same as the current excess air coefficient range as a target first corresponding relationship, and determining the second corresponding relationship corresponding to the temperature range that is the same as the current temperature range as a target second corresponding relationship;
[0035] Step S103, determining a target voltage change and a target resistance change of the switch oxygen sensor based on at least the current voltage, the current resistance, the target first correspondence, the target second correspondence, a target excess air ratio range, and a target temperature range;
[0036] Step S104 , controlling the current voltage to increase by the target voltage change amount and the current resistance to increase by the target resistance change amount, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range.
[0037] In the control method of the above-mentioned switch oxygen sensor, first, multiple first corresponding relationships and multiple second corresponding relationships of the switch oxygen sensor are obtained, the above-mentioned first corresponding relationship is the relationship between the excess air coefficient, voltage and resistance, and the above-mentioned second corresponding relationship is the relationship between the temperature, the above-mentioned voltage and the above-mentioned resistance. The range of the above-mentioned excess air coefficient applicable to each of the above-mentioned first corresponding relationships is different, and the range of the above-mentioned temperature applicable to each of the above-mentioned second corresponding relationships is different. The above-mentioned excess air coefficient is the ratio of the actual air mass supplied for the actual combustion of 1 kg of fuel to the air mass required for the theoretical combustion of 1 kg of fuel, and the above-mentioned temperature is the absolute temperature inside the above-mentioned switch oxygen sensor; then, the current excess air coefficient range corresponding to the current voltage and current resistance of the above-mentioned switch oxygen sensor, as well as the current voltage and current resistance are obtained. The target voltage change and the target resistance change of the switch oxygen sensor are determined based on at least the current voltage, the current resistance, the target first correspondence, the target second correspondence, the target excess air coefficient range and the target temperature range. Finally, the current voltage is controlled to increase by the target voltage change and the current resistance is controlled to increase by the target resistance change, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range. The method first obtains multiple first corresponding relationships applicable to different excess air coefficient ranges and multiple second corresponding relationships applicable to different temperature ranges, and then determines the target first corresponding relationship and the target second corresponding relationship corresponding to the current excess air coefficient range and the current temperature range, that is, a more accurate corresponding relationship between the excess air coefficient and the voltage resistance, and between the temperature and the voltage resistance is obtained, so that the current voltage and the current resistance can be more accurately controlled to increase the target voltage change and the target resistance change, respectively, so that the excess air coefficient and temperature of the above-mentioned switch oxygen sensor reach the target excess air coefficient and the target temperature, thereby solving the problem of low control accuracy of the switch oxygen sensor in the prior art.
[0038] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0039] In one embodiment of the present application, obtaining multiple first correspondences and multiple second correspondences of a switch oxygen sensor includes: obtaining multiple first historical data groups and multiple second historical data groups of the switch oxygen sensor, wherein the first historical data group includes a first historical excess air coefficient and a first historical temperature, a first historical voltage, and a first historical resistance corresponding to the first historical excess air coefficient; and the second historical data group includes a second historical temperature and a second historical excess air coefficient, a second historical voltage, and a second historical resistance corresponding to the second historical temperature; the range of the first historical excess air coefficient in each of the first historical data groups is different, and the range of the second historical temperature in each of the second historical data groups is different; and using a trial-and-error method to calculate the first historical data group and the second historical data group, respectively, to obtain multiple first correspondences corresponding to the first historical data group and multiple second correspondences corresponding to the second historical data group. Using the trial-and-error method, the first correspondences and the second correspondences corresponding to the multiple first historical data groups and the multiple second historical data groups can be obtained more accurately.
[0040] In practical applications, the above-mentioned first corresponding relationship and second corresponding relationship can be obtained through a fuzzy PID (Proportion Integration Differentiation) control model, using a trial-and-error method to obtain proportional, integral and differential parameters of the input variables to obtain multiple first corresponding relationships and multiple second corresponding relationships.
[0041] In order to further obtain accurate first correspondence and second correspondence, in another embodiment of the present application, multiple first historical data groups and multiple second historical data groups of the above-mentioned switch oxygen sensor are obtained, including: obtaining multiple parameter sets of the above-mentioned switch oxygen sensor under different operating conditions, the above-mentioned parameter sets including historical excess air coefficient, historical temperature, historical voltage and historical resistance; using a ten-fold cross-validation method to train multiple groups of the above-mentioned parameter sets to obtain multiple first historical data groups and multiple second historical data groups.
[0042] Specifically, due to the characteristics of the switch oxygen sensor itself, that is, at different excess air coefficients and temperatures, the Nernst voltage and Nernst resistance of the switch oxygen sensor are very different, such as Figure 2 and Figure 3As shown, therefore, the excess air coefficient and temperature can be divided into multiple segments, respectively, to obtain multiple first historical data groups and multiple second historical data groups, so that the first correspondence and the second correspondence corresponding to the multiple first historical data groups and the multiple second historical data groups can be obtained later. The support vector machine is trained and classified by the ten-fold cross-validation method, and the parameter set is randomly shuffled and evenly divided into ten parts. Nine of them are used as training sets each time, and the remaining one is used as a test set. The training is repeated ten times to obtain the final support vector machine feature classification parameters. For example, it can be divided into three first historical data groups and three second historical data groups. The ranges of the excess air coefficients corresponding to the three first historical data groups are 0≤λ a <0.98, 0.98≤λ b ≤1.02,λ c >1.02, the temperature ranges corresponding to the three second historical data groups are T a <750,750≤T b ≤1000, T c >1000.
[0043] In another embodiment of the present application, obtaining the current excess air coefficient range corresponding to the current voltage and current resistance of the switch oxygen sensor, as well as the current temperature range corresponding to the current voltage and current resistance, includes: determining a range of the first historical excess air coefficient corresponding to the first voltage and the first resistance as the current excess air coefficient range, wherein the first voltage is the first historical voltage identical to the current voltage in the plurality of first historical data sets, and the first resistance is the first historical resistance identical to the current resistance in the plurality of first historical data sets; and determining a range of the second historical temperature corresponding to the second voltage and the second resistance as the current temperature range, wherein the second voltage is the second historical voltage identical to the current voltage in the plurality of second historical data sets, and the second resistance is the second historical resistance identical to the current resistance in the plurality of second historical data sets. By finding the historical excess air coefficient range and the historical temperature range corresponding to the historical voltage identical to the current voltage and the historical resistance identical to the current resistance in the plurality of first historical data sets and the plurality of second historical data sets, respectively, in the plurality of first historical data sets and the plurality of second historical data sets, the current excess air coefficient range and the current temperature range can be quickly and accurately determined.
[0044] In order to accurately control various parameters of the switch oxygen sensor to reach target values and improve the control efficiency of the switch oxygen sensor, in another embodiment of the present application, the target voltage change and the target resistance change of the switch oxygen sensor are determined based on at least the above-mentioned current voltage, the above-mentioned current resistance, the above-mentioned target first correspondence, the above-mentioned target second correspondence, the target excess air coefficient range and the target temperature range, including: calculating the difference between the middle value of the above-mentioned current excess air coefficient range and the middle value of the above-mentioned target excess air coefficient range to obtain a first difference; calculating the ratio of the absolute value of the above-mentioned first difference to the middle value of the above-mentioned target excess air coefficient range to obtain a first ratio; calculating the difference between the middle value of the above-mentioned current temperature range and the middle value of the above-mentioned target temperature range to obtain a second difference; calculating the ratio of the absolute value of the above-mentioned second difference to the middle value of the above-mentioned target temperature range to obtain a second ratio; and determining the above-mentioned target voltage change and the above-mentioned target resistance change of the switch oxygen sensor at least based on whether the difference between the above-mentioned first ratio and the above-mentioned second ratio is greater than a predetermined value.
[0045] Specifically, the excess air coefficient and temperature of the switch oxygen sensor are fuzzy controlled by changing the voltage and resistance of the switch oxygen sensor. Since the control importance of the excess air coefficient and temperature is different in different situations, how to adjust the voltage and resistance changes is determined according to the different control importance.
[0046] In another embodiment of the present application, the target voltage change and the target resistance change of the switch oxygen sensor are determined based on at least whether the difference between the first ratio and the second ratio is greater than a predetermined value, including: when the difference between the first ratio and the second ratio is greater than the predetermined value, substituting the current voltage and the current resistance into the target first correspondence to determine the target voltage change and the target resistance change; when the difference between the first ratio and the second ratio is less than or equal to the predetermined value, substituting the current voltage and the current resistance into the target second correspondence to determine the target voltage change and the target resistance change. By comparing the difference between the current excess air coefficient range and the target excess air coefficient range, as well as the difference between the current temperature range and the target temperature range, the control importance of the excess air coefficient and the temperature can be more accurately determined, that is, whether to use the target first correspondence or the target second correspondence to adjust the excess air coefficient and the temperature can be determined, thereby further improving the control efficiency of the switch oxygen sensor.
[0047] Specifically, the predetermined value may be 0. When the difference between the first ratio and the second ratio is greater than 0, that is, the current excess air coefficient range is significantly different from the target excess air coefficient range and the current temperature range is relatively small compared to the target temperature range, the target first corresponding relationship should be used to adjust the excess air coefficient first. The excess air coefficient is adjusted by voltage and resistance, and changes in voltage and resistance may also bring about changes in temperature. When the excess air coefficient range reaches the target excess air coefficient range, the temperature range may also reach the target temperature range. If not, the temperature is adjusted according to the target second corresponding relationship, and finally both the excess air coefficient range and the temperature range reach the target. When the first ratio is greater than the target temperature, the temperature range may also reach the target temperature range. When the difference of the above-mentioned second ratio is less than or equal to 0, that is, when the current excess air coefficient range is slightly different from the target excess air coefficient range and the current temperature range is significantly different from the target temperature range, the target second corresponding relationship should be selected to adjust the temperature first. The temperature is also adjusted by voltage and resistance. Changes in voltage and resistance can also bring about changes in the excess air coefficient. When the temperature range reaches the target temperature range, the excess air coefficient range may also reach the target excess air coefficient range. If not, the temperature is adjusted according to the target second corresponding relationship. Finally, the excess air coefficient range and the temperature range both reach the target. The above-mentioned predetermined value is not limited to 0, and those skilled in the art can make a choice according to actual conditions.
[0048] In practical applications, a PID controller and a state observer can be constructed, both of which use the same PID control model as the above-mentioned first target correspondence relationship and the second target correspondence relationship. The voltage can be changed by changing the period of the PWM (Pulse Width Modulation) signal, and the resistance can be changed by changing the duty cycle of the PWM signal, so that the current voltage and the current resistance change, so that the excess air coefficient and temperature corresponding to the changed voltage and resistance can be calculated. The adaptive tuning of the PID parameters is completed based on the deviation and change rate of the obtained excess air coefficient and the target excess air coefficient, as well as the deviation and change rate of the temperature and the target temperature.
[0049] The present application also provides a control device for switching an oxygen sensor. It should be noted that the control device for switching an oxygen sensor according to the present application can be used to execute the control method for switching an oxygen sensor according to the present application. The following describes the control device for switching an oxygen sensor according to the present application.
[0050] Figure 4 Schematic diagram of a control device for a switch oxygen sensor according to an embodiment of the present application. Figure 4 As shown, the device includes:
[0051] an acquisition unit 10 for acquiring a plurality of first corresponding relationships and a plurality of second corresponding relationships of the switch oxygen sensor, wherein the first corresponding relationship is a relationship between an excess air coefficient, a voltage, and a resistance; and the second corresponding relationship is a relationship between a temperature, the voltage, and the resistance. Each of the first corresponding relationships is applicable to a different range of the excess air coefficient, and each of the second corresponding relationships is applicable to a different range of the temperature. The excess air coefficient is a ratio of the actual air mass supplied for the actual combustion of 1 kg of fuel to the theoretical air mass required for the combustion of 1 kg of fuel. The temperature is an absolute temperature inside the switch oxygen sensor.
[0052] a first determining unit 20 configured to obtain a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, and determine the first corresponding relationship corresponding to the excess air coefficient range identical to the current excess air coefficient range as a target first corresponding relationship, and determine the second corresponding relationship corresponding to the temperature range identical to the current temperature range as a target second corresponding relationship;
[0053] a second determining unit 30, configured to determine a target voltage change and a target resistance change of the switch oxygen sensor based on at least the current voltage, the current resistance, the target first corresponding relationship, the target second corresponding relationship, a target excess air coefficient range, and a target temperature range;
[0054] The control unit 40 is used to control the current voltage to increase by the target voltage change amount and the current resistance to increase by the target resistance change amount, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range.
[0055] In the control device of the above-mentioned switch oxygen sensor, multiple first corresponding relationships and multiple second corresponding relationships of the switch oxygen sensor are obtained through the above-mentioned acquisition unit. The above-mentioned first corresponding relationship is the relationship between the excess air coefficient, voltage and resistance, and the above-mentioned second corresponding relationship is the relationship between the temperature, the above-mentioned voltage and the above-mentioned resistance. The range of the above-mentioned excess air coefficient applicable to each of the above-mentioned first corresponding relationships is different, and the range of the above-mentioned temperature applicable to each of the above-mentioned second corresponding relationships is different. The above-mentioned excess air coefficient is the ratio of the air mass actually supplied for the actual combustion of 1 kg of fuel to the air mass required for the theoretical combustion of 1 kg of fuel, and the above-mentioned temperature is the absolute temperature inside the above-mentioned switch oxygen sensor; the current excess air coefficient range corresponding to the current voltage and current resistance of the above-mentioned switch oxygen sensor, as well as the current voltage and current resistance are obtained through the above-mentioned first determination unit. The target voltage change and the target resistance change of the switch oxygen sensor are determined by the second determining unit at least according to the current voltage, the current resistance, the target first correspondence, the target second correspondence, the target excess air coefficient range and the target temperature range; the current voltage is controlled to increase by the target voltage change and the current resistance is controlled to increase by the target resistance change, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range. The device first obtains multiple first corresponding relationships applicable to different excess air coefficient ranges and multiple second corresponding relationships applicable to different temperature ranges, and then determines the target first corresponding relationship and the target second corresponding relationship corresponding to the current excess air coefficient range and the current temperature range, that is, a more accurate corresponding relationship between the excess air coefficient and the voltage resistance, and between the temperature and the voltage resistance is obtained, so that the current voltage and the current resistance can be more accurately controlled to increase the target voltage change and the target resistance change, respectively, so that the excess air coefficient and temperature of the above-mentioned switching oxygen sensor reach the target excess air coefficient and the target temperature, thereby solving the problem of low control accuracy of the switching oxygen sensor in the prior art.
[0056] In one embodiment of the present application, the acquisition unit includes an acquisition module and a first calculation module, wherein the acquisition module is configured to acquire multiple first historical data groups and multiple second historical data groups of the switch oxygen sensor, wherein the first historical data group includes a first historical excess air coefficient and a first historical temperature, a first historical voltage, and a first historical resistance corresponding to the first historical excess air coefficient; and the second historical data group includes a second historical temperature and a second historical excess air coefficient, a second historical voltage, and a second historical resistance corresponding to the second historical temperature. The range of the first historical excess air coefficient in each of the first historical data groups is different, and the range of the second historical temperature in each of the second historical data groups is different. The first calculation module is configured to use a trial-and-error method to calculate the first historical data group and the second historical data group, respectively, to obtain multiple first corresponding relationships corresponding to the first historical data group and multiple second corresponding relationships corresponding to the second historical data group. The trial-and-error method can more accurately obtain the first corresponding relationships and the second corresponding relationships corresponding to the multiple first historical data groups and the multiple second historical data groups, respectively.
[0057] In practical applications, the first and second corresponding relationships may be PID (Proportion Integration Differentiation) control models, which use a trial-and-error method to obtain proportional, integral, and differential parameters of input variables to obtain multiple first and second corresponding relationships.
[0058] In order to further obtain accurate first correspondence and second correspondence, in another embodiment of the present application, the acquisition module includes an acquisition submodule and a training submodule, wherein the acquisition submodule is used to obtain multiple parameter sets of the switch oxygen sensor under different working conditions, and the parameter sets include historical excess air coefficient, historical temperature, historical voltage and historical resistance; the training submodule is used to train multiple groups of the parameter sets using a ten-fold cross-validation method to obtain multiple first historical data groups and multiple second historical data groups.
[0059] Specifically, due to the characteristics of the switch oxygen sensor itself, that is, at different excess air coefficients and temperatures, the Nernst voltage and Nernst resistance of the switch oxygen sensor are very different, such as Figure 2 and Figure 3As shown, therefore, the excess air coefficient and temperature can be divided into multiple segments, respectively, to obtain multiple first historical data groups and multiple second historical data groups, so that the first correspondence and the second correspondence corresponding to the multiple first historical data groups and the multiple second historical data groups can be obtained later. The support vector machine is trained and classified by the ten-fold cross-validation method, and the parameter set is randomly shuffled and evenly divided into ten parts. Nine of them are used as training sets each time, and the remaining one is used as a test set. The training is repeated ten times to obtain the final support vector machine feature classification parameters. For example, it can be divided into three first historical data groups and three second historical data groups. The ranges of the excess air coefficients corresponding to the three first historical data groups are 0≤λ a <0.98, 0.98≤λ b ≤1.02,λ c >1.02, the temperature ranges corresponding to the three second historical data groups are T a <750,750≤T b ≤1000, T c >1000.
[0060] In another embodiment of the present application, the first determination unit includes a first determination module and a second determination module, wherein the first determination module is configured to determine a range of the first historical excess air coefficient corresponding to the first voltage and the first resistance as the current excess air coefficient range, the first voltage being the first historical voltage identical to the current voltage in the plurality of first historical data groups, and the first resistance being the first historical resistance identical to the current resistance in the plurality of first historical data groups; and the second determination module is configured to determine a range of the second historical temperature corresponding to the second voltage and the second resistance as the current temperature range, the second voltage being the second historical voltage identical to the current voltage in the plurality of second historical data groups, and the second resistance being the second historical resistance identical to the current resistance in the plurality of second historical data groups. By finding the range of historical excess air coefficients and the range of historical temperatures corresponding to the historical voltages identical to the current voltage and the historical resistance identical to the current resistance in the plurality of first historical data groups and the plurality of second historical data groups, respectively, the current excess air coefficient range and the current temperature range can be quickly and accurately determined.
[0061] In order to accurately control various parameters of the switch oxygen sensor to reach target values and improve the control efficiency of the switch oxygen sensor, in another embodiment of the present application, the above-mentioned second determination unit includes a second calculation module, a third calculation module, a fourth calculation module, a fifth calculation module and a third determination module, wherein the above-mentioned second calculation module is used to calculate the difference between the middle value of the above-mentioned current excess air coefficient range and the middle value of the above-mentioned target excess air coefficient range to obtain a first difference; the above-mentioned third calculation module is used to calculate the ratio of the absolute value of the above-mentioned first difference to the middle value of the above-mentioned target excess air coefficient range to obtain a first ratio; the above-mentioned fourth calculation module is used to calculate the difference between the middle value of the above-mentioned current temperature range and the middle value of the above-mentioned target temperature range to obtain a second difference; the above-mentioned fifth calculation module is used to calculate the ratio of the absolute value of the above-mentioned second difference to the middle value of the above-mentioned target temperature range to obtain a second ratio; the above-mentioned third determination module is used to determine the above-mentioned target voltage change and the above-mentioned target resistance change of the above-mentioned switch oxygen sensor based on at least whether the difference between the above-mentioned first ratio and the above-mentioned second ratio is greater than a predetermined value.
[0062] Specifically, the excess air coefficient and temperature of the switch oxygen sensor are fuzzy controlled by changing the voltage and resistance of the switch oxygen sensor. Since the control importance of the excess air coefficient and temperature is different in different situations, how to adjust the voltage and resistance changes is determined according to the different control importance.
[0063] In another embodiment of the present application, the third determination module includes a first determination submodule and a second determination submodule, wherein the first determination submodule is configured to substitute the current voltage and the current resistance into the target first correspondence relationship to determine the target voltage change and the target resistance change when the difference between the first ratio and the second ratio is greater than the predetermined value; and the second determination submodule is configured to substitute the current voltage and the current resistance into the target second correspondence relationship to determine the target voltage change and the target resistance change when the difference between the first ratio and the second ratio is less than or equal to the predetermined value. By comparing the difference between the current excess air coefficient range and the target excess air coefficient range, and the difference between the current temperature range and the target temperature range, the control importance of the excess air coefficient and the temperature can be more accurately determined, that is, whether to use the target first correspondence relationship or the target second correspondence relationship to adjust the excess air coefficient and the temperature can be determined. Therefore, the control efficiency of the switch oxygen sensor can be further improved.
[0064] Specifically, the predetermined value may be 0. When the difference between the first ratio and the second ratio is greater than 0, that is, the current excess air coefficient range is significantly different from the target excess air coefficient range and the current temperature range is relatively small compared to the target temperature range, the target first corresponding relationship should be used to adjust the excess air coefficient first. The excess air coefficient is adjusted by voltage and resistance, and changes in voltage and resistance may also bring about changes in temperature. When the excess air coefficient range reaches the target excess air coefficient range, the temperature range may also reach the target temperature range. If not, the temperature is adjusted according to the target second corresponding relationship, and finally both the excess air coefficient range and the temperature range reach the target. When the first ratio is greater than the target temperature, the temperature range may also reach the target temperature range. When the difference of the above-mentioned second ratio is less than or equal to 0, that is, when the current excess air coefficient range is slightly different from the target excess air coefficient range and the current temperature range is significantly different from the target temperature range, the target second corresponding relationship should be selected to adjust the temperature first. The temperature is also adjusted by voltage and resistance. Changes in voltage and resistance can also bring about changes in the excess air coefficient. When the temperature range reaches the target temperature range, the excess air coefficient range may also reach the target excess air coefficient range. If not, the temperature is adjusted according to the target second corresponding relationship. Finally, the excess air coefficient range and the temperature range both reach the target. The above-mentioned predetermined value is not limited to 0, and those skilled in the art can make a choice according to actual conditions.
[0065] In practical applications, a PID controller and a state observer can be constructed, both of which use the same PID control model as the above-mentioned first target correspondence relationship and the second target correspondence relationship. The voltage can be changed by changing the period of the PWM (Pulse Width Modulation) signal, and the resistance can be changed by changing the duty cycle of the PWM signal, so that the current voltage and the current resistance change, so that the excess air coefficient and temperature corresponding to the changed voltage and resistance can be calculated. The adaptive tuning of the PID parameters is completed based on the deviation and change rate of the obtained excess air coefficient and the target excess air coefficient, as well as the deviation and change rate of the temperature and the target temperature.
[0066] The control device of the switch oxygen sensor includes a processor and a memory. The acquisition unit, the first determination unit, the second determination unit and the control unit are all stored in the memory as program units. The processor executes the program units stored in the memory to realize the corresponding functions.
[0067] The processor includes a core, which retrieves the corresponding program unit from the memory. One or more cores can be provided, and the problem of low control accuracy of the switch oxygen sensor in the prior art can be solved by adjusting the core parameters.
[0068] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0069] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is executed, the device where the computer-readable storage medium is located is controlled to execute the control method for the switch oxygen sensor.
[0070] An embodiment of the present invention provides a processor, which is used to run a program, wherein the control method for switching an oxygen sensor is executed when the program is run.
[0071] An embodiment of the present invention provides a device, comprising a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:
[0072] Step S101: Acquire multiple first correspondences and multiple second correspondences of the switch oxygen sensor, wherein the first correspondences are relationships among excess air coefficient, voltage, and resistance, and the second correspondences are relationships among temperature, voltage, and resistance. Each of the first correspondences applies to a different range of excess air coefficient, and each of the second correspondences applies to a different range of temperature, where the temperature is the absolute temperature inside the switch oxygen sensor.
[0073] Step S102: obtaining a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, and determining the first corresponding relationship corresponding to the excess air coefficient range that is the same as the current excess air coefficient range as a target first corresponding relationship, and determining the second corresponding relationship corresponding to the temperature range that is the same as the current temperature range as a target second corresponding relationship;
[0074] Step S103, determining a target voltage change and a target resistance change of the switch oxygen sensor based on at least the current voltage, the current resistance, the target first correspondence, the target second correspondence, a target excess air ratio range, and a target temperature range;
[0075] Step S104 , controlling the current voltage to increase by the target voltage change amount and the current resistance to increase by the target resistance change amount, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range.
[0076] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0077] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:
[0078] Step S101: Acquire multiple first correspondences and multiple second correspondences of the switch oxygen sensor, wherein the first correspondences are relationships among excess air coefficient, voltage, and resistance, and the second correspondences are relationships among temperature, voltage, and resistance. Each of the first correspondences applies to a different range of excess air coefficient, and each of the second correspondences applies to a different range of temperature, where the temperature is the absolute temperature inside the switch oxygen sensor.
[0079] Step S102: obtaining a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, and determining the first corresponding relationship corresponding to the excess air coefficient range that is the same as the current excess air coefficient range as a target first corresponding relationship, and determining the second corresponding relationship corresponding to the temperature range that is the same as the current temperature range as a target second corresponding relationship;
[0080] Step S103, determining a target voltage change and a target resistance change of the switch oxygen sensor based on at least the current voltage, the current resistance, the target first correspondence, the target second correspondence, a target excess air ratio range, and a target temperature range;
[0081] Step S104 , controlling the current voltage to increase by the target voltage change amount and the current resistance to increase by the target resistance change amount, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range.
[0082] According to another aspect of the present application, a control system for a switch oxygen sensor is provided, comprising a controller and a switch oxygen sensor, wherein the controller is configured to execute any one of the above-mentioned control methods for the switch oxygen sensor; and the switch oxygen sensor is communicatively connected to the controller.
[0083] Figure 5 FIG. 1 is a logic diagram of a control method for a switch oxygen sensor according to an embodiment of the present application. Figure 5 As shown, the specific steps include:
[0084] Acquiring multiple first historical data sets and multiple second historical data sets of the switch oxygen sensor, acquiring multiple parameter sets of the switch oxygen sensor under different operating conditions, the parameter sets including the historical excess air coefficient, the historical temperature, the historical voltage, and the historical resistance, and training the multiple parameter sets using a ten-fold cross-validation method to obtain the multiple first historical data sets and the multiple second historical data sets;
[0085] The current excess air coefficient range and current temperature range corresponding to the current voltage and current resistance;
[0086] Acquiring a plurality of first correspondences and a plurality of second correspondences of the switch oxygen sensor, determining a range of historical excess air coefficients corresponding to the historical voltages and the historical resistances that are the same as the current voltage and the current resistance in the plurality of first historical data groups as the current excess air coefficient range, and determining a range of historical temperatures corresponding to the historical voltages and the historical resistances that are the same as the current resistance in the plurality of second historical data groups as the current temperature range;
[0087] determining whether a difference between the first ratio and the second ratio is greater than a predetermined value, calculating a difference between a middle value of the current excess air coefficient range and a middle value of the target excess air coefficient range to obtain a first difference, calculating a ratio of an absolute value of the first difference to the middle value of the target excess air coefficient range to obtain a first ratio, calculating a difference between a middle value of the current temperature range and a middle value of the target temperature range to obtain a second difference, and calculating a ratio of an absolute value of the second difference to the middle value of the target temperature range to obtain a second ratio;
[0088] When the difference between the first ratio and the second ratio is greater than a predetermined value, determining the target voltage change and the target resistance change according to the target first corresponding relationship;
[0089] When the difference between the first ratio and the second ratio is less than or equal to a predetermined value, determining the target voltage change and the target resistance change according to the target second corresponding relationship;
[0090] The current voltage is controlled to increase by the target voltage change amount and the current resistance is controlled to increase by the target resistance change amount.
[0091] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0092] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0093] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0095] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0097] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0098] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0099] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0100] 1) In the control method of the switch oxygen sensor of the present application, first, multiple first corresponding relationships and multiple second corresponding relationships of the switch oxygen sensor are obtained, the above-mentioned first corresponding relationship is the relationship between the excess air coefficient, voltage and resistance, and the above-mentioned second corresponding relationship is the relationship between temperature, the above-mentioned voltage and the above-mentioned resistance. The range of the above-mentioned excess air coefficient applicable to each of the above-mentioned first corresponding relationships is different, and the range of the above-mentioned temperature applicable to each of the above-mentioned second corresponding relationships is different, and the above-mentioned temperature is the absolute temperature inside the above-mentioned switch oxygen sensor; then, the current excess air coefficient range corresponding to the current voltage and current resistance of the above-mentioned switch oxygen sensor, as well as the current temperature range corresponding to the above-mentioned current voltage and current resistance are obtained, and the current excess air coefficient range corresponding to the above-mentioned current voltage and current resistance is determined. The first correspondence corresponding to the same range of the above-mentioned excess air coefficient is the target first correspondence, and the second correspondence corresponding to the above-mentioned temperature range which is the same as the above-mentioned current temperature range is the target second correspondence; thereafter, the target voltage change and the target resistance change of the above-mentioned switch oxygen sensor are determined at least based on the above-mentioned current voltage, the above-mentioned current resistance, the above-mentioned target first correspondence, the above-mentioned target second correspondence, the target excess air coefficient range and the target temperature range; finally, the above-mentioned current voltage is controlled to increase the above-mentioned target voltage change and the above-mentioned current resistance is controlled to increase the above-mentioned target resistance change, so that the above-mentioned excess air coefficient reaches the above-mentioned target excess air coefficient range and the above-mentioned temperature reaches the above-mentioned target temperature range. The method first obtains multiple first corresponding relationships applicable to different excess air coefficient ranges and multiple second corresponding relationships applicable to different temperature ranges, and then determines the target first corresponding relationship and the target second corresponding relationship corresponding to the current excess air coefficient range and the current temperature range, that is, a more accurate corresponding relationship between the excess air coefficient and the voltage resistance, and between the temperature and the voltage resistance is obtained, so that the current voltage and the current resistance can be more accurately controlled to increase the target voltage change and the target resistance change, respectively, so that the excess air coefficient and temperature of the above-mentioned switch oxygen sensor reach the target excess air coefficient and the target temperature, thereby solving the problem of low control accuracy of the switch oxygen sensor in the prior art.
[0101] 2) In the control device of the switch oxygen sensor of the present application, multiple first corresponding relationships and multiple second corresponding relationships of the switch oxygen sensor are obtained by the above-mentioned acquisition unit, the above-mentioned first corresponding relationship is the relationship between the excess air coefficient, voltage and resistance, and the above-mentioned second corresponding relationship is the relationship between temperature, the above-mentioned voltage and the above-mentioned resistance. The range of the above-mentioned excess air coefficient applicable to each of the above-mentioned first corresponding relationships is different, and the range of the above-mentioned temperature applicable to each of the above-mentioned second corresponding relationships is different, and the above-mentioned temperature is the absolute temperature inside the above-mentioned switch oxygen sensor; the current excess air coefficient range corresponding to the current voltage and current resistance of the above-mentioned switch oxygen sensor, as well as the current temperature range corresponding to the above-mentioned current voltage and current resistance are obtained by the above-mentioned first determination unit, and the current excess air coefficient range corresponding to the above-mentioned current voltage and current resistance are determined, and the current temperature range corresponding to the above-mentioned current excess air coefficient range is determined. The first correspondence corresponding to the same range of the above-mentioned excess air coefficient is the target first correspondence, and the second correspondence corresponding to the above-mentioned temperature range which is the same as the above-mentioned current temperature range is the target second correspondence; the target voltage change and the target resistance change of the above-mentioned switch oxygen sensor are determined by the above-mentioned second determination unit at least based on the above-mentioned current voltage, the above-mentioned current resistance, the above-mentioned target first correspondence, the above-mentioned target second correspondence, the target excess air coefficient range and the target temperature range; the above-mentioned control unit controls the above-mentioned current voltage to increase the above-mentioned target voltage change and the above-mentioned current resistance to increase the above-mentioned target resistance change, so that the above-mentioned excess air coefficient reaches the above-mentioned target excess air coefficient range and the above-mentioned temperature reaches the above-mentioned target temperature range. The device first obtains multiple first corresponding relationships applicable to different excess air coefficient ranges and multiple second corresponding relationships applicable to different temperature ranges, and then determines the target first corresponding relationship and the target second corresponding relationship corresponding to the current excess air coefficient range and the current temperature range, that is, a more accurate corresponding relationship between the excess air coefficient and the voltage resistance, and between the temperature and the voltage resistance is obtained, so that the current voltage and the current resistance can be more accurately controlled to increase the target voltage change and the target resistance change, respectively, so that the excess air coefficient and temperature of the above-mentioned switching oxygen sensor reach the target excess air coefficient and the target temperature, thereby solving the problem of low control accuracy of the switching oxygen sensor in the prior art.
[0102] The foregoing description is merely a preferred embodiment of the present application and is not intended to limit the present application. Persons skilled in the art will readily appreciate that various modifications and variations are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A control method for a switch oxygen sensor, characterized in that: include: Acquiring a plurality of first corresponding relationships and a plurality of second corresponding relationships of the switch oxygen sensor, wherein the first corresponding relationship is a relationship between an excess air coefficient, a voltage, and a resistance, and the second corresponding relationship is a relationship between a temperature, the voltage, and the resistance, wherein each of the first corresponding relationships is applicable to a different range of the excess air coefficient, and each of the second corresponding relationships is applicable to a different range of the temperature, where the temperature is an absolute temperature inside the switch oxygen sensor; obtaining a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, and determining that a first corresponding relationship corresponding to a range of the excess air coefficient that is the same as the current excess air coefficient range is a target first corresponding relationship, and a second corresponding relationship corresponding to a range of the temperature that is the same as the current temperature range is a target second corresponding relationship; determining a target voltage change and a target resistance change of the switch oxygen sensor based at least on the current voltage, the current resistance, the target first corresponding relationship, the target second corresponding relationship, a target excess air ratio range, and a target temperature range; controlling the current voltage to increase by the target voltage change amount and the current resistance to increase by the target resistance change amount so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range, The target voltage change and target resistance change of the switch oxygen sensor are determined based on at least the current voltage, the current resistance, the target first corresponding relationship, the target second corresponding relationship, the target excess air coefficient range, and the target temperature range, including: calculating the difference between the middle value of the current excess air coefficient range and the middle value of the target excess air coefficient range to obtain a first difference; calculating the ratio of the absolute value of the first difference to the middle value of the target excess air coefficient range to obtain a first ratio; calculating the difference between the middle value of the current temperature range and the middle value of the target temperature range to obtain a second difference; calculating the ratio of the absolute value of the second difference to the middle value of the target temperature range to obtain a second ratio; when the difference between the first ratio and the second ratio is greater than a predetermined value, substituting the current voltage and the current resistance into the target first corresponding relationship to determine the target voltage change and the target resistance change; when the difference between the first ratio and the second ratio is less than or equal to the predetermined value, substituting the current voltage and the current resistance into the target second corresponding relationship to determine the target voltage change and the target resistance change.
2. The control method according to claim 1, characterized in that: Acquiring a plurality of first correspondences and a plurality of second correspondences of the switch oxygen sensor includes: Acquiring a plurality of first historical data groups and a plurality of second historical data groups of the switch oxygen sensor, wherein the first historical data group includes a first historical excess air coefficient and a first historical temperature, a first historical voltage, and a first historical resistance corresponding to the first historical excess air coefficient; and the second historical data group includes a second historical temperature and a second historical excess air coefficient, a second historical voltage, and a second historical resistance corresponding to the second historical temperature, wherein the first historical excess air coefficient in each of the first historical data groups has a different range, and the second historical temperature in each of the second historical data groups has a different range; The first historical data group and the second historical data group are calculated respectively by trial and error method to obtain a plurality of first corresponding relationships corresponding one-to-one to the first historical data group and a plurality of second corresponding relationships corresponding one-to-one to the second historical data group.
3. The control method according to claim 2, characterized in that: Acquiring a plurality of first historical data groups and a plurality of second historical data groups of the switch oxygen sensor, comprising: Acquiring multiple parameter sets of the switch oxygen sensor under different operating conditions, the parameter sets including historical excess air coefficient, historical temperature, historical voltage, and historical resistance; A ten-fold cross validation method is used to train multiple groups of parameter sets to obtain multiple first historical data groups and multiple second historical data groups.
4. The control method according to claim 2, characterized in that: Obtaining a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, including: Determining a first historical excess air coefficient range corresponding to a first voltage and a first resistance as the current excess air coefficient range, wherein the first voltage is the first historical voltage that is the same as the current voltage in a plurality of first historical data groups, and the first resistance is the first historical resistance that is the same as the current resistance in a plurality of first historical data groups; Determine that the range of the second historical temperature corresponding to the second voltage and the second resistance is the current temperature range, the second voltage is the second historical voltage that is the same as the current voltage in multiple second historical data groups, and the second resistance is the second historical resistance that is the same as the current resistance in multiple second historical data groups.
5. A control device for switching an oxygen sensor, characterized in that: include: an acquisition unit, configured to acquire a plurality of first corresponding relationships and a plurality of second corresponding relationships of the switch oxygen sensor, wherein the first corresponding relationship is a relationship between an excess air coefficient, a voltage, and a resistance, and the second corresponding relationship is a relationship between a temperature, the voltage, and the resistance, wherein each of the first corresponding relationships is applicable to a different range of the excess air coefficient, and each of the second corresponding relationships is applicable to a different range of the temperature, wherein the temperature is an absolute temperature inside the switch oxygen sensor; a first determining unit, configured to obtain a current excess air coefficient range corresponding to a current voltage and a current resistance of the switch oxygen sensor, and a current temperature range corresponding to the current voltage and the current resistance, and determine a first corresponding relationship corresponding to a range of the excess air coefficient that is the same as the current excess air coefficient range as a target first corresponding relationship, and a second corresponding relationship corresponding to a temperature range that is the same as the current temperature range as a target second corresponding relationship; a second determining unit, configured to determine a target voltage change and a target resistance change of the switch oxygen sensor based at least on the current voltage, the current resistance, the target first corresponding relationship, the target second corresponding relationship, a target excess air coefficient range, and a target temperature range; a control unit, configured to control the current voltage to increase by the target voltage change amount and the current resistance to increase by the target resistance change amount, so that the excess air coefficient reaches the target excess air coefficient range and the temperature reaches the target temperature range, The second determination unit includes a second calculation module, a third calculation module, a fourth calculation module, a fifth calculation module, and a third determination module, wherein the second calculation module is configured to calculate the difference between the middle value of the current excess air coefficient range and the middle value of the target excess air coefficient range to obtain a first difference; the third calculation module is configured to calculate the ratio of the absolute value of the first difference to the middle value of the target excess air coefficient range to obtain a first ratio; the fourth calculation module is configured to calculate the difference between the middle value of the current temperature range and the middle value of the target temperature range to obtain a second difference; the fifth calculation module is configured to calculate the ratio of the absolute value of the second difference to the middle value of the target temperature range to obtain a second ratio; and the third determination module is configured to, if the difference between the first ratio and the second ratio is greater than a predetermined value, substitute the current voltage and the current resistance into the target first correspondence relationship to determine the target voltage change and the target resistance change; and if the difference between the first ratio and the second ratio is less than or equal to the predetermined value, substitute the current voltage and the current resistance into the target second correspondence relationship to determine the target voltage change and the target resistance change.
6. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the control method for a switch oxygen sensor according to any one of claims 1 to 4.
7. A processor, characterized in that: The processor is configured to run a program, wherein the program, when running, executes the method for controlling a switch oxygen sensor according to any one of claims 1 to 4.
8. A control system for a switch oxygen sensor, characterized in that: include: A controller for executing the control method of a switch oxygen sensor according to any one of claims 1 to 4; A switch oxygen sensor is communicatively connected with the controller.
Citation Information
Patent Citations
Excess air coefficient correction method and device, vehicle and storage medium
CN112628004A
Method for determining fuel gas demand quantity of engine and related device
CN114810392A