Control method of gas valve body, controller and stove
By setting up a gas valve body and controller in the stove, and automatically adjusting the valve body gear using sensors and neural network models, the problem of inconsistent cooking effects under different air pressures is solved, precise control of gas use and energy savings are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202510613743.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-08-12
AI Technical Summary
In modern smart stoves, due to the different gas pressures of different households, the same recipes and cooking parameters cannot be copied directly, resulting in unsatisfactory cooking results, and may even cause food to burn or gas waste, affecting the user experience.
By setting up a gas valve body and controller in the stove, using the air flow sensor and air pressure sensor to monitor the gas pressure and flow in real time, and combining with the neural network model, the valve body gear position is automatically adjusted to ensure that the gas usage rate meets the preset standards and achieves accurate control of the gas flow.
It realizes automatic adjustment of the stove gear according to the current gas pressure to ensure that the cooking effect is consistent with the preset recipes, reduce energy waste, and improve user experience.
Smart Images

Figure CN120466705A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of kitchen appliance control, and in particular to a control method, a controller and a stove of a gas valve body. Background Art
[0002] Modern smart stoves often use preset recipes to automatically control the heat, simplifying the cooking process and improving efficiency. However, because gas pressure varies between households, the same recipes and cooking parameters cannot be directly replicated, resulting in suboptimal cooking results and even potentially burning or incomplete cooking of food, wasting gas and impacting the user experience. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a gas valve body control method, controller and stove, which can automatically adjust the stove gear according to the current gas pressure, so as to ensure that the cooking effect is consistent with the preset recipe, thereby reducing energy waste and improving user experience.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling a gas valve body, which is applied to a controller of a stove, the stove including a controller and a gas valve body; the controller is connected to the gas valve body and is communicatively connected to an external host computer; the method includes: when a cooking request is received from a user, obtaining pre-stored target recipe information from the host computer based on the cooking request; the cooking request includes a target recipe number; the target recipe information includes at least one standard gas consumption and a standard cooking time corresponding to the standard gas consumption; based on the standard gas consumption, standard cooking time and a preset gas usage rate calculation method, determining the standard gas usage rate corresponding to the target recipe information; obtaining a current gas pressure value, inputting the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and outputting a target gear number corresponding to each standard gas consumption; and controlling the gas valve body to rotate to the corresponding target gear number in sequence based on the cooking steps and standard cooking time in the target recipe information.
[0005] Furthermore, the gas usage rate model is trained by the following method: obtaining the initial gear information and historical cooking data corresponding to the gas valve body; the initial gear information includes the initial gas usage rate corresponding to each gear number under the standard gas pressure; the historical cooking data includes the historical gas usage rates corresponding to at least two gear numbers under different historical gas pressures; based on the historical cooking data and the preset gas adjustment coefficient calculation method, the gas adjustment coefficient corresponding to each historical gas pressure is calculated; according to each gas adjustment coefficient, the historical gas usage rate corresponding to each gear number under each historical gas pressure is calculated; using the historical gas pressure value and the historical gas usage rate as input and the gear number as output, the initial neural network model is trained until the preset training conditions are met to obtain a trained gas usage rate model.
[0006] Furthermore, the gas valve body includes a gas flow sensor, and the gas valve body is connected to the gas pipeline through the gas flow sensor; based on the cooking steps and standard cooking time in the target recipe information, the steps of controlling the gas valve body to rotate to the target gear number in sequence include: S1: based on the cooking steps, controlling the gas valve body to rotate to the current gear number; S2: obtaining the real-time gas consumption collected by the gas flow sensor at a preset time interval, and determining the real-time gas consumption rate corresponding to the real-time gas consumption based on the gas consumption rate calculation method; S3: judging whether the real-time gas consumption rate is within the preset range of the standard gas consumption rate; S4: if the real-time gas consumption rate is within the preset range of the standard gas consumption rate, If the real-time gas usage rate is within the preset range of the standard gas usage rate, the gas valve body is controlled to maintain the current position; S5: if the real-time gas usage rate is not within the preset range of the standard gas usage rate, the gear adjustment angle of the gas valve body is determined based on the difference between the real-time gas usage rate and the standard gas usage rate, and the preset angle-gas usage rate correspondence, and the gas valve body is controlled to rotate the gear adjustment angle; S6: repeat steps S2-S5 until the real-time cooking time corresponding to the current gear number is equal to the standard cooking time, and based on the cooking step, the gas valve body is controlled to rotate to the next gear number; S7: repeat steps S2-S6 until the real-time cooking time corresponding to each target gear number is equal to the standard cooking time.
[0007] Furthermore, the stove also includes an ignition needle connected to the controller; the gas valve body includes a valve plug and a motor; the motor is used to drive the valve plug to rotate; based on the cooking steps and standard cooking time in the target recipe information, the gas valve body is controlled to rotate in sequence to before the step of the target gear number; the method also includes: controlling the motor to drive the valve plug to rotate to the maximum gear number so that the air inlet of the gas pipeline and the outlet of the valve plug completely overlap; controlling the ignition needle to discharge to ignite the gas released through the gas pipeline, so that the stove enters the open flame cooking state.
[0008] Furthermore, after the step of making the real-time cooking time corresponding to each target gear number the same as the standard cooking time corresponding to each target gear number, the method also includes: controlling the motor to drive the valve plug to rotate to zero position so that the air inlet of the gas pipeline and the outlet of the valve plug do not overlap at all, thereby turning off the stove.
[0009] Furthermore, the stove also includes a positioning device; the positioning device is communicatively connected to the controller; when a cooking request is received from the user, before the step of obtaining the target recipe information pre-stored in the upper computer based on the cooking request, the method also includes: obtaining the current position information sent by the positioning device; determining the current gas pressure value based on the current position information and the corresponding relationship between the preset position and the gas pressure.
[0010] Furthermore, the stove also includes an air pressure sensor; the air pressure sensor is communicatively connected to the controller; the air pressure sensor is arranged in the gas pipeline; when a cooking request is received from the user, before the step of obtaining the target recipe information pre-stored in the upper computer based on the cooking request, the method also includes: obtaining the gas pressure detection value sent by the air pressure sensor, and determining that the gas pressure detection value is the current gas pressure value.
[0011] In a second aspect, an embodiment of the present invention provides a controller, which is connected to a gas valve body and is communicatively connected to an external host computer; the controller includes: a recipe information acquisition module, which is used to obtain pre-stored target recipe information from the host computer based on the cooking request when receiving a cooking request sent by a user; the cooking request includes a target recipe number; the target recipe information includes at least one standard gas consumption and a standard cooking time corresponding to the standard gas consumption; a standard gas usage rate determination module, which is used to determine the standard gas usage rate corresponding to the target recipe information based on the standard gas consumption, standard cooking time and a preset gas usage rate calculation method; a target gear number determination module, which is used to obtain a current gas pressure value, input the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and output a target gear number corresponding to each standard gas consumption; a gas valve body adjustment module, which is used to control the gas valve body to rotate to the corresponding target gear number in sequence based on the cooking steps and standard cooking time in the target recipe information.
[0012] In a third aspect, an embodiment of the present invention provides a stove, comprising a stove body and a gas valve body arranged in the stove body; further comprising the above-mentioned controller, which is arranged in the stove body; the controller is connected to the gas valve body; the gas valve body comprises a valve plug, a motor and a gas flow sensor; the motor is used to drive the valve plug to rotate; the gas valve body is connected to the gas pipeline through the gas flow sensor.
[0013] Furthermore, the outlet of the valve plug and the air inlet of the gas pipeline are located in the same plane; the controller is used to drive the valve plug to rotate through the motor to adjust the relative position of the outlet of the valve plug and the air inlet of the gas pipeline.
[0014] Embodiments of the present invention provide a gas valve control method, controller, and stove. The stove includes a controller and a gas valve. The controller is connected to the gas valve and is in communication with an external host computer. The method comprises: upon receiving a cooking request from a user, obtaining pre-stored target recipe information from the host computer based on the cooking request; the cooking request includes a target recipe number; the target recipe information includes at least one standard gas volume and a standard cooking time corresponding to the standard gas volume; determining the standard gas usage rate corresponding to the target recipe information based on the standard gas volume, the standard cooking time, and a preset gas usage rate calculation method; obtaining a current gas pressure value, inputting the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and outputting a target gear number corresponding to each standard gas volume; and controlling the gas valve to rotate sequentially to the corresponding target gear number based on the cooking steps and standard cooking time in the target recipe information. In this method, the stove gear can be automatically adjusted according to the current gas pressure, thereby ensuring that the cooking effect is consistent with the preset recipe, thereby reducing energy waste and improving the user experience.
[0015] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 A flow chart of a method for controlling a gas valve body according to the first embodiment of the present invention;
[0019] Figure 2 Flowchart of the gas usage rate model training method provided in Example 1 of the present invention;
[0020] Figure 3 This is a flow chart of a method for a cooker to enter an open flame cooking state provided in the first embodiment of the present invention;
[0021] Figure 4This is a flow chart of a method for controlling a gas valve body to rotate to target gear numbers in sequence, provided in Example 1 of the present invention;
[0022] Figure 5 A schematic diagram of a controller provided in Embodiment 2 of the present invention;
[0023] Figure 6 This is a schematic diagram of a stove provided in Example 3 of the present invention.
[0024] Icons: 1-burner; 2-gas delivery pipe; 3-valve plug; 4-gas valve body; 5-motor; 6-connecting rod; 7-gas flow sensor; 21-recipe information acquisition module; 22-standard gas usage rate determination module; 23-target gear number determination module; 24-gas valve body adjustment module. DETAILED DESCRIPTION
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0026] To facilitate understanding of this embodiment, the embodiment of the present invention is described in detail below.
[0027] Example 1:
[0028] Figure 1 This is a flow chart of a method for controlling a gas valve body provided in Embodiment 1 of the present invention.
[0029] A gas valve body control method is applied to a cooker controller. The cooker includes a controller and a gas valve body. The controller is connected to the gas valve body and is in communication with an external host computer.
[0030] Here, the host computer can be a cloud server or a local storage device, which stores recipes sent by different users. Each recipe is assigned a unique recipe number, which is used to distinguish different recipes. This helps users quickly find the desired dish when selecting a recipe and call up the corresponding cooking parameters by the recipe number.
[0031] The recipe may include the recipe name, ingredient type, ingredient quantity, cooking steps, and cooking parameters corresponding to each cooking step. Cooking steps can be heating, boiling, simmering, collecting sauce, etc. Each step has clear operating requirements, and the controller can perform gas adjustment in sequence according to these steps. The cooking parameters include the standard gas consumption and standard cooking time corresponding to each step under the standard gas pressure (here, the standard gas pressure is set to 2KPa). For example, boiling on high heat for 5 minutes requires 200L of gas; simmering on medium heat for 20 minutes requires 600L of gas.
[0032] In a stove, the gas valve body includes a gas flow sensor, which is connected to the gas pipeline via the gas flow sensor. The stove also includes an ignition needle connected to a controller. The gas valve body includes a valve plug and a motor; the motor is used to drive the valve plug to rotate.
[0033] The valve plug rotates to adjust the relative position of its opening to the gas pipe inlet. When the valve plug's outlet is perfectly aligned with the gas pipe inlet, gas flows at maximum flow. When the valve plug is rotated to the point where they are partially or completely misaligned, gas flow is reduced or completely blocked. The valve plug and the gas pipe inlet are located on the same plane. Rotating the valve plug changes the degree of overlap between the outlet and inlet, thereby controlling the gas flow rate and, in turn, the cooktop's heat output.
[0034] Reference Figure 1 , a gas valve body control method comprising:
[0035] Step S101, when a cooking request is received from a user, pre-stored target recipe information is obtained from a host computer based on the cooking request; the cooking request includes a target recipe number; the target recipe information includes at least one standard gas consumption and a standard cooking time corresponding to each standard gas consumption.
[0036] Here, the user can select the target recipe through the device interface (such as the control panel of the stove or the mobile application) and send a cooking request to the controller, which will obtain the target recipe information associated with the target recipe number from the host computer.
[0037] Step S102: determining a standard gas usage rate corresponding to the target recipe information based on the standard gas usage, the standard cooking time, and a preset gas usage rate calculation method.
[0038] Here, the gas usage rate usually refers to the gas consumption per unit time, and the gas usage rate is the ratio of gas consumption to cooking time.
[0039] Step S103: obtaining the current gas pressure value, inputting the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and outputting the target gear number corresponding to each standard gas usage.
[0040] Because gas pressure fluctuates due to factors such as geographic location and environmental changes, the current gas pressure may differ from the standard gas pressure. To adjust the gas flow to maintain consistent performance under varying gas pressures, the controller inputs the current gas pressure and the standard gas usage rate into a pre-trained model. This model, trained using historical data and a neural network, automatically outputs the gas usage rate corresponding to each gear number under the current pressure conditions, thereby determining the appropriate gear number.
[0041] In one embodiment, referring to Figure 2 ,In step S103, the gas usage rate model is trained by the following method;
[0042] Step S201, obtain the initial gear information and historical cooking data corresponding to the gas valve body; the initial gear information includes the initial gas usage rate corresponding to each gear number under the standard gas pressure; the historical cooking data includes the historical gas usage rates corresponding to at least two gear numbers under different historical gas pressures.
[0043] Here, the initial gear information refers to the gas usage rate corresponding to each gear under standard gas pressure. This is measured under ideal gas pressure conditions when the gas valve body leaves the factory and serves as the baseline value for the power gear. For example, high fire (gear 9) may correspond to a gas usage rate of 0.8L / s, while medium fire (gear 5) may correspond to 0.5L / s.
[0044] Historical cooking data is collected from users' actual cooking experiences under different gas pressures. It includes actual gas usage rates at different cooking speeds and pressures. For example, gas usage at different pressures, such as 1.5 kPa and 2.5 kPa, is recorded. Historical cooking data reflects changes in gas flow under different conditions.
[0045] Step S202 : Calculate the gas adjustment coefficient corresponding to each historical gas pressure based on the historical cooking data and a preset gas adjustment coefficient calculation method.
[0046] The gas adjustment factor represents the correction to the gas usage rate at non-standard gas pressures. The gas adjustment factor is calculated for each gas pressure by comparing the actual gas usage rate at different gas pressures with the gas usage rate at standard pressures.
[0047] Among them, if the gas flow rate decreases at a lower gas pressure, the adjustment coefficient may be less than 1; if the gas flow rate increases at a higher gas pressure, the adjustment coefficient may be greater than 1.
[0048] Specifically, assuming that the initial gas usage rate of each gear code at the standard gas pressure is known to be R i,std , (the gas usage rate of gear i at the standard gas pressure), and the historical gas usage rate R of any two gears j and k at a historical gas pressure j,curr and R k,curr .
[0049] Assume that the standard gas pressure is P std , the historical gas pressure is P curr , establish the relationship as shown in formula (1):
[0050]
[0051] Among them, C is the gas adjustment coefficient, R j,std and R k,std is the standard gas usage rate of j and k at standard gas pressure.
[0052] The historical gas usage rate of each gear number under the historical gas pressure is calculated through C.
[0053] Step S203 , calculating the historical gas usage rate corresponding to each gear number at each historical gas pressure according to each gas adjustment coefficient.
[0054] Here, the gas usage rate corresponding to each gear number under a specific historical gas pressure is calculated by combining each gas adjustment coefficient and the initial gear information.
[0055] In step S204, the historical gas pressure value and the historical gas usage rate are used as input and the gear number is used as output to train the initial neural network model until the preset training conditions are met to obtain a trained gas usage rate model.
[0056] Here, the initial neural network model inputs include gas pressure values and corresponding gas usage rates from historical cooking data. This input data helps the model learn the relationship between gas pressure changes and gas usage rates. The model output is the gear number for each gas pressure condition—that is, which gear, at the current gas pressure, provides the same gas flow as at the standard gas pressure.
[0057] By training on a large amount of historical data, the model gradually learns how to adjust the gear under different gas pressures so that the output gas usage rate is the same as or close to the standard gas usage rate. The training process continues until the model reaches the expected accuracy under pre-set evaluation criteria (such as error threshold).
[0058] In one embodiment, the cooker further includes a positioning device; the positioning device is communicatively connected to the controller.
[0059] Before step S101, the method further includes:
[0060] Get the current location information sent by the positioning device.
[0061] Here, a positioning device installed in the stove, such as a GPS or a positioning module based on wireless signals, is connected to the controller. The positioning device can obtain the geographical location of the stove (for example, longitude and latitude and altitude) and send this location information to the controller.
[0062] The current gas pressure value is determined based on the current position information and the preset correspondence between the position and the gas pressure.
[0063] The controller stores the corresponding relationship between location and gas pressure, listing the corresponding gas pressure at different geographic locations (especially at different altitudes). For example, the air pressure at higher altitudes is generally lower, while the air pressure in plain areas is relatively higher. The controller searches for the corresponding gas pressure data based on the location information obtained by the positioning device.
[0064] In one embodiment, the cooker further includes an air pressure sensor; the air pressure sensor is communicatively connected to the controller; and the air pressure sensor is disposed in the gas pipeline.
[0065] Here, the stove is equipped with a gas pressure sensor to detect the actual gas pressure in the gas pipeline. The sensor is usually installed in the gas pipeline where it can sense the pressure in the pipeline in real time and transmit the detection value to the stove controller via an electronic signal.
[0066] Before step S101, the method further includes:
[0067] Obtain the gas pressure detection value sent by the gas pressure sensor, and determine that the gas pressure detection value is the current gas pressure value.
[0068] Here, since the gas pressure changes with external conditions (such as gas supply pressure fluctuations, stove position, etc.), real-time gas pressure detection can ensure precise control of gas use.
[0069] Step S104: Based on the cooking steps and standard cooking time in the target recipe information, the gas valve body is controlled to rotate to the corresponding target gear numbers in sequence.
[0070] In one embodiment, the gas valve body includes a gas flow sensor, and the gas valve body is connected to the gas pipeline through the gas flow sensor.
[0071] Here, the gas flow sensor can monitor the gas flow through the pipeline in real time. The gas flow data captured by the gas flow sensor directly reflects the current gas usage and transmits this data to the stove controller.
[0072] In one embodiment, the stove further includes an ignition needle connected to the controller; the gas valve body includes a valve plug and a motor; and the motor is used to drive the valve plug to rotate.
[0073] Here, the valve plug in the gas valve body rotates under the control of a motor. The motor adjusts the valve plug's position based on commands from the controller, thereby controlling the gas flow. The valve plug's position determines the degree of overlap between the gas pipeline inlet and the valve plug outlet, which directly affects the gas flow rate.
[0074] The ignition needle is an electrical device that generates sparks through discharge, igniting the gas released from the gas pipe. The ignition needle is usually connected to a controller, which sends signals to control the timing and frequency of its discharge.
[0075] Reference Figure 3 Before step S104, the method further includes:
[0076] Step S301: Control the motor to drive the valve plug to rotate to the maximum gear number so that the gas inlet of the gas pipeline and the outlet of the valve plug completely overlap.
[0077] Before cooking begins, the controller ensures the gas valve is at maximum flow to provide sufficient gas for ignition. After receiving a cooking request and obtaining the target recipe information, the controller first instructs the motor to rotate the valve plug to its maximum position, aligning the gas pipe inlet and the valve plug outlet to maximize gas flow. The maximum position corresponds to maximum heat, for example, position 9, which maximizes gas flow.
[0078] When the valve plug is rotated to the designated position, the gas pipeline's inlet and outlet are completely aligned, allowing gas to flow unimpeded through the pipeline, creating a stable flow for combustion. This ensures sufficient gas for rapid ignition. The automated, motor-driven valve plug rotation eliminates manual valve adjustment and ensures precise gas flow control before ignition.
[0079] Step S302: Control the ignition needle to discharge to ignite the gas released through the gas pipeline, so that the cooker enters an open flame cooking state.
[0080] Here, after the valve plug is in its maximum position and the gas flow in the gas pipeline reaches its peak, the controller instructs the ignition pin to discharge. This pin generates a high-voltage spark, igniting the gas released from the pipeline, creating an open flame. This process ensures the cooktop is ready for cooking and provides the basis for subsequent heat adjustment.
[0081] Ignition pins are often designed with protection mechanisms, such as preventing discharge when gas flow is insufficient, to avoid safety risks caused by gas leaks. Furthermore, if ignition fails, the controller may automatically close the gas valve and retry ignition to ensure safety during use.
[0082] Once the gas is ignited, the cooker enters open flame cooking mode, with gas continuously flowing through the pipes and forming a stable flame through the burner. At this point, the controller begins executing the subsequent cooking steps, adjusting the heat level and cooking time according to the recipe information.
[0083] Reference Figure 4 The steps of step S104 include:
[0084] Step S1: Based on the cooking steps, control the gas valve body to rotate to the current gear number.
[0085] Here, the target gear number includes the current gear number. After cooking starts, the controller controls the gas valve body to rotate to the gear number corresponding to the first cooking step.
[0086] Step S2: obtaining the real-time gas usage collected by the gas flow sensor at preset time intervals, and determining the real-time gas usage rate corresponding to the real-time gas usage based on the gas usage rate calculation method.
[0087] Here, the preset time interval can be pre-set according to actual conditions, and can be set to every second or every 5 seconds. For example, the controller reads the data of the air flow sensor every 5 seconds to obtain the actual air consumption at the current moment.
[0088] Step S3: Determine whether the real-time gas usage rate is within a preset range of the standard gas usage rate.
[0089] Here, the preset range can be pre-set according to actual conditions, and can be set to a certain percentage above or below the standard rate (for example, ±1%).
[0090] By comparing real-time gas usage with the standard gas usage rate, the controller ensures that real-time gas usage matches the recipe's preset standard, ensuring stable heat and consistent cooking results. If the gas usage rate deviates, the controller responds immediately to ensure that the gas usage rate quickly returns to the standard range.
[0091] Step S4: If the real-time gas usage rate is within the preset range of the standard gas usage rate, the gas valve body is controlled to maintain the current position.
[0092] Here, if the real-time gas usage rate is within the allowable standard range, the controller does not need further adjustment, the gas valve body remains in the current gear, and continues to output gas steadily, ensuring that the gas flow is in a stable state without the need for additional adjustment, maintaining the firepower of the current cooking step.
[0093] Step S5: If the real-time gas usage rate is not within the preset range of the standard gas usage rate, the gear adjustment angle of the gas valve body is determined based on the difference between the real-time gas usage rate and the standard gas usage rate, and the preset angle-gas usage rate correspondence, and the gas valve body is controlled to rotate the gear adjustment angle.
[0094] The angle-gas usage rate relationship is pre-set based on actual conditions. It represents the relationship between the rotation angle of the gas valve body and the gas usage rate. It describes the change in gas valve opening and gas flow at each angle. Using this relationship, the controller can calculate the required adjustment angle based on the difference between the actual usage rate and the standard rate.
[0095] Based on the calculated adjustment angle, the controller drives the motor to rotate the valve body, gradually changing the valve plug opening to adjust the gas flow. This rotation angle can be fixed or fine-tuned using PID control (proportional-integral-differential control) to ensure smooth and precise adjustment.
[0096] The valve body's rotational speed (angular velocity) can be set to a constant value, or PID control can be used to gradually adjust the angular velocity for smoother control, avoiding errors caused by overly fast or slow adjustments. PID control allows the controller to dynamically adjust the valve plug's rotational speed, ensuring that gas flow quickly returns to the specified range without overshooting.
[0097] During the adjustment process, the gas flow sensor continues to upload real-time gas usage at preset intervals. The controller uses this continuous sensor data to continuously compare the actual gas usage rate with the target gas rate, gradually adjusting the valve body angle until the difference between the two narrows to within a preset range (e.g., within 1%), at which point further adjustments cease.
[0098] Step S6: Repeat steps S2-S5 until the real-time cooking time corresponding to the current gear number is equal to the standard cooking time, and control the gas valve body to rotate to the next gear number based on the cooking step.
[0099] Here, during the current cooking step, the system will continuously repeat the process from S2 to S5, monitor and adjust the gas usage rate in real time to ensure stable gas usage until the cooking time of the current step is completed.
[0100] When the cooking time reaches the set value, the controller will drive the motor to control the valve plug to rotate to the next gear number according to the next step in the recipe and proceed to the next step.
[0101] The controller will automatically make the next adjustment when the cooking time reaches the standard cooking time, ensuring that each cooking stage is seamless.
[0102] Step S7: Repeat steps S2-S6 until the real-time cooking time corresponding to each target gear number is equal to the standard cooking time.
[0103] Here, the controller completes each cooking step step by step, ensuring that the actual cooking time of each step is consistent with the standard cooking time. When all cooking steps are completed, the controller will terminate the operation and notify the user that cooking is complete.
[0104] In one embodiment, after step S7, the method further includes:
[0105] The control motor drives the valve plug to rotate to the zero position so that the gas inlet of the gas pipeline and the outlet of the valve plug do not overlap at all, thereby shutting down the cooker.
[0106] Here, the zero position refers to the closed valve plug of the gas valve body. In the zero position, the valve plug outlet does not overlap with the gas inlet of the gas pipe, blocking the flow of gas. This means that gas cannot pass through the valve to the stove, the gas flow is zero, and the stove flame is extinguished.
[0107] When the valve plug is rotated to the zero position, the valve plug outlet (the channel allowing gas to pass) and the gas pipe inlet are completely offset, which means that no gas can enter the valve from the pipe. At this time, the gas flow is completely blocked, the flame is extinguished, and the stove enters the off state.
[0108] When the controller detects that the real-time cooking time for all cooking steps matches the standard time, it determines that cooking is complete and instructs the motor to rotate the valve plug to zero. The motor controls the valve plug's rotation angle, gradually adjusting it from its current position to a fully closed state, ensuring that the gas supply is completely stopped.
[0109] An embodiment of the present invention provides a method for controlling a gas valve body. The cooker includes a controller and a gas valve body. The controller is connected to the gas valve body and is in communication with an external host computer. The method comprises: upon receiving a cooking request from a user, retrieving pre-stored target recipe information from the host computer based on the cooking request; the cooking request includes a target recipe number; the target recipe information includes at least one standard gas usage and a standard cooking time corresponding to the standard gas usage; determining the standard gas usage rate corresponding to the target recipe information based on the standard gas usage, standard cooking time, and a preset gas usage rate calculation method; obtaining a current gas pressure value, inputting the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and outputting a target gear number corresponding to each standard gas usage; and controlling the gas valve body to rotate sequentially to the corresponding target gear number based on the cooking steps and standard cooking time in the target recipe information. In this method, by monitoring the gas usage rate in real time, the valve body angle can be precisely adjusted, thereby ensuring stable heat during cooking. By automatically controlling the motor to drive the valve plug to rotate, the gas flow rate can be dynamically adjusted, thereby improving the cooking success rate. The gas flow sensor and pressure sensor work together to accurately measure the current gas status, adapting to gas control requirements under different pressures. The system automatically shuts off the valve, completely blocking the gas supply and ensuring safety after cooking.
[0110] Example 2:
[0111] Figure 5 This is a schematic diagram of a controller provided in Example 2 of the present invention.
[0112] Here, the controller is set in the stove, the controller is connected to the gas valve body, and is communicated with an external host computer.
[0113] Reference Figure 5 , the controller includes:
[0114] The recipe information acquisition module 21 is used to obtain pre-stored target recipe information from the host computer based on the cooking request when receiving a cooking request sent by the user; the cooking request includes the target recipe number; the target recipe information includes at least one standard gas consumption and a standard cooking time corresponding to the standard gas consumption.
[0115] The standard gas usage rate determination module 22 is used to determine the standard gas usage rate corresponding to the target recipe information based on the standard gas consumption, the standard cooking time and a preset gas usage rate calculation method.
[0116] The target gear number determination module 23 is used to obtain the current gas pressure value, input the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and output the target gear number corresponding to each standard gas usage.
[0117] The gas valve body adjustment module 24 is used to control the gas valve body to rotate to the corresponding target gear number in sequence based on the cooking steps and standard cooking time in the target recipe information.
[0118] In one embodiment, the target gear number determination module 23 is further configured to:
[0119] Obtain the initial gear information and historical cooking data corresponding to the gas valve body; the initial gear information includes the initial gas usage rate corresponding to each gear number under the standard gas pressure; the historical cooking data includes the historical gas usage rates corresponding to at least two gear numbers under different historical gas pressures.
[0120] Based on historical cooking data and a preset gas adjustment coefficient calculation method, the gas adjustment coefficient corresponding to each historical gas pressure is calculated.
[0121] Based on each gas adjustment coefficient, calculate the historical gas usage rate corresponding to each gear number at each historical gas pressure.
[0122] The historical gas pressure value and the historical gas usage rate are used as input, and the gear number is used as output. The initial neural network model is trained until the preset training conditions are met to obtain a trained gas usage rate model.
[0123] In one embodiment, the gas valve body includes a gas flow sensor, and the gas valve body is connected to the gas pipeline via the gas flow sensor. The gas valve body adjustment module 24 is also used to:
[0124] S1: Based on the cooking steps, control the gas valve body to rotate to the current gear number.
[0125] S2: According to a preset time interval, the real-time gas consumption collected by the gas flow sensor is obtained, and the real-time gas consumption rate corresponding to the real-time gas consumption is determined based on the gas consumption rate calculation method.
[0126] S3: Determine whether the real-time gas usage rate is within a preset range of the standard gas usage rate.
[0127] S4: If the real-time gas usage rate is within the preset range of the standard gas usage rate, the gas valve body is controlled to maintain the current position.
[0128] S5: If the real-time gas usage rate is not within the preset range of the standard gas usage rate, based on the difference between the real-time gas usage rate and the standard gas usage rate, and the preset angle-gas usage rate correspondence, determine the gear adjustment angle of the gas valve body, and control the gas valve body to rotate the gear adjustment angle.
[0129] S6: Repeat steps S2-S5 until the real-time cooking time corresponding to the current gear number is equal to the standard cooking time, and control the gas valve body to rotate to the next gear number based on the cooking step.
[0130] S7: Repeat steps S2-S6 until the real-time cooking time corresponding to each target gear number is equal to the standard cooking time.
[0131] In one embodiment, the stove further includes an ignition needle connected to the controller; the gas valve body includes a valve plug and a motor; the motor is used to drive the valve plug to rotate. The gas valve body adjustment module 24 is also used to:
[0132] The control motor drives the valve plug to rotate to the maximum gear number so that the gas inlet of the gas pipeline and the outlet of the valve plug completely coincide with each other.
[0133] The ignition needle is controlled to discharge to ignite the gas released through the gas pipe, so that the cooker enters the open flame cooking state.
[0134] In one embodiment, the gas valve body adjustment module 24 is further configured to:
[0135] The control motor drives the valve plug to rotate to the zero position so that the gas inlet of the gas pipeline and the outlet of the valve plug do not overlap at all, thereby shutting down the cooker.
[0136] In one embodiment, the cooker further includes a positioning device; the positioning device is in communication with the controller. The recipe information acquisition module 21 is further configured to:
[0137] Get the current location information sent by the positioning device.
[0138] The current gas pressure value is determined based on the current position information and the preset correspondence between the position and the gas pressure.
[0139] In one embodiment, the cooker further includes an air pressure sensor; the air pressure sensor is communicatively connected to the controller; and the air pressure sensor is disposed in the gas pipeline. The recipe information acquisition module 21 is further used to:
[0140] Obtain the gas pressure detection value sent by the gas pressure sensor, and determine that the gas pressure detection value is the current gas pressure value.
[0141] An embodiment of the present invention provides a controller that precisely adjusts the valve body angle by real-time monitoring of gas usage, ensuring stable heat during cooking. By automatically controlling the motor to rotate the valve plug, dynamic regulation of gas flow can be achieved, thereby improving cooking success rates. The combined use of a gas flow sensor and an air pressure sensor accurately measures the current gas status, adapting to gas regulation requirements under varying air pressures. By automatically closing the valve, the system completely shuts off the gas supply, ensuring safety after cooking.
[0142] Example 3:
[0143] Figure 6 This is a schematic diagram of a stove provided in Example 3 of the present invention.
[0144] Reference Figure 6 , a stove body and a gas valve body 4 arranged in the stove body; it also includes the above-mentioned controller (not shown in the figure), which is arranged in the stove body; the controller is connected to the gas valve body 4; the gas valve body 4 includes a valve plug 3, a motor 5 and a gas flow sensor 7; the motor 5 is used to drive the valve plug 3 to rotate; the gas valve body 4 is connected to the gas pipeline through the gas flow sensor 7.
[0145] Here, the stove also includes a burner 1, which is connected to a gas valve body 4 via a gas delivery pipe 2. A motor 5 controls the rotation of a valve plug 3 via a connecting rod 6.
[0146] The outlet of the valve plug 3 and the gas inlet of the gas pipeline are located in the same plane.
[0147] The controller is used to drive the valve plug 3 to rotate through the motor 5 to adjust the relative position of the outlet of the valve plug 3 and the gas inlet of the gas pipeline.
[0148] An embodiment of the present invention provides a stove that can achieve precise control of gas flow, thereby ensuring that the firepower during cooking is consistent with the set value, avoiding overfire or underfire, and automatically adjusting the gas supply according to actual gas pressure changes to adapt to cooking needs in different environments, thereby improving the user experience.
[0149] The computer program product provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. For specific implementation, please refer to the method embodiments and will not be repeated here.
[0150] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0151] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.
[0152] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0153] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0154] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for controlling a gas valve body, characterized in that: A controller applied to a cooker, the cooker comprising the controller and a gas valve body; The controller is connected to the gas valve body and is in communication with an external host computer; the method includes: When a cooking request is received from a user, pre-stored target recipe information is obtained from the host computer based on the cooking request; the cooking request includes a target recipe number; the target recipe information includes at least one standard gas consumption and a standard cooking time corresponding to the standard gas consumption; Determining a standard gas usage rate corresponding to the target recipe information based on the standard gas usage, the standard cooking time, and a preset gas usage rate calculation method; Obtain the current gas pressure value, input the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and output the target gear number corresponding to each standard gas usage; Based on the cooking steps in the target recipe information and the standard cooking time, the gas valve body is controlled to rotate to the corresponding target gear number in sequence.
2. The gas valve body control method according to claim 1, characterized in that: The gas usage rate model is trained by the following method: Obtaining initial gear position information and historical cooking data corresponding to the gas valve body; the initial gear position information includes the initial gas usage rate corresponding to each gear position number under a standard gas pressure; the historical cooking data includes historical gas usage rates corresponding to at least two gear positions under different historical gas pressures; Calculating the gas adjustment coefficient corresponding to each of the historical gas pressures based on the historical cooking data and a preset gas adjustment coefficient calculation method; Calculating, according to each of the gas adjustment coefficients, the historical gas usage rate corresponding to each of the gear numbers at each of the historical gas pressures; The historical gas pressure value and the historical gas usage rate are used as input, and the gear number is used as output, and the initial neural network model is trained until the preset training conditions are met to obtain the trained gas usage rate model.
3. The gas valve body control method according to claim 1, characterized in that: The gas valve body includes a gas flow sensor, and the gas valve body is connected to the gas pipeline through the gas flow sensor; The step of controlling the gas valve body to rotate to the target gear number in sequence based on the cooking steps in the target recipe information and the standard cooking time includes: S1: Based on the cooking step, controlling the gas valve body to rotate to the current gear number; S2: acquiring the real-time gas usage collected by the gas flow sensor at preset time intervals, and determining the real-time gas usage rate corresponding to the real-time gas usage based on the gas usage rate calculation method; S3: Determine whether the real-time gas usage rate is within a preset range of the standard gas usage rate; S4: If the real-time gas usage rate is within the preset range of the standard gas usage rate, controlling the gas valve body to maintain a current position; S5: If the real-time gas usage rate is not within the preset range of the standard gas usage rate, determining a gear adjustment angle of the gas valve body based on a difference between the real-time gas usage rate and the standard gas usage rate and a preset angle-gas usage rate correspondence, and controlling the gas valve body to rotate by the gear adjustment angle; S6: Repeat steps S2-S5 until the real-time cooking time corresponding to the current gear number is equal to the standard cooking time, and control the gas valve body to rotate to the next gear number based on the cooking step; S7: Repeat steps S2-S6 until the real-time cooking time corresponding to each target gear number is equal to the standard cooking time.
4. The gas valve body control method according to claim 3, characterized in that: The stove further includes an ignition needle connected to the controller; the gas valve body includes a valve plug and a motor; the motor is used to drive the valve plug to rotate; Before the step of controlling the gas valve body to rotate sequentially to the target gear number based on the cooking steps and the standard cooking time in the target recipe information, the method further includes: Controlling the motor to drive the valve plug to rotate to the maximum gear number so that the gas inlet of the gas pipeline and the outlet of the valve plug completely coincide with each other; The ignition needle is controlled to discharge to ignite the gas released through the gas pipeline, so that the cooker enters an open flame cooking state.
5. The gas valve body control method according to claim 4, characterized in that: After the step of preparing the cooking time corresponding to each target gear number until the real-time cooking time corresponding to each target gear number is the same as the standard cooking time corresponding to each target gear number, the method further includes: The motor is controlled to drive the valve plug to rotate to a zero position so that the gas inlet of the gas pipeline and the outlet of the valve plug do not overlap at all, thereby closing the cooker.
6. The gas valve body control method according to claim 1, characterized in that: The stove also includes a positioning device; the positioning device is communicatively connected to the controller; Before the step of obtaining target recipe information pre-stored in the host computer based on the cooking request when a cooking request is received from the user, the method further includes: Obtaining current location information sent by the positioning device; The current gas pressure value is determined based on the current position information and a preset correspondence between the position and the gas pressure.
7. The gas valve body control method according to claim 1, characterized in that: The cooker further includes an air pressure sensor; the air pressure sensor is communicatively connected to the controller; the air pressure sensor is arranged in the gas pipeline; Before the step of obtaining target recipe information pre-stored in the host computer based on the cooking request when a cooking request is received from the user, the method further includes: The gas pressure detection value sent by the gas pressure sensor is obtained, and the gas pressure detection value is determined to be the current gas pressure value.
8. A controller, characterized in that: The controller is connected to the gas valve body and is in communication with an external host computer; the controller includes: a recipe information acquisition module configured to, upon receiving a cooking request from a user, acquire pre-stored target recipe information from the host computer based on the cooking request; the cooking request including a target recipe number; and the target recipe information including at least one standard gas consumption and a standard cooking time corresponding to the standard gas consumption; a standard gas usage rate determination module, configured to determine a standard gas usage rate corresponding to the target recipe information based on the standard gas usage, the standard cooking time, and a preset gas usage rate calculation method; a target gear number determination module, configured to obtain a current gas pressure value, input the current gas pressure value and the standard gas usage rate into a pre-trained gas usage rate model, and output a target gear number corresponding to each standard gas usage; The gas valve body adjustment module is used to control the gas valve body to rotate to the corresponding target gear number in sequence based on the cooking steps in the target recipe information and the standard cooking time.
9. A stove, characterized in that: The invention comprises a stove body and a gas valve body arranged in the stove body; further comprising the controller according to claim 8, wherein the controller is arranged in the stove body; the controller is connected to the gas valve body; the gas valve body comprises a valve plug, a motor and a gas flow sensor; the motor is used to drive the valve plug to rotate; the gas valve body is connected to the gas pipeline through the gas flow sensor.
10. The cooker according to claim 9, characterized in that: The outlet of the valve plug and the gas inlet of the gas pipeline are located in the same plane; The controller is used to drive the valve plug to rotate through the motor to adjust the relative position of the outlet of the valve plug and the air inlet of the gas pipeline.
Citation Information
Patent Citations
Automatic fire calibrating method of gas type cooking system
CN106257142A
Cooking control method and device for gas stove
CN110986108A
Automatic open fire cooking method and device
CN118564949A