Valve angle control device

CN116293038BActive Publication Date: 2026-09-25SUZHOU DONGJIAN INTELLIGENT TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310359259.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-06
Publication Date
2026-09-25
Estimated Expiration
2043-04-06

AI Technical Summary

Technical Problem

[0003]随着社会信息化和智能化的普及,水表阀门的控制也由传统的人工操作到现在的智能化电机控制,但是,现有的针对阀门的智能控制装置功能单一,只能够控制阀门实现简单的开关操作,无法对阀门转动角度进行控制;而且,现有的智能控制装置由于电压的限制,只能控制小型的低压阀门电机,无法控制高电压电机

Benefits of technology

1、MCU控制单元实时获取阀门当前的转动方向和转动角度,并在判断出阀门当前的转动方向和转动角度等于预设的转动方向和转动角度时,控制阀门电机停止转动,进而使阀门停止转动,实现对阀门转动方向和转动角度的精准控制。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116293038B_ABST
    Figure CN116293038B_ABST
Patent Text Reader

Abstract

The application discloses a valve angle control device, which comprises an MCU control unit, an on-off control unit, a power supply unit, a valve motor and a valve, wherein the valve motor is used for driving the valve to rotate, and each part has the following functions: the MCU control unit is used for outputting an on-off control signal to the on-off control unit; the on-off control unit is used for controlling the power supply unit to supply power to the valve motor according to the on-off control signal, so that the valve motor rotates or stops; the MCU control unit is used for acquiring the current rotating direction and rotating angle of the valve, and judging whether the current rotating direction and rotating angle of the valve are equal to the preset rotating direction and rotating angle, and controlling the valve motor to stop rotating when the current rotating direction and rotating angle of the valve are equal to the preset rotating direction and rotating angle. The above technical scheme of the application realizes accurate control of the rotating angle of the valve, and meanwhile, damage of the device caused by the high-voltage motor is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of instrumentation technology, and in particular to a valve angle control device. Background Technology

[0002] Shut-off valves are commonly used as regulating and shut-off devices in fluid pipelines for tap water, sewage, construction, food, power, pharmaceuticals, metallurgy, textiles, and energy. Shut-off valves have the functions of reversing and locking. Installing a shut-off valve in front of a water meter allows for effective management of water supply and water outages on site.

[0003] With the popularization of social informatization and intelligence, the control of water meter valves has changed from traditional manual operation to intelligent motor control. However, the existing intelligent control devices for valves have limited functions and can only control the valve to achieve simple opening and closing operations, but cannot control the valve rotation angle. Moreover, due to voltage limitations, the existing intelligent control devices can only control small low-voltage valve motors and cannot control high-voltage motors. Summary of the Invention

[0004] In order to achieve precise control of the valve rotation angle while avoiding damage to the device from the high-voltage motor, this application provides a valve angle control device.

[0005] This application provides a valve angle control device, which adopts the following technical solution: it includes an MCU control unit, an on / off control unit, a power supply unit, a valve motor, and a valve, wherein the valve motor is used to drive the valve to rotate; The MCU control unit is used to output on / off control signals to the on / off control unit; The on / off control unit is used to control the power supply unit to supply power to the valve motor according to the on / off control signal, so that the valve motor can rotate or stop. The MCU control unit is used to obtain the current rotation direction and rotation angle of the valve, and when the current rotation direction and rotation angle of the valve are equal to the preset rotation direction and rotation angle, it controls the valve motor to stop rotating.

[0006] By adopting the above technical solution, the MCU control unit obtains the current rotation direction and rotation angle of the valve in real time. When it determines that the current rotation direction and rotation angle of the valve are equal to the preset rotation direction and rotation angle, it controls the valve motor to stop rotating, thereby stopping the valve from rotating and achieving precise control of the valve's rotation direction and rotation angle. The on / off control unit isolates the MCU control unit from the power supply unit, allowing the power supply unit to directly supply power to the valve motor, avoiding cross-current between the high voltage power supply unit and the MCU control unit, which could damage the MCU control unit.

[0007] In one specific implementation scheme, the valve angle control device further includes a switch position determination unit, which is connected to the MCU control unit and the valve respectively; The MCU control unit determines whether the valve is in the correct position by using the switch position judgment unit. If the MCU control unit determines that the valve is in the correct position, it controls the on / off control unit to cut off the power supply to the valve motor.

[0008] In one specific implementation, the MCU control unit is used to acquire the current rotation direction and rotation angle of the valve, and when the current rotation direction and rotation angle of the valve are equal to the preset rotation direction and rotation angle, control the valve motor to stop rotating, specifically including: The MCU control unit obtains the resistance value R of the sliding rheostat RP connected to the valve. x Based on the preset relationship between valve information and the resistance value of the sliding rheostat RP, the preset rotation direction and rotation angle are converted into corresponding resistance values ​​R. y ; The MCU control unit determines the resistance value R. x With resistance value R y Are they equal within a preset first error range? If the resistance value R x With resistance value R y If the rotation direction and angle of the valve are equal within the preset first error range, it is determined that the current rotation direction and angle of the valve are equal to the preset rotation direction and angle. The MCU control unit then controls the on / off control unit to cut off the power supply to the valve motor.

[0009] In one specific implementation scheme, after the MCU control unit determines that the current rotation direction and rotation angle of the valve are equal to the preset rotation direction and rotation angle, and controls the on / off control unit to cut off the power supply to the valve motor, the system also includes a verification step: The MCU control unit repeatedly acquires the resistance value of the sliding rheostat RP connected to the valve. It then uses an algorithm that discards the lower values ​​and takes the average of the acquired resistance values ​​to obtain the average resistance R. a Determine the average value R a With the resistance value R y Are they equal within a preset second error range? If the average value R a With the resistance value R y If the values ​​are not equal within the preset second error range, the MCU control unit controls the valve motor to continue adjusting the valve's rotation direction and / or rotation angle.

[0010] In a specific implementation scheme, the MCU control unit determines whether the valve is in the correct position by using a switch position determination unit. Specifically, when the valve is in the correct position, the switch position determination unit outputs a position signal to the MCU control unit. The MCU control unit determines whether the position signal changes within a preset time t1. If the position signal does not change within the preset time t1, the MCU control unit determines that the valve has been in the correct position.

[0011] In one specific implementation, the MCU control unit includes a communication module for transmitting the current rotation direction and rotation angle of the valve obtained by the MCU control unit to a remote server.

[0012] In one specific implementation scheme, the communication module is further configured to receive valve rotation commands sent by a remote server, and the MCU control unit adjusts the rotation direction and angle of the valve according to the valve rotation commands, so that the adjusted rotation direction and angle of the valve meet the requirements of the valve rotation commands.

[0013] In one specific implementation, the on / off control unit includes a relay.

[0014] In one specific implementation, the switch position determination unit includes a limit switch.

[0015] In summary, the technical solution of this application includes at least the following beneficial technical effects: 1. The MCU control unit acquires the current rotation direction and angle of the valve in real time. When it determines that the current rotation direction and angle of the valve are equal to the preset rotation direction and angle, it controls the valve motor to stop rotating, thereby stopping the valve from rotating and achieving precise control of the valve's rotation direction and angle.

[0016] 2. An on / off control unit is used to isolate the MCU control unit from the power supply unit, so that the power supply unit directly supplies power to the valve motor, avoiding cross-current between the high voltage power supply unit and the MCU control unit, which could damage the MCU control unit.

[0017] 3. The communication module transmits the valve's current rotation direction and angle information to a remote server and receives instructions from the remote server. The MCU control unit then adjusts the valve's rotation direction and angle, enabling remote monitoring and control of the valve by the operator. Attached Figure Description

[0018] Figure 1 This is a schematic diagram of the overall structure of the valve angle control device in the embodiments of this application.

[0019] Figure 2This is a specific circuit diagram of the valve angle control device in the embodiments of this application.

[0020] Explanation of reference numerals in the attached figures: 1. MCU control unit; 11. Communication module; 2. On / off control unit; 3. Power supply unit; 4. Valve motor; 5. Valve; 6. Switch position judgment unit; 61. Closed position limit switch; 62. Open position limit switch. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0022] This application discloses a valve angle control device, which includes an MCU control unit 1, an on / off control unit 2, a power supply unit 3, a valve motor 4, and a valve 5. The valve motor 4 drives the valve 5 to rotate. The functions of each part of the valve angle control device are as follows: MCU control unit 1 is used to output on / off control signals to on / off control unit 2; The on / off control unit 2 is used to control the power supply unit 3 to supply power to the valve motor 4 according to the on / off control signal, so that the valve motor 4 can rotate or stop. The MCU control unit 1 is used to obtain the current rotation direction and rotation angle of valve 5, and when it is determined that the current rotation direction and rotation angle of valve 5 are equal to the preset rotation direction and rotation angle, it controls valve motor 4 to stop rotating. Preferably, the power supply unit 3 includes a TVS diode, which can prevent reverse current and effectively protect the components in the circuit.

[0023] Specifically, the aforementioned MCU control unit 1 can obtain the current rotation direction and rotation angle of valve 5 using the following methods: MCU control unit 1 obtains the resistance value R of the sliding rheostat RP connected to valve 5. x Based on the preset relationship between valve information and the resistance value of the sliding rheostat RP, the preset rotation direction and rotation angle are converted into corresponding resistance values ​​R. y ; MCU control unit 1 determines the resistance value R x With resistance value R y Are they equal within a preset first error range? If the resistance value R x With resistance value R y If the rotation direction and angle of valve 5 are equal within the preset first error range, it is determined that the current rotation direction and angle of valve 5 are equal to the preset rotation direction and angle. The MCU control unit 1 controls the on / off control unit 2 to cut off the power supply to valve motor 4, so that the valve stops rotating.

[0024] Furthermore, when the MCU control unit 1 determines that the current rotation direction and angle of valve 5 are equal to the preset rotation direction and angle, and controls the valve motor 4 to stop rotating, in order to ensure the correctness of the judgment result of the MCU control unit 1 and improve the rotation accuracy of valve 5, the following verification method can be used to verify the judgment result of the MCU control unit 1: The MCU control unit 1 repeatedly acquires the resistance value of the sliding rheostat RP connected to valve 5. It then uses an algorithm that discards the highest and lowest values ​​from the acquired resistance values ​​of RP and averages them to obtain the average resistance R. a Determine the average value R a With resistance value R y Are they equal within the preset second error range? If the average value R is determined... a With resistance value R y If the rotation direction and angle of valve 5 are not equal within the preset second error range, it means that there is still an error between the current rotation direction and rotation angle of valve 5 and the preset rotation direction and rotation angle. The MCU control unit 1 controls the valve motor 4 to continue to adjust the rotation direction and / or rotation angle of valve 5.

[0025] Furthermore, the valve angle control device in this embodiment also includes a switch position determination unit 6, the function of which is as follows: The switch position determination unit 6 is connected to the MCU control unit 1 and the valve 5 respectively. The MCU control unit 1 determines whether the valve 5 is in the correct position through the switch position determination unit 6. If the MCU control unit 1 determines that the valve 5 is in the correct position, the MCU control unit 1 controls the on / off control unit 2 to cut off the power supply to the valve motor 4.

[0026] Specifically, the MCU control unit 1 determines whether the valve 5 is in the correct position. The following method can be used: when the valve 5 is in the correct position, the position determination unit 6 outputs a position signal to the MCU control unit 1. The MCU control unit 1 determines whether the position signal changes within a preset time t1. If the position signal does not change within the preset time t1, the MCU control unit 1 determines that the valve 5 is in the correct position, thereby controlling the on / off control unit 2 to cut off the power supply to the valve motor 4.

[0027] Furthermore, the MCU control unit 1 also includes a communication module 11. The communication module 11 can transmit the current rotation direction and rotation angle information of the valve 5 obtained by the MCU control unit 1 to a remote server. The communication module 11 can also receive valve rotation commands sent by the remote server, and then adjust the rotation direction and rotation angle of the valve 5 through the MCU control unit 1 so that the adjusted rotation direction and rotation angle of the valve 5 meet the requirements of the valve rotation command, thereby realizing remote monitoring and control of the valve by the operator.

[0028] The communication module 11 can be set to either a periodic mode or a fixed-point mode. The communication module 11 powers on periodically to communicate with the remote server. After connecting to the remote server, the communication module 11 first checks if the server has issued any commands. If so, the MCU control unit 1 prioritizes processing the commands from the server. After processing, it packages the data packets containing its own device status and uploads them to the remote server. Upon receiving the data packets, the remote server first verifies whether they conform to the specified protocol. If they do, the server parses the data packets according to the corresponding protocol; otherwise, it discards the packets. Furthermore, due to differences in the installation environment and region of the valve angle control device, signal interference between the communication module 11 and the remote server can vary. When signal interference is significant, the communication module 11 will activate a retry mechanism. If the first communication between the communication module 11 and the remote server times out, a second attempt to connect will be made after a period of time. The communication module 11 can be set to communicate three times upon power-on. If any communication is successful, the retry mechanism is disabled, and the module waits for the next fixed-point wake-up for communication.

[0029] It can be seen that the valve angle control device of this application uses the on / off control unit 2 to isolate the MCU control unit 1 from the power supply unit 3, so that the power supply unit 3 directly supplies power to the valve motor 4, avoiding the high voltage power supply of the power supply unit 3 from being connected to the MCU control unit 1 in series and causing damage to the MCU control unit 1, thereby realizing the control of the high voltage motor by the valve control device.

[0030] The MCU control unit 1 obtains the current rotation direction and rotation angle of valve 5 in real time. When it determines that the current rotation direction and rotation angle of valve 5 are equal to the preset rotation direction and rotation angle, it controls valve motor 4 to stop rotating, thereby stopping valve 5 from rotating. This achieves precise control of the rotation direction and rotation angle of valve 5.

[0031] The communication module transmits the valve's current rotation direction and angle information to a remote server and receives instructions from the remote server. The MCU control unit then adjusts the valve's rotation direction and angle, enabling remote monitoring and control of the valve by the operator.

[0032] Reference Figure 2 This is one implementation method in the embodiments of this application, which will be described below in conjunction with... Figure 2 The solution in this embodiment will be described in detail below: The on / off control unit 2 includes relays K1 and K2, and the switch position determination unit 6 includes a closed position limit switch 61 and an open position limit switch 62, as shown in the reference. Figure 2 The connection relationships of each component are as follows: Connectors J1, J2, and J3 are all connected to the MCU control unit 1. Connectors J1, J2, and J3 are used to receive control signals from the MCU control unit 1 and to transmit the acquired signals to the MCU control unit 1.

[0033] The J1-1 port of connector J1 is connected to the collector of transistor Q1. The J1-2 port of connector J1 is connected to the VCC port of the power supply, which is also grounded through series connection with capacitor C1. The J1-3 port of connector J1 is connected to the sliding contact of the variable resistor RP. The two ends of the variable resistor RP are connected to the VCC port of the power supply and the ground terminal, respectively. The J1-3 port of connector J1 is also grounded through series connection with capacitor C2. The J1-4 port of connector J1... The port is grounded, and the J1-5 port of the socket J1 is connected to the collector of the transistor Q2; resistors R3 and R4 are connected in series between the J1-1 port and the J1-5 port of the socket J1, and resistors R1 and R2 are connected in series between the base of the transistor Q1 and the base of the transistor Q2. The ungrounded end of the capacitor C1 is connected to the end of the resistor R3 away from the J1-1 port of the socket J1, and the ungrounded end of the capacitor C1 is also connected to the end of the resistor R2 away from the base of the transistor Q2.

[0034] The J2-1 port of socket J2 is connected to the positive terminal of diode D1, the negative terminal of diode D1 is connected to the emitter of transistor Q1, the J2-2 port of socket J2 is connected to the positive terminal of diode D2, the negative terminal of diode D2 is connected to the emitter of transistor Q2, the positive and negative terminals of diode D1 are connected to the closed limit switch 61, and the positive and negative terminals of diode D2 are connected to the open limit switch 62.

[0035] The J3-1 port of socket J3 is connected to the +12V voltage provided by power supply unit 3, and the J3-2 port of socket J3 is grounded. The transmitter of transistor Q1 is connected to the anode of diode D3, the cathode of diode D3 is connected to one end of relay K1, the other end of relay K1 is connected to the anode of diode D5, and the cathode of diode D5 is connected to the cathode of diode D3. The transmitter of transistor Q2 is connected to the anode of diode D4, the cathode of diode D4 is connected to one end of relay K2, the other end of relay K2 is connected to the anode of diode D6, and the cathode of diode D6 is connected to the cathode of diode D4. The anode of diode D4 is also connected to the anode of diode D5, and the anode of diode D3 is also connected to the anode of diode D6. Relays K1 and K2 control the connection of the M0- and M0+ ports of valve motor 4 to power supply unit 3, and relays K1 and K2 also control the connection of the M0- and M0+ ports of valve motor 4 to ground.

[0036] Valve motor 4 is connected to valve 5. When valve motor 4 rotates forward, it will drive valve 5 to open. When valve motor 4 rotates in reverse, it will drive valve 5 to close. The rotation direction of the valve is controlled by the forward and reverse rotation of valve motor 4.

[0037] The following steps describe the process of MCU control unit 1 controlling valve motor 4 to rotate forward: S110: MCU control unit 1 outputs a high level through port J2-1 of connector J2 and a low level through port J2-2 of connector J2. Limit switch 62 is normally closed, meaning ports 4 and 5 of limit switch 62 are interconnected. Relay K1 is energized, and relay K2 is de-energized. Therefore, port M0+ of valve motor 4 is connected to the +12V voltage provided by power supply unit 3, and port M0- of valve motor 4 is grounded. A potential difference is formed across valve motor 4, causing it to rotate forward and drive valve 5 to start rotating. Simultaneously, the VCC port of the power supply, resistor R2, transistor Q2, and port J2-2 of connector J2 form a circuit, turning on transistor Q2. MCU control unit 1 detects the change in collector voltage of transistor Q2 from high to low through port J1-5 of connector J1, thus determining that valve motor 4 has started rotating forward.

[0038] S120: The connecting rod in the middle of the sliding rheostat RP is connected to valve 5. The rotation of valve 5 can cause the connecting rod in the middle of the sliding rheostat RP to slide, thereby causing the MCU control unit 1 to acquire the change in the resistance value of the sliding rheostat RP through port J1-3 of the socket J1. The MCU control unit 1 then adjusts the measured resistance value R of the sliding rheostat RP accordingly. x By combining the preset valve information with the correspondence between the resistance value of the sliding rheostat RP, the preset rotation direction and rotation angle are converted into the corresponding resistance value R.y By comparing the resistance value R x and resistance value R y To determine whether the opening angle of valve 5 is the desired angle, the following steps are taken: During the forward rotation of valve motor 4, MCU control unit 1 determines the resistance value R. x With resistance value R y Are they equal within a preset first error range? If the resistance value R x With resistance value R y If the rotation direction and angle of valve 5 are equal within the preset first error range, it is determined that the current rotation direction and angle of valve 5 are equal to the preset rotation direction and angle. Then, the MCU control unit 1 outputs a signal, which outputs a high level through the J2-1 and J2-2 ports of the control socket J2, so that the relays K1 and K2 are both energized, and the M0+ and M0- ports of the valve motor 4 are grounded, and the valve motor 4 stops moving, thereby realizing the control of the opening angle of valve 5.

[0039] S130: As the valve motor 4 rotates, when the valve motor 4 drives the valve 5 to the position of the open limit switch 62, the open limit switch 62 senses the valve 5 and changes its state to normally open. That is, port 4 of the open limit switch 62 is disconnected from port 5, while port 5 is connected to port 6. Relay K1 is disconnected, and relay K2 remains disconnected. Both ports M0+ and M0- of the valve motor 4 are grounded, and there is no potential difference between ports M0+ and M0- of the valve motor 4. The valve motor 4 stops rotating. At the same time, the circuit formed by the power supply VCC port, resistor R2, transistor Q2, and port J2-2 of socket J2 is broken. Transistor Q2 is not conducting. The MCU control unit 1 detects through port J1-5 of socket J1 that the collector level of transistor Q2 has returned from low to high. The MCU control unit 1 determines that the forward rotation of the valve motor 4 has reached the correct position, that is, the valve 5 has reached the correct position.

[0040] S140: After the MCU control unit 1 determines that the valve motor 4 has rotated to the correct position, the MCU control unit 1 outputs a signal, which outputs a high level through the J2-1 and J2-2 ports of the control socket J2, causing the relays K1 and K2 to be energized, and the M0+ and M0- ports of the valve motor 4 to be grounded, cutting off the power supply to the valve motor 4 and stopping the valve motor 4 from moving. Cutting off the power supply avoids damage to the valve motor and saves energy.

[0041] The MCU control unit 1 detects the collector level change of transistor Q2 in real time through the J1-5 port of the connector J1. From the start of the valve motor 4 rotating forward until the valve motor 4 has rotated to the correct position, the detection result of the collector level of transistor Q2 through the J1-5 port of the connector J1 changes from low level to high level. Based on the above level detection result, the MCU control unit 1 determines that the valve motor 4 has rotated to the correct position.

[0042] The following steps describe the process of MCU control unit 1 controlling valve motor 4 to reverse: S210: MCU control unit 1 outputs a low level through port J2-1 of connector J2 and a high level through port J2-2 of connector J2. The closed limit switch 61 is normally closed, meaning ports 2 and 3 of the closed limit switch 61 are interconnected. Relay K1 is open, relay K2 is energized, the M0+ port of valve motor 4 is grounded, and the M0- port of valve motor 4 is connected to the +12V voltage provided by power supply unit 3. A potential difference is formed across valve motor 4, causing valve motor 4 to reverse and drive valve 5 to start rotating. Simultaneously, the VCC port of the power supply, resistor R1, transistor Q1, and port J2-1 of connector J2 form a circuit, turning on transistor Q1. MCU control unit 1 detects the change in collector level of transistor Q1 from high to low through port J2-1 of connector J1, thus determining that valve motor 4 has started to reverse.

[0043] S220: Similarly, as described in step S120, the connecting rod in the middle of the sliding rheostat RP is connected to valve 5. The rotation of valve 5 can cause the connecting rod in the middle of the sliding rheostat RP to slide, thereby causing the MCU control unit 1 to acquire the change in the resistance value of the sliding rheostat RP through port J1-3 of the socket J1. The MCU control unit 1 then adjusts the value based on the acquired resistance value R of the sliding rheostat RP. x By combining the preset valve information with the correspondence between the resistance value of the sliding rheostat RP, the preset rotation direction and rotation angle are converted into the corresponding resistance value R. y By comparing the resistance value R x With resistance value R y To determine whether the closing angle of valve 5 is the desired angle, the following steps are taken: During the reverse rotation of valve motor 4, MCU control unit 1 determines the resistance value R. x With resistance value R y Are they equal within a preset first error range? If the resistance value R x With resistance value R yIf the rotation direction and angle of valve 5 are equal within the preset first error range, it is determined that the current rotation direction and angle of valve 5 are equal to the preset rotation direction and angle. Then, the MCU control unit 1 outputs a signal, which outputs a high level through the J2-1 and J2-2 ports of the control socket J2, so that the relays K1 and K2 are both energized, and the M0+ and M0- ports of the valve motor 4 are grounded, and the valve motor 4 stops moving, thereby realizing the control of the closing angle of valve 5.

[0044] S230: As the valve motor 4 rotates, when the valve motor 4 drives the valve 5 to the closed limit switch 61, the closed limit switch 61 senses the valve 5 and changes its state to normally open. That is, port 2 and port 3 of the closed limit switch 61 are disconnected, while port 2 and port 1 are interconnected. Relay K1 and relay K2 are disconnected. Both M0+ and M0- ports of the valve motor 4 are grounded, and there is no potential difference between the M0+ and M0- ports of the valve motor 4. The valve motor 4 stops rotating. At the same time, the circuit formed by the power supply VCC port, resistor R1, transistor Q1, and J2-1 port of socket J2 is broken. Transistor Q1 is not conducting. The MCU control unit 1 detects through the J1-1 port of socket J1 that the collector level of transistor Q1 has returned from low to high. The MCU control unit 1 determines that the reverse rotation of the valve motor 4 has reached the correct position, that is, the valve 5 has reversed to the correct position.

[0045] S240: After the MCU control unit 1 determines that the valve motor 4 has rotated to the reverse position, the MCU control unit 1 outputs a signal, which outputs a high level through the J2-1 and J2-2 ports of the control socket J2, causing the relays K1 and K2 to be energized, and the M0+ and M0- ports of the valve motor 4 to be grounded, cutting off the power supply to the valve motor 4 and stopping the valve motor 4 from rotating. Cutting off the power supply avoids damage to the valve motor and saves energy.

[0046] The MCU control unit 1 detects the collector level change of transistor Q1 in real time through the J1-1 port of the connector J1. From the start of the valve motor 4 reversing until the valve motor 4 reaches the reverse position, the detection result of the collector level of transistor Q1 through the J1-1 port of the connector J1 changes from low level to high level. Based on the above level detection result, the MCU control unit 1 determines that the valve motor 4 has reached the reverse position.

[0047] Furthermore, in steps S120 and S220, in order to improve the accuracy of the MCU control unit 1 in judging the angle of valve 5 and reduce the judgment error, the MCU control unit 1 outputs a data acquisition control signal, and obtains the resistance value of the sliding rheostat RP connected to valve 5 multiple times through the J1-3 port of the socket J1. The obtained resistance values ​​of the sliding rheostat RP are averaged using an algorithm that discards the lower values ​​and takes the higher values ​​to obtain the average resistance R. a Determine the average value R a With resistance value R y Are they equal within the preset second error range? If the average value R a With resistance value R y If the rotation direction and angle of valve 5 are not equal within the preset second error range, it means that there is still an error between the current rotation direction and rotation angle of valve 5 and the preset rotation direction and rotation angle. Then, the MCU control unit 1 controls the valve motor 4 to continue to adjust the rotation direction and / or rotation angle of valve 5.

[0048] Preferably, the specific method by which the MCU control unit 1 repeatedly acquires the resistance value of the sliding rheostat RP connected to the valve 5 can be as follows: the MCU control unit 1 acquires the resistance value of the sliding rheostat RP connected to the valve 5 7 times per second, and uses an algorithm of discarding the highest and lowest values ​​and taking the average value of these 7 resistance values ​​to obtain the average resistance R. a1 MCU control unit 1 continuously samples for 10 seconds following the aforementioned steps, thus obtaining the average resistance R. a1 , obtain the average resistance R a2 Average resistance R a3 ...average resistance R a10 If the average resistance over these 10 seconds is equal to the resistance value R y If the values ​​are equal within the preset second error range, it can be determined that the current rotation direction and rotation angle of valve 5 have reached the preset values; if one or more of the average resistance values ​​over these 10 seconds are different from the resistance value R... y If the values ​​are not equal within the preset second error range, it can be determined that the current rotation direction and rotation angle of valve 5 still have errors compared with the preset values.

[0049] Furthermore, in step S130, in order to improve the accuracy of the MCU control unit 1 in judging whether the valve 5 is fully open or fully closed, the MCU control unit 1 continuously acquires the collector level change of the transistor Q2 through the J1-5 port of the socket J1 within a preset time t1. If the collector level of the transistor Q2 is found to be high and no longer changes within time t1, it is determined that the valve 5 has been fully open. Similarly, in step S230, the MCU control unit 1 continuously acquires the collector level change of the transistor Q1 through the J1-1 port of the socket J1 within a preset time t1. If the collector level of the transistor Q1 is found to be high and no longer changes within time t1, it is determined that the valve 5 has been fully closed.

[0050] Preferably, the preset time t1 is 10s.

[0051] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A valve angle control device, characterized in that: The valve angle control device includes an MCU control unit, an on / off control unit, a power supply unit, a valve motor, and a valve. The valve motor is used to drive the valve to rotate. The MCU control unit is used to output on / off control signals to the on / off control unit; The on / off control unit is used to control the power supply unit to supply power to the valve motor according to the on / off control signal, so that the valve motor can rotate or stop. The MCU control unit is used to acquire the current rotation direction and rotation angle of the valve, and when the current rotation direction and rotation angle of the valve are equal to the preset rotation direction and rotation angle, control the valve motor to stop rotating. Specifically, the MCU control unit acquires the resistance value Rx of the sliding rheostat RP connected to the valve, and converts the preset rotation direction and rotation angle into the corresponding resistance value Ry according to the preset correspondence between valve information and the resistance value of the sliding rheostat RP; the MCU control unit determines whether the resistance value Rx and the resistance value Ry are equal within a preset first error range. If the resistance value Rx and the resistance value Ry are equal within the preset first error range, then it is determined that the current rotation direction and rotation angle of the valve are equal to the preset rotation direction and rotation angle, and the MCU control unit controls the on / off control unit to cut off the power supply to the valve motor. The valve angle control device also includes a switch position determination unit; The on / off control unit includes relays K1 and K2, and the switch position determination unit includes a closed limit switch and an open limit switch. Connectors J1, J2, and J3 are all connected to the MCU control unit. Connectors J1, J2, and J3 are used to receive control signals from the MCU control unit and to transmit the acquired signals to the MCU control unit. The J1-1 port of connector J1 is connected to the collector of transistor Q1. The J1-2 port of connector J1 is connected to the VCC port of the power supply, which is also grounded through series connection with capacitor C1. The J1-3 port of connector J1 is connected to the sliding contact of the variable resistor RP. The two ends of the variable resistor RP are connected to the VCC port of the power supply and the ground terminal, respectively. The J1-3 port of connector J1 is also grounded through series connection with capacitor C2. The J1-4 port of connector J1 is grounded. The J1-5 port of connector J1 is connected to the collector of transistor Q2. Resistors R3 and R4 are connected in series between port 1-1 and port J1-5. Resistors R1 and R2 are connected in series between the bases of transistors Q1 and Q2. The ungrounded end of capacitor C1 is connected to the end of resistor R3 away from port J1-1 of connector J1, and the ungrounded end of capacitor C1 is also connected to the end of resistor R2 away from the base of transistor Q2. Port J2-1 of connector J2 is connected to the anode of diode D1, the cathode of diode D1 is connected to the emitter of transistor Q1, and port J2-2 of connector J2 is connected to the anode of diode D2. The negative terminal of diode D2 is connected to the emitter of transistor Q2; the positive and negative terminals of diode D1 are connected to the closed limit switch; the positive and negative terminals of diode D2 are connected to the open limit switch; the J3-1 port of socket J3 is connected to the +12V voltage provided by the power supply unit, and the J3-2 port of socket J3 is grounded; the emitter of transistor Q1 is connected to the positive terminal of diode D3; the negative terminal of diode D3 is connected to one end of relay K1; the other end of relay K1 is connected to the positive terminal of diode D5; and the negative terminal of diode D5 is connected to the negative terminal of diode D3; the negative terminal of transistor Q2... The transmitter is connected to the positive terminal of diode D4, the negative terminal of diode D4 is connected to one end of relay K2, the other end of relay K2 is connected to the positive terminal of diode D6, and the negative terminal of diode D6 is connected to the negative terminal of diode D4. The positive terminal of diode D4 is also connected to the positive terminal of diode D5, and the positive terminal of diode D3 is also connected to the positive terminal of diode D6. Relays K1 and K2 control the connection between the M0- and M0+ ports of the valve motor and the power supply unit, and relays K1 and K2 also control the connection between the M0- and M0+ ports of the valve motor and the ground terminal.

2. The valve angle control device according to claim 1, characterized in that: The switch position determination unit is connected to both the MCU control unit and the valve. The MCU control unit determines whether the valve is in the correct position by using the switch position judgment unit. If the MCU control unit determines that the valve is in the correct position, it controls the on / off control unit to cut off the power supply to the valve motor.

3. The valve angle control device according to claim 1, characterized in that: The MCU control unit determines that the current rotation direction and angle of the valve are equal to the preset rotation direction and angle, and after controlling the on / off control unit to cut off the power supply to the valve motor, it also includes a verification step: The MCU control unit repeatedly acquires the resistance value of the sliding rheostat RP connected to the valve. The acquired resistance values ​​of the sliding rheostat RP are averaged using an algorithm that discards the low and takes the high values ​​to obtain the average resistance value Ra. The MCU control unit then determines whether the average value Ra and the resistance value Ry are equal within a preset second error range. If the average value Ra and the resistance value Ry are not equal within the preset second error range, the MCU control unit controls the valve motor to continue adjusting the valve's rotation direction and / or rotation angle.

4. The valve angle control device according to claim 2, characterized in that: The MCU control unit determines whether the valve is in the correct position through the switch position determination unit. Specifically, when the valve is in the correct position, the switch position determination unit outputs a position signal to the MCU control unit. The MCU control unit determines whether the position signal changes within a preset time t1. If the position signal does not change within the preset time t1, the MCU control unit determines that the valve has been in the correct position.

5. The valve angle control device according to claim 1, characterized in that: The MCU control unit includes a communication module, which is used to transmit the current rotation direction and rotation angle of the valve obtained by the MCU control unit to a remote server.

6. The valve angle control device according to claim 5, characterized in that: The communication module is also used to receive valve rotation commands sent by a remote server. The MCU control unit adjusts the rotation direction and angle of the valve according to the valve rotation commands so that the adjusted rotation direction and angle of the valve meet the requirements of the valve rotation commands.

7. The valve angle control device according to claim 1, characterized in that: The on / off control unit includes a relay.

8. The valve angle control device according to claim 2, characterized in that: The switch position determination unit includes a limit switch.

Citation Information

Patent Citations

  • Proportional electromagnetic valve driving method based on PWM

    CN108980441A

  • Control method and control system for air conditioner air valve of railway vehicle

    CN115045852A

  • Centralized smoke exhaust system and air valve self-checking method thereof

    CN115218236A

  • Control method and device of air door actuator and air conditioner

    CN115899944A