Control method of ai self-closing valve and ai self-closing valve
Through the image and sound detection technology of the AI self-closing valve, the gas flow is controlled and foreign objects are identified and removed, solving the problem that the self-closing valve cannot automatically cut off gas leaks, and improving the safety and accuracy of gas use.
Patent Information
- Application Number
- CN202511115037.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-11
- Publication Date
- 2025-10-14
- 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 in the open state, resulting in gas leakage and posing a safety hazard.
Using an AI self-closing valve, the camera collects images around the gas stove, identifies human features and analyzes gas flow, updates electromagnetic operating parameters based on sound detection information, controls the electromagnetic device to drive the detection valve disc to slide to control gas flow, and identifies and removes foreign objects.
It realizes automatic control of gas flow in abnormal situations, improves the safety of gas use, and accurately identifies and removes foreign matter, reducing the risk of gas leakage.
Smart Images

Figure CN120595870B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of self-closing valves, in particular to an AI self-closing valve control method and AI self-closing valve. BACKGROUND
[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 pressure loss) to prevent safety accidents caused by gas leakage.
[0003] The self-closing valve includes an air inlet, a valve disc sliding in the self-closing valve, a spring for driving the piston to slide, and a diaphragm connected to the valve disc through a metal part to drive the valve disc to slide. When the self-closing valve is installed on the gas pipeline, and the gas pipeline appears abnormal conditions such as overpressure or negative pressure, the diaphragm deforms due to overpressure or negative pressure, causing the metal part to slide and drive the spring to push the valve disc to reset against the air inlet of the self-closing valve.
[0004] In the process of using the 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 the daily use process, when the gas stove is frequently used, it is easy to appear that the gas stove is in the open state without igniting the fire. In this case, if the gas valve is not closed and the self-closing valve cannot automatically cut off, gas leakage will occur, which will harm the human body. SUMMARY
[0005] In order to improve the safety of gas use, the present application provides an AI self-closing valve control method and AI self-closing valve.
[0006] In a first aspect, the present application provides an AI self-closing valve control method, which adopts the following technical solution:
[0007] An AI self-closing valve control method, comprising:
[0008] S10: Collecting an image of the surroundings of a gas stove;
[0009] S11: When the surroundings image contains a preset human feature, collecting a gas stove image;
[0010] S12: Identifying the actual gas flow through the gas stove image;
[0011] S13: Responding to the actual gas flow to obtain electromagnetic operation parameters;
[0012] S14: Taking the valve disc of the gas outlet of the self-closing valve as a detection valve disc;
[0013] S15: Controlling a preset electromagnetic device to operate at the electromagnetic operation parameters, and collecting the detection position of the detection valve disc and sound detection information;
[0014] S16: obtaining a foreign matter type and a foreign matter position based on the sound detection information;
[0015] S17: updating the electromagnetic operation parameter in combination with the foreign matter type, the foreign matter position, and the detection position, and controlling a preset electromagnetic device to drive the detection valve to slide at the electromagnetic operation parameter.
[0016] By adopting the technical solution, the detection valve is arranged at the gas outlet of the self-closing valve, and the electromagnetic operation parameter is obtained by analyzing the gas stove image, the detection position, and the sound detection information to control the electromagnetic device to drive the detection valve to slide, so that the self-closing valve can be used to protect against abnormal conditions such as overpressure or negative pressure, control the flow required by the gas stove, reduce the foreign matter on the self-closing valve, and improve the safety of gas use.
[0017] Optionally, the method for obtaining the electromagnetic operation parameter comprises:
[0018] S20: obtaining a gas passing area in response to the actual gas flow;
[0019] S21: collecting a detection specification of the detection valve;
[0020] S22: obtaining the electromagnetic operation parameter by the detection specification and the gas passing area.
[0021] Optionally, the method further comprises:
[0022] S30: obtaining a detection displacement in response to the gas passing area and the detection specification;
[0023] S31: obtaining a spring retraction force by the detection displacement and a preset spring specification;
[0024] S32: obtaining an electromagnetic operation power by the spring retraction force, and defining the electromagnetic operation power as the electromagnetic operation parameter.
[0025] Optionally, the method for obtaining the foreign matter type and the foreign matter position comprises:
[0026] S40: obtaining a foreign matter type in response to the sound detection information when the sound detection information contains a preset foreign matter tone;
[0027] S41: obtaining a close range by the detection valve and a preset self-closing valve specification;
[0028] S42: obtaining a detection sound source position of the foreign matter tone from the sound detection information;
[0029] S43: taking the detected sound source position in the close range as the foreign matter position.
[0030] By using the above technical solution, the foreign matter position and the foreign matter parameter are obtained by analyzing the sound detection information, so that the accuracy of the self-closing valve in identifying the foreign matter can be improved.
[0031] Optionally, updating the electromagnetic operation parameter comprises:
[0032] S50: obtaining a detection distance by the electromagnetic operation power and a preset unit time;
[0033] S51: obtaining an operation distance by the unit time and the detection position;
[0034] S52: calculating a distance deviation value as a difference between the operation distance and the detection distance;
[0035] S53: obtaining a friction force in response to the distance deviation value;
[0036] S54: updating the electromagnetic operation parameter according to the foreign matter type, the electromagnetic operation power and the friction force.
[0037] Optionally, the method further comprises:
[0038] S60: obtaining a periodic alternating frequency according to the foreign matter type;
[0039] S61: obtaining an increased power by the periodic alternating frequency and the friction force;
[0040] S62: obtaining a remaining displacement amount by the foreign matter tone and the detection displacement amount;
[0041] S63: obtaining a marked displacement amount in response to the foreign matter position and the detection specification;
[0042] S64: when the marked displacement amount is not greater than the remaining displacement amount, adding the increased power and the periodic alternating frequency to the electromagnetic operation parameter.
[0043] By using the above technical solution, the marked displacement amount is obtained by analyzing the detection specification, the electromagnetic operation power and the foreign matter position, and the electromagnetic operation power and the periodic alternating frequency are added to the electromagnetic operation parameter according to the comparison between the marked displacement amount and the remaining displacement amount, so that the self-closing valve can control the flow output while the foreign matter is removed by vibration.
[0044] Optionally, the method further comprises:
[0045] 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;
[0046] S71: Obtaining a deviation direction by using the displacement deviation value and the foreign object position;
[0047] S72: Obtaining a deviation vibration frequency in response to the deviation direction and the foreign matter type;
[0048] S73: Obtaining the displacement of the foreign matter according to the deviation vibration frequency;
[0049] S74: updating the electromagnetic operating parameters in response to the foreign matter displacement, the deviation vibration frequency, and the deviation direction.
[0050] Optionally, also include:
[0051] 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;
[0052] S81: Obtaining a target valve disc displacement according to the target vibration frequency;
[0053] S82: Obtaining a deviation operation time by combining the target valve disc displacement with the target displacement;
[0054] S83: Add the deviation operation duration, the target vibration frequency, and the deviation direction to the electromagnetic operation parameters.
[0055] Optionally, the friction force verification method includes:
[0056] S90: collect the ambient temperature of the self-closing valve;
[0057] S91: Obtaining operating heat per unit time in response to the electromagnetic operating power and the actual gas flow rate;
[0058] S92: Obtaining a detection temperature by combining the ambient temperature and the operating heat;
[0059] 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.
[0060] In a second aspect, the present application provides an AI self-closing valve, which adopts the following technical solution:
[0061] An AI self-closing valve, comprising:
[0062] An acquisition module, used to acquire surrounding images and gas stove images;
[0063] A memory for storing a program for a control method of an AI self-closing valve;
[0064] The processor is configured to load and execute the program stored in the memory.
[0065] In summary, this application includes at least one of the following beneficial technical effects:
[0066] 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;
[0067] 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;
[0068] 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
[0069] 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;
[0070] 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;
[0071] Figure 3 1 is a schematic diagram of flow control performed by a self-closing valve according to an embodiment of the present invention.
[0072] 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
[0073] The present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0074] 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:
[0075] S10: Collecting images around the gas stove.
[0076] The surrounding image refers to the image around the gas stove, and the image around the gas stove is captured by the camera preset on the self-closing valve 1 as the surrounding image. In this embodiment, the self-closing valve 1 is arranged outside for capturing the surrounding image.
[0077] The self-closing valve 1 comprises an air inlet 2, an air outlet 3, a diaphragm, a spring, a valve flap, a metal part, a detection valve flap 4, a detection spring 5, and an electromagnetic device 6, etc. The valve flap slides in the self-closing valve 1 along the axis direction of the air inlet 2. The diaphragm deforms when subjected to a pressure difference to drive the metal part to move. When the metal part moves, the spring drives the valve flap to generate a driving force to drive the valve flap to slide. The electromagnetic device 6 is an electromagnet, which can be directly connected with an external power source or use a battery. When the battery is out of power, a warning information is sent to the user terminal.
[0078] The detection valve flap 4 slides in the self-closing valve 1 along the axis direction of the air outlet 3. A permanent magnet is arranged on the detection valve flap 4. The electromagnet is arranged on the self-closing valve 1 and 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 end of the detection valve flap 4 away from the air outlet 3. When the electromagnet outputs a magnetic force, the detection valve flap 4 moves away from the electromagnet and stretches the detection spring 5, so as to reduce the unit area of the output gas between the detection valve flap 4 and the air outlet 3 to control the gas flow.
[0079] When the gas pipeline appears overpressure or negative pressure, the electromagnet is powered off, and the self-closing valve 1 still realizes the protection function through the mechanical structure.
[0080] S11: When the surrounding image contains a preset human feature, the image of the gas stove is collected.
[0081] The human feature is the shape and color feature of the human set by the technical personnel. When the surrounding image does not contain the human feature, it means that the gas stove is not used by anyone. At this time, if the gas stove is turned on and no flame is generated, the self-closing valve 1 does not output gas from the air outlet 3, so as to drive the electromagnet to output high power to drive the detection valve flap 4 to block the air outlet 3, and prompt the user to close the manual gas valve. When the electromagnetic valve blocks the air outlet 3, the protection mechanism of the self-closing valve 1 for detecting overpressure is not triggered.
[0082] The gas stove image refers to the image of the gas stove connected to the same gas passage as the self-closing valve 1. When the surrounding image contains a human feature, it means that someone is operating the gas valve, and the image of the gas stove is captured by the camera on the self-closing valve 1 as the gas stove image.
[0083] S12: The actual gas flow is identified through the gas stove image.
[0084] 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.
[0085] S13: Responding to the actual gas flow rate to obtain electromagnetic operating parameters.
[0086] 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.
[0087] S14: The valve flap of the air outlet 3 of the self-closing valve 1 is used as the detection valve flap 4.
[0088] 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 .
[0089] 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;
[0090] 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.
[0091] S16: Obtaining the type and location of the foreign object based on the sound detection information;
[0092] 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.
[0093] 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.
[0094] 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.
[0095] Methods for obtaining electromagnetic operating parameters include:
[0096] S20: Obtaining a gas passing area in response to the actual gas flow rate.
[0097] 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.
[0098] 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.
[0099] S21: Collect and inspect the inspection specifications of the valve disc 4.
[0100] 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.
[0101] S22: Obtain electromagnetic operating parameters by detecting specifications and gas passing area.
[0102] The electromagnetic operating parameters are obtained by analyzing the detection specifications and the gas passing area.
[0103] Also includes:
[0104] S30: Obtaining a detection displacement in response to the gas passing area and the detection specification.
[0105] 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.
[0106] S31: The spring retraction force is obtained by detecting the displacement and the preset spring specifications.
[0107] 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.
[0108] S33: Obtain electromagnetic operating power through the spring retraction force, and define the electromagnetic operating power as an electromagnetic operating parameter.
[0109] 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.
[0110] 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.
[0111] Methods for obtaining the type and location of foreign matter include:
[0112] S40: When the sound detection information includes a preset foreign body timbre, obtaining the foreign body type in response to the sound detection information;
[0113] 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.
[0114] 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.
[0115] S41: The valve disc 4 is tested against the preset self-closing valve specification to obtain a close fitting range.
[0116] 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.
[0117] S42: Retrieving the detection sound source position of the foreign body sound from the sound detection information;
[0118] 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.
[0119] S43: The detected sound source position within the close proximity range is regarded as the foreign object position.
[0120] The foreign object position is determined by detecting the sound source position within the close proximity.
[0121] Update electromagnetic operating parameters include:
[0122] S50: Obtain the detection distance through the electromagnetic operation power and the preset unit time.
[0123] The unit time is a time length value set by a technician for the electromagnetic device 6 to operate at the electromagnetic operating power.
[0124] 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.
[0125] S51: Obtain the running distance through the unit time and the detection position.
[0126] 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.
[0127] S52: Calculate the difference between the running distance and the detection distance as the distance deviation value.
[0128] 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.
[0129] S53: Obtaining friction force in response to the distance deviation value.
[0130] 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.
[0131] S54: Update the electromagnetic operating parameters according to the type of foreign matter, the electromagnetic operating power, and the friction force.
[0132] New electromagnetic operating parameters are obtained by analyzing the foreign matter type, electromagnetic operating power and friction force.
[0133] Also includes:
[0134] S60: Obtaining a periodic alternation frequency according to the type of foreign matter.
[0135] 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.
[0136] S61: Increase power by periodically alternating frequency and friction.
[0137] 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.
[0138] S62: Obtain the remaining displacement by the foreign body timbre and the detected displacement.
[0139] 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.
[0140] S63: Obtaining a mark displacement in response to the foreign object position and the detection specification.
[0141] 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.
[0142] 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.
[0143] 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.
[0144] Also includes:
[0145] 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.
[0146] 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.
[0147] S71: Obtain the deviation direction through the displacement deviation value and the foreign body position.
[0148] 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.
[0149] S72: Obtaining a deviation vibration frequency in response to the deviation direction and the foreign matter type.
[0150] 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.
[0151] S73: Obtain the foreign matter displacement through the deviation vibration frequency.
[0152] 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.
[0153] S74: Responding to the foreign matter displacement, the deviation vibration frequency, and the deviation direction to update the electromagnetic operation parameters.
[0154] New electromagnetic operating parameters are obtained by analyzing the foreign body displacement, deviation vibration frequency and deviation direction.
[0155] Also includes:
[0156] 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.
[0157] 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.
[0158] S81: Obtain the target valve displacement amount by the target vibration frequency.
[0159] The target valve displacement amount refers to the amount of displacement of the detection valve 4 per unit time when the detection valve 4 is vibrated at the target vibration frequency. The change power per unit time is obtained by the target vibration frequency according to S61, and the distance obtained according to S50 is taken as the target valve displacement amount.
[0160] S82: Obtain the deviation running time by the target valve displacement amount and the target displacement amount.
[0161] The deviation running time refers to the time length value required to drive the detection valve 4 to slide towards the deviation direction. The deviation running time is matched from the electromagnetic comparison table by the target valve displacement amount and the target displacement amount. The electromagnetic comparison table stores different target valve displacement amounts and target displacement amounts corresponding to the deviation running time. The smaller the deviation value between the target valve displacement amount and the target displacement amount, the smaller the distance between the foreign object position and the side of the detection valve 4 away from the gas outlet 3. The larger the target valve displacement amount, the larger the remaining displacement amount, and the longer the time to reach the consistency between the remaining displacement amount and the distance between the foreign object position and the side of the detection valve 4 away from the gas outlet 3. Details are not described here.
[0162] S83: Add the deviation running time, the target vibration frequency, and the deviation direction to the electromagnetic running parameters.
[0163] The deviation running time, the target vibration frequency, and the deviation direction are added to the electromagnetic running parameters.
[0164] The friction checking method comprises:
[0165] S90: Collect the ambient temperature of the self-closing valve 1.
[0166] The ambient temperature refers to the temperature value of the environment around the self-closing valve 1. The parameter detected by the temperature sensor preset on the self-closing valve 1 is taken as the ambient temperature.
[0167] S91: Obtain the running heat per unit time in response to the electromagnetic running power and the actual gas flow.
[0168] The running heat refers to the heat transferred by the detection valve 4 through the flow of gas when the electromagnet runs at the electromagnetic running power per unit time. The running heat is matched from the preset heat comparison table by the electromagnetic running power and the actual gas flow. The heat comparison table stores different electromagnetic running powers and actual gas flows corresponding to the running heat. When the specification parameters of the detection valve 4 and the parameters of the heat carried by the gas remain unchanged, the larger the electromagnetic running power and the actual gas flow, the larger the running heat. The parameters in the heat comparison table are set by the person skilled in the art according to the actual situation in advance, and details are not described here.
[0169] S92: Obtain the detection temperature by comparing the ambient temperature with the operating heat.
[0170] 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.
[0171] 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.
[0172] 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.
[0173] 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.
[0174] Based on the same inventive concept, an embodiment of the present invention provides an AI self-closing valve, comprising:
[0175] An acquisition module is used to acquire surrounding images, gas stove images, detection specifications, detection locations, sound detection information, and ambient temperature;
[0176] A memory for storing a program for a control method of an AI self-closing valve;
[0177] The processor is configured to load and execute the program stored in the memory.
[0178] 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.
[0179] The above merely describes the preferred embodiments of the present application, and the protection scope of the present application is not limited to the above-described embodiments. Any technical solution falling within the concept of the present application shall fall within the protection scope of the present application. It should be noted that, for ordinary skilled persons in the art, some improvements and refinements without departing from the principles of the present application shall also be considered as falling within the protection scope of the present application.
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 operating 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 disc to slide according to the electromagnetic operating parameters; 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: Obtaining the electromagnetic operation parameters according to the detection specifications and the gas passing area; 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 according to the spring retraction force, and defining the electromagnetic operating power as the electromagnetic operating parameter; 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: taking the detected sound source position within the close contact range as the foreign object position; 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.
2. The control method of an AI self-closing valve according to claim 1, 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.
3. The control method of an AI self-closing valve according to claim 2, 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.
4. The control method of an AI self-closing valve according to claim 3, 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.
5. The control method of an AI self-closing valve according to claim 4, 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.
6. 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 5; 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