Maneuvering electric control valve control method and device based on Internet of Things
Through the Internet of Things-based motorized electric valve, combined with manual control and electronic control modes, and automatic switching control mode, the cumbersome and safety hazards of valve operation in the locomotive without power are solved, and automated and intelligent valve control is realized to ensure the safety and accuracy of the locomotive.
Patent Information
- Application Number
- CN202510556044.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-04-29
AI Technical Summary
Valve operation in existing locomotives without power relies on manual control, which has problems such as cumbersome operation, high risk of human error, large safety hazards, single functions, insufficient control accuracy and poor compatibility, and the electronically controlled valve lacks intelligent and real-time monitoring.
Design a motorized electric valve based on the Internet of Things, combining manual control mode and electronic control mode, obtain the normal state and state of the valve core, use the computer connection end to obtain the motor driving parameters, monitor the opening and closing degree and transmission error of the valve core, automatically switch the control mode, and issue an early warning in abnormal situations to ensure safety.
It realizes automatic control of valve operation in a powerless state, reduces manual intervention, improves safety and control accuracy, ensures that manual operation can still be done in the event of electric system failure, and improves the safety performance of the locomotive.
Smart Images

Figure CN120406262A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric control valves, and particularly to a method and device for controlling a motorized electric control valve based on the Internet of Things. Background Art
[0002] During the operation of a locomotive, when the locomotive is in a powerless state, it is usually necessary to manually complete multiple operation steps in sequence to transfer to or from the powerless state.
[0003] Currently, for the valve operation in the powerless state of a locomotive, it mainly relies on manual control. Although some locomotive systems use electric valves.
[0004] Both manual control of valves and electric control of valves can achieve the control of valves in the powerless and powered states. However, manual control usually involves the opening or closing of multiple valves, and there are problems such as cumbersome operation, high risk of human error, large potential safety hazards, and lack of real-time monitoring. Electric control valves still have deficiencies such as single function, insufficient control accuracy, lack of intelligence, and poor compatibility. Therefore, an improved solution is urgently needed, which can combine the advantages of electric control valves and manual control on the basis of retaining the original valve functions, realize the automatic control of valves, reduce manual operation, while retaining the manual operation function and adding a self-locking mechanism to ensure manual operation can still be carried out in case of electric system failure. Summary of the Invention
[0005] The present invention provides a method for controlling a motorized electric control valve based on the Internet of Things and a computer-readable storage medium, and its main purpose is to improve the intelligence level of ceramic surface defect detection and the accuracy of surface defect detection.
[0006] To achieve the above object, a method for controlling a motorized electric control valve based on the Internet of Things provided by the present invention includes:
[0007] Obtain an electric control valve, where the electric control valve includes a manual control mode and an electric control mode, and the electric control valve further includes: a rotating handle, an actuator box, a transition plate, and a valve core, and the actuator box includes a motor and a control chip;
[0008] Obtain the normal state and the state of the valve core based on the electric control valve;
[0009] If the normal state of the valve core is the same as the state of the valve core, then confirm the electric control valve as the electric control mode, obtain the motor drive parameters based on a pre-constructed computer connection end, and store the motor drive parameters in the control chip to obtain a parameter control chip, and drive the motor using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor;
[0010] Drive the valve core based on a rotating motor, and monitor the driven valve core using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set, where the valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period;
[0011] Analyze the valve core monitoring data set. If there is preset abnormal data in the valve core monitoring data set, modulate the electric control valve into a manual control mode and send an electric control valve abnormal warning using the computer connection end;
[0012] If the normal state of the valve core is inconsistent with the valve core state, confirm the electric control valve as the manual control mode and send an electric control valve abnormal warning using the computer connection end;
[0013] Complete the control of the mobile electric control valve based on the Internet of Things based on the electric control valve abnormal warning and the electric control valve in the manual control mode.
[0014] Optionally, the obtaining of the electric control valve includes:
[0015] Obtain the electric control valve to be tested, the electric control structure of the electric control valve to be tested, and the manual control structure of the electric control valve to be tested, where the manual control structure corresponds to the manual control mode and the electric control structure corresponds to the electric control mode;
[0016] When the electric control valve to be tested is an electric control structure, obtain the computer connection end, obtain the circuit board based on the computer connection end, confirm the mechanical connection end according to the circuit board, connect the actuator box according to the mechanical connection end, and perform an electric control detection operation on the electric control valve to be tested in the electric control structure based on the connected actuator box to obtain an electric control detection result. If the electric control detection result is a preset electric control safety state, obtain the initial electric control valve based on the electric control safety state;
[0017] Among them, a reduction gear train and a circuit board are provided in the actuator box, the motor and the control chip are provided on the circuit board, and the control chip includes a computer connection end and a mechanical connection end;
[0018] Among them, the reduction gear train includes an input gear, an intermediate gear train, and an output gear, and the input gear, the intermediate gear train, and the output gear are connected by gear meshing, and the motor rotates synchronously with the input gear;
[0019] Among them, the transition plate includes a coupling and a transition outer box. The transition outer box is fixedly provided outside the actuator box, the coupling is provided inside the transition outer box, and 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] Obtain the electric control valve based on the initial electric control valve and the manual control structure.
[0021] Optionally, obtaining an electric control valve based on the initial electric control valve and the manual control structure includes:
[0022] Perform a power-off operation on the circuit board of the initial electric control valve to obtain a powerless valve, and confirm the powerless valve as the manual control structure, where the rotating handle includes: a rotating knob, a rotating handle control shaft, and a spring;
[0023] Wherein, the rotating knob is externally disposed outside the actuator box, the spring is connected to the rotating handle control shaft and the output end gear, and the normal state of the spring is a compressed state;
[0024] Perform a manual control detection operation on the powerless valve under the manual control structure based on the rotating handle to obtain a manual control detection result. If the manual control detection result is a preset manual control safety state, obtain an electric control valve based on the manual control safety state.
[0025] Optionally, performing a manual control detection operation on the powerless valve under the manual control structure based on the rotating handle to obtain a manual control detection result. If the manual control detection result is a preset manual control safety state, obtaining an electric control valve based on the manual control safety state includes:
[0026] If the powerless valve does not receive a pre-constructed external pressure and the intermediate gear train and the output end gear are in a preset gear meshing state, record the starting point of the output teeth, and rotate the rotating handle with a preset test torque to obtain the ending point of the output teeth based on the rotated rotating handle;
[0027] If the ending point of the output teeth is inconsistent with the starting point of the output teeth, confirm the manual control detection result as a manual control dangerous state, and issue a manual control abnormal warning using a pre-constructed manual control detection device;
[0028] Otherwise, apply the external pressure to the rotating handle, obtain a manual control detection result based on the external pressure and the rotating handle after applying the external pressure. If the manual control detection result is a manual control safety state, obtain an electric control valve based on the manual control safety state.
[0029] Optionally, obtaining a manual control detection result based on the external pressure and the rotating handle after applying the external pressure includes:
[0030] Judge whether the intermediate gear train and the output end gear are in a preset gear separation state, where the gear separation state is: based on the external pressure, compress the spring to obtain a compressed spring, and the compression amount of the compressed spring is greater than the compression amount in the compressed state of the spring in the normal state. After separating the intermediate gear train and the output end gear in the gear meshing state based on the compressed spring, the state of the intermediate gear train and the output end gear;
[0031] If the intermediate gear train and the output end gear are in the gear separation state, and the rotary handle is rotated using a preset control parameter set, a detection parameter set is obtained based on the rotated rotary handle, wherein the control parameter set includes a plurality of control parameters, the detection parameter set includes a plurality of detection parameters, and the control parameters correspond to the detection parameters in a one-to-one manner;
[0032] An error result set is obtained based on the control parameter set and the detection parameter set, and a hand control detection result is obtained based on the error result set.
[0033] Optionally, obtaining an error result set based on the control parameter set and the detection parameter set, and obtaining a hand control detection result based on the error result set, includes:
[0034] Extract control parameters from the control parameter set in sequence, extract detection parameters corresponding to the control parameters from the detection parameter set, merge the extracted control parameters and the extracted control parameters, and obtain error data, wherein the error data is as follows:
[0035] W=(T k , N k , SC c , SZ c , ε)
[0036] Where W represents the error data, T k Indicates the torque in the control parameter, N k Indicates the number of rotations in the control parameter, SC c Indicates the starting position of the output gear in the detection parameters, SZ c It represents the end position of the output gear in the detection parameters, and ε represents the manual error value;
[0037] The error data are aggregated to obtain an error data set, an error result set is obtained based on the error data set, and a hand control detection result is obtained based on the error result set, wherein the error data and the error result correspond one to one.
[0038] Optionally, the calculation formula of the manual control error value is as follows:
[0039]
[0040] Among them, ε represents the manual error value, E r Indicates the starting point parameter corresponding to the starting position of the output end gear, E s Indicates the end point parameter corresponding to the end point position of the output end gear, E m Indicates the manual control error threshold.
[0041] Optionally, obtaining an error result set based on the error data set, and obtaining a hand control detection result based on the error result set, includes:
[0042] Extract error data from the error dataset in sequence to obtain target parameters, and perform the following operations on all target parameters:
[0043] Based on the torque extracted from the target parameter, if the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, then confirm the error result corresponding to the target parameter as the manual control dangerous state;
[0044] If the torque is greater than or equal to the minimum manual control torque threshold and the starting position is the same as the ending position, then confirm the error result as the 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 manual control dangerous state in the error result set, then confirm the manual control detection result as the manual control safe state.
[0047] Optionally, for the parsed spool monitoring dataset, if there is preset abnormal data in the spool monitoring dataset, then confirm the electric control valve as modulated from the electric control mode to the manual control mode, including:
[0048] Extract spool monitoring data from the spool monitoring dataset in sequence, and perform the following operations on all spool monitoring data:
[0049] Based on a sliding window, extract the unit opening degree from the spool monitoring data in sequence, and calculate the error between the unit opening degree and the preset target opening degree to obtain the opening degree error. If the opening degree error is less than the preset opening degree error threshold, then skip the extracted unit opening degree; otherwise, mark the extracted unit opening degree as an abnormal opening degree;
[0050] Count the number of abnormal opening degrees in the spool monitoring data to obtain the number of anomalies. If the number of anomalies is less than the preset abnormal data threshold, then skip the spool monitoring data; otherwise, mark the spool monitoring data as abnormal monitoring data;
[0051] Count the number of abnormal monitoring data to obtain the number of abnormal monitoring data. If the number of abnormal monitoring data is greater than the preset abnormal monitoring data threshold within the monitoring period, then confirm that there is preset abnormal data in the spool monitoring dataset, and confirm the electric control valve as modulated from the electric control mode to the manual control mode.
[0052] To achieve the above object, the present invention also provides an IoT-based mobile electric control valve control device, including:
[0053] An electronically controlled valve module for obtaining an electronically controlled valve, wherein the electronically controlled valve includes a manual control mode and an electronic control mode, and the electronically controlled valve further includes: a rotary handle, an actuator box, a transition plate, and a valve core, and the actuator box includes a motor and a control chip;
[0054] A valve core judgment module for obtaining the normal state and the state of the valve core based on the electronically controlled valve;
[0055] A detection module, if the normal state of the valve core is consistent with the state of the valve core, then confirm the electronically controlled valve as the electronic control mode, obtain the motor drive parameters based on a pre-constructed computer connection end, and store the motor drive parameters in the control chip to obtain a parameter control chip, drive the motor using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor, drive the valve core based on the rotating motor, and monitor the driven valve core using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set, wherein the valve core monitoring data set includes a plurality of valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period, analyze the valve core monitoring data set, if there is preset abnormal data in the valve core monitoring data set, then modulate the electronically controlled valve into the manual control mode, and send an electronically controlled valve abnormality warning using the computer connection end;
[0056] A manual control module, if the normal state of the valve core is inconsistent with the state of the valve core, then confirm the electronically controlled valve as the manual control mode, send an electronically controlled valve abnormality warning using the computer connection end, and complete the control of the mobile electronically controlled valve based on the Internet of Things based on the electronically controlled valve abnormality warning and the electronically controlled valve in the manual control mode.
[0057] To solve the above problems, the present invention also provides an electronic device, and the electronic device includes:
[0058] A memory storing at least one instruction; and a processor executing the instruction stored in the memory to implement the above-mentioned method for controlling a mobile electronically controlled valve based on the Internet of Things.
[0059] To solve the above problems, the present invention also provides a computer-readable storage medium, and at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is executed by a processor in an electronic device to implement the above-mentioned method for controlling a mobile electronically controlled valve based on the Internet of Things.
[0060] To solve the problems described in the background art, the present invention obtains an electronically controlled valve, and based on the electronically controlled valve, obtains the normal state and the state of the valve core. The electronically controlled valve of the present invention includes a manual control mode and an electronic control mode, and simply combines different control modes in one device. Before the electronically controlled valve is put into use, the electronically controlled valve is detected to ensure its safety. If the normal state of the valve core is consistent with the state of the valve core, the electronically controlled valve is confirmed as the electronic control mode, the motor drive parameters are obtained based on a pre-constructed computer connection end, and the motor drive parameters are stored in a control chip to obtain a parameter control chip. The motor is driven by using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor. The present invention uses the electronic control mode when the motor vehicle is normal, saving human resources. The valve core is driven based on the rotating motor, and the driven valve core is monitored by using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set. The valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period. The valve core monitoring data set is analyzed. If there are preset abnormal data in the valve core monitoring data set, the electronically controlled valve is adjusted to the manual control mode, and an abnormal warning of the electronically controlled valve is sent out by using the computer connection end. In the embodiment of the present invention, an abnormal data threshold is set to eliminate the errors that may be caused by detection methods or equipment aging in the valve core monitoring data set, thereby avoiding false warnings. If the normal state of the valve core is inconsistent with the state of the valve core, the electronically controlled valve is confirmed as the manual control mode, and an abnormal warning of the electronically controlled valve is sent out by using the computer connection end. Based on the abnormal warning of the electronically controlled valve and the electronically controlled valve in the manual control mode, the control of the motorized electronically controlled valve based on the Internet of Things is completed. When the locomotive is abnormal, the present invention uses the manual control mode to respond to emergencies by means of manual control, thereby improving the safety performance of the motor vehicle where the electronically controlled valve is located and ensuring safety. Therefore, the present invention can use the electronic control mode to save human resources when the electronically controlled valve is in the normal state, and retain the manual control method to respond to emergencies and ensure safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 FIG. is a schematic flowchart of a method for controlling a motorized electronically controlled valve based on the Internet of Things according to an embodiment of the present invention;
[0062] Figure 2 FIG. is a functional module diagram of a device for controlling a motorized electronically controlled valve based on the Internet of Things according to an embodiment of the present invention;
[0063] Figure 3 FIG. is a schematic diagram of a device for controlling a motorized electronically controlled valve based on the Internet of Things according to an embodiment of the present invention;
[0064] Figure 4 FIG. is a sectional view of a device for controlling a motorized electronically controlled valve based on the Internet of Things according to an embodiment of the present invention;
[0065] Figure 5 The structural schematic diagram of the electronic device for implementing the method for controlling a motorized electronic control valve based on the Internet of Things provided by an embodiment of the present invention.
[0066] Explanation of reference numerals:
[0067] A, rotating handle; B, actuator box; C, transition plate; D, valve core;
[0068] 1, electronic device; 10, processor; 11, memory; 12, bus.
[0069] The realization, functional features and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the drawings. Specific embodiments
[0070] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0071] The embodiments of the present application provide a method for controlling a motorized electronic control valve based on the Internet of Things. The execution subject of the method for controlling a motorized electronic control valve based on the Internet of Things includes, but is not limited to, at least one of electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiments of the present application. In other words, the method for controlling a motorized electronic control valve based on the Internet of Things 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, etc.
[0072] Refer to Figure 1 As shown, it is a schematic flowchart of the method for controlling a motorized electronic control valve based on the Internet of Things provided by an embodiment of the present invention. In this embodiment, the method for controlling a motorized electronic control valve based on the Internet of Things includes:
[0073] S1. Obtain an electronic control valve, where the electronic control valve includes a manual control mode and an electronic control mode, and the electronic control valve further includes: a rotating handle, an actuator box, a transition plate, and a valve core, and the actuator box includes a motor and a control chip.
[0074] It should be noted that the obtaining of the electronic control valve includes:
[0075] Obtain a to-be-tested electronic control valve, the electronic control structure of the to-be-tested electronic control valve, and the manual control structure of the to-be-tested electronic control valve, where the manual control structure corresponds to the manual control mode, and the electronic control structure corresponds to the electronic control mode;
[0076] When the electronic control valve to be tested is an electronic control structure, obtain the computer connection end, obtain the circuit board based on the computer connection end, confirm the mechanical connection end according to the circuit board, connect the actuator box according to the mechanical connection end, and perform an electronic control detection operation on the electronic control valve to be tested under the electronic control structure based on the connected actuator box to obtain an electronic control detection result. If the electronic control detection result is a preset electronic control safety state, obtain the initial electronic control valve based on the electronic control safety state;
[0077] Wherein, a reduction gear train and a circuit board are provided in the actuator box, the motor and the control chip are provided on the circuit board, and the control chip includes a computer connection end and a mechanical connection end;
[0078] Wherein, the reduction gear train includes an input end gear, an intermediate gear train and an output end gear, and the input end gear, the intermediate gear train and the output end gear are connected by gear meshing, and the motor rotates synchronously with the input end gear;
[0079] Wherein, the transition plate includes a coupling and a transition outer box. The transition outer box is fixedly arranged outside the actuator box, the coupling is arranged inside the transition outer box, and one end of the coupling rotates synchronously with the output end gear, and the end of the coupling far from the output end gear is connected to the valve core;
[0080] Obtain the electronic control valve based on the initial electronic control valve and the manual control structure.
[0081] It should be noted that the electronic control valve to be tested is an electronic control valve that includes both a manual control mode and an electronic control mode. The manual control mode is a mode in which the electronic control valve can be controlled without connecting any power supply, and the electronic control mode is a mode in which the electronic control valve is controlled when the power supply is connected. For the specific control method, please refer to the subsequent embodiments.
[0082] It is understandable that the electric control structure is the structural configuration of the electric control valve in the electric control mode, and the manual control structure is the structural configuration of the electric control valve in the manual control mode. When the to-be-tested electric control valve is of the electric control structure, then the to-be-tested electric control valve is in the electric control mode; when the initial electric control valve is of the manual control structure, then the initial electric control valve is in the manual control mode. The computer connection end is a port for connecting the circuit board and the computer. Optionally, the computer connection end is a USB interface. The circuit board is a chip for connecting the computer and the electric control valve. Optionally, the circuit board is an embedded single-chip microcomputer connected with a motor. The mechanical connection end is a port for connecting mechanical equipment. For example, in the embodiment of the present invention, the mechanical connection end is used to connect the motor and the circuit board. The actuator box is the box where the mechanism for parsing and executing the instructions issued by the computer is located. In the embodiment of the present invention, the control chip is the embedded single-chip microcomputer, such as STM32. The mechanical connection end of the embedded single-chip microcomputer is connected to the motor inside the actuator box. At the same time, sensors for detecting the rotational speed of the teeth of the reduction gear and travel encoders for detecting the rotation of the reduction gear train can be externally connected to the control chip. The specific configuration method can be changed according to actual needs, and the computer connection end is connected to the computer. Therefore, in the embodiment of the present invention, the user issues an instruction through the computer. The instruction is transmitted to the mechanical connection end via the control chip, and the connection of the actuator box is realized according to the mechanical connection end by connecting the mechanical connection end to the motor. Optionally, the mechanical connection end can also be selected as a USB interface.
[0083] It should be noted that the electric control detection operation is an operation for detecting the electric control valve to be tested under the electric control structure. This detection process is similar to the manual control detection operation, and its purpose is to detect the safety and reliability of the electric control valve under the electric control structure. For example, Zhang is the tester of the electric control valve to be tested. In order to detect the response speed of the electric control valve to be tested under the electric control structure to the instructions issued by the computer, the electric control detection operation is performed on the electric control valve to be tested, and the electric control detection result is obtained. The electric control detection result may include the response speed of the electric control valve to be tested to the instructions issued by the computer in multiple electric control detection operations, and multiple response speeds are obtained. If the multiple response speeds are all within the preset response speed range, the electric control detection result is confirmed as the electric control safety state. Among them, the response speed is the response speed of the electric control valve to be tested to the instructions issued by the computer in a single electric control detection operation. The response speed range is an artificially set range for limiting the response speed. When the multiple response speeds are all within the response speed range, the embodiments of the present invention consider that the response speed meets the requirements of the response speed in this electric control detection operation. Therefore, the electric control safety state is a state used to characterize that the electric control valve to be tested meets the requirements of the response speed. It can be understood that in the actual electric control test operation process, according to different items corresponding to the electric control test operation, the characterized parameters are different. For example: the feedback system meets the requirements, the actual voltage meets the requirements, the valve opening and closing degree error meets the requirements, etc. The electric control safety state is a state used to characterize that the electric control valve to be tested meets the requirements of the characterized parameters. <> <>
[0084] Further, the initial electric control valve is an electric control valve to be tested under the electric control structure, and after the electric control detection operation, the electric control detection result is in the electric control safety state. The reduction gear train is a gear train used for speed reduction. The structure of the reduction gear train is a prior art. In the embodiments of the present invention, the reduction gear train is divided into an input end gear, an intermediate gear train, and an output end gear. Among them, the input end gear is the driving wheel of the reduction gear train, and the output end gear is the driven wheel used for output in the reduction gear train. The intermediate gear train is the gear train formed by all the remaining gears after removing the input end gear and the output end gear from the reduction gear train. The input end gear and the intermediate gear train achieve power transmission through the meshing of gears, and the intermediate gear train and the output end gear also achieve power transmission through the meshing of gears. The input end gear is connected to the motor and rotates synchronously. There are various ways to achieve synchronous rotation, and all can achieve the same effect. For example, using a toothed coupling to connect the hub of the output end gear to the motor, etc., which will not be elaborated here. <> <>
[0085] It should be noted that the transitional outer box is a box that plays a transitional role of mechanical connection between the valve core and the actuator box. In the embodiments of the present invention, the model of the coupling is not limited, and the models of various couplings can achieve the same effect. Moreover, the coupling in the embodiments of the present invention is used to connect the movement between the output end gear and the valve core. When the output end gear rotates, the coupling rotates synchronously with the output end gear, and the power of the output end gear is transmitted to the valve core through the coupling, thereby realizing the control of the unit opening degree.
[0086] Further, the obtaining of the electric control valve based on the initial electric control valve and the manual control structure includes:
[0087] Perform a power-off operation on the circuit board of the initial electric control valve to obtain a valve without power, and confirm the valve without power as the manual control structure, where the rotating handle includes: a rotating knob, a rotating knob control shaft, and a spring;
[0088] Wherein, the rotating knob is externally disposed outside the actuator box, the spring is connected to the rotating knob control shaft and the output end gear, and the normal state of the spring is a compressed state;
[0089] Perform a manual control detection operation on the valve without power under the manual control structure based on the rotating handle to obtain a manual control detection result. If the manual control detection result is a preset manual control safety state, obtain the electric control valve based on the manual control safety state.
[0090] It can be understood that the power-off operation is to turn off the power supply of the circuit board in the initial electric control valve, convert the initial electric control valve from the original electric control mode to the manual control mode. Therefore, the valve without power is the initial electric control valve after the power supply is turned off. In the embodiments of the present invention, when the power supply of the initial electric control valve is turned off, the valve without power can be controlled through the manual control structure, thereby improving the safety of the electric control valve.
[0091] It should be noted that the rotating knob is a knob for the operator to control the initial electric control valve under the manual control structure. The rotating knob control shaft is fixedly connected to the rotating knob and is disposed inside the actuator box, and the rotating knob is externally disposed outside the actuator box. That is to say, when the operator rotates the rotating knob, the rotating knob control shaft rotates synchronously with the rotating knob to transmit the movement applied by the operator on the rotating knob. Further, the spring includes two ends in the axial direction, one end of which is connected to the rotating knob control shaft and the other end is connected to the output end gear.
[0092] It is understandable that the normal state of the spring is a compressed state. When the rotating handle is not subjected to pressure in the axial direction or the initial electric control valve is in the electric control mode, the compressed spring will not damage the gear meshing state between the intermediate gear train and the output end gear. Therefore, the reduction gear train will not rotate and torque will not be transmitted at this time. When the initial electric control valve is in the manual control mode, that is, the initial electric control valve is converted into a valve without power, and the rotating handle is subjected to pressure in the axial direction, the intermediate gear train and the output end gear are no longer meshed. The operator can control the synchronous rotation of the rotating handle control shaft by rotating the rotating handle. At this time, the rotating handle control shaft rotates synchronously with the output end gear, and the output end gear is still connected to the coupling and the valve core in sequence, so as to realize the manual control of the valve core. That is to say, in the embodiment of the present invention, the spring acts as a common clutch to realize the conversion of the valve without power between the electric control structure and the manual control structure.
[0093] Further, the meaning of the manual control detection operation is similar to that of the electric control detection operation, which is an operation for detecting the safety and reliability of the valve without power under the manual control structure. The manual control detection result is the result of the manual control detection operation on the valve without power. Optionally, it is presented in the form of a written report. For example, the manual control detection result is: the valve without power is in a manually controlled safe state. There are various forms to present the result of the manual control detection operation on the valve without power, and the embodiment of the present invention does not limit this.
[0094] It is understandable that the manually controlled safe state is similar to the electrically controlled safe state, which is a state used to characterize that the valve without power meets the requirements of the characterized parameters after the manual control detection operation.
[0095] Further, performing a manual control detection operation on the valve without power under the manual control structure based on the rotating handle to obtain a manual control detection result. If the manual control detection result is a preset manually controlled safe state, obtaining an electric control valve based on the manually controlled safe state includes:
[0096] If the valve without power does not receive the pre-constructed external pressure and the intermediate gear train and the output end gear are in a preset gear meshing state, record the starting point of the output gear, and rotate the rotating handle with a preset test torque, and obtain the ending point of the output gear based on the rotated rotating handle;
[0097] If the ending point of the output gear is inconsistent with the starting point of the output gear, confirm the manual control detection result as a manually controlled dangerous state, and issue a manual control abnormal warning using the pre-constructed manual control detection device;
[0098] Otherwise, apply the external pressure to the rotating handle, obtain the manual control detection result based on the external pressure and the rotating handle after applying the external pressure. If the manual control detection result is a manually controlled safe state, obtain the electric control valve based on the manually controlled safe state.
[0099] It is understandable that the external pressure is the pressure artificially applied in the axial direction of the rotating handle control shaft. The gear meshing state is the state when the gear connected to the output gear on the intermediate gear train meshes with the output gear. The starting point of the recorded output teeth can be recorded using a travel encoder, and the method of using a forming encoder to record the starting point of the output teeth is a prior art and will not be elaborated here. The starting point of the output teeth is the position of the output gear before the output gear receives the external pressure and needs to rotate the rotating handle to test the torque. The ending point of the output teeth is the position of the output gear after rotating the rotating handle using the test torque. For example, if the position of the output gear at this time is set as the origin and it is calculated using a travel encoder that the output gear has rotated A circles, then the ending point of the output teeth is: A.
[0100] It is understandable that the test torque is the torque used to test whether an operator can open and close the valve by rotating the rotating handle when the non-powered valve does not receive the external pressure and the intermediate gear train and the output gear are in a gear meshing state. It should be noted that when the non-powered valve does not receive the external pressure and the intermediate gear train and the output gear are in a gear meshing state, since the intermediate gear train and the output gear are meshed, the intermediate gear train limits the output gear. Under normal circumstances of the non-powered valve, the operator should not be able to twist the rotating handle and further cannot control the opening and closing of the valve core. Therefore, when the ending point of the output teeth is inconsistent with the starting point of the output teeth, the manual control detection result is confirmed as a manual control dangerous state, and a manual control abnormal warning is issued using a pre-constructed manual control detection device. Among them, the manual control dangerous state is opposite to the manual control safe state and is used to represent the state where the reliability and safety of the manual control structure in the manual control mode are insufficient. Therefore, the embodiment of the present invention issues a manual control abnormal warning for alarming the manual control dangerous state. For example, a preset target displacement parameter is obtained using an electronic travel encoder, the actual displacement parameter is calculated based on the ending point of the output teeth and the starting point of the output teeth, and when the target displacement parameter is not equal to the actual displacement parameter, an alarm display is obtained using the electronic travel encoder, and a manual control abnormal warning is issued based on the alarm display.
[0101] Among them, the electronic travel encoder is a travel encoder with an alarm display, and the alarm display is a liquid crystal display.
[0102] Furthermore, obtaining the manual 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, where the gear separation state is: based on an external pressure to compress the spring to obtain a compressed spring, and the compression amount of the compressed spring is greater than the compression amount of the spring in its normal compressed state. After separating the intermediate gear train and the output gear in the gear meshing state based on the compressed spring, the states of the intermediate gear train and the output gear;
[0104] If the intermediate gear train and the output gear are in the gear separation state, and use a preset control parameter set to rotate the rotary handle, and obtain a detection parameter set based on the rotated rotary handle, where the control parameter set includes multiple control parameters, the detection parameter set includes multiple detection parameters, and the control parameters and the detection parameters are in one-to-one correspondence;
[0105] Obtain an error result set based on the control parameter set and the detection parameter set, and obtain a manual control detection result based on the error result set.
[0106] It can be understood that the gear separation state and the gear meshing state represent the states of the intermediate gear train and the output gear in the separated state. The compressed spring is the spring compressed under an external pressure. The process of the external pressure being transmitted to the spring is as follows: an operator applies an external pressure to the rotary handle, then the external pressure is transmitted through the rotary handle to the rotary handle control shaft, and the external pressure is applied to the spring through the rotary handle control shaft. At this time, the spring in the normal compressed state is further compressed and applies a force in the axial direction to the output gear, thereby separating the intermediate gear train and the output gear.
[0107] Furthermore, the control parameter is the parameter for an operator to control the valve core under a manual control structure, and the detection parameter is the parameter obtained after detecting the non-powered valve under the control parameter. In the embodiments of the present invention, the control parameters include torque and the number of rotation turns, 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 can be understood that the obtaining of the error result set based on the control parameter set and the detection parameter set, and the obtaining of the manual control detection result based on the error result set include:
[0109] Sequentially extract control parameters from the control parameter set, and extract the detection parameters corresponding to the control parameters from the detection parameter set, and combine the extracted control parameters and the extracted control parameters to obtain error data, where the error data is as follows:
[0110] W=(T k , N k , SC c , SZ c , ε)
[0111] Where W represents the error data, T kRepresents the torque in the control parameters, N k Represents the number of rotation cycles in the control parameters, SC c Represents the starting position of the output gear in the detection parameters, SZ c Represents the ending position of the output gear in the detection parameters, ε represents the manual control error value;
[0112] Summarize the error data to obtain an error data set, obtain an error result set based on the error data set, and obtain a manual control detection result based on the error result set. Among them, the error data and the error results correspond one by one.
[0113] It should be noted that the method of combining the extracted control parameters and the extracted control parameters is to place the extracted control parameters and the extracted control parameters in the same data, thereby obtaining the error data.
[0114] Furthermore, the calculation formula for the manual control error value is as follows:
[0115]
[0116] Among them, ε represents the manual control error value, E r Represents the starting parameter corresponding to the starting position of the output gear, E s Represents the ending parameter corresponding to the ending position of the output gear, E m Represents the manual control error threshold.
[0117] In the embodiments of the present invention, a travel encoder is used to measure the starting position of the output gear and the ending position of the output gear. This method is the same as the method of measuring the ending point of the output gear and the starting point of the output gear, and the measured starting position and the measured ending position are digitized to obtain the starting parameter and the ending parameter.
[0118] Exemplarily, the starting position is set as the origin, that is, the measured starting position is 0. Using the travel encoder, it is calculated that the ending position of the output gear rotates B circles relative to the starting position, that is, the measured ending position is B. The measured starting position 0 and the measured ending position B are digitized to obtain the starting parameter and the ending parameter. Among them, the calculation formula for digitization is:
[0119] E = δL oc
[0120] Among them, L oc Represents the measured starting position 0 or the measured ending position B, δ represents the digitization coefficient, 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 for the manual control error value. When the manual control error value exceeds the manual control error threshold, it is considered that the unpowered valve in the manual control mode controls the opening and closing of the valve by controlling the rotating handle.
[0122] Furthermore, obtaining the error result set based on the error data set and obtaining the manual control detection result based on the error result set includes:
[0123] Sequentially extract error data from the error data set to obtain target parameters, and perform the following operations on all target parameters:
[0124] Based on the torque extracted from the target parameter, if the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, then confirm the error result corresponding to the target parameter as the manual control dangerous state;
[0125] If the torque is greater than or equal to the minimum manual control torque threshold and the starting position is the same as the ending position, then confirm the error result as the 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 the error result set. If there is no manual control dangerous state in the error result set, then confirm the manual control detection result as the manual control safe state.
[0128] It should be noted that the target parameter is the error data extracted from the error data set. The minimum manual control torque threshold is the minimum value that the manual control mode can rotate the rotating handle in the manually set manual control safe state. The error range is artificially set, and it is the error fluctuation range considered to be in the manual control safe state in the manual control mode.
[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 rotating handle can be rotated using the torque when it is less than the minimum manual control torque threshold. At this time, during the driving of the motor vehicle, vibrations, accidental touches, etc. that may occur may also cause the rotating handle to rotate. Therefore, in this case, the error result needs to be confirmed as the manual control dangerous state.
[0130] Furthermore, when the torque is greater than or equal to the minimum manual control torque threshold and the starting position is the same as the ending position, it means that when the torque that can rotate the rotating handle is satisfied, the opening and closing of the valve core cannot be controlled. Therefore, it may be a mechanical failure. Therefore, in this case, the error result needs to be confirmed as the manual control dangerous state.
[0131] It should be noted that the manual control error value is extracted only when the torque is less than the preset minimum manual control torque threshold, and the starting position is the same as the ending position. At the same time, when the torque is greater than or equal to the minimum manual control torque threshold and the starting position is different from the ending position. The initial safety state indicates that in the case of a corresponding error data, the error result is initially considered to be in the manual control safety state. However, in the embodiments of the present invention, there is an error data set. Therefore, the embodiments of the present invention believe that only when the error results corresponding to each error data in the error data set are in the initial safety state, can the manual control detection result be confirmed as the manual control safety state.
[0132] S2. Obtain the normal state and the state of the valve core based on the electric control valve.
[0133] It should be noted that the normal state of the valve core is the natural state of the valve core when it is not subjected to external operations during normal use. For example, the normal state of the valve core is normally open, that is, the valve is in the open state during normal use. The state of the valve core is the state of the valve core detected during the detection process. For example, the open state, the closed state, and the adjustment state, where the adjustment state indicates that the valve core is partially open.
[0134] S3. If the normal state of the valve core is consistent with the state of the valve core, then confirm the electric control valve as the electric control mode, obtain the motor drive parameters based on the pre-constructed computer connection end, and store the motor drive parameters in the control chip to obtain the parameter control chip. Drive the motor using the pre-constructed mechanical connection end 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 state of the valve core, it means that the detected state of the valve core is the same as the natural state of the valve core when it is not subjected to external operations during normal use, that is, the detected state is consistent with the preset state of the valve core by humans. Therefore, the electric control valve is confirmed as the electric control mode, and the valve core can be adjusted by electric control.
[0136] It can be understood that the motor drive parameters are the parameters used to drive the motor, such as the rotation speed. The driving is to transmit the motor drive parameters from the parameter control chip storing the motor drive parameters to the motor through the mechanical connection end, so that the motor rotates to obtain the rotating motor.
[0137] S4. Drive the valve core based on the rotating motor, and monitor the driven valve core using the pre-constructed sliding window, the preset sliding step, and the preset monitoring period to obtain the valve core monitoring data set. The valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period.
[0138] Further, the power transmission from the motor to the valve core has been introduced in the previous embodiments of the present invention. Therefore, the description of driving the valve core based on a rotating motor will not be repeated here. The sliding window and the sliding step length are both prior arts, and their purpose is to determine whether the state of the valve core in the monitoring period has an abnormality.
[0139] S5. Analyze the valve core monitoring data set. If there is preset abnormal data in the valve core monitoring data set, modulate the electric control valve into the manual control mode, and send out an electric control valve abnormality warning using the computer connection end.
[0140] Further, the step of analyzing the valve core monitoring data set and modulating the electric control valve from the electric control mode to the manual control mode if there is preset abnormal data in the valve core monitoring data set includes:
[0141] Sequentially extract the valve core monitoring data from the valve core monitoring data set, and perform the following operations on all the valve core monitoring data:
[0142] Sequentially extract the unit opening degree from the valve core monitoring data based on the sliding window, calculate the error between the unit opening degree and the preset target opening degree to obtain the opening degree error. If the opening degree error is less than the preset opening degree error threshold, skip the extracted unit opening degree; otherwise, mark the extracted unit opening degree as an abnormal opening degree;
[0143] Count the number of abnormal opening degrees in the valve core monitoring data to obtain the number of abnormalities. If the number of abnormalities is less than the preset abnormal data threshold, skip the valve core monitoring data; otherwise, mark the valve core monitoring data as abnormal monitoring data;
[0144] Count the number of abnormal monitoring data to obtain the number of abnormal monitoring data. If the number of abnormal monitoring data within the monitoring period is greater than the preset abnormal monitoring data threshold, confirm that there is preset abnormal data in the valve core monitoring data set, and modulate the electric control valve from the electric control mode to the manual control mode.
[0145] It should be noted that the unit opening degree is the opening degree of the valve core in one detection stored in the valve core detection data, and the target opening degree is the opening degree that the valve core should have in the detection corresponding to one valve core detection data. The opening degree error is as follows:
[0146] K w =|K r -K M |[[ID=..]]
[0147] Wherein, K w represents the opening degree error, K r represents the unit opening degree, and K M represents the target opening degree.
[0148] It is understandable that there are various ways to mark the extracted unit opening degree as an abnormal opening degree. For example, marking can be achieved using a pointer, which is not limited here. The abnormal opening degree refers to the unit opening degree where the opening degree error is less than the preset opening degree error threshold. The opening degree error threshold is the maximum allowable opening degree error set by humans. 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] It is understandable that the abnormal data threshold is the maximum value of the preset number of abnormalities. When the number of abnormalities is greater than the abnormal data threshold, it is considered that the motor's control of the valve core is not precise enough. In the embodiments of the present invention, an abnormal data threshold is set to eliminate errors that may be caused by detection methods or equipment aging in the valve core monitoring dataset, thereby avoiding false alarms. The abnormal monitoring data is the valve core monitoring data where the number of abnormalities is greater than or equal to the preset abnormal data threshold. It can be understood that in the embodiments of the present invention, a sliding window and a sliding step are used to intercept the valve core monitoring data. Therefore, there are multiple unit valve core monitoring data in a valve core monitoring data, and the number of multiple unit valve core monitoring data is determined by the sliding window and the sliding step. And this technology is an existing technology, which will not be elaborated here.
[0150] It should also be noted that the reason for judging that there is preset abnormal data in the valve core monitoring dataset by the number of abnormal monitoring data being greater than the preset abnormal monitoring data threshold is also to eliminate errors that may be caused by detection methods or equipment aging in the valve core monitoring dataset. And when the number of abnormal monitoring data is greater than the preset abnormal monitoring data threshold, it indicates that the electric control mode can no longer precisely control the valve core, posing a safety hazard. Therefore, the electric control valve is confirmed to be modulated from the electric control mode to the manual control mode. The specific modulation method has been described above and will not be elaborated here.
[0151] S6. If the normal state of the valve core is inconsistent with the valve core state, then confirm the electric control valve as the manual control mode and send an abnormal warning of the electric control valve using the computer connection end.
[0152] [[ID=1))]]It is understandable that if the normal state of the valve core is inconsistent with the valve core state, it indicates that the valve core is abnormal. It is necessary to directly control the valve core through the manual control mode to ensure the normal operation of the motor vehicle where the valve core is located. The abnormal warning of the electric control valve is the warning issued when the electric control valve is abnormal. Optionally, the way of using the indicator light to flash plus sounding a horn is used to indicate that the electric control valve is abnormal.
[0153] S7. Based on the abnormal warning of the electric control valve and the electric control valve in the manual control mode, complete the control of the motor vehicle electric control valve based on the Internet of Things.
[0154] It is understandable that in the embodiments of the present invention, the electric control mode of the electric control valve is the common mode. However, once an abnormality occurs, the manual control mode can be used to handle emergency situations by manual control, thereby improving the safety performance of the motor vehicle where the electric control valve is located.
[0155] To solve the problems described in the background art, the present invention obtains an electric control valve, and based on the electric control valve, obtains the normal state and the state of the valve core. The electric control valve of the present invention includes a manual control mode and an electric control mode, and simply combines different control modes through one device. Before the electric control valve is put into use, the electric control valve is detected to ensure its safety. If the normal state of the valve core is consistent with the state of the valve core, the electric control valve is confirmed as the electric control mode. Based on a pre-constructed computer connection end, motor drive parameters are obtained and stored in a control chip to obtain a parameter control chip, and the motor is driven using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor. The present invention uses the electric control mode when the motor vehicle is normal, saving human resources. Based on the rotating motor, the valve core is driven, and the driven valve core is monitored using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set. The valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period. The valve core monitoring data set is analyzed. If there is preset abnormal data in the valve core monitoring data set, the electric control valve is adjusted to the manual control mode, and an electric control valve abnormality warning is sent using the computer connection end. In the embodiments of the present invention, an abnormal data threshold is set to eliminate errors that may be caused by detection methods or equipment aging in the valve core monitoring data set, thereby avoiding false warnings. If the normal state of the valve core is inconsistent with the state of the valve core, the electric control valve is confirmed as the manual control mode, and an electric control valve abnormality warning is sent using the computer connection end. Based on the electric control valve abnormality warning and the electric control valve in the manual control mode, the control of the mobile electric control valve based on the Internet of Things is completed. When the locomotive is abnormal, the present invention uses the manual control mode to handle emergency situations by manual control, thereby improving the safety performance of the motor vehicle where the electric control valve is located and ensuring safety. Therefore, the present invention can use the electric control mode when the electric control valve is normal to save human resources, and retain the manual control method to handle emergency situations and ensure safety.
[0156] As Figure 2 shown, it is a functional module diagram of a mobile electric control valve control device based on the Internet of Things provided by an embodiment of the present invention.
[0157] The motorized electronic control valve control device 100 based on the Internet of Things according to the present invention can be installed in an electronic device. According to the functions achieved, the motorized electronic control valve control device 100 based on the Internet of Things can include an electronic control valve module 101, a valve core judgment module 102, a detection module 103, and a manual control module 104. The modules in the present invention can also be referred to as units, which refer to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, and are stored in the memory of the electronic device.
[0158] The electronic control valve module 101 is used to obtain an electronic control valve. Among them, the electronic control valve includes a manual control mode and an electronic control mode, and the electronic control valve further includes: a rotary handle, an actuator box, a transition plate, and a valve core. The actuator box includes a motor and a control chip;
[0159] The valve core judgment module 102 is used to obtain the normal state and the state of the valve core based on the electronic control valve.
[0160] The detection module 103 is used to, if the normal state of the valve core is consistent with the state of the valve core, confirm that the electronic control valve is in the electronic control mode, obtain the motor drive parameters based on a pre-constructed computer connection end, store the motor drive parameters in the control chip to obtain a parameter control chip, drive the motor using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor, drive the valve core based on the rotating motor, and monitor the driven valve core using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set. Among them, the valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period. Analyze the valve core monitoring data set. If there are preset abnormal data in the valve core monitoring data set, modulate the electronic control valve into the manual control mode and send an electronic control valve abnormality warning using the computer connection end;
[0161] The manual control module 104 is used to, if the normal state of the valve core is inconsistent with the state of the valve core, confirm that the electronic control valve is in the manual control mode, send an electronic control valve abnormality warning using the computer connection end, and complete the control of the motorized electronic control valve based on the Internet of Things based on the electronic control valve abnormality warning and the electronic control valve in the manual control mode.
[0162] Specifically, each module in the motorized electronic control valve control device 100 based on the Internet of Things in the embodiment of the present invention uses the same technical means as those Figure 1 described in the motorized electronic control valve control method based on the Internet of Things, and can produce the same technical effects, which will not be elaborated here.
[0163] As Figure 5 shown, it is a schematic structural diagram of an electronic device for implementing the motorized electronic control valve control method based on the Internet of Things provided by 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 further include a computer program stored in the memory 11 and executable on the processor 10, such as a program for an IoT-based motorized electronic control valve control method.
[0165] Among them, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as the mobile hard disk of the electronic device 1. In some other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device 1. Further, the memory 11 further includes the internal storage unit of the electronic device 1 and also includes an external storage device. The memory 11 can not only be used to store application software installed on the electronic device 1 and various types of data, such as the code of the program for the IoT-based motorized electronic control valve control method, etc., but can also be used 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. For example, it may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same or different functions, including a combination of one or more Central Processing Units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control core (Control Unit) of the electronic device, connecting all components of the entire electronic device through various interfaces and lines, and by running or executing programs or modules stored in the memory 11 (such as the program for the IoT-based motorized electronic control valve control method, etc.), and calling the data stored in the memory 11, to perform various functions of the electronic device 1 and process data.
[0167] The bus 12 may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus 12 can be divided into an address bus, a data bus, a control bus, and the like. The bus 12 is arranged to implement connection communication between the memory 11 and at least one processor 10, etc.
[0168] Figure 5 Only an electronic device with components is shown. Those skilled in the art can understand that Figure 5 the shown structure does not constitute a limitation on the electronic device 1, and it 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 further include a power source (such as a battery) for supplying power to each component. Preferably, the power source can be logically connected to the at least one processor 10 through a power management device, so as to implement functions such as charge management, discharge management, and power consumption management through the power management device. The power source may also include any components such as one or more DC or AC power sources, a recharge device, a power failure detection circuit, a power converter or inverter, and a power status indicator. The electronic device 1 may also include various sensors, a Bluetooth module, a Wi-Fi module, etc., which will not be elaborated here.
[0170] Further, 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 generally used to establish a communication connection between the electronic device 1 and other electronic devices.
[0171] Optionally, the electronic device 1 may also include a user interface. The user interface may be a display, an input unit (such as a keyboard), and optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch liquid crystal display, and an OLED (Organic Light-Emitting Diode) toucher, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visual user interface.
[0172] The program of the method for controlling a motorized electronic control valve based on the Internet of Things stored in the memory 11 in the electronic device 1 is a combination of multiple instructions, and when running in the processor 10, it can achieve the following:
[0173] Obtain an electronic control valve, where the electronic control valve includes a manual control mode and an electronic control mode, and the electronic control valve further includes: a rotary handle, an actuator box, a transition plate, and a valve core, and the actuator box includes a motor and a control chip;
[0174] Based on the electronic control valve, obtain the normal state and the state of the valve core;
[0175] If the normal state of the valve core is consistent with the state of the valve core, then confirm the electronic control valve as the electronic control mode, obtain the motor drive parameters based on a pre-constructed computer connection end, and store the motor drive parameters in the control chip to obtain a parameter control chip, and drive the motor using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor;
[0176] Drive the valve core based on the rotating motor, and monitor the driven valve core using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set, where the valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period;
[0177] Analyze the valve core monitoring data set. If there is preset abnormal data in the valve core monitoring data set, then modulate the electronic control valve into the manual control mode, and send an electronic control valve abnormal warning using the computer connection end;
[0178] If the normal state of the valve core is inconsistent with the state of the valve core, then confirm the electronic control valve as the manual control mode, and send an electronic control valve abnormal warning using the computer connection end;
[0179] Based on the electronic control valve abnormal warning and the electronic control valve in the manual control mode, complete the control of the motorized electronic control valve based on the Internet of Things.
[0180] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 5 the description of the relevant steps in the corresponding embodiment, which will not be elaborated here.
[0181] Further, if the modules / units integrated in the electronic device 1 are implemented in the form of 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 can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM, Read-Only Memory).
[0182] The present invention also provides a computer-readable storage medium. The readable storage medium stores a computer program. When the computer program is executed by a processor of an electronic device, the following can be achieved:
[0183] Obtain an electric control valve. 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. The actuator box includes a motor and a control chip;
[0184] Based on the electric control valve, obtain the normal state and the state of the valve core;
[0185] If the normal state of the valve core is consistent with the state of the valve core, confirm the electric control valve as the electric control mode, obtain the motor drive parameters based on a pre-constructed computer connection end, and store the motor drive parameters in the control chip to obtain a parameter control chip. Use the pre-constructed mechanical connection end and the parameter control chip to drive the motor to obtain a rotating motor;
[0186] Based on the rotating motor, drive the valve core, and use a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to monitor the driven valve core to obtain a valve core monitoring data set. The valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period;
[0187] Analyze the valve core monitoring data set. If there is preset abnormal data in the valve core monitoring data set, modulate the electric control valve into the manual control mode, and use the computer connection end to send an abnormal warning for the electric control valve;
[0188] If the normal state of the valve core is inconsistent with the state of the valve core, confirm the electric control valve as the manual control mode, and use the computer connection end to send an abnormal warning for the electric control valve;
[0189] Based on the abnormal warning of the electric control valve and the electric control valve in the manual control mode, complete the control of the mobile electric control valve based on the Internet of Things.
[0190] In several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, and there can be other division methods in actual implementation.
[0191] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0192] In addition, in each embodiment of the present invention, each functional module may be integrated in a processing unit, may exist separately as individual units physically, or two or more units may be integrated in one unit. The above integrated unit may be implemented in the form of hardware, or in the form of a combination of hardware and software functional modules.
[0193] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and without departing from the spirit or basic characteristics of the present invention, the present invention can be implemented in other specific forms.
[0194] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A control method for a motorized electric control valve based on the Internet of Things, characterized in that, The method includes: Obtain an electronically controlled valve, wherein the electronically controlled valve includes a manual control mode and an electronic control mode, and the electronically controlled valve further includes: a rotating handle, an actuator box, a transition plate, and a valve core. The actuator box includes a motor and a control chip; Obtain the normal state and the state of the valve core based on the electronically controlled valve; If the normal state of the valve core is consistent with the state of the valve core, then confirm the electronically controlled valve as the electronic control mode, obtain the motor drive parameters based on a pre-constructed computer connection end, and store the motor drive parameters in the control chip to obtain a parameter control chip. Drive the motor using the pre-constructed mechanical connection end and the parameter control chip to obtain a rotating motor; Drive the valve core based on the rotating motor, and monitor the driven valve core using a pre-constructed sliding window, a preset sliding step, and a preset monitoring period to obtain a valve core monitoring data set. The valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period; Analyze the valve core monitoring data set. If there is preset abnormal data in the valve core monitoring data set, then modulate the electronically controlled valve into the manual control mode, and send an abnormal warning of the electronically controlled valve using the computer connection end; If the normal state of the valve core is inconsistent with the state of the valve core, then confirm the electronically controlled valve as the manual control mode, and send an abnormal warning of the electronically controlled valve using the computer connection end; Complete the control of the motorized electronically controlled valve based on the Internet of Things based on the abnormal warning of the electronically controlled valve and the electronically controlled valve in the manual control mode.
2. The method for controlling a motorized electric control valve based on the Internet of Things according to claim 1, wherein The obtaining of the electronically controlled valve includes: Obtain a to-be-tested electronically controlled valve, the electronic control structure of the to-be-tested electronically controlled valve, and the manual control structure of the to-be-tested electronically controlled valve, wherein the manual control structure corresponds to the manual control mode, and the electronic control structure corresponds to the electronic control mode; When the to-be-tested electronically controlled valve is an electronic control structure, obtain a computer connection end, obtain a circuit board based on the computer connection end, confirm a mechanical connection end according to the circuit board, connect the actuator box according to the mechanical connection end, and perform an electronic control detection operation on the to-be-tested electronically controlled valve in the electronic control structure based on the connected actuator box to obtain an electronic control detection result. If the electronic control detection result is a preset electronic control safety state, then obtain an initial electronically controlled valve based on the electronic control safety state; Wherein, a reduction gear train and a circuit board are provided in the actuator box, the motor and the control chip are provided on the circuit board, and the control chip includes a computer connection end and a mechanical connection end; Wherein, the reduction gear train includes an input end gear, an intermediate gear train, and an output end gear, and the input end gear, the intermediate gear train, and the output end gear are connected by gear meshing, and the motor rotates synchronously with the input end gear; Wherein, the transition plate includes a coupling and a transition outer box. The transition outer box is fixedly arranged outside the actuator box, the coupling is arranged inside the transition outer box, and one end of the coupling rotates synchronously with the output end gear, and the end of the coupling far from the output end gear is connected to the valve core; Obtain the electronically controlled valve based on the initial electronically controlled valve and the manual control structure.
3. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 2, wherein, The obtaining of the electronically controlled valve based on the initial electronically controlled valve and the manual control structure includes: Perform a power-off operation on the circuit board of the initial electric control valve to obtain a valve without power, and confirm the valve without power as a manual control structure. Among them, the rotary handle includes: a rotary knob, a rotary knob control shaft, and a spring. Among them, the rotary knob is externally disposed outside the actuator box, the spring is connected between the rotary knob control shaft and the output gear, and the normal state of the spring is a compressed state. Based on the rotary handle, perform a manual control detection operation on the valve without power in the manual control structure to obtain a manual control detection result. If the manual control detection result is a preset manual control safety state, obtain an electric control valve based on the manual control safety state.
4. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 3, wherein The step of performing a manual control detection operation on the valve without power in the manual control structure based on the rotary handle to obtain a manual control detection result. If the manual control detection result is a preset manual control safety state, obtain an electric control valve based on the manual control safety state includes: If the valve without power does not receive a pre-constructed external pressure and the intermediate gear train and the output gear are in a preset gear meshing state, record the starting point of the output gear, and rotate the rotary handle with a preset test torque, and obtain the ending point of the output gear based on the rotated rotary handle. If the ending point of the output gear is inconsistent with the starting point of the output gear, confirm the manual control detection result as a manual control dangerous state, and use a pre-constructed manual control detection device to issue a manual control abnormality warning. Otherwise, apply the external pressure to the rotary handle, obtain a manual control detection result based on the external pressure and the rotary handle after applying the external pressure. If the manual control detection result is a manual control safety state, obtain an electric control valve based on the manual control safety state.
5. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 4, wherein The step of obtaining a manual control detection result based on the external pressure and the rotary handle after applying the external pressure includes: Judge whether the intermediate gear train and the output gear are in a preset gear separation state. Among them, the gear separation state is: based on the external pressure, compress the spring to obtain a compressed spring, and the compression amount of the compressed spring is greater than the compression amount of the spring in the normal compressed state. After separating the intermediate gear train and the output gear in the gear meshing state based on the compressed spring, the states of the intermediate gear train and the output gear. If the intermediate gear train and the output gear are in the gear separation state, rotate the rotary handle with a preset control parameter set, and obtain a detection parameter set based on the rotated rotary handle. Among them, the control parameter set includes multiple control parameters, the detection parameter set includes multiple detection parameters, and the control parameters and the detection parameters are in one-to-one correspondence. Obtain an error result set based on the control parameter set and the detection parameter set, and obtain a manual control detection result based on the error result set.
6. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 5, wherein The step of obtaining an error result set based on the control parameter set and the detection parameter set, and obtaining a manual control detection result based on the error result set includes: Sequentially extract control parameters from the control parameter set, and extract the detection parameters corresponding to the control parameters from the detection parameter set, and combine the extracted control parameters and the extracted control parameters to obtain error data. Among them, the error data is as follows: W = (T k , N k , SC c , SZ c , ε) Among them, W represents error data, and T k represents the torque in the control parameters, and N k represents the number of rotation cycles in the control parameters, and SC c represents the starting position of the output gear in the detection parameters, and SZ c represents the ending position of the output gear in the detection parameters, and ε represents the manually controlled error value; Summarize the error data to obtain an error data set, obtain an error result set based on the error data set, and obtain a manual control detection result based on the error result set. Among them, the error data and the error results are in one-to-one correspondence.
7. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 6, characterized in that, The calculation formula of the manually controlled error value is as follows: Among them, ε represents the manual control error value, and E r represents the starting parameter corresponding to the starting position of the output gear, and E s represents the ending parameter corresponding to the ending position of the output gear, and E m represents the manual control error threshold.
8. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 7, characterized in that Obtaining an error result set based on the error data set, and obtaining a manual control detection result based on the error result set, including: Sequentially extracting error data from the error data set to obtain target parameters, and performing the following operations on all target parameters: Based on the torque extracted from the target parameter, if the torque is less than the preset minimum manual control torque threshold and the starting position is different from the ending position, then confirm the error result corresponding to the target parameter as a manual control dangerous state; If the torque is greater than or equal to the minimum manual control torque threshold and the starting position is the same as the ending position, then confirm the error result as a preset manual control dangerous state; Otherwise, extract the manually controlled error value. If the manually controlled 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 manual control dangerous state in the error result set, then confirm the manual control detection result as the manual control safe state.
9. The method for controlling a motorized electronic control valve based on the Internet of Things according to claim 8, wherein Parsing the valve core monitoring data set. If there is preset abnormal data in the valve core monitoring data set, then confirm that the electric control valve is modulated from the electric control mode to the manual control mode, including: Sequentially extracting valve core monitoring data from the valve core monitoring data set, and performing the following operations on all valve core monitoring data: Based on the sliding window, sequentially extract the unit opening degree from the valve core monitoring data, and calculate the error between the unit opening degree and the preset target opening degree to obtain the opening degree error. If the opening degree error is less than the preset opening degree error threshold, then skip the extracted unit opening degree. Otherwise, mark the extracted unit opening degree as an abnormal opening degree; Count the number of abnormal opening degrees in the valve core monitoring data to obtain the number of abnormalities. If the number of abnormalities is less than the preset abnormal data threshold, then skip the valve core monitoring data. Otherwise, mark the valve core monitoring data as abnormal monitoring data; Count the number of abnormal monitoring data to obtain the number of abnormal monitoring data. If the number of abnormal monitoring data is greater than the preset abnormal monitoring data threshold within the monitoring period, then confirm that there is preset abnormal data in the valve core monitoring data set, and confirm that the electric control valve is modulated from the electric control mode to the manual control mode.
10. An IoT-based motorized electronic control valve control device, characterized in that, The device includes: An electric control valve module for obtaining an electric control valve, where the electric control valve includes a manual control mode and an electric control mode, and the electric control valve further includes: a rotating handle, an actuator box, a transition plate, and a valve core, and the actuator box includes a motor and a control chip; A valve core judgment module for obtaining the normal state and the state of the valve core based on the electric control valve; The detection module is used to confirm the electric control valve as the electric control mode if the normal state of the valve core is consistent with the valve core state, obtain the motor drive parameters based on the pre-constructed computer connection end, store the motor drive parameters in the control chip to obtain the parameter control chip, drive the motor by using the pre-constructed mechanical connection end and the parameter control chip to obtain the rotating motor, drive the valve core based on the rotating motor, and monitor the driven valve core by using the pre-constructed sliding window, the preset sliding step and the preset monitoring period to obtain the valve core monitoring data set. Among them, the valve core monitoring data set includes multiple valve core detection data, and the valve core detection data includes the unit opening degree and the valve core transmission error under the monitoring period. Analyze the valve core monitoring data set. If there are preset abnormal data in the valve core monitoring data set, modulate the electric control valve into the manual control mode and send an electric control valve abnormality warning by using the computer connection end; The manual control module is used to confirm the electric control valve as the manual control mode if the normal state of the valve core is inconsistent with the valve core state, send an electric control valve abnormality warning by using the computer connection end, and complete the control of the mobile electric control valve based on the Internet of Things based on the electric control valve abnormality warning and the electric control valve in the manual control mode.
Citation Information
Patent Citations
Quick-valve magnetic control gravity emergency drive device
CN103742696A
Remote intelligent valve monitoring control system based on Internet of Things
CN117570238A
Intelligent control method for valve operation state detection based on Internet of Things
CN118149149A
Electric control valve control method and system based on dynamic parameter detection
CN118705422A
Digital gas density relay having self-diagnosis function and self-diagnosis method of relay
WO2021227583A1