An oil quantity actuator hardware closed loop circuit
By designing a hardware closed-loop circuit, the voltage of the sampling resistor is directly acquired, replacing the high-cost current sampling chip. This solves the problems of high cost and poor real-time performance of existing oil quantity actuator drive circuits, achieving fast response and high anti-interference capability, and is suitable for high-response application scenarios.
Patent Information
- Application Number
- CN202410297365.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-03-15
AI Technical Summary
The existing oil quantity actuator drive circuit adopts a software PID dual closed-loop scheme, which has problems such as high cost, poor real-time performance, and weak anti-interference ability. In particular, the adjustment time is in the millisecond range when the load changes stepwise, which cannot meet the high responsiveness requirements.
It adopts a hardware closed-loop circuit design, including operational amplifiers U1 and U2, clamping circuit, voltage divider circuit and negative feedback circuit, to directly acquire the voltage of the sampling resistor, replacing the high-cost current sampling integrated chip, and achieves fast response through hardware PID circuit.
It reduces system costs, improves real-time performance and anti-interference capabilities, and shortens response time from milliseconds to microseconds, making it suitable for high-response application scenarios.
Smart Images

Figure CN118238741B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive electronics technology, and in particular to a hardware closed-loop circuit for a fuel level actuator. Background Technology
[0002] The existing oil quantity actuator drive circuit design adopts a software PID dual closed-loop scheme. The position feedback and load circuit feedback of the oil quantity actuator are collected and fed back to the MCU. The MCU performs dual closed-loop design through software. The difference between the position setpoint and the position feedback is calculated, and after being adjusted and limited by the software PID, it is used as the target value of the current loop. The difference between the current target value and the current loop is calculated, and after being adjusted and limited by the software PID, the adjustment amount is output to the drive circuit through the PWM module for load adjustment.
[0003] The main problems with existing high-side drive protection schemes are: 1. In order to improve the current sampling accuracy, current sampling requires the use of a current sampling integrated chip to amplify the voltage range that the MCU can recognize, which is costly; 2. The control method using software PID algorithm has poor real-time performance, weak anti-interference ability, and weak robustness due to factors such as sampling delay and algorithm calculation. When the load undergoes a step change, the step is large and the adjustment time is in the millisecond range, which cannot meet the system requirements in application scenarios with high real-time requirements. Summary of the Invention
[0004] Therefore, the present invention provides a hardware closed-loop circuit for an oil quantity actuator, which optimizes cost, improves real-time performance and anti-interference capability.
[0005] To solve the above technical problems, the present invention provides a hardware closed-loop circuit for an oil quantity actuator, wherein the position of the oil quantity actuator is given by the system MCU, and the hardware closed-loop circuit includes: operational amplifier U1, operational amplifier U2, a first clamping circuit, a voltage divider circuit, a second clamping circuit, and a negative feedback circuit. The inverting input of the operational amplifier U1 is connected to the position setpoint input and feedback value input of the system MCU. The inverting output terminal of the operational amplifier U1 is connected to the non-inverting input terminal of the operational amplifier U2 in sequence through the first clamping circuit and the voltage divider circuit; The non-inverting output terminal and the output terminal of the operational amplifier U2 are respectively connected to the negative feedback circuit; The output of the operational amplifier U2 can generate a drive signal to the system MCU through the second clamping circuit to control the position of the oil quantity actuator.
[0006] In one embodiment of the present invention, resistors R1, R2, and R3 are further included, along with capacitor C1. Resistor R2 and capacitor C1 are connected in series and then in parallel with resistor R1. The two ends of the parallel connection are connected to the position setpoint input terminal and the inverting input terminal of operational amplifier U1, respectively. One end of resistor R3 is connected to the position setpoint input terminal, and the other end is connected to the inverting input terminal of operational amplifier U1.
[0007] In one embodiment of the present invention, resistors R4 and R5 are also included; One end of resistor R4 is connected to the non-inverting input of operational amplifier U1, and the other end is connected to a 5V power supply. One end of resistor R5 is connected to the non-inverting input of operational amplifier U1, and the other end is grounded.
[0008] In one embodiment of the present invention, capacitor C2, capacitor C3 and resistor R6 are also included; Capacitor C3 and resistor R6 are connected in series and then in parallel with capacitor C2. One end of the parallel connection is connected to the inverting output terminal of operational amplifier U1, and the other end is connected to the output terminal of operational amplifier U1.
[0009] In one embodiment of the present invention, the first clamping circuit includes a diode D1 and a resistor R7; One end of resistor R7 is grounded, and the other end is connected to the positive terminal of diode D1. The negative terminal of diode D1 continues to flow to the 5V power supply.
[0010] In one embodiment of the present invention, the voltage divider circuit includes resistor R8 and resistor R9; One end of resistor R8 is connected to the positive terminal of D1, and the other end is connected to the non-inverting input terminal of operational amplifier U2; One end of resistor R9 is connected to the non-inverting input of operational amplifier U2, and the other end is grounded.
[0011] In one embodiment of the present invention, the negative feedback circuit includes a transistor Q1, a resistor R10, a resistor R11, a resistor R12, a resistor R13, and a capacitor C4. One end of resistor R10 is connected to a 5V voltage, and the other end is connected to one end of resistor R11. The other end of resistor R11 is grounded. Capacitor C4 and resistor R11 are connected in parallel, and the parallel connection is then connected to the inverting input terminal of operational amplifier U2; One end of resistor R12 is connected to the output of operational amplifier U2, and the other end is connected to the base of transistor Q1. The two ends of resistor R13 are connected across the base and collector of transistor Q1, respectively. The emitter of transistor Q1 is connected to the inverting input of operational amplifier U2.
[0012] In one embodiment of the present invention, the second clamping circuit includes diode D2, diode D3, and resistor R14; One end of resistor R14 is connected to the output terminal of operational amplifier U2, and the other end is connected to the negative terminal of diode D2. The positive terminal of diode D2 is connected to the collector of transistor Q1. One end of resistor R15 is connected to the positive terminal of diode D3, and the other end is grounded; The negative terminal of diode D3 is connected to the 5V power supply, the positive terminal of diode D2 is connected to the load current feedback, and the output of resistor R15 is connected to the gate of the driving MOS.
[0013] In one embodiment of the present invention, diodes D1, D2 and D3 are all Schottky diodes.
[0014] The technical solution of the present invention has the following advantages compared with the prior art: The present invention describes a hardware closed-loop circuit for an oil quantity actuator. This hardware closed-loop circuit can effectively suppress system step changes caused by load mutations and has better anti-disturbance capabilities than traditional software closed-loop control schemes. It is suitable for applications requiring high responsiveness, such as diesel generator sets or three-cylinder engines.
[0015] The current sampling of this hardware closed-loop circuit directly acquires the voltage across the sampling resistor, eliminating the need for expensive dedicated chips and optimizing both cost and real-time performance of current changes.
[0016] This hardware closed-loop circuit, through hardware PID circuit design, replaces the original current chip solution with a sampling resistor current acquisition solution, reducing system cost. Using a hardware closed-loop circuit design instead of a software PID solution solves the problem of poor anti-interference, shortening the system response time from milliseconds to microseconds, significantly improving the system's response time and anti-interference performance. Hardware PID offers superior real-time performance and anti-interference capabilities compared to software PID, while also saving on MCU code complexity and MCU RAM. Flash resources can be freed up, allowing for the selection of MCUs with fewer resources to further reduce costs. Attached Figure Description
[0017] To make the content of this invention easier to understand, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings.
[0018] Figure 1 This is a structural diagram of the hardware closed-loop circuit of the oil quantity actuator applied to the present invention. Detailed Implementation
[0019] The present invention will be further described below with reference to the accompanying drawings and specific embodiments, so that those skilled in the art can better understand and implement the present invention. However, the embodiments described are not intended to limit the present invention.
[0020] In this invention, when directions (up, down, left, right, front, and back) are described, it is only for the convenience of describing the technical solution of this invention, and does not indicate or imply that the technical features referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation of this invention.
[0021] In this invention, "several" means one or more, "multiple" means two or more, "greater than," "less than," "exceeding," etc., are understood to exclude the stated number; "above," "below," "within," etc., are understood to include the stated number. In the description of this invention, the terms "first" and "second" are used only to distinguish technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0022] In this invention, unless otherwise explicitly defined, the terms "setting," "installing," and "connecting" should be interpreted broadly. For example, they can refer to a direct connection or an indirect connection through an intermediate medium; a fixed connection, a detachable connection, or an integrally formed connection; a mechanical connection, an electrical connection, or a connection capable of mutual communication; or the internal connection of two components or the interaction between two components. Those skilled in the art can reasonably determine the specific meaning of the above terms in this invention based on the specific content of the technical solution.
[0023] Most current hydraulic actuator drive solutions employ chip-based differential operational amplifiers, such as ADI (AD8210). However, this approach has several drawbacks, including high cost and signal delay. Furthermore, software PID control results in long settling times and poor anti-interference capabilities. In cases of sudden load changes or external interference, software PID schemes are prone to oscillations, causing significant fluctuations in the hydraulic actuator's speed and consequently reducing system speed stability. Therefore, referring to… Figure 1As shown, this invention provides a hardware closed-loop circuit for an oil quantity actuator. The position of the oil quantity actuator is given by the system MCU. The hardware closed-loop circuit includes: operational amplifier U1, operational amplifier U2, a first clamping circuit, a voltage divider circuit, a second clamping circuit, and a negative feedback circuit. The inverting input of operational amplifier U1 is connected to the position setpoint input and feedback input of the system MCU. The inverting output of operational amplifier U1 is connected to the non-inverting input of operational amplifier U2 via the first clamping circuit and the voltage divider circuit. The negative and positive outputs of the non-inverting output of operational amplifier U2 are respectively connected to the negative feedback circuit. The output of operational amplifier U2 can generate a drive signal to the system MCU via the second clamping circuit to control the position of the oil quantity actuator.
[0024] Specifically, it also includes resistors R1, R2, R3, and capacitor C1; resistor R2 and capacitor C1 are connected in series and then in parallel with resistor R1, and the two ends of the parallel connection are respectively connected to the position setpoint input terminal and the inverting input terminal of operational amplifier U1; one end of resistor R3 is connected to the position setpoint input terminal, and the other end is connected to the inverting input terminal of operational amplifier U1.
[0025] Specifically, it also includes resistors R4 and R5; one end of resistor R4 is connected to the non-inverting input of operational amplifier U1, and the other end is connected to a 5V power supply; one end of resistor R5 is connected to the non-inverting input of operational amplifier U1, and the other end is grounded.
[0026] Specifically, it also includes capacitor C2, capacitor C3 and resistor R6; capacitor C3 and resistor R6 are connected in series and then in parallel with capacitor C2, with one end of the parallel connection connected to the inverting output terminal of operational amplifier U1 and the other end connected to the output terminal of operational amplifier U1.
[0027] Specifically, the first clamping circuit includes a diode D1 and a resistor R7; one end of the resistor R7 is grounded and the other end is connected to the positive terminal of the diode D1, and the negative terminal of the diode D1 continues to flow to the 5V power supply.
[0028] Specifically, the voltage divider circuit includes resistors R8 and R9; one end of resistor R8 is connected to the positive terminal of D1, and the other end is connected to the non-inverting input terminal of operational amplifier U2; one end of resistor R9 is connected to the non-inverting input terminal of operational amplifier U2, and the other end is grounded.
[0029] Specifically, the negative feedback circuit includes transistor Q1, resistors R10, R11, R12, R13, and capacitor C4; one end of resistor R10 is connected to a 5V voltage, and the other end is connected to one end of resistor R11, with the other end of resistor R11 grounded; capacitor C4 is connected in parallel with resistor R11, and the parallel connection is connected to the inverting input terminal of operational amplifier U2; one end of resistor R12 is connected to the output terminal of operational amplifier U2, and the other end is connected to the base of transistor Q1; the two ends of resistor R13 are respectively connected across the base and collector of transistor Q1; the emitter of transistor Q1 is connected to the inverting input terminal of operational amplifier U2.
[0030] Specifically, the second clamping circuit includes diode D2, diode D3, and resistor R14; one end of resistor R14 is connected to the output terminal of operational amplifier U2, and the other end is connected to the cathode of diode D2, and the anode of diode D2 is connected to the collector of transistor Q1; one end of resistor R15 is connected to the anode of diode D3, and the other end is grounded; the cathode of diode D3 is connected to a 5V power supply, the anode of diode D2 is connected to the load current feedback, and the output of resistor R15 is connected to the gate of the driving MOS to drive the load, thus forming a closed-loop control circuit.
[0031] Specifically, diodes D1, D2, and D3 are all Schottky diodes; resistors R4, R5, R10, and R11 are all high-precision resistors; and transistor Q1 is an amplifier transistor.
[0032] The closed-loop circuit principle of the oil level actuator is as follows: The position feedback of the fuel quantity actuator is provided by the actuator's own sensor, with a normal voltage range of 0.5~4.5V. Different voltages represent different actuator positions. The setpoint of the fuel quantity actuator is given by the system MCU. Both the setpoint and feedback value are connected to the first operational amplifier U1. After hardware PID adjustment, the setpoint of the current closed loop is output (clamped to 5V by diode D1). The setpoint of the current closed loop is connected to the positive terminal of the second operational amplifier U2 through the voltage divider of resistors R8 and R9. The current feedback of the sampling resistor is fed back through transistor Q1 (Q1 is in amplification mode at this time). The emitter of transistor Q1 will generate current changes according to different load currents, which are superimposed and fed back to the negative terminal of the second operational amplifier U2 (resistors R10 and R11 will generate a bias voltage), forming a current negative feedback. The output of the second operational amplifier U2 is clamped by diode D3 to generate a drive signal and sent to the driver chip, forming a position and current dual closed-loop hardware closed-loop system to control the operation of the fuel quantity actuator. This circuit can respond quickly when current or interference occurs, with a response speed in the microsecond range, making it suitable for applications in scenarios requiring high dynamic performance.
[0033] Finally, it should be noted that the above specific embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to examples, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A hardware closed-loop circuit for an oil quantity actuator, wherein the position of the oil quantity actuator is given by the system MCU, characterized in that, The hardware closed-loop circuit includes: operational amplifier U1, operational amplifier U2, a first clamping circuit, a voltage divider circuit, a second clamping circuit, and a negative feedback circuit; The inverting input of the operational amplifier U1 is connected to the position setpoint input and feedback value input of the system MCU. The output terminal of the operational amplifier U1 is connected to the non-inverting input terminal of the operational amplifier U2 in sequence through the first clamping circuit and the voltage divider circuit; The output terminal and the inverting input terminal of the operational amplifier U2 are respectively connected to the negative feedback circuit; The output of the operational amplifier U2 can generate a drive signal to the gate of the drive MOS through the second clamping circuit to control the position of the oil quantity actuator. The negative feedback circuit includes transistor Q1, resistors R10, R11, R12, R13, and capacitor C4. One end of resistor R10 is connected to a 5V voltage, and the other end is connected to one end of resistor R11. The other end of resistor R11 is grounded. Capacitor C4 and resistor R11 are connected in parallel, and the parallel connection is then connected to the inverting input terminal of operational amplifier U2; One end of resistor R12 is connected to the output of operational amplifier U2, and the other end is connected to the base of transistor Q1. The two ends of resistor R13 are connected across the base and collector of transistor Q1, respectively. The emitter of transistor Q1 is connected to the inverting input of operational amplifier U2.
2. The hardware closed-loop circuit for an oil quantity actuator according to claim 1, characterized in that, It also includes resistors R1, R2, and R3, and capacitor C1; Resistor R2 and capacitor C1 are connected in series and then in parallel with resistor R1. One end of the parallel connection is connected to the position setpoint input terminal and the inverting input terminal of operational amplifier U1, respectively. One end of resistor R3 is connected to the position setpoint input terminal, and the other end is connected to the inverting input terminal of operational amplifier U1.
3. A hardware closed-loop circuit for an oil quantity actuator according to claim 1 or 2, characterized in that, It also includes resistors R4 and R5; One end of resistor R4 is connected to the non-inverting input of operational amplifier U1, and the other end is connected to a 5V power supply. One end of resistor R5 is connected to the non-inverting input of operational amplifier U1, and the other end is grounded.
4. A hardware closed-loop circuit for an oil quantity actuator according to claim 1 or 2, characterized in that, It also includes capacitor C2, capacitor C3 and resistor R6; Capacitor C3 and resistor R6 are connected in series and then in parallel with capacitor C2. One end of the parallel connection is connected to the inverting input of operational amplifier U1, and the other end is connected to the output of operational amplifier U1.
5. The hardware closed-loop circuit for an oil quantity actuator according to claim 1, characterized in that, The first clamping circuit includes a diode D1 and a resistor R7; One end of resistor R7 is grounded, and the other end is connected to the positive terminal of diode D1. The negative terminal of diode D1 continues to flow to the 5V power supply.
6. The hardware closed-loop circuit for an oil quantity actuator according to claim 5, characterized in that, The voltage divider circuit includes resistors R8 and R9; One end of resistor R8 is connected to the positive terminal of D1, and the other end is connected to the non-inverting input terminal of operational amplifier U2; One end of resistor R9 is connected to the non-inverting input of operational amplifier U2, and the other end is grounded.
7. The hardware closed-loop circuit for an oil quantity actuator according to claim 1, characterized in that, The second clamping circuit includes diode D2, diode D3, and resistor R14; One end of resistor R14 is connected to the output terminal of operational amplifier U2, and the other end is connected to the negative terminal of diode D2. The positive terminal of diode D2 is connected to the collector of transistor Q1. One end of resistor R15 is connected to the positive terminal of diode D3, and the other end is grounded; The negative terminal of diode D3 is connected to the 5V power supply, the positive terminal of diode D2 is connected to the load current feedback, and the output of resistor R15 is connected to the gate of the driving MOS.
8. A hardware closed-loop circuit for an oil quantity actuator according to claim 7, characterized in that, Diodes D1, D2, and D3 are all Schottky diodes.
Citation Information
Patent Citations
Machine telegraph signal conditioning circuit for electric propulsive ship
CN104218944A
Voltage sampling circuit
CN202059389U
