Equipment inclination angle detection method, control device and equipment

By installing first and second detection components in the water dispenser, and using the liquid flow detection value and arctangent function to calculate the tilt angle, the reliability and noise problems caused by the tilt angle of the water dispenser are solved, and the equipment can work normally in a tilted state.

CN121570049APending Publication Date: 2026-02-27WUHU MIDEA KITCHEN & BATH APPLIANCES MFG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511946799.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-02-27

AI Technical Summary

Technical Problem

Existing water dispensers fail to effectively detect and address tilting issues caused by uneven placement areas, affecting product reliability, noise levels, and precision control.

Method used

By setting up first and second detection components inside the container, the tilt angle of the device is calculated using the liquid flow rate detection value and the preset volume change amount. The liquid level change is detected by a capacitive or pressure liquid level detection sensor, and the tilt angle of the device is determined by combining the arctangent function.

Benefits of technology

Effective detection of the equipment's tilt angle ensures that the equipment operates normally when tilted, improving reliability and precision control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121570049A_ABST
    Figure CN121570049A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment inclination angle detection method, a control device and equipment, and relates to the technical field of water dispensers. The equipment comprises a container, and a first detection assembly and a second detection assembly which are oppositely arranged in the container at an interval, the equipment inclination angle detection method comprises the steps that under the condition that the change value of a first detection signal output by a first detection assembly is larger than a first preset value, a first flow detection value of liquid flowing into or flowing out of a container is obtained, and under the condition that the change value of a second detection signal output by a second detection assembly is larger than a second preset value, a second flow detection value is obtained; acquiring a second flow detection value of the inflow liquid or the outflow liquid; and determining an inclination angle of the equipment based on the first distance, the second distance, the first flow detection value, the second flow detection value and a preset volume change amount. The present invention aims to confirm the setting angle of a device having a liquid containing function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of water dispenser technology, and in particular to a method, control device, and equipment for detecting the tilt angle of a device. Background Technology

[0002] In actual products, water dispensers with water purification functions typically include a heating tank, filter cartridge, water pump, and high / low pressure switches. However, existing water dispensers only consider scenarios where they are placed on a flat, level surface and positioned vertically, without addressing the issue of uneven placement areas causing the dispenser to tilt at an angle. It's important to note that this tilt can affect the product's reliability, noise level, and accuracy. Summary of the Invention

[0003] The main objective of this invention is to provide a method, control device, and equipment for detecting the tilt angle of a device, which aims to confirm the setting angle of a device with a liquid-containing function.

[0004] To achieve the above objectives, this invention proposes a method for detecting the tilt angle of a device. The device includes a container, a first detection component, and a second detection component disposed at a relative interval within the container. The lowest liquid level detection ends of the first and second detection components are separated by a first distance along the width direction of the container, and are separated by a second distance along the height direction of the container. The method for detecting the tilt angle of the device includes: When the change value of the first detection signal output by the first detection component is greater than the first preset value, the first flow rate detection value of liquid flowing into or out of the container is obtained; and when the change value of the second detection signal output by the second detection component is greater than the second preset value, the second flow rate detection value of liquid flowing into or out of the container is obtained. The tilt angle of the device is determined based on the first distance, the second distance, the first flow rate detection value, the second flow rate detection value, and the preset volume change.

[0005] In one embodiment, the step of determining the tilt angle of the device based on the first distance, the second distance, the first flow rate detection value, the second flow rate detection value, and the preset volume change specifically includes: The change in tilted volume is determined based on the difference between the first flow rate detection value and the second flow rate detection value. The change in tilt height is determined based on the change in tilt volume, the preset change in volume, and the second distance. The tilt angle of the device is determined by the arctangent function of the ratio of the change in tilt height to the first distance.

[0006] In one embodiment, determining the change in tilt height based on the change in tilt volume, a preset change in volume, and a second distance includes: Calculate the ratio of the tilt volume change to the preset volume change, and use it as the first volume ratio coefficient; The height difference coefficient is obtained by subtracting the first volume ratio coefficient from the preset standard volume ratio coefficient. The change in tilt height is determined by the product of the height difference coefficient and the second distance.

[0007] In one embodiment, the preset standard volume ratio coefficient is determined based on the obtained change in container liquid volume and a preset volume change when the container is not tilted. The preset standard volume ratio coefficient is equal to the ratio of the change in container liquid volume to the preset volume change.

[0008] In one embodiment, before the step of obtaining a first flow rate detection value of liquid flowing into or out of the container when the change value of the first detection signal output by the first detection component is greater than a first preset value, the method further includes: When the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component, the control device causes liquid to flow into the container and stops the liquid from flowing out of the container. When the liquid level inside the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component, the control device causes the liquid to flow out of the container and stops the liquid from flowing into the container.

[0009] In one embodiment, the step of ensuring that the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component specifically involves: If both the first detection signal output by the first detection component and the second detection signal output by the second detection component indicate that no liquid is detected, it is determined that the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component. The step of ensuring that the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component is specifically as follows: When both the first detection signal output by the first detection component and the second detection signal output by the second detection component indicate that liquid has been detected, it is determined that the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component.

[0010] The present invention also proposes a control device comprising a memory, a processor, and a container tilt angle detection program stored in the memory and executable on the processor, the container tilt angle detection program being configured to implement the steps of the device tilt angle detection method as described in any of the preceding claims.

[0011] The present invention also proposes an apparatus comprising a container, a first detection component, a second detection component disposed at a relative interval within the container, and a control device as described above; The lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component are separated by a first distance along the width direction of the container, and the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component are separated by a second distance along the height direction of the container.

[0012] In one embodiment, the first detection component and the second detection component constitute a detection group, and multiple detection groups are arranged inside the container, with the first detection component and the second detection component of each detection group arranged in intersecting directions.

[0013] In one embodiment, the device is a water dispenser, which includes a prompting component for outputting a prompting signal; the control device is configured to: If the tilt angle of the water dispenser is determined to be greater than a preset tilt angle threshold, the prompting component is controlled to output a prompting signal.

[0014] This invention employs a device tilt angle detection method that effectively utilizes the change in liquid volume within the device under vertical and tilted conditions to determine the device's tilt angle. Specifically, it acquires a first flow rate detection value for the inflow or outflow of liquid when the change in the first detection signal output by the first detection component exceeds a first preset value, and acquires a second flow rate detection value for the inflow or outflow of liquid when the change in the second detection signal output by the second detection component exceeds a second preset value. The device tilt angle is determined based on a first distance, a second distance, the first flow rate detection value, the second flow rate detection value, and a preset volume change. The device's setting angle is determined by calculating the change in liquid volume between the first and second detection components under vertical and tilted conditions. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0016] Figure 1 This is a schematic flowchart of the tilt angle detection method of the device of the present invention; Figure 2 This is a flowchart illustrating an embodiment of the device tilt angle detection method of the present invention; Figure 3 This is a flowchart illustrating another embodiment of the device tilt angle detection method of the present invention; Figure 4 This is a flowchart illustrating another embodiment of the device tilt angle detection method of the present invention; Figure 5 This is a schematic flowchart of another embodiment of the device tilt angle detection method of the present invention; Figure 6 This is a schematic diagram of the structure of an embodiment of the device of the present invention; Figure 7 This is a schematic diagram of the structure of an embodiment of the device of the present invention; Figure 8 This is a schematic diagram of the structure of an embodiment of the device of the present invention.

[0017] Explanation of icon numbers: 10. Container; 20. First detection component; 30. Second detection component; 40. First distance; 50. Second distance.

[0018] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0020] It should be noted that step designations such as S100 and S200 are used in this document for the purpose of more clearly and concisely describing the corresponding content, and do not constitute a substantial limitation on the order. In specific implementation, those skilled in the art may execute S200 first and then S100, etc., but these should all be within the protection scope of this application.

[0021] In actual products, water dispensers with water purification functions typically include a heating tank, filter cartridge, water pump, and high / low pressure switches. However, existing water dispensers only consider scenarios where they are placed on a flat, level surface and positioned vertically, without addressing the issue of uneven placement areas causing the dispenser to tilt at an angle. It's important to note that this tilt can affect the product's reliability, noise level, and accuracy.

[0022] To solve the above problems, refer to Figures 1 to 3 and Figures 6 to 7 This invention proposes a method for detecting the tilt angle of a device. The device includes a container, a first detection component, and a second detection component disposed at a relative interval within the container. The lowest liquid level detection ends of the first and second detection components are separated by a first distance along the width direction of the container, and are separated by a second distance along the height direction of the container. The method for detecting the tilt angle of the device includes: Step S100: When the change value of the first detection signal output by the first detection component is greater than the first preset value, obtain the first flow rate detection value of liquid flowing into or out of the container; and when the change value of the second detection signal output by the second detection component is greater than the second preset value, obtain the second flow rate detection value of liquid flowing into or out of the container. Step S200: Determine the tilt angle of the device based on the first distance, the second distance, the first flow rate detection value, the second flow rate detection value, and the preset volume change.

[0023] It is understood that the device including container 10 and the first detection component 20 and the second detection component 30, which are relatively spaced apart within container 10, can be a water dispenser, water heater, water purifier, etc. The first detection component 20 and the second detection component 30 can be implemented using capacitive liquid level sensors, pressure liquid sensors, etc. By arranging the first liquid component and the second detection component 30 relatively spaced apart within container 10, with the lowest liquid level detection end of the first liquid component and the lowest liquid level detection end of the second detection component 30 separated by a first distance 40 along the width direction of container 10 and a second distance 50 along the height direction of container 10, multiple liquid detection components are typically installed in water dispensers or water heaters to detect the liquid level height contained in container 10, thereby controlling the water replenishment or cessation of water replenishment in container 10. Therefore, in a device with multiple sets of liquid detection components, the device's tilt angle can be detected using the liquid detection components themselves. Furthermore, the first detection component 20 and the second detection component 30 only need to satisfy the requirement that the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 are separated by a first distance of 40 along the width direction of the container 10 and a second distance of 50 along the height direction of the container 10. The specific arrangement of the first detection component 20 and the second detection component 30 is not limited. In other words, there is a horizontal distance difference of 40 along the width direction of the container 10 between the lowest liquid level detection ends of the first detection component 20 and the second liquid component; and there is a height distance difference of 50 along the height direction of the container 10 between the lowest liquid level detection ends of the first detection component 20 and the second liquid component. For example, the first detection component 20 and the second detection component 30 can be arranged to extend along the height direction of the container 10 at the top or bottom, or they can extend along the width direction of the container 10 at the top or bottom.

[0024] In this embodiment, whether the medium detected by the first detection component 20 has changed can be confirmed by whether the change value of the first detection signal output by the first detection component 20 is greater than a first preset value. It is understood that even when the medium detected by the first detection component 20 is fixed, the AD value corresponding to its output first detection signal may fluctuate. Therefore, when the AD value corresponding to the first detection signal output by the first detection component 20 is within a certain range, the object detected by the first detection component 20 can be confirmed. For example, when a capacitive liquid level sensor is used at the lowest liquid level detection end of the first detection component 20, the AD value of its output first detection signal corresponding to air fluctuates between 220 and 225, and the AD value of its output first detection signal corresponding to water fluctuates between 250 and 255. If the AD value corresponding to the first detection signal output by the first detection component 20 suddenly changes from a value between 220 and 225 to a value between 250 and 255, it can be confirmed that the first detection component 20 has changed from not detecting water to detecting water. The minimum change in the AD value corresponding to the first detection signal output by the first detection component 20 is 25, while the minimum change in the AD value corresponding to the first detection signal output by the first detection component 20 for air and water is 5. Therefore, this minimum change can be set as a first preset value. When the change in the first detection signal output by the first detection component 20 is greater than the first preset value, it can be determined that the liquid volume in the container 10 has changed. The first preset value can be determined based on the minimum difference between the AD value corresponding to the liquid detected by the first detection component 20 and the AD value corresponding to the air, as well as the fluctuation of the AD value corresponding to the air. The second detection component 30 can be implemented similarly. The first and second detection components 20 can be implemented using the same detection component, in which case the first and second preset values ​​are the same; alternatively, the second and second detection components 30 can be implemented using different detection components, in which case the first and second preset values ​​are different.

[0025] It is understood that, in this embodiment, the detection and confirmation of the device's tilt angle requires that the change values ​​of the first detection signals output by the first detection component 20 and the second detection component 30 are greater than a first preset value and a second preset value, respectively. That is, the objects detected by both the first detection component 20 and the second detection component 30 have changed. The lowest liquid level detection ends of the first detection component 20 and the second detection component 30 are separated by a second distance 50 along the height direction of the container 10. Therefore, the height corresponding to the volume change of the liquid in the container 10 needs to be greater than or equal to the second distance 50, thereby enabling the device to acquire the first flow rate detection value and the second flow rate detection value. The first and second flow rate detection values ​​can be implemented using flow rate detection components located at the liquid inflow end or liquid outflow end of the container 10. It should be noted that the device can control the input of liquid into or out of the container 10 to ensure that the change value of the first detection signal output by the first detection component 20 is greater than the first preset value, and the change value of the second detection signal output by the second detection component 30 is greater than the second preset value. By obtaining the difference between the flow rate values ​​at the moments when the change value of the first detection signal output by the first detection component 20 is greater than a first preset value and the change value of the second detection signal output by the second detection component 30 is greater than a second preset value, i.e., the difference between the first flow rate detection value and the second flow rate detection value, the volume of liquid in container 10 between the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 can be determined. The tilt angle of the device can be obtained by calculating the first flow rate detection value and the second flow rate detection value determined when the device is tilted, and the preset volume change amount set when the device is vertically placed. The preset volume change amount set when the device is vertically placed is the volume of liquid between the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 when the device is vertically placed.

[0026] Optionally, the step of determining the tilt angle of the device based on the first distance, the second distance, the first flow rate detection value, the second flow rate detection value, and the preset volume change specifically includes: Step S210: Determine the amount of tilt volume change based on the difference between the first flow rate detection value and the second flow rate detection value; Step S220: Determine the change in tilt height based on the change in tilt volume, the preset change in volume, and the second distance; Step S230: Determine the tilt angle of the device based on the arctangent function of the ratio of the tilt height change to the first distance.

[0027] It is understandable that the liquid level height in container 10 will differ between the vertically placed and tilted positions, corresponding to the liquid level changes at the lowest detection ends of the first detection component 20 and the second detection component 30. Specifically, when the device is tilted, the liquid level changes at these two positions may be greater than when the device is vertically placed; conversely, when tilted, the liquid level changes at these positions may be less than when the device is vertically placed. This depends on the relationship between the tilt direction of the device and the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30. For example, the lowest liquid level detection end of the first detection component 20 is 20cm away from the bottom of the container 10 along the height direction of the container 10, and the lowest liquid level detection end of the second detection component 30 is 10cm away from the bottom of the container 10 along the height direction of the container 10. That is, the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 are 10cm apart along the height direction of the container 10, and the lowest liquid level detection end of the first detection component 20 is 10cm away from the side wall of the container 10 along the width direction of the container 10, and the lowest liquid level detection end of the second detection component 30 is 10cm away from the side wall of the container 10 along the height direction of the container 10. The lowest liquid level detection ends of the first detection component 20 and the second detection component 30 are 10cm apart along the width direction of the container 10, that is, the first distance 40 is 10cm.At this time, if the device is tilted towards the second detection component 30 along the plane formed by the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 along the height direction of the container 10, and the device is in an tilted position, the liquid level height in the container 10 corresponding to the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 will be greater than the liquid level height in the container 10 corresponding to the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 when the device is in a vertical position. If the device is tilted towards the first detection component 20 along the plane formed by the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 along the height direction of the container 10, and the device is in an tilted position, the volume of liquid change corresponding to the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 in the container 10 is smaller than the volume of liquid change corresponding to the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 in the container 10 when the device is in a vertical position.

[0028] In this embodiment, by confirming that the device is in an inclined state, the difference between the first flow rate detection value and the second flow rate detection value is obtained. This difference is then used to determine the change in liquid level height within container 10 at the lowest liquid level detection ends of the first detection component 20 and the second detection component 30, i.e., the change in tilt volume. The preset volume change is the change in liquid level height within container 10 at the lowest liquid level detection ends of the first detection component 20 and the second detection component 30, when the device is in a vertical state. The change in tilt height is determined by performing a corresponding formula calculation using the change in tilt volume, the preset volume change, and the second distance 50. Furthermore, the tilt angle of the device is determined using the arctangent function of the ratio of the change in tilt height to the first distance 40.

[0029] The step of determining the change in tilt height based on the change in tilt volume, the preset change in volume, and the second distance includes: Step S221: Calculate the ratio of the tilt volume change to the preset volume change, and use it as the first volume ratio coefficient; Step S222: Obtain the height difference coefficient by subtracting the first volume ratio coefficient from the preset standard volume ratio coefficient; Step S223: Determine the change in tilt height based on the product of the height difference coefficient and the second distance.

[0030] In this embodiment, the ratio of the tilt volume change to a preset volume change is calculated, and this ratio is confirmed as the first volume ratio coefficient. The height difference coefficient is obtained by subtracting the first volume ratio coefficient from the preset standard volume ratio coefficient. The preset standard volume ratio coefficient is 1, meaning it is determined based on the obtained liquid volume change in container 10 and the preset volume change when container 10 is not tilted. In other words, the preset standard volume ratio coefficient is the liquid volume change corresponding to the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 when the device is in a vertical state. The tilt height change is obtained by multiplying the height difference coefficient and the second distance 50. For example, the lowest liquid level detection ends of the first detection component 20 and the second detection component 30 are 10mm apart along the width direction of the container 10, with a first distance 40 between them. The lowest liquid level detection ends of the first detection component 20 and the second detection component 30 are 5mm apart along the height direction of the container 10, with a preset volume change of 200ml. When the difference between the first flow rate detection value and the second flow rate detection value is 230ml, the tilt volume change is 230ml. The first volume ratio coefficient is 230 / 200, which is 1.15. The height difference coefficient is 1.15-1, which is 0.15. The tilt height change is 0.15*5, which is 0.75. The tilt angle of the device is arctan(0.75 / 0.5), which is 4.29°. Among them, the tilt volume change is greater than the preset volume change, that is, the tilt direction of the device is closer to the bottom of the container 10 by the first detection component 20 and the second detection component 30.

[0031] By employing a device tilt angle detection method, the tilt angle of the device can be effectively determined by utilizing the change in volume of liquid within the device in both vertical and tilted states. Specifically, when the change in the first detection signal output by the first detection component 20 exceeds a first preset value, a first flow rate detection value is obtained for the liquid flowing into or out of the container 10; similarly, when the change in the second detection signal output by the second detection component 30 exceeds a second preset value, a second flow rate detection value is obtained for the liquid flowing into or out of the container 10. The tilt angle of the device is determined based on a first distance 40, a second distance 50, the first flow rate detection value, the second flow rate detection value, and a preset volume change. The device's setting angle is determined by calculating the change in liquid volume between the first detection component 20 and the second detection component 30 in both vertical and tilted states.

[0032] refer to Figure 4 In one embodiment of the present invention, before the step of obtaining a first flow rate detection value of liquid flowing into or out of the container when the change value of the first detection signal output by the first detection component is greater than a first preset value, the method further includes: Step S300: When the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component, the control device causes liquid to flow into the container and stops the liquid from flowing out of the container. Step S400: When the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component, the control device causes the liquid to flow out of the container and stops the liquid from flowing into the container.

[0033] Understandably, obtaining the first and second flow rate detection values ​​requires the flow of liquid within the equipment. Therefore, the equipment also includes a device, such as a water pump, to control the increase or decrease in the volume of liquid within container 10. To detect the tilt angle of the equipment, it is necessary to determine under what conditions liquid is input into container 10 and under what conditions liquid flows out of container 10.

[0034] In this embodiment, when the liquid level in container 10 is lower than the lowest liquid level detection terminals of the first detection component 20 and the second detection component 30 (i.e., the lowest liquid level detection terminals of the first detection component 20 and the second detection component 30 are not submerged in the liquid), the device can be controlled to allow liquid to flow into container 10 and stop liquid from flowing out of container 10. Specifically, a flow rate detection signal is acquired by a flow meter installed in the input channel of container 10. When the change value of the first detection signal output by the first detection component 20 is greater than a first preset value, a first flow rate detection value of the liquid flowing into container 10 is acquired; when the change value of the second detection signal output by the second detection component 30 is greater than a second preset value, a second flow rate detection value of the liquid flowing into container 10 is acquired, thereby confirming the volume of liquid flowing in under this state. To ensure the accuracy of the flow meter detection, it is necessary to prevent container 10 from stopping liquid flow.

[0035] In this embodiment, when the liquid level in container 10 is higher than the lowest liquid level detection terminals of the first detection component 20 and the second detection component 30 (i.e., the lowest liquid level detection terminals of the first detection component 20 and the second detection component 30 are submerged in the liquid), the device can be controlled to cause liquid to flow out of container 10 and stop the inflow of liquid into container 10. Specifically, a flow rate detection signal is acquired by a flow meter installed in the output channel of container 10. When the change value of the first detection signal output by the first detection component 20 is greater than a first preset value, a first flow rate detection value of the liquid flowing into container 10 is acquired; when the change value of the second detection signal output by the second detection component 30 is greater than a second preset value, a second flow rate detection value of the liquid flowing into container 10 is acquired, thereby confirming the volume of liquid flowing out in this state. To ensure the accuracy of the flow meter detection, it is necessary to prevent container 10 from stopping the inflow of liquid.

[0036] Optionally, refer to Figure 5 The step of ensuring that the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component specifically involves: Step S310: If both the first detection signal output by the first detection component and the second detection signal output by the second detection component indicate that no liquid is detected, determine that the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component. The step of ensuring that the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component is specifically as follows: Step S410: When both the first detection signal output by the first detection component and the second detection signal output by the second detection component indicate that liquid has been detected, determine that the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component.

[0037] In this embodiment, the liquid level in container 10 can be determined by a first detection signal output by the first detection component 20 and / or a second detection signal output by the second detection component 30. If both the first detection signal from the first detection component 20 and the second detection signal from the second detection component 30 indicate that no liquid is detected, it can be confirmed that the liquid level in container 10 is lower than the lowest liquid level detection terminals of the first and second detection components 20 and 30. In this case, tilt angle detection can be achieved by allowing liquid to flow into container 10. If both the first detection signal from the first detection component 20 and the second detection signal from the second detection component 30 indicate that liquid is detected, it can be confirmed that the liquid level in container 10 is higher than the lowest liquid level detection terminals of the first and second detection components 20 and 30. In this case, tilt angle detection can be achieved by allowing liquid to flow out of container 10.

[0038] The present invention also proposes a control device comprising a memory, a processor, and a container tilt angle detection program stored in the memory and executable on the processor, the container tilt angle detection program being configured to implement the steps of the device tilt angle detection method as described in any of the preceding claims.

[0039] It is worth noting that since the control device of the present invention is based on the above-described equipment tilt angle detection method, the embodiments of the control device of the present invention include all the technical solutions of all embodiments of the above-described equipment tilt angle detection method, and the technical effects achieved are exactly the same, so they will not be repeated here.

[0040] refer to Figure 6 The present invention also proposes an apparatus comprising a container 10, a first detection component 20 and a second detection component 30 disposed at relative intervals within the container 10, and a control device as described above. The lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 are separated by a first distance 40 along the width direction of the container 10, and the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 are separated by a second distance 50 along the height direction of the container 10.

[0041] It is worth noting that since the device of the present invention is based on the control device described above, the embodiments of the device of the present invention include all the technical solutions of all the embodiments of the control device described above, and the technical effects achieved are exactly the same, so they will not be repeated here.

[0042] In this embodiment, the first detection component 20 and the second detection component 30 can be implemented using capacitive liquid level sensors, pressure liquid sensors, etc. The first detection component 20 and the second detection component 30 can be implemented using the same specifications of detection components, or they can be implemented using different detection components. The control device receives the first detection signal and the second detection signal output by the first detection component 20 and the second detection component 30 respectively, thereby confirming the liquid level height inside the container 10, and determining whether it is necessary to control a device such as a water pump to flow liquid into or out of the container 10 for tilt angle detection. Furthermore, the control device will also confirm the acquisition of the first flow rate detection value and the second flow rate detection value based on the first detection signal and the second detection signal. Further, the first detection component 20 and the second detection component 30 need to be arranged relatively spaced within the container 10, with the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 separated by a first distance 40 along the width direction of the container 10 and a second distance 50 along the height direction of the container 10, so that the first detection component 20 and the second detection component 30 meet the conditions required for tilt detection.

[0043] refer to Figure 8 In one embodiment of the present invention, the first detection component 20 and the second detection component 30 constitute a detection group, and a plurality of the detection groups are arranged inside the container 10, wherein the arrangement directions of the first detection component 20 and the second detection component 30 of each detection group intersect.

[0044] It is understood that the lowest liquid level detection end of the first detection component 20 and the lowest liquid level detection end of the second detection component 30 form a plane along the height direction of the container 10. This plane is the direction angle of equipment tilt that the device can detect; that is, the device can only detect the tilt angle in two directions of this plane. To achieve the detection of tilt angles in multiple directions of the equipment, multiple detection groups can be set up, and the arrangement directions of the first detection component 20 and the second detection component 30 in each detection group intersect, thereby forming multiple detection planes to achieve the detection of tilt angles in multiple directions.

[0045] In one embodiment of the present invention, the device is a water dispenser, the water dispenser including a prompting component for outputting a prompting signal; the control device is configured to: If the tilt angle of the water dispenser is determined to be greater than a preset tilt angle threshold, the prompting component is controlled to output a prompting signal.

[0046] It's understandable that excessive tilt angles can cause water dispensers to malfunction. Therefore, by setting a preset tilt angle threshold, a prompting component can be activated to output a signal when the tilt angle exceeds this threshold. This preset threshold can be determined through experimental testing; when the tilt angle exceeds the threshold, the water dispenser will malfunction. The prompting component can be implemented using voice prompts or LED prompts. Users can then confirm that the water dispenser is tilted too far and needs to be adjusted based on the prompting signal.

[0047] The above description is merely an optional embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.

Claims

1. A method for detecting the tilt angle of equipment, characterized in that, The device includes a container, a first detection component and a second detection component disposed at a relative interval within the container, wherein the lowest liquid level detection ends of the first detection component and the second detection component are separated by a first distance along the width direction of the container, and are separated by a second distance along the height direction of the container; the device tilt angle detection method includes: When the change value of the first detection signal output by the first detection component is greater than the first preset value, the first flow rate detection value of liquid flowing into or out of the container is obtained; and when the change value of the second detection signal output by the second detection component is greater than the second preset value, the second flow rate detection value of liquid flowing into or out of the container is obtained. The tilt angle of the device is determined based on the first distance, the second distance, the first flow rate detection value, the second flow rate detection value, and the preset volume change.

2. The equipment tilt angle detection method as described in claim 1, characterized in that, The step of determining the tilt angle of the device based on the first distance, the second distance, the first flow rate detection value, the second flow rate detection value, and the preset volume change specifically includes: The change in tilted volume is determined based on the difference between the first flow rate detection value and the second flow rate detection value. The change in tilt height is determined based on the change in tilt volume, the preset change in volume, and the second distance. The tilt angle of the device is determined by the arctangent function of the ratio of the change in tilt height to the first distance.

3. The equipment tilt angle detection method as described in claim 2, characterized in that, The determination of the tilt height change based on the tilt volume change, the preset volume change, and the second distance includes: Calculate the ratio of the tilt volume change to the preset volume change, and use it as the first volume ratio coefficient; The height difference coefficient is obtained by subtracting the first volume ratio coefficient from the preset standard volume ratio coefficient. The change in tilt height is determined by the product of the height difference coefficient and the second distance.

4. The equipment tilt angle detection method as described in claim 3, characterized in that, The preset standard volume ratio coefficient is determined based on the obtained change in container liquid volume and the preset volume change when the container is not tilted. The preset standard volume ratio coefficient is equal to the ratio of the change in container liquid volume to the preset volume change.

5. The equipment tilt angle detection method as described in claim 1, characterized in that, Before the step of obtaining the first flow rate detection value of liquid flowing into or out of the container when the change value of the first detection signal output by the first detection component is greater than a first preset value, the method further includes: When the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component, the control device causes liquid to flow into the container and stops the liquid from flowing out of the container. When the liquid level inside the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component, the control device causes the liquid to flow out of the container and stops the liquid from flowing into the container.

6. The equipment tilt angle detection method as described in claim 5, characterized in that, The step of ensuring that the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component is specifically as follows: If both the first detection signal output by the first detection component and the second detection signal output by the second detection component indicate that no liquid is detected, it is determined that the liquid level in the container is lower than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component. The step of ensuring that the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component is specifically as follows: When both the first detection signal output by the first detection component and the second detection signal output by the second detection component indicate that liquid has been detected, it is determined that the liquid level in the container is higher than the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component.

7. A control device, characterized in that, The control device includes a memory, a processor, and a container tilt angle detection program stored in the memory and executable on the processor, the container tilt angle detection program being configured to implement the steps of the device tilt angle detection method as described in any one of claims 1 to 6.

8. A device, characterized in that, The device includes a container, a first detection component and a second detection component disposed at relative intervals within the container, and a control device as described in claim 7; Wherein, the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component are separated by a first distance along the width direction of the container, and the lowest liquid level detection end of the first detection component and the lowest liquid level detection end of the second detection component are separated by a second distance along the height direction of the container.

9. The device as described in claim 8, characterized in that, The first detection component and the second detection component constitute a detection group. Multiple detection groups are arranged inside the container, and the first detection component and the second detection component of each detection group are arranged in an intersecting direction.

10. The device as claimed in claim 8 or 9, characterized in that, The device is a water dispenser, which includes a prompting component for outputting a prompting signal; the control device is configured to: If the tilt angle of the water dispenser is determined to be greater than a preset tilt angle threshold, the prompting component is controlled to output a prompting signal.