Control method of AI self-closing valve and AI self-closing valve
Through the image and sound analysis technology of the AI self-closing valve, the control electromagnetic device drives the detection valve flap to slide, solving the problem of gas leakage when the gas stove is not ignited but open, and achieving safety of gas use and foreign matter removal.
Patent Information
- Application Number
- CN202511115037.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-11
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2045-08-11
AI Technical Summary
The existing self-closing valve cannot automatically cut off the gas when the gas stove is not ignited but is opened, resulting in gas leakage and poses safety hazards.
The AI self-closing valve is used to collect images around the gas stove through the camera, identify the character characteristics and analyze the gas flow, update the electromagnetic operating parameters based on the sound detection information, and control the electromagnetic device to drive the detection valve flap to slide to achieve flow control and foreign matter removal.
It improves the safety of gas use and can protect the gas stove flow requirements under abnormal conditions, while accurately identifying and removing foreign objects to reduce the risk of gas leakage.
Smart Images

Figure CN120595870A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of self-closing valves, and in particular to a control method of an AI self-closing valve and the AI self-closing valve. Background Art
[0002] A self-closing valve is a safety protection device installed in a gas pipeline system that can automatically close by sensing abnormal gas pressure (overpressure, negative pressure or loss of pressure), thereby preventing gas leakage from causing safety accidents.
[0003] A self-closing valve consists of an air inlet, a disc that slides within the valve, a spring that drives the piston, and a diaphragm connected to the disc via a metal component to drive the disc's movement. When the self-closing valve is installed on a gas pipeline and abnormal overpressure or negative pressure occurs in the pipeline, the diaphragm deforms due to the overpressure or negative pressure, causing the metal component to slide and driving the spring to push the disc back to the air inlet of the self-closing valve.
[0004] When using a self-closing valve, there is a gas valve connected to the same gas pipeline as the self-closing valve that needs to be manually opened and closed. In daily use, when the gas stove is used frequently, it is easy for the fire to not be ignited but the gas stove is in the on state. At this time, if the gas valve is not closed and the self-closing valve cannot be automatically cut off, gas leakage will occur, causing the gas to be harmful to the human body. Summary of the Invention
[0005] In order to improve the safety of gas use, the present invention provides a control method of an AI self-closing valve and an AI self-closing valve.
[0006] In a first aspect, the present invention provides a control method for an AI self-closing valve, which adopts the following technical solution: A control method for an AI self-closing valve, comprising: S10: collecting images around the gas stove; S11: When the surrounding image contains preset human features, collecting a gas stove image; S12: Identifying actual gas flow rate through the gas stove image; S13: Responding to the actual gas flow rate to obtain electromagnetic operation parameters; S14: The valve disc of the air outlet of the self-closing valve is used as a detection valve disc; S15: controlling the preset electromagnetic device to operate according to the electromagnetic operating parameters, and collecting the detection position and sound detection information of the detection valve disc; S16: Obtaining the type and location of the foreign object based on the sound detection information; S17: updating the electromagnetic operation parameters in combination with the foreign object type, the foreign object position, and the detection position, and controlling a preset electromagnetic device to drive the detection valve flap to slide with the electromagnetic operation parameters.
[0007] By adopting the above technical solution, a detection valve disc is set at the gas outlet of the self-closing valve, and the gas stove image, detection position and sound detection information are analyzed to obtain electromagnetic operating parameters to control the electromagnetic device to drive the detection valve disc to slide. Therefore, the self-closing valve can be used to protect the gas stove from abnormal situations such as overpressure or negative pressure while controlling the flow rate required by the gas stove, reducing foreign matter on the self-closing valve and improving the safety of gas use.
[0008] Optionally, the method for obtaining the electromagnetic operating parameters includes: S20: Obtaining a gas passing area in response to the actual gas flow rate; S21: collecting the inspection specifications of the inspection valve disc; S22: Obtain the electromagnetic operation parameters through the detection specifications and the gas passing area.
[0009] Optionally, also include: S30: Obtaining a detection displacement in response to the gas passing area and the detection specification; S31: Obtaining the spring retraction force by comparing the detected displacement with the preset spring specifications; S32: Obtaining electromagnetic operating power through the spring retraction force, and defining the electromagnetic operating power as the electromagnetic operating parameter.
[0010] Optionally, the method for obtaining the foreign body type and foreign body location includes: S40: When the sound detection information includes a preset foreign body timbre, obtaining a foreign body type in response to the sound detection information; S41: Obtaining a close fitting range by comparing the detection valve disc with the preset self-closing valve specifications; S42: Retrieving the detection sound source position of the foreign object sound from the sound detection information; S43: The detected sound source position in the close contact range is regarded as the foreign object position.
[0011] By adopting the above technical solution, the foreign body position and foreign body parameters are obtained by analyzing the sound detection information, thereby improving the accuracy of the self-closing valve in identifying foreign bodies.
[0012] Optionally, updating the electromagnetic operating parameters includes: S50: Obtaining a detection distance by comparing the electromagnetic operating power with a preset unit time; S51: Obtaining a running distance by using the unit time and the detection position; S52: Calculate the difference between the running distance and the detection distance as a distance deviation value; S53: Obtaining friction force in response to the distance deviation value; S54: updating the electromagnetic operating parameters according to the foreign matter type, the electromagnetic operating power, and the friction force.
[0013] Optionally, also include: S60: Obtaining a periodic alternation frequency according to the type of the foreign matter; S61: increasing power by alternating the frequency and the friction force in the cycle; S62: Obtaining a remaining displacement by using the foreign body timbre and the detected displacement; S63: Obtaining a mark displacement in response to the foreign object position and the detection specification; S64: When the mark displacement is not greater than the remaining displacement, the increased power and the periodic alternating frequency are added to the electromagnetic operation parameters.
[0014] By adopting the above technical solution, the detection specifications, electromagnetic operating power and foreign body position are analyzed to obtain the mark displacement. The electromagnetic operating power and periodic alternation frequency are added to the electromagnetic operating parameters based on the comparison between the mark displacement and the residual displacement, so that the foreign body can be vibrated and removed while the self-closing valve controls the flow output.
[0015] Optionally, also include: S70: When the mark displacement is greater than the remaining displacement, calculating the difference between the mark displacement and the remaining displacement as a displacement deviation value; S71: Obtaining a deviation direction by using the displacement deviation value and the foreign object position; S72: Obtaining a deviation vibration frequency in response to the deviation direction and the foreign matter type; S73: Obtaining the displacement of the foreign matter according to the deviation vibration frequency; S74: updating the electromagnetic operating parameters in response to the foreign matter displacement, the deviation vibration frequency, and the deviation direction.
[0016] Optionally, also include: S80: selecting the largest foreign matter displacement from each of the foreign matter displacements as a target displacement, and using the deviation vibration frequency of the target displacement as a target vibration frequency; S81: Obtaining a target valve disc displacement according to the target vibration frequency; S82: Obtaining a deviation operation time by combining the target valve disc displacement with the target displacement; S83: Add the deviation operation duration, the target vibration frequency, and the deviation direction to the electromagnetic operation parameters.
[0017] Optionally, the friction force verification method includes: S90: collect the ambient temperature of the self-closing valve; S91: Obtaining operating heat per unit time in response to the electromagnetic operating power and the actual gas flow rate; S92: Obtaining a detection temperature by combining the ambient temperature and the operating heat; S93: Obtaining a thermal expansion parameter in response to the detected temperature and the detected specification, and updating the friction force using the thermal expansion parameter.
[0018] In a second aspect, the present application provides an AI self-closing valve, which adopts the following technical solution: An AI self-closing valve, comprising: An acquisition module, used to acquire surrounding images and gas stove images; A memory for storing a program for a control method of an AI self-closing valve; The processor is configured to load and execute the program stored in the memory.
[0019] In summary, this application includes at least one of the following beneficial technical effects: 1. By controlling the electromagnetic device to drive the detection valve disc to slide according to the electromagnetic operating parameters, the self-closing valve can be used to protect against abnormal conditions such as overpressure or negative pressure while controlling the flow required by the gas stove, thereby improving the safety of gas use; 2. By analyzing the sound detection information to obtain the foreign body location and foreign body parameters, the accuracy of the self-closing valve in identifying foreign bodies can be improved; 3. By analyzing the detection specifications, electromagnetic operating power and foreign body position to obtain the marked displacement, the electromagnetic operating power and periodic alternating frequency are added to the electromagnetic operating parameters based on the comparison between the marked displacement and the residual displacement. This allows the self-closing valve to control the flow output while vibrating and removing foreign bodies. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a schematic diagram of the overall structure of an AI self-closing valve according to an embodiment of the present invention; Figure 2 This is a flow chart of a method for controlling an AI self-closing valve according to an embodiment of the present invention; Figure 3 1 is a schematic diagram of flow control performed by a self-closing valve according to an embodiment of the present invention.
[0021] The parts indicated by the numerical symbols in the above drawings are as follows: 1. Self-closing valve; 2. Air inlet; 3. Air outlet; 4. Detection valve disc; 5. Detection spring; 6. Electromagnetic device. DETAILED DESCRIPTION
[0022] The present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0023] Reference Figure 1 、 Figure 2 as well as Figure 3 , the embodiment of the present application discloses a control method for an AI self-closing valve, comprising the following steps: S10: Collecting images around the gas stove.
[0024] The surrounding image refers to an image around the gas stove, and the image around the gas stove is captured as the surrounding image by a camera preset on the self-closing valve 1. In this embodiment, the self-closing valve 1 is arranged outside to capture the surrounding image.
[0025] The self-closing valve 1 includes an air inlet 2, an air outlet 3, a diaphragm, a spring, a valve disc, a metal component, a detection valve disc 4, a detection spring 5, and an electromagnetic device 6. The valve disc slides within the self-closing valve 1 along the axis of the air inlet 2. When subjected to a pressure difference, the diaphragm deforms to drive the metal component to move. When the metal component moves, it drives the spring to generate a driving force on the valve disc to drive the valve disc to slide. The electromagnetic device 6 is an electromagnet that can be directly connected to an external power source or use a battery. When the battery is low, an early warning message will be sent to the user terminal.
[0026] The detection valve flap 4 slides in the self-closing valve 1 along the axial direction of the air outlet 3. A permanent magnet is provided on the detection valve flap 4. The electromagnet is provided on the self-closing valve 1, and the electromagnet is located on the side of the detection valve flap 4 away from the air outlet 3. The detection spring 5 is used to drive the detection valve flap 4 away from one end of the air outlet 3. When the electromagnet outputs magnetic force, the detection valve flap 4 moves away from the electromagnet and stretches the detection spring 5, thereby reducing the unit area of gas output between the detection valve flap 4 and the air outlet 3 to control the gas flow.
[0027] When overpressure or negative pressure occurs in the gas pipeline, the electromagnet is powered off, and the self-closing valve 1 still performs the protection function through the mechanical structure.
[0028] S11: When the surrounding image contains preset human features, a gas stove image is collected.
[0029] The person's features are the shape and color of the person, as set by the technician. If the surrounding image does not contain the person's features, it indicates that the gas stove is unoccupied. If the gas stove is on and no flame is generated, self-closing valve 1 will not output gas from gas outlet 3. Therefore, the electromagnet is driven to output high power to drive detection valve disc 4 to block gas outlet 3, prompting the user to close the manual gas valve. When the solenoid valve blocks gas outlet 3, the overpressure protection mechanism of self-closing valve 1 is not triggered.
[0030] The gas stove image refers to an image of a gas stove connected to the same gas path as the self-closing valve 1. When the surrounding image contains human features, it indicates that someone is operating the gas valve. The image of the gas stove is captured by the camera on the self-closing valve 1 as the gas stove image.
[0031] S12: Identify the actual gas flow rate through the gas stove image.
[0032] The actual gas flow rate refers to the gas flow rate actually required by the user. By identifying the parameters used by the gas stove to control the flow rate from the gas stove image (for example, the gas flow rate corresponding to the output of different buttons, the gas flow rate corresponding to the output of different knob rotation angles, and the gas flow rate corresponding to the output of different display digital levels, etc.), the actual gas flow rate can be obtained based on the above parameters. The analysis method of the actual gas flow rate is common knowledge among those skilled in the art and will not be elaborated here.
[0033] S13: Responding to the actual gas flow rate to obtain electromagnetic operating parameters.
[0034] The electromagnetic operating parameters refer to parameters for controlling the operation of the electromagnetic device 6 , and are obtained by analyzing the actual gas flow rate.
[0035] S14: The valve flap of the air outlet 3 of the self-closing valve 1 is used as the detection valve flap 4.
[0036] The detection valve flap 4 refers to the valve flap provided at the air outlet 3 of the self-closing valve 1 , and the valve flap at the air outlet 3 of the self-closing valve 1 is used as the detection valve flap 4 .
[0037] S15: controlling the preset electromagnetic device 6 to operate with the electromagnetic operating parameters, and collecting the detection position and sound detection information of the detection valve flap 4; The detection position refers to the position where the valve disc 4 slides, and the sound detection information refers to the sound parameters generated when the valve disc 4 slides. The electromagnetic device 6 is controlled to operate with the electromagnetic operating power and unit time in the electromagnetic operating parameters, and the position of the valve disc 4 is obtained as the detection position through the displacement sensor. The sound parameters of the self-closing valve 1 are collected through a preset sound collection device as sound detection information. The sound collection device is a miniature microphone and is installed in the outer shell of the self-closing valve 1.
[0038] S16: Obtaining the type and location of the foreign object based on the sound detection information; The foreign body type refers to the type of foreign body, which includes hard foreign bodies and soft foreign bodies. The foreign body location refers to the location where the foreign body appears within the close proximity range. The foreign body type and location are obtained by analyzing the sound detection information.
[0039] S17: updating the electromagnetic operation parameters in combination with the foreign object type, the foreign object position, and the detection position, and controlling a preset electromagnetic device to drive the detection valve flap to slide with the electromagnetic operation parameters.
[0040] The electromagnetic operation parameters are obtained by analyzing the type and position of the foreign matter and the detection position, and the electromagnetic device 6 is controlled to drive the detection valve flap 4 to slide according to the electromagnetic operation parameters.
[0041] Methods for obtaining electromagnetic operating parameters include: S20: Obtaining a gas passing area in response to the actual gas flow rate.
[0042] The gas passing area refers to the area required for the actual gas flow to pass between the detection valve disc 4 and the gas outlet 3. The gas passing area is matched from a preset gas comparison table according to the actual gas flow.
[0043] The gas comparison table stores the gas passage area corresponding to different actual gas flow rates. The larger the actual gas flow rate, the larger the gas passage area when the gas flow rate remains unchanged. The parameters in the gas comparison table are set in advance by technicians in this field based on actual conditions and will not be described in detail here.
[0044] S21: Collect and inspect the inspection specifications of the valve disc 4.
[0045] The inspection specifications refer to the size and material specifications of the inspection valve flap 4. In this embodiment, the inspection valve flap 4 is a composite structure of metal and elastic sealing material, and the metal material is ferromagnetic. The inspection specifications are pre-entered by the operator.
[0046] S22: Obtain electromagnetic operating parameters by detecting specifications and gas passing area.
[0047] The electromagnetic operating parameters are obtained by analyzing the detection specifications and the gas passing area.
[0048] Also includes: S30: Obtaining a detection displacement in response to the gas passing area and the detection specification.
[0049] The detection displacement refers to the total distance that the detection valve disc 4 needs to be displaced when outputting gas at the actual gas flow rate. The detection displacement is matched from the gas comparison table by the gas passage area and the detection specifications. The gas comparison table also stores the detection displacements corresponding to different gas passage areas and detection specifications. When the detection specifications and the initial position of the detection valve disc 4 remain unchanged, the larger the gas passage area, the smaller the detection displacement. This will not be elaborated here.
[0050] S31: The spring retraction force is obtained by detecting the displacement and the preset spring specifications.
[0051] The spring specifications are the material and spring constant of the test spring 5, as determined by the technician. The spring retraction force refers to the force caused by the spring 5 being stretched and retracted. The spring retraction force is determined by analyzing the displacement measured and the spring constant specified in the spring specifications. The analysis of spring retraction force is common knowledge among those skilled in the art and will not be detailed here.
[0052] S33: Obtain electromagnetic operating power through the spring retraction force, and define the electromagnetic operating power as an electromagnetic operating parameter.
[0053] The electromagnetic operating power refers to the power required by the electromagnetic device 6 to drive the detection valve disc 4 to detect the displacement slip. The electromagnetic operating power is matched from a preset electromagnetic comparison table through the spring retraction force.
[0054] The electromagnetic reference table stores the electromagnetic operating power corresponding to different spring retraction forces. The greater the spring retraction force, the greater the electromagnetic operating power. The parameters in the electromagnetic reference table are set in advance by technicians in this field based on actual conditions and will not be elaborated here.
[0055] Methods for obtaining the type and location of foreign matter include: S40: When the sound detection information includes a preset foreign body timbre, obtaining the foreign body type in response to the sound detection information; The foreign body sound is the sound set by the technicians when the detection valve disc 4 slides in the self-closing valve 1 and a foreign body slides on the close contact surface of the detection valve disc 4 and the self-closing valve 1.
[0056] When the sound detection information contains a foreign object timbre, it indicates that a foreign object is present at the contact surface between the detection valve disc 4 and the self-closing valve 1. The timbre type is then determined based on the sound detection information, and the foreign object type is matched based on the timbre type from a preset foreign object comparison table. The foreign object comparison table stores the foreign object types corresponding to different timbre types. The parameters in the foreign object comparison table are pre-set by those skilled in the art based on actual experimental conditions and are not further described here.
[0057] S41: The valve disc 4 is detected to have a close fit range with the preset self-closing valve specifications.
[0058] The self-closing valve specifications are the dimensions of the self-closing valve 1 set by technicians. The "close range" refers to the range within which the test valve disc 4 and the self-closing valve 1 slip and cling. This range is determined by analyzing the test valve disc 4 and the self-closing valve specifications. The analysis method for the close range is common knowledge among those skilled in the art and will not be detailed here.
[0059] S42: Retrieving the detection sound source position of the foreign body sound from the sound detection information; The detection sound source position refers to the sound source position where the foreign body sound appears. Since there are two valve discs in the self-closing valve 1, the detection sound source position of the foreign body sound is retrieved from the sound detection information.
[0060] S43: The detected sound source position within the close proximity range is regarded as the foreign object position.
[0061] The foreign object position is determined by detecting the sound source position within the close proximity.
[0062] Update electromagnetic operating parameters include: S50: Obtain the detection distance through the electromagnetic operation power and the preset unit time.
[0063] The unit time is a time length value set by a technician for the electromagnetic device 6 to operate at the electromagnetic operating power.
[0064] The detection distance refers to the distance that the valve disc 4 slides per unit time. The detection distance is matched from the electromagnetic comparison table through the electromagnetic operating power. The electromagnetic comparison table also stores the detection distances corresponding to different electromagnetic operating powers and unit times. The greater the electromagnetic operating power, the greater the detection distance. I will not go into details here.
[0065] S51: Obtain the running distance through the unit time and the detection position.
[0066] The running distance refers to the actual sliding distance of the detection valve disc 4 per unit time. The straight-line distance between the detection positions before and after the update per unit time is calculated as the running distance.
[0067] S52: Calculate the difference between the running distance and the detection distance as the distance deviation value.
[0068] The distance deviation value refers to the deviation value between the running distance and the detection distance. The difference between the running distance and the detection distance is calculated as the distance deviation value.
[0069] S53: Obtaining friction force in response to the distance deviation value.
[0070] Friction refers to the resistance generated by the friction between the foreign object and the detection valve disc 4. The friction is matched from the foreign object comparison table through the distance deviation value. The foreign object comparison table also stores the friction corresponding to different distance deviation values. The larger the distance deviation value, the greater the friction. I will not go into details here.
[0071] S54: Update the electromagnetic operating parameters according to the type of foreign matter, the electromagnetic operating power, and the friction force.
[0072] New electromagnetic operating parameters are obtained by analyzing the foreign matter type, electromagnetic operating power and friction force.
[0073] Also includes: S60: Obtaining a periodic alternation frequency according to the type of foreign matter.
[0074] The periodic alternating frequency refers to the frequency of power alternation required to drive the detection valve flap 4 to vibrate. The periodic alternating frequency is matched from the electromagnetic comparison table according to the type of foreign matter. The electromagnetic comparison table also stores the periodic alternating frequencies corresponding to different types of foreign matter, which will not be described in detail here. In this embodiment, the periodic alternating frequency can make the position of the foreign matter remain unchanged when the detection valve flap 4 is vibrated and displaced. In this embodiment, when the electromagnet is operating at the periodic alternating frequency, there is a maximum power change with the electromagnetic operating power, and the difference between the electromagnetic operating power and the preset reference power difference is calculated as the minimum power value. The power change of the periodic alternating frequency is performed by combining the minimum power value with the electromagnetic operating power. The reference power difference is the power difference set by the technician for the power alternation that occurs when the electromagnet operates at the periodic alternating frequency.
[0075] S61: Increase power by periodically alternating frequency and friction.
[0076] Increasing power refers to the power that changes per unit time when the electromagnet outputs electromagnetic operating power. The power is increased by matching the periodic alternating frequency and the friction force from the electromagnetic comparison table. When the friction force remains unchanged, the greater the periodic alternating frequency, the greater the increased power. I will not go into details here.
[0077] S62: Obtain the remaining displacement by the foreign body timbre and the detected displacement.
[0078] The remaining displacement refers to the distance that remains to be displaced when a foreign object appears in the detection valve disc 4. By recording the detection position where the foreign object sound appears, the straight-line distance between the detection position and the initial sliding position of the detection valve disc 4 is calculated as the foreign object sliding distance, and the difference between the detection displacement and the foreign object sliding distance is calculated as the remaining displacement.
[0079] S63: Obtaining a mark displacement in response to the foreign object position and the detection specification.
[0080] The mark displacement refers to the distance that the foreign object needs to move away from the close contact surface under the vibration of the detection valve disc 4. The straight-line distance between the position of the foreign object and the side of the detection valve disc 4 away from the air outlet 3 is used as the mark displacement.
[0081] S64: When the marked displacement is not greater than the remaining displacement, the increased power and the periodic alternating frequency are added to the electromagnetic operation parameters.
[0082] When the marked displacement is not greater than the remaining displacement, indicating that the foreign matter can be removed when the detection valve disc 4 completes its displacement, the increased power and cycle alternating frequency are added to the electromagnetic operation parameters.
[0083] Also includes: S70: When the mark displacement is greater than the remaining displacement, the difference between the mark displacement and the remaining displacement is calculated as the displacement deviation value.
[0084] The displacement deviation value refers to the deviation between the marked displacement and the remaining displacement. When the marked displacement is greater than the remaining displacement, it means that the foreign matter cannot be removed when the detection valve disc 4 completes the displacement. The difference between the marked displacement and the remaining displacement is calculated as the displacement deviation value.
[0085] S71: Obtain the deviation direction through the displacement deviation value and the foreign body position.
[0086] The deviation direction refers to the direction in which the detection valve flap 4 slides toward the end away from the air outlet 3 , and the direction in which the detection valve flap 4 slides toward the end away from the air outlet 3 is taken as the deviation direction.
[0087] S72: Obtaining a deviation vibration frequency in response to the deviation direction and the foreign matter type.
[0088] The deviation vibration frequency refers to the various deviation vibration frequencies of the foreign object when it vibrates and slides along the detection valve disc 4 when running in the deviation direction. The deviation vibration frequency is matched from the foreign object comparison table through the deviation direction and the foreign object type. The foreign object comparison table stores the deviation vibration frequencies corresponding to different foreign object types in the deviation direction, which will not be repeated here.
[0089] S73: Obtain the foreign matter displacement through the deviation vibration frequency.
[0090] The foreign body displacement refers to the distance that the foreign body is displaced when the detection valve disc 4 vibrates at a deviation vibration frequency. The foreign body displacement is matched from the foreign body comparison table through the deviation vibration frequency. The greater the deviation vibration frequency, the shorter the time length of the foreign body bouncing up, and the smaller the foreign body displacement. It will not be elaborated here.
[0091] S74: Responding to the foreign matter displacement, the deviation vibration frequency, and the deviation direction to update the electromagnetic operation parameters.
[0092] New electromagnetic operating parameters are obtained by analyzing the foreign body displacement, deviation vibration frequency and deviation direction.
[0093] Also includes: S80: Select the largest foreign matter displacement from each foreign matter displacement as the target displacement, and use the deviation vibration frequency of the target displacement as the target vibration frequency.
[0094] The target displacement is the maximum distance at which a foreign object vibrates. The maximum displacement is selected from the displacements of various foreign objects as the target displacement. The target vibration frequency is the deviation vibration frequency of the foreign object corresponding to the target displacement. The deviation vibration frequency of the target displacement is selected as the target vibration frequency.
[0095] S81: Obtain a target valve disc displacement through a target vibration frequency.
[0096] The target valve disc displacement refers to the amount of displacement of the detection valve disc 4 per unit time when the detection valve disc 4 is vibrated at the target vibration frequency. The change power per unit time is obtained by referring to S61 through the target vibration frequency, and the distance obtained by referring to S50 based on the change power is used as the target valve disc displacement.
[0097] S82: Obtain the deviation operation time by comparing the target valve disc displacement with the target displacement.
[0098] The deviation operation duration refers to the time length required to drive the detection valve flap 4 to slide in the deviation direction. The deviation operation duration is matched from the electromagnetic comparison table through the target valve flap displacement and the target displacement. The electromagnetic comparison table stores different target valve flap displacements and deviation operation durations corresponding to the target displacements. The smaller the deviation value between the target valve flap displacement and the target displacement, the smaller the distance between the foreign object position and the side of the detection valve flap 4 away from the air outlet 3, the larger the target valve flap displacement, the larger the residual displacement, and the longer the time it takes to reach the consistency between the residual displacement and the distance between the foreign object position and the side of the detection valve flap 4 away from the air outlet 3. We will not go into details here.
[0099] S83: Add the deviation operation duration, target vibration frequency, and deviation direction to the electromagnetic operation parameters.
[0100] By adding the deviation operation time, target vibration frequency and deviation direction to the electromagnetic operation parameters.
[0101] Friction force calibration methods include: S90: Collect the ambient temperature of the self-closing valve 1.
[0102] The ambient temperature refers to the temperature value of the environment surrounding the self-closing valve 1 , and is a parameter detected by a temperature sensor preset on the self-closing valve 1 .
[0103] S91: Obtaining operating heat per unit time in response to the electromagnetic operating power and the actual gas flow rate.
[0104] The operating heat refers to the heat transferred by the detection valve disc 4 through the flow of gas when the electromagnet operates at the electromagnetic operating power per unit time. The operating heat is matched from a preset heat comparison table by the electromagnetic operating power and the actual gas flow. The heat comparison table stores the operating heat corresponding to different electromagnetic operating powers and actual gas flow rates. When the specification parameters of the detection valve disc 4 and the parameters of the heat carried by the gas remain unchanged, the greater the electromagnetic operating power, the greater the actual gas flow rate, and the greater the operating heat. The parameters in the heat comparison table are set in advance by technicians in this field based on actual conditions and will not be elaborated here.
[0105] S92: Obtain the detection temperature by comparing the ambient temperature with the operating heat.
[0106] The detection temperature refers to the temperature of the valve disc 4 detected after the solenoid valve operates at electromagnetic operating power per unit time. The detection temperature is obtained by analyzing the ambient temperature and the operating heat. The analysis method of the detection temperature is common knowledge among technicians in this field and will not be described here.
[0107] S93: Obtaining a thermal expansion parameter in response to the detected temperature and the detected specification, and updating the friction force using the thermal expansion parameter.
[0108] The thermal expansion parameter refers to the dimensional parameter of the valve disc 4 that expands after the temperature rises. The thermal expansion parameter is obtained by analyzing the detection temperature and detection specifications. The analysis method of the thermal expansion parameter is common knowledge among technicians in this field and will not be described here.
[0109] Then, the new friction force is matched from the thermal comparison table based on the thermal expansion parameters and the test specifications. The thermal comparison table also stores the friction forces corresponding to different thermal expansion parameters and test specifications. When the test specifications remain unchanged, the greater the thermal expansion parameter, the greater the friction force. This will not be elaborated here.
[0110] Based on the same inventive concept, an embodiment of the present invention provides an AI self-closing valve, comprising: An acquisition module is used to acquire surrounding images, gas stove images, detection specifications, detection locations, sound detection information, and ambient temperature; A memory for storing a program for a control method of an AI self-closing valve; The processor is configured to load and execute the program stored in the memory.
[0111] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0112] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiment. All technical solutions based on the concept of the present invention are within the scope of protection of the present invention. It should be noted that for those skilled in the art, various improvements and modifications that do not depart from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A control method for an AI self-closing valve, characterized in that: include: S10: collecting images around the gas stove; S11: When the surrounding image contains preset human features, collecting a gas stove image; S12: Identifying actual gas flow rate through the gas stove image; S13: Responding to the actual gas flow rate to obtain electromagnetic operation parameters; S14: The valve disc of the air outlet of the self-closing valve is used as a detection valve disc; S15: controlling the preset electromagnetic device to operate according to the electromagnetic operating parameters, and collecting the detection position and sound detection information of the detection valve disc; S16: Obtaining the type and location of the foreign object based on the sound detection information; S17: updating the electromagnetic operation parameters in combination with the foreign object type, the foreign object position, and the detection position, and controlling a preset electromagnetic device to drive the detection valve flap to slide with the electromagnetic operation parameters.
2. The control method of an AI self-closing valve according to claim 1, characterized in that: The method for obtaining the electromagnetic operating parameters includes: S20: Obtaining a gas passing area in response to the actual gas flow rate; S21: collecting the inspection specifications of the inspection valve disc; S22: Obtain the electromagnetic operation parameters through the detection specifications and the gas passing area.
3. The control method of an AI self-closing valve according to claim 2, characterized in that: Also includes: S30: Obtaining a detection displacement in response to the gas passing area and the detection specification; S31: Obtaining the spring retraction force by comparing the detected displacement with the preset spring specifications; S32: Obtaining electromagnetic operating power through the spring retraction force, and defining the electromagnetic operating power as the electromagnetic operating parameter.
4. The control method of an AI self-closing valve according to claim 3, characterized in that: Methods for obtaining the type and location of foreign matter include: S40: When the sound detection information includes a preset foreign body timbre, obtaining a foreign body type in response to the sound detection information; S41: Obtaining a close fitting range by comparing the detection valve disc with the preset self-closing valve specifications; S42: Retrieving the detection sound source position of the foreign object sound from the sound detection information; S43: The detected sound source position in the close contact range is regarded as the foreign object position.
5. The control method of an AI self-closing valve according to claim 4, characterized in that: Updating the electromagnetic operating parameters includes: S50: Obtaining a detection distance by comparing the electromagnetic operating power with a preset unit time; S51: Obtaining a running distance by using the unit time and the detection position; S52: Calculate the difference between the running distance and the detection distance as a distance deviation value; S53: Obtaining friction force in response to the distance deviation value; S54: updating the electromagnetic operating parameters according to the foreign matter type, the electromagnetic operating power, and the friction force.
6. The control method of an AI self-closing valve according to claim 5, characterized in that: Also includes: S60: Obtaining a periodic alternation frequency according to the type of the foreign matter; S61: increasing power by alternating the frequency and the friction force in the cycle; S62: Obtaining a remaining displacement by using the foreign body timbre and the detected displacement; S63: Obtaining a mark displacement in response to the foreign object position and the detection specification; S64: When the mark displacement is not greater than the remaining displacement, the increased power and the periodic alternating frequency are added to the electromagnetic operation parameters.
7. The control method of an AI self-closing valve according to claim 6, characterized in that: Also includes: S70: When the mark displacement is greater than the remaining displacement, calculating the difference between the mark displacement and the remaining displacement as a displacement deviation value; S71: Obtaining a deviation direction by using the displacement deviation value and the foreign object position; S72: Obtaining a deviation vibration frequency in response to the deviation direction and the foreign matter type; S73: Obtaining the displacement of the foreign matter according to the deviation vibration frequency; S74: updating the electromagnetic operating parameters in response to the foreign matter displacement, the deviation vibration frequency, and the deviation direction.
8. The control method of an AI self-closing valve according to claim 7, characterized in that: Also includes: S80: selecting the largest foreign matter displacement from each of the foreign matter displacements as a target displacement, and using the deviation vibration frequency of the target displacement as a target vibration frequency; S81: Obtaining a target valve disc displacement according to the target vibration frequency; S82: Obtaining a deviation operation time by combining the target valve disc displacement with the target displacement; S83: Add the deviation operation duration, the target vibration frequency, and the deviation direction to the electromagnetic operation parameters.
9. The control method of an AI self-closing valve according to claim 8, characterized in that: The friction force verification method includes: S90: collect the ambient temperature of the self-closing valve; S91: Obtaining operating heat per unit time in response to the electromagnetic operating power and the actual gas flow rate; S92: Obtaining a detection temperature by combining the ambient temperature and the operating heat; S93: Obtaining a thermal expansion parameter in response to the detected temperature and the detected specification, and updating the friction force using the thermal expansion parameter.
10. An AI self-closing valve, characterized in that: include: An acquisition module, used to acquire surrounding images and gas stove images; A memory for storing a program for implementing a control method for an AI self-closing valve according to any one of claims 1 to 9; The processor is configured to load and execute the program stored in the memory.
Citation Information
Patent Citations
AI intelligent gas valve control method and system and AI intelligent gas valve
CN119393581A
Gas explosion valve sealing detection method and system and gas explosion valve
CN120176956A
Intelligent gas cut-off valve
CN221723510U
Automatic fire extinguishing device for fire of gas cooking stove for system kitchen
JP1995132151A