Water tank water shortage detection method, water tank water shortage detection circuit, water tank water shortage detection device, liquid supply device and water utilization equipment
By detecting the matching between the working current of the water pump device and the preset current, it is determined whether the water tank in the liquid supply device is in a water shortage state, which solves the problems of high cost of float switches and large space occupancy in the prior art, and achieves low-cost and high-integrated water shortage detection.
Patent Information
- Application Number
- CN202311621932.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
The floating ball switch structure used in the existing liquid supply device to detect water shortage in the water tank is costly and takes up a large space.
By detecting the matching between the working current of the water pump device and the preset current, determine whether the water tank is in a water shortage state. The specific method includes obtaining the working current of the water pump device and determining that the water tank is in a water-deficient state when the working current does not match the preset current. The optional steps include determining that the water tank is in a water shortage state when the phase of the operating current and the phase offset of the preset current exceeds the preset phase deviation, or when the number of deviations within the preset time length reaches the preset number of times.
It effectively reduces the cost of water shortage detection in the water tank of the liquid supply device, saves the space occupied by the float switch, and improves the integration of the liquid supply device.
Smart Images

Figure CN120063427A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water shortage detection for water tanks, and particularly to a water shortage detection method for water tanks, its circuit, device, liquid supply device and water using equipment. Background Art
[0002] In the liquid supply device of water using equipment, a float switch is generally used to detect whether the water tank in the liquid supply device is in a water shortage state. However, the above float switch structure has a relatively high cost. Summary of the Invention
[0003] The main object of the present invention is to provide one, aiming to reduce the cost of water shortage detection for the liquid supply device.
[0004] To achieve the above object, the present invention proposes a water shortage detection method for a water tank, which is applied to the liquid supply device. The liquid supply device includes a water tank and a water pump device for pumping out the liquid in the water tank. The method includes:
[0005] Obtain the working current of the water pump device;
[0006] When it is confirmed that the working current does not match the preset current, determine that the water tank is in a water shortage state.
[0007] Optionally, the step of determining that the water tank is in a water shortage state when it is confirmed that the working current does not match the preset current is specifically:
[0008] When it is confirmed that the phase shift of the working current from the preset current exceeds the preset phase deviation, determine that the water tank is in a water shortage state.
[0009] Optionally, the step of determining that the water tank is in a water shortage state when it is confirmed that the phase shift of the working current from the preset current exceeds the preset phase deviation is specifically:
[0010] Within a preset first time period, if the number of times that the phase shift of the working current from the preset current exceeds the preset phase deviation reaches the preset number of times, determine that the water tank is in a water shortage state.
[0011] Optionally, after the step of determining that the water tank is in a water shortage state when, within the preset first time period, the number of times that the phase shift of the working current from the preset current exceeds the preset phase deviation reaches the preset number of times, the method further includes:
[0012] Determine the water shortage level of the water tank according to the number of deviations; and perform corresponding protection actions according to the water shortage level;
[0013] Wherein, the protection actions include at least one of performing a corresponding water addition reminder action according to the water shortage level and controlling the water pump device to stop working.
[0014] Optionally, when it is confirmed that the working current does not match the preset current, the step of determining that the water tank is in a water shortage state is specifically:
[0015] When it is confirmed that the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference, it is determined that the water tank is in a water shortage state.
[0016] Optionally, when it is confirmed that the working current does not match the preset current, the step of determining that the water tank is in a water shortage state is specifically:
[0017] When it is confirmed that the phase shift of the working current from the phase of the preset current exceeds a preset phase deviation and the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference, it is determined that the water tank is in a water shortage state.
[0018] Optionally, after the step of determining that the water tank is in a water shortage state, the method further includes:
[0019] Performing a water addition reminder action; and / or, controlling the water pump device to stop working.
[0020] Optionally, the method further includes:
[0021] When it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference, it is determined that the water pump device is in a stalled state, and the user is reminded and / or the water pump device is controlled to stop working.
[0022] Optionally, the method further includes:
[0023] Obtaining the power supply voltage connected to the power supply terminal of the liquid supply device;
[0024] According to the parameters of the power supply voltage, the waveform of the preset current is adjusted accordingly.
[0025] The present invention also provides a detection device for a liquid supply device, the liquid supply device including a water tank and a water pump device for pumping out the liquid in the water tank, the detection device including:
[0026] A memory;
[0027] A processor; and,
[0028] A water tank water shortage detection program stored in the memory and executed by the processor. When the water tank water shortage detection program is executed by the processor, it implements the water tank water shortage detection method described in any one of the above.
[0029] The present invention also proposes a water tank water shortage detection circuit applied to the liquid supply device. The liquid supply device includes a water tank and a water pump device for pumping out the liquid in the water tank. The water tank water shortage detection circuit includes:
[0030] A current detection circuit for detecting the working current of the water pump device and outputting a corresponding working current detection signal;
[0031] A main control circuit for determining that the water tank is in a water shortage state when the working current does not match the preset current according to the working current detection signal.
[0032] Optionally, the liquid supply device has a water pump power supply terminal. The current detection circuit includes:
[0033] A current sensing component connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0034] A sampling circuit. The output end of the sampling circuit is electrically connected to the main control circuit and is used for collecting the voltage drop on the current sensing component and outputting a corresponding sampling signal to the main control circuit. Wherein, the working current detection signal includes the sampling signal.
[0035] Optionally, the water pump power supply terminal includes an AC positive power supply terminal and an AC negative power supply terminal. The power supply terminal of the water pump device includes a power supply positive terminal and a power supply negative terminal. The power supply positive terminal of the water pump device is connected to the AC positive power supply terminal;
[0036] The current sensing component is connected in series on the path between the power supply negative terminal of the water pump device and the AC negative power supply terminal. The first end of the current sensing component is electrically connected to the power supply negative terminal;
[0037] The sampling circuit includes:
[0038] A rectifying circuit electrically connected to the first end of the current sensing component and used for rectifying the voltage at the first end of the current sensing component and outputting a second voltage signal;
[0039] A voltage dividing circuit for dividing the second voltage signal according to a preset voltage division ratio and outputting the corresponding sampling signal to the main control circuit.
[0040] Optionally, the current detection circuit further includes:
[0041] A voltage clamping circuit, electrically connected to the output terminal of the sampling circuit, and configured to maintain the voltage of the sampling signal within a preset voltage range.
[0042] Optionally, the main control circuit is configured to determine that the water tank is in a water shortage state when, based on the working current detection signal, it is confirmed that the phase shift between the phase of the working current and the phase of a preset current exceeds a preset phase deviation and / or the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference.
[0043] Optionally, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0044] A switching circuit, which is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0045] The main control circuit is configured to control the switching circuit to be in an open state to disconnect the path between the water pump power supply terminal and the power supply terminal of the water pump device when it is determined that the water tank is in a water shortage state; and / or,
[0046] The main control circuit is electrically connected to the controlled terminal of the water pump device, and is configured to control the water pump device to stop working when it is determined that the water tank is in a water shortage state.
[0047] Optionally, the water tank water shortage detection circuit further includes:
[0048] A prompting component, the main control circuit is electrically connected to the prompting component;
[0049] The main control circuit is configured to control the prompting component to work when it is determined that the water tank is in a water shortage state.
[0050] Optionally, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0051] A switching circuit, which is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0052] The main control circuit is further configured to determine that the water pump device is in a locked-rotor state when the current difference between the confirmed working current and the preset current reaches a preset second current difference, and control the switching circuit to be in an open state to disconnect the path between the water pump power supply terminal and the power supply terminal of the water pump device; or,
[0053] The main control circuit is electrically connected to the controlled end of the water pump device, and is configured to determine that the water pump device is in a stalled state and control the water pump device to stop working when it is confirmed that the current difference between the working current and the preset current exceeds a preset second current difference.
[0054] Optionally, the power supply terminal of the liquid supply device is used to access a power supply voltage, and the water tank water shortage detection circuit further includes:
[0055] A voltage detection circuit, which is electrically connected to the power supply terminal of the liquid supply device and the main control circuit respectively, and is configured to detect the power supply voltage accessed by the power supply terminal and output a corresponding power supply voltage detection signal;
[0056] The main control circuit is configured to adjust the waveform of the preset current according to the power supply voltage detection signal.
[0057] The present invention also provides a liquid supply device, including a water tank, a water pump device for pumping out the liquid in the water tank, and the detection device as described above; or, the water tank water shortage detection circuit as described in any one of the above.
[0058] The present invention also provides a water-using device, including the liquid supply device as described above.
[0059] Optionally, the water-using device includes a cold fan.
[0060] The water tank water shortage detection method of the present invention includes obtaining the working current of the water pump device, and determining that the water tank is in a water shortage state when it is confirmed that the working current does not match the preset current. In this way, in practical applications, there is no need to set a float switch in the liquid supply device to detect whether the water tank is short of water. Only by detecting the working current of the water pump device and comparing the working current with the preset current, it is possible to confirm whether the current water tank is short of water, effectively reducing the cost of detecting water shortage in the water tank of the liquid supply device. At the same time, the space originally occupied by the float switch in the liquid supply device is saved, and the integration degree of the liquid supply device is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0062] Figure 1 It is a schematic flowchart of an embodiment of the water tank water shortage detection method of the present invention;
[0063] Figure 2Schematic flowchart of another embodiment of the water shortage detection method for the water tank of the present invention;
[0064] Figure 3 Schematic flowchart of still another embodiment of the water shortage detection method for the water tank of the present invention;
[0065] Figure 4 Schematic flowchart of yet another embodiment of the water shortage detection method for the water tank of the present invention;
[0066] Figure 5 Schematic flowchart of an embodiment of the water shortage detection circuit for the water tank of the present invention;
[0067] Figure 6 Schematic flowchart of another embodiment of the water shortage detection circuit for the water tank of the present invention;
[0068] Figure 7 Schematic flowchart of yet another embodiment of the water shortage detection circuit for the water tank of the present invention;
[0069] Figure 8 Schematic flowchart of still another embodiment of the water shortage detection circuit for the water tank of the present invention;
[0070] Figure 9 Schematic flowchart of yet another embodiment of the water shortage detection circuit for the water tank of the present invention;
[0071] Figure 10 Schematic flowchart of another embodiment of the water shortage detection circuit for the water tank of the present invention;
[0072] Figure 11 Schematic flowchart of yet another embodiment of the water shortage detection circuit for the water tank of the present invention;
[0073] Figure 12 Schematic diagram of the preset current waveform in each embodiment of the present invention;
[0074] Figure 13 Schematic diagram of the abnormal working current waveform in each embodiment of the present invention.
[0075] Explanation of the reference numerals in the drawings:
[0076] Label Name Label Name 10 Current detection circuit 20 Main control circuit 11 Current sensing element 12 Sampling circuit 121 Rectifying circuit 122 Voltage dividing circuit 13 Voltage clamping circuit 30 Switching circuit 40 Voltage detection circuit
[0077] The realization, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners
[0078] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0079] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relative position relationship and movement conditions between components in a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indications will also change accordingly.
[0080] The present invention provides a method for detecting water shortage in a water tank, which is applied to the liquid supply device. The liquid supply device includes a water tank and a water pump device for pumping out the liquid in the water tank. It can be understood that a detection device is also provided in the liquid supply device. The detection device has a memory for storing the following method and a processor for executing the following method. The detection device can be implemented by a main controller, such as an MCU, DSP (Digital Signal Process, digital signal processing chip), FPGA (Field Programmable Gate Array, programmable logic gate array chip), PLC, SOC (System On Chip, system-level chip), etc.
[0081] Reference Figure 1 , in an embodiment of the present invention, the method includes:
[0082] Step S100: Obtain the working current of the water pump device;
[0083] Step S200: When it is confirmed that the working current does not match the preset current, determine that the water tank is in a water shortage state.
[0084] In this embodiment, optionally, a current detection device for detecting the working current of the water pump device can be provided in the liquid supply device. The current detection device is electrically connected to the detection device. Among them, the current detection device can be implemented by devices such as a shunt, a current sensing resistor, and a Hall current sensor. The current detection device can detect the working current of the water pump device and output the detection result to the detection device.
[0085] Optionally, the water pump device itself can be equipped with a water pump management module. The water pump management module can communicate with the detection device, such as serial communication, bus communication, wireless communication, etc., to realize data transmission between each other. The water pump management module can detect the working current in the water pump device by itself and output the detection result to the detection device, so that the detection device can determine the working current of the water pump device.
[0086] It should be understood that the water pump device operates through the motor inside it to pump out and output the liquid in the water tank, and the working current of the water pump device is actually the working current of the motor inside it. If the water tank is short of water currently, then the working state of the water pump device, that is, the motor, will change compared with the state when the water tank is not short of water, and then the working current of the water pump device will change.
[0087] In this embodiment, the preset current can be obtained by the R & D personnel through multiple tests during the design of the liquid supply device to obtain the working current of the water pump device when the water tank is not short of water, and stored in the detection device. The number of preset currents is at least one. When the number of preset currents is multiple, each preset current can match a working gear of the water pump device. For example, different working gears correspond to different rotational speeds of the water pump device, and each rotational speed of the water pump device corresponds to a preset current. The detection device will call the corresponding preset current according to the working gear of the water pump device at that time.
[0088] Specifically, when the detection device finds that the working current of the water pump device does not match the preset current, that is, there is a certain deviation between the waveform of the working current and the waveform of the preset current, such as phase deviation, frequency deviation, amplitude deviation, etc., and when the deviation reaches a certain value, such as too many phase deviation times, large amplitude deviation, the detection device can confirm that the working current of the current water pump device has changed from the original regular state (i.e., matching the preset current) to an irregular state (not matching the preset current), then it can be determined that the water tank is in a water shortage state. Thus, in practical applications, there is no need to set a float switch in the liquid supply device to detect whether the water tank is short of water. Only by detecting the working current of the water pump device and comparing the working current with the preset current, it can be confirmed whether the water tank is short of water currently, effectively reducing the cost of detecting water shortage in the water tank of the liquid supply device. At the same time, the space originally occupied by the float switch in the liquid supply device is saved, and the integration degree of the liquid supply device is improved.
[0089] In addition, it can be understood that with reference to Figure 3 , in an embodiment of the present invention, after the step of determining that the water tank is in a water shortage state, the method further includes: step S300, performing a water addition reminder action; and / or, controlling the water pump device to stop working.
[0090] In this embodiment, optionally, a prompting component electrically connected to the detection device may further be provided in the liquid supply device. Among them, the prompting component may be implemented by an optical prompting component, such as an LED lamp, a display screen, etc. When the detection device confirms that the water tank is short of water, it can control the optical prompting component to emit a corresponding optical signal. For example, it can control the optical prompting component that is an LED lamp to flash or stay on to prompt the user. Or the prompting component may also adopt an acoustic prompting component, such as a speaker, a vibrator, etc. When the detection device confirms that the water tank is short of water, it can control the acoustic prompting component to emit a corresponding prompt sound, such as emitting a prompt audio of "Please add water". Or the prompting component may be a communication component communicatively connected to the user's handheld terminal, such as a WIFI wireless communication component, a 4G / 5G communication component, etc. When the detection device confirms that the water tank is short of water, it will send a corresponding prompt message to the user's handheld terminal through the communication component to remind the user. It can be understood that at least two of the above three prompting components may be provided in the liquid supply device at the same time.
[0091] Optionally, the detection device may further be provided with a port for outputting a reminder signal for connecting to an external circuit component, such as a prompting component in a water-using device or a control module in a water-using device. When the detection device confirms that the water tank is short of water, it can output a reminder signal through the above port, so that the external circuit component performs a corresponding reminder action after receiving the reminder signal. For example, when the current water-using device is a cold fan and the control module of the cold fan is connected to the above port of the detection device of the water supply device, when the control module receives the reminder signal, it will control the prompting component of the water-using device itself to work to prompt the current user to add water.
[0092] Optionally, to ensure the safety of the water pump device, when the detection device determines that the water tank is short of water, it can also output a corresponding stop working signal to the controlled end of the water pump device and / or control the switch circuit connected in series between the power supply end of the water pump device and the power supply end of the liquid supply device to be in an open state, so that the water pump device is powered off.
[0093] It can be understood that in this embodiment, when the detection device determines that the water tank is short of water, it can simultaneously perform a water addition reminder action and control the water pump device to stop working, or perform one of them.
[0094] The method for detecting water shortage in the water tank of the present invention includes obtaining the working current of the water pump device, and when it is confirmed that the working current does not match the preset current, determining that the water tank is in a water shortage state. In this way, in practical applications, there is no need to set a float switch in the liquid supply device to detect whether the water tank is short of water. Only by detecting the working current of the water pump device and comparing the working current with the preset current can it be confirmed whether the current water tank is short of water, effectively reducing the cost of detecting water shortage in the water tank of the liquid supply device. At the same time, the space originally occupied by the float switch in the liquid supply device is saved, and the integration degree of the liquid supply device is improved.
[0095] Optionally, in an embodiment of the present invention, when it is confirmed that the working current does not match the preset current, the step of determining that the water tank is in a water shortage state is specifically as follows:
[0096] When the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference, it is determined that the water tank is in a water shortage state.
[0097] In this embodiment, the motor of the water pump device can be an AC motor or a DC motor. Correspondingly, the working current of the water pump device can be a DC current or an AC current.
[0098] It can be understood that the water pump device is used to be driven by its internal motor to pump out the liquid in the water tank. If the liquid in the water tank is close to the water shortage situation, the amount of the pumped-out liquid will become smaller. In other words, due to the water shortage, the amount of the liquid pumped out by the water pump device becomes smaller, so the resistance it receives will also become smaller, thereby causing its working current to become smaller.
[0099] In this embodiment, during the research and development period, the R & D personnel will test the working current of the water pump device when the water tank is in a water shortage state to determine the difference from the corresponding preset current above, and set it as the preset first current difference.
[0100] Specifically, when the detection device determines that the current value of the working current of the water pump device is less than the current value of the preset current, and the current difference from the preset current reaches the preset first terminal current difference, then it will be determined that the water tank is in a water shortage state. Through the above setting, the detection device can determine whether the current water tank is short of water according to the current value of the working current of the water pump device, without setting a float switch, effectively reducing the cost of water shortage detection in the water tank.
[0101] Optionally, in an embodiment of the present invention, when it is confirmed that the working current does not match the preset current, the step of determining that the water tank is in a water shortage state is specifically as follows:
[0102] When it is confirmed that the phase shift of the working current exceeds the preset phase deviation from the preset current, it is determined that the water tank is in a water shortage state.
[0103] It should be understood that in this embodiment, the motor of the water pump device is an AC motor, that is, its working current is an AC current.
[0104] It can be understood that from the above content, when the water tank is in a water shortage state, the water pumped out by the water pump device will become smaller, and the resistance of the water it receives will also become smaller, which will in turn cause the rotation speed of the water pump device to fluctuate compared with the preset rotation speed, thereby causing the phase of its working current to deviate.
[0105] In this embodiment, during the R & D process, R & D personnel will test the working current of the water pump device when the water tank is in a water shortage state to determine the phase difference with the corresponding preset current and set a preset phase deviation.
[0106] Specifically, referring to Figure 12 and Figure 13 , the working current of the water pump device is periodic. When the detection device determines that the phase deviation of one or more cycles of the working current from the phase of the preset current exceeds the preset phase deviation, it will confirm that the motor speed in the current water pump device is unstable, and then determine that there is a water shortage in the water tank. At the same time, it can be understood that compared with detecting water shortage by the change in current amplitude, when the water tank is short of water, the phase change of the current is more obvious and easier to detect. Therefore, detecting by the current phase deviation can further improve the accuracy of water shortage detection in the water tank.
[0107] Furthermore, to prevent the detection device from misjudging the water shortage situation. For this purpose, in one embodiment, referring to Figure 2 , when it is confirmed that the phase shift of the working current from the phase of the preset current exceeds the preset phase deviation, the steps of determining that the water tank is in a water shortage state are specifically as follows:
[0108] Step S210: Within a preset first time period, if the number of times the phase deviation of the working current from the phase of the preset current exceeds the preset phase deviation reaches a preset number of times, it is determined that the water tank is in a water shortage state.
[0109] In this embodiment, the preset first time period and the preset number of times can be obtained by R & D personnel through multiple experiments during the R & D process. When the detection device finds within the preset first time period that the phase deviation of multiple cycles of the working current from the phase of the preset current exceeds the preset phase deviation, that is, the number of times the phase shift of the working current from the phase of the preset current exceeds the preset phase deviation reaches the preset number of times, it will confirm that the working current of the current water pump device is irregular, and then confirm that the current water tank device is in a water shortage state. Such a setting effectively improves the accuracy of detecting whether there is a water shortage in the water tank through the current of the water pump device.
[0110] In addition, based on the above embodiments, it can be understood that the water shortage in the water tank is a state process, that is, the water tank will gradually change from slightly short of water to more short of water, and finally to completely out of water. Correspondingly, the water pump device will also gradually reduce the amount of liquid pumped out and finally be unable to pump out liquid at all. Therefore, in another embodiment of the present invention, referring to Figure 2 , after the step of determining that the water tank is in a water shortage state when the number of times the phase deviation of the working current from the phase of the preset current exceeds the preset phase deviation reaches the preset number of times within the preset first time period, the method further includes:
[0111] Step S220: Determine the water shortage level of the water tank according to the number of deviation times; and perform corresponding protection actions according to the water shortage level.
[0112] Among them, the protection actions include performing at least one of corresponding water addition reminder actions and controlling the water pump device to stop working according to the water shortage level.
[0113] In this embodiment, the detection device will determine in real time how many cycles of the phase of the working current deviate from the phase of the preset current by more than the preset phase deviation within each preset first time period, that is, the number of deviation times. It can be understood that the R & D personnel can set in advance the water shortage levels corresponding to different numbers of deviation times and set corresponding protection actions for each water shortage level, or the user himself can set the protection actions corresponding to different water shortage levels in the liquid supply device. For example, the current water shortage levels are divided into "slightly short of water", "relatively short of water" and "severely short of water". When the detection device determines that the water shortage level is "slightly short of water" according to the current number of deviation times, the user can be prompted to add water through the prompt component in the above embodiment and the water pump device can continue to work. If the current detection device determines that the water shortage level is "severely short of water" according to the current number of deviation times, while reminding the user, it will also control the water pump device to stop working to prevent the water pump device from malfunctioning. With such a setting, the liquid supply device can perform corresponding protection actions for different water shortage situations, effectively improving the convenience of user use.
[0114] Optionally, in an embodiment of the present invention, when it is confirmed that the working current does not match the preset current, the step of determining that the water tank is in a water shortage state is specifically:
[0115] When it is confirmed that the phase shift of the working current from the phase of the preset current exceeds the preset phase deviation and the current difference between the current value of the working current and the current value of the preset current reaches the preset first current difference, it is determined that the water tank is in a water shortage state.
[0116] In this embodiment, the detection device can also determine whether the water tank is in a water shortage state according to the phase and current value of the working current at the same time. The specific process refers to the above embodiment and will not be elaborated here. In this way, the detection device comprehensively judges whether the water tank is in a water shortage state through the phase and current value of the working current at the same time, further improving the accuracy of detecting the water shortage of the water tank.
[0117] In an embodiment of the present invention, the method further includes: when it is confirmed that the current difference between the working current and the preset current reaches the preset second current difference, it is determined that the water pump device is in a stalled state, and the user is reminded and / or the water pump device is controlled to stop working.
[0118] In this embodiment, when the water pump device is blocked, its working current will suddenly increase. At this time, if the detection device detects that the difference between the current value of the current working current and the current value of the corresponding preset current reaches a preset second current difference (preset and stored in the detection device by R & D personnel), it will confirm that the current working current is too high, and then confirm that the water pump device is in a blocked state. And remind the user that the current water pump device is blocked and / or control the water pump device to stop working according to the same process as the above embodiment. In this way, in practical applications, the liquid supply device not only does not need to set a float switch to detect the water shortage in the water tank, but also can determine whether the current water pump device is blocked by the working current and perform corresponding actions, effectively improving the reliability and safety of the liquid supply device.
[0119] It should be understood that, as can be seen from the above content, the preset current is obtained by R & D personnel during R & D testing. However, in practical applications, the power supply voltage connected to the power supply terminal of the liquid supply device may vary. In other words, in practical applications, the power supply voltage connected to the liquid supply device is different from the power supply voltage in actual R & D, which also leads to different voltages actually output to the water pump device to supply power to it. Furthermore, the current preset current cannot match the current power supply voltage. Then, during the operation of the water pump device, the detection device may misjudge the water shortage state of the current water tank or the working current of the water pump device.
[0120] Therefore, referring to Figure 4 , in an embodiment of the present invention, the method further includes:
[0121] Step S400: Obtain the power supply voltage connected to the power supply terminal of the liquid supply device;
[0122] Step S500: Adjust the waveform of the preset current accordingly according to the parameters of the power supply voltage.
[0123] In this embodiment, a voltage detection circuit may also be provided in the liquid supply device. The voltage detection circuit can be implemented by a resistor voltage division circuit or a voltage detection chip, etc. It can be understood that if the power supply voltage connected to the current power supply terminal is an AC voltage, the voltage detection circuit may further include a rectification circuit to rectify the power supply voltage and then detect the voltage value of the rectified power supply voltage, and then confirm the voltage value of the actual power supply voltage connected to the power supply terminal.
[0124] Specifically, during the operation of the water pump device, the detection device will detect the parameters of the power supply voltage connected to the power supply terminal of the liquid supply device. For example, when the power supply voltage is an AC voltage, it will detect the phase, amplitude, period, frequency, etc. of the power supply voltage. If the power supply voltage is a DC voltage, then it will detect the voltage value of the power supply voltage. And adjust the waveform of the preset current adaptively according to the above parameters of the power supply voltage.
[0125] Optionally, in the detection device, the R & D personnel pre-store the preset current corresponding to the power supply voltage range under different parameters, that is, a power supply voltage - preset current mapping table is pre-stored. In this way, the detection device can call the above mapping table according to the detected power supply voltage parameter, and confirm the preset current corresponding to the current power supply voltage in the above mapping table.
[0126] Optionally, the R & D personnel can also pre-store a parameter adjustment formula for the power supply voltage and the preset current in the mapping table. The detection device can adjust the preset current accordingly based on the current parameter adjustment formula and the current power supply voltage parameter. For example, the phase of the reference voltage corresponding to the current preset current is 0°, the amplitude is 220V, the phase of the preset current is the same as that of the reference voltage, and its amplitude has a linear relationship with the amplitude of the reference voltage. If the currently detected power supply voltage parameter has a phase of 5° and an amplitude of 208V (10% different from the reference voltage), then the detection device will reduce the amplitude of the preset current by 10% as a whole and adjust its phase to 5°.
[0127] Through the above settings, the liquid supply device can effectively adjust the preset current according to the actually connected power supply voltage, thereby further improving the accuracy of the water shortage detection of the water tank and / or the pump blockage detection in the above embodiments.
[0128] The present invention also proposes a detection device for a liquid supply device. The liquid supply device includes a water tank and a pump device for pumping out the liquid in the water tank. The detection device includes:
[0129] A memory;
[0130] A processor; and,
[0131] A water tank water shortage detection program stored on the memory and executed by the processor. When the water tank water shortage detection program is executed by the processor, it implements the water tank water shortage detection method as described in any one of the above.
[0132] It should be noted that since the detection device of the present invention includes all the technical solutions of all the embodiments of the above water tank water shortage detection method, it at least has all the beneficial effects brought by the technical solutions of the above water tank water shortage detection method, which will not be elaborated here one by one.
[0133] It can be understood that the detection device can also be applied to an aquarium, and determine whether there is a water shortage in the aquarium by the above method of detecting the pump current in the aquarium, and execute the corresponding method when there is a water shortage in the aquarium.
[0134] The present invention also proposes a water tank water shortage detection circuit applied to a liquid supply device. The liquid supply device includes a water tank and a pump device for pumping out the liquid in the water tank. Refer to Figure 5, in an embodiment of the present invention, the water tank water shortage detection circuit includes:
[0135] A current detection circuit 10, which is used to detect the working current of the water pump device and output a corresponding working current detection signal;
[0136] A main control circuit 20, which is used to determine that the water tank is in a water shortage state according to the working current detection signal when the working current does not match the preset current.
[0137] In this embodiment, the current main control circuit 20 can be implemented by devices such as a shunt, a current sensing resistor, and a Hall current sensor. The current main control circuit 20 can detect the working current of the water pump device and output the detection result to the main control circuit 20. The main control circuit 20 can be implemented by a main controller, such as an MCU, a DSP (Digital Signal Process, digital signal processing chip), an FPGA (Field Programmable Gate Array, programmable logic gate array chip), a PLC, an SOC (System On Chip, system-level chip), etc. The main control circuit 20 can determine the current working current of the water pump device according to the current detection signal and compare the working current with the preset current.
[0138] It should be understood that the water pump device pumps and outputs the liquid in the water tank through the operation of its internal motor. The working current of the water pump device is actually the working current of its internal motor. If the water tank is short of water currently, then the working state of the water pump device, that is, the motor, will change compared with the state when the water tank is not short of water, and then the working current of the water pump device will change.
[0139] In this embodiment, the preset current can be obtained by the R & D personnel through multiple tests during the design of the liquid supply device to obtain the working current of the water pump device when the water tank is not short of water and stored in the main control circuit 20. Among them, the number of preset currents is at least one. When the number of preset currents is multiple, each preset current can match a working gear of the water pump device. For example, different working gears correspond to different rotational speeds of the water pump device, and each rotational speed of the water pump device corresponds to a preset current. The main control circuit 20 will call the corresponding preset current according to the working gear of the water pump device at that time.
[0140] Specifically, when the main control circuit 20 detects that the working current of the water pump device does not match the preset current, that is, there is a certain deviation between the waveform of the working current and the waveform of the preset current, such as phase deviation, frequency deviation, amplitude deviation, etc., and when the deviation reaches a certain value, such as too many phase deviation times or a large amplitude deviation, the main control circuit 20 can confirm that the working current of the current water pump device has changed from the original regular state (i.e., matching the preset current) to an irregular state (not matching the preset current), then it can be determined that the water tank is in a water shortage state. In this way, in practical applications, there is no need to set a float switch in the liquid supply device to detect whether there is water shortage in the water tank. Only by detecting the working current of the water pump device and comparing the working current with the preset current, it can be confirmed whether there is water shortage in the current water tank, effectively reducing the cost of detecting water shortage in the water tank of the liquid supply device. At the same time, the space originally occupied by the float switch in the liquid supply device is saved, and the integration degree of the liquid supply device is improved.
[0141] In addition, it can be understood that with reference to Figure 11 , in an embodiment of the present invention, the water shortage detection circuit of the water tank further includes:
[0142] A prompting component, the main control circuit 20 is electrically connected to the prompting component;
[0143] The main control circuit 20 is configured to control the prompting component to work when it is determined that the water tank is in a water shortage state.
[0144] In this embodiment, optionally, the prompting component can be implemented by an optical prompting component, such as an LED lamp, a display screen, etc. When the main control circuit 20 confirms that the water tank is short of water, it can control the optical prompting component to emit a corresponding optical signal, such as controlling the optical prompting component in the form of an LED lamp to flash or be constantly on to prompt the user. Or the prompting component can also be a sound prompting component, such as a speaker, a vibrator, etc. When the main control circuit 20 confirms that the water tank is short of water, it can control the sound prompting component to emit a corresponding prompting sound, such as emitting a prompting audio of "Please add water". Or the prompting component can be a communication component communicatively connected to the user's handheld terminal, such as a WIFI wireless communication component, a 4G / 5G communication component, etc. When the main control circuit 20 confirms that the water tank is short of water, it will send a corresponding prompting message to the user's handheld terminal via the communication component to remind the user. It can be understood that at least two of the above three prompting components can be simultaneously provided in the liquid supply device.
[0145] Optionally, in another embodiment, the main control circuit 20 may also be provided with a port for outputting a reminder signal for accessing an external circuit component, such as a reminder component in a water-using device or a control module in a water-using device. The main control circuit 20 may output a reminder signal through the above port when it is confirmed that the water tank is short of water, so that the external circuit component performs a corresponding reminder action after receiving the reminder signal. For example, when the current water-using device is a cold fan and the control module of the cold fan is connected to the above port of the main control circuit 20 of the water supply device, when the control module receives the reminder signal, it will control the reminder component of the water-using device itself to work to remind the current user to add water.
[0146] Reference Figure 6 , in an embodiment of the present invention, the liquid supply device has a water pump power supply terminal, and the current detection circuit 10 includes:
[0147] A current sensing element 11, which is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0148] A sampling circuit 12, the output terminal of the sampling circuit 12 is electrically connected to the main control circuit 20, and is used for collecting the voltage drop on the current sensing element 11 and outputting a corresponding sampling signal to the main control circuit 20; wherein, the working current detection signal includes the sampling signal.
[0149] In this embodiment, the current sensing element 11 may be implemented by a current sensing resistor, an alloy resistor, a differential resistor, etc.
[0150] Optionally, if the motor in the current water pump device is a DC motor, the sampling circuit 12 may be implemented by a resistor voltage dividing circuit 122. The resistor voltage dividing circuit 122 may divide the voltage across the current sensing element 11 according to a preset resistance ratio and then output a corresponding sampling signal to the main control circuit 20. The main control circuit 20 will calculate the voltage across the current sensing element 11 according to the voltage value of the received sampling signal according to the preset resistance ratio, and then determine the voltage drop on the current sensing element 11. Finally, according to the voltage drop of the current sensing element 11 and the pre-stored resistance value of the current sensing element 11, the current flowing through the current sensing element 11, that is, the working current of the water pump device, is calculated. Alternatively, the sampling circuit 12 may also be implemented by a differential amplifier circuit to directly calculate the voltage drop on the current sensing element 11 and output a corresponding sampling signal after amplifying it according to a preset amplification ratio.
[0151] Optionally, if the motor in the current water pump device is an AC motor, the sampling circuit 12 may further include a rectifying circuit. Specifically, reference Figure 7 , the water pump power supply terminal includes an AC positive power supply terminal and an AC negative power supply terminal, and the power supply terminal of the water pump device includes a power supply positive terminal and a power supply negative terminal; the power supply positive terminal of the water pump device is connected to the AC positive power supply terminal;
[0152] The current sensing element 11 is connected in series on the path between the negative power supply terminal of the water pump device and the AC negative power supply terminal. The first end of the current sensing element 11 is electrically connected to the negative power supply terminal.
[0153] The sampling circuit 12 includes:
[0154] A rectifying circuit 121, which is electrically connected to the first end of the current sensing element 11 and is used to rectify the voltage at the first end of the current sensing element 11 and output a second voltage signal.
[0155] A voltage dividing circuit 122, which is used to divide the second voltage signal according to a preset voltage division ratio and output a corresponding sampling signal to the main control circuit 20.
[0156] In this embodiment, the rectifying circuit 121 can be implemented by a full-bridge rectifying circuit 121 or a half-bridge rectifying circuit 121 composed of multiple diodes, or can also be directly implemented by a rectifier. It can be understood that since the working voltage of the water pump device is an AC voltage and the working current is an AC current, the current flowing through the current sensing element 11 is also an AC current, and the voltage across its two ends is an AC voltage. Therefore, it is necessary to first rectify the voltage at the first end of the current sensing element 11 through the rectifying circuit 121 and output it as a DC second voltage signal. The voltage dividing circuit 122 can be implemented by the voltage dividing circuit 122 in the above embodiment to divide the second voltage signal according to a preset voltage division ratio and output a corresponding sampling signal to the main control circuit 20, so as to meet the detection voltage range of the ADC port of the main control circuit 20. The main control circuit 20 can calculate the voltage across the current sensing element 11 according to the preset voltage division ratio and the voltage value of the sampling signal, and then further confirm the current value of the actual working current according to the resistance value of the current sensing element 11.
[0157] It can be understood that the sampling circuit 12 may also include a rectifying circuit 121 and other circuits for collecting DC voltage and outputting corresponding sampling signals to the main control circuit 20, such as an analog-to-digital conversion circuit, a differential amplification circuit, etc.
[0158] Specifically, the voltage dividing circuit 122 includes a first resistor R1 and a second resistor R2. The current sensing element 11 includes a current sensing resistor RES1. The current sensing resistor RES1 is connected in series on the path between the negative power supply terminal of the water pump device and the AC negative power supply terminal. The first end of the current sensing resistor RES1 is electrically connected to the negative power supply terminal. The above devices are as Figure 8Medium electrical connection. The voltage at the first end of the current sensing resistor RES1 is rectified and then divided by the first resistor R1 and the second resistor R2 and output to the main control circuit 20. The main control circuit 20 is used to determine the voltage drop across the current sensing resistor RES1 according to the voltage values of the divided voltages of the first resistor R1 and the second resistor R2, that is, the voltage value of the sampling signal, and further determine the working current of the water pump device.
[0159] It should be understood that in actual applications, if the water pump supply voltage output by the water pump power supply end is relatively high, or even overvoltage occurs, then the voltage of the sampling signal output by the voltage dividing circuit 122 will also be too high, which is likely to damage the port of the main control circuit 20 electrically connected thereto.
[0160] For this reason, referring to Figure 7 , in an embodiment of the present invention, the current detection circuit further includes:
[0161] A voltage clamping circuit 13, electrically connected to the output end of the sampling circuit 12, and used to keep the voltage of the sampling signal within a preset voltage range.
[0162] In this embodiment, the voltage clamping circuit 13 can be implemented by using voltage clamping devices, such as diodes, zener diodes and other devices, so as to keep the voltage of the sampling signal output by the sampling circuit 12 within a preset voltage range. Among them, the preset voltage range is determined by the R & D personnel and appropriate voltage clamping devices are selected to implement. It can be understood that when the R & D personnel develop the devices, they will make corresponding settings for the voltage that the port of the main control circuit 20 can withstand and the voltage division ratio of the voltage dividing circuit 122, so as to ensure that the main control circuit 20 can normally calculate the working current according to the above process when the water pump supply voltage is not overvoltage, and to ensure that when the voltage of the sampling signal output to the main control circuit 20 reaches the withstand voltage, the water pump supply voltage is in an overvoltage state.
[0163] Specifically, referring to Figure 8 , the voltage clamping circuit 13 includes a first diode D1 and a third resistor R3. The cathode of the first diode D1 is electrically connected to the reference power supply terminal, and the reference power supply terminal is used to provide a voltage of 5V. The anode of the first diode D1 is electrically connected to the main control circuit 20 through the third resistor R3. If the water pump supply voltage output by the water pump power supply end is relatively high, it can also ensure that the voltage of the port where the main control circuit 20 is connected to the sampling circuit 12 will not exceed 5V, ensuring the safety of its operation.
[0164] Through the above settings, it is possible to ensure the safety of the subsequent circuit when the water pump supply voltage has an overvoltage situation, effectively improving the reliability and safety of the water tank detection circuit operation.
[0165] In an embodiment of the present invention, the main control circuit 20 is configured to determine that the water tank is in a water shortage state when, based on the working current detection signal, it is confirmed that the phase shift between the phase of the working current and the phase of the preset current exceeds the preset phase deviation and / or the current difference between the current value of the working current and the current value of the preset current reaches the preset first current difference.
[0166] Optionally, in this embodiment, the motor of the water pump device can be an AC motor or a DC motor. Correspondingly, the working current of the water pump device can be a DC current or an AC current. It can be understood that the water pump device is used to be driven by the motor therein to pump out the liquid in the water tank. If the liquid in the water tank is close to the water shortage situation, the amount of the pumped-out liquid will become smaller. In other words, due to the water shortage, the amount of the liquid pumped out by the water pump device becomes smaller, so the resistance it receives will also become smaller, thereby causing its working current to become smaller.
[0167] In this embodiment, during the research and development period, the R & D personnel will test the working current of the water pump device when the water tank is in a water shortage state to determine the difference from the corresponding preset current above and set it as the preset first current difference.
[0168] Specifically, when the main control circuit 20 determines that the current value of the working current of the water pump device is less than the current value of the preset current and the current difference from the preset current reaches the preset first end current difference, it will determine that the water tank is in a water shortage state.
[0169] Optionally, in this embodiment, the motor of the water pump device is an AC motor, that is, its working current is an AC current.
[0170] It can be understood that from the above content, when the water tank is in a water shortage state, the amount of water pumped out by the water pump device will become smaller, and the resistance of the water it receives will also become smaller, which will further cause the rotation speed of the water pump device to fluctuate compared with the preset rotation speed, thus causing a deviation in the phase of its working current.
[0171] In this embodiment, during the research and development period, the R & D personnel will test the working current of the water pump device when the water tank is in a water shortage state to determine the phase difference from the corresponding preset current above and set it as the preset phase deviation.
[0172] Specifically, referring to Figure 12 and Figure 13 , the working current of the water pump device is periodic. When the main control circuit 20 determines that the phase deviation between the phase of the working current in one or more periods and the phase of the preset current exceeds the preset phase deviation, it will confirm that the rotation speed of the motor in the current water pump device is unstable, and then determine that there is a water shortage in the water tank.
[0173] Further, to prevent the main control circuit 20 from misjudging the water shortage situation. For this purpose, in one embodiment,
[0174] The main control circuit 20 is further configured to determine that the water tank is in a water shortage state when it is confirmed that the deviation parameter of the phase of the working current from the phase of the preset current exceeds the preset phase deviation and reaches the preset number of times within the preset first duration according to the working current detection signal.
[0175] In this embodiment, the preset first duration and the preset number of times can be obtained by the R & D personnel through multiple experiments during the R & D process. When the main control circuit 20 finds that the phase deviation of the working current in multiple cycles from the phase of the preset current exceeds the preset phase deviation within the preset first duration, that is, when the number of times of the phase deviation of the working current from the phase of the preset current exceeds the preset number of times, it will confirm that the working current of the current water pump device is irregular, and then confirm that the current water tank device is in a water shortage state. This setting effectively improves the accuracy of detecting whether there is water shortage in the water tank through the current of the water pump device.
[0176] In addition, based on the above embodiment, it can be understood that the water shortage in the water tank is a state process, that is, the water tank will gradually change from slightly short of water to more short of water, and finally to completely short of water. Correspondingly, the water pump device will also gradually reduce the amount of liquid pumped out and finally be unable to pump out liquid at all. Therefore, in another embodiment of the present invention, the main control circuit 20 is further configured to determine the water shortage level of the water tank according to the number of deviation times; and perform corresponding protection actions according to the water shortage level; where the protection actions include at least one of performing a corresponding water addition reminder action and controlling the water pump device to stop working according to the water shortage level.
[0177] In this embodiment, the main control circuit 20 will determine in real time how many cycles of the working current within each preset first duration have a phase deviation from the preset current exceeding the preset phase deviation, that is, the number of deviation times. It can be understood that the R & D personnel can set in advance the water shortage levels corresponding to different numbers of deviation times and set corresponding protection actions for each water shortage level, or the user himself can set the protection actions corresponding to different water shortage levels in the liquid supply device. For example, the current water shortage levels are divided into "slightly short of water", "more short of water" and "severely short of water". When the main control circuit 20 determines that the water shortage level is "slightly short of water" according to the current number of deviation times, it can prompt the user to add water through the prompt component in the above embodiment and keep the water pump device working. If the current main control circuit 20 determines that the water shortage level is "severely short of water" according to the current number of deviation times, while reminding the user, it will also control the water pump device to stop working to prevent the water pump device from malfunctioning. This setting enables the liquid supply device to perform corresponding protection actions for different water shortage situations, effectively improving the convenience of user use.
[0178] Optionally, in an embodiment of the present invention, the main control circuit 20 is further configured to determine that the water tank is in a water shortage state when it is confirmed that the phase shift between the working current and the preset current exceeds a preset phase deviation and the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference.
[0179] In this embodiment, the main control circuit 20 can also determine whether the water tank is in a water shortage state according to the phase and current value of the working current at the same time. The specific process refers to the above embodiment and will not be elaborated here. In this way, the main control circuit 20 comprehensively judges whether the water tank is in a water shortage state through the phase and current value of the working current at the same time, further improving the accuracy of detecting the water shortage of the water tank.
[0180] In an embodiment of the present invention, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0181] A switch circuit 30, which is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0182] The main control circuit 20 is configured to control the switch circuit 30 to be in an open state to disconnect the path between the water pump power supply terminal and the power supply terminal of the water pump device when it is determined that the water tank is in a water shortage state; or,
[0183] The main control circuit 20 is electrically connected to the controlled terminal of the water pump device and is configured to control the water pump device to stop working when it is determined that the water tank is in a water shortage state.
[0184] Optionally, referring to Figure 9 , in this embodiment, the switch circuit 30 can be implemented by a switching tube, such as MOS, IGBT, thyristor, etc., or a switching device, such as a relay, a contactor, etc. When the main control circuit 20 confirms that the water tank is in a water shortage state, it will control the switch circuit 30 to be in an open state to cut off the power supply of the water pump device, thereby preventing the water pump device from continuously working and causing damage to itself in a water shortage state.
[0185] Optionally, referring to Figure 10 , in this embodiment, when the main control circuit 20 confirms that the water tank is in a water shortage state, it can directly output a corresponding stop working signal to the controlled terminal of the water pump device to make the water pump device stop working, thereby preventing the water pump device from continuously working and causing damage to itself in a water shortage state.
[0186] It can be understood that the switch circuit 30 can be provided in the liquid supply device at the same time, and the main control circuit 20 is electrically connected to the controlled end of the water pump device at the same time. When the main control circuit 20 confirms that the water tank is short of water, it can control the switch circuit 30 to open and output a corresponding stop working signal to the water pump device at the same time, so as to ensure that the water pump device can be smoothly shut down, preventing the water pump device from continuously working in a water shortage state and causing damage to itself, and further improving the reliability and stability of the liquid supply device during operation.
[0187] In an embodiment of the present invention, referring to Figure 9 or Figure 10 , the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0188] A switch circuit 30, the switch circuit 30 is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0189] The main control circuit 20 is further configured to determine that the water pump device is in a locked-rotor state when it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference, and control the switch circuit 30 to be in an open state to disconnect the path between the water pump power supply terminal and the power supply terminal of the water pump device; and / or,
[0190] The main control circuit 20 is electrically connected to the controlled end of the water pump device, and is configured to determine that the water pump device is in a locked-rotor state when it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference, and control the water pump device to stop working.
[0191] In this embodiment, the switch circuit 30 can be implemented in the same manner as the switch circuit 30 in the above embodiment. Similarly, the method of controlling the water pump device to stop working is also the same as that in the above embodiment, and will not be elaborated here.
[0192] In this embodiment, when the water pump device is locked-rotor, its working current will suddenly increase. At this time, if the main control circuit 20 detects that the current value of the current working current exceeds the current value of the corresponding preset current by a part that reaches a preset second current difference (preset and stored in the main control circuit 20 by R & D personnel), it will confirm that the current working current is too high, and then confirm that the water pump device is in a locked-rotor state. And remind the user that the current water pump device is locked-rotor in the same process as the above embodiment, and / or control the water pump device to stop working. In this way, in practical applications, the liquid supply device not only does not need to set a float switch to detect the water shortage of the water tank, but can also determine whether the current water pump device is locked-rotor through the working current and perform corresponding actions, effectively improving the reliability and safety of the liquid supply device during operation.
[0193] In an embodiment of the present invention, referring to Figure 11 , the power supply terminal of the liquid supply device is used to access the power supply voltage, and the water shortage detection circuit of the water tank further includes:
[0194] A voltage detection circuit 40, which is electrically connected to the power supply terminal of the liquid supply device and the main control circuit 20 respectively, and is used to detect the power supply voltage accessed by the power supply terminal and output a corresponding power supply voltage detection signal;
[0195] The main control circuit 20 is used to adjust the waveform of the preset current according to the power supply voltage detection signal.
[0196] The voltage detection circuit 40 can be implemented by a resistor voltage division circuit 122, or a voltage detection chip, etc. It can be understood that if the power supply voltage accessed by the current power supply terminal is an alternating voltage, the voltage detection circuit 40 can further include a rectification circuit 121 to rectify the power supply voltage, and then detect the voltage value of the rectified power supply voltage, and further confirm the voltage value of the actual power supply voltage accessed by the power supply terminal.
[0197] Specifically, during the operation of the water pump device, the main control circuit 20 will detect the parameters of the power supply voltage accessed by the power supply terminal of the liquid supply device. For example, when the power supply voltage is an alternating voltage, it will detect the phase, amplitude, period, frequency, etc. of the power supply voltage. If the power supply voltage is a direct current voltage, then it will detect the voltage value of the power supply voltage. And according to the above parameters of the power supply voltage, adaptively adjust the waveform of the preset current.
[0198] Optionally, in the main control circuit 20, the R & D personnel pre-store the preset current corresponding to the power supply voltage range under different parameters, that is, the power supply voltage - preset current mapping table is pre-stored. In this way, the main control circuit 20 can call the above mapping table according to the detected parameters of the power supply voltage and confirm the preset current corresponding to the current power supply voltage in the above mapping table.
[0199] Optionally, the R & D personnel can also pre-store the parameter adjustment formula of the power supply voltage and the preset current in the mapping table. The main control circuit 20 can adjust the preset current accordingly based on the current parameter adjustment formula and the parameters of the current power supply voltage. For example, the phase of the reference voltage corresponding to the current preset current is 0°, the amplitude is 220V, the phase of the preset current is the same as the phase of the reference voltage, and its amplitude has a linear relationship with the amplitude of the reference voltage. If the detected parameters of the current power supply voltage are a phase of 5° and an amplitude of 208V (10% different from the reference voltage), then the main control circuit 20 will reduce the amplitude of the preset current by 10% as a whole and adjust its phase to 5°.
[0200] With the above settings, the liquid supply device can effectively adjust the preset current according to the actually connected power supply voltage, thereby further improving the accuracy of the water shortage detection of the water tank and / or the pump blockage detection in the above embodiments.
[0201] The present invention also provides a liquid supply device, including a water tank, a pump device for pumping out the liquid in the water tank, and a detection device as described in any one of the above; or, a water shortage detection circuit of the water tank as described in any one of the above.
[0202] It should be noted that since the liquid supply device of the present invention includes all the technical solutions of all the embodiments of the above detection device or the water shortage detection circuit of the water tank, it has at least all the beneficial effects brought by the technical solutions of the above detection device or the water shortage detection circuit of the water tank, which will not be elaborated here one by one.
[0203] The present invention also provides a water-using device, including a liquid supply device as described in any one of the above.
[0204] In this embodiment, the water-using device includes a cold fan.
[0205] It should be noted that since the water-using device of the present invention includes all the technical solutions of all the embodiments of the above liquid supply device, it has at least all the beneficial effects brought by the technical solutions of the above liquid supply device, which will not be elaborated here one by one.
[0206] The above content is only an optional embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structural transformation made by using the description and drawings of the present invention under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields, is included in the patent protection scope of the present invention.
Claims
1. A method for detecting water shortage in a water tank, which is applied to the liquid supply device. The liquid supply device includes a water tank and a water pump device for pumping out the liquid in the water tank. Characterized in that, The method includes: Obtaining the working current of the water pump device; When it is confirmed that the working current does not match the preset current, it is determined that the water tank is in a water shortage state.
2. The method for detecting water shortage in a water tank according to claim 1, Characterized in that, The step of determining that the water tank is in a water shortage state when it is confirmed that the working current does not match the preset current is specifically: When it is confirmed that the phase shift of the working current from the preset current exceeds the preset phase deviation, it is determined that the water tank is in a water shortage state.
3. The method for detecting water shortage in a water tank according to claim 2, Characterized in that, The step of determining that the water tank is in a water shortage state when it is confirmed that the phase shift of the working current from the preset current exceeds the preset phase deviation is specifically: Within a preset first time period, if the number of times the phase shift of the working current from the preset current exceeds the preset phase deviation reaches the preset number of times, it is determined that the water tank is in a water shortage state.
4. The method for detecting water shortage in a water tank according to claim 3, Characterized in that, After the step of determining that the water tank is in a water shortage state when the number of times the phase shift of the working current from the preset current exceeds the preset phase deviation reaches the preset number of times within the preset first time period, the method further includes: Determining the water shortage level of the water tank according to the number of deviations; and performing corresponding protection actions according to the water shortage level; Wherein, the protection actions include performing at least one of corresponding water addition reminder actions and controlling the water pump device to stop working according to the water shortage level.
5. The method for detecting water shortage in a water tank according to claim 1, Characterized in that, The step of determining that the water tank is in a water shortage state when it is confirmed that the working current does not match the preset current is specifically: When it is confirmed that the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference, it is determined that the water tank is in a water shortage state; Or, When it is confirmed that the phase shift of the working current from the preset current exceeds the preset phase deviation and the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference, it is determined that the water tank is in a water shortage state.
6. The method for detecting water shortage in a water tank according to any one of claims 1-5, Characterized in that, After the step of determining that the water tank is in a water shortage state, the method further includes: Performing a water addition reminder action; and / or, controlling the water pump device to stop working.
7. The method for detecting water shortage in a water tank according to any one of claims 1-5, Characterized in that, The method further includes: When it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference, it is determined that the water pump device is in a blocked rotation state, and the user is reminded and / or the water pump device is controlled to stop working; and / or, The method further includes: Obtain the power supply voltage accessed by the power supply terminal of the liquid supply device; According to the parameters of the power supply voltage, correspondingly adjust the waveform of the preset current.
8. A detection device, characterized in that the detection device is used for a liquid supply device, the liquid supply device includes a water tank and a water pump device for pumping out the liquid in the water tank, and the detection device includes: a memory; a processor; and a water tank water shortage detection program stored on the memory and executed by the processor, and when the water tank water shortage detection program is executed by the processor, it realizes the water tank water shortage detection method according to any one of claims 1-7.
9. A water tank water shortage detection circuit applied to the liquid supply device, the liquid supply device includes a water tank and a water pump device for pumping out the liquid in the water tank, characterized in that the water tank water shortage detection circuit includes: a current detection circuit for detecting the working current of the water pump device and outputting a corresponding working current detection signal; a main control circuit for determining that the water tank is in a water shortage state when the working current does not match the preset current according to the working current detection signal.
10. The water tank water shortage detection circuit according to claim 9, characterized in that the liquid supply device has a water pump power supply terminal, and the current detection circuit includes: a current sensing element connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device; a sampling circuit, the output end of the sampling circuit is electrically connected to the main control circuit, and is used for collecting the voltage drop on the current sensing element and outputting a corresponding sampling signal to the main control circuit; wherein, the working current detection signal includes the sampling signal.
11. The water tank water shortage detection circuit according to claim 10, characterized in that the water pump power supply terminal includes an AC positive power supply terminal and an AC negative power supply terminal, and the power supply terminal of the water pump device includes a power supply positive terminal and a power supply negative terminal; the power supply positive terminal of the water pump device is connected to the AC positive power supply terminal; the current sensing element is connected in series on the path between the power supply negative terminal of the water pump device and the AC negative power supply terminal, and the first end of the current sensing element is electrically connected to the power supply negative terminal; the sampling circuit includes: a rectifying circuit electrically connected to the first end of the current sensing element and used for rectifying the voltage at the first end of the current sensing element and outputting a second voltage signal; a voltage dividing circuit for dividing the second voltage signal according to a preset voltage division ratio and outputting the corresponding sampling signal to the main control circuit.
12. The water tank water shortage detection circuit according to claim 11, characterized in that the current detection circuit further includes: a voltage clamping circuit electrically connected to the output end of the sampling circuit and used for keeping the voltage of the sampling signal within a preset voltage range.
13. The water tank water shortage detection circuit according to claim 9, characterized in that The main control circuit is configured to determine that the water tank is in a water shortage state when, based on the working current detection signal, it is confirmed that the phase shift between the phase of the working current and the phase of a preset current exceeds a preset phase deviation and / or the current difference between the current value of the working current and the current value of the preset current reaches a preset first current difference.
14. The water tank water shortage detection circuit according to any one of claims 9 - 13, wherein, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes: a switch circuit, which is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device; the main control circuit is configured to control the switch circuit to be in an open state to disconnect the path between the water pump power supply terminal and the power supply terminal of the water pump device when it is determined that the water tank is in a water shortage state; and / or, the main control circuit is electrically connected to the controlled terminal of the water pump device and is configured to control the water pump device to stop working when it is determined that the water tank is in a water shortage state.
15. The water tank water shortage detection circuit according to any one of claims 9 - 13, wherein, the water tank water shortage detection circuit further includes: a prompting component, and the main control circuit is electrically connected to the prompting component; the main control circuit is configured to control the prompting component to operate when it is determined that the water tank is in a water shortage state.
16. The water tank water shortage detection circuit according to any one of claims 9 - 13, wherein, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes: a switch circuit, which is connected in series on the path between the water pump power supply terminal and the power supply terminal of the water pump device; the main control circuit is further configured to determine that the water pump device is in a blocked rotation state and control the switch circuit to be in an open state to disconnect the path between the water pump power supply terminal and the power supply terminal of the water pump device when it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference; or, the main control circuit is electrically connected to the controlled terminal of the water pump device and is configured to determine that the water pump device is in a blocked rotation state and control the water pump device to stop working when it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference.
17. The water tank water shortage detection circuit according to any one of claims 9 - 13, wherein, the power supply terminal of the liquid supply device is used to connect to a power supply voltage, and the water tank water shortage detection circuit further includes: a voltage detection circuit, which is electrically connected to the power supply terminal of the liquid supply device and the main control circuit respectively, and is configured to detect the power supply voltage connected to the power supply terminal and output a corresponding power supply voltage detection signal; the main control circuit is configured to adjust the waveform of the preset current according to the power supply voltage detection signal.
18. A liquid supply device, wherein, it includes a water tank, a water pump device for pumping out the liquid in the water tank, and the detection device according to claim 8; or, the water tank water shortage detection circuit according to any one of claims 9 - 17.
19. A water - using device, wherein, including the liquid supply device according to claim 18.
20. The water-using device according to claim 19, wherein, the water-using device includes a cold fan.