Constant-current output valve actuating mechanism control circuit

By designing a microcontroller system and CAN communication circuit, combining dual op amp constant current source module and AD acquisition circuit, the problems of high valve control accuracy and cost in the existing technology are solved, and a high-precision, stable and low-cost valve control circuit is realized. , supports multiple valves to control simultaneously.

CN222105851UActive Publication Date: 2024-12-03ZHEJIANG SHUANGYUAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420886135.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-12-03
Estimated Expiration
2034-04-26

AI Technical Summary

Technical Problem

The current control current output accuracy of existing valves is relatively poor, and is susceptible to input voltage drift and temperature stability, resulting in inaccurate control. The PLC control system has a large space and high cost, which limits industrial applications.

Method used

A valve actuator control circuit including a microcontroller system circuit, CAN communication circuit, DA constant current output circuit and AD acquisition circuit was designed. The dual op amp constant current source module and CAN bus module were used to realize constant current output and high-precision data. Communication reduces system complexity and cost.

Benefits of technology

It improves the valve control accuracy and stability of output current, reduces system complexity and application cost, realizes efficient data communication between the PC upper and lower computers, supports simultaneous control of multiple valves, and improves working efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222105851U_ABST
    Figure CN222105851U_ABST
Patent Text Reader

Abstract

The utility model discloses a valve actuating mechanism control circuit with constant current output. The valve actuating mechanism control circuit comprises a single chip microcomputer system circuit, a CAN communication circuit, a data storage circuit, a DA constant current output circuit, an AD acquisition circuit and a DC-DC power supply circuit, the single-chip microcomputer system circuit comprises a single-chip microcomputer control chip. The CAN communication circuit is in communication connection with the single-chip microcomputer control chip and the PC upper computer. The data storage circuit is connected with the single-chip microcomputer control chip. The input end of the DA constant current output circuit is connected with the single-chip microcomputer control chip, and the output end of the DA constant current output circuit is connected with the valve executing mechanism and used for outputting constant current to drive the valve executing mechanism to move. The input end of the AD acquisition circuit is connected with the valve actuating mechanism, the output end of the AD acquisition circuit is connected with the singlechip control chip, and the AD acquisition circuit is used for acquiring current of the valve actuating mechanism and feeding back position information of a valve position door; and the DC-DC power supply circuit is used for supplying power to the circuits. According to the utility model, the output current is more stable and reliable, so that the control precision of the valve is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of valve control circuits, in particular to a valve actuator control circuit with constant current output. Background Art

[0002] As a key component of fluid control, the main function of valves is to regulate the flow and pressure of the medium. In the field of automatic control, the development and application of valves and their control technology are crucial to improving the efficiency and sustainable development of industrial production.

[0003] At present, most companies use PLC to control valves. However, this method has problems such as large space occupation and high control cost, which limits its widespread application in industrial production.

[0004] Usually, the flow rate of the valve is achieved by outputting current to the control mechanism, and the degree of opening and closing of the valve is controlled by changing the current. However, the current output of valve control is mostly in the form of single op amp constant current output, such as the Chinese patent document with announcement number CN220770285U that discloses a valve automatic control system. Compared with the dual op amp constant current output, its accuracy is poor and it is easily affected by input voltage drift and temperature stability. Utility Model Content

[0005] The utility model provides a valve actuator control circuit with constant current output, which makes the output current more stable and reliable, thereby achieving higher control accuracy for the valve.

[0006] A valve actuator control circuit with constant current output, comprising a single chip computer system circuit, a CAN communication circuit, a data storage circuit, a DA constant current output circuit, an AD acquisition circuit and a DC-DC power supply circuit;

[0007] The single-chip computer system circuit comprises a single-chip computer control chip;

[0008] The CAN communication circuit is respectively connected to the single-chip control chip and the PC host computer for communication;

[0009] The data storage circuit is connected to the single-chip microcomputer control chip and is used to store data;

[0010] The input end of the DA constant current output circuit is connected to the single-chip control chip, and the output end is connected to the valve actuator, and is used to output a constant current to drive the movement of the valve actuator;

[0011] The input end of the AD acquisition circuit is connected to the valve actuator, and the output end is connected to the single-chip control chip, and is used to collect the current of the valve actuator and feedback the position information of the valve;

[0012] The DC-DC power supply circuit is used to supply power to the above circuit.

[0013] Furthermore, the CAN communication circuit comprises a CAN bus module chip and a CAN interface terminal; the receiving pin and the sending pin of the CAN bus module chip are respectively connected to the corresponding pins of the single-chip control chip, and the CAN interface terminal is connected to the PC host computer through a signal adapter cable.

[0014] Furthermore, the data storage circuit includes a storage chip, and a communication pin on the storage chip is connected to a corresponding pin of the single-chip microcomputer control chip.

[0015] Furthermore, the DA constant current output circuit comprises a DA chip, an isolation chip and a dual operational amplifier constant current source module;

[0016] Among them, the SCL, CS and SDI pins of the DA chip are connected to the corresponding pins of the microcontroller control chip through the isolation chip, and the VOUT pin of the DA chip is connected to the dual op amp constant current source module.

[0017] Furthermore, the dual operational amplifier constant current source module includes two operational amplifiers.

[0018] Furthermore, the AD acquisition circuit comprises an AD chip, an operational amplifier and a voltage reference chip;

[0019] Among them, the pins of the AD chip are connected to the corresponding pins of the single-chip control chip; the signal output end of the valve actuator is connected to the operational amplifier after passing through the corresponding resistor and capacitor, the output end of the operational amplifier is connected to the corresponding pin of the AD chip after passing through the corresponding resistor and capacitor, and the output end of the voltage reference chip is connected to the AD chip after passing through the corresponding resistor and capacitor.

[0020] Compared with the prior art, the present invention has the following beneficial effects:

[0021] The control circuit of the utility model adopts a single-chip microcomputer control chip to replace PLC control, which avoids excessive complexity of the system, reduces application costs, and is easier to maintain; the design of the dual-op-amp constant current source circuit module makes the output current more stable and reliable; the design of the DA constant current output circuit and the AD acquisition circuit enables the entire circuit system to complete self-correction operations before leaving the factory, thereby improving feedback accuracy; through the CAN communication circuit, the upper computer software can directly send instructions to the lower computer through the CAN bus, thereby realizing data communication between the PC upper computer and the lower computer. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a system function diagram of a valve actuator control circuit with constant current output according to an embodiment of the present application;

[0023] Figure 2 This is a self-calibration flow chart of the DA constant current output circuit and the AD acquisition circuit in the embodiment of the present application;

[0024] Figure 3 A circuit diagram of a single chip microcomputer system according to an embodiment of the present application;

[0025] Figure 4 A DC-DC power supply circuit diagram of an embodiment of the present application;

[0026] Figure 5 This is a CAN communication circuit diagram of an embodiment of the present application;

[0027] Figure 6 This is a DA constant current output circuit diagram of an embodiment of the present application;

[0028] Figure 7 This is an AD acquisition circuit diagram of an embodiment of the present application. DETAILED DESCRIPTION

[0029] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be pointed out that the embodiments described below are intended to facilitate the understanding of the present invention and do not have any limiting effect on the present invention.

[0030] like Figure 1 As shown, a valve actuator control circuit with constant current output includes a single-chip computer system circuit 100, a DC-DC power supply circuit 200, a CAN communication circuit 300, a data storage circuit 400, a DA constant current output circuit 500 and an AD acquisition circuit 600.

[0031] The single-chip microcomputer system circuit 100 is composed of a single-chip microcomputer control chip, a crystal oscillator, a reset circuit, a filter capacitor and a JLINK download interface, and is used to control the entire circuit system. Figure 3 As shown, the single-chip microcomputer control chip U11 is powered by 3.3V. Filter capacitors C14-C19 are arranged near the power supply pins. The crystal oscillator Y1 is connected to capacitors C20 and C21 and connected to pins 5 and 6 of the single-chip microcomputer control chip U11. R25 and C22 form a reset circuit connected to pin 7 of the single-chip microcomputer control chip U11. The SWCLK, SWDIO, and NRST pins on the JLINK download interface are respectively connected to pins 49, 46, and 7 of the single-chip microcomputer control chip U11.

[0032] The DC-DC power supply circuit 200 is composed of an isolated power supply module and a power step-down chip, and is used to supply power to the chips of different module circuits in the entire circuit system. Figure 4As shown, U1 is an isolated power supply module, which converts the external input voltage of 24V into 5V to power the required chip and realizes isolation between the 24V voltage and the 5V voltage to increase the anti-interference effect; U2 is a step-down power supply chip, which converts the 5V voltage into 3.3V to supply the required chip.

[0033] The data storage circuit 400 is composed of an EEPROM chip and is mainly used to store data. Figure 3 As shown, U13 is an EEPROM chip, which communicates data with the single-chip microcomputer control chip using the IIC protocol. The embodiment of the present application uses the U13 chip to achieve the function of saving data during power failure without loss.

[0034] The CAN communication circuit 300 includes a CAN bus module chip and a CAN interface terminal, which are used to realize data communication between the PC and the lower computer. Figure 5 As shown, U10 is a CAN bus module chip, P4 and P5 are communication interface terminals, the CAN interface terminals are connected to the PC host computer 700 through a signal adapter cable, and the PC host computer 700 sends and receives data through the CAN interface terminals; an 8-bit dip switch is added to the CAN communication circuit 300, such as Figure 5 SW1 of the present invention can control multiple boards by setting different settings for each bit of the DIP switch. The present invention uses the first 7 bits of the DIP switch, which can control up to 2 7 That is, 128 control boards work at the same time, which means that 128 valve actuators can be controlled to work at the same time, greatly increasing work efficiency.

[0035] The DA constant current output circuit 500 is composed of a DA chip, an isolation chip and a dual op amp constant current source module, and is used to output a constant current to drive the movement of the valve actuator. Figure 6 As shown, U7 is an isolation chip, U8 is a DA chip, U5A and U5B are two operational amplifiers in the dual op amp chip, U6 is a PMOS tube, and U9 is an NMOS tube; the single-chip microcomputer control chip sends data to the DA chip U8 through the isolation chip U7 via SPI communication, and the DA chip U8 outputs the corresponding voltage VOUT from pin 1 to pin 5 of the op amp chip U5, and outputs a constant current after passing through two stages of op amps.

[0036] The AD acquisition circuit 600 is composed of an AD chip, an operational amplifier, and a voltage reference chip, and is used to collect the current of the valve actuator and feedback the valve position information. Figure 7 As shown, U3 is an AD chip, U4A is an operational amplifier, U12 is a reference voltage chip, and P2 is a terminal for AD current collection;

[0037] The current feedback from the valve actuator is connected to the wiring terminal P2. The current generates a voltage signal through the sampling resistor R6. The voltage signal enters the operational amplifier U4A for voltage following after RC filtering. After voltage division by resistors R5 and R9, it is input to the pin 13 of the AD chip. The AD chip U3 transmits the collected data to the microcontroller control chip through the SPI protocol. The voltage reference chip VOUT generates a voltage of REF_2.5V after passing through the resistor and filter capacitor and is connected to the AD chip.

[0038] The specific process of controlling the valve actuator 800 in the embodiment of the present application is as follows.

[0039] like Figure 1 and Figure 6 As shown, pin 17, pin 20 and pin 21 of the single-chip microcomputer control chip U11 are respectively connected to pin 3, pin 4 and pin 5 of the isolation chip U7. The three signals CS_MCU, SCL_MCU and SDI_MCU of SPI communication can enhance the anti-interference ability after passing through the isolation chip U7; the PC host computer issues valve actuator control instructions to the single-chip microcomputer control chip U11 through the CAN communication protocol. After receiving the control instructions, the single-chip microcomputer control chip transmits the data to the DA chip U8 through the SPI communication protocol and through the isolation chip U7. Pin 6 in U8 is the pin for receiving the specified voltage data. Since the U8 chip is a 12-bit chip, according to the DA output voltage calculation formula:

[0040] VOUT = V ref *Code1 / 4095

[0041] Among them, VOUT is the output voltage of DA chip U8, V ref is the reference voltage of the DA chip U8. The reference voltage of the DA chip U8 in the embodiment of the present application is 5V. Code1 is the input voltage code value of the DA chip U8, and 4095 is the voltage code value corresponding to the maximum output voltage of the DA chip U8. Pin 1 of the DA chip U8 outputs voltage to pin 5 of the first op amp U5B. According to the "virtual short" characteristic of the operational amplifier, the voltage of pin 5 of the operational amplifier U5B is equal to the voltage of pin 6. Therefore, the voltage drop at R17 is equal to the output voltage VOUT of the input DA chip U8. The current of R17 is also only affected by the output voltage VOUT of the DA chip U8. Therefore, the first-stage operational amplifier can achieve the effect of constant current output; similarly, the second-stage operational amplifier U5A can also achieve the effect of constant current output, realizing the constant current output of the two-stage operational amplifier. The current passes through the inductor L1 and is filtered before being input from the terminal P3 to the valve actuator; wherein Figure 5 The presence of two resistors R14 and R15 can absorb interference, reduce output current fluctuations, and improve the stability of constant current output.

[0042] After the constant current is output to the valve actuator 800 to drive the valve to move, it is necessary to obtain the valve movement feedback information to check whether the feedback valve opening is consistent with the target valve opening; the feedback signal of the valve actuator 800 is a current signal, such as Figure 7 As shown, the current signal is input to the terminal P2 and generates V after passing through the sampling resistor R6. IN =IOUT×R6 voltage, V IN After RC filtering, it is input to the operational amplifier U4A, which plays the role of voltage follower. The voltage ADOUT output from pin 1 of U4A is equal to the voltage input from pin 3. The voltage is output by the voltage follower, which reduces the influence between the front and rear circuits and improves the stability of the signal. The voltage ADOUT output by the voltage follower is divided by half by R5 and R9 and input to pin 13 of the AD acquisition chip U3. The input voltage signal is converted into an AD code value according to the calculation formula:

[0043] Code2=4095*ADCIN1 / V REF

[0044] Among them, Code2 is the voltage code value input by the AD acquisition chip U3, 4095 is the voltage code value corresponding to the maximum voltage of the 12-bit AD acquisition chip U3, ADCIN1 is the input voltage of the AD acquisition chip U3, V REF The reference voltage value of the AD acquisition chip U3 is 2.5 V. The input voltage ADCIN1 is converted into a voltage code value in the AD acquisition chip U3 and then transmitted to the single-chip microcomputer control chip U11 for processing via the SPI protocol. The single-chip microcomputer control chip U11 transmits the feedback result to the PC host computer via the CAN communication protocol to display the valve position information in real time.

[0045] Due to the differences in PCB processing, the code value of DA output and the code value of AD collected in actual measurement may deviate. Under the same output voltage code value, the current output by terminal P3 may not be consistent, so it is necessary to implement the self-correction output of DA code value. When the voltage code value input by AD acquisition chip U3 is 850, it corresponds to the valve bottom value of the actuator, and when the voltage code value input is 4095, it corresponds to the valve top value of the valve actuator.

[0046] There may be data deviations in the actual DA output and AD acquisition, resulting in a mismatch between the output target valve position and the acquired valve position opening. Therefore, before controlling the valve actuator, the DA output and AD acquisition are self-calibrated, that is, Figure 5 The pins 1 and 2 of the terminal P3 in the Figure 7 Connect the pins 1 and 2 of the terminal P2 in the self-correction process as follows: Figure 2 As shown, Figure 5 The ID6 of the middle dial switch SW1 is turned on, triggering the self-calibration command. The AD acquisition chip first collects the current from the DA chip output. When the DA chip U8 outputs the preset valve bottom value, the AD acquisition chip U3 will collect an AD code value. At this time, if the AD code value collected is not within the range of 850±10, the DA output will continue to be automatically adjusted until the collected AD code value is within the range of 850±10. At this time, the DA valve bottom value DA after correction is recorded. bottom and the threshold value AD bottom After the valve bottom calibration is completed, the valve top value is calibrated. The DA chip U8 outputs the preset valve top value. If the code value collected by the AD acquisition chip is not within the range of 4085±10, the DA output will continue to be automatically adjusted until the collected AD code value is within the range of 4085±10. At this time, the valve top value DA after calibration is recorded. top and the threshold value AD top , the self-calibration operation is completed; the calculation formula for self-calibration is as follows:

[0047]

[0048] Among them, AD check is the AD code value after self-calibration, AD real is the AD code value actually collected by the AD acquisition chip U3, AD bottom is the AD valve bottom value after self-calibration, AD top is the AD valve top value after self-calibration, AD bottom is the DA valve bottom value after self-calibration, AD top is the DA valve top value after self-correction; AD code value is obtained after correction check Correction code value, AD check The correction code value is fed back to the PC, so that the valve opening output by the PC host computer and the valve opening information fed back are consistent.

[0049] To simplify the operation, the self-calibration process in the embodiment of the present application adopts the method of dial code triggering for calibration, which only needs to be calibrated once before leaving the factory, and reset after the dial code calibration is completed. Figure 5 The ID6 of the middle dial switch SW1 is dialed, and no further calibration is required later; since the data will be cleared after power failure, which will affect the calibration calculation, the chip needs to save the code values ​​of the AD valve bottom and valve top actually collected during the self-calibration process for calculation; the embodiment of the present application uses an AT24C02 chip, such as Figure 3As shown in U13 in the figure, the data before power failure is saved by using the function of power-off data preservation of chip U13. The chip U13 uses IIC communication protocol and single-chip control chip U11 for data communication. Two pull-up resistors R28 and R29 are required on the SCL and SDA pins of U13 chip respectively. After the self-calibration is completed, AD bottom and AD top , D.A. bottom and DA top The data is stored in the AT24C02 chip U13. When the power is off, AD bottom and AD top , D.A. bottom and DA top The data will not be cleared and will still be stored in the AT24C02 chip U13. Figure 5 The ID6 of the middle DIP switch SW1 is reset. When it is officially used, the self-calibrated data in the EEPROM will be called.

[0050] The embodiment of the present application can realize the function of PC controlling multiple valve actuators at the same time, such as Figure 5 As shown in the figure, by setting the dial switch SW1, a total of 128 control boards can be controlled to control 128 valve actuators to work simultaneously; different dial settings on each control board represent different ID numbers in the CAN communication protocol. The PC host computer can communicate data with different control boards according to the different ID numbers set for each control board, thereby realizing the operation of controlling multiple valve actuators at the same time, simplifying the control operation of the valve actuators, and improving work efficiency.

[0051] The above Figure 3-Figure 7 The circuit module on display is operated according to the contents described in the specific implementation method, and it has been verified through experiments that it can meet the usage requirements and the accuracy requirements in actual operation.

[0052] The embodiments described above provide a detailed description of the technical solutions and beneficial effects of the present invention. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, supplements and equivalent substitutions made within the scope of the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A valve actuator control circuit with constant current output, characterized in that: It includes single chip computer system circuit, CAN communication circuit, data storage circuit, DA constant current output circuit, AD acquisition circuit and DC-DC power supply circuit; The single-chip computer system circuit comprises a single-chip computer control chip; The CAN communication circuit is respectively connected to the single-chip control chip and the PC host computer for communication; The data storage circuit is connected to the single-chip microcomputer control chip and is used to store data; The input end of the DA constant current output circuit is connected to the single-chip control chip, and the output end is connected to the valve actuator, and is used to output a constant current to drive the movement of the valve actuator; The input end of the AD acquisition circuit is connected to the valve actuator, and the output end is connected to the single-chip control chip, and is used to collect the current of the valve actuator and feedback the position information of the valve; The DC-DC power supply circuit is used to supply power to the above circuit.

2. The valve actuator control circuit with constant current output according to claim 1, characterized in that: The CAN communication circuit comprises a CAN bus module chip and a CAN interface terminal; the receiving pin and the sending pin of the CAN bus module chip are respectively connected to the corresponding pins of the single-chip control chip, and the CAN interface terminal is connected to the PC host computer through a signal adapter cable.

3. The valve actuator control circuit with constant current output according to claim 1, characterized in that: The data storage circuit comprises a storage chip, and the communication pins on the storage chip are connected to the corresponding pins of the single-chip control chip.

4. The valve actuator control circuit with constant current output according to claim 1, characterized in that: The DA constant current output circuit comprises a DA chip, an isolation chip and a dual operational amplifier constant current source module; Among them, the SCL, CS and SDI pins of the DA chip are connected to the corresponding pins of the microcontroller control chip through the isolation chip, and the VOUT pin of the DA chip is connected to the dual op amp constant current source module.

5. The valve actuator control circuit with constant current output according to claim 4, characterized in that: The dual operational amplifier constant current source module comprises two operational amplifiers.

6. The valve actuator control circuit with constant current output according to claim 1, characterized in that: The AD acquisition circuit comprises an AD chip, an operational amplifier and a voltage reference chip; Among them, the pins of the AD chip are connected to the corresponding pins of the single-chip control chip; the signal output end of the valve actuator is connected to the operational amplifier after passing through the corresponding resistor and capacitor, the output end of the operational amplifier is connected to the corresponding pin of the AD chip after passing through the corresponding resistor and capacitor, and the output end of the voltage reference chip is connected to the AD chip after passing through the corresponding resistor and capacitor.