Cleaning equipment and water tank detection circuit thereof
By designing a water tank detection circuit with few port resources in the cleaning equipment host, and using controller and switch control circuits to realize water tank in-position detection and water level detection, the problems of complex control logic and large number of components in the prior art are solved, and a simple structure and low-cost detection circuit are realized.
Patent Information
- Application Number
- CN202421162443.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2034-05-24
AI Technical Summary
The water tank detection circuit control logic of existing cleaning equipment is complex, occupies a lot of port resources, and the number of peripheral components used by the circuit is large, resulting in a large layout area of printed circuit boards and a high cost of veneer materials.
Design a water tank detection circuit that occupies few port resources and has a small number of peripheral components. By setting up a controller and a switch control circuit in the cleaning equipment host, the controller's detection port and control port are used, and the switch tube in the switch control circuit is combined with the switch tube in the switch control circuit to realize the water tank in-position detection and water level detection functions.
The water tank in-position detection and water level detection functions are realized. The circuit structure is simple, the port resources are occupied, and the number of peripheral components is small, which reduces the circuit board layout area and material costs, and improves reliability and development efficiency.
Smart Images

Figure CN222656957U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of cleaning equipment, and in particular to a cleaning equipment and a water tank detection circuit thereof. Background Art
[0002] With the continuous advancement of artificial intelligence and machine learning technologies, cleaning equipment is becoming more and more intelligent and automated. Cleaning equipment includes, for example, but is not limited to, sweepers or scrubbers. Cleaning equipment can sense the surrounding environment through sensing devices such as sensors, cameras, and lidars to achieve intelligent path planning, obstacle avoidance, autonomous cleaning and washing. Sweepers or scrubbers include dry-mopping types without water tanks and wet-mopping types with water tanks, which expand the cleaning function of sweeping robots. Accordingly, it is necessary to detect and monitor whether the water tank is connected or whether the water level in the water tank is full. In the related art, the control logic of the detection circuit is complex, occupies more port resources, and many devices are used in the circuit implementation. The layout area of the printed circuit board becomes larger accordingly, and the cost of single-board materials is high. Utility Model Content
[0003] The present application provides a cleaning device and a water tank detection circuit thereof which occupy few port resources and use few peripheral components.
[0004] The present application provides a water tank detection circuit for a cleaning device, the cleaning device comprising a main unit and a water tank separated from or connected to the main unit, the water tank being provided with a pair of water level contacts and a pair of water tank connection contacts electrically connected to each of the water level contacts, the main unit comprising a main unit connection contact corresponding to the water tank connection contact; the heights of the pair of water level contacts are the same and are consistent with a water level height threshold in the water tank;
[0005] The water tank detection circuit is arranged in the host and comprises:
[0006] A controller, comprising a detection port and a control port, wherein the detection port is electrically connected to one of the host connection contacts of the host, and another host connection contact of the host is connected to a ground terminal;
[0007] A switch control circuit, comprising a switch tube, wherein the switch tube is electrically connected to the control port and the remaining host connection contacts of the host;
[0008] The controller controls the switch tube to be in a first state through the control port, and after the switch tube is in the first state, detects the connection state between the host connection contact and the water tank connection contact through the detection port to detect whether the water tank is connected to the host;
[0009] When it is detected that the water tank is docked with the host, the controller controls the switch tube to be in the second state through the control port, and after the switch tube is in the second state, detects the connectivity between the pair of water level contacts through the detection port to detect whether the water in the water tank reaches the water level height threshold.
[0010] Preferably, the switch tube includes a MOS tube or a triode; the first state of the switch tube is a conducting state; after the controller controls the switch tube to be in the conducting state through the control port, when a first voltage value is detected through the detection port, it indicates that the host connection contact and the water tank connection contact are connected, so as to detect that the water tank is connected to the host; when the controller detects a second voltage value through the detection port, it indicates that the host connection contact and the water tank connection contact are disconnected, so as to detect that the water tank is separated from the host; wherein the second voltage value is greater than the first voltage value.
[0011] Preferably, the switch tube includes an N-type MOS tube or an NPN transistor; the controller outputs a high-level signal through the control port to control the switch tube to be in an on state.
[0012] Preferably, the switch tube includes a P-type MOS tube or a PNP transistor; the controller outputs a low-level signal through the control port to control the switch tube to be in an on state.
[0013] Preferably, the switch tube includes a MOS tube or a triode; the second state of the switch tube is a disconnected state; when it is detected that the water tank is docked with the host, the controller controls the switch tube to be in a disconnected state through the control port, and when a third voltage value is detected through the detection port, it indicates that the pair of water level contacts are connected, so as to detect that the water in the water tank has reached the water level height threshold; when the controller detects the second voltage value through the detection port, it indicates that the pair of water level contacts are disconnected, so as to detect that the water in the water tank has not reached the water level height threshold; wherein the third voltage value is greater than the first voltage value and less than the second voltage value.
[0014] Preferably, the switch tube includes an N-type MOS tube or an NPN transistor; the controller outputs a low-level signal through the control port to control the switch tube to be in an off state.
[0015] Preferably, the switch tube includes a P-type MOS tube or a PNP transistor; the controller outputs a high-level signal through the control port to control the switch tube to be in an off state.
[0016] Preferably, the host includes a first host connection contact, a second host connection contact, a third host connection contact and a fourth host connection contact; the water tank includes a first water tank connection contact and a second water tank connection contact electrically connected to each other, and a third water tank connection contact and a fourth water tank connection contact electrically connected to each other; the first host connection contact is correspondingly plugged with the first water tank connection contact, the second host connection contact is correspondingly plugged with the second water tank connection contact, the third host connection contact is correspondingly plugged with the third water tank connection contact, and the fourth host connection contact is correspondingly plugged with the fourth water tank connection contact;
[0017] The switch tube includes a control end, a first conductive end, and a second conductive end, wherein the control end is electrically connected to the control port; the first host connection contact is electrically connected to the detection port, the second host connection contact is electrically connected to the first conductive end, the third host connection contact is electrically connected to the second conductive end, and the fourth host connection contact is electrically connected to the ground end;
[0018] The switch control circuit includes a pull-up resistor, which is electrically connected between the first host connection contact and the power supply end; when the controller controls the switch tube to be in a conductive state through the control port, and the host connection contact is connected to the water tank connection contact, the power supply end is electrically connected to the first conductive end through the pull-up resistor, the first host connection contact, the first water tank connection contact, the second water tank connection contact, and the second host connection contact in sequence, and the first conductive end is electrically connected to the ground end through the second conductive end, the third host connection contact, the third water tank connection contact, and the fourth water tank connection contact in sequence to form a first conductive branch, and when the controller detects that the voltage of the first conductive branch is the minimum through the detection port, it detects that the water tank is connected to the host.
[0019] Preferably, the host comprises a first host connection contact, a second host connection contact, a third host connection contact and a fourth host connection contact; the pair of water level contacts comprises a first water level contact and a second water level contact, the first water level contact is electrically connected to the first water tank connection contact and the second water tank connection contact respectively, and the second water level contact is electrically connected to the third water tank connection contact and the fourth water tank connection contact respectively;
[0020] The switch control circuit includes a pull-up resistor, which is electrically connected between the first host connection contact and the power supply end; when the controller detects through the detection port that the water tank is connected to the host, and the pair of water level contacts are connected through the water in the water tank, the power supply end is electrically connected to the ground end through the pull-up resistor, the first water level contact, the water in the water tank, and the second water level contact in sequence to form a second conductive branch. When the controller detects through the detection port that the voltage of the second conductive branch is greater than the minimum value and less than the maximum value, it detects that the water in the water tank has reached the water level height threshold.
[0021] Preferably, the switch control circuit includes a pull-down resistor electrically connected between the control end of the switch tube and the ground end.
[0022] The present application also provides a cleaning device, comprising: a main unit, a water tank and a water tank detection circuit of the cleaning device as described in any one of the above embodiments; the main unit and the water tank can be detachably or docked, the water tank is provided with a pair of water level contacts and a pair of water tank connection contacts electrically connected to each of the water level contacts, the main unit comprises a main unit connection contact arranged corresponding to the water tank connection contact; the heights of the pair of water level contacts are the same and consistent with the water level height threshold; the water tank detection circuit is arranged in the main unit, the water tank detection circuit is used to detect the connectivity between the main unit connection contacts and the water tank connection contacts to detect whether the water tank is docked to the main unit, and when it is detected that the water tank is docked to the main unit, the connectivity between the pair of water level contacts is detected to detect whether the water in the water tank reaches the water level height threshold.
[0023] Preferably, the host comprises a first host connection contact, a second host connection contact, a third host connection contact and a fourth host connection contact; the pair of water level contacts comprises a first water level contact and a second water level contact; the water tank is provided with a first water tank connection contact and a second water tank connection contact electrically connected to the first water level contact and to each other, and a third water tank connection contact and a fourth water tank connection contact electrically connected to the second water level contact and to each other;
[0024] When the water tank is docked with the host, the first host connection contact is electrically connected to the first water tank connection contact, the second host connection contact is electrically connected to the second water tank connection contact, the third host connection contact is electrically connected to the third water tank connection contact, the fourth host connection contact is electrically connected to the fourth water tank connection contact, the first host connection contact and the second host connection contact are both electrically connected to the first water level contact, and the third host connection contact and the fourth host connection contact are electrically connected to the second water level contact.
[0025] The cleaning equipment and water tank detection circuit provided by the embodiment of the present application are arranged in the mainframe of the cleaning equipment. The water tank detection circuit is arranged in the mainframe of the cleaning equipment. The controller and the switch control circuit are arranged. The controller electrically connects the detection port to one of the mainframe connection contacts of the mainframe by setting the detection port and the control port, and the mainframe connection contact is also electrically connected to the power supply terminal, and another mainframe connection contact of the mainframe is connected to the ground terminal. The switch control circuit electrically connects the switch tube to the control port and the remaining mainframe connection contacts of the mainframe by setting the switch tube. The controller and the detection port, control port and the switch tube combined with the switch control circuit are used to realize the water tank in-place detection and water level detection functions. The circuit uses a small number of peripheral components, improves reliability, occupies less port resources, has a simple circuit structure, reduces the layout area of the circuit board, and has low material cost and development cost.
[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 Shown is a functional block diagram of an embodiment of the cleaning device of the present application.
[0028] Figure 2 Shown is a functional block diagram of an embodiment of a water tank detection circuit of the present application.
[0029] Figure 3 Shown Figure 2 A circuit diagram of an embodiment of a water tank detection circuit is shown.
[0030] Figure 4 Shown Figure 2 A circuit diagram of another embodiment of a water tank detection circuit is shown.
[0031] Figure 5 Shown Figure 2 The control signal waveform output by the controller of the water tank detection circuit shown. DETAILED DESCRIPTION
[0032] The cleaning device of the present application is described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the features of the following embodiments and implementations can be combined with each other.
[0033] The cleaning device 1 of the present application may be a self-moving cleaning device, for example, a cleaning robot, such as a mopping robot, a sweeping and mopping robot, a sweeping machine, a mopping machine, etc., which is not limited in the present application.
[0034] Figure 1 FIG. 1 is a schematic diagram showing a working principle of a cleaning device 1 according to an embodiment of the present invention. Figure 1As shown, the cleaning device 1 includes a host 10, a water tank 20 and a water tank detection circuit 30. The host 10 and the water tank 20 can be separated or docked. The host 10 and the water tank 20 are used in combination, the host 10 is used to carry the water tank 20, and the water tank 20 can be selectively docked with the host 10. A pair of water level contacts 201 and a pair of water tank connection contacts 202 electrically connected to each water level contact 201 are provided in the water tank 20. The host 10 includes a host connection contact 101 corresponding to the water tank connection contact 202. A pair of water level contacts 201 are provided on the inner wall of the water tank 20. The height of the pair of water level contacts 201 is the same and consistent with the water level height threshold. The water level height threshold can be the highest water level set in the water tank 20. The water tank connection contact 202 is provided in the water tank 20, and is correspondingly plugged with the host connection contact 101 of the host 10 to realize the electrical connection between the host 10 and the water tank 20. The location of the water tank connection contact 202 on the water tank 20 is not limited, and can be, for example, located at the top, the middle, or the bottom of the water tank 20 . Figure 1 The middle dotted line indicates that the water tank connection contact 202 provided in the water tank 20 and the host connection contact 101 provided in the host 10 can be selectively plugged in.
[0035] The water tank detection circuit 30 is disposed in the main unit 10. The water tank detection circuit 30 is used to detect the connection state between the main unit connection contact 101 and the water tank connection contact 202, so as to detect whether the water tank 20 is docked with the main unit 10. When the water tank detection circuit 30 detects that the main unit connection contact 101 and the water tank connection contact 202 are connected, it indicates that the water tank 20 is docked with the main unit 10. When the water tank detection circuit 30 detects that the main unit connection contact 101 and the water tank connection contact 202 are disconnected, it indicates that the water tank 20 is not docked with the main unit 10.
[0036] exist Figure 1In the illustrated embodiment, the host 10 includes a first host connection contact 101a, a second host connection contact 101b, a third host connection contact 101c, and a fourth host connection contact 101d. A pair of water level contacts 201 includes a first water level contact 201a and a second water level contact 201b. The water tank 20 is provided with a first water tank connection contact 202a and a second water tank connection contact 202b electrically connected to the first water level contact 201a and electrically connected to each other, and a third water tank connection contact 202c and a fourth water tank connection contact 202d electrically connected to the second water level contact 201b and electrically connected to each other. The first water level contact 201a and the second water level contact 201b are arranged on the inner wall of the water tank 20 and are arranged at intervals. The setting heights of the first water level contact 201a and the second water level contact 201b are consistent, and are consistent with the water level height threshold in the water tank 20. The first water tank connection contact 202a, the second water tank connection contact 202b, the third water tank connection contact 202c and the fourth water tank connection contact 202d are respectively arranged in the water tank 20, and are respectively arranged corresponding to the first host connection contact 101a, the second host connection contact 101b, the third host connection contact 101c and the fourth host connection contact 101d arranged in the host 10. The positions where the first water tank connection contact 202a, the second water tank connection contact 202b, the third water tank connection contact 202c and the fourth water tank connection contact 202d are arranged in the water tank 20 are not limited, for example, they can be arranged at one of the top, the middle or the bottom of the water tank 20.
[0037] When the water tank 20 is docked with the host 10, the first host connection contact 101a is plugged into the first water tank connection contact 202a, the second host connection contact 101b is plugged into the second water tank connection contact 202b, the third host connection contact 101c is plugged into the third water tank connection contact 202c, and the fourth host connection contact 101d is plugged into the fourth water tank connection contact 202d, so that the first host connection contact 101a is electrically connected to the first water tank connection contact 202a, and the second host connection contact 101b is plugged into the second water tank connection contact 202b. The host connection contact 101b is electrically connected to the second water tank connection contact 202b, the third host connection contact 101c is electrically connected to the third water tank connection contact 202c, and the fourth host connection contact 101d is electrically connected to the fourth water tank connection contact 202d, so that the first host connection contact 101a and the second host connection contact 101b are both electrically connected to the first water level contact 201a, and the third host connection contact 101c and the fourth host connection contact 101d are electrically connected to the second water level contact 201b.
[0038] exist Figure 1 In the illustrated embodiment, the first host connection contact 101a is also connected to the power supply terminal 40 , the fourth host connection contact 101d is connected to the ground terminal GND, and the remaining second host connection contact 101b and the third host connection contact 101c are electrically connected to the water tank detection circuit 30 .
[0039] When the water tank detection circuit 30 detects that the first host connection contact 101a and the first water tank connection contact 202a, the second host connection contact 101b and the second water tank connection contact 202b, the third host connection contact 101c and the third water tank connection contact 202c, and the fourth host connection contact 101d and the fourth water tank connection contact 202d are all connected, it means that the water tank 20 is connected to the host 10. When the water tank detection circuit 30 detects that at least one of the first host connection contact 101a and the first water tank connection contact 202a, the second host connection contact 101b and the second water tank connection contact 202b, the third host connection contact 101c and the third water tank connection contact 202c, and the fourth host connection contact 101d and the fourth water tank connection contact 202d is disconnected, it means that the water tank 20 is not connected to the host 10.
[0040] After it is detected that the water tank 20 is docked with the host 10, further detection of the water level in the water tank 20 is effective. Specifically, after the water tank detection circuit 30 detects that the water tank 20 is docked with the host 10, it detects whether the water in the water tank 20 has reached the water level threshold by detecting the connection state between the pair of water level contacts 201. When the water tank detection circuit 30 detects that the pair of water level contacts 201 are connected, it means that the water in the water tank 20 has reached the water level threshold, that is, the water in the water tank 20 is full. When the water tank detection circuit 30 detects that the pair of water level contacts 201 are disconnected, it means that the water in the water tank 20 has not reached the water level threshold, that is, the water in the water tank 20 is not full.
[0041] By setting a water tank detection circuit 30 in the main unit 10, the cleaning device 1 can not only detect whether the water tank 20 is in place, but also detect whether the water in the water tank 20 has reached the maximum water level of the water tank 20, thereby ensuring that the water tank 20 is installed in the main unit 10 and the water level reaches the set safe water level, which is convenient for monitoring and maintaining the status of the water tank 20, extending the service life of the cleaning device 1, improving the usability and ease of operation of the cleaning device 1, and enhancing the user experience.
[0042] Figure 2 FIG. 2 is a schematic block diagram of an embodiment of a water tank detection circuit 30 of the present application. Figure 1 and Figure 2As shown, the water tank detection circuit 30 includes a controller 301 and a switch control circuit 302. The switch control circuit 302 is electrically connected to the controller 301. The controller 301 includes a detection port 303 and a control port 304. The detection port 303 is electrically connected to one of the host connection contacts 101 of the host 10, and another host connection contact 101 of the host 10 is connected to the ground terminal GND. The switch control circuit 302 includes a switch tube 305, and the switch tube 305 is electrically connected to the control port 304 and the remaining host connection contacts 101 of the host 10. The controller 301 controls the switch tube 305 to be in a first state through the control port 304, and after the switch tube 305 is in the first state, detects the connection state between the host connection contact 101 and the water tank connection contact 202 through the detection port 303 to detect whether the water tank 20 is docked with the host 10. When it is detected that the water tank 20 is docked with the host 10, the controller 301 controls the switch tube 305 to be in the second state through the control port 304. After the switch tube 305 is in the second state, the connection state between a pair of water level contacts 201 is detected through the detection port 303 to detect whether the water in the water tank 20 reaches the water level height threshold.
[0043] exist Figure 2In the illustrated embodiment, the detection port 303 is electrically connected to the first host connection contact 101a, and the first host connection contact 101a is also electrically connected to the power supply terminal 40. The switch tube 305 is electrically connected to the control port 304, the second host connection contact 101b and the third host connection contact 101c, and the fourth host connection contact 101d is connected to the ground terminal GND. When the water tank 20 is docked with the host 10, the first host connection contact 101a is electrically connected to the first water tank connection contact 202a, the second host connection contact 101b is electrically connected to the second water tank connection contact 202b, the third host connection contact 101c is electrically connected to the third water tank connection contact 202c, and the fourth host connection contact 101d is electrically connected to the fourth water tank connection contact 202d. The controller 301 outputs a first control signal through the control port 304 to control the switch tube 305 to be in the on state. After the switch tube 305 is in the on state, the connection state between the first host connection contact 101a and the first water tank connection contact 202a, between the second host connection contact 101b and the second water tank connection contact 202b, between the third host connection contact 101c and the third water tank connection contact 202c, and between the fourth host connection contact 101d and the fourth water tank connection contact 202d is detected through the detection port 303 to detect whether the water tank 20 is connected to the host 10. After detecting that the water tank 20 is connected to the host 10, the controller 301 outputs a second control signal through the control port 304 to control the switch tube 305 to be in the off state. When the water in the water tank 20 reaches the water level height threshold, the water, as a conductor, will connect the first water level contact 201a and the second water level contact 201b. When it is detected that the water tank 20 is docked with the host 10, the controller 301 detects the connection state between a pair of water level contacts 201 through the detection port 303 to detect whether the water in the water tank 20 reaches the water level height threshold.
[0044] The present application utilizes the controller 301 and the detection port 303, control port 304 and the switch tube 305 combined with the switch control circuit 302 to realize the in-place detection and water level detection functions of the water tank 20. The circuit uses a small number of peripheral components, improves reliability, occupies fewer port resources, has a simple adaptation circuit structure, reduces the layout area of the circuit board, and has low material costs and development costs.
[0045] Figure 3 Shown Figure 2 A circuit diagram of an embodiment of a water tank detection circuit 30 is shown. Figures 1 to 5As shown, in some embodiments, the switch tube 305 includes a control terminal 305a, a first conductive terminal 305b and a second conductive terminal 305c, and the control terminal 305a is electrically connected to the control port 304. The first host connection contact 101a is electrically connected to the detection port 303, the second host connection contact 101b is electrically connected to the first conductive terminal 305b, the third host connection contact 101c is electrically connected to the second conductive terminal 305c, and the fourth host connection contact 101d is electrically connected to the ground terminal GND. In some embodiments, the switch control circuit 302 includes a pull-up resistor R1, which is electrically connected between the first host connection contact 101a and the power supply terminal 40. The pull-up resistor R1 is electrically connected between the detection port 303 and the power supply terminal 40. When the water tank 20 is docked with the host 10, the power supply terminal 40 provides a stable power supply voltage through the pull-up resistor R1, so that the circuit is stable and reliable.
[0046] exist Figure 3 In the illustrated embodiment, when the controller 301 controls the switch tube 305 to be in the conducting state through the control port 304, and the host connection contact 101 is connected to the water tank connection contact 202, the power supply terminal 40 is electrically connected to the first conducting terminal 305b through the pull-up resistor R1, the first host connection contact 101a, the first water tank connection contact 202a, the second water tank connection contact 202b, and the second host connection contact 101b in sequence, and the first conducting terminal 305b is electrically connected to the ground terminal GND through the second conducting terminal 305c, the third host connection contact 101c, the third water tank connection contact 202c, and the fourth water tank connection contact 202d in sequence to form a first conducting branch L1 ( Figure 3 When the voltage of the first conductive branch L1 detected by the detection port 303 by the controller 301 is the minimum value, it is detected that the water tank 20 is connected to the host 10. The minimum value can be 0. When the voltage of the first conductive branch L1 detected by the controller 301 through the detection port 303 is 0, it means that the water tank 20 is detected to be connected to the host 10. If the voltage detected by the controller 301 through the detection port 303 is the maximum value of 4095, it means that the first conductive branch L1 cannot be formed at this time, and it is detected that the water tank 20 is not connected to the host 10. 4095 represents the maximum digitized voltage signal after the voltage conversion detected by the detection port 303 of the 12-bit controller 301.
[0047] Figure 4 Shown Figure 2 FIG. 2 is a circuit diagram of another embodiment of a water tank detection circuit 30. Figure 4In the embodiment shown, when the controller 301 detects through the detection port 303 that the water tank 20 is connected to the host 10, and the pair of water level contacts 201 are connected through the water in the water tank 20, the power supply end 40 is electrically connected to the ground end GND through the pull-up resistor R1, the first water level contact 201a, the water in the water tank 20, and the second water level contact 201b in sequence to form a second conducting branch L2 ( Figure 4 (as shown by the dashed arrow in the middle), when the controller 301 detects through the detection port 303 that the voltage of the second conducting branch L2 is greater than the minimum value and less than the maximum value, it is detected that the water in the water tank 20 has reached the water level height threshold. Since there are some impurities in the water in the water tank 20, when the pull-up resistor R1, the first water level contact 201a and the second water level contact 201b are connected, a water equivalent resistance R3 is formed between the water in the water tank 20 and the first water level contact 201a and the second water level contact 201b. The controller 301 detects an effective voltage value greater than 0 through the detection port 303. The effective voltage value is the voltage divided value V' of the water equivalent resistance R3 and the pull-up resistor R1, that is, the voltage detected by the controller 301 through the detection port 303 is V' / V R *4095, where V R is the reference voltage of the controller detection port 303. If the voltage value after voltage conversion detected by the controller 301 through the detection port 303 is the maximum value 4095, it means that the second conducting branch L2 cannot be formed at this time, and it is detected that the water level in the water tank 20 does not reach the water level height threshold.
[0048] By utilizing the controller 301 and the detection port 303, control port 304 and the switch tube 305 combined with the switch control circuit 302, not only can the water tank 20 be detected in place, but also the water level in the water tank 20 can be detected after the water tank 20 is detected in place. The circuit structure is simple, the layout area of the circuit board is reduced, and the material cost and development cost are low.
[0049] exist Figure 3 and Figure 4 In the embodiment shown, the switch control circuit 302 includes a pull-down resistor R2 electrically connected between the control terminal 305a of the switch tube 305 and the ground terminal GND. By providing the pull-down resistor R2 between the control terminal 305a of the switch tube 305 and the ground terminal GND, the switch tube 305 is prevented from being triggered by mistake.
[0050] In some embodiments, the switch tube 305 includes a MOS tube or a triode. Figure 3 and Figure 4 In the embodiment shown, the switch tube 305 includes a MOS tube, which has fast response, low power consumption, and simple driving circuit. In some other embodiments, the switch tube 305 includes a triode, which has a small size and low cost. In some other embodiments, the switch tube 305 can also be other electrically controlled switches.
[0051] In some embodiments, the switch tube 305 includes an N-type MOS tube or an NPN transistor. The controller 301 outputs a high-level signal through the control port 304 to control the switch tube 305 to be in a conductive state. The N-type MOS tube or the NPN transistor is a high-level conductive switch device. When the switch tube 305 is configured as a high-level conductive switch device, the control port of the controller 301 outputs a high-level drive correspondingly.
[0052] In some other embodiments, the switch tube 305 includes a P-type MOS tube or a PNP transistor. The controller 301 outputs a low-level signal through the control port 304 to control the switch tube 305 to be in a conducting state. The P-type MOS tube or the PNP transistor is a low-level conducting switch device. When the switch tube 305 is configured as a low-level conducting switch device, the control port of the controller 301 outputs a corresponding low-level drive. It should be noted that the switch tube 305 can be designed according to actual needs, and the control signal output by the controller 301 is also configured accordingly, which will not be repeated here.
[0053] exist Figure 3 In the illustrated embodiment, the switch tube 305 comprises an N-type MOS tube. The first control signal comprises a high-level signal, and the controller 301 outputs a high-level signal through the control port 304 to control the switch tube 305 to be in a conducting state. After the controller 301 controls the switch tube 305 to be in a conducting state through the control port 304, when a first voltage value (the first voltage value may be 0) is detected through the detection port 303, it indicates that the host connection contact 101 and the water tank connection contact 202 are connected, so as to detect that the water tank 20 is connected to the host 10. When the controller 301 detects a second voltage value (the second voltage value may be a maximum value of 4095) through the detection port 303, it indicates that the host connection contact 101 and the water tank connection contact 202 are disconnected, so as to detect that the water tank 20 is separated from the host 10; wherein the second voltage value is greater than the first voltage value. In this embodiment, the in-place state of the water tank 20 can be determined by detecting different voltage values, and the circuit structure is simple, and the material cost and development cost are low.
[0054] exist Figure 4In the illustrated embodiment, the switch tube 305 comprises an N-type MOS tube. The second control signal comprises a low-level signal, and the controller 301 outputs a low-level signal through the control port 304 to control the switch tube 305 to be in a disconnected state. After detecting that the water tank 20 is docked with the host 10, the controller 301 controls the switch tube 305 to be in a disconnected state through the control port 304, and detects a third voltage value (the third voltage value may be a voltage division value V' of the water equivalent resistor R3 and the pull-up resistor R1) through the detection port 303, indicating that the pair of water level contacts 201 are connected to detect that the water in the water tank 20 has reached the water level height threshold. When the controller 301 detects a second voltage value (the second voltage value may be a maximum value of 4095) through the detection port 303, it indicates that the pair of water level contacts 201 are disconnected to detect that the water in the water tank 20 has not reached the water level height threshold; wherein the third voltage value is greater than the first voltage value and less than the second voltage value. This embodiment can determine the water level status in the water tank 20 by detecting different voltage values, has a simple circuit structure, and has low material cost and development cost.
[0055] Figure 5 Shown Figure 2 The control signal waveform diagram of the controller 301 of the water tank detection circuit 30 shown in the figure. In actual use, the water tank detection circuit 30 must first determine whether the water tank 20 is in place. If the water tank 20 is detected to be in place, the water level detection data is valid. If the water tank 20 is not in place, the water level detection data is invalid. The control signal output by the control port 304 of the controller 301 can be a pulse width modulation signal. The duty cycle of the control signal can be set according to actual needs, thereby setting the on and off time of the switch tube 305. Figure 5 As shown, the horizontal axis represents the duration of the control signal, the unit is t, and the vertical axis represents the voltage of the pulse signal, the unit is V. The total duration of a cycle of the pulse width modulation signal set in the controller 301 is T2, the duration of the high level is set to T1, and the duration of the low level signal is set to T2-T1, which is not limited in this application. When sampling, the detection port 303 of the controller 301 must complete a signal sampling (for example, including high level and low level signal sampling) before the level switching. That is, the control port 304 of the controller 301 outputs a high level and controls the duration of the high level T1. Before switching the low level, the sampling data of the detection port 303 is used to determine whether the water tank is in place. The control port 304 outputs a low level and controls the duration of the low level T2-T1. Before switching the high level, the sampling data of the detection port 303 is used to determine whether the water level reaches the water level height threshold. In this way, it can be designed according to actual needs. The controller 301 can regularly output a control signal to control the on and off of the switch tube 305 and detect the state of the water tank 20 in real time. In this process, the on-off duration of the switch tube 305 can be flexibly set, and the sampling period of the detection port 303 of the controller 301 can also be flexibly set, which has high flexibility and a wide range of applications.
[0056] In some embodiments, the controller 301 may include any suitable programmable circuit or device, such as a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic controller (PLC), and an application specific integrated circuit (ASIC), etc., which are not limited in the present application.
[0057] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A water tank detection circuit for cleaning equipment, characterized in that: The cleaning device comprises a main unit and a water tank separated from or connected to the main unit, wherein a pair of water level contacts and a pair of water tank connection contacts electrically connected to each of the water level contacts are provided in the water tank, and the main unit comprises a main unit connection contact corresponding to the water tank connection contact; the heights of the pair of water level contacts are the same and are consistent with the water level height threshold in the water tank; The water tank detection circuit is arranged in the host and comprises: A controller, comprising a detection port and a control port, wherein the detection port is electrically connected to one of the host connection contacts of the host, and another host connection contact of the host is connected to a ground terminal; A switch control circuit, comprising a switch tube, wherein the switch tube is electrically connected to the control port and the remaining host connection contacts of the host; The controller controls the switch tube to be in a first state through the control port, and after the switch tube is in the first state, detects the connection state between the host connection contact and the water tank connection contact through the detection port to detect whether the water tank is connected to the host; When it is detected that the water tank is docked with the host, the controller controls the switch tube to be in the second state through the control port, and after the switch tube is in the second state, detects the connectivity between the pair of water level contacts through the detection port to detect whether the water in the water tank reaches the water level height threshold.
2. The water tank detection circuit according to claim 1, characterized in that: The switch tube includes a MOS tube or a triode; the first state of the switch tube is a conducting state; after the controller controls the switch tube to be in the conducting state through the control port, when a first voltage value is detected through the detection port, it indicates that the host connection contact and the water tank connection contact are connected, so as to detect that the water tank is connected to the host; when the controller detects a second voltage value through the detection port, it indicates that the host connection contact and the water tank connection contact are disconnected, so as to detect that the water tank is separated from the host; The second voltage value is greater than the first voltage value.
3. The water tank detection circuit according to claim 2, characterized in that: The switch tube includes an N-type MOS tube or an NPN transistor; the controller outputs a high-level signal through the control port to control the switch tube to be in a conducting state; or The switch tube includes a P-type MOS tube or a PNP transistor; the controller outputs a low-level signal through the control port to control the switch tube to be in a conducting state.
4. The water tank detection circuit according to claim 1, characterized in that: The switch tube includes a MOS tube or a triode; the second state of the switch tube is a disconnected state; when it is detected that the water tank is docked with the host, the controller controls the switch tube to be in a disconnected state through the control port, and when a third voltage value is detected through the detection port, it indicates that the pair of water level contacts are connected, so as to detect that the water in the water tank has reached the water level height threshold; when the controller detects a second voltage value through the detection port, it indicates that the pair of water level contacts are disconnected, so as to detect that the water in the water tank has not reached the water level height threshold; wherein the third voltage value is greater than the first voltage value and less than the second voltage value.
5. The water tank detection circuit according to claim 4, characterized in that: The switch tube includes an N-type MOS tube or an NPN transistor; the controller outputs a low-level signal through the control port to control the switch tube to be in an off state; or The switch tube includes a P-type MOS tube or a PNP transistor; the controller outputs a high-level signal through the control port to control the switch tube to be in a disconnected state.
6. The water tank detection circuit according to claim 1, characterized in that: The host includes a first host connection contact, a second host connection contact, a third host connection contact and a fourth host connection contact; the water tank includes a first water tank connection contact and a second water tank connection contact electrically connected to each other, and a third water tank connection contact and a fourth water tank connection contact electrically connected to each other; the first host connection contact is correspondingly plugged with the first water tank connection contact, the second host connection contact is correspondingly plugged with the second water tank connection contact, the third host connection contact is correspondingly plugged with the third water tank connection contact, and the fourth host connection contact is correspondingly plugged with the fourth water tank connection contact; The switch tube includes a control end, a first conductive end, and a second conductive end, wherein the control end is electrically connected to the control port; the first host connection contact is electrically connected to the detection port, the second host connection contact is electrically connected to the first conductive end, the third host connection contact is electrically connected to the second conductive end, and the fourth host connection contact is electrically connected to the ground end; The switch control circuit includes a pull-up resistor, which is electrically connected between the first host connection contact and the power supply end; when the controller controls the switch tube to be in a conductive state through the control port, and the host connection contact is connected to the water tank connection contact, the power supply end is electrically connected to the first conductive end through the pull-up resistor, the first host connection contact, the first water tank connection contact, the second water tank connection contact, and the second host connection contact in sequence, and the first conductive end is electrically connected to the ground end through the second conductive end, the third host connection contact, the third water tank connection contact, and the fourth water tank connection contact in sequence to form a first conductive branch, and when the controller detects that the voltage of the first conductive branch is the minimum through the detection port, it detects that the water tank is connected to the host.
7. The water tank detection circuit according to claim 1, characterized in that: The host comprises a first host connection contact, a second host connection contact, a third host connection contact and a fourth host connection contact; the water tank comprises a first water tank connection contact and a second water tank connection contact which are electrically connected to each other, and a third water tank connection contact and a fourth water tank connection contact which are electrically connected to each other; the pair of water level contacts comprises a first water level contact and a second water level contact, the first water level contact is electrically connected to the first water tank connection contact and the second water tank connection contact respectively, and the second water level contact is electrically connected to the third water tank connection contact and the fourth water tank connection contact respectively; The switch control circuit includes a pull-up resistor, which is electrically connected between the first host connection contact and the power supply end; when the controller detects through the detection port that the water tank is connected to the host, and the pair of water level contacts are connected through the water in the water tank, the power supply end is electrically connected to the ground end through the pull-up resistor, the first water level contact, the water in the water tank, and the second water level contact in sequence to form a second conductive branch. When the controller detects through the detection port that the voltage of the second conductive branch is greater than the minimum value and less than the maximum value, it detects that the water in the water tank has reached the water level height threshold.
8. The water tank detection circuit according to claim 1, characterized in that: The switch control circuit includes a pull-down resistor electrically connected between the control end of the switch tube and the ground end.
9. A cleaning device, characterized in that: include: A host, a water tank and a water tank detection circuit of a cleaning device as described in any one of claims 1 to 8; the host and the water tank can be detachably or docked, the water tank is provided with a pair of water level contacts and a pair of water tank connection contacts electrically connected to each of the water level contacts, the host includes host connection contacts arranged corresponding to the water tank connection contacts; the heights of the pair of water level contacts are the same and consistent with the water level height threshold; the water tank detection circuit is arranged in the host, the water tank detection circuit is used to detect the connectivity between the host connection contacts and the water tank connection contacts to detect whether the water tank is docked to the host, and when it is detected that the water tank is docked to the host, the connectivity between the pair of water level contacts is detected to detect whether the water in the water tank reaches the water level height threshold.
10. The cleaning device according to claim 9, characterized in that The host comprises a first host connection contact, a second host connection contact, a third host connection contact and a fourth host connection contact; the pair of water level contacts comprises a first water level contact and a second water level contact; the water tank is provided with a first water tank connection contact and a second water tank connection contact electrically connected to the first water level contact and to each other, and a third water tank connection contact and a fourth water tank connection contact electrically connected to the second water level contact and to each other; When the water tank is docked with the host, the first host connection contact is electrically connected to the first water tank connection contact, the second host connection contact is electrically connected to the second water tank connection contact, the third host connection contact is electrically connected to the third water tank connection contact, the fourth host connection contact is electrically connected to the fourth water tank connection contact, the first host connection contact and the second host connection contact are both electrically connected to the first water level contact, and the third host connection contact and the fourth host connection contact are electrically connected to the second water level contact.