Method, circuit and apparatus for detecting water shortage in water tank, liquid supply apparatus and water-using device
By detecting the matching between the working current of the water pump device and the preset current, determining whether the water tank is in a water shortage state, solving the problem of high cost of floating ball switches, realizing low-cost water shortage detection, and improving the integration of the liquid supply device.
Patent Information
- Application Number
- PCT/CN2024/135322
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-29
- Filing Date
- 2024-11-28
- Publication Date
- 2025-06-05
AI Technical Summary
In the existing water tank water shortage detection methods, the cost of the float switch is higher, resulting in the cost of the water shortage detection of the liquid supply device.
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 cost of water shortage detection in the water tank of the liquid supply device is reduced, the space of the float switch is saved, and the integration of the liquid supply device is improved.
Smart Images

Figure CN2024135322_05062025_PF_FP_ABST
Abstract
Description
Water tank water shortage detection method and its circuit, device, liquid supply device and water-using equipment
[0001] Related applications
[0002] This application claims priority to Chinese patent application number 202311621932.3 filed on November 29, 2023, and Chinese patent application number 202323249279.0 filed on November 29, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of water tank water shortage detection, and in particular to a water tank water shortage detection method and its circuit, device, liquid supply device and water use equipment. Background Art
[0004] In a liquid supply device of a water-using equipment, a float switch is generally used to detect whether a water tank in the liquid supply device is in a water shortage state. However, the structure of the float switch is relatively expensive. Summary of the Invention
[0005] The main purpose of this application is to provide a method for reducing the cost of water shortage detection in a liquid supply device.
[0006] To achieve the above objectives, the present application proposes a water tank water shortage detection method, which is applied to the liquid supply device, wherein the liquid supply device includes a water tank and a water pump device for pumping liquid out of the water tank. The method includes:
[0007] obtaining the operating current of the water pump device;
[0008] 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.
[0009] In one embodiment, when confirming that the operating current does not match the preset current, the step of determining that the water tank is in a water shortage state includes:
[0010] When it is confirmed that the phase offset between the working current and the preset current exceeds a preset phase deviation, it is determined that the water tank is in a water shortage state.
[0011] In one embodiment, when confirming that the phase of the working current is offset from the phase of the preset current by more than a preset phase deviation, the step of determining that the water tank is in a water shortage state includes:
[0012] Within a preset first time period, if the phase of the working current is offset from the phase of the preset current by a number of times exceeding a preset phase deviation and reaching a preset number of times, it is determined that the water tank is in a water shortage state.
[0013] In one embodiment, after determining that the water tank is in a water shortage state if the phase of the working current and the phase of the preset current are offset by a preset phase deviation a number of times within the preset first time period, the method further includes:
[0014] Determining the water shortage level of the water tank according to the number of deviations; and executing corresponding protection actions according to the water shortage level;
[0015] The protection action includes at least one of executing a corresponding water adding reminder action according to the water shortage level and controlling the water pump device to stop working.
[0016] In one embodiment, when it is confirmed that the operating current does not match the preset current, the step of determining that the water tank is in a water shortage state includes:
[0017] 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.
[0018] In one embodiment, when it is confirmed that the operating current does not match the preset current, the step of determining that the water tank is in a water shortage state includes:
[0019] When it is confirmed that the phase offset between the working current and 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.
[0020] In one embodiment, after the step of determining that the water tank is in a water shortage state, the method further includes:
[0021] Execute a water adding reminder action; and / or control the water pump device to stop working.
[0022] In one embodiment, the method further comprises:
[0023] 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.
[0024] In one embodiment, the method further comprises:
[0025] Obtaining a power supply voltage connected to a power supply terminal of the liquid supply device;
[0026] The waveform of the preset current is adjusted accordingly according to the parameters of the power supply voltage.
[0027] The present application also proposes a detection device, which is used for a liquid supply device, wherein the liquid supply device includes a water tank and a water pump device for pumping liquid out of the water tank, and the detection device includes:
[0028] Memory;
[0029] processor; and,
[0030] A water tank water shortage detection program is 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 as described in any one of the above items.
[0031] The present application also proposes a water tank water shortage detection circuit, which is applied to the liquid supply device. The liquid supply device includes a water tank and a water pump device for pumping liquid out of the water tank. The water tank water shortage detection circuit includes:
[0032] a current detection circuit, the current detection circuit being used to detect the operating current of the water pump device and output a corresponding operating current detection signal;
[0033] The main control circuit is used to determine that the water tank is in a water shortage state when the working current does not match the preset current based on the working current detection signal.
[0034] In one embodiment, the liquid supply device has a water pump power supply terminal, and the current detection circuit includes:
[0035] A current sensing element connected in series in a path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0036] A sampling circuit, wherein the output end of the sampling circuit is electrically connected to the main control circuit and is used to collect the voltage drop on the current sensing element and output a corresponding sampling signal to the main control circuit; wherein the working current detection signal includes the sampling signal.
[0037] In one embodiment, the water pump power supply end includes an AC positive power supply end and an AC negative power supply end, and the power supply end of the water pump device includes a positive power supply end and a negative power supply end; the positive power supply end of the water pump device is connected to the AC positive power supply end;
[0038] The current sensing element is connected in series to the path between the negative terminal of the power supply of the water pump device and the negative AC power supply terminal, and the first end of the current sensing element is electrically connected to the negative terminal of the power supply;
[0039] The sampling circuit comprises:
[0040] a rectifier circuit, the rectifier circuit being electrically connected to the first end of the current sensing element and configured to rectify the voltage at the first end of the current sensing element and output a second voltage signal;
[0041] A voltage divider circuit is used to divide the second voltage signal according to a preset voltage divider ratio and then output the corresponding sampling signal to the main control circuit.
[0042] In one embodiment, the current detection circuit further includes:
[0043] The voltage clamping circuit is electrically connected to the output end of the sampling circuit and is used to keep the voltage of the sampling signal within a preset voltage range.
[0044] In one embodiment, the main control circuit is used to determine that the water tank is in a water shortage state based on the working current detection signal when it is confirmed that the phase offset between the working current and the 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.
[0045] In one embodiment, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0046] A switch circuit, the switch circuit being connected in series to a path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0047] The main control circuit is used to control the switch circuit to be in an open state when it is determined that the water tank is in a water shortage state, so as to disconnect the path between the water pump power supply end and the power supply end of the water pump device; and / or,
[0048] The main control circuit is electrically connected to the controlled end of the water pump device and is used to control the water pump device to stop working when it is determined that the water tank is in a water shortage state.
[0049] In one embodiment, the water tank water shortage detection circuit further includes:
[0050] a prompt component, the main control circuit being electrically connected to the prompt component;
[0051] The main control circuit is used to control the prompt component to operate when it is determined that the water tank is in a water shortage state.
[0052] In one embodiment, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0053] A switch circuit, the switch circuit being connected in series to a path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0054] The main control circuit is further configured to, when it is determined that the current difference between the operating current and the preset current reaches a preset second current difference, determine that the water pump device is in a stalled state, and control the switch circuit to be in an open state to disconnect the path between the water pump power supply end and the power supply end of the water pump device; or,
[0055] The main control circuit is electrically connected to the controlled end of the water pump device, and is used 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 reaches a preset second current difference.
[0056] In one embodiment, the power supply terminal of the liquid supply device is used to access the power supply voltage, and the water tank water shortage detection circuit further includes:
[0057] a voltage detection circuit, electrically connected to the power supply terminal of the liquid supply device and the main control circuit, and configured to detect the power supply voltage connected to the power supply terminal and output a corresponding power supply voltage detection signal;
[0058] The main control circuit is used to adjust the waveform of the preset current according to the power supply voltage detection signal.
[0059] The present application also proposes a liquid supply device, comprising a water tank, a water pump device for extracting liquid from the water tank, and the detection device as described above; or, a water tank water shortage detection circuit as described in any of the above items.
[0060] The present application also proposes a water-using device, comprising the liquid supply device as described above.
[0061] In one embodiment, the water-using device includes a cooling fan.
[0062] The present water tank water shortage detection method includes obtaining the operating current of a water pump device and determining that the water tank is short of water when the operating current does not match a preset current. Thus, in practical applications, there is no need to install a float switch within the liquid supply device to detect water shortage within the water tank. Instead, the determination of water shortage can be made simply by detecting the operating current of the water pump device and comparing it with a preset current. This effectively reduces the cost of water shortage detection within the liquid supply device. Furthermore, this method saves space within the liquid supply device that would otherwise have housed a float switch, thereby improving the integration of the liquid supply device. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0064] FIG1 is a flow chart of an embodiment of a method for detecting water shortage in a water tank according to the present invention;
[0065] FIG2 is a flow chart of another embodiment of the water tank water shortage detection method of the present application;
[0066] FIG3 is a flow chart of another embodiment of the water tank water shortage detection method of the present application;
[0067] FIG4 is a flow chart of another embodiment of the water tank water shortage detection method of the present application;
[0068] FIG5 is a flow chart of an embodiment of a water tank water shortage detection circuit of the present application;
[0069] FIG6 is a flow chart of another embodiment of the water tank water shortage detection circuit of the present application;
[0070] FIG7 is a flow chart of another embodiment of the water tank water shortage detection circuit of the present application;
[0071] FIG8 is a flow chart of another embodiment of the water tank water shortage detection circuit of the present application;
[0072] FIG9 is a flow chart of another embodiment of the water tank water shortage detection circuit of the present application;
[0073] FIG10 is a flow chart of another embodiment of the water tank water shortage detection circuit of the present application;
[0074] FIG11 is a flow chart of another embodiment of the water tank water shortage detection circuit of the present application;
[0075] FIG12 is a schematic diagram of a preset current waveform in various embodiments of the present application;
[0076] FIG13 is a schematic diagram of abnormal operating current waveforms in various embodiments of the present application.
[0077] Description of Figure Numbers:
[0078] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0079] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0080] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0081] The present application proposes a method for detecting water shortage in a water tank, which is applied to the liquid supply device, wherein the liquid supply device includes a water tank and a water pump device for extracting the liquid in the water tank. It is understandable that a detection device is also provided in the liquid supply device, and 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 using a main controller, such as an MCU (Microprogrammed Control Unit), a DSP (Digital Signal Process), an FPGA (Field Programmable Gate Array), a PLC (Programmable Logic Controller), a SOC (System On Chip), etc.
[0082] Referring to FIG1 , in one embodiment of the present application, the method includes:
[0083] Step S100, obtaining the operating current of the water pump device;
[0084] Step S200: 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.
[0085] In this embodiment, a current detection device for detecting the operating current of the water pump device may be provided within the liquid supply device, and the current detection device is electrically connected to the detection device. The current detection device may be implemented using a shunt, a current sensing resistor, a Hall effect current sensor, or other device. The current detection device can detect the operating current of the water pump device and output the detection result to the detection device.
[0086] In one embodiment, the water pump device itself is equipped with a water pump management module, and the water pump management module and the detection device are connected to each other for communication, 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.
[0087] It's important to understand that the water pump mechanism pumps and delivers liquid from the water tank via its internal motor. The operating current of the water pump mechanism is essentially the same as the operating current of the motor. If the water tank is short of water, the operating state of the water pump mechanism, or the motor, will change compared to a full-water state, causing the operating current of the water pump mechanism to change.
[0088] In this embodiment, the preset current is obtained by R&D personnel during the design of the liquid supply device through multiple experiments to determine the operating current of the water pump device when the water tank is fully water-stable. This current is then pre-stored in the detection device. There is at least one preset current. If there are multiple preset currents, each preset current matches an operating level of the water pump device. For example, different operating levels correspond to different water pump device speeds, and each water pump device speed corresponds to a preset current. The detection device then uses the corresponding preset current based on the current operating level of the water pump device.
[0089] Specifically, when the detection device finds that the working current of the water pump device does not match the preset current, that is, the waveform of the working current and the waveform of the preset current have a certain deviation, such as phase deviation, frequency deviation, amplitude deviation, etc., and when the deviation reaches a certain value, such as too many phase deviations and a 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), and then it can be determined that the water tank is in a water shortage state. In this way, in actual applications, there is no need to set a float switch in the liquid supply device to detect whether there is a water shortage in the water tank. It is only necessary to detect the working current of the water pump device and compare the working current with the preset current to confirm whether there is a 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 used to place the float switch in the liquid supply device is saved, and the integration of the liquid supply device is improved.
[0090] In addition, it can be understood that, referring to Figure 3, in one embodiment of the present application, after the step of determining that the water tank is in a water shortage state, the method also includes: step S300, executing a water addition reminder action; and / or, controlling the water pump device to stop working.
[0091] In this embodiment, the liquid supply device is further provided with a prompt component electrically connected to the detection device. The prompt component can be implemented as a light prompt component, such as an LED light or a display screen. When the detection device confirms that the water tank is short of water, the light prompt component can be controlled to emit a corresponding light signal, such as by controlling the LED light to flash or remain on, to alert the user. Alternatively, the prompt component can be implemented as an audio prompt component, such as a speaker or a vibrator. When the detection device confirms that the water tank is short of water, the audio prompt component can be controlled to emit a corresponding prompt sound, such as an audio prompt of "Please add water." Alternatively, the prompt component can be a communication component connected to a user's handheld terminal, such as a WIFI wireless communication component or a 4G / 5G communication component. When the detection device confirms that the water tank is short of water, the communication component can be used to send a corresponding prompt message to the user's handheld terminal to alert the user. It is understood that the liquid supply device can also be provided with at least two of the above three prompt components simultaneously.
[0092] In one embodiment, the detection device is further provided with a port for outputting a reminder signal, which is adapted to connect to an external circuit component, such as a reminder component in a water-using device or a control module in the water-using device. Upon confirming that the water tank is low on water, the detection device outputs a reminder signal via the aforementioned port, causing the external circuit component to perform a corresponding reminder action upon receiving the reminder signal. For example, if the current water-using device is a cooling fan, the cooling fan's control module is connected to the aforementioned port of the detection device in the water supply device. Upon receiving the reminder signal, the control module will activate the water-using device's own reminder component, prompting the current user to add water.
[0093] In one embodiment, in order to ensure the safety of the water pump device, when the detection device determines that the water tank is short of water, it outputs a corresponding stop-work signal to the controlled end of the water pump device, and / or controls 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 as to cut off the power to the water pump device.
[0094] It is understandable that in this embodiment, when the detection device determines that there is a lack of water in the water tank, it simultaneously performs a water adding reminder action and controls the water pump device to stop working, or performs one of the two actions.
[0095] The present water tank water shortage detection method includes obtaining the operating current of a water pump device and determining that the water tank is short of water when the operating current does not match a preset current. Thus, in practical applications, there is no need to install a float switch within the liquid supply device to detect water shortage within the water tank. Instead, the determination of water shortage can be made simply by detecting the operating current of the water pump device and comparing it with a preset current. This effectively reduces the cost of water shortage detection within the liquid supply device. Furthermore, this method saves space within the liquid supply device that would otherwise have housed a float switch, thereby improving the integration of the liquid supply device.
[0096] In one embodiment of the present application, when it is confirmed that the working current does not match the preset current, the steps of determining that the water tank is in a water shortage state are specifically as follows:
[0097] 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.
[0098] In this embodiment, the motor of the water pump device is an AC motor or a DC motor. Accordingly, the working current of the water pump device is a DC current or an AC current.
[0099] It is understood that the water pump device is driven by its internal motor to pump liquid out of the water tank. If the liquid in the water tank is close to being depleted, the amount of liquid pumped out will decrease. In other words, due to the lack of water, the amount of liquid pumped out by the water pump device decreases, and the resistance it encounters also decreases, resulting in a decrease in its operating current.
[0100] In this embodiment, the R&D personnel will test the working current of the water pump device when the water tank is in a water shortage state during the R&D period to determine the difference between the working current and the corresponding preset current, and set it as the preset first current difference.
[0101] Specifically, when the detection device determines that the current value of the operating current of the water pump device is less than the current value of the preset current, and the current difference with the preset current reaches the preset first-end current difference, then it is determined that the water tank is in a water shortage state. Through the above configuration, the detection device can determine whether there is a water shortage in the water tank based on the current value of the operating current of the water pump device, without the need for a float switch, effectively reducing the cost of water tank water shortage detection.
[0102] In one embodiment of the present application, when it is confirmed that the working current does not match the preset current, the steps of determining that the water tank is in a water shortage state are specifically as follows:
[0103] When it is confirmed that the phase offset between the working current and the preset current exceeds the preset phase deviation, it is determined that the water tank is in a water shortage state.
[0104] It should be understood that, in this embodiment, the motor of the water pump device is an AC motor, that is, its operating current is AC current.
[0105] It can be understood from the above content that when the water tank is in a water shortage state, the water pump device will pump out less water and the water resistance it encounters will also become smaller, which will in turn cause the speed of the water pump device to fluctuate compared to the preset speed, thereby causing the phase of its working current to deviate.
[0106] In this embodiment, the R&D personnel will test the working current of the water pump device when the water tank is in a water shortage state during the R&D period to determine the phase difference with the corresponding preset current and set it as the preset phase deviation.
[0107] Specifically, referring to Figures 12 and 13 , the operating current of the water pump device is periodic. When the detection device determines that the phase of a certain cycle or multiple cycles of the operating current deviates from the phase of the preset current by more than the preset phase deviation, it will confirm that the motor speed in the current pump device is unstable, and further determine that there is a water shortage in the water tank. It is also understandable that compared to detecting water shortage through changes 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, current phase deviation detection can further improve the accuracy of water tank water shortage detection.
[0108] Furthermore, in order to prevent the detection device from misjudging the water shortage, in one embodiment, referring to FIG2 , when it is confirmed that the phase offset between the working current and the preset current exceeds the preset phase deviation, the steps of determining that the water tank is in the water shortage state are specifically as follows:
[0109] Step S210: within a preset first time period, if the phase of the working current is offset from the phase of the preset current by a number of times exceeding a preset phase deviation and reaching a preset number of times, it is determined that the water tank is in a water shortage state.
[0110] In this embodiment, the preset first duration and the preset number of times are determined by R&D personnel through multiple experiments during the development process. The detection device determines that the current working current of the water pump device is irregular, and thus that the water tank device is currently short of water, only when it detects, within the preset first duration, that the phase of the working current over multiple cycles deviates from the preset current by more than the preset phase deviation, i.e., the phase of the working current deviates from the preset current by more than the preset phase deviation a predetermined number of times. This configuration effectively improves the accuracy of detecting whether the water tank is short of water using the current of the water pump device.
[0111] Furthermore, based on the above embodiments, it can be understood that water shortage in the water tank is a state process, that is, the water tank will gradually go from being slightly short of water to being relatively short of water, and preferably completely short of water. The corresponding water pump device will also gradually change from reducing the amount of liquid pumped out to being completely unable to pump out liquid. Therefore, in another embodiment of the present application, referring to FIG2 , within a preset first time period, if the phase of the working current and the phase of the preset current are offset by a preset number of times exceeding the preset phase deviation, after the step of determining that the water tank is in a water shortage state, the method further includes:
[0112] Step S220: 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;
[0113] The protection action includes at least one of executing a corresponding water adding reminder action according to the water shortage level and controlling the water pump device to stop working.
[0114] In this embodiment, the detection device determines in real time how many cycles of the operating current within each preset first time period have a phase deviation from the preset current that exceeds a preset phase deviation, i.e., the number of deviations. It is understood that developers can pre-set different water shortage levels corresponding to different deviations and assign corresponding protective actions for each water shortage level. Alternatively, users can configure protective actions for different water shortage levels within the liquid supply device. For example, the current water shortage level is categorized as "slight water shortage," "relative water shortage," and "severe water shortage." When the detection device determines the water shortage level as "slight water shortage" based on the current number of deviations, the prompt component in the above embodiment can prompt the user to add water and keep the water pump device running. If the detection device determines the water shortage level as "severe water shortage" based on the current number of deviations, in addition to notifying the user, it also controls the water pump device to stop operating to prevent malfunction. This configuration allows the liquid supply device to implement corresponding protective actions for different water shortage situations, effectively improving user convenience.
[0115] In one embodiment of the present application, when it is confirmed that the working current does not match the preset current, the steps of determining that the water tank is in a water shortage state are specifically as follows:
[0116] When it is confirmed that the phase offset between the working current and 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.
[0117] In this embodiment, the detection device determines whether the water tank is short of water based on both the phase and current value of the operating current. The specific process is described in the above embodiment and will not be repeated here. Thus, the detection device uses both the phase and current value of the operating current to comprehensively determine whether the water tank is short of water, further improving the accuracy of water tank water shortage detection.
[0118] In one embodiment of the present application, 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, determining that the water pump device is in a stalled state, and reminding the user and / or controlling the water pump device to stop working.
[0119] In this embodiment, when the water pump device is stalled, its working current will suddenly increase. At this time, if the detection device detects that the current value of the current working current exceeds the current value of the corresponding preset current and reaches a preset second current difference (preset by the R&D personnel and stored in the detection device), it will confirm that the current working current is too high, and then confirm that the water pump device is in a stalled state. And according to the same process as the above embodiment, the user is reminded that the current water pump device is stalled, and / or the water pump device is controlled to stop working. In this way, in actual application, the liquid supply device not only does not need to set a float switch to detect water shortage in the water tank, but also determines whether the current water pump device is stalled through the working current and performs corresponding actions, which effectively improves the reliability and safety of the operation of the liquid supply device.
[0120] It should be understood that, as can be seen from the above content, the preset current is obtained by the R&D personnel during the test during the R&D period. However, in actual applications, the power supply voltage connected to the power supply end of the liquid supply device may be different. In other words, in actual applications, the power supply voltage connected to the liquid supply device will be different from the power supply voltage in the actual R&D, which will result in the voltage actually output to the water pump device to power it being different. As a result, the current preset current cannot match the current power supply voltage. If the water pump device is working, the detection device may misjudge the current water shortage state of the water tank or the working current of the water pump device.
[0121] To this end, referring to FIG4 , in one embodiment of the present application, the method further includes:
[0122] Step S400: obtaining the power supply voltage connected to the power supply terminal of the liquid supply device;
[0123] Step S500: adjusting the waveform of the preset current according to the parameters of the power supply voltage.
[0124] In this embodiment, a voltage detection circuit is further provided in the liquid supply device. The voltage detection circuit is implemented using a resistor voltage divider circuit, or a voltage detection chip. It is understood that if the power supply voltage currently connected to the power supply terminal is an AC voltage, the voltage detection circuit also includes a rectifier circuit to rectify the power supply voltage, detect the voltage value of the rectified power supply voltage, and then confirm the actual voltage value of the power supply voltage connected to the power supply terminal.
[0125] Specifically, during the operation of the water pump device, the detection device detects the parameters of the power supply voltage connected to the power supply terminal of the liquid supply device. For example, if the power supply voltage is an AC voltage, the detection device detects the phase, amplitude, period, and frequency of the power supply voltage. If the power supply voltage is a DC voltage, the detection device detects the voltage value of the power supply voltage. Based on the above power supply voltage parameters, the preset current waveform is adaptively adjusted.
[0126] In one embodiment, the detection device has pre-stored preset currents corresponding to power supply voltage ranges under different parameters, i.e., a power supply voltage-preset current mapping table. The detection device then calls the mapping table based on the detected power supply voltage parameters and identifies the preset current corresponding to the current power supply voltage in the mapping table.
[0127] In one embodiment, R&D personnel can also pre-store parameter adjustment formulas for the power supply voltage and preset current in the mapping table. The detection device adjusts the preset current accordingly based on the current power supply voltage parameters according to the current parameter adjustment formula. For example, the phase of the reference voltage corresponding to the current preset current is 0° and the amplitude is 220V. The phase of the preset current is consistent with the phase of the reference voltage, and its amplitude is linearly related to the amplitude of the reference voltage. If the parameters of the currently detected power supply voltage are 5° in phase and 208V in amplitude (a 10% difference from the reference voltage), then the detection device will reduce the amplitude of the preset current by 10% and adjust its phase to 5°.
[0128] Through the above arrangement, the liquid supply device effectively adjusts the preset current according to the actual connected power supply voltage, thereby further improving the accuracy of the water tank water shortage detection and / or water pump stall detection in the above embodiment.
[0129] The present application also proposes a detection device, which is used for a liquid supply device. The liquid supply device includes a water tank and a water pump device for pumping liquid out of the water tank. The detection device includes:
[0130] Memory;
[0131] processor; and,
[0132] A water tank water shortage detection program is stored in the memory and executed by the processor. When the water tank water shortage detection program is executed by the processor, it implements any of the water tank water shortage detection methods mentioned above.
[0133] It is worth noting that since the detection device of the present application includes all the technical solutions of all embodiments of the above-mentioned water tank water shortage detection method, it at least has all the beneficial effects brought about by the technical solutions of the above-mentioned water tank water shortage detection method, which will not be described one by one here.
[0134] It is understandable that the detection device can also be used in a fish tank, and by detecting the water pump current in the fish tank, it can determine whether there is a lack of water in the fish tank, and execute the above corresponding method when there is a lack of water in the fish tank.
[0135] The present application also proposes a water tank water shortage detection circuit, which is applied to a liquid supply device, wherein the liquid supply device includes a water tank and a water pump device for pumping liquid out of the water tank. Referring to FIG5 , in one embodiment of the present application, the water tank water shortage detection circuit includes:
[0136] The current detection circuit 10 is used to detect the working current of the water pump device and output a corresponding working current detection signal;
[0137] The main control circuit 20 is used to determine that the water tank is in a water shortage state when the working current does not match the preset current based on the working current detection signal.
[0138] In this embodiment, the current main control circuit 20 is implemented using devices such as a shunt, a current sensing resistor, and a Hall current sensor. The current main control circuit 20 detects the operating current of the water pump device and outputs the detection result to the main control circuit 20. The main control circuit 20 is implemented using a main controller, such as an MCU, a DSP (Digital Signal Processor), an FPGA (Field Programmable Gate Array), a PLC, or a SOC (System on Chip). The main control circuit 20 determines the current operating current of the water pump device based on the current detection signal and compares the operating current with a preset current.
[0139] It's important to understand that the water pump mechanism pumps and delivers liquid from the water tank via its internal motor. The operating current of the water pump mechanism is essentially the same as the operating current of the motor. If the water tank is short of water, the operating state of the water pump mechanism, or the motor, will change compared to a full-water state, causing the operating current of the water pump mechanism to change.
[0140] In this embodiment, the preset current is obtained by researchers during the design of the liquid supply device through multiple experiments to determine the operating current of the water pump device when the water tank is fully water-stable. This current is then pre-stored in the main control circuit 20. There is at least one preset current. If there are multiple preset currents, each preset current matches an operating level of the water pump device. For example, different operating levels correspond to different water pump device speeds, and each water pump device speed corresponds to a preset current. The main control circuit 20 then uses the corresponding preset current based on the current operating level of the water pump device.
[0141] Specifically, when the main control circuit 20 finds that the working current of the water pump device does not match the preset current, that is, the waveform of the working current and the waveform of the preset current have a certain deviation, such as phase deviation, frequency deviation, amplitude deviation, etc., and when the deviation reaches a certain value, such as too many phase deviations 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), and then it can be determined that the water tank is in a water shortage state. In this way, in actual applications, there is no need to set a float switch in the liquid supply device to detect whether there is a water shortage in the water tank. It is only necessary to detect the working current of the water pump device and compare the working current with the preset current to confirm whether there is a 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 used to place the float switch in the liquid supply device is saved, and the integration of the liquid supply device is improved.
[0142] In addition, it can be understood that, with reference to FIG11 , in one embodiment of the present application, the water tank water shortage detection circuit further includes:
[0143] The prompt component, the main control circuit 20 is electrically connected to the prompt component;
[0144] The main control circuit 20 is used to control the prompt component to work when it is determined that the water tank is in a water shortage state.
[0145] In this embodiment, the prompt component is implemented as a light prompt component, such as an LED light, a display screen, etc. When the main control circuit 20 confirms that the water tank is short of water, it controls the light prompt component to emit a corresponding light signal, such as controlling the light prompt component of the LED light to flash or stay on, to prompt the user. Alternatively, the prompt component can also be an audio prompt component, such as a speaker, an exciter, etc. When the water tank is short of water, the main control circuit 20 controls the audio prompt component to emit a corresponding prompt sound, such as an audio prompt of "Please add water". Alternatively, the prompt component can be a communication component 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 prompt message to the user's handheld terminal via the communication component to remind the user. It is understandable that at least two of the above three prompt components can also be provided in the liquid supply device at the same time.
[0146] In another embodiment, the main control circuit 20 is further provided with a port for outputting a reminder signal, which is connected to an external circuit component, such as a reminder component in a water-using device or a control module in the water-using device. Upon confirming that the water tank is low on water, the main control circuit 20 outputs a reminder signal via the aforementioned port, causing the external circuit component to perform a corresponding reminder action upon receiving the reminder signal. For example, if the current water-using device is a cooling fan, the cooling fan's control module is connected to the aforementioned port of the main control circuit 20 of the water supply device. When the control module receives the reminder signal, it controls the water-using device's own reminder component to activate, prompting the current user to add water.
[0147] 6 , in one embodiment of the present application, the liquid supply device has a water pump power supply terminal, and the current detection circuit 10 includes:
[0148] A current sensing element 11 is connected in series to a path between the water pump power supply end and the power supply end of the water pump device;
[0149] The sampling circuit 12 has an output end electrically connected to the main control circuit 20 and is used to collect the voltage drop on the current sensing element 11 and output a corresponding sampling signal to the main control circuit 20; wherein the working current detection signal includes the sampling signal.
[0150] In this embodiment, the current sensing element 11 can be implemented by using a current sensing resistor, an alloy resistor, a differential resistor, etc.
[0151] In one embodiment, if the motor in the current water pump device is a DC motor, the sampling circuit 12 is implemented using a resistor divider circuit 122. The resistor divider circuit 122 divides the voltage across the current sensing element 11 according to a preset resistance ratio and then outputs a corresponding sampling signal to the main control circuit 20. The main control circuit 20 calculates the voltage across the current sensing element 11 based on the voltage value of the received sampling signal and a preset resistance ratio, thereby determining the voltage drop across the current sensing element 11. Finally, based on the voltage drop and the pre-stored resistance value of the current sensing element 11, the main control circuit 20 calculates the current flowing through the current sensing element 11, i.e., the operating current of the water pump device. Alternatively, the sampling circuit 12 can also be implemented using a differential amplifier circuit to directly calculate the voltage drop across the current sensing element 11, amplify it according to a preset amplification ratio, and output the corresponding sampling signal.
[0152] In one embodiment, if the motor in the current water pump device is an AC motor, the sampling circuit 12 also includes a circuit for rectification. Specifically, referring to FIG7 , 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 positive power supply terminal and a negative power supply terminal; the positive power supply terminal of the water pump device is connected to the AC positive power supply terminal;
[0153] The current sensing element 11 is connected in series to the path between the negative terminal of the power supply of the water pump device and the negative AC power supply terminal, and the first end of the current sensing element 11 is electrically connected to the negative terminal of the power supply;
[0154] The sampling circuit 12 includes:
[0155] a rectifier circuit 121 , which is electrically connected to the first end of the current sensing element 11 and configured to rectify the voltage at the first end of the current sensing element 11 and output a second voltage signal;
[0156] The voltage divider circuit 122 is used to divide the second voltage signal according to a preset voltage divider ratio and then output a corresponding sampling signal to the main control circuit 20 .
[0157] In this embodiment, the rectifier circuit 121 is implemented using a full-bridge rectifier circuit 121 or a half-bridge rectifier circuit 121 composed of multiple diodes, or it can be implemented directly using a rectifier. It is understandable that since the operating voltage of the water pump device is an AC voltage and the operating current is an AC current, the current flowing through the current sensing element 11 is also an AC current, and the voltage across it 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 rectifier circuit 121 and then output it as a second voltage signal of DC power. The voltage divider circuit 122 is implemented using the voltage divider circuit 122 in the above embodiment to divide the second voltage signal according to a preset voltage divider ratio and output a corresponding sampling signal to the main control circuit 20, thereby meeting the detection voltage range of the ADC port of the main control circuit 20. The main control circuit 20 calculates the voltage across the current sensing element 11 based on the preset voltage divider ratio and the voltage value of the sampling signal, and then confirms the current value of the actual operating current based on the resistance value of the current sensing element 11.
[0158] It is understandable that the sampling circuit 12 further includes a rectifier 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 amplifier circuit, etc.
[0159] Specifically, the voltage divider 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 in the path between the negative terminal of the power supply of the water pump device and the negative AC power supply terminal. The first terminal of the current sensing resistor RES1 is electrically connected to the negative terminal of the power supply. The above components are electrically connected as shown in Figure 8. The voltage at the first terminal of the current sensing resistor RES1 is rectified and then divided by the first resistor R1 and the second resistor R2 before being output to the main control circuit 20. The main control circuit 20 is configured to determine the voltage drop across the current sensing resistor RES1 based on the voltage divided by the first resistor R1 and the second resistor R2, i.e., the voltage value of the sampling signal, and thereby determine the operating current of the water pump device.
[0160] It should be understood that in actual applications, if the water pump power supply voltage output by the water pump power supply end is high or even overvoltage occurs, then the voltage of the sampling signal output by the voltage divider circuit 122 will also be too high, which may easily cause damage to the port of the main control circuit 20 electrically connected to it.
[0161] To this end, referring to FIG7 , in one embodiment of the present application, the current detection circuit further includes:
[0162] The voltage clamping circuit 13 is electrically connected to the output end of the sampling circuit 12 and is used to maintain the voltage of the sampling signal within a preset voltage range.
[0163] In this embodiment, the voltage clamping circuit 13 is implemented using a voltage clamping device, such as a diode, a Zener diode, or the like, to maintain the voltage of the sampling signal output by the sampling circuit 12 within a preset voltage range. The preset voltage range is determined by the developer and implemented by selecting a suitable voltage clamping device. It is understood that when developing the device, the developer will set the withstand voltage of the port of the main control circuit 20 and the voltage divider ratio of the voltage divider circuit 122 accordingly to ensure that the main control circuit 20 can calculate the operating current normally according to the above process when the water pump power 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 power supply voltage is in an overvoltage state.
[0164] Specifically, referring to FIG8 , 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 a reference power supply terminal, which is configured to provide a 5V voltage. The anode of the first diode D1 is electrically connected to the main control circuit 20 via the third resistor R3. If the water pump power supply voltage output by the water pump power supply terminal is relatively high, the voltage at the port connecting the main control circuit 20 to the sampling circuit 12 will not exceed 5V, ensuring operational safety.
[0165] Through the above arrangement, the safety of the subsequent circuit can be guaranteed when the water pump power supply voltage is overvoltage, which effectively improves the reliability and safety of the water tank detection circuit.
[0166] In one embodiment of the present application, the main control circuit 20 is used to determine that the water tank is in a water shortage state based on the working current detection signal when it is confirmed that the phase offset between the working current and 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 a preset first current difference.
[0167] In one embodiment, the motor of the water pump device is an AC motor or a DC motor. Accordingly, the operating current of the water pump device is a DC current or an AC current. It is understood that the water pump device is driven by its internal motor to pump liquid from the water tank. If the water tank is nearly depleted, the amount of liquid pumped out will decrease. In other words, due to the lack of water, the amount of liquid pumped out by the water pump device decreases, and the resistance it encounters also decreases, resulting in a decrease in its operating current.
[0168] In this embodiment, the R&D personnel will test the working current of the water pump device when the water tank is in a water shortage state during the R&D period to determine the difference between the working current and the corresponding preset current, and set it as the preset first current difference.
[0169] 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 with the preset current reaches the preset first end current difference, then it will be determined that the water tank is in a water shortage state.
[0170] In one embodiment, the motor of the water pump device is an AC motor, that is, its operating current is AC current.
[0171] It can be understood from the above content that when the water tank is in a water shortage state, the water pump device will pump out less water and the water resistance it encounters will also become smaller, which will in turn cause the speed of the water pump device to fluctuate compared to the preset speed, thereby causing the phase of its working current to deviate.
[0172] In this embodiment, the R&D personnel will test the working current of the water pump device when the water tank is in a water shortage state during the R&D period to determine the phase difference with the corresponding preset current and set it as the preset phase deviation.
[0173] Specifically, referring to Figures 12 and 13, the working current of the water pump device is periodic. When the main control circuit 20 determines that the phase deviation of a certain cycle or multiple cycles of the working current and the phase of the preset current exceeds the preset phase deviation, it will be confirmed that the motor speed in the current water pump device is unstable, and then it will be determined that there is a water shortage in the water tank.
[0174] Furthermore, in order to prevent the main control circuit 20 from misjudging the water shortage situation, in one embodiment,
[0175] The main control circuit 20 is also used to determine that the water tank is in a water shortage state based on the working current detection signal when it is confirmed that the phase offset between the working current and the preset current exceeds the preset phase deviation parameter and reaches a preset number of times within a preset first time period.
[0176] In this embodiment, the preset first duration and the preset number of times are determined by R&D personnel through multiple experiments during the development process. The main control circuit 20 determines that the current operating current of the water pump device is irregular, and thus that the water tank device is currently short of water, only when it detects that the phase of the operating current during multiple cycles of the operating current deviates from the preset current by more than the preset phase deviation, i.e., the phase of the operating current deviates from the preset current by more than the preset phase deviation a predetermined number of times, within the preset first duration. This configuration effectively improves the accuracy of detecting whether the water tank is short of water using the current of the water pump device.
[0177] Furthermore, based on the above embodiment, it can be understood that water shortage in the water tank is a state process, that is, the water tank will gradually go from being slightly short of water to being relatively short of water, and preferably completely short of water. Accordingly, the water pump device will also gradually reduce the amount of liquid pumped and become completely unable to pump liquid. Therefore, in another embodiment of the present application, the main control circuit 20 is further configured to determine the water shortage level of the water tank based on the number of deviations; and execute corresponding protective actions based on the water shortage level; wherein the protective actions include at least one of executing a corresponding water replenishment reminder action based on the water shortage level and controlling the water pump device to stop operating.
[0178] In this embodiment, the main control circuit 20 determines in real time how many cycles of the operating current within each preset first time period have a phase deviation from the preset current that exceeds a preset phase deviation, i.e., the number of deviations. It is understood that developers can pre-set different water shortage levels corresponding to different deviations and assign corresponding protective actions for each water shortage level. Alternatively, users can configure protective actions for different water shortage levels within the liquid supply device. For example, the current water shortage level is categorized as "slight water shortage," "relative water shortage," and "severe water shortage." When the main control circuit 20 determines the water shortage level as "slight water shortage" based on the current number of deviations, the prompt component described in the above embodiment can prompt the user to add water and keep the water pump device running. If the main control circuit 20 determines the water shortage level as "severe water shortage" based on the current number of deviations, in addition to notifying the user, it also controls the water pump device to stop operating to prevent malfunction. This configuration allows the liquid supply device to execute corresponding protective actions for different water shortage situations, effectively improving user convenience.
[0179] In one embodiment of the present application, the main control circuit 20 is also used to determine that the water tank is in a water shortage state when it is confirmed that the phase offset between the working current and 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.
[0180] In this embodiment, the main control circuit 20 also determines whether the water tank is short of water based on the phase and current value of the operating current. The specific process is described in the above embodiment and will not be repeated here. Thus, the main control circuit 20 uses both the phase and current value of the operating current to comprehensively determine whether the water tank is short of water, further improving the accuracy of water tank water shortage detection.
[0181] In one embodiment of the present application, the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0182] A switch circuit 30, which is connected in series to a path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0183] The main control circuit 20 is used to control the switch circuit 30 to be in an open state when it is determined that the water tank is in a water shortage state, so as to cut off the path between the water pump power supply end and the power supply end of the water pump device; or,
[0184] The main control circuit 20 is electrically connected to the controlled end of the water pump device, and is used to control the water pump device to stop working when it is determined that the water tank is in a water shortage state.
[0185] Referring to FIG9 , in this embodiment, the switch circuit 30 is implemented using a switch tube, such as a MOS, IGBT, or thyristor, or a switching device, such as a relay or contactor. When the main control circuit 20 determines that the water tank is short of water, it controls the switch circuit 30 to be in an open state, thereby powering off the water pump device and preventing the water pump device from continuing to operate in the water-short state and causing damage to itself.
[0186] 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 directly outputs a corresponding stop-work signal to the controlled end of the water pump device to stop the water pump device, thereby preventing the water pump device from continuing to work in a water shortage state and causing damage to itself.
[0187] It will be appreciated that the liquid supply device is provided with the aforementioned switch circuit 30, and the main control circuit 20 is electrically connected to the controlled terminal of the water pump device. When the main control circuit 20 determines that the water tank is short of water, it simultaneously controls the switch circuit 30 to open and outputs a corresponding stop signal to the water pump device, thereby ensuring that the water pump device can be shut down smoothly. This prevents the water pump device from continuing to operate in a water-scarce state and causing damage to itself, while further improving the reliability and stability of the liquid supply device.
[0188] In one embodiment of the present application, referring to FIG9 or FIG10 , the liquid supply device has a water pump power supply terminal, and the water tank water shortage detection circuit further includes:
[0189] A switch circuit 30, the switch circuit 30 being connected in series to a path between the water pump power supply terminal and the power supply terminal of the water pump device;
[0190] The main control circuit 20 is further configured to, when it is determined that the current difference between the operating current and the preset current reaches a preset second current difference, determine that the water pump device is in a stalled state, and control the switch circuit 30 to be in an open state to disconnect the path between the water pump power supply end and the power supply end of the water pump device; and / or,
[0191] The main control circuit 20 is electrically connected to the controlled end of the water pump device, and is used 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 reaches a preset second current difference.
[0192] In this embodiment, the switch circuit 30 is 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 consistent with the above embodiment, and will not be repeated here.
[0193] In this embodiment, when the water pump device is stalled, its operating current will suddenly increase. At this time, if the main control circuit 20 detects that the current value of the current operating current exceeds the current value of the corresponding preset current and reaches a preset second current difference (preset by the R&D personnel and stored in the main control circuit 20), it will confirm that the current operating current is too high, and then confirm that the water pump device is in a stalled state. And according to the same process as the above embodiment, the user is reminded that the current water pump device is stalled, and / or the water pump device is controlled to stop working. In this way, in actual application, the liquid supply device not only does not need to set a float switch to detect the lack of water in the water tank, but also determines whether the current water pump device is stalled through the working current and performs corresponding actions, which effectively improves the reliability and safety of the operation of the liquid supply device.
[0194] In one embodiment of the present application, referring to FIG11 , the power supply terminal of the liquid supply device is used to connect to the power supply voltage, and the water tank water shortage detection circuit further includes:
[0195] The voltage detection circuit 40 is electrically connected to the power supply terminal of the liquid supply device and the main control circuit 20, and is used to detect the power supply voltage connected to the power supply terminal and output a corresponding power supply voltage detection signal;
[0196] The main control circuit 20 is used to adjust the waveform of the preset current according to the power supply voltage detection signal.
[0197] The voltage detection circuit 40 is implemented using a resistor divider circuit 122, or a voltage detection chip. It is understood that if the power voltage currently connected to the power supply terminal is an AC voltage, the voltage detection circuit 40 further includes a rectifier circuit 121 to rectify the power voltage and then detect the voltage value of the rectified power voltage to confirm the actual voltage value of the power voltage connected to the power supply terminal.
[0198] Specifically, during operation of the water pump device, the main control circuit 20 detects the parameters of the power supply voltage connected to the power supply terminal of the liquid supply device. For example, if the power supply voltage is an AC voltage, the main control circuit 20 detects the phase, amplitude, period, and frequency of the power supply voltage. If the power supply voltage is a DC voltage, the main control circuit 20 detects the voltage value of the power supply voltage. Based on the above power supply voltage parameters, the main control circuit 20 adaptively adjusts the waveform of the preset current.
[0199] In one embodiment, the main control circuit 20 has pre-stored preset currents corresponding to power supply voltage ranges under different parameters, i.e., a power supply voltage-preset current mapping table. Thus, the main control circuit 20 calls the mapping table based on the detected power supply voltage parameters and determines the preset current corresponding to the current power supply voltage in the mapping table.
[0200] In one embodiment, R&D personnel can also pre-store parameter adjustment formulas for the power supply voltage and preset current in the mapping table. The main control circuit 20 adjusts the preset current accordingly based on the current power supply voltage parameters according to the current parameter adjustment formula. For example, the phase of the reference voltage corresponding to the current preset current is 0° and the amplitude is 220V. The phase of the preset current is consistent with the phase of the reference voltage, and its amplitude is linearly related to the amplitude of the reference voltage. If the parameters of the currently detected power supply voltage are 5° in phase and 208V in amplitude (a 10% difference from the reference voltage), the main control circuit 20 will reduce the amplitude of the preset current by 10% and adjust its phase to 5°.
[0201] Through the above arrangement, the liquid supply device effectively adjusts the preset current according to the actual connected power supply voltage, thereby further improving the accuracy of the water tank water shortage detection and / or water pump stall detection in the above embodiment.
[0202] The present application also proposes a liquid supply device, comprising a water tank, a water pump device for extracting liquid from the water tank, and a detection device as described above; or, a water tank water shortage detection circuit as described above.
[0203] It is worth noting that since the liquid supply device of the present application includes all the technical solutions of all embodiments of the above-mentioned detection device or water tank water shortage detection circuit, it at least has all the beneficial effects brought about by the technical solutions of the above-mentioned detection device or water tank water shortage detection circuit, which will not be repeated here one by one.
[0204] The present application also proposes a water-using device, comprising any of the liquid supply devices described above.
[0205] In this embodiment, the water-using device includes a cooling fan.
[0206] It is worth noting that, since the water-using equipment of the present application includes all the technical solutions of all the embodiments of the above-mentioned liquid supply device, it at least has all the beneficial effects brought about by the technical solutions of the above-mentioned liquid supply device, which will not be described one by one here.
[0207] The above content is merely an embodiment of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made using the contents of the present application specification and drawings under the inventive concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for detecting water shortage in a water tank, applied to a liquid supply device, the liquid supply device comprising a water tank and a water pump device for pumping liquid out of the water tank, wherein: The method comprises: 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 water tank water shortage detection method according to claim 1, wherein: 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 comprises: When it is confirmed that the phase offset between the working current and the preset current exceeds the preset phase deviation, it is determined that the water tank is in a water shortage state.
3. The water tank water shortage detection method according to claim 2, wherein: The step of determining that the water tank is in a water shortage state when confirming that the phase of the working current is offset from the phase of the preset current by more than a preset phase deviation comprises: Within a preset first time period, if the phase of the working current is offset from the phase of the preset current by a number of times exceeding a preset phase deviation and reaching a preset number of times, it is determined that the water tank is in a water shortage state.
4. The water tank water shortage detection method according to claim 3, wherein: After the step of determining that the water tank is in a water shortage state if the phase of the working current is offset from the phase of the preset current by a number of times exceeding the preset phase deviation 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 executing corresponding protection actions according to the water shortage level; The protection action includes at least one of executing a corresponding water adding reminder action according to the water shortage level and controlling the water pump device to stop working.
5. The water tank water shortage detection method according to claim 1, wherein: 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 includes: 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 offset between the working current and 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 water tank water shortage detection method according to any one of claims 1 to 5, wherein: After the step of determining that the water tank is in a water shortage state, the method further includes: Execute a water adding reminder action; and / or control the water pump device to stop working.
7. The water tank water shortage detection method according to any one of claims 1 to 5, wherein: The method further comprises: When it is confirmed that the current difference between the working current and the preset current reaches a preset second current difference, determining that the water pump device is in a stalled state, and reminding the user and / or controlling the water pump device to stop working; and / or, The method further comprises: Obtaining a power supply voltage connected to a power supply terminal of the liquid supply device; According to the parameters of the power supply voltage, the waveform of the preset current is adjusted accordingly.
8. A detection device, wherein: 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 liquid out of the water tank, and the detection device includes: Memory; processor; and, A water tank water shortage detection program stored in the memory and executed by the processor, wherein when the water tank water shortage detection program is executed by the processor, the water tank water shortage detection method according to any one of claims 1 to 7 is implemented.
9. A water tank water shortage detection circuit, applied to a liquid supply device, the liquid supply device comprising a water tank and a water pump device for pumping liquid out of the water tank, wherein: The water tank water shortage detection circuit comprises: A current detection circuit, the current detection circuit is used to detect the working current of the water pump device and output a corresponding working current detection signal; The main control circuit 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.
10. The water tank water shortage detection circuit as claimed in claim 9, wherein: The liquid supply device has a water pump power supply end, and the current detection circuit includes: A current sensing element connected in series in a path between the water pump power supply end and the power supply end of the water pump device; A sampling circuit, the output end of which is electrically connected to the main control circuit and is used to collect the voltage drop on the current sensing element and output 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, wherein: The water pump power supply end includes an AC positive power supply end and an AC negative power supply end, and the power supply end of the water pump device includes a positive power supply end and a negative power supply end; the positive power supply end of the water pump device is connected to the AC positive power supply end; The current sensing element is connected in series to the path between the negative terminal of the power supply of the water pump device and the negative AC power supply terminal, and the first end of the current sensing element is electrically connected to the negative terminal of the power supply; The sampling circuit comprises: a rectifier circuit, the rectifier circuit being electrically connected to the first end of the current sensing element and configured to rectify the voltage at the first end of the current sensing element and output a second voltage signal; A voltage divider circuit is used to divide the second voltage signal according to a preset voltage divider ratio and then output the corresponding sampling signal to the main control circuit.
12. The water tank water shortage detection circuit according to claim 11, wherein: The current detection circuit also includes: The voltage clamping circuit is electrically connected to the output end of the sampling circuit and is used to keep the voltage of the sampling signal within a preset voltage range.
13. The water tank water shortage detection circuit as claimed in claim 9, wherein: The main control circuit is used to determine that the water tank is in a water shortage state based on the working current detection signal when it is confirmed that the phase offset between the working current and the 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 to 13, wherein: The liquid supply device has a water pump power supply end, and the water tank water shortage detection circuit also includes: A switch circuit, the switch circuit is connected in series in a path between the water pump power supply end and the power supply end of the water pump device; The main control circuit is used to control the switch circuit to be in an open state when it is determined that the water tank is in a water shortage state, so as to disconnect the path between the water pump power supply end and the power supply end of the water pump device; and / or, The main control circuit is electrically connected to the controlled end of the water pump device, and is used 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 to 13, wherein: The water tank water shortage detection circuit also includes: a prompt component, the main control circuit being electrically connected to the prompt component; The main control circuit is used to control the prompt component to work 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 to 13, wherein: The liquid supply device has a water pump power supply end, and the water tank water shortage detection circuit also includes: A switch circuit, the switch circuit is connected in series in a path between the water pump power supply end and the power supply end of the water pump device; The main control circuit is further used to determine that the water pump device is in a stalled 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 to be in an open state to disconnect the path between the water pump power supply end and the power supply end of the water pump device; or, The main control circuit is electrically connected to the controlled end of the water pump device, and is used 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 reaches a preset second current difference.
17. The water tank water shortage detection circuit according to any one of claims 9 to 13, wherein: The power supply end of the liquid supply device is used to connect to the power supply voltage, and the water tank water shortage detection circuit also includes: A voltage detection circuit, electrically connected to the power supply end of the liquid supply device and the main control circuit, and used to detect the power supply voltage connected to the power supply end and output a corresponding power supply voltage detection signal; The main control circuit is used to adjust the waveform of the preset current according to the power supply voltage detection signal.
18. A liquid supply device, wherein: The liquid supply device comprises a water tank, a water pump device for pumping liquid out of the water tank, and the detection device according to claim 8; Alternatively, a water tank water shortage detection circuit as described in any one of claims 9-17.
19. A water-using device, wherein: The water-using equipment comprises the liquid supply device as claimed in claim 18.
20. The water-using device according to claim 19, wherein: The water-using equipment includes a cooling fan.
Citation Information
Patent Citations
Water level detection method and device of cooling fan and cooling fan
CN112798075A
Water pump automatic control method
CN113107829A
Water tank water shortage detection method and device, storage medium and kitchen appliance
CN113884161A
Water pump detection method and device, computer equipment and storage medium
CN115247644A
Water dispenser circuit and water dispenser
CN219554578U