Disclosure of Invention
The invention provides a control method, a device, equipment and a medium of an oil quantity metering unit of a high-pressure oil pump, which are used for solving the problem of large transient fluctuation of the oil quantity metering unit in the related technology, so as to realize stable and accurate control of the oil quantity metering unit.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a control method of an oil amount measuring unit of a high-pressure oil pump, including the steps of:
based on the first calculation period, acquiring the current power supply voltage and the current target current of the oil quantity metering unit; acquiring a first current resistance value of the resistance of the oil quantity metering unit;
based on a feedforward control model, outputting a current first duty ratio according to the current supply voltage, the current target current, the first current resistance value and the inductance value of the oil mass metering unit;
Based on a PID control model, outputting a current second duty ratio according to the current target current and a first output current of the oil mass metering unit in a previous first calculation period;
And calculating a current total duty ratio of the oil quantity metering unit in a current first calculation period according to the current first duty ratio and the current second duty ratio, calculating a current output current of the oil quantity metering unit in the current first calculation period according to the current total duty ratio, and controlling the oil quantity metering unit according to the current output current.
Optionally, the feedforward control model is:;
wherein, For the current first duty cycle,For the present target current to be the present,The first current resistance value; Is the inductance value; And the current power supply voltage.
Optionally, the control method of the high-pressure oil pump oil quantity measuring unit further includes the following steps:
Based on a parameter estimation model, discretizing a circuit control model of the oil quantity metering unit to obtain a transfer function of the circuit control model;
Based on a second calculation period, acquiring a first total duty ratio and a second output current of a previous second calculation period for controlling the oil quantity metering unit;
And calculating a second current resistance value of the resistor in a current second calculation period according to the first total duty cycle and the second output current, as well as a transfer function of the circuit control model and a recursive least square method with genetic factors.
Optionally, the circuit control model of the oil quantity metering unit is:;
In the formula, For the coil current of the oil metering unit,The resistance value of the resistor of the oil quantity measuring unit is; an inductance value of an inductance of the oil quantity measuring unit; a power supply voltage for the oil quantity measuring unit;
the transfer function of the circuit control model is as follows: ;
wherein, ;;For the second calculation period; for the first total duty cycle, For the second output current to be present,Controlling the output current of the oil quantity metering unit for the first two second calculation periods,Is an integer greater than 1 and is selected from the group consisting of,And the second current resistance value.
In order to achieve the above object, a second aspect of the present invention provides a control device for an oil amount measuring unit of a high-pressure oil pump, comprising:
The first acquisition module is used for acquiring the current power supply voltage and the current target current of the oil quantity metering unit based on the first calculation period; acquiring a first current resistance value of the resistance of the oil quantity metering unit;
The first calculation module is used for outputting a current first duty ratio according to the current power supply voltage, the current target current, the first current resistance value and the inductance value of the oil mass metering unit based on a feedforward control model;
The second calculation module is used for outputting a current second duty ratio according to the current target current and the first output current of the oil quantity metering unit in the previous first calculation period based on a PID control model;
And the third calculation module is used for calculating the current total duty ratio of the oil mass metering unit in the current first calculation period according to the current first duty ratio and the current second duty ratio, calculating the current output current of the oil mass metering unit in the current first calculation period according to the current total duty ratio, and controlling the oil mass metering unit according to the current output current.
Optionally, the feedforward control model is:;
wherein, For the current first duty cycle,For the present target current to be the present,The first current resistance value; Is the inductance value; And the current power supply voltage.
Optionally, the control device of the high-pressure oil pump oil amount measuring unit further includes:
the discretization module is used for discretizing the circuit control model of the oil quantity metering unit based on the parameter estimation model to obtain a transfer function of the circuit control model;
The second acquisition module is used for acquiring a first total duty ratio and a second output current of the oil quantity metering unit controlled in the previous second calculation period based on the second calculation period;
And a fourth calculation module, configured to calculate a second current resistance value of the resistor in a current second calculation period according to the first total duty cycle and the second output current, and a transfer function of the circuit control model and a recursive least square method with a genetic factor.
Optionally, the circuit control model of the oil quantity metering unit is:;
In the formula, For the coil current of the oil metering unit,The resistance value of the resistor of the oil quantity measuring unit is; an inductance value of an inductance of the oil quantity measuring unit; a power supply voltage for the oil quantity measuring unit;
the transfer function of the circuit control model is as follows: ;
wherein, ;;For the second calculation period; for the first total duty cycle, For the second output current to be present,Controlling the output current of the oil quantity metering unit for the first two second calculation periods,Is an integer greater than 1 and is selected from the group consisting of,And the second current resistance value.
To achieve the above object, an embodiment of a third aspect of the present invention provides an electronic device including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the control method of the high-pressure oil pump oil metering unit according to any one of the embodiments of the present invention.
To achieve the above object, a fourth aspect of the present invention provides a computer-readable storage medium storing computer instructions for causing a processor to execute a control method of the high-pressure oil pump oil amount measuring unit according to any one of the embodiments of the present invention.
According to the technical scheme, the current power supply voltage and the current target current of the oil quantity metering unit are obtained based on a first calculation period; acquiring a first current resistance value of a resistance of the oil quantity metering unit; then, based on a feedforward control model, outputting a current first duty ratio according to the current power supply voltage, the current target current, a first current resistance value and an inductance value of the oil quantity metering unit; then based on a PID control model, outputting a current second duty ratio according to the current target current and the first output current of the oil quantity metering unit in the previous first calculation period; and then calculating the current total duty ratio of the oil quantity control metering unit in the current first calculation period according to the current first duty ratio and the current second duty ratio, calculating the current output current of the oil quantity control metering unit in the current first calculation period according to the current total duty ratio, and controlling the oil quantity metering unit by the current output current. Transient control fluctuation only by the deviation control parameter of the PID control module is solved, so that the oil quantity metering unit is controlled more accurately and stably.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a control logic diagram of a high-pressure oil pump oil quantity measuring unit in the related art. As can be seen from fig. 1, the PID controller takes as input the deviation between the current target current and the current of the control oil metering unit output from the previous cycle, and then outputs the duty ratio of the control oil metering unit. That is, in the related art, mainly through PID closed-loop control, the error is relied on to be readjusted after occurrence, and the PID controller needs to increase a plurality of sets of PID control parameters for controlling the effect, which not only easily causes large fluctuation of transient control, but also easily causes large calculation amount in setting of a plurality of sets of control parameters.
In order to solve the problems, the embodiment of the invention provides a control method, a device, equipment and a medium of an oil quantity measuring unit of a high-pressure oil pump, so as to improve the stability and the accuracy of the control of the oil quantity measuring unit of the high-pressure oil pump.
Before explaining a control method of an oil quantity measuring unit of a high-pressure oil pump according to an embodiment of the present invention, a circuit of the oil quantity measuring unit of the high-pressure oil pump will be described. Fig. 2 is a schematic circuit diagram of an oil metering unit of a high-pressure oil pump according to an embodiment of the present invention. As shown in fig. 2, the circuit of the oil metering unit may be a first-order RL circuit. Based on kirchhoff's second law, the supply voltage of the circuit, the current in the circuit and the inductance and resistance values satisfy the following relationIn which, in the process,For the coil current of the fuel metering unit,The resistance value of the coil resistor of the oil mass metering unit; An inductance value of a coil inductance of the oil quantity measuring unit; and the power supply voltage of the oil quantity metering unit.
Fig. 3 is a flowchart of a control method of the oil quantity measuring unit of the high-pressure oil pump according to the embodiment of the invention. Fig. 4 is a logic diagram of a control method of an oil quantity measuring unit of a high-pressure oil pump according to an embodiment of the present invention. As shown in fig. 3 and 4, the control method includes the steps of:
s101, acquiring the current power supply voltage and the current target current of the oil mass metering unit based on a first calculation period; and acquiring a first current resistance value of the resistance of the oil quantity metering unit.
It is understood that the first calculation period is a calculation period for controlling the output current of the oil amount measuring unit (hereinafter referred to as an oil amount measuring unit) of the high-pressure oil pump, and may be in the order of milliseconds, and may be exemplified by 10ms. That is, the output current of the control oil amount metering unit is calculated every 10ms.
Further, based on the first calculation period, the current supply voltage and the current target current of the oil quantity measuring unit and the first current resistance value can be obtained once every 10ms for corresponding calculation in subsequent steps.
It should be noted that, the current power supply voltage is the power supply voltage for driving the oil metering unit, and the power supply voltage may change along with the change of the power supply line, so as to obtain in the first calculation period, thereby improving the accuracy of the subsequent calculation. The current target current corresponds to the required rail pressure, and the current target current can be obtained by looking up a table after the required rail pressure is obtained. The resistance value of the resistance of the oil quantity metering unit is also changed along with the temperature sometimes, so that the resistance value can be obtained in a first calculation period, and the accuracy of subsequent calculation is improved.
S102, outputting a current first duty ratio according to a current supply voltage, a current target current, a first current resistance value and an inductance value of the oil quantity metering unit based on a feedforward control model.
The feedforward controller in fig. 4 is the feedforward control model, and the current first duty ratio can be calculated by inputting the current supply voltage, the current target current and the first current resistance value and combining the inductance value, and the calculation period is a first calculation period, which may be 10ms. Optionally, the feedforward control model is: ; wherein, For the current first duty cycle,For the present target current to be the present,The first current resistance value; Is the inductance value; And the current power supply voltage.
The subscript t in the model is for indicating that the above parameters are at the same time.
S103, outputting a current second duty ratio according to the current target current and the first output current of the oil quantity metering unit in the previous first calculation period based on the PID control model.
The PID controller in fig. 4 is the PID control model described above, where the deviation between the current target current and the first output current of the oil metering unit in the previous first calculation period is used as the input of the PID control model, and the current second duty ratio is output after calculation by the PID control model。
S104, calculating the current total duty ratio of the oil quantity control metering unit in the current first calculation period according to the current first duty ratio and the current second duty ratio, calculating the current output current of the oil quantity control metering unit in the current first calculation period according to the current total duty ratio, and controlling the oil quantity metering unit according to the current output current.
In calculating the current first duty cycle according to step S102 and step S103And a current second duty cycleThen, the current first duty cycle can be adjustedAnd a current second duty cycleSumming to obtain the current total duty cycle. Thereby according to kirchhoff's second law, with the current total duty cycleControlling supply voltageThe current output current flowing through the oil metering unit can be controlled, and further, the oil metering unit is correspondingly controlled so that the current output current follows the current target current.
In the control logic, the design of the feedforward control model reduces the influence of temperature change on the current by the obtained first duty ratio, so that the control strategy of the PID control model is modified to a certain extent, the output current of the control oil metering unit is more close to the target current, the problem of large following error of the output current of the control oil metering unit is solved, and the quality of rail pressure control is improved.
Optionally, the control method of the high-pressure oil pump oil quantity measuring unit further includes the steps of:
based on the parameter estimation model, discretizing a circuit control model of the oil quantity metering unit to obtain a transfer function of the circuit control model;
Based on the second calculation period, acquiring a first total duty ratio and a second output current of a control oil quantity metering unit of a previous second calculation period;
And calculating a second current resistance value of the resistor in a current second calculation period according to the first total duty cycle and the second output current, the transfer function of the circuit control model and a recursive least square method with genetic factors.
The parameter estimator in fig. 4 is a parameter estimation model as described above, through which the resistance value of the resistor of the oil metering unit can be estimated in the second calculation period, so that the influence of the temperature on the resistance value of the resistor is introduced into the control logic, and the accuracy of the overall calculation model is improved.
It is understood that the second calculation period may be the same as the first calculation period, or the second calculation period may be an integer multiple of the first calculation period. So that a plurality of first calculation cycles can be aligned with a second calculation cycle, which in one embodiment may be 10ms, taking into account that the temperature does not change for a short time, and further, the second calculation cycle may be 1 min.
The estimation procedure is as follows: the circuit control model is discretized to obtain a transfer function, and the resistance value of the resistor is estimated through a recursive least square method with genetic factors according to the transfer function, the output current of the previous second calculation period and the total duty ratio.
Optionally, the circuit control model of the oil quantity metering unit is:;
In the formula, For the coil current of the fuel metering unit,The resistance value of the resistor of the oil mass metering unit; The inductance value of the inductance of the oil mass metering unit; the power supply voltage of the oil quantity metering unit is used for supplying power to the oil quantity metering unit;
The transfer function of the circuit control model is: ;
wherein, ;;For a second calculation period; for the first total duty cycle to be the first, For the second output current to be the same,The output current of the oil quantity measuring unit is controlled for the first two second calculation periods,Is an integer greater than 1 and is selected from the group consisting of,Is the second current resistance. Wherein the transfer function is written as:;
then, a recursive least squares expression with genetic factors constructed according to the transfer function is as follows:
; wherein, As a forgetting factor,In the form of a gain matrix,Is a unit matrix; in the form of a covariance matrix, As an estimate of the parameter matrix,A data matrix.
Further, the resistance value of the resistor can be estimated on line by recursion of a recursive least square method with a genetic factor.
Based on the control method of the high-pressure oil pump oil quantity measuring unit provided by the embodiment, in combination with fig. 3 and 4, the obtaining of the resistance of the feedforward control model needs to be obtained by the parameter estimation model, and further, the step of estimating the resistance can be located before the current first duty cycle is calculated or after the current total duty cycle is calculated. Or the step of not defining the resistance estimate may be located throughout the control logic.
Taking the first calculation period as 10ms and the second calculation period as 1min as an example, when a control program starts, the resistance value obtained by the feedforward control model can be the nominal resistance value of the oil mass metering unit, after the calculation is started, the feedforward control model and the PID control model calculate the total duty cycle for 2min/10ms, the parameter estimation model outputs the estimated resistance value for the first time, and then the feedforward control model and the PID control model calculate the total duty cycle with the estimated resistance value, and so on, so that the influence of the temperature on the resistance is considered in the calculation model, the influence of the temperature on the coil material of the oil mass metering unit is corrected, and the accuracy of model calculation is improved.
Therefore, the feedforward control is added to realize accurate control of current, meanwhile, the on-line estimated reduction of the standard quantity is realized aiming at the resistance value R, and the standard workload is greatly reduced while the control precision is improved.
Fig. 5 is a block diagram of a control device of an oil quantity measuring unit of a high-pressure oil pump according to an embodiment of the present invention. As shown in fig. 5, the control device includes:
A first obtaining module 101, configured to obtain, based on a first calculation period, a current supply voltage and a current target current of the fuel metering unit; acquiring a first current resistance value of a resistance of the oil quantity metering unit;
The first calculation module 102 is configured to output a current first duty cycle according to a current supply voltage, a current target current, a first current resistance value, and an inductance value of the oil metering unit based on the feedforward control model;
A second calculation module 103, configured to output a current second duty cycle according to the current target current and a first output current of the control oil metering unit in a previous first calculation period based on the PID control model;
The third calculation module 104 is configured to calculate a current total duty ratio of the oil quantity control unit in the current first calculation period according to the current first duty ratio and the current second duty ratio, calculate a current output current of the oil quantity control unit in the current first calculation period according to the current total duty ratio, and control the oil quantity control unit with the current output current.
Optionally, the feedforward control model is:;
wherein, For the current first duty cycle,As a current to be the present target current,The first current resistance value; Is the inductance value; Is the current supply voltage.
Optionally, the control device of the high-pressure oil pump oil quantity measuring unit further includes:
the discrete module is used for carrying out discretization on the circuit control model of the oil quantity metering unit based on the parameter estimation model to obtain a transfer function of the circuit control model;
The second acquisition module is used for acquiring a first total duty ratio and a second output current of the oil quantity control metering unit of the previous second calculation period based on the second calculation period;
and the fourth calculation module is used for calculating a second current resistance value of the resistor in the current second calculation period according to the first total duty cycle and the second output current, as well as a transfer function of the circuit control model and a recursive least square method with genetic factors.
Optionally, the circuit control model of the oil quantity metering unit is:;
In the formula, For the coil current of the fuel metering unit,The resistance value of the resistor of the oil mass metering unit; The inductance value of the inductance of the oil mass metering unit; the power supply voltage of the oil quantity metering unit is used for supplying power to the oil quantity metering unit;
The transfer function of the circuit control model is: ;
wherein, ;;For a second calculation period; for the first total duty cycle to be the first, For the second output current to be the same,The output current of the oil quantity measuring unit is controlled for the first two second calculation periods,Is an integer greater than 1 and is selected from the group consisting of,Is the second current resistance.
The control device of the high-pressure oil pump oil quantity measuring unit provided by the embodiment of the invention can execute the control method of the high-pressure oil pump oil quantity measuring unit provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 6 is a schematic structural diagram of an electronic device for implementing a control method of an oil quantity measuring unit of a high-pressure oil pump according to an embodiment of the present invention, and an embodiment of the present invention proposes an electronic device including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the control method of the high-pressure oil pump oil metering unit according to any one of the embodiments of the present invention.
Fig. 6 shows a schematic diagram of an electronic device that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the Random Access Memory (RAM) 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, read Only Memory (ROM) 12 and Random Access Memory (RAM) 13 are connected to each other by a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
The various components in the electronic device 10 are connected to an input/output (I/O) interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, for example, the control method of the high-pressure oil pump oil amount measuring unit described.
In some embodiments, the control method of the high-pressure oil pump oil amount measuring unit may be implemented as a computer program, which is tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via Read Only Memory (ROM) 12 and/or communication unit 19. When the computer program is loaded into a Random Access Memory (RAM) 13 and executed by the processor 11, one or more steps of the control method of the high-pressure oil pump oil amount measuring unit described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the control method of the high pressure oil pump oil metering unit described by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions, and the computer instructions are used for enabling a processor to realize the control method of the high-pressure oil pump oil quantity measuring unit according to any embodiment of the invention when the processor executes the computer instructions.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
According to the technical scheme, the current power supply voltage and the current target current of the oil quantity metering unit are obtained based on a first calculation period; acquiring a first current resistance value of a resistance of the oil quantity metering unit; then, based on a feedforward control model, outputting a current first duty ratio according to the current power supply voltage, the current target current, a first current resistance value and an inductance value of the oil quantity metering unit; then based on a PID control model, outputting a current second duty ratio according to the current target current and the first output current of the oil quantity metering unit in the previous first calculation period; and then calculating the current total duty ratio of the oil quantity control metering unit in the current first calculation period according to the current first duty ratio and the current second duty ratio, calculating the current output current of the oil quantity control metering unit in the current first calculation period according to the current total duty ratio, and controlling the oil quantity metering unit by the current output current. Transient control fluctuation only by the deviation control parameter of the PID control module is solved, so that the oil quantity metering unit is controlled more accurately and stably.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.