Closestool flushing system and intelligent closestool

文档序号:1212095 发布日期:2020-09-04 浏览:20次 中文

阅读说明:本技术 一种马桶冲水系统及智能马桶 (Closestool flushing system and intelligent closestool ) 是由 黄华 于 2020-06-11 设计创作,主要内容包括:本发明实施例涉及卫生洁具技术领域,提供了一种马桶冲水系统及智能马桶。包括:电源电路,用于提供电源;按键电路,与电源电路电连接,包括按键,当按键被按下时,触发产生冲水信号;控制电路,与按键电路电连接,用于根据冲水信号,上电工作,当检测到冲水信号时,产生使能信号,并控制使能信号持续预设工作时长;电源开关电路,分别与电源电路和控制电路电连接,用于在预设工作时长内,根据使能信号,工作在导通状态,用以为控制电路提供工作电源;电磁阀组件,与控制电路电连接,在预设工作时长内,控制电路驱动电磁阀组件执行冲水操作,超过预设工作时长后,控制电路停止工作。通过上述方式,本发明实施例能够节约能耗。(The embodiment of the invention relates to the technical field of sanitary ware, and provides a toilet flushing system and an intelligent toilet. The method comprises the following steps: a power supply circuit for supplying power; the key circuit is electrically connected with the power circuit and comprises a key, and when the key is pressed down, the key is triggered to generate a flushing signal; the control circuit is electrically connected with the key circuit and used for electrifying to work according to the flushing signal, generating an enabling signal when the flushing signal is detected and controlling the enabling signal to continuously preset working time; the power switch circuit is respectively electrically connected with the power circuit and the control circuit, is used for working in a conducting state according to the enabling signal within a preset working duration and is used for providing a working power supply for the control circuit; and the electromagnetic valve assembly is electrically connected with the control circuit, the control circuit drives the electromagnetic valve assembly to execute the flushing operation within the preset working duration, and the control circuit stops working after the preset working duration is exceeded. Through the mode, the embodiment of the invention can save energy consumption.)

1. A toilet flushing system, comprising:

a power supply circuit for supplying power;

the key circuit is electrically connected with the power circuit and comprises a key, and when the key is pressed down, the key circuit is triggered to generate a flushing signal;

the control circuit is electrically connected with the key circuit and used for electrifying and working according to the flushing signal, detecting the flushing signal after electrifying and generating an enabling signal when detecting the flushing signal and controlling the enabling signal to continuously preset working time;

the power supply switching circuit is respectively electrically connected with the power supply circuit and the control circuit and is used for working in a conducting state according to the enabling signal within the preset working duration and carrying out power supply conversion processing on the power supply, so that the power supply circuit provides a working power supply for the control circuit through the power supply switching circuit;

and the electromagnetic valve assembly is respectively electrically connected with the power circuit, the power switch circuit and the control circuit, the control circuit drives the electromagnetic valve assembly to execute flushing operation in the preset working duration, and after the preset working duration is exceeded, the power switch circuit stops providing the working power supply for the control circuit so as to stop working of the control circuit.

2. The toilet flushing system of claim 1, wherein the control circuit comprises:

the controller is electrically connected with the key circuit, the power switch circuit and the electromagnetic valve assembly respectively;

the wake-up circuit is respectively electrically connected with the power circuit and the controller and is used for waking up the controller according to the flushing signal so as to enable the controller to be electrified and work;

after the controller is electrified to work, the controller detects the flushing signal, when the flushing signal is detected, an enabling signal is generated, the enabling signal is controlled to continuously preset working duration, in addition, in the preset working duration, the power switch circuit provides the working power supply for the controller, the controller drives the electromagnetic valve component to execute flushing operation, and after the preset working duration is exceeded, the power switch circuit stops providing the working power supply for the controller, so that the controller stops working.

3. The toilet flushing system of claim 2, wherein the control circuit further comprises:

the trigger circuit is respectively electrically connected with the key circuit and the power switch circuit and is used for triggering the power switch circuit to work in a conducting state according to the flushing signal so as to provide the working power supply for the controller when the key is pressed down;

and the backflow preventing circuit is respectively electrically connected with the controller and the power switch circuit and is used for preventing the flushing signal from flowing back to the controller.

4. The toilet flushing system of claim 2, wherein the wake-up circuit includes a first diode having an anode for receiving the flush signal and a cathode connected to the controller.

5. The toilet flushing system of claim 3, wherein the triggering circuit includes a second diode, an anode of the second diode being configured to receive the flushing signal, and a cathode of the second diode being connected to the power switch circuit;

the backflow prevention circuit comprises a third diode, the anode of the third diode is used for receiving the enabling signal, and the cathode of the third diode is connected with the power switch circuit.

6. The toilet flushing system of claim 3, wherein the power switch circuit comprises:

the first switch circuit is respectively electrically connected with the trigger circuit and the backflow prevention circuit and is used for working in a conducting state according to the flushing signal or the enabling signal;

and the second switch circuit is respectively electrically connected with the first switch circuit, the power supply circuit and the controller and is used for performing power supply conversion processing on the power supply according to the condition that the first switch circuit works in a conducting state and works in the conducting state, so that the power supply circuit provides the working power supply for the controller through the second switch circuit.

7. The toilet flushing system of claim 6, wherein the first switching circuit comprises a first switching tube and a first resistor, and the second switching circuit comprises a second switching tube and a second resistor;

the base electrode of the first switch tube is connected with the trigger circuit and the backflow prevention circuit, the emitting electrode of the first switch tube is grounded, and the collector electrode of the first switch tube is connected with one end of the first resistor; the other end of the first resistor is connected with the grid electrode of the second switching tube and one end of the second resistor; the drain electrode of the second switch tube is connected with the controller, and the source electrode of the second switch tube is connected with the power circuit and the other end of the second resistor.

8. The system according to any one of claims 1-7, wherein said key circuit further comprises a third resistor, one end of said third resistor is connected to one end of said key and said control circuit, the other end of said third resistor is connected to ground, and the other end of said key is connected to said power circuit.

9. The system of any of claims 1-7, wherein the solenoid valve assembly comprises:

a first bistable solenoid valve;

the first driving circuit is respectively electrically connected with the power circuit, the power switch circuit, the first bistable electromagnetic valve and the control circuit and is used for driving the first bistable electromagnetic valve to work within the preset working duration so as to realize the skirt flushing function;

a second bi-stable solenoid valve;

and the second driving circuit is respectively electrically connected with the power supply circuit, the power switch circuit, the second bistable electromagnetic valve and the control circuit and is used for driving the second bistable electromagnetic valve to work within the preset working time length so as to realize the bottom flushing function.

10. An intelligent toilet comprising a toilet flushing system as claimed in any one of claims 1 to 9.

[ technical field ] A method for producing a semiconductor device

The embodiment of the invention relates to the technical field of sanitary ware, in particular to a toilet flushing system and an intelligent toilet.

[ background of the invention ]

The closestool is a sanitary ware commonly used in human daily life, generally, an external power supply supplies power to a controller, so that the controller works normally and detects key operation, and when a flushing key is pressed down, a valve circuit is controlled by the controller to execute flushing operation within a preset working duration so as to achieve the aim of cleaning the closestool. However, in the above embodiment, the external power source continuously supplies power to the controller regardless of the occurrence of the key operation, resulting in unnecessary power consumption.

[ summary of the invention ]

The embodiment of the invention aims to provide a closestool flushing system capable of saving energy consumption and an intelligent closestool.

In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:

the embodiment of the invention provides a toilet flushing system, which comprises:

a power supply circuit for supplying power;

the key circuit is electrically connected with the power circuit and comprises a key, and when the key is pressed down, the key circuit is triggered to generate a flushing signal;

the control circuit is electrically connected with the key circuit and used for electrifying and working according to the flushing signal, detecting the flushing signal after electrifying and generating an enabling signal when detecting the flushing signal and controlling the enabling signal to continuously preset working time;

the power supply switching circuit is respectively electrically connected with the power supply circuit and the control circuit and is used for working in a conducting state according to the enabling signal within the preset working duration and carrying out power supply conversion processing on the power supply, so that the power supply circuit provides a working power supply for the control circuit through the power supply switching circuit;

and the electromagnetic valve assembly is respectively electrically connected with the power circuit, the power switch circuit and the control circuit, the control circuit drives the electromagnetic valve assembly to execute flushing operation in the preset working duration, and after the preset working duration is exceeded, the power switch circuit stops providing the working power supply for the control circuit so as to stop working of the control circuit.

In some embodiments, the control circuit comprises:

the controller is electrically connected with the key circuit, the power switch circuit and the electromagnetic valve assembly respectively;

the wake-up circuit is respectively electrically connected with the power circuit and the controller and is used for waking up the controller according to the flushing signal so as to enable the controller to be electrified and work;

after the controller is electrified to work, the controller detects the flushing signal, when the flushing signal is detected, an enabling signal is generated, the enabling signal is controlled to continuously preset working duration, in addition, in the preset working duration, the power switch circuit provides the working power supply for the controller, the controller drives the electromagnetic valve component to execute flushing operation, and after the preset working duration is exceeded, the power switch circuit stops providing the working power supply for the controller, so that the controller stops working.

In some embodiments, the control circuit further comprises:

the trigger circuit is respectively electrically connected with the key circuit and the power switch circuit and is used for triggering the power switch circuit to work in a conducting state according to the flushing signal so as to provide the working power supply for the controller when the key is pressed down;

and the backflow preventing circuit is respectively electrically connected with the controller and the power switch circuit and is used for preventing the flushing signal from flowing back to the controller.

In some embodiments, the wake-up circuit comprises a first diode, an anode of the first diode being configured to receive the flush signal, and a cathode of the first diode being coupled to the controller.

In some embodiments, the trigger circuit comprises a second diode, an anode of the second diode is used for receiving the flushing signal, and a cathode of the second diode is connected with the power switch circuit;

the backflow prevention circuit comprises a third diode, the anode of the third diode is used for receiving the enabling signal, and the cathode of the third diode is connected with the power switch circuit.

In some embodiments, the power switching circuit comprises:

the first switch circuit is respectively electrically connected with the trigger circuit and the backflow prevention circuit and is used for working in a conducting state according to the flushing signal or the enabling signal;

and the second switch circuit is respectively electrically connected with the first switch circuit, the power supply circuit and the controller and is used for performing power supply conversion processing on the power supply according to the condition that the first switch circuit works in a conducting state and works in the conducting state, so that the power supply circuit provides the working power supply for the controller through the second switch circuit.

In some embodiments, the first switching circuit comprises a first switching tube and a first resistor, and the second switching circuit comprises a second switching tube and a second resistor;

the base electrode of the first switch tube is connected with the trigger circuit and the backflow prevention circuit, the emitting electrode of the first switch tube is grounded, and the collector electrode of the first switch tube is connected with one end of the first resistor; the other end of the first resistor is connected with the grid electrode of the second switching tube and one end of the second resistor; the drain electrode of the second switch tube is connected with the controller, and the source electrode of the second switch tube is connected with the power circuit and the other end of the second resistor.

In some embodiments, the key circuit further includes a third resistor, one end of the third resistor is connected to one end of the key and the control circuit, the other end of the third resistor is grounded, and the other end of the key is connected to the power circuit.

In some embodiments, the solenoid valve assembly comprises:

a first bistable solenoid valve;

the first driving circuit is respectively electrically connected with the power circuit, the power switch circuit, the first bistable electromagnetic valve and the control circuit and is used for driving the first bistable electromagnetic valve to work within the preset working duration so as to realize the skirt flushing function;

a second bi-stable solenoid valve;

and the second driving circuit is respectively electrically connected with the power supply circuit, the power switch circuit, the second bistable electromagnetic valve and the control circuit and is used for driving the second bistable electromagnetic valve to work within the preset working time length so as to realize the bottom flushing function.

The embodiment of the invention also provides an intelligent closestool which comprises the closestool flushing system.

The invention has the beneficial effects that: compared with the prior art, the embodiment of the invention provides a toilet flushing system and an intelligent toilet. When the key is pressed down, the key circuit is triggered to generate a flushing signal, the control circuit performs power-on work according to the flushing signal, the flushing signal is detected after the power-on work, when the flushing signal is detected, an enabling signal is generated, the enabling signal is controlled to continue for a preset working duration, the power switch circuit works in a conducting state within the preset working duration according to the enabling signal, power conversion processing is performed on a power supply provided by the power circuit to provide a working power supply for the control circuit, the electromagnetic valve assembly is driven to perform the flushing operation, and after the preset working duration is exceeded, the control circuit stops working. Therefore, the control circuit is triggered to be powered on to work through the key, the control circuit drives the electromagnetic valve assembly to execute the flushing operation within the preset working time, and the control circuit is powered off to stop working after the preset working time is exceeded, so that the aim of saving energy consumption is fulfilled.

[ description of the drawings ]

One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.

FIG. 1 is a schematic structural view of a toilet flushing system according to an embodiment of the present invention;

FIG. 2 is a schematic structural view of a toilet flushing system according to another embodiment of the present invention;

FIG. 3 is a schematic circuit connection diagram of the power circuit shown in FIG. 1 or FIG. 2;

FIG. 4 is a schematic circuit diagram of the key circuit shown in FIG. 1 or FIG. 2;

FIG. 5 is a schematic circuit diagram of the controller shown in FIG. 2;

FIG. 6 is a schematic circuit connection diagram of the wake-up circuit, the trigger circuit, the back-flow prevention circuit, the first switch circuit and the second switch circuit shown in FIG. 2;

FIG. 7 is a schematic circuit diagram illustrating the first bi-stable solenoid valve, the first driver circuit, the second bi-stable solenoid valve, and the second driver circuit of FIG. 2.

[ detailed description ] embodiments

To facilitate an understanding of the present application, the present application is described in more detail below with reference to the accompanying drawings and detailed description. It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may be present. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.

The embodiment of the invention provides an intelligent closestool which comprises a closestool flushing system in any one of the following embodiments. The intelligent closestool has the functions different from the traditional closestool such as buttocks cleaning, lower body cleaning, moving cleaning, seat ring heat preservation, warm air drying, automatic deodorization, silence sitting, sterilization and disinfection and the like, and can be operated through a control panel, a remote controller and the like to realize the functions.

In some embodiments, the intelligent toilet further comprises a toilet body, a cover plate, a seat ring, a water tank, an infrared receiving assembly, a cleaning and drying assembly, a display screen assembly and the like. The closestool body is connected with the sewage discharge pipe and the water tank and is provided with a seat ring supporting part, the seat ring can be movably arranged on the closestool body, when the seat ring is in a first use state, the seat ring is placed on the seat ring supporting part, and the cover plate is used for protecting the seat ring. The infrared receiving assembly, the cleaning and drying assembly and the display screen assembly are all arranged on the closestool body and are connected with the main control unit of the intelligent closestool.

It can be understood that the material of the toilet body is generally ceramic. The apron can be plastics, wooden, bamboo, urea-formaldehyde apron, stone material, ya keli, PVC apron, and the preferred adoption has the apron of buffering damping to reduce the damage to the apron. When the flushing operation is executed, the toilet flushing system controls the water tank to output a certain volume of water to the toilet body so as to clean the toilet body.

As shown in fig. 1, an embodiment of the present invention provides a toilet flushing system, which can be disposed in the intelligent toilet described in the above embodiments, and the toilet flushing system 100 includes a power circuit 10, a button circuit 20, a control circuit 30, a power switch circuit 40, and an electromagnetic valve assembly 50.

The power supply circuit 10 is used to supply power.

The power supply circuit 10 includes an input power supply, an anti-reverse connection circuit, a first filter circuit, a voltage reduction circuit, and a second filter circuit. The input power supply is used for providing input voltage; the reverse connection preventing circuit is electrically connected with the input power supply and is used for preventing circuit components from being damaged due to reverse connection of the input power supply; the first filter circuit is electrically connected with the reverse connection preventing circuit, is used for filtering the input voltage and is used for providing a power supply for the electromagnetic valve assembly 50; the voltage reduction circuit is electrically connected with the first filter circuit and is used for performing voltage reduction treatment on the input voltage subjected to the filtering treatment; the second filter circuit is electrically connected to the voltage-reducing circuit, and is used for filtering the output voltage of the voltage-reducing circuit and providing power for the key circuit 20 and the power switch circuit 40.

As shown in fig. 3, the input power source includes a battery BAT, the anti-reverse circuit includes a diode D4, the first filter circuit includes a capacitor C1, the voltage-reducing circuit includes a low dropout regulator U1 (e.g., HM7833 low dropout regulator), and the second filter circuit includes a capacitor C2. The positive electrode of the battery BAT is connected to the anode of the diode D4, and the negative electrode of the battery BAT is grounded. The cathode of the diode D4 is connected to the VIN pin of the low dropout regulator U1, the CE pin of the low dropout regulator U1, and one end of the capacitor C1. The other terminal of the capacitor C1 is grounded and filtered by a capacitor C1 to obtain an input voltage VM for powering the solenoid valve assembly 50. The NC pin of the low dropout regulator U1 is floating. The GND pin of the low dropout regulator U1 is grounded. The OUT pin of the low dropout regulator U1 is connected to one end of a capacitor C2. The other end of the capacitor C2 is grounded, the input voltage VM is reduced by the low dropout regulator U1, and then filtered by the capacitor C2 to obtain the power voltage VCC _ RTC, which provides power for the key circuit 20 and the power switch circuit 40.

It is understood that the battery BAT may be a rechargeable battery or a dry cell battery. In some embodiments, the power supply of the toilet flushing system 100 further includes an external power supply, such as a power adapter, for converting the commercial power into direct current power to provide power to the toilet flushing system 100.

The key circuit 20 is electrically connected with the power circuit 10, the key circuit 20 includes a key 201, and when the key 201 is pressed, the key circuit 20 triggers to generate a flushing signal.

As shown in fig. 4, the button 201 includes a flush button SW1, and the button circuit 20 further includes a third resistor R3. One end of the third resistor R3 is connected to one end of the flush button SW1 and the control circuit 30, the other end of the third resistor R3 is grounded, and the other end of the flush button SW1 is connected to the power circuit 10.

In the embodiment of the invention, the flushing button SW1 is a light touch switch, when the pressure is applied to the operation direction of the flushing button SW1 under the condition of meeting the force in use, the flushing button SW1 is closed and connected, when the pressure is removed, the flushing button SW1 is disconnected, the time of maintaining the flushing signal is consistent with the closing time of the flushing button SW1, the closing time of the flushing button SW1 is related to the duration of the button operation, and under the normal condition, the button operation time is shorter. When the flushing button SW1 is not pressed, the connection between the power voltage VCC _ RTC and the flushing button SW1 is disconnected, and the flushing signal is set low; when the flush button SW1 is pressed, the power voltage VCC _ RTC outputs a flush signal through the flush button SW1, at which time the flush signal is approximately equal to the power voltage VCC _ RTC.

The control circuit 30 is electrically connected to the key circuit 20, and configured to perform power-on operation according to the flush water signal, detect the flush water signal after the power-on operation, generate an enable signal when the flush water signal is detected, and control the enable signal to continue for a preset operation duration.

As shown in fig. 2, the control circuit 30 includes a controller 301 and a wake-up circuit 302 according to an embodiment of the present invention.

The controller 301 is electrically connected to the key circuit 20, the power switch circuit 40, and the solenoid valve assembly 50, respectively.

As shown in fig. 5, the controller 301 includes a single chip microcomputer U2 and its peripheral circuits, for example, a single chip microcomputer U2 of stm8s003f3TSSOP20 type. The PD5 pin of the singlechip U2 is used for receiving a flushing signal sent by the key circuit 20. The PD3 pin of the singlechip U2 is used for outputting an enable signal PWR _ EN to the second switch circuit 402 through the backflow prevention circuit 304. The PC4 pin and the PC3 pin of the single chip microcomputer U2 are respectively used for outputting a driving signal INBB and a driving signal INAA, and sending the driving signal INBB and the driving signal INAA to the second driving circuit 504. The PB4 pin and the PB5 pin of the single chip microcomputer U2 are respectively used for outputting the driving signal INB and the driving signal INA, and sending the driving signal INB and the driving signal INA to the first driving circuit 502.

The peripheral circuit of the singlechip U2 comprises a third filter circuit consisting of a capacitor C3 and a capacitor C4 and is used for filtering the +3.3V working power supply provided by the power switch circuit 40. One end of the capacitor C3 is connected with the VDD pin of the singlechip U2 and the power switch circuit 40, one end of the capacitor C4 is connected with the VCAP pin of the singlechip U2, and the other end of the capacitor C3 and the other end of the capacitor C4 are both connected to the ground.

In some embodiments, the peripheral circuit of the single chip microcomputer U2 further includes a reset circuit composed of a resistor R4 and a capacitor C5, and a program burning port J1, and the reset circuit is used for performing power-on reset on the single chip microcomputer U2. One end of the resistor R4 is connected with the power switch circuit 40, the other end of the resistor R4 is connected with one end of the capacitor C5 and a pin 1 of the program programming port J1, and the pin 1 of the program programming port J1 is also connected with an NRST pin of the singlechip U2. The other terminal of the capacitor C5 is connected to ground. And a pin 2 of the program burning port J1 is connected with a SWIM pin of the singlechip U2. Pin 3 of the program burning port J1 is grounded. Pin 4 of the program burning port J1 is connected with the VDD pin of the single chip microcomputer U2 and the power switch circuit 40.

In some embodiments, the controller 301 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), an arm (acornrisc machine), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components; but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine; or as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

The wake-up circuit 302 is electrically connected to the power circuit 10 and the controller 301, and configured to wake up the controller 301 according to the flushing signal, so that the controller 301 is powered on to operate.

As shown in fig. 6, the wake-up circuit 302 includes a first diode D1, an anode of the first diode D1 is used for receiving the flush signal (an anode of the first diode D1 is connected to a connection node of the resistor R3 and the flush button SW 1), and a cathode of the first diode D1 is connected to the controller 301 (a VDD pin of the single chip microcomputer U2).

After the controller 301 is powered on to work, the controller 301 detects the flushing signal, when detecting the flushing signal, an enable signal is generated, and the enable signal is controlled to last for a preset working duration, and, in the preset working duration, the power switch circuit 40 provides the working power supply for the controller 301, the controller 301 drives the electromagnetic valve assembly 50 to execute the flushing operation, and after the preset working duration is exceeded, the power switch circuit 40 stops providing the working power supply for the controller 301, so that the controller 301 stops working.

As shown in fig. 2, as one embodiment of the present invention, the control circuit 30 further includes a trigger circuit 303 and a backflow prevention circuit 304.

The trigger circuit 303 is electrically connected to the button circuit 20 and the power switch circuit 40, and configured to trigger the power switch circuit 40 to operate in a conducting state according to the flushing signal, so as to provide the operating power to the controller 301 when the button 201 is pressed.

As shown in fig. 6, the trigger circuit 303 includes a second diode D2, an anode of the second diode D2 is used for receiving the flush signal (an anode of the second diode D2 is connected to a connection node of the resistor R3 and the flush button SW 1), and a cathode of the second diode D2 is connected to the power switch circuit 40 (a base of the first switch Q1).

The backflow prevention circuit 304 is electrically connected to the controller 301 and the power switch circuit 40, respectively, and is configured to prevent the flushing signal from flowing back to the controller 301.

As shown in fig. 6, the anti-backflow circuit 304 includes a third diode D3, an anode of the third diode D3 is configured to receive the enable signal (an anode of the third diode D3 is connected to a connection node of the resistor R3 and the flush button SW 1), and a cathode of the third diode D3 is connected to the power switch circuit 40 (a base of the first switch Q1).

When the flushing button SW1 is pressed, the button circuit 20 triggers to generate a flushing signal, the flushing signal reaches the power switch circuit 40 through the second diode D2, and by utilizing the unidirectional conduction characteristic of the diodes, the third diode D3 can be used for preventing the flushing signal from flowing back to the singlechip U2 through the second diode D2, so that the problem that the singlechip U2 is abnormal due to the flushing signal, such as program runaway, logic abnormality and the like, wherein the logic abnormality includes a starting file selection error, an interruption request bit is not cleared in time and the like.

The power switch circuit 40 is electrically connected to the power circuit 10 and the control circuit 30, and is configured to operate in a conducting state according to the enable signal within the preset operating time, and perform power conversion processing on the power supply, so that the power circuit 10 provides a working power supply for the control circuit 30 through the power switch circuit 40.

As shown in fig. 2, the power switching circuit 40 includes a first switching circuit 401 and a second switching circuit 402.

The first switch circuit 401 is electrically connected to the trigger circuit 303 and the backflow prevention circuit 304, respectively, and is configured to operate in a conducting state according to the flushing signal or the enabling signal.

The second switch circuit 402 is electrically connected to the first switch circuit 401, the power circuit 10 and the controller 301, and configured to operate in a conducting state when the first switch circuit 401 operates in the conducting state, and perform power conversion processing on the power supply, so that the power circuit 10 provides the controller 301 with the operating power supply through the second switch circuit 402.

As shown in fig. 6, the first switch circuit 401 includes a first switch transistor Q1 and a first resistor R1, and the second switch circuit 402 includes a second switch transistor Q2 and a second resistor R2.

The base of the first switch tube Q1 is connected to the trigger circuit 303 (the cathode of the second diode D2) and the backflow prevention circuit 304 (the cathode of the third diode D3), the emitter of the first switch tube Q1 is grounded, and the collector of the first switch tube Q1 is connected to one end of the first resistor R1; the other end of the first resistor R1 is connected with the grid of the second switch tube Q2 and one end of the second resistor R2; the drain of the second switch Q2 is connected to the controller 301, and the source of the second switch Q2 is connected to the other end of the power circuit 10 and the second resistor R2.

The first switch tube Q1 is a band-stop transistor, which is usually used as a medium-speed switch tube, and can be regarded as an electronic switch in the circuit, and when the circuit is in saturation conduction, the tube voltage drop is very small. The base of the first switch tube Q1 is connected in series with a resistor, and a resistor is connected in parallel between the base of the first switch tube Q1 and the emitter of the first switch tube Q1. By adjusting the resistance values of the two resistors in the first switch tube Q1, the switching speed and the interference rejection of the first switch tube Q1, the reverse current of the collector of the first switch tube Q1 when the first switch tube Q1 is turned off, and the like can be adjusted. A freewheeling diode (not shown) is disposed between the source and the drain of the second switch Q2, which is related to the manufacturing process of the second switch Q2 and is used to prevent the second switch Q2 from being broken down in the reverse direction.

It is understood that the first switch Q1 and the second switch Q2 are not limited to the combination disclosed in the embodiments of the present invention, and for example, when the first switch Q1 and the second switch Q2 are both mosfets and the first switch Q1 is an NMOS transistor, the connection relationship of the first switch Q1 is changed accordingly: the gate of the first switch Q1 is connected to the cathode of the second diode D2 and the cathode of the third diode D3, the source of the first switch Q1 is grounded, and the drain of the first switch Q1 is connected to one end of the first resistor R1.

The solenoid valve assembly 50 is electrically connected to the control circuit 30, the control circuit 30 drives the solenoid valve assembly 50 to perform a flushing operation within the preset working time, and after the preset working time is exceeded, the power switch circuit 40 stops providing the working power supply for the control circuit 30, so that the control circuit 30 stops working.

As shown in FIG. 2, the solenoid valve assembly 50 includes a first bi-stable solenoid valve 501, a first driver circuit 502, a second bi-stable solenoid valve 503, and a second driver circuit 504.

The first driving circuit 502 is electrically connected to the power circuit 10, the power switch circuit 40, the first bistable electromagnetic valve 501 and the control circuit 30, and is configured to drive the first bistable electromagnetic valve 501 to operate within the preset operating time period, so as to implement a skirt flushing function.

As shown in fig. 7, the first driving circuit 502 includes a capacitor C6, a capacitor C7, a capacitor C8, a capacitor C9, a solenoid driving chip U3, a capacitor C10, a capacitor C11, a resistor R5, and a resistor R6. The AGND pin of the solenoid driver chip U3 is grounded. The VCC pin of the solenoid valve driving chip U3 is connected to one end of the capacitor C6 and one end of the capacitor C7, and is further configured to receive the +3.3V working power supply output by the second switch circuit 402, the other end of the capacitor C6 and the other end of the capacitor C7 are both connected to ground, and the capacitor C6 and the capacitor C7 form a fourth filter circuit, and are configured to filter the +3.3V working power supply output by the second switch circuit 402, and input the filtered power supply to the VCC pin of the solenoid valve driving chip U3. The VM pin of the solenoid driver chip U3 is connected to one end of the capacitor C8 and one end of the capacitor C9, and is further configured to receive the input voltage VM output by the power circuit 10, the other end of the capacitor C8 and the other end of the capacitor C9 are both connected to ground, and the capacitor C8 and the capacitor C9 form a fifth filter circuit, which is configured to filter the power voltage VM and input the filtered power voltage VM to the VM pin of the solenoid driver chip U3. The OUTA pin of the solenoid driver chip U3 is connected to one end of the first bistable solenoid valve CN 1. The OUTB pin of the solenoid driver chip U3 is connected to the other end of the first bistable solenoid valve CN 1. An INA pin of the solenoid valve driving chip U3 is connected with one end of the capacitor C10 and one end of the resistor R6. An INB pin of the solenoid valve driving chip U3 is connected with one end of a capacitor C11 and one end of a resistor R5, the other end of the capacitor C10 and the other end of the capacitor C11 are both connected to the ground, the other end of the resistor R6 is used for receiving a driving signal INA, the other end of the resistor R5 is used for receiving the driving signal INB, and the capacitor C10, the capacitor C11, the resistor R5 and the resistor R6 form a small-signal filter which is used for filtering the driving signal INA and the driving signal INB. The EN pin of the solenoid valve driving chip U3 is suspended.

The second driving circuit 504 is electrically connected to the power circuit 10, the power switch circuit 40, the second bistable solenoid valve 503 and the control circuit 30, and is configured to drive the second bistable solenoid valve 503 to operate within the preset operating time period, so as to implement a bottom flushing function.

As shown in fig. 7, the second driving circuit 504 includes a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a solenoid driving chip U4, a capacitor C16, a capacitor C17, a resistor R7, and a resistor R8. The AGND pin of the solenoid driver chip U4 is grounded. The VCC pin of the solenoid valve driving chip U4 is connected to one end of the capacitor C12 and one end of the capacitor C13, and is further configured to receive the +3.3V working power supply output by the second switch circuit 402, the other end of the capacitor C12 and the other end of the capacitor C13 are both connected to ground, and the capacitor C12 and the capacitor C13 form a sixth filter circuit, which is configured to filter the +3.3V working power supply output by the second switch circuit 402, and input the filtered power supply to the VCC pin of the solenoid valve driving chip U4. The VM pin of the solenoid driver chip U4 is connected to one end of the capacitor C14 and one end of the capacitor C15, and is further configured to receive the input voltage VM output by the power circuit 10, the other end of the capacitor C14 and the other end of the capacitor C15 are both connected to ground, and the capacitor C14 and the capacitor C15 form a seventh filter circuit, which is configured to filter the power voltage VM and input the filtered power voltage VM to the VM pin of the solenoid driver chip U4. The OUTA pin of the solenoid driver chip U4 is connected to one end of a second bi-stable solenoid valve CN 2. The OUTB pin of the solenoid driver chip U4 is connected to the other end of the second bistable solenoid valve CN 2. An INA pin of the solenoid valve driving chip U4 is connected with one end of the capacitor C16 and one end of the resistor R8. An INB pin of the solenoid valve driving chip U4 is connected with one end of a capacitor C17 and one end of a resistor R7, the other end of the capacitor C16 and the other end of the capacitor C17 are both connected to the ground, the other end of the resistor R8 is used for receiving a driving signal INAA, the other end of the resistor R7 is used for receiving a driving signal INBB, and the capacitor C16, the capacitor C17, the resistor R7 and the resistor R8 form a small signal filter which is used for filtering the driving signal INAA and the driving signal INBB. The EN pin of the solenoid valve driving chip U4 is suspended.

It should be noted that the bistable electromagnetic valve adopts advanced pulse and permanent magnet technology, and the open and close state of the valve can be changed only by switching the electrode contact of the pulse through the controller 301, when the controller 301 sends out an electric pulse, the magnetic core is driven to drive the valve clack to overcome the permanent magnet force to generate up-and-down displacement, and the valve clack is in a self-holding state under the action of the permanent magnet after being in place. The first and second bi-stable solenoid valves 501 and 503 may consume less power during the flushing operation than conventional solenoid valves.

Referring again to fig. 3-7, the operation of the toilet flushing system 100 is generally as follows:

(1) the battery BAT outputs an input voltage VM after filtering processing, and outputs a power supply voltage VCC _ RTC after voltage reduction processing and filtering processing, the input voltage VM provides one of power supplies for the solenoid valve driving chip U3 and the solenoid valve driving chip U4, and the power supply voltage VCC _ RTC key circuit 20 and the second switch circuit 402 provide power supplies.

(2) When the flushing key SW1 is not pressed down, the connection between the power supply voltage VCC _ RTC and the resistor R3 is disconnected, the connection node between the resistor R3 and the flushing key SW1 is set to be low, and the singlechip U2 is in an unpowered state.

(3) When the flushing button SW1 is pressed, a path between the power supply voltage VCC _ RTC and the resistor R3 is closed, the button circuit 20 triggers to generate a flushing signal, the voltage of the flushing signal is equal to the power supply voltage VCC _ RTC, and the flushing signal is respectively sent to the anode of the first diode D1, the anode of the second diode D2 and the PD5 pin of the single chip microcomputer U2. The flushing signal passes through the first diode D1 and gives singlechip U2 short-time power-on, awakens singlechip U2. Assuming that the power voltage VCC _ RTC is equal to 3.7V and the conduction voltage drop of the first diode D1 is equal to 0.4V, the working power supply provided by the flush signal to the single chip microcomputer U2 through the first diode D1 is + 3.3V.

Meanwhile, the flush signal acts on the base of the first switch tube Q1 through the second diode D2, the emitter of the first switch tube Q1 is grounded, the conduction condition of the first switch tube Q1 is met, the first switch tube Q1 is turned on, and the collector voltage of the first switch tube Q1 is pulled low. At this time, the gate voltage of the second switch tube Q2 is approximately equal to 0V, the source voltage of the second switch tube Q2 is the power supply voltage VCC _ RTC, the conduction condition of the second switch tube Q2 is met, the second switch tube Q2 is conducted, the power supply voltage VCC _ RTC briefly powers on the single chip microcomputer U2 through the second switch tube Q2, and the single chip microcomputer U2 is waken up. If the conduction voltage drop of the second switch tube Q2 is equal to 0.4V, the working power supply provided by the flushing signal to the single chip microcomputer U2 through the second diode D2 is + 3.3V.

Therefore, the first diode D1 and the second diode D2 both participate in the process of powering on the singlechip U2 temporarily, so as to ensure that the singlechip U2 can reliably output an enable signal. In some embodiments, the corresponding branch of the second diode D2 may be omitted.

(4) When singlechip U2 goes up the electric work, singlechip U2 detects the bath signal through the PD5 pin, when detecting the bath signal, export enable signal through the PD3 pin, enable signal acts on first switch tube Q1's base through third diode D3, first switch tube Q1's emitter ground connection satisfies first switch tube Q1's the condition of switching on, first switch tube Q1 switches on, then first switch tube Q1's collector voltage is pulled low. At this time, the gate voltage of the second switch Q2 is equal to about 0V, the source voltage of the second switch Q2 is the power voltage VCC _ RTC, the conduction condition of the second switch Q2 is satisfied, and the second switch Q2 is turned on. Because the duration of the enable signal is the preset working duration, in the preset working duration, the power supply voltage VCC _ RTC continuously supplies power to the single chip microcomputer U2 (provides +3.3V working power) through the second switching tube Q2, the single chip microcomputer U2 normally works, and the PC4 pin and the PC3 pin of the single chip microcomputer U2 output the driving signal INBB and the driving signal INAA respectively, and the PB4 pin and the PB5 pin output the driving signal INB and the driving signal INA respectively.

(5) Within the preset working time, the +3.3V working power supply provides another power supply for the solenoid valve driving chip U3 and the solenoid valve driving chip U4 respectively through filtering processing. The driving signal INB and the driving signal INA are sent to the first driving circuit 502, and form a small signal filter through the capacitor C10, the capacitor C11, the resistor R5 and the resistor R6 to be filtered and then input to the INB pin and the INA pin of the solenoid valve driving chip U3, so as to control the first bistable solenoid valve CN1 to execute skirt flushing operation. The driving signal INBB and the driving signal INAA are sent to the second driving circuit 504, and form a small signal filter through the capacitor C16, the capacitor C17, the resistor R7 and the resistor R8 to be filtered and then input to the INB pin and the INA pin of the solenoid valve driving chip U4, so as to control the second bistable solenoid valve CN2 to perform a bottom flushing operation.

(6) After exceeding preset duration, singlechip U2 stops exporting the enable signal, lead to unsatisfying the condition of switching on of first switch tube Q1, first switch tube Q1 cuts off, at this moment, also satisfy the condition of switching on of second switch tube Q2, second switch tube Q2 cuts off, make mains voltage VCC _ RTC unable give singlechip U2 power supply (provide +3.3V working power) through second switch tube Q2, singlechip U2 falls down, stop work, thereby after finishing the bath operation, through cutting off the power supply circuit that battery BAT gave singlechip U2, make closestool bath system 100 not produce power consumption in the idle time.

To sum up, the embodiment of the present invention provides a toilet flushing system, wherein when a button is pressed, a button circuit is triggered to generate a flushing signal, a control circuit is powered on to operate according to the flushing signal, the flushing signal is detected after the power-on operation, an enable signal is generated when the flushing signal is detected, the enable signal is controlled to continue for a preset operation duration, a power switch circuit operates in a conducting state according to the enable signal within the preset operation duration, and performs power conversion processing on a power provided by the power circuit to provide a working power for the control circuit, so as to drive an electromagnetic valve assembly to perform a flushing operation, and when the preset operation duration is exceeded, the control circuit stops operating. Therefore, the control circuit is triggered to be powered on to work through the key, the control circuit drives the electromagnetic valve assembly to execute the flushing operation within the preset working time, and the control circuit is powered off to stop working after the preset working time is exceeded, so that the aim of saving energy consumption is fulfilled.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种发泡装置及发泡方法和智能马桶

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!