Method and device for controlling motorized electrically controlled valve based on internet of things

By using an IoT-based motorized electronic valve control method that combines manual and electronic control modes, the system automatically detects and switches control modes, solving the safety and accuracy issues of valve operation when the locomotive is not powered, and achieving safe and reliable automated control.

CN120406262BActive Publication Date: 2026-07-21NINGBO GUOCHUANG LOCOMOTIVE EQUIP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NINGBO GUOCHUANG LOCOMOTIVE EQUIP
Filing Date
2025-04-29
Publication Date
2026-07-21

Smart Images

  • Figure CN120406262B_ABST
    Figure CN120406262B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of electric control valves, and relates to a motor-driven electric control valve control method and device based on an internet of things, which comprises the following steps: obtaining an electric control valve, obtaining a valve core normal state and a valve core state of a valve core based on the electric control valve, confirming the electric control valve as an electric control mode if the valve core normal state is consistent with the valve core state, obtaining motor driving parameters based on a computer connection end, obtaining a rotating motor based on the motor driving, monitoring the valve core after driving, obtaining a valve core monitoring data set, analyzing the valve core monitoring data set, modulating the electric control valve into a manual control mode if preset abnormal data exist in the valve core monitoring data set, confirming the electric control valve as a manual control mode if the valve core normal state is inconsistent with the valve core state, and completing the motor-driven electric control valve control based on the internet of things based on electric control valve abnormal early warning and the electric control valve in the manual control mode. The application can save human resources by using the electric control mode under the normal state of the electric control valve, and can retain the artificial control mode to deal with emergency situations, so that safety is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic valve technology, and in particular to a method and device for controlling a motorized electronic valve based on the Internet of Things. Background Technology

[0002] When a locomotive is in a powerless state during operation, it usually requires manual operation to complete several steps in sequence to switch into or out of the powerless state.

[0003] Currently, valve operation for locomotives in a non-powered state mainly relies on manual control, although some locomotive systems have adopted electric valves.

[0004] Both manually and electrically controlled valves can be operated in both powered and unpowered states. However, manual control typically involves opening or closing multiple valves, leading to cumbersome operation, high risk of human error, significant safety hazards, and a lack of real-time monitoring. Electrically controlled valves, on the other hand, suffer from limitations such as limited functionality, insufficient control precision, lack of intelligence, and poor compatibility. Therefore, an improved solution is urgently needed that combines the advantages of both electrical and manual control while retaining the original valve functions. This would achieve automated valve control, reduce manual operation, preserve manual operation capabilities, and add a self-locking mechanism to ensure manual operation is still possible in the event of a power system failure. Summary of the Invention

[0005] This invention provides a method for controlling a motorized electronically controlled valve based on the Internet of Things and a computer-readable storage medium. Its main purpose is to improve the intelligence level and accuracy of surface defect detection in ceramics.

[0006] To achieve the above objectives, the present invention provides a method for controlling a motorized electronically controlled valve based on the Internet of Things, comprising:

[0007] An electrically controlled valve is obtained, wherein the electrically controlled valve includes a manual control mode and an electrically controlled mode, and the electrically controlled valve further includes: a rotary handle, an actuator housing, a transition plate and a valve core, wherein the actuator housing includes a motor and a control chip;

[0008] Based on the electronically controlled valve, the valve core's normal state and valve core status are obtained;

[0009] If the valve core is in normal state and the valve core state is consistent, the solenoid valve is confirmed to be in solenoid mode. The motor drive parameters are obtained based on the pre-built computer connection terminal and stored in the control chip to obtain the parameter control chip. The motor is driven by the pre-built mechanical connection terminal and the parameter control chip to obtain the rotating motor.

[0010] Based on the rotation motor driving the valve core, and using a pre-constructed sliding window, a preset sliding step size and a preset monitoring period to monitor the valve core after driving, a valve core monitoring dataset is obtained. The valve core monitoring dataset includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and valve core transmission error under the monitoring period.

[0011] The valve core monitoring dataset is analyzed. If there is preset abnormal data in the valve core monitoring dataset, the electric control valve is switched to manual control mode, and an abnormal warning of the electric control valve is issued using the computer connection terminal.

[0012] If the valve core's normal state is inconsistent with its actual state, the electrically controlled valve will be confirmed as being in manual control mode, and an abnormal warning for the electrically controlled valve will be issued using the computer connection terminal.

[0013] Based on the abnormal early warning of the electric valve and the electric valve in manual control mode, the system completes the control of the motorized electric valve based on the Internet of Things.

[0014] Optionally, the acquisition of the electrically controlled valve includes:

[0015] Acquire the electric control valve under test, the electric control structure of the electric control valve under test, and the manual control structure of the electric control valve under test, wherein the manual control structure corresponds to the manual control mode, and the electric control structure corresponds to the electric control mode;

[0016] When the valve under test is an electrically controlled structure, the computer connection terminal is obtained, the circuit board is obtained based on the computer connection terminal, the mechanical connection terminal is identified based on the circuit board, the actuator box is connected based on the mechanical connection terminal, and an electrical control test operation is performed on the electrically controlled valve under the electrically controlled structure based on the connected actuator box to obtain the electrical control test result. If the electrical control test result is a preset electrical control safety state, the initial electrically controlled valve is obtained based on the electrical control safety state.

[0017] The actuator housing contains a reduction gear system and a circuit board. The circuit board contains the motor and a control chip, and the control chip includes a computer connection terminal and a mechanical connection terminal.

[0018] The reduction gear train includes an input gear, an intermediate gear train, and an output gear, and the input gear, intermediate gear, and output gear are connected by gear meshing. The motor rotates synchronously with the input gear.

[0019] The transition plate includes a coupling and a transition outer box. The transition outer box is fixed outside the actuator box, and the coupling is located inside the transition outer box. One end of the coupling rotates synchronously with the output gear, and the end of the coupling away from the output gear is connected to the valve core.

[0020] The electric control valve is obtained based on the initial electric control valve and the manual control structure.

[0021] Optionally, the step of obtaining the electrically controlled valve based on the initial electrically controlled valve and the manual control structure includes:

[0022] A power-off operation is performed on the circuit board of the initial electrically controlled valve to obtain a non-powered valve, and the non-powered valve is confirmed as a manually controlled structure. The rotating handle includes: a rotating handle, a rotating handle control shaft, and a spring.

[0023] The rotary handle is externally mounted outside the actuator housing, and the spring is connected to the control shaft of the rotary handle and the output gear. The spring is normally in a compressed state.

[0024] The manual control detection operation is performed on the unpowered valve under the manual control structure based on the rotary handle to obtain the manual control detection result. If the manual control detection result is the preset manual control safety state, the electric control valve is obtained based on the manual control safety state.

[0025] Optionally, the manual control detection operation is performed on the unpowered valve under the manual control structure based on the rotary handle to obtain the manual control detection result. If the manual control detection result is a preset manual control safety state, then the electrically controlled valve is obtained based on the manual control safety state, including:

[0026] If the non-powered valve does not receive the pre-constructed external pressure, and the intermediate gear train and the output gear are in a preset gear meshing state, then the starting point of the output tooth is recorded, and the rotating handle is rotated using a preset test torque, and the ending point of the output tooth is obtained based on the rotated rotating handle.

[0027] If the end point of the output tooth is inconsistent with the start point of the output tooth, the manual control detection result is confirmed as a dangerous state of manual control, and a manual control abnormality warning is issued using the pre-built manual control detection device.

[0028] Otherwise, the external pressure is applied to the rotary handle, and the manual control detection result is obtained based on the external pressure and the rotary handle after the external pressure is applied. If the manual control detection result is a manual control safety state, the electric control valve is obtained based on the manual control safety state.

[0029] Optionally, the step of obtaining the hand control detection result based on the external pressure and the rotating handle after applying the external pressure includes:

[0030] Determine whether the intermediate gear train and the output gear are in a preset gear separation state. The gear separation state is: based on external pressure to compress the spring, a compressed spring is obtained, and the compression amount of the compressed spring is greater than the compression amount of the spring in its normal state. Based on the compressed spring, the intermediate gear train and the output gear are separated from the gear meshing state, and the state of the intermediate gear train and the output gear is determined.

[0031] If the intermediate gear train and the output gear are in the gear separation state, and the rotating handle is rotated using a preset control parameter set, a detection parameter set is obtained based on the rotated rotating handle. The control parameter set includes multiple control parameters, the detection parameter set includes multiple detection parameters, and the control parameters and detection parameters correspond one-to-one.

[0032] An error result set is obtained based on the control parameter set and the detection parameter set, and a manual detection result is obtained based on the error result set.

[0033] Optionally, the step of obtaining an error result set based on the control parameter set and the detection parameter set, and obtaining the manual detection result based on the error result set, includes:

[0034] Control parameters are extracted sequentially from the control parameter set, and corresponding detection parameters are extracted from the detection parameter set. The extracted control parameters and the extracted detection parameters are then combined to obtain error data, which is shown below:

[0035] W = (T k N k SC c SZ c , ε)

[0036] Where W represents the error data, T k This represents torque, N, in the control parameters. k SC represents the number of rotations in the control parameters. c SZ indicates the starting position of the output gear in the detection parameters. c This indicates the end position of the output gear in the detection parameters, and ε represents the manual control error value.

[0037] The error data is summarized to obtain an error dataset. An error result set is obtained based on the error dataset. The manual detection result is obtained based on the error result set. The error data and the error result are in one-to-one correspondence.

[0038] Optionally, the formula for calculating the manual control error value is as follows:

[0039]

[0040] Where ε represents the manual control error value, E r E represents the starting parameter corresponding to the starting position of the output gear. s E represents the endpoint parameter corresponding to the endpoint position of the output gear. m This indicates the manual control error threshold.

[0041] Optionally, obtaining the error result set based on the error dataset and obtaining the manual detection result based on the error result set includes:

[0042] Extract error data sequentially from the error dataset to obtain the target parameters, and perform the following operations on the target parameters:

[0043] Based on the torque extracted from the target parameters, if the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, then the error result corresponding to the target parameters is confirmed as a dangerous state of manual control.

[0044] If the torque is greater than or equal to the minimum manual control torque threshold, and the starting position and the ending position are the same, then the error result is confirmed as a preset manual control dangerous state.

[0045] Otherwise, extract the manual control error value. If the manual control error value is within the preset error range, then confirm the error result as the initial safe state.

[0046] Summarize the error results to obtain an error result set. If there is no dangerous state of manual control in the error result set, then the manual control detection result is confirmed as the safe state of manual control.

[0047] Optionally, in the process of parsing the valve core monitoring dataset, if preset abnormal data exists in the valve core monitoring dataset, the electrically controlled valve is confirmed as being in electrically controlled mode and then switched to manually controlled mode, including:

[0048] Extract valve core monitoring data sequentially from the valve core monitoring dataset, and perform the following operations on each valve core monitoring data:

[0049] Based on the sliding window, the unit opening degree is extracted sequentially from the valve core monitoring data, and the error between the unit opening degree and the preset target opening degree is calculated to obtain the opening degree error. If the opening degree error is less than the preset opening degree error threshold, the extracted unit opening degree is skipped; otherwise, the extracted unit opening degree is marked as abnormal opening degree.

[0050] The number of abnormal opening degrees in the valve core monitoring data is counted to obtain the number of abnormalities. If the number of abnormalities is less than the preset abnormal data threshold, the valve core monitoring data is skipped; otherwise, the valve core monitoring data is marked as abnormal monitoring data.

[0051] The number of abnormal monitoring data is counted. If the number of abnormal monitoring data is greater than the preset abnormal monitoring data threshold within the monitoring period, it is confirmed that there is preset abnormal data in the valve core monitoring data set, and the electric control valve is confirmed to be in electric control mode and modulated into manual control mode.

[0052] To achieve the above objectives, the present invention also provides a motorized electronic valve control device based on the Internet of Things, comprising:

[0053] An electric control valve module is used to acquire an electric control valve, wherein the electric control valve includes a manual control mode and an electric control mode, and the electric control valve further includes: a rotary handle, an actuator box, a transition plate and a valve core, wherein the actuator box includes a motor and a control chip;

[0054] The valve core detection module is used to obtain the normal valve core state and valve core status based on the electric control valve.

[0055] The detection module is used to confirm the electrically controlled valve as electrically controlled if the valve core's normal state is consistent with its normal state. It acquires motor drive parameters based on a pre-built computer connection and stores these parameters in a control chip to obtain a parameter control chip. The module then drives the motor using the pre-built mechanical connection and the parameter control chip to obtain a rotating motor. Based on this rotating motor, it drives the valve core and monitors the driven valve core using a pre-built sliding window, a preset sliding step size, and a preset monitoring period to obtain a valve core monitoring dataset. This dataset includes multiple valve core detection data points, each containing the unit opening / closing degree and valve core transmission error within the monitoring period. The module analyzes the valve core monitoring dataset. If preset abnormal data exists in the dataset, the electrically controlled valve is switched to manual control mode, and an abnormal warning is issued using the computer connection.

[0056] The manual control module is used to confirm the electric valve in manual control mode if the valve core's normal state is inconsistent with its normal state. It also uses the computer connection terminal to issue an electric valve anomaly warning and completes the Internet of Things-based motorized electric valve control based on the electric valve anomaly warning and the electric valve in manual control mode.

[0057] To address the above problems, the present invention also provides an electronic device, the electronic device comprising:

[0058] A memory for storing at least one instruction; and a processor for executing the instructions stored in the memory to implement the IoT-based motorized electronic valve control method described above.

[0059] To address the aforementioned issues, the present invention also provides a computer-readable storage medium storing at least one instruction, which is executed by a processor in an electronic device to implement the aforementioned Internet of Things-based motorized electronic valve control method.

[0060] To address the problems described in the background art, this invention provides an electrically controlled valve. Based on this valve, the invention obtains the valve core's normal state and valve core status. The electrically controlled valve includes a manual control mode and an electrically controlled mode, combining different control modes simply through a single device. Before being put into use, the electrically controlled valve is tested to ensure its safety. If the valve core's normal state and valve core status are consistent, the electrically controlled valve is confirmed to be in electrically controlled mode. Motor drive parameters are obtained based on a pre-built computer connection and stored in a control chip to obtain a parameter control chip. The motor is driven using the pre-built mechanical connection and the parameter control chip to obtain a rotating motor. This invention uses the electrically controlled mode when the vehicle is not malfunctioning, saving manpower. The valve core is driven by a rotating motor, and the valve core after driving is monitored using a pre-constructed sliding window, a preset sliding step size, and a preset monitoring period to obtain a valve core monitoring dataset. This dataset includes multiple valve core detection data points, including the unit opening / closing degree and valve core transmission error within the monitoring period. The valve core monitoring dataset is analyzed; if preset abnormal data exists, the electrically controlled valve is switched to manual control mode, and an abnormality warning is issued via the computer connection. In this embodiment, an abnormal data threshold is set to eliminate errors in the valve core monitoring dataset that may be caused by detection methods or equipment aging, thereby avoiding false warnings. If the valve core's normal state is inconsistent with its actual state, the electrically controlled valve is confirmed to be in manual control mode, and an abnormality warning is issued via the computer connection. Based on the abnormality warning and the electrically controlled valve in manual control mode, IoT-based motorized electrically controlled valve control is completed. This invention uses manual control mode to handle emergencies when the vehicle malfunctions, thereby improving the safety performance of the vehicle with the electrically controlled valve and ensuring safety. Therefore, this invention can save manpower by using the electric control mode of the electric control valve under normal conditions, while retaining the means of human control to deal with emergencies and ensure safety. Attached Figure Description

[0061] Figure 1 A schematic flowchart of an Internet of Things-based motorized electronic valve control method provided in an embodiment of the present invention;

[0062] Figure 2 A functional block diagram of an IoT-based motorized electronic valve control device provided in an embodiment of the present invention;

[0063] Figure 3 A schematic diagram of a motorized electronic valve control device based on the Internet of Things provided in an embodiment of the present invention;

[0064] Figure 4 A cross-sectional view of a motorized electronic valve control device based on the Internet of Things provided in an embodiment of the present invention;

[0065] Figure 5 This is a schematic diagram of the structure of an electronic device for implementing the Internet of Things-based motorized electronic valve control method according to an embodiment of the present invention.

[0066] Explanation of reference numerals in the attached figures:

[0067] A. Rotary handle; B. Actuator housing; C. Transition plate; D. Valve core;

[0068] 10. Electronic device; 11. Processor; 12. Memory; 13. Bus.

[0069] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0070] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0071] This application provides an IoT-based method for controlling a motorized electronically controlled valve. The executing entity of this IoT-based method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the IoT-based method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster.

[0072] Reference Figure 1 The diagram shown is a flowchart illustrating an IoT-based motorized electronic valve control method according to an embodiment of the present invention. In this embodiment, the IoT-based motorized electronic valve control method includes:

[0073] S1. Obtain an electrically controlled valve, wherein the electrically controlled valve includes a manual control mode and an electrically controlled mode, and the electrically controlled valve further includes: a rotary handle, an actuator housing, a transition plate and a valve core, wherein the actuator housing includes a motor and a control chip.

[0074] It should be noted that the acquisition of the electrically controlled valve includes:

[0075] Acquire the electric control valve under test, the electric control structure of the electric control valve under test, and the manual control structure of the electric control valve under test, wherein the manual control structure corresponds to the manual control mode, and the electric control structure corresponds to the electric control mode;

[0076] When the valve under test is an electrically controlled structure, the computer connection terminal is obtained, the circuit board is obtained based on the computer connection terminal, the mechanical connection terminal is identified based on the circuit board, the actuator box is connected based on the mechanical connection terminal, and an electrical control test operation is performed on the electrically controlled valve under the electrically controlled structure based on the connected actuator box to obtain the electrical control test result. If the electrical control test result is a preset electrical control safety state, the initial electrically controlled valve is obtained based on the electrical control safety state.

[0077] The actuator housing contains a reduction gear system and a circuit board. The circuit board contains the motor and a control chip, and the control chip includes a computer connection terminal and a mechanical connection terminal.

[0078] The reduction gear train includes an input gear, an intermediate gear train, and an output gear, and the input gear, intermediate gear, and output gear are connected by gear meshing. The motor rotates synchronously with the input gear.

[0079] The transition plate includes a coupling and a transition outer box. The transition outer box is fixed outside the actuator box, and the coupling is located inside the transition outer box. One end of the coupling rotates synchronously with the output gear, and the end of the coupling away from the output gear is connected to the valve core.

[0080] The electric control valve is obtained based on the initial electric control valve and the manual control structure.

[0081] It should be noted that the electrically controlled valve under test is an electrically controlled valve that includes both manual and electric control modes. The manual control mode is the mode in which the electrically controlled valve can be controlled without any power supply. The electric control mode is the mode in which the electrically controlled valve can be controlled when connected to a power supply. For specific control methods, please refer to the following embodiments.

[0082] It is understood that the electrically controlled structure refers to the structure of the electrically controlled valve in electrically controlled mode, and the manually controlled structure refers to the structure of the electrically controlled valve in manually controlled mode. When the electrically controlled valve under test is an electrically controlled structure, it is in electrically controlled mode; when the initial electrically controlled valve is a manually controlled structure, it is in manually controlled mode. The computer connection terminal is a port used to connect the circuit board and the computer; optionally, the computer connection terminal is a USB interface. The circuit board is a chip used to connect the computer and the electrically controlled valve; optionally, the circuit board is an embedded microcontroller connected to a motor. The mechanical connection terminal is a port used to connect mechanical equipment; for example, in this embodiment of the invention, the mechanical connection terminal is used to connect the motor and the circuit board. The actuator housing is the enclosure containing the mechanism for parsing and executing instructions issued by the computer. In this embodiment of the invention, the control chip is the embedded microcontroller, such as an STM32. The mechanical connection terminal of the embedded microcontroller is connected to the motor inside the actuator housing. Simultaneously, the control chip can also be externally connected to sensors for detecting the rotational speed of the reduction gear teeth, stroke encoders for detecting the rotation of the reduction gear train, etc. The specific configuration can be changed according to actual needs. The computer connection terminal is connected to the computer. Therefore, in this embodiment of the invention, the user issues instructions through the computer, the instructions are transmitted to the mechanical connection terminal via the control chip, and the actuator housing is connected to the motor through the mechanical connection terminal. Optionally, the mechanical connection terminal can also be a USB interface.

[0083] It should be noted that the electronic control testing operation is an operation to test the electronically controlled valve under the electronic control structure. This testing process is similar to the manual testing operation, and its purpose is to test the safety and reliability of the electronically controlled valve under the electronic control structure. For example, if Xiao Zhang is the tester of the electronically controlled valve under the electronic control structure, in order to test the response speed of the electronically controlled valve under the electronic control structure to the commands issued by the computer, he performs an electronic control testing operation on the electronically controlled valve under the electronic control structure and obtains the electronic control testing results. The electronic control testing results can include the response speed of the electronically controlled valve under the electronic control structure to the commands issued by the computer in multiple electronic control testing operations, obtaining multiple response speeds. If all of these multiple response speeds are within a preset response speed range, then the electronic control testing results are confirmed as the electronic control safety state. Here, the response speed is the response speed of the electronically controlled valve under the electronic control structure to the commands issued by the computer in a single electronic control testing operation. The response speed range is a manually set range used to limit the response speed. When all the response speeds are within the response speed range, this embodiment of the invention considers the response speed to meet the requirements in this electronic control test operation. Therefore, the electronic control safety state is the state used to characterize the electronically controlled valve under test as meeting the response speed requirements. It is understood that in the actual electronic control test operation, the parameters characterized are different depending on the different items corresponding to the electronic control test operation. For example, the feedback system meets the requirements, the actual voltage meets the requirements, the valve opening and closing error meets the requirements, etc. The electronic control safety state is the state used to characterize the electronically controlled valve under test as meeting the requirements of the characterized parameters.

[0084] Furthermore, the initial electrically controlled valve is the electrically controlled valve under the test structure that, after undergoing an electrically controlled detection operation, achieves an electrically safe state. The reduction gear train is a gear train used for deceleration. The structure of the reduction gear train is existing technology. In this embodiment of the invention, the reduction gear train is divided into an input gear, an intermediate gear train, and an output gear. The input gear is the driving gear of the reduction gear train, and the output gear is the driven gear in the reduction gear train used for output. The intermediate gear train is the gear train consisting of all the remaining gears after removing the input and output gears. Power transmission is achieved between the input gear and the intermediate gear train through gear meshing, and power transmission is also achieved between the intermediate gear train and the output gear through gear meshing. The input gear is connected to the motor and rotates synchronously. There are various ways to achieve synchronous rotation, all of which can achieve the same effect, such as using a gear coupling to connect the hub of the output gear to the motor, etc., which will not be elaborated here.

[0085] It should be noted that the transition housing is a housing that serves as a mechanical connection between the valve core and the actuator housing. This embodiment of the invention does not limit the type of coupling; various coupling types can achieve the same effect. In this embodiment, the coupling serves to connect the movement between the output gear and the valve core. When the output gear rotates, the coupling rotates synchronously with the output gear, and transmits the power of the output gear to the valve core through the coupling, thereby achieving control of the unit opening degree.

[0086] Furthermore, the acquisition of the electrically controlled valve based on the initial electrically controlled valve and the manual control structure includes:

[0087] A power-off operation is performed on the circuit board of the initial electrically controlled valve to obtain a non-powered valve, and the non-powered valve is confirmed as a manually controlled structure. The rotating handle includes: a rotating handle, a rotating handle control shaft, and a spring.

[0088] The rotary handle is externally mounted outside the actuator housing, and the spring is connected to the control shaft of the rotary handle and the output gear. The spring is normally in a compressed state.

[0089] The manual control detection operation is performed on the unpowered valve under the manual control structure based on the rotary handle to obtain the manual control detection result. If the manual control detection result is the preset manual control safety state, the electric control valve is obtained based on the manual control safety state.

[0090] It is understood that the power-off operation refers to shutting off the power supply to the circuit board in the initial solenoid valve, switching the initial solenoid valve from its original solenoid control mode to manual control mode. Therefore, the unpowered valve is the initial solenoid valve after the power is turned off. In this embodiment of the invention, when the power supply to the initial solenoid valve is turned off, the unpowered valve can be controlled through the manual control structure, thereby improving the safety of the solenoid valve.

[0091] It should be noted that the rotary handle is a handle for the operator to control the initial electrically controlled valve in a manual control structure. The control shaft of the rotary handle is fixedly connected to the rotary handle and is located inside the actuator housing, while the rotary handle itself is located outside the actuator housing. That is, when the operator rotates the rotary handle, the control shaft rotates synchronously with the rotary handle to transmit the movement applied to the rotary handle by the operator. Furthermore, the spring has two ends in the axial direction, one end of which is connected to the control shaft of the rotary handle, and the other end is connected to the output gear.

[0092] Understandably, the spring is normally in a compressed state. When the rotary handle is not subjected to axial pressure or the initial solenoid valve is in the solenoid mode, the compressed spring will not disrupt the gear meshing between the intermediate gear train and the output gear. Therefore, the reduction gear train will not rotate or transmit torque at this time. When the initial solenoid valve is in manual mode, i.e., the initial solenoid valve is converted into a non-powered valve, and the rotary handle is subjected to axial pressure, the intermediate gear train and the output gear are no longer meshed. The operator can control the rotary handle control shaft to rotate synchronously by rotating the rotary handle. At this time, the rotary handle control shaft rotates synchronously with the output gear, and the output gear is still connected to the coupling and valve core in sequence, thereby realizing manual control of the valve core. In other words, in this embodiment of the invention, the spring acts as a regular clutch to realize the conversion between the solenoid valve and the manual control structure.

[0093] Furthermore, the manual control test operation has a similar meaning to the electric control test operation, referring to the operation of testing the safety and reliability of a powerless valve under a manual control structure. The manual control test result is the result of the manual control test operation on the powerless valve. Optionally, it can be presented in the form of a text report, for example, the manual control test result is: the powerless valve is in a manually controllable safe state. There are various ways to present the result of the manual control test operation on the powerless valve, and this embodiment of the invention does not limit this.

[0094] Understandably, the manual safety state is similar to the electronic safety state, used to characterize the state of a non-powered valve when it meets the required parameters after a manual detection operation.

[0095] Furthermore, the manual control detection operation is performed on the unpowered valve under the manual control structure based on the rotary handle to obtain the manual control detection result. If the manual control detection result is a preset manual control safety state, then the electrically controlled valve is obtained based on the manual control safety state, including:

[0096] If the non-powered valve does not receive the pre-constructed external pressure, and the intermediate gear train and the output gear are in a preset gear meshing state, then the starting point of the output tooth is recorded, and the rotating handle is rotated using a preset test torque, and the ending point of the output tooth is obtained based on the rotated rotating handle.

[0097] If the end point of the output tooth is inconsistent with the start point of the output tooth, the manual control detection result is confirmed as a dangerous state of manual control, and a manual control abnormality warning is issued using the pre-built manual control detection device.

[0098] Otherwise, the external pressure is applied to the rotary handle, and the manual control detection result is obtained based on the external pressure and the rotary handle after the external pressure is applied. If the manual control detection result is a manual control safety state, the electric control valve is obtained based on the manual control safety state.

[0099] Understandably, external pressure refers to the pressure applied manually to the axial direction of the control shaft of the rotary handle. The gear meshing state refers to the state when the gear connected to the output gear on the intermediate gear train is meshed with the output gear. The starting point of the output tooth can be recorded using a stroke encoder, and this method of recording the starting point of the output tooth using a stroke encoder is existing technology and will not be elaborated upon here. The starting point of the output tooth is the position of the output gear before it receives external pressure and before the rotary handle is rotated using a test torque. The ending point of the output tooth is the position of the output gear after the rotary handle is rotated using the test torque. For example, if the position of the output gear at this point is set as the origin, and the stroke encoder calculates that the output gear has rotated A revolutions, then the ending point of the output tooth is: A.

[0100] Understandably, the test torque is used to test whether an operator can open or close the valve by rotating the rotary handle when the unpowered valve is not receiving external pressure and the intermediate gear train and the output gear are engaged. It should be noted that when the unpowered valve is not receiving external pressure and the intermediate gear train and the output gear are engaged, the intermediate gear train limits the output gear. Under normal circumstances, the operator should not be able to turn the rotary handle, and therefore, cannot control the valve core opening or closing. Therefore, when the end point of the output tooth is not the same as the beginning point of the output tooth, the manual control detection result confirms a dangerous manual control condition, and a manual control anomaly warning is issued using a pre-built manual control detection device. The manual control dangerous state is the opposite of the manual control safe state, and is used to indicate that the reliability and safety of the manual control structure are insufficient in the manual control mode. Therefore, the embodiments of the present invention use a manual control abnormality warning to alarm the manual control dangerous state. For example, a preset target displacement parameter is obtained by using an electronic stroke encoder, and the actual displacement parameter is calculated based on the end point of the output tooth and the start point of the output tooth. When the target displacement parameter is not equal to the actual displacement parameter, the electronic stroke encoder is used to obtain the warning display, and a manual control abnormality warning is issued based on the warning display.

[0101] Among them, the electronic travel encoder is a travel encoder with a warning display, and the warning display is an LCD display.

[0102] Furthermore, the step of obtaining the hand control detection result based on the external pressure and the rotating handle after applying the external pressure includes:

[0103] Determine whether the intermediate gear train and the output gear are in a preset gear separation state. The gear separation state is: based on external pressure to compress the spring, a compressed spring is obtained, and the compression amount of the compressed spring is greater than the compression amount of the spring in its normal state. Based on the compressed spring, the intermediate gear train and the output gear are separated from the gear meshing state, and the state of the intermediate gear train and the output gear is determined.

[0104] If the intermediate gear train and the output gear are in the gear separation state, and the rotating handle is rotated using a preset control parameter set, a detection parameter set is obtained based on the rotated rotating handle. The control parameter set includes multiple control parameters, the detection parameter set includes multiple detection parameters, and the control parameters and detection parameters correspond one-to-one.

[0105] An error result set is obtained based on the control parameter set and the detection parameter set, and a manual detection result is obtained based on the error result set.

[0106] Understandably, the gear disengagement state and gear engagement state represent the disengaged state of the intermediate gear train and the output gear. The compression spring is a spring compressed under external pressure. The process of external pressure being transmitted to the spring is as follows: the operator applies external pressure to the rotating handle, and the external pressure is transmitted through the rotating handle to the shaft of the rotating handle control shaft, and then the external pressure is applied to the spring through the rotating handle control shaft. At this time, the spring, which is normally in a compressed state, is further compressed and applies an axial force to the output gear, thereby achieving the separation of the intermediate gear train and the output gear.

[0107] Furthermore, the control parameters are the parameters for the operator to control the valve core under the manual control structure, and the detection parameters are the parameters obtained after detecting the unpowered valve under the control parameters. In this embodiment of the invention, the control parameters include torque and number of rotations, and the detection parameters include the starting position of the output gear, the ending position of the output gear, and the manual control error value.

[0108] It is understood that obtaining the error result set based on the control parameter set and the detection parameter set, and obtaining the manual detection result based on the error result set, includes:

[0109] Control parameters are extracted sequentially from the control parameter set, and corresponding detection parameters are extracted from the detection parameter set. The extracted control parameters and the extracted detection parameters are then combined to obtain error data, which is shown below:

[0110] W = (T k N k SC c SZ c , ε)

[0111] Where W represents the error data, T kThis represents torque, N, in the control parameters. k SC represents the number of rotations in the control parameters. c SZ indicates the starting position of the output gear in the detection parameters. c This indicates the end position of the output gear in the detection parameters, and ε represents the manual control error value.

[0112] The error data is summarized to obtain an error dataset. An error result set is obtained based on the error dataset. The manual detection result is obtained based on the error result set. The error data and the error result are in one-to-one correspondence.

[0113] It should be noted that the method of merging the extracted control parameters and the extracted control parameters is to put the extracted control parameters and the extracted control parameters in the same data to obtain the error data.

[0114] Furthermore, the formula for calculating the manual control error value is as follows:

[0115]

[0116] Where ε represents the manual control error value, E r E represents the starting parameter corresponding to the starting position of the output gear. s E represents the endpoint parameter corresponding to the endpoint position of the output gear. m This indicates the manual control error threshold.

[0117] In this embodiment of the invention, a stroke encoder is used to measure the starting position and the ending position of the output gear. This method is consistent with the method of measuring the ending point and the starting point of the output gear. The measured starting position and the measured ending position are then quantified to obtain the starting point parameter and the ending point parameter.

[0118] For example, the starting position is set as the origin, i.e., the measured starting position is 0. The stroke encoder is used to calculate that the output gear has rotated B revolutions relative to the starting position, i.e., the measured ending position is B. The measured starting position 0 and the measured ending position B are quantified to obtain the starting parameter and the ending parameter. The calculation formula for the quantification is as follows:

[0119] E=δL oc

[0120] Among them, L oc The starting position 0 or the ending position B after measurement is indicated by δ, where δ represents the numerical coefficient and δ = π, and E represents the starting parameter or the ending parameter.

[0121] It is understandable that the manual control error threshold is the maximum allowable error value of the manual control error. When the manual control error value exceeds the manual control error threshold, it is considered that the unpowered valve in manual control mode controls the opening and closing of the valve by controlling the rotation handle.

[0122] Furthermore, the step of obtaining an error result set based on the error dataset and obtaining the hand-controlled detection result based on the error result set includes:

[0123] Extract error data sequentially from the error dataset to obtain the target parameters, and perform the following operations on the target parameters:

[0124] Based on the torque extracted from the target parameters, if the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, then the error result corresponding to the target parameters is confirmed as a dangerous state of manual control.

[0125] If the torque is greater than or equal to the minimum manual control torque threshold, and the starting position and the ending position are the same, then the error result is confirmed as a preset manual control dangerous state.

[0126] Otherwise, extract the manual control error value. If the manual control error value is within the preset error range, then confirm the error result as the initial safe state.

[0127] Summarize the error results to obtain an error result set. If there is no dangerous state of manual control in the error result set, then the manual control detection result is confirmed as the safe state of manual control.

[0128] It should be noted that the target parameters are error data extracted from the error dataset. The minimum manual torque threshold is the minimum value at which the rotary handle can be rotated in manual mode under a manually set safe manual control condition. The error range is a manually set range of error fluctuations considered to be within the manual control safe condition.

[0129] It is understandable that when the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, it means that the torque can be used to rotate the rotary handle when it is less than the minimum manual control torque threshold. At this time, the rotary handle may also be rotated due to vibration, accidental touch or other reasons that may occur during the operation of the motor vehicle. Therefore, in this case, the error result needs to be confirmed as a dangerous state of manual control.

[0130] Furthermore, when the torque is greater than or equal to the minimum manual control torque threshold and the starting position and the ending position are the same, it indicates that the torque required to rotate the rotary handle is met, but the valve core cannot be controlled to open or close, which may indicate a mechanical failure. Therefore, in this case, the error result needs to be confirmed as a dangerous state of manual control.

[0131] It should be noted that manual control error values ​​are extracted only when the torque is less than a preset minimum manual control torque threshold and the starting and ending positions are the same, and simultaneously, the torque is greater than or equal to the minimum manual control torque threshold and the starting and ending positions are different. The initial safety state represents a preliminary assessment of the error result as a manual control safety state under a given error data condition. However, in this embodiment of the invention, an error dataset exists. Therefore, this embodiment of the invention considers that the manual control detection result can only be confirmed as the manual control safety state when the error result corresponding to each error data in the error dataset is a preliminary safety state.

[0132] S2. Obtain the normal state and status of the valve core based on the electric control valve.

[0133] It should be noted that the normal state of the valve core refers to its natural state during normal use without external operation. For example, the normal state of the valve core is normally open, meaning the valve is in the open state during normal use. The valve core state refers to the state of the valve core detected during the detection process, such as open, closed, and regulating states. The regulating state indicates that the valve core is partially open.

[0134] S3. If the valve core is in normal state and the valve core state is consistent, the solenoid valve is confirmed to be in solenoid mode. The motor drive parameters are obtained based on the pre-built computer connection terminal and stored in the control chip to obtain the parameter control chip. The motor is driven by the pre-built mechanical connection terminal and the parameter control chip to obtain the rotating motor.

[0135] It should be noted that if the normal state of the valve core is consistent with the valve core state, it means that the valve core state detected by the test is the same as the natural state of the valve core when it is not subjected to external operation during normal use. In other words, the detected state is consistent with the valve core state preset by the user. Therefore, the electric control valve is confirmed to be in electric control mode, and the valve core can be adjusted by electric control.

[0136] Understandably, motor drive parameters are parameters used to drive the motor, such as rotational speed. The driving process involves using a parameter control chip that stores the motor drive parameters to transmit them to the motor via a mechanical connection, thereby causing the motor to rotate, resulting in a rotating motor.

[0137] S4. Based on the rotation motor driving the valve core, and using a pre-constructed sliding window, a preset sliding step size and a preset monitoring period to monitor the valve core after driving, a valve core monitoring dataset is obtained. The valve core monitoring dataset includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and valve core transmission error under the monitoring period.

[0138] Furthermore, as described above in the embodiments of the present invention, how power is transmitted from the motor to the valve core has been explained; therefore, the method of driving the valve core based on a rotating motor will not be repeated here. The sliding window and sliding step size are existing technologies, and their purpose is to determine whether the state of the valve core has become abnormal during the monitoring cycle.

[0139] S5. Analyze the valve core monitoring dataset. If there is preset abnormal data in the valve core monitoring dataset, the electric control valve is modulated into manual control mode, and an abnormal warning of the electric control valve is issued using the computer connection terminal.

[0140] Furthermore, in the process of parsing the valve core monitoring dataset, if preset abnormal data exists in the valve core monitoring dataset, the electrically controlled valve is confirmed to be in electrically controlled mode and then switched to manually controlled mode, including:

[0141] Extract valve core monitoring data sequentially from the valve core monitoring dataset, and perform the following operations on each valve core monitoring data:

[0142] Based on the sliding window, the unit opening degree is extracted sequentially from the valve core monitoring data, and the error between the unit opening degree and the preset target opening degree is calculated to obtain the opening degree error. If the opening degree error is less than the preset opening degree error threshold, the extracted unit opening degree is skipped; otherwise, the extracted unit opening degree is marked as abnormal opening degree.

[0143] The number of abnormal opening degrees in the valve core monitoring data is counted to obtain the number of abnormalities. If the number of abnormalities is less than the preset abnormal data threshold, the valve core monitoring data is skipped; otherwise, the valve core monitoring data is marked as abnormal monitoring data.

[0144] The number of abnormal monitoring data is counted. If the number of abnormal monitoring data is greater than the preset abnormal monitoring data threshold within the monitoring period, it is confirmed that there is preset abnormal data in the valve core monitoring data set, and the electric control valve is confirmed to be in electric control mode and modulated into manual control mode.

[0145] It should be noted that the unit opening degree refers to the opening degree of the valve core in a single test stored in the valve core detection data, while the target opening degree is the opening degree that the valve core should have in the test corresponding to a single valve core detection data. The opening degree error is as follows:

[0146] K w =|K r -K M |

[0147] Among them, K w K represents the opening and closing error. r K represents the unit degree of opening / closing. M Indicates the degree of opening or closing of the target.

[0148] Understandably, there are multiple ways to mark the extracted unit opening degree as an abnormal opening degree, such as using pointers, which is not limited here. An abnormal opening degree represents a unit opening degree with an opening degree error less than a preset opening degree error threshold. The opening degree error threshold is a manually set maximum allowable opening degree error. When the opening degree error is greater than the opening degree error threshold, it indicates that the motor's control of the valve core is not precise enough.

[0149] Understandably, the abnormal data threshold is considered to be the maximum value of the set number of abnormalities. When the number of abnormalities exceeds the abnormal data threshold, it is considered that the motor's control of the valve core is not precise enough. In this embodiment of the invention, an abnormal data threshold is set to eliminate errors in the valve core monitoring data set that may be caused by detection methods or equipment aging, thereby avoiding false warnings. Abnormal monitoring data refers to valve core monitoring data where the number of abnormalities is greater than or equal to the preset abnormal data threshold. It is understood that in this embodiment of the invention, a sliding window and sliding step size are used to extract valve core monitoring data. Therefore, multiple unit valve core monitoring data exist in one valve core monitoring data set, and the number of multiple unit valve core monitoring data is determined by the sliding window and sliding step size. Moreover, this technology is prior art and will not be described in detail here.

[0150] It should also be noted that determining the presence of pre-set abnormal data in the valve core monitoring dataset by checking if the number of abnormal monitoring data exceeds a preset threshold is also to eliminate errors in the valve core monitoring dataset that may be caused by detection methods or equipment aging. Furthermore, when the number of abnormal monitoring data exceeds the preset threshold, it indicates that the electronic control mode can no longer accurately control the valve core, posing a safety hazard. Therefore, the electronically controlled valve is confirmed to be switched from electronic control mode to manual control mode. The specific modulation method has been described above and will not be repeated here.

[0151] S6. If the normal state of the valve core is inconsistent with the state of the valve core, the solenoid valve is confirmed to be in manual control mode, and an abnormal warning of the solenoid valve is issued using the computer connection terminal.

[0152] Understandably, if the valve core's normal state is inconsistent with its actual state, it indicates a valve core malfunction, requiring direct manual control of the valve core to ensure the normal operation of the vehicle. The electronically controlled valve malfunction warning is issued when the electronically controlled valve malfunctions; optionally, it can be indicated by flashing indicator lights and a horn.

[0153] S7. Based on the abnormal early warning of the electric control valve and the electric control valve in manual control mode, complete the control of the electric control valve based on the Internet of Things.

[0154] It is understood that in this embodiment of the invention, the electric control mode of the electric valve is the common mode, but in the event of an abnormality, the manual control mode can be used to deal with the emergency through human control, thereby improving the safety performance of the vehicle in which the electric valve is located.

[0155] To address the problems described in the background art, this invention provides an electrically controlled valve. Based on this valve, the invention obtains the valve core's normal state and valve core status. The electrically controlled valve includes a manual control mode and an electrically controlled mode, combining different control modes simply through a single device. Before being put into use, the electrically controlled valve is tested to ensure its safety. If the valve core's normal state and valve core status are consistent, the electrically controlled valve is confirmed to be in electrically controlled mode. Motor drive parameters are obtained based on a pre-built computer connection and stored in a control chip to obtain a parameter control chip. The motor is driven using the pre-built mechanical connection and the parameter control chip to obtain a rotating motor. This invention uses the electrically controlled mode when the vehicle is not malfunctioning, saving manpower. The valve core is driven by a rotating motor, and the valve core after driving is monitored using a pre-constructed sliding window, a preset sliding step size, and a preset monitoring period to obtain a valve core monitoring dataset. This dataset includes multiple valve core detection data points, including the unit opening / closing degree and valve core transmission error within the monitoring period. The valve core monitoring dataset is analyzed; if preset abnormal data exists, the electrically controlled valve is switched to manual control mode, and an abnormality warning is issued via the computer connection. In this embodiment, an abnormal data threshold is set to eliminate errors in the valve core monitoring dataset that may be caused by detection methods or equipment aging, thereby avoiding false warnings. If the valve core's normal state is inconsistent with its actual state, the electrically controlled valve is confirmed to be in manual control mode, and an abnormality warning is issued via the computer connection. Based on the abnormality warning and the electrically controlled valve in manual control mode, IoT-based motorized electrically controlled valve control is completed. This invention uses manual control mode to handle emergencies when the vehicle malfunctions, thereby improving the safety performance of the vehicle with the electrically controlled valve and ensuring safety. Therefore, this invention can save manpower by using the electric control mode of the electric control valve under normal conditions, while retaining the means of human control to deal with emergencies and ensure safety.

[0156] like Figure 2 The diagram shown is a functional block diagram of a motorized electronic valve control device based on the Internet of Things provided in an embodiment of the present invention.

[0157] The IoT-based motorized electronic valve control device 100 of this invention can be installed in an electronic device. Depending on the functions implemented, the IoT-based motorized electronic valve control device 100 may include an electronic valve module 101, a valve core determination module 102, a detection module 103, and a manual control module 104. The module described in this invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can perform a fixed function, and is stored in the memory of the electronic device.

[0158] The solenoid valve module 101 is used to acquire a solenoid valve, wherein the solenoid valve includes a manual control mode and a solenoid control mode, and the solenoid valve further includes: a rotary handle, an actuator box, a transition plate and a valve core, wherein the actuator box includes a motor and a control chip;

[0159] The valve core judgment module 102 is used to obtain the normal valve core state and valve core status based on the electric control valve.

[0160] The detection module 103 is used to confirm the electric control valve as electric control mode if the valve core is in normal state and the valve core state is consistent. It acquires motor drive parameters based on a pre-built computer connection terminal and stores the motor drive parameters in the control chip to obtain a parameter control chip. It drives the motor using the pre-built mechanical connection terminal and the parameter control chip to obtain a rotating motor. It drives the valve core based on the rotating motor and monitors the valve core after driving using a pre-built sliding window, a preset sliding step size and a preset monitoring period to obtain a valve core monitoring dataset. The valve core monitoring dataset includes multiple valve core detection data, including the unit opening degree and valve core transmission error under the monitoring period. It parses the valve core monitoring dataset. If there is preset abnormal data in the valve core monitoring dataset, it modulates the electric control valve into manual control mode and issues an electric control valve abnormality warning using the computer connection terminal.

[0161] The manual control module 104 is used to confirm the electric valve in manual control mode if the valve core is not in normal state and the valve core state is inconsistent, and to issue an electric valve abnormality warning through the computer connection terminal. Based on the electric valve abnormality warning and the electric valve in manual control mode, the control of the electric valve based on the Internet of Things is completed.

[0162] In detail, the modules in the IoT-based motorized electronic valve control device 100 described in this embodiment of the invention employ the same methods as described above during use. Figure 1 The method used is the same as the IoT-based motorized electronic valve control method described above, and it can produce the same technical effect, so it will not be repeated here.

[0163] like Figure 5 The diagram shown is a structural schematic of an electronic device for implementing an Internet of Things-based motorized electronic valve control method according to an embodiment of the present invention.

[0164] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and capable of running on the processor 10, such as a program for a motorized electronic valve control method based on the Internet of Things.

[0165] The memory 11 includes at least one type of readable storage medium, such as flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 1, such as the portable hard drive of the electronic device 1. In other embodiments, the memory 11 can be an external storage device of the electronic device 1, such as a plug-in portable hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device 1. Furthermore, the memory 11 includes both internal storage units and external storage devices of the electronic device 1. The memory 11 can be used not only to store application software and various types of data installed on the electronic device 1, such as the code of a motorized electronic valve control method program based on the Internet of Things, but also to temporarily store data that has been output or will be output.

[0166] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., a motorized electronic valve control method program based on the Internet of Things) and calls data stored in the memory 11 to perform various functions of the electronic device 1 and process data.

[0167] The bus 12 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 can be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize the connection and communication between the memory 11 and at least one processor 10, etc.

[0168] Figure 5 Only electronic devices with components are shown; it will be understood by those skilled in the art that... Figure 5 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.

[0169] For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) to power various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0170] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is typically used to establish communication connections between the electronic device 1 and other electronic devices.

[0171] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired or wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device 1 and to display a visual user interface.

[0172] The IoT-based motorized electronic valve control method program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When run in the processor 10, it can achieve the following:

[0173] An electrically controlled valve is obtained, wherein the electrically controlled valve includes a manual control mode and an electrically controlled mode, and the electrically controlled valve further includes: a rotary handle, an actuator housing, a transition plate and a valve core, wherein the actuator housing includes a motor and a control chip;

[0174] Based on the electronically controlled valve, the valve core's normal state and valve core status are obtained;

[0175] If the valve core is in normal state and the valve core state is consistent, the solenoid valve is confirmed to be in solenoid mode. The motor drive parameters are obtained based on the pre-built computer connection terminal and stored in the control chip to obtain the parameter control chip. The motor is driven by the pre-built mechanical connection terminal and the parameter control chip to obtain the rotating motor.

[0176] Based on the rotation motor driving the valve core, and using a pre-constructed sliding window, a preset sliding step size and a preset monitoring period to monitor the valve core after driving, a valve core monitoring dataset is obtained. The valve core monitoring dataset includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and valve core transmission error under the monitoring period.

[0177] The valve core monitoring dataset is analyzed. If there is preset abnormal data in the valve core monitoring dataset, the electric control valve is switched to manual control mode, and an abnormal warning of the electric control valve is issued using the computer connection terminal.

[0178] If the valve core's normal state is inconsistent with its actual state, the electrically controlled valve will be confirmed as being in manual control mode, and an abnormal warning for the electrically controlled valve will be issued using the computer connection terminal.

[0179] Based on the abnormal early warning of the electric valve and the electric valve in manual control mode, the system completes the control of the motorized electric valve based on the Internet of Things.

[0180] Specifically, the processor 10's implementation method for the above instructions can be found in [reference needed]. Figures 1 to 5 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.

[0181] Furthermore, if the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0182] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can perform the following:

[0183] An electrically controlled valve is obtained, wherein the electrically controlled valve includes a manual control mode and an electrically controlled mode, and the electrically controlled valve further includes: a rotary handle, an actuator housing, a transition plate and a valve core, wherein the actuator housing includes a motor and a control chip;

[0184] Based on the electronically controlled valve, the valve core's normal state and valve core status are obtained;

[0185] If the valve core is in normal state and the valve core state is consistent, the solenoid valve is confirmed to be in solenoid mode. The motor drive parameters are obtained based on the pre-built computer connection terminal and stored in the control chip to obtain the parameter control chip. The motor is driven by the pre-built mechanical connection terminal and the parameter control chip to obtain the rotating motor.

[0186] Based on the rotation motor driving the valve core, and using a pre-constructed sliding window, a preset sliding step size and a preset monitoring period to monitor the valve core after driving, a valve core monitoring dataset is obtained. The valve core monitoring dataset includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and valve core transmission error under the monitoring period.

[0187] The valve core monitoring dataset is analyzed. If there is preset abnormal data in the valve core monitoring dataset, the electric control valve is switched to manual control mode, and an abnormal warning of the electric control valve is issued using the computer connection terminal.

[0188] If the valve core's normal state is inconsistent with its actual state, the electrically controlled valve will be confirmed as being in manual control mode, and an abnormal warning for the electrically controlled valve will be issued using the computer connection terminal.

[0189] Based on the abnormal early warning of the electric valve and the electric valve in manual control mode, the system completes the control of the motorized electric valve based on the Internet of Things.

[0190] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, and actual implementations may have other classification methods.

[0191] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0192] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0193] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, 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.

Claims

1. A method for controlling a motorized electronically controlled valve based on the Internet of Things, characterized in that, The method includes: An electrically controlled valve is obtained, wherein the electrically controlled valve includes a manual control mode and an electrically controlled mode, and the electrically controlled valve further includes: a rotary handle, an actuator housing, a transition plate and a valve core, wherein the actuator housing includes a motor and a control chip; Based on the electronically controlled valve, the valve core's normal state and valve core status are obtained; If the valve core is in normal state and the valve core state is consistent, the solenoid valve is confirmed to be in solenoid mode. The motor drive parameters are obtained based on the pre-built computer connection terminal and stored in the control chip to obtain the parameter control chip. The motor is driven by the pre-built mechanical connection terminal and the parameter control chip to obtain the rotating motor. Based on the rotation motor driving the valve core, and using a pre-constructed sliding window, a preset sliding step size and a preset monitoring period to monitor the valve core after driving, a valve core monitoring dataset is obtained. The valve core monitoring dataset includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and valve core transmission error under the monitoring period. The valve core monitoring dataset is analyzed. If there is preset abnormal data in the valve core monitoring dataset, the electric control valve is switched to manual control mode, and an abnormal warning of the electric control valve is issued using the computer connection terminal. If the valve core's normal state is inconsistent with its actual state, the electrically controlled valve will be confirmed as being in manual control mode, and an abnormal warning for the electrically controlled valve will be issued using the computer connection terminal. Based on the abnormal early warning of the electric valve and the electric valve in manual control mode, the system completes the control of the motorized electric valve based on the Internet of Things.

2. The IoT-based motorized electronic valve control method as described in claim 1, characterized in that, The acquisition of the electrically controlled valve includes: Acquire the electric control valve under test, the electric control structure of the electric control valve under test, and the manual control structure of the electric control valve under test, wherein the manual control structure corresponds to the manual control mode, and the electric control structure corresponds to the electric control mode; When the valve under test is an electrically controlled structure, the computer connection terminal is obtained, the circuit board is obtained based on the computer connection terminal, the mechanical connection terminal is identified based on the circuit board, the actuator box is connected based on the mechanical connection terminal, and an electrical control test operation is performed on the electrically controlled valve under the electrically controlled structure based on the connected actuator box to obtain the electrical control test result. If the electrical control test result is a preset electrical control safety state, the initial electrically controlled valve is obtained based on the electrical control safety state. The actuator housing contains a reduction gear system and a circuit board. The circuit board contains the motor and a control chip, and the control chip includes a computer connection terminal and a mechanical connection terminal. The reduction gear train includes an input gear, an intermediate gear train, and an output gear, and the input gear, intermediate gear, and output gear are connected by gear meshing. The motor rotates synchronously with the input gear. The transition plate includes a coupling and a transition outer box. The transition outer box is fixed outside the actuator box, and the coupling is located inside the transition outer box. One end of the coupling rotates synchronously with the output gear, and the end of the coupling away from the output gear is connected to the valve core. The electric control valve is obtained based on the initial electric control valve and the manual control structure.

3. The IoT-based motorized electronic valve control method as described in claim 2, characterized in that, The method of obtaining the electrically controlled valve based on the initial electrically controlled valve and the manual control structure includes: A power-off operation is performed on the circuit board of the initial electrically controlled valve to obtain a non-powered valve, and the non-powered valve is confirmed as a manually controlled structure. The rotating handle includes: a rotating handle, a rotating handle control shaft, and a spring. The rotary handle is externally mounted outside the actuator housing, and the spring is connected to the control shaft of the rotary handle and the output gear. The spring is normally in a compressed state. The manual control detection operation is performed on the unpowered valve under the manual control structure based on the rotary handle to obtain the manual control detection result. If the manual control detection result is the preset manual control safety state, the electric control valve is obtained based on the manual control safety state.

4. The IoT-based motorized electronic valve control method as described in claim 3, characterized in that, The method involves performing a manual control detection operation on a non-powered valve under a manual control structure based on a rotary handle, obtaining a manual control detection result, and if the manual control detection result is a preset manual control safety state, then obtaining an electrically controlled valve based on the manual control safety state, including: If the non-powered valve does not receive the pre-constructed external pressure, and the intermediate gear train and the output gear are in a preset gear meshing state, then the starting point of the output tooth is recorded, and the rotating handle is rotated using a preset test torque, and the ending point of the output tooth is obtained based on the rotated rotating handle. If the end point of the output tooth is inconsistent with the start point of the output tooth, the manual control detection result is confirmed as a dangerous state of manual control, and a manual control abnormality warning is issued using the pre-built manual control detection device. Otherwise, the external pressure is applied to the rotary handle, and the manual control detection result is obtained based on the external pressure and the rotary handle after the external pressure is applied. If the manual control detection result is a manual control safety state, the electric control valve is obtained based on the manual control safety state.

5. The IoT-based motorized electronic valve control method as described in claim 4, characterized in that, The method of obtaining the hand control detection result based on the external pressure and the rotating handle after applying the external pressure includes: Determine whether the intermediate gear train and the output gear are in a preset gear separation state. The gear separation state is: based on external pressure to compress the spring, a compressed spring is obtained, and the compression amount of the compressed spring is greater than the compression amount of the spring in its normal state. Based on the compressed spring, the intermediate gear train and the output gear are separated from the gear meshing state, and the state of the intermediate gear train and the output gear is determined. If the intermediate gear train and the output gear are in the gear separation state, and the rotating handle is rotated using a preset control parameter set, a detection parameter set is obtained based on the rotated rotating handle. The control parameter set includes multiple control parameters, the detection parameter set includes multiple detection parameters, and the control parameters and detection parameters correspond one-to-one. An error result set is obtained based on the control parameter set and the detection parameter set, and a manual detection result is obtained based on the error result set.

6. The IoT-based motorized electronic valve control method as described in claim 5, characterized in that, The process of obtaining an error result set based on a control parameter set and a detection parameter set, and obtaining a manual detection result based on the error result set, includes: Control parameters are extracted sequentially from the control parameter set, and corresponding detection parameters are extracted from the detection parameter set. The extracted control parameters and the extracted detection parameters are then combined to obtain error data, which is shown below: W=(T k ,N k ,SC c ,SZ c ,ε) Where W represents the error data, T k This represents torque, N, in the control parameters. k SC represents the number of rotations in the control parameters. c SZ indicates the starting position of the output gear in the detection parameters. c This indicates the end position of the output gear in the detection parameters, and ε represents the manual control error value. The error data is summarized to obtain an error dataset. An error result set is obtained based on the error dataset. The manual detection result is obtained based on the error result set. The error data and the error result are in one-to-one correspondence.

7. The IoT-based motorized electronic valve control method as described in claim 6, characterized in that, The formula for calculating the manual control error value is as follows: Where ε represents the manual control error value, E r E represents the starting parameter corresponding to the starting position of the output gear. s E represents the endpoint parameter corresponding to the endpoint position of the output gear. m This indicates the manual control error threshold.

8. The IoT-based motorized electronic valve control method as described in claim 7, characterized in that, The process of obtaining an error result set based on an error dataset and obtaining manual detection results based on the error result set includes: Extract error data sequentially from the error dataset to obtain the target parameters, and perform the following operations on the target parameters: Based on the torque extracted from the target parameters, if the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, then the error result corresponding to the target parameters is confirmed as a dangerous state of manual control. If the torque is greater than or equal to the minimum manual control torque threshold, and the starting position and the ending position are the same, then the error result is confirmed as a preset manual control dangerous state. Otherwise, extract the manual control error value. If the manual control error value is within the preset error range, then confirm the error result as the initial safe state. Summarize the error results to obtain an error result set. If there is no dangerous state of manual control in the error result set, then the manual control detection result is confirmed as the safe state of manual control.

9. The IoT-based motorized electronic valve control method as described in claim 8, characterized in that, If the valve core monitoring dataset contains preset abnormal data, the electrically controlled valve is confirmed to be in electrically controlled mode and then switched to manually controlled mode, including: Extract valve core monitoring data sequentially from the valve core monitoring dataset, and perform the following operations on each valve core monitoring data: Based on the sliding window, the unit opening degree is extracted sequentially from the valve core monitoring data, and the error between the unit opening degree and the preset target opening degree is calculated to obtain the opening degree error. If the opening degree error is less than the preset opening degree error threshold, the extracted unit opening degree is skipped; otherwise, the extracted unit opening degree is marked as abnormal opening degree. The number of abnormal opening degrees in the valve core monitoring data is counted to obtain the number of abnormalities. If the number of abnormalities is less than the preset abnormal data threshold, the valve core monitoring data is skipped; otherwise, the valve core monitoring data is marked as abnormal monitoring data. The number of abnormal monitoring data is counted. If the number of abnormal monitoring data is greater than the preset abnormal monitoring data threshold within the monitoring period, it is confirmed that there is preset abnormal data in the valve core monitoring data set, and the electric control valve is confirmed to be in electric control mode and modulated into manual control mode.

10. A motorized electronic valve control device based on the Internet of Things, characterized in that, The device includes: An electric control valve module is used to acquire an electric control valve, wherein the electric control valve includes a manual control mode and an electric control mode, and the electric control valve further includes: a rotary handle, an actuator box, a transition plate and a valve core, wherein the actuator box includes a motor and a control chip; The valve core detection module is used to obtain the normal valve core state and valve core status based on the electric control valve. The detection module is used to confirm the electrically controlled valve as electrically controlled if the valve core's normal state is consistent with its normal state. It acquires motor drive parameters based on a pre-built computer connection and stores these parameters in a control chip to obtain a parameter control chip. The module then drives the motor using the pre-built mechanical connection and the parameter control chip to obtain a rotating motor. Based on this rotating motor, it drives the valve core and monitors the driven valve core using a pre-built sliding window, a preset sliding step size, and a preset monitoring period to obtain a valve core monitoring dataset. This dataset includes multiple valve core detection data points, each containing the unit opening / closing degree and valve core transmission error within the monitoring period. The module analyzes the valve core monitoring dataset. If preset abnormal data exists in the dataset, the electrically controlled valve is switched to manual control mode, and an abnormal warning is issued using the computer connection. The manual control module is used to confirm the electric valve in manual control mode if the valve core's normal state is inconsistent with its normal state. It also uses the computer connection terminal to issue an electric valve anomaly warning and completes the Internet of Things-based motorized electric valve control based on the electric valve anomaly warning and the electric valve in manual control mode.