Faucet and control method thereof
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FOSHAN DAHUI BIO TECH CO LTD
- Filing Date
- 2026-03-25
- Publication Date
- 2026-06-09
AI Technical Summary
Existing shower faucet displays are limited in content and lack diversity, resulting in a poor user experience.
A faucet was designed, comprising a control module, a display module, a temperature detection module, and a switch detection module. The display module is controlled by switch detection signals and temperature detection signals to switch display modes in different states of the faucet switch, displaying the current water temperature and the corresponding color.
The system enables the display module to turn off when the faucet is not in use, saving resources. When in use, it displays the current water temperature and the corresponding color, enriching the display content and improving the user experience.
Smart Images

Figure CN122170264A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of bathroom product technology, and in particular to a faucet and its control method. Background Technology
[0002] Currently, with the development of technology, more and more shower faucets with storage are equipped with display devices, but the existing display devices only display limited information. Summary of the Invention
[0003] This invention provides a faucet and its control method to solve the problem of faucet displaying only a single content.
[0004] According to one aspect of the present invention, a faucet is provided, comprising: a control module, a display module, a temperature detection module, and a switch detection module; The switch detection module is connected to the control module and is used to generate a switch detection signal based on the opening angle of the faucet switch. The temperature detection module is connected to the control module and is used to generate a temperature detection signal based on the water temperature of the faucet. The control module is used to determine the water temperature of the faucet based on the temperature detection signal. The display module is connected to the control module. The control module is used to control the display module to be in normal display mode when the switch detection signal determines that the faucet is open, and to control the display module to be in normal screen-off mode when the switch detection signal determines that the faucet is closed. In normal display mode, the first display area of the display module displays the current water temperature, and the second display area displays the color corresponding to the current water temperature. In normal screen-off mode, the display module is off.
[0005] Optionally, the faucet also includes a power supply and voltage detection module; The power supply is connected to the control module and is used to supply power to the control module; The voltage detection module is connected to the enable terminals of the power supply and the control module respectively, and is used to generate a detection voltage based on the voltage of the power supply after receiving the enable signal output by the control module. The control module is also used to control the display module to be in normal display mode when the detected voltage is greater than or equal to the first voltage value and when the switch of the faucet is determined to be on, and to control the display module to be in normal screen-off mode when the switch of the faucet is determined to be off.
[0006] Optionally, the voltage detection module includes a first resistor, a second resistor, and a first switch; The first end of the first resistor is connected to the power supply, the second end of the first resistor is connected to the first end of the first switch, the second end of the first switch is connected to the second resistor, the control end of the first switch is connected to the enable end of the control module, the second end of the second resistor is grounded, and the second end of the first switch is connected to the control module for outputting the detection voltage; The first switch is used to turn on in response to the enable signal; The faucet also includes a voltage conversion module, which is connected to both the power supply and the control module, and is used to convert the power supply voltage of the power supply into the power supply voltage of the control module.
[0007] Optionally, the temperature detection module includes a third resistor and a temperature sensing element. The first end of the third resistor is connected to the fixed voltage output terminal of the control module, the second end of the third resistor is connected to the first end of the temperature sensing element, the second end of the temperature sensing element is grounded, and the first end of the temperature sensing element is also connected to the control module for outputting the temperature detection signal.
[0008] Optionally, the first display area of the display module includes a first display position and a second display position. The first display position includes seven light-emitting diodes (LEDs), which are arranged to form a first figure-eight display segment. The second display position includes seven LEDs, which are arranged to form a second figure-eight display segment. The anodes of the seven LEDs in the first display position are connected to the same first display control terminal of the control module, and the cathodes are connected to different second display control terminals of the control module. The anodes of the seven LEDs in the second display position are connected to the same third display control terminal of the control module, and the cathodes are connected to different second display control terminals of the control module. Furthermore, the cathodes of the LEDs in the same display segment of the first and second display positions are connected to the same second display control terminal. The first display area of the display module further includes a first light-emitting diode and a second light-emitting diode. The anode of the first light-emitting diode is connected to the first display control terminal and the cathode is connected to the fourth display control terminal of the control module. The anode of the second light-emitting diode is connected to the third display control terminal and the cathode is connected to the fourth display control terminal. The first light-emitting diode and the second light-emitting diode are used to display temperature unit icons. The second display area of the display module includes at least two light-emitting diodes with different emitting colors. The anodes of each light-emitting diode in the second display area are respectively connected to different fifth display control terminals in the control module, and the cathodes are all connected to the ground terminal of the control module. The second display area is used to display a water droplet icon, and the water droplet icon displays the color corresponding to the current water temperature.
[0009] According to another aspect of the present invention, a method for controlling a faucet is also provided, for controlling the faucet described in any of the preceding aspects, and executed by the control module; comprising: The switch detection module acquires the switch detection signal generated based on the opening angle of the faucet switch; The temperature detection module acquires a temperature detection signal generated by the faucet based on the water temperature, and determines the water temperature of the faucet based on the temperature detection signal. When the switch detection signal determines that the faucet is turned on, the display module is controlled to be in normal display mode; when the switch detection signal determines that the faucet is turned off, the display module is controlled to be in normal screen-off mode. In normal display mode, the first display area of the display module displays the current water temperature, and the second display area of the display module displays the color corresponding to the current water temperature. In normal screen-off mode, the display module is off.
[0010] Optionally, the faucet further includes a power supply and a voltage detection module, wherein the power supply is connected to the control module, and the voltage detection module is connected to the enable terminals of the power supply and the control module respectively; Before controlling the display module to enter normal display mode when the switch detection signal determines that the faucet switch is on, and before controlling the display module to enter normal screen-off mode when the switch detection signal determines that the faucet switch is off, the method further includes: The voltage detection module obtains the detection voltage generated by the power supply based on the voltage after receiving the enable signal output by the control module; The control method for the faucet also includes: When the detected voltage is greater than or equal to the first voltage value, when the faucet switch is turned on, the display module is controlled to be in normal display mode; when the faucet switch is turned off, the display module is controlled to be in normal screen-off mode.
[0011] Optionally, when it is determined that the detected voltage is greater than the second voltage value and less than the first voltage value, the display module is controlled to be in medium-pressure alarm mode; in medium-pressure alarm mode, when the faucet switch is turned on, the display module is in normal display mode, and when the faucet switch is switched from on to off, the display module switches to medium-pressure off-screen mode. In medium-pressure off-screen mode, the first display area of the display module displays an alarm prompt icon, the second display area displays the color corresponding to the current water temperature, and the display module turns off after a first preset time. When the detected voltage is determined to be less than or equal to the second voltage value, the display module is controlled to be in low-voltage alarm mode; in the low-voltage alarm mode, when the faucet switch is turned on, the display module is in low-voltage display mode, and when the faucet switch is switched from on to off, the display module switches to low-voltage off-screen mode. In the low-voltage display mode and the low-voltage off-screen mode, the first display area of the display module flashes the alarm prompt icon, the second display area displays a first preset color, and the display module turns off after the alarm prompt icon flashes a preset number of times in the first display area.
[0012] Optionally, after acquiring the temperature detection signal generated by the temperature detection module based on the water temperature from the faucet, the method further includes: When a fault is determined in the temperature detection module based on the temperature detection signal, the first display area of the display module is controlled to flash a temperature abnormality prompt icon and the second display area displays a second preset color.
[0013] Optionally, after the display module has been in normal display mode for a second preset duration, the display module is turned off.
[0014] The faucet's display module's on / off state is linked to the faucet's opening angle. This allows the display module to turn off when the faucet is not in use, saving resources, and to remain active when the faucet is in use, making it easy for the user to observe. In addition to displaying the current water temperature, the display module can also display the corresponding color, further assisting in temperature indication. Even if the actual water temperature value is obscured, the color displayed in the secondary display area of the module can still help determine the current water temperature, providing diverse display content and enhancing the user experience.
[0015] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A schematic diagram of a faucet structure provided in an embodiment of the present invention; Figure 2 An exploded view of a dragon head provided in an embodiment of the present invention; Figure 3 for Figure 2 Enlarged view of point A in the middle; Figure 4 A cross-sectional view of a faucet provided in an embodiment of the present invention; Figure 5 A circuit diagram corresponding to a faucet is provided for an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of a display module provided in an embodiment of the present invention; Figure 7 A flowchart of a faucet control method provided in an embodiment of the present invention; Figure 8 A flowchart of another faucet control method provided in an embodiment of the present invention. Detailed Implementation
[0018] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0020] Figure 1 This is a schematic diagram of a faucet structure provided in an embodiment of the present invention. Figure 2 An exploded view of a dragon head provided in an embodiment of the present invention. Figure 3 for Figure 2 Enlarged view at point A in the middle. Figure 4 A cross-sectional view of a faucet provided in an embodiment of the present invention, with reference to... Figures 1-4 The faucet includes: a control module 10, a display module 11, a temperature detection module 12, and a switch detection module 13; The switch detection module 13 is connected to the control module 10 and is used to generate a switch detection signal based on the opening angle of the faucet switch.
[0021] In one specific embodiment, the faucet includes a faucet body 9 and a handwheel mechanism. The handwheel mechanism includes a handwheel body 1, a valve assembly 2, and a first sensing element 4. The valve assembly 2 includes a valve core cover 201, a valve stem 202, and a valve core 203. The valve core 203 is disposed inside the faucet body 9, the valve core cover 201 is fixed on the faucet body 9, and the valve stem 202 is rotatably disposed on the valve core cover 201. One end of the valve stem 202 is connected to the valve core 203, so that the valve core 203 can be rotated by the rotation of the valve stem 202 to control the water flow. The other end of the valve stem 202 is connected to the handwheel body 1, and the handwheel body 1 rotates on the faucet body 9, so that the valve stem 202 can be rotated by the handwheel body 1. Therefore, the handwheel body 1 can be regarded as the switch of the faucet. The faucet is opened by the rotation of the handwheel body to make the faucet flow water, and the faucet is closed by the rotation of the handwheel body to make the faucet stop flowing water. The display module 11 is fixed to the handwheel body 1. The switch detection module 13 is disposed on the display module 11 or the handwheel body 1. The first sensing element 4 is disposed on the valve core cover 201 so that when the handwheel body 1 rotates relative to the valve core cover 201, the relative position of the switch detection module 13 and the first sensing element 4 changes. The control module can be integrated into the display module 11 or disposed independently. In the current embodiment, the valve stem 202 is connected to the inner side wall of the handwheel body 1 for easy connection. To ensure the accuracy of the sensing between the switch detection module 13 and the first sensing element 4 and to minimize the distance between them, a first fixing seat 5 extending towards the display module 11 is provided on the valve core cover 201, and the first sensing element 4 is fixed on the first fixing seat 5. Furthermore, a connecting seat 7 is provided on the inner side wall of the handwheel body 1. Exemplarily, the connecting seat 7 is integrally formed with the handwheel body 1. The connecting seat 7 has a fixing hole, into which the valve stem 202 is inserted to fix the connecting seat 7 to the valve stem 202. More specifically, to ensure a secure connection between the connecting seat 7 and the valve stem 202, a connecting hole 205 is provided at the top of the valve stem 202. A locking member 8 is provided on the connecting seat 7. The connecting seat 7 and the valve stem 202 can be locked in place by the locking member 8 within the connecting hole 205. Exemplarily, the locking member 8 is a bolt or screw, and the connecting hole 205 is a threaded hole, allowing the connecting seat 7 and the valve stem 202 to be fixed by bolts or screws into the threaded hole. By restricting the connecting seat 7 to the valve stem 202 with the locking member 8, the possibility of the handwheel body 1 detaching axially along the valve stem 202 can be reduced. Furthermore, the outer wall of the valve stem 202 is provided with a number of first protrusions 204 along its circumference, and the inner wall of the fixing hole is provided with a number of second protrusions along its axial direction. The first protrusions 204 are embedded between two adjacent second protrusions, so that when the handwheel body 1 drives the valve stem 202 to rotate, the two are prevented from slipping and the stability is improved.
[0022] In this embodiment, the first sensing element 4 is a magnet, and the switch detection module 13 includes a Hall element. With this structure, when the faucet is not in use, the first sensing element 4 and the switch detection module 13 are directly opposite each other, and the switch detection module 13 outputs a voltage. When the handwheel body 1 is rotated, the operator uses the faucet, and the Hall element in the switch detection module 13 rotates with the handwheel body 1. The positions of the first sensing element 4 and the Hall element change, creating a misalignment. At different misalignment angles, the Hall element 13 outputs different voltages, thus enabling the switch detection module 13 to generate a switch detection signal based on the faucet's opening angle, specifically the rotation angle of the handwheel body 1.
[0023] The temperature detection module 12 is connected to the control module 10 and is used to generate a temperature detection signal based on the water temperature from the faucet. The control module 10 is used to determine the water temperature from the faucet based on the temperature detection signal.
[0024] The temperature detection module 12 includes a temperature sensor installed inside the faucet body 9, which can monitor the water temperature inside the faucet body 9. The temperature detection signal can be a voltage signal, with a one-to-one correspondence between the voltage and the monitored water temperature. The water temperature of the faucet body 9 can then be determined from the temperature detection signal based on the correspondence between the temperature detection signal and the water temperature.
[0025] The display module 11 is connected to the control module 10. The control module 10 is used to control the display module 11 to be in normal display mode when the faucet is turned on according to the switch detection signal, and to control the display module 11 to be in normal screen-off mode when the faucet is turned off according to the switch detection signal. In normal display mode, the first display area of the display module 11 displays the current water temperature, and the second display area of the display module 10 displays the color corresponding to the current water temperature. In normal screen-off mode, the display module 11 is off.
[0026] The relative position of the switch detection module 13 and the first sensor 4 corresponds one-to-one with the switch detection signal. Based on the correspondence and the switch detection signal currently output by the switch detection module 13, the relative position between the handwheel body 1 and the first sensor 4 is determined, thereby determining whether the faucet switch is on. The display module 11 includes a first display area and a second display area. The first display area displays the water temperature, and the second display area can display a water droplet icon, the color of which corresponds to the water temperature. In one optional embodiment, the water temperature corresponds one-to-one with the color of the water droplet icon. When the control module 10 determines that the faucet switch is on, it simultaneously illuminates the display module 11, that is, it controls the first display area to display the current water temperature and controls the second display area to display the color corresponding to the current water temperature. When the control module 10 determines that the faucet switch is off, it controls the display module 11 to turn off. In other words, when the control module 10 determines that the faucet switch has changed from off to on, the control display module 11 is in normal display mode. If the faucet remains on for a second preset time, such as 20 minutes, the control display module 11 turns off. When the control module 10 determines that the faucet switch has changed from on to off, the control display module 11 turns off. In this embodiment and in the embodiments described below, "screen off" means that both the first and second display areas of the display module 11 are turned off.
[0027] The faucet's display module's on / off state is linked to the faucet's opening angle. This allows the display module to turn off when the faucet is not in use, saving resources, and to remain active when the faucet is in use, facilitating user observation. In addition to displaying the current water temperature, the display module can also show the corresponding color, further enhancing the water temperature display. Even if the actual water temperature value is obscured, the color displayed in the secondary display area of the module can still indicate the current water temperature, providing richer information and improving the user experience.
[0028] Continue to refer to Figure 1 The faucet also includes a power supply 14 and a voltage detection module 15; Power supply 14 is connected to control module 10 and is used to supply power to control module 10; The voltage detection module 15 is connected to the power supply 14 and the enable terminal of the control module 10 respectively, and is used to generate a detection voltage based on the voltage of the power supply after receiving the enable signal output by the control module 10. The control module 10 is also used to control the display module 11 to be in normal display mode when the faucet switch is determined to be open, and to be in normal screen-off mode when the faucet switch is determined to be closed, when the detected voltage is greater than or equal to a first voltage value. The first voltage value represents the minimum value that the power supply has to meet the requirements for normal display.
[0029] Power supply 14 includes a battery for outputting DC power to power control module 10 and other electronic components in the faucet. Power supply 14 outputs 6V when fully charged. A detection voltage corresponds one-to-one with the current power supply voltage; the first voltage value corresponds to 4.7V. When the detected voltage indicates that the current output voltage is greater than or equal to 4.7V, power supply 14 is fully charged, and display module 11 displays and turns off normally. As the faucet is used for an extended period, the remaining power in power supply 14 decreases. Therefore, when the detected voltage corresponding to the remaining power in power supply 14 is less than the first voltage value, control display module 11 to operate in different modes to remind the user to charge or replace power supply 14. Specifically, the control module 10 controls the display module 11 to be in medium-pressure alarm mode when the detected voltage is greater than the second voltage value and less than the first voltage value. In medium-pressure alarm mode, when the faucet is turned on, the display module 11 is in normal display mode. When the faucet is switched from on to off, the display module 11 switches to medium-pressure off-screen mode. In medium-pressure off-screen mode, the first display area of the display module 11 displays an alarm prompt icon, the second display area displays the color corresponding to the current water temperature, and the display module 11 turns off after displaying for a first preset time. The control module 10 is also used to control the display module 11 to be in low-voltage alarm mode when the detected voltage is less than or equal to the second voltage value; in low-voltage alarm mode, when the faucet switch is turned on, the display module 11 is in low-voltage display mode, and when the faucet switch is switched from on to off, the display module 11 switches to low-voltage off-screen mode. In both low-voltage display mode and low-voltage screen-off mode, the first display area of display module 11 flashes an alarm notification icon, the second display area displays a first preset color, and the display module 11 turns off after the alarm notification icon flashes a preset number of times in the first display area. When the first display area is a digital screen, the alarm notification icon can be "LO", and the first preset color can be light pink.
[0030] Figure 5 A circuit diagram corresponding to a faucet is provided for an embodiment of the present invention, with reference to... Figure 5 The voltage detection module 15 includes a first resistor R1, a second resistor R2, and a first switch Q1; The first end of the first resistor R1 is connected to the power supply 14, specifically, the positive output terminal of the power supply 14 can be connected, and the negative output terminal of the power supply 14 can be grounded. The second end of the first resistor R1 is connected to the first end of the first switch Q1, the second end of the first switch Q1 is connected to the second resistor R2, the control terminal of the first switch Q1 is connected to the enable terminal EN of the control module 10, the second end of the second resistor R2 is grounded to GND, and the second end of the first switch Q1 is connected to the detection voltage terminal AD VCC of the control module 10. The second end of the first switch Q1 is used to output the detection voltage. The first switch Q1 is turned on in response to the enable signal.
[0031] The first resistor R1 and the second resistor R2 form a voltage divider circuit. After the first switch Q1 is turned on, the voltage divided by the second resistor R2 is output as the detection voltage. The detection voltage corresponds one-to-one with the current output voltage of the power supply 14, and thus the power supply 14 can be determined based on the detection voltage. The first switch Q1 can be a relay or a transistor. In this embodiment, the first switch Q1 is exemplarily shown as an NMOS transistor. In this case, the first terminal of the first switch Q1 is the source, the second terminal is the drain, and the control terminal is the gate. The corresponding enable signal is a high potential. The first switch Q1 turns on when the potential is high and turns off when the potential is low. The control module 10 sends an enable signal to the first switch Q1 once every voltage detection interval to avoid the increased energy consumption caused by frequently sending enable signals to enable the voltage detection module 15, which would accelerate the power consumption of the power supply 14. The voltage detection module 15 also includes a first filter capacitor C1 connected in parallel with the second resistor R2 for filtering the detection voltage, and a first protection resistor R10 connected between the control terminal of the first switch Q1 and the enable terminal EN of the control module 10.
[0032] When fully charged, power supply 14 outputs a voltage of 6V. The resistance of the first resistor R1 can be set to 20KΩ, and the resistance of the second resistor R2 can be set to 10KΩ.
[0033] Optionally, the faucet also includes a voltage conversion module 16, which is connected to the power supply terminal VDD of the power supply 14 and the control module 10 respectively, and is used to convert the voltage of the power supply 14 into the power supply voltage of the control module 10.
[0034] The voltage conversion module 16 can use any boost and / or buck circuit in the prior art to perform voltage conversion. The control module 10 is supplied with a voltage of 3.3V.
[0035] The faucet also includes a first diode D1, a first filter inductor L1, a second filter capacitor C2, a third filter capacitor C3, and a fourth filter capacitor C4. The anode of the first diode D1 is connected to the positive output terminal of the power supply 14, and the cathode is connected to the first terminal of the first filter inductor L1. The second terminal of the first filter inductor L1 is connected to the first terminals of the second and third filter capacitors C2 and the input terminal of the voltage conversion module 16, respectively. The output terminal of the voltage conversion module 16 is connected to the first terminal of the fourth filter capacitor C4 and the power supply terminal VDD of the control module 10, respectively. The second terminals of the second, third, and fourth filter capacitors C2 and the ground terminal of the voltage conversion module 16 are all grounded to GND. The first diode D1 prevents voltage backflow into the power supply 14. The first filter inductor L1, the second filter capacitor C2, and the third filter capacitor C3 constitute a filter circuit to filter the voltage input to the voltage conversion module 16. The fourth filter capacitor C4 is used to filter the voltage output from the output terminal of the voltage conversion module 16.
[0036] Continue to refer to Figure 5 Optionally, the temperature detection module 12 includes a third resistor R3 and a temperature sensing element R4. The first end of the third resistor R3 is connected to the fixed voltage output terminal PWR of the control module 10, and the second end of the third resistor R3 is connected to the first end of the temperature sensing element R4. The second end of the temperature sensing element R4 is grounded to GND, and the first end of the temperature sensing element R4 is also connected to the temperature detection terminal TEMP of the control module. The first end of the temperature sensing element R4 is used to output a temperature detection signal.
[0037] The temperature detection module 12 also includes a second protective resistor R20 and a fifth filter capacitor C5. The first end of the temperature sensing element R4 is connected to the temperature detection terminal TEMP of the control module 10 through the second protective resistor R20. The first end of the fifth filter capacitor C5 is connected to the first end of the temperature sensing element R4, and the second end of the fifth filter capacitor C5 is grounded to GND. The control module 10 outputs a first fixed voltage to the first end of the third resistor R3 through its own fixed voltage output terminal PWR. The temperature sensing element R4 can be a thermistor. The third resistor R3 and the temperature sensing element R4 form a voltage divider circuit. The temperature detection signal is a voltage signal, which corresponds one-to-one with the resistance of the temperature sensing element R4. The resistance of the temperature sensing element R4 also corresponds one-to-one with the temperature. Therefore, the temperature detection signal corresponds one-to-one with the temperature. Based on the correspondence between the two, the corresponding temperature can be determined according to the temperature detection signal, that is, the current water temperature can be determined.
[0038] The control module 10 is also used to control the first display area of the display module 11 to flash a temperature abnormality prompt icon and the second display area to display a second preset color when the temperature detection module 12 is determined to be faulty.
[0039] The first fixed voltage output by the fixed voltage terminal PWR can be 5V. The voltage detection signal can be controlled to be greater than 0V and less than or equal to 3.3V by setting the value of the third resistor R3. The value of the third resistor R3 is set to 51KΩ.
[0040] A fault in temperature detection module 12 indicates a short circuit or open circuit in the temperature sensing element R4. When R4 is open-circuited, the temperature detection signal is 5V; when R4 is short-circuited, the signal is 0V. When R4 is functioning normally, the temperature detection signal is greater than 0V and less than or equal to 3.3V. Therefore, when the temperature detection signal is 5V or 0V, a fault in temperature detection module 12 is confirmed. In this case, regardless of whether the faucet is open or closed, control module 10 controls display module 11 to flash "E1" on the first display area and display the water droplet icon in the second display area in a second preset color, such as red, to warn the user of the abnormality in temperature detection module 12.
[0041] Continue to refer to Figure 5 The switch detection module 13 includes a Hall element 131 and a sixth filter capacitor C6. The first power supply terminal of the Hall element 131 is connected to a second fixed voltage V2 (e.g., 3.3V), and the second power supply terminal is grounded (GND). The output terminal is connected to the switch detection terminal HALL of the control module 10, and the output terminal of the Hall element 131 is used to output a switch detection signal. The first terminal of the sixth filter capacitor C6 is connected to the first power supply terminal of the Hall element, and the second terminal of the sixth filter capacitor C6 is connected to the second power supply terminal of the Hall element 131.
[0042] Figure 6 This is a schematic diagram of a display module provided in an embodiment of the present invention, with reference to... Figure 5 and Figure 6The first display area of the display module 11 includes a first display position and a second display position. The first display position includes seven light-emitting diodes, which are respectively designated as LED3 to LED9. The seven light-emitting diodes of the first display position are arranged to form a first figure-eight display segment. The second display position includes seven light-emitting diodes, which are respectively designated as LED10 to LED16. The seven light-emitting diodes of the second display position are arranged to form a second figure-eight display segment. The anodes of the seven light-emitting diodes in the first display position are connected to the same first display control terminal COM1 of the control module 10, and the cathodes are connected to different second display control terminals of the control module 10. The control module 10 includes a first display control terminal COM1 and seven second display control terminals. The cathode of the third light-emitting diode (LED3) is connected to the first second display control terminal A; the cathode of the fourth light-emitting diode (LED4) is connected to the second second display control terminal F; the cathode of the fifth light-emitting diode (LED5) is connected to the third second display control terminal G; the cathode of the sixth light-emitting diode (LED6) is connected to the fourth second display control terminal B; the cathode of the seventh light-emitting diode (LED7) is connected to the fifth second display control terminal E; the cathode of the eighth light-emitting diode (LED8) is connected to the sixth second display control terminal D; and the cathode of the ninth light-emitting diode (LED9) is connected to the seventh second display control terminal C. The control module 10 controls whether each light-emitting diode in the first display position is turned on by controlling the potential of the first display control terminal COM1 and each of the second display control terminals.
[0043] The anodes of the seven LEDs in the second display position are connected to the same third display control terminal COM2 of the control module 10, and the cathodes are connected to different second display control terminals of the control module 10. Furthermore, the cathodes of LEDs in the same display segment of the first and second display positions are connected to the same second display control terminal. Specifically, the cathode of the tenth LED (LED10) is connected to the first second display control terminal A; the cathode of the eleventh LED (LED11) is connected to the second second display control terminal F; the cathode of the twelfth LED (LED12) is connected to the third second display control terminal G; the cathode of the thirteenth LED (LED13) is connected to the fourth second display control terminal B; the cathode of the fourteenth LED (LED14) is connected to the fifth second display control terminal E; the cathode of the fifteenth LED (LED15) is connected to the sixth second display control terminal D; and the cathode of the sixteenth LED (LED16) is connected to the seventh second display control terminal C. The control module 10 controls whether the LEDs emit light by controlling the potential of the anode and cathode of the LEDs in the second display position.
[0044] The first display area of the display module 10 also includes a first light-emitting diode (LED1) and a second light-emitting diode (LED2). The anode of the first LED1 is connected to the first display control terminal COM1, and the cathode is connected to the fourth display control terminal H of the control module 10. The anode of the second LED2 is connected to the third display control terminal COM2, and the cathode is connected to the fourth display control terminal H. The first LED1 and the second LED2 are used to display the temperature unit icon. The first LED can be designed as a circle, and the second LED can be designed as a "C" shape. This allows the control module 10 to output a high potential at both the first display control terminal COM1 and the second display control terminal COM2, and a low potential at the fourth display control terminal H, when the display module 10 needs to display the water temperature. This causes the first LED1 and the second LED2 to light up, thereby displaying the "℃" icon.
[0045] The second display area of the display module 11 includes at least two light-emitting diodes (LEDs) with different emitting colors. The anodes of each LED in the second display area are connected to different fifth display control terminals in the control module 10, and the cathodes are connected to the ground terminal G1 of the control module 10. The second display area is used to display a water droplet icon, and the water droplet icon displays the color corresponding to the current water temperature.
[0046] This embodiment exemplarily shows that the second display area includes two light-emitting diodes, denoted as the seventeenth LED (LED17) and the eighteenth LED (LED18). The anode of the seventeenth LED (LED17) is connected to the first fifth display control terminal R, and the anode of the eighteenth LED (LED18) is connected to the second fifth display control terminal W. When the seventeenth LED (LED17) is lit and the eighteenth LED (LED18) is off, the second display area displays a first color; when the seventeenth LED (LED17) is off and the eighteenth LED (LED18) is lit, the second display area displays a second color; when both the seventeenth LED (LED17) and the eighteenth LED (LED18) are lit, the eighteenth LED (LED18) displays a third color. Alternatively, the lighting duration of the LEDs can be adjusted by changing the duty cycle of the fifth display control terminals connected to each LED in the second display area to achieve the display of multiple colors.
[0047] The water temperature is divided into multiple temperature ranges, each corresponding to a base color. When the first display area shows the water temperature, the water droplet icon in the second display area shows the base color corresponding to the current temperature range. For example, water temperatures less than or equal to 37°C are white, water temperatures greater than 37°C but less than or equal to 42°C are light pink, and water temperatures greater than 42°C are pink. The base colors of adjacent temperature ranges gradually transition.
[0048] When controlling the first and second display positions of the first display area to display the water temperature, the display is performed through dynamic scanning. Specifically, when the control module 10 determines that the faucet is turned on and the water temperature is 21℃, in the first display cycle, the first display control terminal COM1 outputs a high potential, the first second display control terminal outputs a low potential, the fourth second display control terminal B outputs a low potential, the third second display control terminal G outputs a low potential, the fifth second display control terminal E outputs a low potential, and the sixth second display control terminal D outputs a low potential, while the remaining second display control terminals are all at a high potential, causing the third LED3, the sixth LED6, the fifth LED5, the seventh LED7, and the eighth LED8 to light up. In the first display cycle, the third display control terminal COM2 is at a low potential, causing all LEDs in the second display position to turn off. In the second display cycle, the first display control terminal COM1 outputs a low potential, all LEDs in the first display position are turned off, the third display control terminal COM2 outputs a high potential, the fourth second display control terminal B outputs a low potential, the seventh second display control terminal C outputs a low potential, and the remaining second display control terminals output a high potential. The thirteenth and sixteenth LEDs are illuminated, displaying "21". In the third display cycle, all second display control terminals are at a low potential, the first display control terminal COM1 outputs a high potential, the third display control terminal COM2 outputs a high potential, and the fourth display control terminal H outputs a low potential. The first and second LEDs are illuminated, displaying the "℃" icon. The first, second, and third display cycles constitute a preset cycle, which is repeated. Each display cycle can be set to 5ms. The preset cycle length is shorter than the shortest perception cycle of the human eye, so that in the second display cycle, when all the LEDs in the first display position are off, the human eye can still perceive that the third LED (LED3), sixth LED (LED6), fifth LED (LED5), seventh LED (LED7), and eighth LED (LED8) are lit. White display is achieved by controlling the lighting of LEDs in the second display area.
[0049] This invention also provides a method for controlling a faucet, used to control the faucet in any of the above embodiments. The control method is executed by a control module. Figure 7 A flowchart of a faucet control method provided in an embodiment of the present invention is shown below. Figure 1 and Figure 7 The method includes: S110: Obtain the switch detection signal generated by the switch detection module based on the opening angle of the faucet switch.
[0050] The switch detection module 12 acquires the switch detection signal, which is a voltage signal. The output voltage signal is different when the faucet is open and closed. The switch detection signal is then used to determine whether the faucet is open or closed.
[0051] S120: Obtain the temperature detection signal generated by the temperature detection module based on the water temperature of the faucet, and determine the water temperature of the faucet based on the temperature detection signal.
[0052] Temperature detection signal is acquired by temperature detection module 12. The temperature detection signal is a voltage signal that corresponds one-to-one with water temperature. Different water temperatures correspond to different voltages, and the corresponding water temperature is determined based on the magnitude of the temperature detection signal.
[0053] S130: When the switch detection signal determines that the faucet is open, the control display module is in normal display mode; when the switch detection signal determines that the faucet is closed, the control display module is in normal screen-off mode. In normal display mode, the first display area of the display module displays the current water temperature, and the second display area of the display module displays the color corresponding to the current water temperature. In normal screen-off mode, the display module is off.
[0054] When the faucet is turned on, the first display area simultaneously shows the water temperature, and the second display area displays the color corresponding to the water temperature. The second display area also serves as an auxiliary display for the water temperature. When the faucet is turned off, both the first and second display areas are turned off to save energy. When the second display area is showing the water temperature, different temperatures can correspond to different colors, or it can be divided into multiple temperature ranges. Temperatures within the same range correspond to the same color, and different temperature ranges correspond to different colors.
[0055] The display module's on / off state is linked to the faucet's opening angle. This allows the display module to turn off when the faucet is not in use, saving resources, and to remain active when the faucet is in use, facilitating user observation. In addition to displaying the current water temperature, the display module can also show the corresponding color, further enhancing the water temperature display. Even if the actual water temperature value is obscured, the color displayed in the secondary display area of the module can still indicate the current water temperature, providing richer information and improving the user experience.
[0056] Optionally, after the display module has been in normal display mode for a second preset time, the display module can be turned off. If the faucet switch remains on for a second preset time, such as 20 minutes, both the first and second display areas can be turned off to reduce the faucet's power consumption.
[0057] Figure 8 A flowchart of another faucet control method provided in an embodiment of the present invention is shown below. Figure 1 and Figure 8 The method includes: S111: Obtain the switch detection signal generated by the switch detection module based on the opening angle of the faucet switch.
[0058] S121: Obtain the temperature detection signal generated by the temperature detection module based on the water temperature of the faucet, and determine the water temperature of the faucet based on the temperature detection signal.
[0059] S131: The voltage detection module obtains the detection voltage generated by the power supply based on the voltage after receiving the enable signal output by the control module.
[0060] The voltage is obtained by the voltage detection module 15, and the detected voltage corresponds one-to-one with the voltage of the power supply 14. Based on the correspondence, the voltage output by the power supply 14 at the current moment is determined, and the voltage output by the power supply 14 corresponds one-to-one with the power of the power supply 14.
[0061] S141: When the detection voltage is determined to be greater than or equal to the first voltage value, when the faucet switch is determined to be on, the control display module is in normal display mode; when the faucet switch is determined to be off, the control display module is in normal screen-off mode.
[0062] When the detected voltage is greater than or equal to the first voltage value, it is determined that the power supply 14 has sufficient power. The display module 11 can then display normally when the faucet is turned on and turn off normally when the faucet is turned off.
[0063] S151: When the detected voltage is greater than the second voltage value and less than the first voltage value, the control display module is in medium-pressure alarm mode; in medium-pressure alarm mode, when the faucet is turned on, the display module is in normal display mode; when the faucet is switched from on to off, the display module switches to medium-pressure off-screen mode; in medium-pressure off-screen mode, the first display area of the display module displays the alarm prompt icon, the second display area displays the color corresponding to the current water temperature, and the display module turns off after displaying for a first preset time.
[0064] The second voltage value is less than the first voltage value. When the detected voltage is greater than the second voltage value but less than the first voltage value, it indicates that the power supply 14 has slightly insufficient power. When the faucet is turned on, the first display area of the control display module 11 displays the water temperature, and the second display area displays the color corresponding to the water temperature. When the faucet is turned off, the first display area of the control display module 11 displays an alarm indicator icon "LO" for a first preset duration, such as 2 seconds, and then turns off, and the second display area displays the color corresponding to the water temperature for a first preset duration and then turns off. For example, the first voltage value is 4.5V, and the second voltage value is 4V.
[0065] S161: When the detected voltage is less than or equal to the second voltage value, the control display module is in low-voltage alarm mode; in low-voltage alarm mode, when the faucet switch is turned on, the display module is in low-voltage display mode, and when the faucet switch is switched from on to off, the display module switches to low-voltage off-screen mode. In the low-voltage display mode and the low-voltage screen-off mode, the first display area of the display module flashes an alarm prompt icon, the second display area displays a first preset color, and the module screen turns off after the alarm prompt icon flashes a preset number of times in the first display area.
[0066] When the detected voltage is less than or equal to the second voltage value, it indicates that the remaining power of the power supply is insufficient, and a low-power mode needs to be activated to reduce power consumption. In this case, when the faucet is turned on, the first display area flashes "L0," and the water droplet icon in the second display area displays a preset color, such as light pink. After the first display area flashes a preset number of times (e.g., 5 times), both the first and second display areas turn off. When the faucet is switched from on to off, the first display area flashes "L0," and the water droplet icon in the second display area displays a preset color, such as light pink. After the first display area flashes a preset number of times (e.g., 5 times), both the first and second display areas turn off. When the power supply 14 is low on power, when the faucet is turned on, the alarm indicator flashes a preset number of times, and then the entire display module 11 turns off to reduce power consumption. The flashing alarm indicator also reminds the user that the power supply 14 is low and should be replaced promptly.
[0067] In this embodiment, the display module is controlled to be in different display modes by combining the detection voltage. The alarm prompt icon displayed by the display module 11 reminds the user that the power supply 14 in the faucet is low on power, so that timely countermeasures can be taken. When the power supply 14 is low on power, the display mode corresponding to the low power is used to reduce power consumption and extend the faucet's usage time.
[0068] Optionally, after S120 or S121, the following steps may be taken: when it is determined from the temperature detection signal that the temperature detection module 12 is faulty, the first display area of the display module 11 is controlled to flash a temperature abnormality warning icon and the second display area displays a second preset color. When it is determined from the temperature detection signal that the temperature detection module 12 is normal, S130 is executed, or S131-S161 are executed.
[0069] If the temperature detection module is short-circuited or open-circuited based on the temperature detection signal, the temperature detection module is confirmed to be faulty. The first display area will flash "E1" and the second display area will display pink to alert the user that the temperature detection module is abnormal and to carry out timely repairs.
[0070] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0071] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A faucet, characterized in that, include: Control module, display module, temperature detection module and switch detection module; The switch detection module is connected to the control module and is used to generate a switch detection signal based on the opening angle of the faucet switch. The temperature detection module is connected to the control module and is used to generate a temperature detection signal based on the water temperature of the faucet. The control module is used to determine the water temperature of the faucet based on the temperature detection signal. The display module is connected to the control module. The control module is used to control the display module to be in normal display mode when the switch detection signal determines that the faucet is open, and to control the display module to be in normal screen-off mode when the switch detection signal determines that the faucet is closed. In normal display mode, the first display area of the display module displays the current water temperature, and the second display area displays the color corresponding to the current water temperature. In normal screen-off mode, the display module is off.
2. The faucet according to claim 1, characterized in that, It also includes a power supply and voltage detection module; The power supply is connected to the control module and is used to supply power to the control module; The voltage detection module is connected to the enable terminals of the power supply and the control module respectively, and is used to generate a detection voltage based on the voltage of the power supply after receiving the enable signal output by the control module. The control module is also used to control the display module to be in normal display mode when the detected voltage is greater than or equal to the first voltage value and when the switch of the faucet is determined to be on, and to control the display module to be in normal screen-off mode when the switch of the faucet is determined to be off.
3. The faucet according to claim 2, characterized in that, The voltage detection module includes a first resistor, a second resistor, and a first switch; The first end of the first resistor is connected to the power supply, the second end of the first resistor is connected to the first end of the first switch, the second end of the first switch is connected to the second resistor, the control end of the first switch is connected to the enable end of the control module, the second end of the second resistor is grounded, and the second end of the first switch is connected to the control module for outputting the detection voltage; The first switch is used to turn on in response to the enable signal; The faucet also includes a voltage conversion module, which is connected to both the power supply and the control module, and is used to convert the power supply voltage of the power supply into the power supply voltage of the control module.
4. The faucet according to claim 1, characterized in that, The temperature detection module includes a third resistor and a temperature sensing element. The first end of the third resistor is connected to the fixed voltage output terminal of the control module, the second end of the third resistor is connected to the first end of the temperature sensing element, the second end of the temperature sensing element is grounded, and the first end of the temperature sensing element is also connected to the control module for outputting the temperature detection signal.
5. The faucet according to claim 1, characterized in that, The first display area of the display module includes a first display position and a second display position. The first display position includes seven light-emitting diodes (LEDs), which are arranged to form a first figure-eight display segment. The second display position includes seven LEDs, which are arranged to form a second figure-eight display segment. The anodes of the seven LEDs in the first display position are connected to the same first display control terminal of the control module, and the cathodes are connected to different second display control terminals of the control module. The anodes of the seven LEDs in the second display position are connected to the same third display control terminal of the control module, and the cathodes are connected to different second display control terminals of the control module. Furthermore, the cathodes of the LEDs in the same display segment of the first and second display positions are connected to the same second display control terminal. The first display area of the display module further includes a first light-emitting diode and a second light-emitting diode. The anode of the first light-emitting diode is connected to the first display control terminal and the cathode is connected to the fourth display control terminal of the control module. The anode of the second light-emitting diode is connected to the third display control terminal and the cathode is connected to the fourth display control terminal. The first light-emitting diode and the second light-emitting diode are used to display temperature unit icons. The second display area of the display module includes at least two light-emitting diodes with different emitting colors. The anodes of each light-emitting diode in the second display area are respectively connected to different fifth display control terminals in the control module, and the cathodes are all connected to the ground terminal of the control module. The second display area is used to display a water droplet icon, and the water droplet icon displays the color corresponding to the current water temperature.
6. A method for controlling a faucet, characterized in that, For controlling the faucet according to any one of claims 1-5, and executed by the control module; comprising: The switch detection module acquires the switch detection signal generated based on the opening angle of the faucet switch; The temperature detection module acquires a temperature detection signal generated by the faucet based on the water temperature, and determines the water temperature of the faucet based on the temperature detection signal. When the switch detection signal determines that the faucet is turned on, the display module is controlled to be in normal display mode; when the switch detection signal determines that the faucet is turned off, the display module is controlled to be in normal screen-off mode. In normal display mode, the first display area of the display module displays the current water temperature, and the second display area of the display module displays the color corresponding to the current water temperature. In normal screen-off mode, the display module is off.
7. The faucet control method according to claim 6, characterized in that, The faucet also includes a power supply and a voltage detection module. The power supply is connected to the control module, and the voltage detection module is connected to the enable terminals of both the power supply and the control module. Before controlling the display module to enter normal display mode when the switch detection signal determines that the faucet switch is on, and before controlling the display module to enter normal screen-off mode when the switch detection signal determines that the faucet switch is off, the method further includes: The voltage detection module obtains the detection voltage generated by the power supply based on the voltage after receiving the enable signal output by the control module; The control method for the faucet also includes: When the detected voltage is greater than or equal to the first voltage value, when the faucet switch is turned on, the display module is controlled to be in normal display mode; when the faucet switch is turned off, the display module is controlled to be in normal screen-off mode.
8. The faucet control method according to claim 7, characterized in that, When the detected voltage is determined to be greater than the second voltage value and less than the first voltage value, the display module is controlled to be in medium-pressure alarm mode; in medium-pressure alarm mode, when the faucet switch is turned on, the display module is in normal display mode; when the faucet switch is switched from on to off, the display module switches to medium-pressure off-screen mode; in medium-pressure off-screen mode, the first display area of the display module displays an alarm prompt icon, the second display area displays the color corresponding to the current water temperature, and the display module turns off after a first preset time. When the detected voltage is determined to be less than or equal to the second voltage value, the display module is controlled to be in low-voltage alarm mode; in the low-voltage alarm mode, when the faucet switch is turned on, the display module is in low-voltage display mode, and when the faucet switch is switched from on to off, the display module switches to low-voltage off-screen mode. In the low-voltage display mode and the low-voltage off-screen mode, the first display area of the display module flashes the alarm prompt icon, the second display area displays a first preset color, and the display module turns off after the alarm prompt icon flashes a preset number of times in the first display area.
9. The faucet control method according to claim 6, characterized in that, After the temperature detection module generates a temperature detection signal based on the water temperature from the faucet, the following is also included: When a fault is determined in the temperature detection module based on the temperature detection signal, the first display area of the display module is controlled to flash a temperature abnormality prompt icon and the second display area displays a second preset color.
10. The faucet control method according to claim 6, characterized in that, After the display module has been in normal display mode for a second preset duration, the display module is turned off.