Automobile valve opening control method and device
By resetting the initial value of the integral term of the valve control system and making a judgment based on the opening deviation interval table, the problems of the valve control system's difficulty in responding quickly and having low control accuracy are solved, and fast response and high-precision valve opening control are achieved.
Patent Information
- Application Number
- CN202211487693.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-11-25
AI Technical Summary
In the existing automotive valve control system, it is difficult to respond quickly when the valve opening changes greatly, and an excessively large integral coefficient can easily cause oscillation, affecting control accuracy.
By resetting the initial value of the integral term of the valve control system and starting integration from the initial value, the preset valve opening deviation range table is queried according to the opening deviation of the automobile valve to determine whether there is a deviation range jump. If so, the initial value of the integral term is reset to obtain the duty cycle to adjust the torque, achieving fast response and high-precision control.
The rapid response and high-precision control of the valve control system are achieved, the oscillation problem caused by the increase of the integral term coefficient is avoided, and the control accuracy of the valve opening is improved.
Smart Images

Figure CN115755613B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle control, and in particular to a method and device for controlling the opening of an automobile valve. Background Art
[0002] In the field of vehicle control, PID regulation can be used to perform closed-loop control of automobile valve opening. For nonlinear valve control systems, different proportional integral differential coefficients can be set to meet the requirements of nonlinear valve control systems.
[0003] Currently, when the target opening of an automotive valve fluctuates significantly, increasing the integral coefficient is often employed to ensure a quick response from the control system. However, because the integral term of a valve control system changes continuously, even with this increased integral coefficient, it still takes a certain amount of time for the actual drive output to meet the required value. This makes rapid response difficult, and an excessively large integral coefficient can easily cause the valve control system to oscillate, affecting the control accuracy of the valve opening. Summary of the Invention
[0004] The present invention provides a method and device for controlling the opening of an automobile valve, which are mainly capable of enabling a valve control system to respond quickly and improving the control accuracy of the valve opening.
[0005] According to a first aspect of an embodiment of the present invention, a method for controlling the opening of an automobile valve is provided, comprising:
[0006] determining an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve;
[0007] According to the opening deviation, a preset valve opening deviation interval table is searched to determine the first deviation interval to which the opening deviation belongs;
[0008] determining, based on the first deviation interval, whether the opening deviation has a deviation interval jump;
[0009] If the deviation interval jump occurs, resetting the initial value of the integral term of the valve control system, and integrating starting from the initial value to obtain the duty cycle corresponding to the automobile valve;
[0010] The torque for driving the automobile valve is adjusted based on the duty cycle to control the opening of the automobile valve.
[0011] According to a second aspect of an embodiment of the present invention, there is provided a device for controlling the opening of an automobile valve, comprising:
[0012] a determination unit, configured to determine an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve;
[0013] The determining unit is further configured to query a preset valve opening deviation interval table according to the opening deviation to determine a first deviation interval to which the opening deviation belongs;
[0014] a determination unit, configured to determine whether the opening deviation has a deviation interval jump according to the first deviation interval;
[0015] a reset unit, configured to reset an initial value of an integral term of a valve control system if the deviation interval jump occurs, and perform integration starting from the initial value to obtain a duty cycle corresponding to the automobile valve;
[0016] A control unit is used to adjust the torque of driving the automobile valve based on the duty cycle to achieve control of the opening of the automobile valve.
[0017] According to a third aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the following steps are implemented:
[0018] determining an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve;
[0019] According to the opening deviation, a preset valve opening deviation interval table is searched to determine the first deviation interval to which the opening deviation belongs;
[0020] determining, based on the first deviation interval, whether the opening deviation has a deviation interval jump;
[0021] If the deviation interval jump occurs, resetting the initial value of the integral term of the valve control system, and integrating starting from the initial value to obtain the duty cycle corresponding to the automobile valve;
[0022] The torque for driving the automobile valve is adjusted based on the duty cycle to control the opening of the automobile valve.
[0023] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the following steps are implemented:
[0024] determining an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve;
[0025] According to the opening deviation, a preset valve opening deviation interval table is searched to determine the first deviation interval to which the opening deviation belongs;
[0026] determining, based on the first deviation interval, whether the opening deviation has a deviation interval jump;
[0027] If the deviation interval jump occurs, resetting the initial value of the integral term of the valve control system, and integrating starting from the initial value to obtain the duty cycle corresponding to the automobile valve;
[0028] The torque for driving the automobile valve is adjusted based on the duty cycle to control the opening of the automobile valve.
[0029] The innovative features of the embodiments of the present invention include:
[0030] 1. One of the innovations of the embodiment of the present invention is that the valve control system can respond quickly by resetting the integral term in the PID regulation, and the control accuracy of the valve opening can be improved.
[0031] 2. Re-integration is performed from the initial value of the integral term of the valve control system to enable the integral term to change discontinuously. Achieving a cross-step response of the integral term is one of the innovations of the embodiment of the present invention.
[0032] The present invention provides a method and device for controlling the opening of an automobile valve. Compared to the prior art method of directly increasing the integral term coefficient, the method and device can determine the opening deviation of the automobile valve based on the actual opening and target opening of the automobile valve. Based on the opening deviation, a preset valve opening deviation range table is queried to determine the first deviation range to which the opening deviation belongs. Simultaneously, based on the first deviation range, it is determined whether the opening deviation has a deviation range jump. If a deviation range jump exists, the initial value of the integral term of the valve control system is reset and integration is performed starting from the initial value to obtain the duty cycle corresponding to the automobile valve. Finally, the torque driving the automobile valve is adjusted based on the duty cycle to achieve control of the automobile valve opening. Thus, the present invention resets the integral term of the control system based on the opening deviation between the actual opening of the automobile valve and the target opening, and re-integrates from the initial value of the integral term. This allows the integral term to change discontinuously, thereby achieving a cross-step response of the integral term and, in turn, enabling the valve control system to respond quickly. Because the present invention does not increase the integral term coefficient, it can improve the control accuracy of valve opening compared to the prior art.
[0033] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0035] Figure 1 A schematic flow chart of a method for controlling the opening of an automobile valve provided by an embodiment of the present invention is shown;
[0036] Figure 2 A schematic flow chart of another method for controlling the opening of an automobile valve provided by an embodiment of the present invention is shown;
[0037] Figure 3 A schematic structural diagram of a vehicle valve opening control device provided by an embodiment of the present invention is shown;
[0038] Figure 4 A schematic structural diagram of another vehicle valve opening control device provided by an embodiment of the present invention is shown;
[0039] Figure 5 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without creative work are within the scope of protection of the present invention.
[0041] It should be noted that the terms "including," "having," and any variations thereof in the embodiments of the present invention and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0042] It is difficult to achieve fast response with existing technologies, and an excessively large integral coefficient can easily cause oscillation in the valve control system, thereby affecting the control accuracy of the valve opening.
[0043] In order to overcome the above-mentioned defects, an embodiment of the present invention provides a method for controlling the opening of an automobile valve, such as Figure 1 As shown, the method includes:
[0044] Step 101: Determine the opening deviation of the automobile valve according to the actual opening and the target opening of the automobile valve.
[0045] Among them, the automobile valves may be valves that need to be controlled, such as an engine throttle, an oil pump valve, etc.
[0046] The embodiment of the present invention is mainly applicable to the scenario of controlling the opening of automobile valves. The execution subject of the embodiment of the present invention is a device or equipment capable of controlling the opening of automobile valves.
[0047] In the process of controlling the opening of an automobile valve, the embodiment of the present invention can obtain the target opening and actual opening of the automobile valve in real time, and then subtract the target opening from the real-time opening to obtain the opening deviation of the automobile valve. Based on the opening deviation, the improved PID adjustment method of the embodiment of the present invention is adopted to achieve precise control of the automobile valve opening.
[0048] Step 102: query a preset valve opening deviation interval table according to the opening deviation to determine a first deviation interval to which the opening deviation belongs.
[0049] Among them, the preset valve opening deviation interval table records different valve opening deviation intervals.
[0050] In this embodiment of the present invention, when the target opening of an automobile valve changes significantly, resulting in a step change, the valve control system is reset to its initial value to achieve a step response. This allows the valve control system to quickly respond. It should be noted that in this embodiment of the present invention, the initial value of the integral term is not reset upon a change in the opening deviation. Instead, the initial value reset is triggered only when the opening deviation of the automobile valve meets certain conditions, i.e., when a jump in the deviation range occurs. This ensures that the integral term of the valve control system functions properly.
[0051] Based on this, after determining the opening deviation, the embodiment of the present invention queries a preset valve opening deviation range table based on the opening deviation to determine the first deviation range to which the currently calculated opening deviation belongs. For example, if Deviation Range 1 and Deviation Range 2 are (10%, 15%) and (15%, 20%), respectively, and the currently calculated opening deviation is 17%, since 17% is within the range of (10%, 15%), it can be determined that the opening deviation belongs to Deviation Range 1 (the first deviation range).
[0052] Step 103: Determine whether the opening deviation has a deviation interval jump according to the first deviation interval.
[0053] For the embodiment of the present invention, in order to determine whether there is a deviation interval jump in the opening deviation of the automobile valve, it is necessary to compare the first deviation interval to which the opening deviation calculated this time belongs with the deviation interval to which the opening deviation calculated last time belongs. If the opening deviation calculated this time and the opening deviation calculated last time belong to the same deviation interval, it is determined that there is no deviation interval jump in the opening deviation calculated this time, that is, the triggering condition of the integral item initial value reset function is not met; on the contrary, if the opening deviation calculated this time and the opening deviation calculated last time do not belong to the same deviation interval, it is determined that there is an interval jump in the opening deviation calculated this time, that is, the triggering condition of the integral item initial value reset function is met.
[0054] Step 104: If the deviation interval jump exists, reset the initial value of the integral term of the valve control system, and start integrating from the initial value to obtain the duty cycle corresponding to the automobile valve.
[0055] In this embodiment of the present invention, if the calculated opening deviation exhibits a jump within a deviation interval, a function for resetting the initial value of the integral term is triggered. Specifically, based on the first deviation interval to which the opening deviation belongs, a preset list of reset values for the integral term is searched to determine the initial value of the integral term corresponding to the first deviation interval. Integration is then restarted from this initial value. This allows for discontinuous changes in the integral term, thereby achieving a step-like behavior in the integral term and enabling a rapid response from the valve control system.
[0056] Furthermore, regarding the process of determining the duty cycle of an automobile valve, the method includes: integrating from the initial value to obtain the duty cycle corresponding to the integral term; determining the duty cycle corresponding to the proportional term and the duty cycle corresponding to the differential term based on the valve opening deviation; and summing the duty cycles corresponding to the integral term, the proportional term, and the differential term to obtain the duty cycle corresponding to the automobile valve. Specifically, proportional, differential, and integral operations are performed based on the initial value of the integral term and the valve opening deviation, and the results of the three operations are added to obtain the duty cycle of the automobile valve.
[0057] Step 105: Regulate the torque driving the automobile valve based on the duty cycle to control the opening of the automobile valve.
[0058] According to the embodiment of the present invention, the duty cycle actually required for driving the valve is used to adjust the torque for driving the valve, thereby achieving precise control of the valve opening.
[0059] An embodiment of the present invention provides a method for controlling the opening of an automobile valve. The method resets the integral term of the control system based on the opening deviation between the actual opening of the automobile valve and the target opening, and re-integrates from the initial value of the integral term. This allows the integral term to change discontinuously, thereby achieving a cross-step response of the integral term, and further enables the valve control system to respond quickly. Since the embodiment of the present invention does not increase the adjustment of the integral term coefficient, it can improve the control accuracy of the valve opening compared to the prior art.
[0060] Furthermore, as a refinement and extension of the above embodiment, the embodiment of the present invention provides another method for controlling the opening of a vehicle valve, such as Figure 2 As shown, the method includes:
[0061] Step 201: setting each opening deviation node corresponding to the automobile valve and a calibration value corresponding to each opening deviation node.
[0062] To enable the control system to respond quickly while ensuring valve opening control accuracy, the design architecture of the embodiment of the present invention mainly includes the following parts: calculation of opening deviation, division of opening deviation intervals (hysteresis intervals), determination of trigger conditions, and resetting the initial value of the integral term. Specifically, when dividing the opening deviation intervals, it is necessary to pre-set multiple opening deviation nodes and the calibration values corresponding to the multiple opening deviation nodes, as shown in the following table:
[0063] Table 1
[0064] Opening deviation node 10% 20% 30% Calibration value 1 2 3
[0065] It should be noted that the opening deviation node and its corresponding calibration value can be set according to actual business needs, and the embodiment of the present invention does not specifically limit this.
[0066] Step 202: Obtain a hysteresis value corresponding to the hysteresis variable, and generate a plurality of opening deviation intervals based on the hysteresis value and the respective opening deviation nodes.
[0067] The embodiments of the present invention divide the opening deviation intervals based on hysteresis logic and multiple opening deviation nodes. Specifically, when using hysteresis logic, it is necessary to first calibrate the hysteresis value corresponding to the hysteresis variable. The default base value of the hysteresis variable is 50%, and the value range of the hysteresis variable is 0-50%. The actual hysteresis value can be obtained by adding the default base value of the hysteresis variable to the calibrated hysteresis value. For example, if the calibrated hysteresis value is 0, the actual hysteresis value is 0 + 50% = 50%. For another example, if the calibrated hysteresis value is 10%, the actual hysteresis value is 10% + 50% = 60%. Furthermore, based on the obtained actual hysteresis value and multiple opening deviation nodes, multiple opening deviation intervals can be divided. Taking the opening deviation node in Table 1 as an example, when the actual hysteresis value is 60%, the opening deviation interval is divided into [10%, 16%), [16%, 20%), [20%, 26%), and [26%, 30%).
[0068] Step 203: Determine the calibration values corresponding to the plurality of opening deviation intervals according to the calibration values corresponding to the respective opening deviation nodes.
[0069] For the embodiment of the present invention, after being divided into multiple opening deviation intervals, the calibration values corresponding to the multiple opening deviation intervals can be determined according to the calibration values corresponding to the respective opening deviation nodes. Following the above example, the calibration value corresponding to the opening deviation node 10% is 1, the calibration value corresponding to the opening deviation node 20% is 2, and the actual hysteresis value is 60%. When the valve is opened, if the opening deviation is in the range of [10%, 16%), the corresponding calibration value is 1. As the opening deviation gradually increases, when it increases to 16%, the calibration value will change from 1 to 2. By analogy, it can be determined that the calibration value corresponding to the opening deviation interval [10%, 16%) is 1, the calibration value corresponding to the opening deviation interval [16%, 20%) is 2, the calibration value corresponding to the opening deviation interval [20%, 26%) is 2, and the calibration value corresponding to the opening deviation interval [26%, 30%) is 3.
[0070] Furthermore, when the valve is closed, if the opening deviation is in the range of [14%, 20%], the corresponding calibration value is 2. As the opening deviation gradually decreases, when it decreases to 14%, the calibration value changes from 2 to 1. Similarly, it can be determined that the calibration value corresponding to the opening deviation interval of [24%, 30%] is 3, the calibration value corresponding to the opening deviation interval of [20%, 24%] is 2, the calibration value corresponding to the opening deviation interval of [14%, 20%] is 2, and the calibration value corresponding to the opening deviation interval of [10%, 14%] is 1.
[0071] The embodiment of the present invention adopts hysteresis logic, which can divide a plurality of opening deviation intervals and also prevent the calibration value from suddenly jumping.
[0072] Step 204: Generate the preset valve opening deviation interval table based on the multiple opening deviation intervals and their corresponding calibration values.
[0073] For an embodiment of the present invention, after determining the calibration values corresponding to multiple opening deviation intervals, a preset valve opening deviation interval table can be generated based on the mapping relationship between the opening deviation intervals and the calibration values. By querying the preset valve opening deviation interval table, the opening deviation interval to which the opening deviation belongs and the calibration values corresponding to the opening deviation intervals can be determined.
[0074] Step 205: Determine the opening deviation of the automobile valve according to the actual opening and the target opening of the automobile valve.
[0075] According to the embodiment of the present invention, during the process of controlling the opening of the automobile valve, the target opening and the actual opening of the automobile valve can be obtained in real time, and then the target opening is subtracted from the real-time opening to obtain the opening deviation of the automobile valve.
[0076] Step 206: query a preset valve opening deviation interval table according to the opening deviation to determine a first deviation interval to which the opening deviation belongs.
[0077] For this embodiment of the present invention, in order to determine the first deviation interval to which the calculated opening deviation belongs, step 206 specifically includes: querying a preset valve opening deviation interval table according to the opening deviation, determining the first deviation interval to which the opening deviation belongs, and a calibration value corresponding to the first deviation interval.
[0078] For example, the calculated opening deviation is 14%. By querying the preset valve opening deviation interval table, it is determined that the first deviation interval to which the opening deviation belongs is [10%, 16%), and the calibration value corresponding to [10%, 16%) is 1.
[0079] Step 207: Determine whether the opening deviation has a deviation interval jump according to the first deviation interval.
[0080] For the embodiment of the present invention, by determining the first deviation interval to which the opening deviation belongs and its corresponding calibration value, it is possible to determine whether the opening deviation has a deviation interval jump. When the opening deviation has a deviation interval jump, it indicates that the trigger condition for resetting the initial value of the integral term is met at this time. As an optional implementation method, the method for determining whether the opening deviation has a deviation interval jump includes: comparing the calibration value corresponding to the first deviation interval determined this time with the calibration value corresponding to the second deviation interval determined previously; if the calibration value corresponding to the first deviation interval is the same as the calibration value corresponding to the second deviation interval, then determining that the first deviation interval and the second deviation interval are the same deviation interval, and the opening deviation calculated this time does not have a deviation interval jump; if the calibration value corresponding to the first deviation interval is different from the calibration value corresponding to the second deviation interval, then determining that the first deviation interval and the second deviation interval are not the same deviation interval, and the opening deviation calculated this time has a deviation interval jump.
[0081] For example, the calibration value corresponding to the first deviation interval to which the opening deviation calculated this time belongs is 1, and the calibration value corresponding to the second deviation interval to which the opening deviation calculated previously belongs is 2. Since the calibration value corresponding to the first deviation interval is different from the calibration value corresponding to the second deviation interval, it can be determined that the first deviation interval and the second deviation interval are not the same deviation interval, and there is a deviation interval jump in the opening deviation calculated this time, that is, the trigger condition for resetting the initial value of the integral item is met at this time.
[0082] By determining the trigger condition, it is possible to avoid the integral term from being repeatedly reset, thereby ensuring that the integral term is integrated normally.
[0083] Step 208: If the deviation interval jump exists, reset the initial value of the integral term of the valve control system, and start integrating from the initial value to obtain the duty cycle corresponding to the automobile valve.
[0084] In an embodiment of the present invention, when there is a deviation interval jump in the opening deviation, it indicates that the trigger condition for resetting the initial value of the integral item is met, and the initial value of the integral item needs to be reset. For this process, the method includes: determining the initial value of the integral item of the valve control system based on the first deviation interval and a preset integral item reset initialization value list. Furthermore, determining the initial value of the integral item of the valve control system based on the first deviation interval and the preset integral item reset initialization value list includes: querying a preset integral item reset initialization value list based on a calibration value corresponding to the first deviation interval to determine the initial value of the integral item of the valve control system, wherein the preset integral item reset initialization value list records integral item reset initialization values corresponding to different calibration values.
[0085] For example, the calibration value is 1, and by querying the preset integral item reset initialization value list, it is determined that the initial value of the integral item is 11%, that is, the initial duty cycle of the integral item is 11%.
[0086] Furthermore, proportional differential integral operations are performed respectively according to the initial value of the integral term and the opening deviation of the automobile valve, and the three operation results are added together to obtain the duty cycle of the automobile valve.
[0087] The embodiment of the present invention uses a method of resetting the initial value of the integral term to enable a step change of the integral term, thereby achieving a rapid response of the control system. At the same time, since the embodiment of the present invention does not increase the coefficient of the integral term, the control accuracy of the valve opening can be guaranteed.
[0088] Step 209: Regulate the torque driving the automobile valve based on the duty cycle to control the opening of the automobile valve.
[0089] According to the embodiment of the present invention, the duty cycle actually required for driving the valve is used to adjust the torque for driving the valve, thereby achieving precise control of the valve opening.
[0090] Another method for controlling the opening of an automobile valve provided by an embodiment of the present invention resets the integral term of the control system through the opening deviation between the actual opening of the automobile valve and the target opening, and re-integrates from the initial value of the integral term, which can make the integral term change discontinuously, thereby achieving a cross-order response of the integral term, and further enabling the valve control system to respond quickly. Since the embodiment of the present invention does not increase the adjustment of the integral term coefficient, it can improve the control accuracy of the valve opening compared to the existing technology.
[0091] Further, as Figure 1 The specific implementation of the present invention provides a control device for the opening of an automobile valve, such as Figure 3 As shown, the device includes: a determination unit 31, a judgment unit 32, a reset unit 33 and a control unit 34.
[0092] The determining unit 31 may be configured to determine an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve.
[0093] The determining unit 31 may also be configured to query a preset valve opening deviation interval table according to the opening deviation to determine a first deviation interval to which the opening deviation belongs.
[0094] The determining unit 32 may be configured to determine whether the opening deviation has a deviation interval jump according to the first deviation interval.
[0095] The reset unit 33 may be configured to reset the initial value of the integral term of the valve control system if there is a jump in the deviation interval, and perform integration starting from the initial value to obtain a duty cycle corresponding to the automobile valve.
[0096] The control unit 34 may be configured to adjust the torque for driving the automobile valve based on the duty cycle, thereby controlling the opening of the automobile valve.
[0097] In specific application scenarios, such as Figure 4 As shown, the device further includes: a setting unit 35 and a generating unit 36.
[0098] The setting unit 35 can be used to set each opening deviation node corresponding to the automobile valve and the calibration value corresponding to each opening deviation node.
[0099] The generating unit 36 may be configured to obtain a hysteresis value corresponding to the hysteresis variable, and generate a plurality of opening deviation intervals based on the hysteresis value and the respective opening deviation nodes.
[0100] The determining unit 31 may also be configured to determine the calibration values corresponding to the plurality of opening deviation intervals, respectively, based on the calibration values corresponding to the respective opening deviation nodes.
[0101] The generating unit 36 may also be configured to generate the preset valve opening deviation interval table based on the multiple opening deviation intervals and their corresponding calibration values.
[0102] Furthermore, the determining unit 31 may be specifically configured to query a preset valve opening deviation interval table according to the opening deviation, and determine the first deviation interval to which the opening deviation belongs, and a calibration value corresponding to the first deviation interval.
[0103] In a specific application scenario, the determination unit 32 includes: a comparison module 321 and a determination module 322 .
[0104] The comparison module 321 may be configured to compare the calibration value corresponding to the first deviation interval determined this time with the calibration value corresponding to the second deviation interval determined previously.
[0105] The determining module 322 may be configured to determine that the first deviation interval and the second deviation interval are the same deviation interval if the calibration value corresponding to the first deviation interval is the same as the calibration value corresponding to the second deviation interval, and that the calculated opening deviation does not have a deviation interval jump.
[0106] The determining module 322 may also be configured to determine that the first deviation interval and the second deviation interval are not the same deviation interval if the calibration value corresponding to the first deviation interval is different from the calibration value corresponding to the second deviation interval, and that the calculated opening deviation has a deviation interval jump.
[0107] In a specific application scenario, the reset unit 33 may be specifically configured to determine the initial value of the integral term of the valve control system according to the first deviation interval and a preset integral term reset initialization value list.
[0108] Furthermore, the reset unit 33 can also be specifically used to query the preset integral item reset initialization value list according to the calibration value corresponding to the first deviation interval to determine the initial value of the integral item of the valve control system, wherein the preset integral item reset initialization value list records the integral item reset initialization values corresponding to different calibration values.
[0109] Furthermore, the reset unit 33 can also be specifically used to perform integration starting from the initial value to obtain the duty cycle corresponding to the integral term; determine the duty cycle corresponding to the proportional term and the duty cycle corresponding to the differential term according to the opening deviation; and add the duty cycles corresponding to the integral term, the proportional term and the differential term to obtain the duty cycle corresponding to the automobile valve.
[0110] It should be noted that for other corresponding descriptions of the functional modules involved in the vehicle valve opening control device provided by the embodiment of the present invention, reference can be made to Figure 1 The corresponding description of the method shown will not be repeated here.
[0111] Based on the above Figure 1 The method shown, accordingly, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which implements the following steps when executed by a processor: determining the opening deviation of the automobile valve based on the actual opening and target opening of the automobile valve; querying a preset valve opening deviation interval table based on the opening deviation to determine the first deviation interval to which the opening deviation belongs; judging whether there is a deviation interval jump in the opening deviation based on the first deviation interval; if there is a deviation interval jump, resetting the initial value of the integral term of the valve control system, and starting integration from the initial value to obtain the duty cycle corresponding to the automobile valve; adjusting the torque driving the automobile valve based on the duty cycle to achieve control of the opening of the automobile valve.
[0112] Based on the above Figure 1 The method shown and Figure 3 The embodiment of the device shown in the figure, the embodiment of the present invention also provides a physical structure diagram of an electronic device, such as Figure 5As shown, the electronic device includes: a processor 41, a memory 42, and a computer program stored in the memory 42 and executable on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43. When the processor 41 executes the program, the following steps are implemented: determining the opening deviation of the automobile valve according to the actual opening and the target opening of the automobile valve; querying a preset valve opening deviation interval table according to the opening deviation to determine the first deviation interval to which the opening deviation belongs; judging whether there is a deviation interval jump in the opening deviation according to the first deviation interval; if there is a deviation interval jump, resetting the initial value of the integral term of the valve control system, and integrating starting from the initial value to obtain the duty cycle corresponding to the automobile valve; and adjusting the torque for driving the automobile valve based on the duty cycle to achieve control of the opening of the automobile valve.
[0113] The embodiment of the present invention resets the integral term of the control system through the opening deviation between the actual opening of the automobile valve and the target opening, and re-integrates from the initial value of the integral term, which can make the integral term change discontinuously, thereby achieving a cross-step response of the integral term, and further enabling the valve control system to respond quickly. Since the embodiment of the present invention does not increase the adjustment of the integral term coefficient, it can improve the control accuracy of the valve opening compared to the existing technology.
[0114] Those skilled in the art will appreciate that the accompanying drawings are merely schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0115] Those skilled in the art will appreciate that the modules in the apparatuses of the embodiments may be distributed in the apparatuses of the embodiments as described in the embodiments, or may be located in one or more apparatuses different from the embodiments with corresponding changes. The modules in the above embodiments may be combined into one module or further divided into multiple sub-modules.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling the opening of an automobile valve, characterized in that: include: determining an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve; According to the opening deviation, a preset valve opening deviation interval table is searched to determine the first deviation interval to which the opening deviation belongs; determining, based on the first deviation interval, whether the opening deviation has a deviation interval jump; If the deviation interval jump occurs, resetting the initial value of the integral term of the valve control system, and integrating starting from the initial value to obtain the duty cycle corresponding to the automobile valve; Adjusting the torque of driving the automobile valve based on the duty cycle to achieve control of the opening of the automobile valve; The determining, based on the first deviation interval, whether the opening deviation has a deviation interval jump includes: Comparing the calibration value corresponding to the first deviation interval determined this time with the calibration value corresponding to the second deviation interval determined previously; If the calibration value corresponding to the first deviation interval is the same as the calibration value corresponding to the second deviation interval, then it is determined that the first deviation interval and the second deviation interval are the same deviation interval, and there is no deviation interval jump in the opening deviation calculated this time; If the calibration value corresponding to the first deviation interval is different from the calibration value corresponding to the second deviation interval, it is determined that the first deviation interval and the second deviation interval are not the same deviation interval, and the opening deviation calculated this time has a deviation interval jump.
2. The method according to claim 1, characterized in that Before determining the opening deviation of the automobile valve according to the actual opening and the target opening of the automobile valve, the method further includes: Setting each opening deviation node corresponding to the automobile valve and a calibration value corresponding to each opening deviation node; Obtaining a hysteresis value corresponding to the hysteresis variable, and generating a plurality of opening deviation intervals based on the hysteresis value and the respective opening deviation nodes; Determining the calibration values corresponding to the plurality of opening deviation intervals respectively according to the calibration values corresponding to the respective opening deviation nodes; The preset valve opening deviation interval table is generated based on the multiple opening deviation intervals and their corresponding calibration values.
3. The method according to claim 1, characterized in that The step of querying a preset valve opening deviation interval table according to the opening deviation to determine the first deviation interval to which the opening deviation belongs includes: A preset valve opening deviation interval table is queried according to the opening deviation to determine a first deviation interval to which the opening deviation belongs and a calibration value corresponding to the first deviation interval.
4. The method according to claim 3, characterized in that The resetting of the initial value of the integral term of the valve control system includes: An initial value of the integral term of the valve control system is determined according to the first deviation interval and a preset integral term reset initialization value list.
5. The method according to claim 4, characterized in that The determining the initial value of the integral term of the valve control system according to the first deviation interval and a preset integral term reset initialization value list includes: According to the calibration value corresponding to the first deviation interval, a preset integral item reset initialization value list is queried to determine the initial value of the integral item of the valve control system, wherein the preset integral item reset initialization value list records the integral item reset initialization values corresponding to different calibration values.
6. The method according to any one of claims 1 to 5, characterized in that The step of integrating from the initial value to obtain a duty cycle corresponding to the automobile valve includes: Integrate from the initial value to obtain a duty cycle corresponding to the integral term; Determining the duty cycle corresponding to the proportional term and the duty cycle corresponding to the differential term respectively according to the opening deviation; The duty cycles corresponding to the integral term, the proportional term, and the differential term are added together to obtain the duty cycle corresponding to the automobile valve.
7. A control device for the opening of an automobile valve, characterized in that: include: a determination unit, configured to determine an opening deviation of the automobile valve according to an actual opening and a target opening of the automobile valve; The determining unit is further configured to query a preset valve opening deviation interval table according to the opening deviation to determine a first deviation interval to which the opening deviation belongs; a determination unit, configured to determine, based on the first deviation interval, whether the opening deviation has a deviation interval jump; wherein, the determination unit, based on the first deviation interval, determines whether the opening deviation has a deviation interval jump, specifically to: compare a calibration value corresponding to the first deviation interval determined this time with a calibration value corresponding to the second deviation interval determined previously; if the calibration value corresponding to the first deviation interval is the same as the calibration value corresponding to the second deviation interval, then it is determined that the first deviation interval and the second deviation interval are the same deviation interval, and the opening deviation calculated this time has no deviation interval jump; if the calibration value corresponding to the first deviation interval is different from the calibration value corresponding to the second deviation interval, then it is determined that the first deviation interval and the second deviation interval are not the same deviation interval, and the opening deviation calculated this time has a deviation interval jump; a reset unit, configured to reset an initial value of an integral term of a valve control system if the deviation interval jump occurs, and perform integration starting from the initial value to obtain a duty cycle corresponding to the automobile valve; A control unit is used to adjust the torque driving the automobile valve based on the duty cycle to achieve control of the opening of the automobile valve.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.