Liquid level detection method and device
By using different measurement methods to obtain liquid level information in the floor scrubber according to the status of the equipment, the problem that the existing floor scrubber cannot accurately detect the liquid capacity, and the accurate detection of the liquid level in the cleaning equipment is achieved.
Patent Information
- Application Number
- CN202311315393.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-11
- Publication Date
- 2025-04-11
AI Technical Summary
Existing floor scrubbers cannot accurately detect and display the liquid capacity in the clean water bucket. Although some equipment can detect the capacity of the remaining liquid, the inspection is inaccurate, with large errors and greatly affected by the environment and use scenarios.
By determining the equipment status of the cleaning equipment, different measurement methods are used to obtain liquid level information. The specific steps include: when the equipment state is in the first state (upright state), use the first measurement method (such as a liquid level sensor) to obtain the first liquid level information; when the equipment state is in the second state (tilt state), use the second measurement method (such as a flow sensor) to obtain the second liquid level information; and then calculate the target liquid level information based on these two liquid level information.
Accurate detection of the liquid level information of the remaining liquid in the target container in the cleaning equipment is achieved, reducing errors and improving the reliability of the detection.
Smart Images

Figure CN119803606A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a liquid level detection method, a liquid level detection device, a computing device, and a computer-readable storage medium. Background Art
[0002] A floor scrubber is a mechanical device that can replace manual cleaning operations. It is widely used in public place cleaning and home cleaning. With the development of technology, more and more floor scrubbers are also widely used in home cleaning operations.
[0003] The existing floor scrubbers on the market cannot accurately detect and display the current liquid capacity of the clean water bucket during use. Although some floor scrubbers can detect the remaining liquid capacity during use, the detection is not accurate and the detection error is large due to the influence of the environment and the use scenario. Therefore, a method for accurately detecting the remaining liquid level during the use of liquid is needed. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a liquid level detection method. The present application also relates to a liquid level detection device, a computing device, and a computer-readable storage medium to solve the above problems existing in the prior art.
[0005] According to a first aspect of an embodiment of the present application, a liquid level detection method is provided, comprising:
[0006] determining a device status of the cleaning device;
[0007] When the device state is a first state, determining first liquid level information based on a first measurement method;
[0008] When the device state is the second state, determining second liquid level information based on a second measurement method;
[0009] Based on the first liquid level information and the second liquid level information, target liquid level information is obtained.
[0010] According to a second aspect of an embodiment of the present application, there is provided a liquid level detection device, comprising:
[0011] a state confirmation unit configured to determine a device state of the cleaning device;
[0012] an initial sensing unit, configured to determine first liquid level information based on a first measurement method when the device state is a first state;
[0013] a flow sensing unit configured to determine second liquid level information based on a second measurement method when the device state is a second state;
[0014] The processing unit is configured to obtain target liquid level information based on the first liquid level information and the second liquid level information.
[0015] According to a third aspect of an embodiment of the present application, a computing device is provided, comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor implements the steps of the liquid level detection method when executing the computer instructions.
[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer instructions, and when the computer instructions are executed by a processor, the steps of the liquid level detection method are implemented.
[0017] The liquid level detection method provided in the present application determines the equipment state of the cleaning equipment; when the equipment state is a first state, determines the first liquid level information based on a first measurement method; when the equipment state is a second state, determines the second liquid level information based on a second measurement method; based on the first liquid level information and the second liquid level information, obtains the target liquid level information.
[0018] An embodiment of the present application implements liquid level detection by obtaining first liquid level information and second liquid level information using different detection methods when the cleaning device is in a first state and when the cleaning device is in a second state, and then obtaining target liquid level information based on the two types of liquid level information obtained above. The liquid level information of the remaining liquid in the target container while the cleaning device is in operation can be accurately obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of a liquid level detection method provided by an embodiment of the present application;
[0020] Figure 2 is a structural diagram of a cleaning device provided by an embodiment of the present application;
[0021] Figure 3 It is a processing flow chart of a liquid level detection method applied to a floor scrubber provided in an embodiment of the present application;
[0022] Figure 4 It is a structural schematic diagram of a liquid level detection device provided in one embodiment of the present application;
[0023] Figure 5 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0024] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0025] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.
[0026] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0027] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0028] In the present application, a liquid level detection method is provided. The present application also relates to a liquid level detection device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0029] The liquid level detection method can be applied to electrical appliances with cleaning functions such as floor scrubbers to detect the liquid level of the solution stored in the target container of the intelligent cleaning device. For example, if the intelligent cleaning device is a floor scrubber, the target container can be the clean water bucket or the dirty water bucket of the floor scrubber. The cleaning device in the embodiment of the present application can be used to clean floors or floors of different materials. The liquid level detection method includes:
[0030] Figure 1A flow chart of a liquid level detection method provided according to an embodiment of the present application is shown, which specifically includes the following steps:
[0031] Step 102: Determine the device status of the cleaning device.
[0032] In practical applications, the device state of the cleaning device is the current state of the cleaning device, the cleaning device is an electrical device for cleaning that includes a liquid container, and the target container is the liquid container included in the above cleaning device.
[0033] By determining the device status of the cleaning device, it is possible to determine which method to use to obtain the liquid level information of the liquid in the target container based on the acquired device status, and determine the category of the acquired liquid level information based on the device status, and finally determine the liquid level information of the current liquid level based on the category of the liquid level information. In addition, the liquid level information of the target container in the cleaning device can be accurately obtained. The target container can be any three-dimensional geometric shape, such as a cylinder, a cube, a cone, etc., and this specification does not make any limitation in this regard.
[0034] Further, determining the device status of the cleaning device includes:
[0035] When the cleaning device is in an upright state, confirming that the device state of the cleaning device is a first state;
[0036] When the cleaning device is in the tilted state, it is confirmed that the device state of the cleaning device is the second state.
[0037] In practical applications, the first state is when the cleaning device is stationary, that is, when the cleaning device is upright. The second state is when the cleaning device is in operation, that is, when the cleaning device is tilted.
[0038] Generally, when the cleaning device is upright, the cleaning device is in standby mode, that is, the state of the cleaning device at this time is a stationary state (first state). When the cleaning device is tilted, the cleaning device is in operating mode, that is, the state of the cleaning device at this time is an operating state (second state). Furthermore, when the cleaning device is in a stationary state, the target container is also regarded as an upright state, and when the cleaning device is in an operating state, the target container is also regarded as an inclined state. For example, the cleaning device is a floor scrubber. After the floor scrubber is started, the floor scrubber is tilted to perform floor scrubbing work, and the floor scrubber is in motion; when the floor scrubber is upright, the floor scrubber stops working immediately, and the floor scrubber is in a stationary state. Therefore, in the following text, the first state, stationary state and upright state are different names for the cleaning device in the same state according to different scenarios. Similarly, the second state, operating state and tilted state are different names for the cleaning device in the same state according to different scenarios.
[0039] By judging the static and moving states of the cleaning equipment, the corresponding liquid level detection unit can be accurately called according to the judgment result, thereby making the liquid level detection more accurate.
[0040] Step 104: when the device state is the first state, determine first liquid level information based on a first measurement method.
[0041] In actual applications, the first measurement method is a measurement method for obtaining liquid level information in the target container when the device is in an upright state, and the first liquid level information is the liquid level information in the target container when the device is in an upright state.
[0042] Specifically, the first measurement method can be understood as a method of measuring the liquid level information of the solution in the target container of the cleaning device when the measuring device is in an upright state, such as detecting the pressure value of the airbag at the bottom of the target container, and determining the liquid level information of the liquid in the target container based on the obtained pressure value, or detecting the capacitance of the liquid in the target container, and determining the liquid level information of the liquid in the target container based on the obtained capacitance, etc. This manual does not impose any restrictions on this.
[0043] Preferably, determining the first liquid level information based on the first measurement method includes:
[0044] Initial liquid level information is determined based on the liquid level sensor, and the initial liquid level information is determined to be first liquid level information.
[0045] In practical applications, the initial liquid level information is determined based on a liquid level sensor when the target container is in a stationary state, that is, in an upright state. The above-mentioned liquids are substances existing in respective liquid states, such as water, cleaning solution, sewage, etc.
[0046] It can be understood that obtaining the initial liquid level information in the target container of the cleaning device can be after receiving the static liquid level detection instruction and responding to the static liquid level detection instruction, thereby starting the static liquid level detection. The static liquid level detection instruction is a command sent by the user to the liquid level detection system when it is detected that the cleaning device is in an operating state, and can also be a command automatically sent to the liquid level detection system by the cleaning device after power-on.
[0047] Specifically, when sending the static liquid level detection, if it is detected that the device state is the second state, prompting the user to adjust the cleaning device, prompting the user to adjust the cleaning device includes:
[0048] In the embodiment of the present application, the user can control the operation of the cleaning device and the liquid level detection system through a terminal device connected to the cleaning device for communication, or can also control the operation of the cleaning device and the liquid level detection system through an interactive interface or buttons set on the cleaning device. In addition, the cleaning device can initiate a notification to the user through the terminal device connected to the cleaning device for communication, or can also initiate a notification to the user through an interactive interface set on the cleaning device or an interactive unit such as an indicator light and a sound. Specifically, the terminal device can be a mobile phone terminal, a computer terminal, a dedicated remote control, a universal remote control and other terminal devices. Network communication can be achieved between the terminal device and the cleaning device, between the terminal device and the liquid level detection system, and between the cleaning device and the liquid level detection system through any communication method, including but not limited to mobile communications based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), and Worldwide Interoperability for Microwave Access (WiMAX).
[0049] If the liquid level detection system is integrated on the cleaning equipment, the cleaning equipment and the liquid level detection system can also be connected via a two-wire serial bus (Inter-Integrated Circuit, I 2 C), Controller Area Network (CAN), Serial Peripheral Interface (SPI) and other computer network communications for communication connection.
[0050] In an embodiment of the present application, the user can turn on or off the power of the cleaning device and set the working parameters of the cleaning device, such as working mode, cleaning intensity, motor speed, water spray speed, etc., through the interactive interface or button of the terminal device or cleaning device.
[0051] Similarly, when the cleaning device is in a stationary state, the user can also send a stationary liquid level detection instruction to the liquid level detection system through the terminal device or the interactive interface or button of the cleaning device, so that the liquid level detection system can perform a stationary liquid level detection on the solution in the target container in response to the stationary liquid level detection instruction to obtain initial liquid level information. When the cleaning device is in a stationary state, the cleaning device can send a notification to the user to adjust the cleaning device through the terminal device or the interactive interface of the cleaning device or the interactive unit of the cleaning device such as an indicator light and an audio, so that the liquid level detection system can perform a stationary liquid level detection on the solution in the target container to obtain initial liquid level information.
[0052] In addition, a detection cycle may be pre-configured for the liquid level detection system. When the liquid level detection system is running, the liquid level detection system may also automatically perform an initial liquid level detection on the solution in the target container according to the detection cycle.
[0053] Furthermore, obtaining initial liquid level information in a target container of the cleaning device includes:
[0054] When the target container is in an upright state, initial liquid level information is determined based on a liquid level sensor.
[0055] See also Figure 2 , Figure 2 It is a structural diagram of a cleaning device provided by an embodiment of the present application. The initial liquid level information is determined by the liquid level sensor 204 when the target container 202 is in an upright state. The liquid level sensor 204 is used to determine the initial liquid level information.
[0056] Specifically, the initial liquid level information can be understood as the liquid level information of the liquid in the target container when the cleaning device is in a stationary state, which is used to obtain the liquid level information of the remaining liquid in the target container when the cleaning device is in an operating state. It does not specifically refer to the liquid level information when the cleaning device is first turned on or powered on or when the user first turns it on, but the liquid level information of the liquid in the target container each time the cleaning device is in a stationary state and receives a stationary liquid level detection instruction. The liquid level sensor can be any sensor that detects the liquid level, such as a pneumatic sensor, a capacitive sensor, a photoelectric sensor, an ultrasonic sensor, etc., and this manual does not limit this.
[0057] In one embodiment provided in the present specification, it is detected that a clean water bucket in a cleaning device is in an upright state, the capacitance of a solution in the clean water bucket is acquired based on a capacitive sensor, and the liquid level information in the clean water bucket is obtained according to the capacitance of the liquid.
[0058] Considering that there is no restriction on the composition of the liquid in the target container, and the difference in the composition of different liquids has some influence on the capacitance value of the liquid, preferably, the liquid level sensor can be a pneumatic sensor;
[0059] Specifically, determining the initial liquid level information based on the liquid level sensor includes:
[0060] Acquiring a pressure detection result of a sealed gas by a pressure sensor, wherein the pressure sensor comprises a deformable membrane for sealing the sealed gas, and the liquid pressure of the liquid in the target container acts on the deformable membrane;
[0061] The initial liquid level information of the liquid in the target container is obtained according to the air pressure detection result.
[0062] In practical applications, the deformable membrane is a membrane-shaped structure containing a sealed gas inside. The deformable membrane will be deformed by the pressure of the solution. Since there is a sealed gas sealed inside the deformable membrane, the deformation of the deformable membrane will change the pressure of the sealed gas in the sealed cavity. Therefore, the gas pressure of the sealed gas can be detected by a pneumatic sensor connected to the sealed cavity, that is, the pneumatic pressure detection result is obtained. The current pneumatic pressure reference value is the pressure value corresponding to the maximum water level height in the target container.
[0063] Further, according to the air pressure detection result, the initial liquid level information of the liquid in the target container is obtained, including:
[0064] Obtaining a pressure difference value according to a difference between the air pressure detection result and a current air pressure reference value;
[0065] The initial liquid level information of the liquid in the target container is obtained according to the pressure difference.
[0066] In practical applications, the liquid pressure of the solution in the target container acts on the deformable membrane, and the gas pressure of the sealed gas in the sealed cavity is changed by the deformation of the deformable membrane. That is, the liquid pressure of the solution in the target container is converted into the gas pressure of the sealed gas, so that the air pressure is detected by the air pressure sensor.
[0067] Specifically, the pressure difference is the difference between the current liquid pressure value and the pressure value of the highest water level in the target container, which can be understood as expressing the difference in water level in the form of air pressure.
[0068] In one embodiment provided in the present application, for example, if the cleaning equipment is a floor scrubber, the target container is a clean water bucket, and the maximum water level height of the clean water bucket is 280 mm, in the application scenario of the floor scrubber, the solution in the target container is water, the density of water is 1*103kg / m3, and the gravitational acceleration is 9.8N / kg. The liquid pressure corresponding to the maximum water level height of the clean water bucket is 1*103kg / m3*9.8N / kg*280mm=2744Pa. Therefore, it can be known that the liquid pressure range is 0-2744Pa, and the corresponding water level height is 0-280mm. If the corrected air pressure detection result is 2450Pa, the corresponding water level height can be calculated to be 250mm according to the corresponding relationship between the liquid pressure and the water level height, and then the initial liquid level information in the clean water bucket can be obtained as 89%.
[0069] The initial liquid level information of the cleaning device when it is in a stationary state is detected by a pneumatic sensor, so as to accurately obtain the liquid level information of the remaining liquid in the target container when the cleaning device is in operation.
[0070] Step 106: when the device state is the second state, determine second liquid level information based on a second measurement method.
[0071] In actual applications, the second measurement method is a measurement method for obtaining liquid level information in the target container when the device is in a tilted state, and the second liquid level information is the liquid level information in the target container when the device is in a tilted state.
[0072] Specifically, the second measurement method can be understood as a method of measuring the liquid level information of the solution in the target container of the cleaning device when the measuring device is in a tilted state, that is, the cleaning device is in use, such as detecting the volume of liquid flowing through the pipeline connecting the target container and the liquid using device, and calculating the liquid level information of the liquid flowing out of the target container according to the volume of the outflowing liquid and the volume of the target container, or detecting the volume of liquid extracted by the peristaltic pump, and calculating the liquid level information of the liquid flowing out of the target container according to the above-mentioned volume of the extracted liquid and the volume of the target container, etc. This manual does not impose any restrictions on this.
[0073] Preferably, determining the second liquid level information based on the second measurement method includes:
[0074] determining the used liquid information based on the used flow information of the target container;
[0075] The second liquid level information is calculated based on the used liquid information.
[0076] See also Figure 2 The used liquid information is the liquid information of the liquid flowing out of the target container 202 obtained by the flow sensor 206 when the cleaning device is in operation, that is, the cleaning device is in a tilted state. The flow sensor 206 is a unit for detecting the used liquid information of the liquid flowing out of the target container 202.
[0077] Specifically, the liquid information can be the volume information of the liquid, which can be understood as the volume of the liquid flowing out of the target container within a certain period of time. The flow rate information can be obtained based on the flow sensor or the information obtained based on the liquid use unit, which can be understood as the flow state of the liquid in the target container flowing out of the target container. For example, the flow rate information obtained by the turbine flow sensor is the average flow rate of the liquid flowing through the sensor during the operation time period. Based on the average flow rate obtained, the diameter of the pipeline and the length of the time period, the volume of the liquid flowing out of the target container during the operation time period can be calculated; the flow rate information obtained by the peristaltic pump is the number of peristaltic pump peristaltic movements during the operation time period. Based on the number of peristaltic pump peristaltic movements during the operation time period and the preset volume of solution that can be extracted by each peristaltic pump peristalsis, the volume of the liquid flowing out of the target container during the operation time period can be calculated. Calculating the second liquid level information based on the liquid information can be understood as obtaining information on the reduction of the liquid level in the target container based on the volume of the liquid flowing out of the target container. For example, if the target container is a cylinder, the percentage of the outflowing liquid in the target container can be obtained based on the volume of the target container and the above-obtained volume calculation.
[0078] In one embodiment provided in the present application, the target container is a cleaning solution barrel of a floor scrubber. When the floor scrubber is in operation, the floor scrubber needs to obtain cleaning solution from the cleaning solution barrel to clean the floor. When the cleaning solution is obtained from the cleaning solution barrel, the cleaning solution will flow out of the barrel and pass through the electromagnetic flow sensor for use. Subsequently, the volume of the cleaning solution flowing out obtained based on the electromagnetic flow sensor is 500 ml. The target container is a cylinder with a volume of 5000 ml, and the second liquid level information can be determined to be 10%.
[0079] By setting a flow sensor to obtain the volume of liquid flowing out of the target container and obtaining page information of the remaining liquid based on the volume, the liquid level information of the remaining liquid in the target container while the cleaning equipment is in operation can be accurately obtained.
[0080] Considering that cleaning the liquid flowing out of the target container requires a driving part, the cleaning device includes a liquid using unit;
[0081] Furthermore, determining the used liquid information based on the used flow information of the target container includes:
[0082] Detecting the liquid flowing out of the target container based on a flow sensor, acquiring first usage flow information according to the detection result, and calculating and obtaining first usage liquid information according to the first usage flow information;
[0083] Based on the liquid usage unit, the liquid flowing out of the target container is detected, the second usage flow information is obtained according to the detection result, and the second usage liquid information is calculated according to the second usage flow information; the usage liquid information is determined based on the first usage liquid information and / or the second usage liquid information.
[0084] See also Figure 2 The liquid using unit 208 is used to drive the liquid in the target container 202 to flow out through the flow sensor 204 .
[0085] Specifically, the first usage flow information is the usage flow information obtained based on the flow sensor, and the first usage flow information can be understood as the liquid state of the liquid flowing through the flow sensor detected by the flow sensor. For example, the first usage flow information obtained by the turbine flow sensor is the average flow rate of the liquid flowing through the sensor during the operating time period, and the first usage flow information obtained by the positive displacement flow sensor is the number of displacements of the movable parts in the liquid of the positive displacement sensor during the operating time period.
[0086] The second usage flow information is the usage flow information obtained based on the liquid usage unit, and the second usage flow information can be understood as the liquid state of the liquid used by the liquid usage unit detected by the liquid usage unit. For example, the second usage flow information obtained by the peristaltic pump is the number of peristaltic pump peristaltic movements during the operation time period.
[0087] The flow sensor can be any sensor that can obtain liquid flow information, such as an electromagnetic flow sensor, a turbine flow sensor, a positive displacement flow sensor, an ultrasonic flow sensor, a metal rotor flow sensor, etc., and this manual does not limit this. The liquid use unit can be an electrical component that operates liquid, such as a peristaltic pump, a turbine pump, etc. The liquid use unit can be understood as obtaining liquid from a target container and outputting the obtained liquid to the target device to which the liquid belongs, and can obtain information about the liquid used by the liquid use unit during the operating time period. For example, a peristaltic pump is used to spray clean water in a clean water bucket onto the drum of a floor scrubber, and the number of times the peristaltic pump peristsates during the operating time period is obtained.
[0088] In one embodiment provided in the present application, a piston pump can be used to extract the cleaning solution in the cleaning solution barrel and output it to the drum of the floor scrubber, and the usage liquid information of the liquid in the set flow sensor can be obtained.
[0089] By providing a flow sensor to detect the used liquid information of the liquid flowing out of the target container driven by the liquid using unit, the liquid level information of the remaining liquid in the target container during the operation of the cleaning device can be accurately obtained.
[0090] Furthermore, based on the flow sensor detecting the liquid flowing out of the target container, obtaining the first usage flow information according to the detection result, and calculating the first usage liquid information according to the first usage flow information, including:
[0091] Based on the flow sensor detecting the liquid flowing out of the target container, first liquid information is determined according to the detection result, and the liquid information is used according to the first.
[0092] In practical applications, the detection results of flow sensors are used to determine the information of liquid usage. The detection results of flow sensors can be understood as different data collected by various flow sensors when liquid flows through, such as the potential difference corresponding to the magnetic field collected by the electromagnetic flow sensor, the rotation speed corresponding to the turbine shaft collected by the turbine flow sensor, etc. This manual does not limit this.
[0093] Specifically, the flow sensor includes any one of an electromagnetic flow sensor, a turbine flow sensor and a positive displacement flow sensor.
[0094] Optionally, the flow sensor may be an electromagnetic flow sensor, and the electromagnetic flow sensor includes a magnetic field generator, and the magnetic field generator is used to generate a magnetic field on the path of liquid flow;
[0095] Further, based on the flow sensor detecting the liquid flowing out of the target container, obtaining the first usage flow information according to the detection result, and calculating and obtaining the first usage liquid information according to the first usage flow information, including:
[0096] When liquid flows out of the target container, obtaining a potential difference corresponding to the magnetic field;
[0097] generating first usage flow information based on the potential difference;
[0098] Obtaining the working time of the cleaning equipment;
[0099] The first liquid usage information is obtained according to the first usage flow information and the working time.
[0100] In practical applications, the potential difference is generated when the liquid flowing out of the target container flows through the magnetic field generated by the magnetic field generator, and the first usage flow information corresponding to the electromagnetic flow sensor is the average speed of the liquid flowing through the flow sensor during the operating time. The working time of the cleaning equipment is the time from the time of uprighting to the time of acquisition. For example, if the equipment was upright 5 minutes ago, the currently acquired working time of the cleaning equipment is 5 minutes.
[0101] Specifically, when the flow sensor is an electromagnetic flow sensor, the first usage flow information corresponding to the electromagnetic flow sensor is obtained by the potential difference generated by the liquid flowing out of the target container flowing through the magnetic field generated by the electromagnetic flow sensor. Specifically, it is shown in Formula 1:
[0102]
[0103] Among them, E is the potential difference generated by the flow of liquid, B is the magnetic field strength generated by the electromagnetic flow sensor, V is the average flow velocity of the liquid flowing out of the container, and D is the diameter of the pipe. Therefore, the average flow velocity of the liquid flowing out of the container can be obtained through the potential difference, and then the volume of liquid flowing through the pipe in a certain period of time can be obtained through the average flow velocity of the liquid.
[0104] The first liquid usage information corresponding to the electromagnetic flow sensor can be understood as the volume of liquid flowing out of the target container, which is specifically shown in Formula 2:
[0105] Q=Vt……Formula 2
[0106] Among them, Q is the volume of liquid flowing out of the container, V is the flow rate information obtained by the flow sensor, and f is the working time obtained. Therefore, the volume of liquid flowing through the pipeline during the working time can be obtained by the flow rate information and the working time.
[0107] The electromagnetic flow sensor is used to obtain the potential difference of the liquid flowing through, so that the liquid level information of the remaining liquid in the target container during the operation of the cleaning equipment can be accurately obtained. Then, the liquid information flowing out of the target container during the working time can be obtained through the working time of the cleaning equipment and the liquid flow rate during the time, so that the liquid level information of the remaining liquid in the target container during the operation of the cleaning equipment can be accurately obtained.
[0108] Optionally, the flow sensor may be a turbine flow sensor, wherein the turbine flow sensor comprises a turbine shaft, and the turbine shaft rotates when liquid flows through the turbine shaft;
[0109] Further, based on the flow sensor detecting the liquid flowing out of the target container, obtaining the first usage flow information according to the detection result, and calculating and obtaining the first usage liquid information according to the first usage flow information, including:
[0110] When liquid flows out of the target container, obtaining a corresponding rotation speed of the turbine shaft;
[0111] generating first usage flow information based on the rotation speed;
[0112] Obtaining the working time of the cleaning equipment;
[0113] The first liquid usage information is obtained according to the first usage flow information and the working time.
[0114] In practical applications, the turbine shaft is a mechanical component included in the turbine flow sensor. When liquid flows through the turbine shaft, the turbine shaft rotates, and the rotation speed increases as the liquid flow rate increases.
[0115] Specifically, when the flow sensor is a turbine flow sensor, the first usage flow information corresponding to the turbine flow sensor is obtained by the rotation speed generated by the liquid flowing out of the target container flowing through the turbine shaft included in the turbine flow sensor. Specifically, it is shown in Formula 3:
[0116]
[0117] Among them, R is the rotation speed of the turbine shaft, k is a proportional constant depending on the design of the turbine shaft, and V is the average flow velocity of the liquid flowing out of the container. Therefore, the average flow velocity of the liquid flowing out of the container can be obtained through the first use flow information corresponding to the turbine flow sensor, and then the volume of the liquid flowing through the pipeline in a certain period of time can be obtained through the average flow velocity of the liquid.
[0118] The first used liquid information corresponding to the turbine flow sensor can be understood as the volume of liquid flowing out of the target container, which is specifically shown in the above formula 2.
[0119] The liquid usage information is obtained by the rotation speed of the liquid flow obtained by the turbine flow sensor, so that the liquid level information of the remaining liquid in the target container during the operation of the cleaning equipment can be accurately obtained. Then, the liquid information flowing out of the target container during the working time can be obtained by the working time of the cleaning equipment and the liquid flow rate during the time, so that the liquid level information of the remaining liquid in the target container during the operation of the cleaning equipment can be accurately obtained.
[0120] Optionally, the flow sensor may be a positive displacement flow sensor, wherein the positive displacement flow sensor comprises a movable component, and the movable component generates displacement when liquid flows through;
[0121] Further, based on the flow sensor detecting the liquid flowing out of the target container, obtaining the first usage flow information according to the detection result, and calculating and obtaining the first usage liquid information according to the first usage flow information, including:
[0122] When the target container flows out of liquid, first usage flow information is obtained, wherein the first usage flow information is the number of displacements corresponding to the movable component;
[0123] First liquid usage information is generated based on the first usage flow rate information.
[0124] In practical applications, the movable component is a mechanical component included in the positive displacement flow sensor, which moves when the liquid flows through the movable component, and each movement transports a certain volume of the liquid. The first usage flow information corresponding to the positive displacement flow sensor is the number of displacements of the movable component.
[0125] Specifically, in the case where the flow sensor is a positive displacement flow sensor, the first usage liquid information corresponding to the positive displacement flow sensor is obtained by the number of displacements generated by the liquid flowing out of the target container passing through the movable component included in the positive displacement flow sensor, that is, obtained by the first usage flow information corresponding to the positive displacement flow sensor. Specifically, as shown in Formula 4:
[0126] Q=Vf……Formula 4
[0127] Among them, Q is the volume of liquid flowing out of the container, V is the volume of fluid carried by the movable part each time it moves, and f is the number of times the movable part is displaced within a certain period of time. Therefore, the volume of liquid flowing through the pipeline within a certain period of time can be directly obtained through the number of displacements.
[0128] The number of displacements of the liquid flow obtained by the set positive displacement flow sensor is used to obtain the used liquid information, so that the liquid level information of the remaining liquid in the target container during the operation of the cleaning equipment can be accurately obtained.
[0129] Optionally, the liquid using unit may be a peristaltic pump, the peristaltic pump comprising a peristaltic extraction component, the peristaltic extraction component extracts liquid when peristaltic;
[0130] Furthermore, based on the flow sensor detecting the liquid flowing out of the target container, obtaining the second usage flow information according to the detection result, and calculating the second usage liquid information according to the second usage flow information, including:
[0131] When the liquid using unit uses the liquid, second usage flow information is obtained, wherein the second usage flow information is the number of times the peristaltic extraction component moves;
[0132] The second liquid usage information is generated based on the second usage flow rate information.
[0133] In practical applications, the peristaltic extraction component is a mechanical component included in a peristaltic pump, and the peristaltic extraction component extracts liquid when peristaltic, and extracts a certain volume of the liquid each time. The second usage flow information corresponding to the peristaltic pump is the number of peristaltic movements of the peristaltic extraction component.
[0134] Specifically, when the liquid using unit is a peristaltic pump sensor, the second liquid using information corresponding to the peristaltic pump is obtained by the number of peristaltic movements of the peristaltic extraction component in the peristaltic pump, that is, by the second flow rate information corresponding to the peristaltic pump. Specifically, as shown in Formula 5:
[0135] Q=Vf……Formula 5
[0136] Among them, Q is the volume of liquid flowing out of the container, V is the volume of fluid extracted by the peristaltic extraction component each time, and f is the number of times the peristaltic extraction component peristsals within a certain period of time. Therefore, the volume of liquid flowing out of the target container within a certain period of time can be directly obtained by the number of peristalsis.
[0137] The number of peristaltic movements of the peristaltic extraction component obtained by the set peristaltic pump is used to obtain the used liquid information, so that the liquid level information of the remaining liquid in the target container when the cleaning device is in operation can be accurately obtained.
[0138] Optionally, the liquid using unit may be a centrifugal pump;
[0139] Further, based on the flow sensor detecting the liquid flowing out of the target container, obtaining the second usage flow information according to the detection result, and calculating and obtaining the second usage liquid information according to the second usage flow information, including:
[0140] When liquid flows out of the target container, obtaining a rotor rotation speed corresponding to the centrifugal pump;
[0141] generating second usage flow information based on the rotation speed;
[0142] Obtaining the working time of the cleaning equipment;
[0143] The second liquid usage information is obtained according to the second usage flow information and the working time.
[0144] In actual applications, the rotor of a centrifugal pump draws liquid from a target container as it rotates, and the liquid flow rate increases as the rotation speed of the rotor of the centrifugal pump increases.
[0145] Specifically, when the liquid using unit is a centrifugal pump, the second usage flow information corresponding to the centrifugal pump is obtained by the rotation speed of the rotor of the centrifugal pump. The average flow rate of the liquid flowing out of the container can be obtained through the second usage flow information corresponding to the centrifugal pump, and then the volume of the liquid flowing through the pipeline in a certain period of time can be obtained through the average flow rate of the liquid. The second usage liquid information corresponding to the centrifugal pump can be understood as the volume of the liquid flowing out of the target container.
[0146] Furthermore, determining the used liquid information by using the first used liquid information and the second used liquid information includes:
[0147] obtaining a first weight value corresponding to the first liquid usage information, and obtaining a second weight value corresponding to the second liquid usage information;
[0148] Based on the first weight, the second weight, the first liquid usage information, and the second liquid usage information, the liquid usage information corresponding to the first liquid usage information and the second liquid usage information is calculated.
[0149] In practical applications, the first weight is associated with the first liquid usage information and is used to calculate the value of the liquid usage information, and the second weight is associated with the second liquid usage information and is used to calculate the value of the liquid usage information.
[0150] Specifically, the first weight value can be understood as the importance of the liquid information obtained through the sensor. The larger the weight value, the greater its importance. The second weight value can be understood as the importance of the liquid information obtained through the liquid use device. Similarly, the larger the weight value, the greater its importance. The liquid information corresponding to the first liquid use information and the second liquid use information is determined by preset weights. It can be obtained by calculating the weighted average of the first liquid use information and the second liquid use information, or by other weighted calculation methods. This manual does not limit this. For example, during the use of the floor scrubber, the first liquid use information obtained by the displacement sensor is 20cm 3 , the second liquid usage information obtained by the liquid usage unit is 23cm 3 The preset first weight value is 0.8 and the second weight value is 0.2. The weighted average of the two is finally calculated to determine the used liquid information of 20.6 cm 3 .
[0151] By presetting weights to determine the liquid usage information corresponding to the first liquid usage information and the second liquid usage information, it is possible to avoid errors in obtaining the liquid usage information due to an error in a certain judgment method, thereby improving the accuracy of the obtained liquid usage information.
[0152] Step 108: Obtain target liquid level information based on the first liquid level information and the second liquid level information.
[0153] In practical applications, the target liquid level information is liquid level information of the remaining liquid in the target container obtained based on the first liquid level information and the second liquid level information.
[0154] Further, obtaining target liquid level information based on the first liquid level information and the second liquid level information includes:
[0155] Calculating a liquid level information difference according to the first liquid level information and the second liquid level information;
[0156] The liquid level information difference is determined as target liquid level information.
[0157] In practical applications, the liquid level information difference is the difference between the first liquid level information and the second liquid level information.
[0158] Specifically, the target liquid level information is obtained by subtracting the liquid level information consumed during the operation of the cleaning equipment from the first liquid level information obtained by calibration before the cleaning equipment is operated, that is, when the cleaning equipment is upright. In other words, the target liquid level information is the liquid level information difference between the first liquid level information and the second liquid level information. The liquid level information difference can be understood as the difference between the liquid level information before the equipment is operated and the liquid level information consumed during the equipment operation. Furthermore, the target liquid level information can be understood as the liquid level information of the remaining liquid in the target container. For example, if there is 1 / 5 of the solution remaining in the clean water bucket of the cleaning equipment, its liquid level information is 20%.
[0159] In one embodiment provided in the present application, when the floor scrubber is in an upright state, the first liquid level information of the clean water bucket obtained according to the air pressure of the airbag at the bottom of the clean water bucket is 90%, that is, there is 90% of clean water remaining in the clean water bucket before this use. Then the user tilts the floor scrubber for use. At the 6th second of use, the second liquid level information of the clean water bucket is 20% according to the liquid usage information obtained by the flow sensor. That is to say, the difference in liquid level information obtained by subtracting the second liquid level information from the first liquid level information is 70%, and then the target liquid level information can be determined to be 70%, that is, the user has 70% of clean water remaining in the clean water bucket at the 6th second of using the floor scrubber.
[0160] By using different detection methods to obtain the first liquid level information and the second liquid level information when the cleaning device is upright and when the cleaning device is tilted, and then obtaining the target liquid level information based on the two types of liquid level information obtained above, the liquid level information of the remaining liquid in the target container when the cleaning device is in operation can be accurately obtained.
[0161] Furthermore, the method further comprises:
[0162] When the device is in a stationary state, determining the first liquid level information based on a liquid level sensor, wherein the first liquid level information is the target liquid level information;
[0163] When the cleaning device is in a tilted state, the first liquid level information is determined based on a liquid level sensor, the second liquid level information is determined based on usage flow information of the target container, and the target liquid level information is determined based on a difference between the first liquid level information and the second liquid level information.
[0164] Specifically, determining the target liquid level information according to the state of the device can be understood as that the target liquid level information needs to be presented to the user regardless of whether the device is in a stationary state or in an operating state, that is, the target liquid level information is determined in different ways according to the state of the device so as to be presented to the user.
[0165] When the device is in a stationary state, since there is no liquid usage unit and the target container is also in an upright state, the first liquid level information determined based on the liquid level sensor can achieve the required accuracy. Therefore, the first liquid level information can be determined as the target liquid level information, so as to present the liquid level information in the target container of the device in the current state to the user.
[0166] When the cleaning device is in a tilted state, since the liquid is in a flowing out state and the target container is in a tilted state, the accuracy of obtaining the liquid level information only by relying on the liquid level sensor does not meet the requirements. Therefore, it is necessary to determine the first liquid level information based on the liquid level sensor, determine the second liquid level information based on the usage flow information of the target container, and then determine the target liquid level information based on the difference between the first liquid level information and the second liquid level information, so as to present the liquid level information in the target container of the device in the current state to the user.
[0167] Considering that the obtained target liquid level information is used in practical applications, after obtaining the target liquid level information based on the first liquid level information and the second liquid level information, the method further includes:
[0168] generating user prompt information according to the target liquid level information;
[0169] The user prompt information is fed back to the user.
[0170] In actual applications, user prompt information is generated based on the target liquid level information. Specifically, user prompt information can be understood as providing real-time information on the target liquid level status to the user, for example, displaying the percentage of the remaining liquid in the current target container on the display screen, or sending a message prompt and a sound reminder to the user's mobile phone when the remaining solution in the target container is less than a certain threshold value "Insufficient remaining clean water, please add water".
[0171] In one embodiment provided in the present application, it is detected that the remaining cleaning solution in the cleaning solution bucket of the floor scrubber is 50%, and the result is displayed in a visual manner on a display screen.
[0172] By generating user prompt information based on the target liquid level information, the status of the remaining liquid in the target container can be accurately displayed to the user.
[0173] By applying the scheme of the above-mentioned real-time example, when the target container is in an upright state, that is, when the cleaning device is in a stationary state, the initial liquid level information in the target container is obtained according to the liquid level sensor, so as to accurately obtain the initial volume of the liquid in the target container when the cleaning device is in a stationary state, that is, when the cleaning device is in an operating state, the liquid use unit is in an operating state, thereby driving the liquid to flow out of the target container, and by setting a flow sensor on the flow path where the liquid flows out of the target container, the flow rate of the liquid flowing through the flow sensor is obtained, thereby obtaining the liquid volume of the liquid flowing through the flow sensor, and then combining the initial volume of the liquid in the target container when the cleaning device is in a stationary state, the remaining volume of the liquid in the target container can be obtained, thereby accurately obtaining the liquid level information of the remaining liquid in the target container when the cleaning device is in operation.
[0174] The following combination Figure 3 , taking the application of the liquid level detection method provided in the present application in a floor scrubber as an example, the liquid level detection method is further described. Figure 3 A processing flow chart of a liquid level detection method applied to a floor scrubber provided in an embodiment of the present application is shown, which specifically includes the following steps:
[0175] Step 302: Get the status of the clean water bucket.
[0176] Step 304: Determine whether the clean water bucket is in an upright state.
[0177] Step 306: If not, the user is prompted on the screen and by voice to "please stand the machine upright and calibrate the current water level".
[0178] Step 308: If yes, then obtain the air pressure detection result in the clean water bucket according to the deformation membrane at the bottom of the clean water bucket.
[0179] Step 310: Obtain a pressure difference value according to the obtained air pressure detection result and the current air pressure reference value.
[0180] Step 312: Obtain the initial liquid level information of the liquid in the clean water bucket according to the pressure difference.
[0181] Step 314: Start the floor scrubber to allow the peristaltic pump to spray the liquid in the clean water bucket onto the drum.
[0182] Step 316: Obtain the potential difference of the liquid flowing from the clean water bucket to the peristaltic pump during the working time based on the electromagnetic flow sensor.
[0183] Step 318: Obtain the flow rate of the liquid according to the potential difference.
[0184] Step 320: Obtain the volume of the liquid flowing out of the clean water bucket according to the flow rate and the working time.
[0185] Step 322: Calculate the corresponding liquid level change based on the volume of the outflowing liquid.
[0186] Step 324: Subtract the change in liquid level from the initial liquid level to obtain the liquid level of the remaining liquid in the clean water bucket.
[0187] Step 326: Display the level of the remaining liquid on the display screen of the floor scrubber.
[0188] Step 328: When the level of the remaining liquid is less than 5%, the screen and voice prompt the user and a message is sent to the user's mobile phone to prompt "Insufficient remaining clean water, please add water".
[0189] By applying the above-mentioned real-time example solution, when the clean water bucket is in an upright state, that is, when the floor scrubber is in a stationary state, the initial liquid level information in the clean water bucket is obtained according to the air pressure sensor, so as to accurately obtain the initial volume of the liquid in the clean water bucket when the floor scrubber is in a stationary state, that is, when not in use. When the floor scrubber is in operation, the peristaltic pump is in operation, thereby driving the liquid to flow out of the clean water bucket. By setting an electromagnetic flow sensor on the flow path where the liquid flows out of the clean water bucket, the flow rate of the liquid flowing through the electromagnetic flow sensor is obtained, thereby obtaining the liquid volume of the liquid flowing through the electromagnetic flow sensor, and then combining the initial volume of the liquid in the clean water bucket when the floor scrubber is in a stationary state, the remaining volume of the liquid in the clean water bucket can be obtained, thereby accurately obtaining the liquid level information of the remaining liquid in the clean water bucket when the floor scrubber is in operation, and then the remaining liquid information in the clean water bucket can be fed back to the user in real time, and the user can be reminded to add water in time when the clean water is insufficient.
[0190] Corresponding to the above method embodiment, the present application also provides a liquid level detection device embodiment, Figure 4 FIG. 1 is a schematic diagram showing the structure of a liquid level detection device provided by an embodiment of the present application. Figure 4 As shown, the device is used for detecting the liquid level of a target container in a cleaning device, comprising:
[0191] The status confirmation unit 402 is configured to determine the device status of the cleaning device.
[0192] The initial sensing unit 404 is configured to determine first liquid level information based on a first measurement method when the device state is a first state.
[0193] The flow sensing unit 406 is configured to determine second liquid level information based on a second measurement method when the device state is a second state.
[0194] The processing unit 408 is configured to obtain target liquid level information based on the first liquid level information and the second liquid level information.
[0195] The state confirmation unit 402 is further configured to:
[0196] When the cleaning device is in an upright state, confirming that the device state of the cleaning device is a first state;
[0197] When the cleaning device is in the tilted state, it is confirmed that the device state of the cleaning device is the second state.
[0198] The initial sensing unit 404 is further configured as:
[0199] Initial liquid level information is determined based on the liquid level sensor, and the initial liquid level information is determined to be first liquid level information.
[0200] Optionally, the liquid level sensor includes a pneumatic sensor;
[0201] The initial sensing unit 404 is further configured as:
[0202] Acquiring a pressure detection result of a sealed gas by a pressure sensor, wherein the pressure sensor comprises a deformable membrane for sealing the sealed gas, and the liquid pressure of the liquid in the target container acts on the deformable membrane;
[0203] The initial liquid level information of the liquid in the target container is obtained according to the air pressure detection result.
[0204] The initial sensing unit 404 is further configured as follows:
[0205] Obtaining a pressure difference value according to a difference between the air pressure detection result and a current air pressure reference value;
[0206] The initial liquid level information of the liquid in the target container is obtained according to the pressure difference.
[0207] The flow sensor unit 406 is further configured as follows:
[0208] determining the used liquid information based on the used flow information of the target container;
[0209] The second liquid level information is calculated based on the used liquid information.
[0210] The flow sensor unit 406 is further configured as follows:
[0211] Detecting the liquid flowing out of the target container based on a flow sensor, acquiring first usage flow information according to the detection result, and calculating and obtaining first usage liquid information according to the first usage flow information;
[0212] Based on the liquid using unit detecting the liquid flowing out of the target container, obtaining second usage flow information according to the detection result, and calculating and obtaining second usage liquid information according to the second usage flow information;
[0213] The liquid usage information is determined based on the first liquid usage information and / or the second liquid usage information.
[0214] The flow sensor unit 406 is further configured as follows:
[0215] obtaining a first weight value corresponding to the first liquid usage information, and obtaining a second weight value corresponding to the second liquid usage information;
[0216] Calculate a weighted average value of liquid information corresponding to the first liquid usage information and the second liquid usage information based on the first weight, the second weight, the first liquid usage information, and the second liquid usage information;
[0217] The weighted average value of the liquid information is confirmed as the used liquid information.
[0218] Optionally, the flow sensor includes any one of an electromagnetic flow sensor, a turbine flow sensor and a positive displacement flow sensor.
[0219] Optionally, the flow sensor includes an electromagnetic flow sensor, the electromagnetic flow sensor includes a magnetic field generator, and the magnetic field generator is used to generate a magnetic field on the path of liquid flow;
[0220] The flow sensor unit 406 is further configured as follows:
[0221] When liquid flows out of the target container, obtaining a potential difference corresponding to the magnetic field;
[0222] generating first usage flow information based on the potential difference;
[0223] Obtaining the working time of the cleaning equipment;
[0224] The first liquid usage information is obtained according to the first usage flow information and the working time.
[0225] Optionally, the flow sensor comprises a turbine flow sensor, the turbine flow sensor comprises a turbine shaft, and the turbine shaft rotates when liquid flows through;
[0226] The flow sensor unit 406 is further configured as follows:
[0227] When liquid flows out of the target container, obtaining a corresponding rotation speed of the turbine shaft;
[0228] generating first usage flow information based on the rotation speed;
[0229] Obtaining the working time of the cleaning equipment;
[0230] The first liquid usage information is obtained according to the first usage flow information and the working time.
[0231] Used liquid information is generated based on the used flow rate.
[0232] Optionally, the flow sensor comprises a positive displacement flow sensor, the positive displacement flow sensor comprises a movable component, and the movable component generates displacement when liquid flows through;
[0233] The flow sensor unit 406 is further configured as follows:
[0234] When the target container flows out of liquid, first usage flow information is obtained, wherein the first usage flow information is the number of displacements corresponding to the movable component;
[0235] First liquid usage information is generated based on the first usage flow rate information.
[0236] The processing unit 408 is further configured to:
[0237] Calculating a liquid level information difference according to the first liquid level information and the second liquid level information;
[0238] The liquid level information difference is determined as target liquid level information.
[0239] Optionally, the liquid level detection device further includes:
[0240] a static liquid level confirmation unit, configured to determine the first liquid level information based on a liquid level sensor when the device is in a static state, the first liquid level information being the target liquid level information;
[0241] The tilted liquid level confirmation unit is configured to determine the first liquid level information based on the liquid level sensor, determine the second liquid level information based on the usage flow information of the target container, and determine the target liquid level information based on the difference between the first liquid level information and the second liquid level information when the cleaning device is in a tilted state.
[0242] Optionally, the liquid level detection device further includes:
[0243] The liquid using unit drives the liquid in the target container to pass through the flow sensor based on the liquid using unit when the device state is the operating state.
[0244] Optionally, the liquid level detection device further includes:
[0245] The initial prompting unit prompts the user to adjust the cleaning device when detecting that the device state is the second state.
[0246] Optionally, the liquid level detection device further includes:
[0247] The target liquid level prompting unit generates user prompting information according to the target liquid level information; and feeds back the user prompting information to the user.
[0248] By applying the scheme of the above-mentioned real-time example, when the target container is in an upright state, that is, when the cleaning device is in a stationary state, the initial liquid level information in the target container is obtained according to the liquid level sensor, so as to accurately obtain the initial volume of the liquid in the target container when the cleaning device is in a stationary state, that is, when the cleaning device is in an operating state, the liquid use unit is in an operating state, thereby driving the liquid to flow out of the target container, and by setting a flow sensor on the flow path where the liquid flows out of the target container, the flow rate of the liquid flowing through the flow sensor is obtained, thereby obtaining the liquid volume of the liquid flowing through the flow sensor, and then combining the initial volume of the liquid in the target container when the cleaning device is in a stationary state, the remaining volume of the liquid in the target container can be obtained, thereby accurately obtaining the liquid level information of the remaining liquid in the target container when the cleaning device is in operation.
[0249] The above is a schematic scheme of a liquid level detection device of this embodiment. It should be noted that the technical scheme of the liquid level detection device and the technical scheme of the above-mentioned liquid level detection method belong to the same concept, and the details not described in detail in the technical scheme of the liquid level detection device can be referred to the description of the technical scheme of the above-mentioned liquid level detection method.
[0250] Figure 5 The block diagram of a computing device 500 provided according to an embodiment of the present application is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.
[0251] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0252] In one embodiment of the present application, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.
[0253] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 500 may also be a mobile or stationary server.
[0254] When the processor 520 executes the computer instructions, the steps of the liquid level detection method are implemented.
[0255] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above liquid level detection method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above liquid level detection method.
[0256] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which implement the steps of the liquid level detection method as described above when executed by a processor.
[0257] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned liquid level detection method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned liquid level detection method.
[0258] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0259] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0260] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0261] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0262] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.
Claims
1. A liquid level detection method, characterized in that: For liquid level detection of a target container in a cleaning device, the method comprises: determining a device status of the cleaning device; When the device state is a first state, determining first liquid level information based on a first measurement method; When the device state is the second state, determining second liquid level information based on a second measurement method; Based on the first liquid level information and the second liquid level information, target liquid level information is obtained.
2. The method according to claim 1, characterized in that Determining second liquid level information based on the second measurement method includes: Determine the used liquid information based on the used flow information of the target container, and calculate the second liquid level information based on the used liquid information; Accordingly, determining the first liquid level information based on the first measurement method includes: Initial liquid level information is determined based on the liquid level sensor, and the initial liquid level information is determined to be first liquid level information.
3. The method according to claim 2, characterized in that Determining the liquid usage information based on the usage flow information of the target container includes: Detecting the liquid flowing out of the target container based on a flow sensor, acquiring first usage flow information according to the detection result, and calculating and obtaining first usage liquid information according to the first usage flow information; Based on the liquid using unit detecting the liquid flowing out of the target container, obtaining second usage flow information according to the detection result, and calculating and obtaining second usage liquid information according to the second usage flow information; The liquid usage information is determined based on the first liquid usage information and / or the second liquid usage information.
4. The method according to claim 3, characterized in that Determining the liquid usage information based on the first liquid usage information and the second liquid usage information includes: obtaining a first weight value corresponding to the first liquid usage information, and obtaining a second weight value corresponding to the second liquid usage information; Based on the first weight, the second weight, the first liquid usage information, and the second liquid usage information, the liquid usage information corresponding to the first liquid usage information and the second liquid usage information is calculated.
5. The method according to claim 1, characterized in that Obtaining target liquid level information based on the first liquid level information and the second liquid level information includes: Calculating a liquid level information difference according to the first liquid level information and the second liquid level information; The liquid level information difference is determined as target liquid level information.
6. The method according to claim 1, characterized in that Determining the device status of the cleaning device includes: When the cleaning device is in an upright state, confirming that the device state of the cleaning device is a first state; When the cleaning device is in the tilted state, it is confirmed that the device state of the cleaning device is the second state.
7. The method according to claim 6, characterized in that Also includes: When the device is in a stationary state, determining the first liquid level information based on a liquid level sensor, wherein the first liquid level information is the target liquid level information; When the cleaning device is in a tilted state, the first liquid level information is determined based on a liquid level sensor, the second liquid level information is determined based on usage flow information of the target container, and the target liquid level information is determined based on a difference between the first liquid level information and the second liquid level information.
8. The method according to claim 2, characterized in that The liquid level sensor comprises a pneumatic sensor; Determine the initial liquid level information based on the liquid level sensor, including: Acquiring a pressure detection result of a sealed gas by a pressure sensor, wherein the pressure sensor comprises a deformable membrane for sealing the sealed gas, and the liquid pressure of the liquid in the target container acts on the deformable membrane; The initial liquid level information of the liquid in the target container is obtained according to the air pressure detection result.
9. The method according to claim 1, characterized in that Before determining the initial liquid level information based on the liquid level sensor, it also includes: When it is detected that the device state is the second state, the user is prompted to adjust the cleaning device.
10. A liquid level detection device, characterized in that: Used for level detection of target containers in cleaning equipment, including: a state confirmation unit configured to determine a device state of the cleaning device; an initial sensing unit, configured to determine first liquid level information based on a first measurement method when the device state is a first state; a flow sensing unit configured to determine second liquid level information based on a second measurement method when the device state is a second state; The processing unit is configured to obtain target liquid level information based on the first liquid level information and the second liquid level information.