A self-checking control method for a solenoid valve
By connecting the sampling resistors in series on the solenoid self-suction valve, collecting data and generating voltage waveform diagrams, identifying the suction state and power condition, the difficulty of suction valves caused by the increase in the internal resistance of the battery is solved, and the user experience and the reliability of the solenoid valve are improved.
Patent Information
- Application Number
- CN202210937346.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-08-05
AI Technical Summary
When the internal resistance of the existing solenoid self-priming valve increases, it is difficult for the suction valve, resulting in users misjudging it as a fault and poor user experience.
By connecting the sampling resistor in series on the solenoid valve, collecting current and voltage data, generating voltage waveform charts, identifying waveforms, determining whether the solenoid valve is absorbed, and determining the valve opening force threshold range based on the time when the voltage peak occurs, comparing the upper limit of the valve opening current with the threshold range, judging the battery capacity, and issuing a warning signal.
Effectively judge the battery capacity, avoid users' misjudgment of faults, improve user experience, and ensure that the solenoid valve can work normally at low power.
Smart Images

Figure CN115453393B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cookers, and in particular to a self-checking control method of a solenoid valve. Background Art
[0002] The flameout protection of the stove uses the solenoid valve to automatically drop the valve when the power is off, shutting off the gas to ensure safety. The electromagnetic self-priming valve is convenient for users to use. For safety reasons, the stove battery generally uses dry batteries instead of rechargeable lithium batteries to prevent the risk of high-temperature explosion. More and more stoves are using AC power, but when there is a large-scale power outage, it will be extremely inconvenient to not be able to use it. The stove is still mainly powered by batteries. When the electromagnetic self-priming valve is used, when the internal resistance of the battery becomes larger, it is difficult to suck the valve, but it can still be ignited, but if the valve is not opened, there is no gas and it cannot be ignited. Often users do not know the reason and think it is a fault. Instead of changing the battery, it is misjudged as a fault, and the user experience is poor. Summary of the invention
[0003] The present invention aims to solve at least one of the problems existing in the existing related technologies to a certain extent. To this end, the present invention proposes a self-checking control method for a solenoid valve. The method is simple and feasible, and can effectively judge the power status of the battery, thereby issuing a warning signal according to the acquired situation.
[0004] The above purpose is achieved through the following technical solutions:
[0005] A self-checking control method for a solenoid valve, wherein a sampling resistor is connected in series to the solenoid valve, and the self-checking control method for the solenoid valve comprises the following steps:
[0006] Obtaining the current value of the sampling resistor;
[0007] Get the battery voltage value;
[0008] According to the acquired data, a voltage value of the solenoid valve is acquired by a calculation formula;
[0009] Generate a voltage waveform diagram according to the acquired data;
[0010] Performing waveform recognition on the generated voltage waveform diagram, and determining whether the solenoid valve is engaged according to the recognized situation;
[0011] If the solenoid valve is closed, the threshold range corresponding to the current valve opening force is obtained according to the time when the voltage peak appears;
[0012] Obtaining an upper limit value of a valve opening current of the battery;
[0013] Compare the valve opening current upper limit value with the acquired threshold range interval, and obtain the current power status of the battery according to the comparison result;
[0014] A corresponding warning signal is issued according to the battery power status.
[0015] In some implementations, the step of obtaining the current value of the sampling resistor includes:
[0016] Obtaining a voltage value of the sampling resistor;
[0017] According to the acquired data, the current value of the sampling resistor is obtained by the following calculation formula: I sampling = V sampling / R sampling, wherein I sampling is the current value of the sampling resistor, V sampling is the voltage value of the sampling resistor, and R sampling is the preset resistance value of the sampling resistor.
[0018] In some embodiments, the voltage value of the solenoid valve is calculated by the following calculation formula: Vvalve=Vbattery-Isampling*Rinside, wherein Vvalve is the voltage value of the solenoid valve, Vbattery is the voltage value of the battery, I is the current value of the sampling resistor, and Rinside is the resistance value of the internal resistance.
[0019] In some embodiments, the step of performing waveform recognition on the generated voltage waveform diagram and determining whether the solenoid valve is engaged according to the recognized situation includes:
[0020] Determining whether the voltage waveform is monotonically decreasing;
[0021] If yes, it is determined that the solenoid valve is not engaged;
[0022] If not, it is determined that the solenoid valve is closed.
[0023] In some embodiments, the step of obtaining a threshold range interval corresponding to the current valve opening force according to the time when the voltage peak appears includes:
[0024] Determine whether the current voltage peak time is less than the preset valve opening time;
[0025] If yes, it is determined that the current value of the battery is relatively large, and a first threshold range interval corresponding to the current valve opening force is obtained;
[0026] If not, it is determined that the current value of the battery is relatively small, and the second threshold range interval corresponding to the current valve opening force is obtained.
[0027] In some embodiments, the step of comparing the valve opening current upper limit value with the acquired threshold range interval and acquiring the current battery power status according to the comparison result includes:
[0028] Compare the valve opening current upper limit value with the first threshold range and the second threshold range respectively;
[0029] If the upper limit value of the valve opening current is within the first threshold range, it is determined that the current power of the battery is sufficient;
[0030] If the valve opening current upper limit value is within the second threshold range, it is determined that the current power of the battery is insufficient.
[0031] In some embodiments, the upper limit value of the valve opening current of the battery is calculated by the following calculation formula: Imax=Vbattery / (Rinside+Rvalve), wherein Imax is the upper limit value of the valve opening current of the battery, Vbattery is the voltage value of the battery, Rinside is the resistance value of the internal resistance, and Rvalve is the resistance value of the solenoid valve.
[0032] Compared with the prior art, the present invention has at least the following beneficial effects:
[0033] 1. The self-checking control method of the solenoid valve of the present invention is simple and feasible, and can effectively judge the power status of the battery, thereby issuing a warning signal according to the acquired status. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 1 is a flow chart of a solenoid valve self-checking control method according to an embodiment of the present invention;
[0035] Figure 2 is a voltage waveform diagram of the solenoid valve in an embodiment of the present invention;
[0036] Figure 3 is a current waveform diagram of the solenoid valve in the embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of the technical solution for protection of the present invention.
[0038] like Figures 1 to 3As shown, the present embodiment provides a self-check control method for a solenoid valve, which collects the voltage value of the solenoid valve to generate its voltage waveform diagram, and determines whether the solenoid valve is attracted by waveform recognition, thereby obtaining whether the solenoid valve is in an open state; if the solenoid valve is attracted, the attraction time of the solenoid valve is determined by the time when the voltage peak occurs; since the attraction time of the solenoid valve is inversely proportional to the movement speed of the valve core of the solenoid valve, the attraction force of the solenoid valve can be determined, thereby determining the amount of battery valve opening margin, and then, issuing a warning signal based on the acquired situation; the method is simple and feasible, and can effectively judge the battery power status, thereby issuing a warning signal based on the acquired situation.
[0039] In this embodiment, the ignition principle of the ion induction flameout protection cooker is:
[0040] According to the conductive characteristics of flame ions, the size of the flame ion current is used to determine whether it is burning; when the flame goes out, the solenoid valve is powered off, the gas passage is closed, and the risk of gas leakage is prevented. It can be seen that power failure and valve drop are safety mechanisms. When the stove is burning, the solenoid valve is in a closed state, and when the fire is turned off, the gas valve is in a disconnected state, which ensures that the solenoid valve is disconnected when the battery runs out of power. Before ignition, because the solenoid valve is in a disconnected state, it is necessary to suck the valve at this time, and the valve core is at the far end of the valve body, which requires a larger current. When using dry batteries, due to the existence of internal resistance, and the longer the use time, the greater the change in internal resistance, when the internal resistance is large to a certain extent, the internal resistance is divided, resulting in insufficient driving voltage of the solenoid valve and the inability to open the valve normally. At this time, the ignition work often produces a normal circuit operation, which can ignite but cannot open the valve, but cannot ignite. Because there is no prompt, the user does not know the reason, and the false report repair is wasted unnecessary time.
[0041] like Figure 1 As shown, the self-check control method of the solenoid valve in this embodiment specifically includes the following steps:
[0042] Step S101, obtaining the current value of the sampling resistor.
[0043] Specifically, the step of obtaining the current value of the sampling resistor includes:
[0044] Get the voltage value of the sampling resistor;
[0045] According to the acquired data, the current value of the sampling resistor is obtained by the following calculation formula: I sampling = V sampling / R sampling, where I sampling is the current value of the sampling resistor, V sampling is the voltage value of the sampling resistor, and R sampling is the preset resistance value of the sampling resistor.
[0046] In this embodiment, since a sampling resistor is connected in series to the circuit of the solenoid valve, the current change can be measured through the sampling resistor after amplifying the sampling voltage.
[0047] Step S102, obtaining the voltage value of the battery.
[0048] Step S103, obtaining the voltage value of the solenoid valve through a calculation formula according to the acquired data.
[0049] Specifically, the voltage value of the solenoid valve is calculated by the following calculation formula: Vvalve=Vbattery-Isample*Rinside, where Vvalve is the voltage value of the solenoid valve, Vbattery is the voltage value of the battery, I is the current value of the sampling resistor, and Rinside is the resistance value of the internal resistor.
[0050] Step S104: generating a voltage waveform diagram according to the acquired data.
[0051] In this embodiment, since the stove is powered by a battery, but the battery has internal resistance, the current voltage value of the solenoid valve can be directly collected through the AD acquisition module. Due to the large internal resistance, the change in the voltage value of the solenoid valve can reflect its current change. The solenoid valve's pull-in time is a few milliseconds to hundreds of milliseconds. The voltage value of the solenoid valve needs to be sampled at a faster sampling rate, and then the sampled data is smoothed and filtered to remove interference waveforms, thereby generating a voltage waveform graph based on the acquired data.
[0052] Step S105, performing waveform recognition on the generated voltage waveform diagram, and determining whether the solenoid valve is engaged based on the recognized situation.
[0053] Specifically, the steps of performing waveform recognition on the generated voltage waveform diagram and determining whether the solenoid valve is attracted according to the recognized situation include:
[0054] Determine whether the voltage waveform is monotonically decreasing;
[0055] If yes, it is concluded that the solenoid valve is not engaged;
[0056] If not, it is determined that the solenoid valve is closed.
[0057] In this embodiment, the generated voltage waveform is subjected to waveform recognition. If the voltage change waveform is a monotonic voltage drop, it is determined that the solenoid valve is not attracted, that is, the solenoid valve has no attraction phenomenon; if the voltage waveform is not a monotonic voltage drop, that is, the voltage waveform drops and then rises, and then drops again and the final voltage value is lower than the voltage value before the rise, it can be explained that the solenoid valve has a peak voltage, and then it is explained that the solenoid valve moves, that is, it is determined that the solenoid valve is attracted.
[0058] If the voltage waveform is not a monotonic voltage drop, it means that the solenoid valve has a peak voltage. The position of the maximum value of the peak voltage is the solenoid valve's pull-in time. The time from opening the solenoid valve to the pull-in time is the time when the solenoid valve increases the current to the force generated by the current is greater than the valve opening force, that is, the solenoid valve's opening time to its pull-in time. Because the current change is RL series excitation, the solenoid valve's opening time is related to the battery's voltage value and can be estimated, so the solenoid valve's pull-in time can be estimated. The longer the pull-in time, the lower the battery power. Conversely, the shorter the pull-in time, the higher the battery power.
[0059] Step S106, when the solenoid valve is attracted, the threshold range interval corresponding to the current valve opening force is obtained according to the time when the voltage peak appears.
[0060] Specifically, the step of obtaining the threshold range interval corresponding to the current valve opening force according to the time when the voltage peak appears includes:
[0061] Determine whether the current voltage peak time is less than the preset valve opening time;
[0062] If yes, it is determined that the current current value of the battery is large, and the first threshold range interval corresponding to the current valve opening force is obtained;
[0063] If not, it is determined that the current current value of the battery is small, and the second threshold range interval corresponding to the current valve opening force is obtained.
[0064] In this embodiment, since the preset valve opening time is the peak time of the voltage waveform generated by the solenoid valve opening when the battery power is normal, a first threshold range interval is formed in the time period when the valve is opened and when the peak is generated, and then a second threshold range interval is formed in the time period when the peak is generated and when the valve is closed. Therefore, by judging whether the time when the voltage peak occurs is in the corresponding second threshold range interval, it can be determined whether the current current value of the battery is small.
[0065] Step S107, obtaining the upper limit value of the battery's valve opening current.
[0066] Specifically, the upper limit value of the battery's valve opening current is calculated by the following calculation formula: Imax=Vbattery / (Rinside+Rvalve), where Imax is the upper limit value of the battery's valve opening current, Vbattery is the battery voltage, Rinside is the resistance of the internal resistance, and Rvalve is the resistance of the solenoid valve.
[0067] In the present embodiment, since the solenoid valve is a coil with an iron core, it can be equivalent to inductance. When the state of the solenoid valve is different and the position of the iron core is different, the inductance of the solenoid valve at different positions is different. Within a certain period of time, the battery voltage and internal resistance are constant, and the coil resistance of the solenoid valve is constant. For example, the coil resistance of an ordinary stove is generally preferably set to 6 ohms. The battery voltage is used to control the switch to perform the valve opening action, and the upper limit of the battery's valve opening current is calculated by a calculation formula. In addition, the internal resistance of the battery is connected in series with the DC resistance and valve inductor of the solenoid valve, respectively. At the moment of power-on, because the valve inductance is constant, the voltage value of the valve inductor is V=L*di / dt, and its current increases from zero. Due to the existence of resistance, the valve inductor current is I=(Vbattery-VL) / (Rinside+Rvalve). When the upper limit of the valve opening current is not enough to generate the force to open the valve, the valve inductor current L does not change, that is, the current waveform is as follows: Figure 3 As shown in the figure on the left. When the upper limit of the valve opening current is sufficient to generate the force to open the valve, after reaching the valve opening current, the valve core begins to move and accelerates. When the magnetic gap becomes smaller, the valve inductor is inversely proportional to the magnetic gap, thereby increasing the inductance. The change in inductance is inversely proportional to the magnetic gap. Similarly, the magnetic force is inversely proportional to the magnetic gap. The greater the force, the greater the acceleration of the core, so the inductance changes more with time. Therefore, the valve core accelerates, and since dl changes in the curve when the valve core moves, I also changes, and the voltage value of the solenoid valve is inversely proportional to the change in the valve inductor current.
[0068] Step S108, comparing the upper limit of the valve opening current with the acquired threshold range, and obtaining the current battery power status according to the comparison result.
[0069] Specifically, the upper limit value of the valve opening current is compared with the first threshold range interval and the second threshold range interval respectively;
[0070] If the upper limit value of the valve opening current is within the first threshold range, it is determined that the current battery power is sufficient;
[0071] If the upper limit value of the valve opening current is within the second threshold range, it is determined that the current battery power is insufficient.
[0072] Step S109: sending a corresponding warning signal according to the battery power level.
[0073] In this embodiment, since each value in the first threshold range interval is respectively greater than each value in the second threshold range interval, the current battery power status is obtained by judging in which threshold range interval the upper limit value of the valve opening current is located. If the current battery power is sufficient, a warning signal is sent out to remind the user that the current battery power is sufficient; when the current battery power is insufficient, a warning signal is sent out to remind the user to replace the battery.
[0074] When the solenoid valve is attracted, the valve core no longer moves and the valve inductance no longer changes. By performing waveform recognition on the generated voltage waveform, when the voltage waveform is non-monotonic decreasing, it is determined whether the peak time is less than the preset valve opening time. The preset valve opening time is the peak time of the voltage waveform generated by the solenoid valve opening when the battery power is normal, thereby determining whether the solenoid valve is attracted.
[0075] When the battery power is low and the upper limit of the valve opening current is greater than the valve opening current, the valve core moves slowly and the inductance changes little. At this time, the time when the peak of the voltage waveform of the solenoid valve appears is delayed, and the battery power status can be obtained according to the time when the peak appears. In addition, after the battery voltage has been used for a long time, the voltage will decrease accordingly. At this time, the internal resistance will increase accordingly, and the difference between different batteries is relatively large. Therefore, simply measuring the battery voltage cannot accurately obtain the battery power status. At the same time, due to the individual differences of the solenoid valves, the valve opening voltage of each solenoid valve is different and the difference is relatively large. With the same battery power, some solenoid valves can be opened, while some solenoid valves cannot be opened. By obtaining the threshold range interval corresponding to the current valve opening force through the time when the voltage peak appears, and then comparing the upper limit of the valve opening current with the obtained threshold range interval, the valve opening margin of the battery power can be accurately judged, thereby accurately judging the battery usable time, and then executing the corresponding warning action.
[0076] In this embodiment, since dry batteries have different models and capacities, internal resistance and the relationship between voltage and capacity are all different, the battery charge status cannot be accurately judged based on the voltage. The usable battery balance can be judged by the size of the valve opening force, thereby accurately prompting the user that the battery balance is low.
[0077] In this embodiment, when the solenoid valve is closed, the current will continue to increase until it reaches the maximum current. Therefore, during the closing process of the solenoid valve, the current will increase at first, then decrease, and then increase again. Due to the internal resistance, the voltage on the valve will gradually decrease, then increase, and then decrease again. When the battery voltage is relatively low, the internal resistance will also increase, the force applied to the solenoid valve will decrease, and the speed of the valve core moving will slow down, so the trough time of the current will appear at a later time.
[0078] The above are only some embodiments of the present invention. For those skilled in the art, several modifications and improvements can be made without departing from the creative concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A self-checking control method for a solenoid valve, characterized in that: A sampling resistor is connected in series to the solenoid valve, and the solenoid valve self-checking control method comprises the following steps: Obtaining the current value of the sampling resistor; Get the battery voltage value; According to the acquired data, a voltage value of the solenoid valve is acquired by a calculation formula; generating a voltage waveform diagram according to the voltage value of the solenoid valve; Performing waveform recognition on the generated voltage waveform diagram, and determining whether the solenoid valve is engaged according to the recognized situation; If the solenoid valve is closed, the threshold range corresponding to the current valve opening force is obtained according to the time when the voltage peak appears; Obtaining an upper limit value of a valve opening current of the battery; Compare the valve opening current upper limit value with the acquired threshold range interval, and obtain the current power status of the battery according to the comparison result; Sending a corresponding warning signal according to the battery power status; The step of obtaining the threshold range interval corresponding to the current valve opening force according to the time when the voltage peak appears includes: Determine whether the current voltage peak time is less than the preset valve opening time; If yes, it is determined that the current value of the battery is relatively large, and a first threshold range interval corresponding to the current valve opening force is obtained; If not, it is determined that the current value of the battery is relatively small, and the second threshold range interval corresponding to the current valve opening force is obtained.
2. A self-checking control method for a solenoid valve according to claim 1, characterized in that: The step of obtaining the current value of the sampling resistor comprises: Obtaining a voltage value of the sampling resistor; According to the acquired data, the current value of the sampling resistor is obtained by the following calculation formula: I sampling = V sampling / R sampling, wherein I sampling is the current value of the sampling resistor, V sampling is the voltage value of the sampling resistor, and R sampling is the preset resistance value of the sampling resistor.
3. The self-checking control method of a solenoid valve according to claim 1, characterized in that: The voltage value of the solenoid valve is calculated by the following calculation formula: Vvalve=Vbattery-Isampling*Rinside, wherein Vvalve is the voltage value of the solenoid valve, Vbattery is the voltage value of the battery, Isampling is the current value of the sampling resistor, and Rinside is the resistance value of the internal resistor.
4. The self-checking control method of a solenoid valve according to claim 1, characterized in that: The step of performing waveform recognition on the generated voltage waveform diagram and determining whether the solenoid valve is attracted according to the recognized situation comprises: Determining whether the voltage waveform is monotonically decreasing; If yes, it is determined that the solenoid valve is not engaged; If not, it is determined that the solenoid valve is closed.
5. The self-checking control method of a solenoid valve according to claim 1, characterized in that: The step of comparing the valve opening current upper limit value with the acquired threshold range interval and issuing a warning signal according to the comparison result includes: Compare the valve opening current upper limit value with the first threshold range and the second threshold range respectively; If the upper limit value of the valve opening current is within the first threshold range, it is determined that the current power of the battery is sufficient; If the valve opening current upper limit value is within the second threshold range, it is determined that the current power of the battery is insufficient.
6. The self-checking control method of a solenoid valve according to claim 1, characterized in that: The upper limit of the battery's valve opening current is calculated by the following formula: Imax=V battery / (R internal + R valve ), Wherein Imax is the upper limit of the valve opening current of the battery, Vbattery is the voltage value of the battery, The Rinside is the resistance value of the internal resistance, and the Rvalve is the resistance value of the solenoid valve.
Citation Information
Patent Citations
Electromagnetic valve detection method and electromagnetic valve detection device for main steam isolation valve of nuclear power plant
CN103792442A
Electromagnet fault detection method and circuit, control method and circuit and circuit breaker
CN104391197A