Fault detection circuit, intelligent cover plate and intelligent closestool
The fault detection circuit in smart toilets accurately tracks component usage, addressing maintenance difficulties and fault rates by enabling timely maintenance through precise usage counting.
Patent Information
- Application Number
- CN202421803978.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2034-07-26
AI Technical Summary
The prior art cannot accurately know the actual number of use of smart toilet functional components, resulting in difficulty in maintenance and high failure rates.
A fault detection circuit is designed, including a controller, a switch tube and a current amplifier. By counting the number of usages of functional components, amplifying the signal using the current amplifier and transmitting it to the controller for counting, combining a voltage-regulating current limiting unit and a wireless chip for fault detection.
Accurately record the number of use of functional components, reduce the maintenance difficulty and failure rate of smart toilets, and improve the accuracy of fault detection and maintenance efficiency.
Smart Images

Figure CN223107943U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the technical field of sanitary ware, and particularly relates to a fault detection circuit, an intelligent cover plate, and an intelligent toilet. Background Art
[0002] An intelligent toilet is a sanitary device that combines modern technology and convenience. It is usually equipped with various intelligent functions to provide a more comfortable and convenient user experience. Multiple functional components such as a water pump, a deodorizing device, etc. are provided inside the intelligent toilet to implement various functions of the intelligent toilet such as flushing, deodorizing, etc. However, each functional component has a usage limit. When the functional component reaches a certain number of usage times, it is prone to failure, thereby affecting the use of the intelligent toilet.
[0003] In the related art, the service life of the functional component can only be obtained through theoretical calculation, and the actual usage times of each functional component cannot be accurately known. Therefore, the staff cannot predict potential fault problems of the functional component, thereby causing difficulties in maintaining the intelligent toilet and a high failure rate. Summary of the Utility Model
[0004] The embodiments of the present application provide a fault detection circuit, an intelligent cover plate, and an intelligent toilet, which can accurately know the actual usage times of the functional component, thereby reducing the maintenance difficulty and failure rate of the intelligent toilet.
[0005] In a first aspect, the embodiments of the present application provide a fault detection circuit, including:
[0006] A controller, the controller includes a detection pin and a control pin;
[0007] A first switching tube, the first end of the first switching tube is electrically connected to the control pin, the second end of the first switching tube is electrically connected to the functional component in the intelligent toilet, and the controller outputs a control signal to the first switching tube through the control pin. When the first switching tube is turned on, the second end of the first switching tube outputs a control signal to the functional component to make the functional component work;
[0008] A current amplifier, the third end of the first switching tube is electrically connected to the current input end of the current amplifier, and the current output end of the current amplifier is electrically connected to the detection pin. When the functional component works, the current input end receives an electrical signal from the third end of the first switching tube, and outputs an amplified electrical signal to the controller through the current output end;
[0009] Wherein, the controller counts based on the amplified electrical signal.
[0010] In some embodiments, the fault detection circuit further includes a voltage stabilizing and current limiting unit. The voltage stabilizing and current limiting unit includes a voltage stabilizing diode and a second switching transistor. The first end of the voltage stabilizing diode is electrically connected to the first end of the first switching transistor. The second end of the voltage stabilizing diode is electrically connected to the current input terminal of the current amplifier. The first end of the second switching transistor is electrically connected to the detection pin. The second end of the second switching transistor is electrically connected to the third end of the voltage stabilizing diode. The controller outputs a voltage stabilizing signal to the second switching transistor through the detection pin. When the second switching transistor is turned on, the second switching transistor outputs the voltage stabilizing signal to the functional component, so that the functional component operates based on the control signal and the voltage stabilizing signal.
[0011] In some embodiments, the fault detection circuit further includes a diode and a first capacitor connected in parallel. The cathode of the diode is electrically connected to the first component pin of the functional component. The anode of the diode is electrically connected to the second end of the first switching transistor and the second component pin of the functional component respectively through a wire. The first component pin is also electrically connected to the first external power supply.
[0012] In some embodiments, the fault detection circuit further includes a first resistor. One end of the first resistor is electrically connected to the control pin, and the other end of the first resistor is electrically connected to the first end of the first switching transistor.
[0013] In some embodiments, the fault detection circuit further includes a second resistor and a third resistor. One end of the second resistor is electrically connected to the control pin, and the other end of the second resistor is grounded. One end of the third resistor is electrically connected to the third end of the first switching transistor, and the other end of the third resistor is grounded.
[0014] In some embodiments, the fault detection circuit further includes a fourth resistor and a fifth resistor. One end of each of the fourth resistor and the fifth resistor is electrically connected to the current output terminal of the current amplifier. The other end of the fourth resistor is electrically connected to the detection pin, and the other end of the fifth resistor is grounded.
[0015] In some embodiments, the fault detection circuit further includes a second capacitor. One end of the second capacitor is electrically connected to the detection pin, and the other end of the second capacitor is electrically connected to the first end of the second switching transistor.
[0016] In some embodiments, the fault detection circuit further includes a wireless chip. The wireless chip includes a power pin, a ground pin, a first wireless pin, and a second wireless pin. The controller further includes a first data pin and a second data pin. The first data pin is electrically connected to the first wireless pin, the second data pin is electrically connected to the second wireless pin, the power pin is electrically connected to the second external power supply, and the ground pin is grounded.
[0017] In some embodiments, the fault detection circuit further includes a sixth resistor and a third capacitor. One end of the sixth resistor is electrically connected to the power pin, the other end of the sixth resistor is electrically connected to one end of the third capacitor, and the other end of the third capacitor is grounded.
[0018] In a second aspect, an embodiment of the present application provides an intelligent cover plate, including the fault detection circuit in the first aspect.
[0019] In a third aspect, an embodiment of the present application provides an intelligent toilet, including the fault detection circuit in the first aspect or the intelligent cover plate in the second aspect.
[0020] The present application provides a fault detection circuit, an intelligent cover plate, and an intelligent toilet. Among them, the fault detection circuit includes: a controller, which includes a detection pin and a control pin; a first switching tube, the first end of the first switching tube is electrically connected to the control pin, the second end of the first switching tube is electrically connected to a functional component in the intelligent toilet, the controller outputs a control signal to the first switching tube through the control pin, and when the first switching tube is turned on, the second end of the first switching tube outputs a control signal to the functional component to enable the functional component to work; a current amplifier, the third end of the first switching tube is electrically connected to the current input end of the current amplifier, the current output end of the current amplifier is electrically connected to the detection pin, when the functional component works, the current input end receives an electrical signal from the third end of the first switching tube, and outputs an amplified electrical signal to the controller through the current output end; wherein, the controller counts based on the amplified electrical signal. The present application can accurately know the actual usage times of the functional component, thereby reducing the maintenance difficulty and failure rate of the intelligent toilet. Description of the Drawings
[0021] Figure 1 is a schematic circuit structure diagram of a water pump fault detection circuit provided by an embodiment of the present application;
[0022] Figure 2 is a schematic structure diagram of a controller provided by an embodiment of the present application;
[0023] Figure 3 is a schematic structure diagram of a current amplifier provided by an embodiment of the present application;
[0024] Figure 4 is a schematic circuit structure diagram of a deodorization fault detection circuit provided by another embodiment of the present application;
[0025] Figure 5 is a schematic chip circuit structure diagram of a wireless chip provided by another embodiment of the present application;
[0026] Reference numerals: controller 110, first switching tube 120, current amplifier 130, voltage stabilizing tube 140, second switching tube 150, diode 161, first capacitor 162, first resistor 163, second resistor 164, third resistor 165, fourth resistor 166, fifth resistor 167, second capacitor 168, wireless chip 170, sixth resistor 181, third capacitor 182. Detailed implementation manners
[0027] In the description of the present application, it should be understood that for the orientation description, such as the orientation or positional relationship indicated by up, down, front, back, left, right, etc., it is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the embodiments of the present application.
[0028] It should be understood that in the description of the embodiments of the present application, the meaning of several is more than one, the meaning of multiple (or multiple items) is more than two, greater than, less than, exceeding, etc. are understood as not including the present number, above, below, within, etc. are understood as including the present number. If there is a description of "first", "second", etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features or implicitly indicating the sequence relationship of the indicated technical features.
[0029] In the description of the embodiments of the present application, unless otherwise clearly defined, words such as setting, installing, connecting, etc. should be understood in a broad sense. Those skilled in the art can reasonably determine the specific meanings of the above words in the embodiments of the present application in combination with the specific content of the technical solution.
[0030] In the description of the present application, the description with reference to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0031] The intelligent toilet is a sanitary device that combines modern technology and convenience. It is usually equipped with various intelligent functions to provide a more comfortable and convenient user experience. Multiple functional components such as water pumps and deodorizing devices are arranged inside the intelligent toilet to realize various functions of the intelligent toilet such as flushing and deodorizing. However, each functional component has a usage limit. When the functional component reaches a certain number of usage times, it is prone to failure, thereby affecting the use of the intelligent toilet.
[0032] In the related art, the service life of the functional component can only be obtained through theoretical calculation, and the actual number of usage times of each functional component cannot be accurately known. Therefore, the staff cannot predict potential failure problems of the functional component, resulting in difficulties in maintaining the intelligent toilet and a high failure rate.
[0033] The following will further elaborate on the embodiments of the present application in conjunction with Figures 1 to 5 , where each structure is Figures 1 to 5 mentioned in
[0034] The embodiments of the present application provide a fault detection circuit, an intelligent cover plate, and an intelligent toilet. As Figure 1 shown, Figure 1 is a schematic circuit diagram of a water pump fault detection circuit provided by an embodiment of the present application. Among them, the fault detection circuit includes:
[0035] A controller 110, the controller 110 includes a detection pin and a control pin;
[0036] A first switch tube 120, the first end of the first switch tube 120 is electrically connected to the control pin, the second end of the first switch tube 120 is electrically connected to a functional component in the intelligent toilet, and the controller 110 outputs a control signal to the first switch tube 120 through the control pin. When the first switch tube 120 is turned on, the second end of the first switch tube 120 outputs a control signal to the functional component to make the functional component work;
[0037] A current amplifier 130, the third end of the first switch tube 120 is electrically connected to the current input end of the current amplifier 130, and the current output end of the current amplifier 130 is electrically connected to the detection pin. When the functional component works, the current input end receives an electrical signal from the third end of the first switch tube 120 and outputs an amplified electrical signal to the controller 110 through the current output end;
[0038] Among them, the controller 110 counts based on the amplified electrical signal.
[0039] In some embodiments, the controller 110 is used to drive each unit in the circuit and send relevant control information to each unit, or receive information fed back from each unit. The controller 110 can be a microcontroller 110, a programmable logic controller 110, etc., and can be specifically set according to actual situations, and the embodiments of the present application do not make limitations.
[0040] Among them, different detection pins and control pins of the controller 110 are used to connect to different functional components to realize different functions of the intelligent toilet. For example, as Figure 2 shown, Figure 2FIG. 0 is a schematic structural diagram of a controller 110 provided by an embodiment of the present application. The controller 110 includes a plurality of detection pins: a drying fan detection pin (1 / IO1 pin), a water pump detection pin (2 / IO2 pin), a deodorization detection pin (3 / IO3 pin), a water inlet valve detection pin (4 / IO4 pin), a foam shield detection pin (5 / IO5 pin), an air pump detection pin (6 / IO6 pin), a 7 / IO7 pin, and an 8 / IO8 pin. Additionally, the controller 110 includes a plurality of control pins: a drying fan control pin (20 / IO20 pin), a water pump control pin (19 / IO19 pin), a deodorization control pin (18 / IO18 pin), a water inlet valve control pin (17 / IO17 pin), a foam shield control pin (16 / IO16 pin), an air pump control pin (15 / IO15 pin), a 14 / IO14 pin, and a 13 / IO13 pin. Among them, the 7 / IO7 pin, 8 / IO8 pin, 14 / IO14 pin, and 13 / IO13 pin can be connected to other functional components according to actual situations to achieve more functions of the intelligent toilet. Additionally, the 10 / IO10 pin of the controller 110 is grounded, and the 11 / IO11 pin of the controller 110 is connected to an external power supply. The power size of the external power supply can be +5 volts (V).
[0041] Among them, the functional components are used to implement different functions of the intelligent toilet. For example, the functional component can be a water pump to achieve the flushing function of the intelligent toilet, or a deodorization device to achieve the deodorization function of the intelligent toilet, or a drying fan to achieve the drying function of the intelligent toilet. Of course, the functional component can also be other components that can achieve the functions required by the intelligent toilet, such as a water inlet valve control component, an air pump, etc., which can be specifically set according to actual situations, and the embodiments of the present application do not make specific limitations. The functional component is connected to the first switching tube 120 through the terminal CN1.
[0042] It should be noted that the controller 110 can be connected to only one functional component, or can be connected to a plurality of functional components through a plurality of detection pins, control pins (as shown in Figure 2 ), and the connection order of each functional component to each pin in the controller 110 can also be set according to actual situations, Figure 2 which is only for illustrative purposes and does not make specific limitations.
[0043] Furthermore, the first switching transistor 120 can be a transistor based on Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET, simply referred to as MOS transistor) technology. Among them, the MOS transistor includes three poles, a channel, and a substrate: the drain D, the end where carriers leave; the source S, the carrier emission end; the gate G, the pin that controls the conduction or cutoff of the MOS transistor; the channel: the conductive channel formed between D and S; the substrate, which provides electrons to the channel or takes electrons from the channel and is connected to the source.
[0044] Furthermore, when the first switching transistor 120 is a MOS transistor, the first end of the first switching transistor 120 is the gate of the MOS transistor, the second end of the first switching transistor 120 is the drain of the MOS transistor, and the third end of the first switching transistor 120 is the source of the MOS transistor. Further, the first switching transistor 120 can be an N-channel MOSFET: when the gate voltage is positive relative to the source voltage, an N-channel will be induced on the P-type substrate, thus enabling conduction between the drain and the source; the first switching transistor 120 can also be a P-channel MOSFET: contrary to the N-channel MOSFET, when the gate voltage is negative relative to the source voltage, a P-channel will be induced on the N-type substrate, thus achieving conduction.
[0045] It should be noted that when a positive voltage is applied between the gates and sources of different MOS transistors, the current flow directions are different. Based on the type of the selected triode, the different ends of the triode can be specifically connected according to the current flow direction when the voltage is applied. This operation is a common technical means for those skilled in the art and will not be elaborated here. In addition, the first switching transistor 120 can also be other switching control components with three-terminal pins. The specific selection type of the first switching transistor 120 can be set according to the actual situation, and the embodiments of the present application do not make any limitations.
[0046] Furthermore, as Figure 1 shown, when the first switching transistor 120 receives a control signal from the controller 110 and conducts, the control signal will be transmitted from the first end of the first switching transistor 120 to the second end of the first switching transistor 120. Then, it controls the functional component to enter the corresponding working state. For example, when the water pump receives this control signal, it enters the flushing state.
[0047] Among them, the current amplifier 130 is used to enhance the input signal intensity through a preset signal to make up for the signal loss during the transmission of the current in the circuit or due to environmental and other factors, ensuring that the relevant signals can be transmitted to the controller 110 smoothly, stably, and accurately, meeting the control requirements of the intelligent toilet-related system.
[0048] Further, as Figure 3 shown, Figure 3 is a schematic structural diagram of a current amplifier 130 provided by an embodiment of the present application. Among them, the current amplifier 130 includes a resistor (R), a triode (Q), an operational amplifier (OA), a first current input terminal (V SENSE+ ), a second current input terminal (V SENSE- ), and a current output terminal (I OUT ); Figure 1 In SENSE+ , the VI N+ terminal of the current amplifier 130 is equivalent to the V SENSE- terminal, the VI N- terminal is equivalent to the V OUT terminal, and the OUT terminal is equivalent to the I
[0049] Further, since a digital signal processing circuit and a device capable of performing a counting function (such as a counter) are integrated in the controller 110, when the amplified electrical signal is input to the controller 110, the controller 110 can compare it with a preset ideal current value. If the magnitude of the amplified electrical signal is within the ideal value range, the controller 110 will perform a counting process. For example, the controller 110 sends a control signal through the water pump control pin to drive the water pump into the working state. At this time, the current amplifier 130 feeds back the amplified electrical signal to the controller 110 through the detection pin. If the magnitude of the amplified electrical signal received by the controller 110 is a, and the value of a is within the preset range A, then the controller 110 increments the usage count of the water pump by 1.
[0050] Further, the current amplifier 130 can also be a component only including an operational amplifier structure, which can be specifically set according to the actual situation, and the embodiments of the present application do not limit this.
[0051] It can be understood that each functional component has a service life. Currently, the service life of functional components can only be speculated theoretically. For example, assuming that a user uses the water pump in a smart toilet 20 times a day and the water pump has a service life of 50,000 times, then through speculation, it can be roughly calculated that the performance of the water pump will degrade significantly after about 6.8 years, that is, it is very likely that it cannot be used continuously. In fact, the usage frequencies of water pumps by different users are different. The service life of the water pump obtained in this way of inference is too ideal, and the number of times the water pump is used cannot be accurately known, which affects the accuracy of predicting the failure time of the smart toilet. Maintenance personnel cannot repair the smart toilet in time, resulting in a high failure rate of the smart toilet. However, the controller 110 in the embodiment of the present application can count through the amplified electrical signal to accurately know the number of times the functional component is used. When the number of times of use approaches the preset usage threshold, a warning is sent to the user or maintenance personnel, thereby reducing the failure rate of the smart toilet.
[0052] Further, as Figure 4 shown, Figure 4 is a schematic circuit diagram of a deodorization fault detection circuit provided by another embodiment of the present application. Among them, the first end of the first switch tube 120 in the deodorization fault detection circuit is electrically connected to the deodorization control pin of the controller 110, and the first end of the second switch tube 150 and the current output end of the current amplifier 130 are both electrically connected to the deodorization detection pin. Figure 4 The circuit structure of Figure 1 is similar to that of Figure 4 For the sake of easy understanding, Figure 1 the reference numerals of the components in
[0053] Further, multiple functional components in the smart toilet can also be electrically connected to the controller 110 through a fault detection circuit similar to Figure 1 and Figure 4 to accurately record the specific number of times each functional component is used while controlling the working state of each functional component. The structural introduction of the corresponding fault detection circuit for each functional component is the same as that for Figure 1Similar to the introduction above, it will not be elaborated here.
[0054] In some embodiments, the fault detection circuit further includes a voltage stabilizing and current limiting unit. The voltage stabilizing and current limiting unit includes a voltage stabilizing diode 140 and a second switching transistor 150. The first terminal (K terminal) of the voltage stabilizing diode 140 is electrically connected to the first terminal of the first switching transistor 120. The second terminal (G terminal) of the voltage stabilizing diode 140 is electrically connected to the current input terminal of the current amplifier 130. The first terminal of the second switching transistor 150 is electrically connected to the detection pin. The second terminal of the second switching transistor 150 is electrically connected to the third terminal (A terminal) of the voltage stabilizing diode 140. The controller 110 outputs a voltage stabilizing signal to the second switching transistor 150 through the detection pin. When the second switching transistor 150 is turned on, the second switching transistor 150 outputs a voltage stabilizing signal to the functional component, so that the functional component operates based on the control signal and the voltage stabilizing signal.
[0055] Such as Figure 1 As shown, the fault detection circuit further includes a voltage stabilizing and current limiting unit composed of the second switching transistor 150 and the voltage stabilizing diode 140. Among them, the second switching transistor 150 can be an NPN-type triode. An NPN-type triode refers to a triode composed of two N-type semiconductors sandwiching a P-type semiconductor in the middle, which can amplify weak electrical signals and also control the on / off of electrical signals. In Figure 1 it, the first terminal of the second switching transistor 150 is the base (B terminal), the second terminal of the second switching transistor 150 is the collector (C terminal), and the third terminal of the second switching transistor 150 is the emitter (E terminal).
[0056] Furthermore, the second switching transistor 150 can also be a PNP-type triode. The PNP-type triode also includes a collector, a base, and an emitter. The difference is that when a positive voltage is applied between the base and the emitter of the NPN-type triode, current will flow from the collector to the emitter; while when a positive voltage is applied between the base and the emitter of the PNP-type triode, current will flow from the emitter to the collector. Therefore, based on the different types of triodes selected, the different terminals of the triode can be specifically connected according to the direction of current flow when a voltage is applied. This operation is a common technical means for those skilled in the art and will not be elaborated here.
[0057] It should be noted that an N-type semiconductor is also called an electron-type semiconductor, that is, an impurity semiconductor in which the free electron concentration is much greater than the hole concentration; a P-type semiconductor is also called a hole-type semiconductor, which is a semiconductor that conducts electricity mainly by positively charged holes. And the second switching transistor 150 can also be specifically selected according to the actual situation. The embodiments of the present application do not limit the specific type of the second switching transistor 150.
[0058] Further, when the second switching transistor 150 is turned on, an electrical signal will be transmitted through the second terminal of the second switching transistor 150 to the voltage regulator diode 140 to enable the voltage regulator diode 140 to enter the working state. At this time, regardless of how the input voltage or the load current changes, the voltage regulator diode 140 can provide a constant and stable output voltage in the fault detection circuit. For example, the model of the voltage regulator diode 140 can be AZ431. Of course, voltage regulator diodes 140 of different models can also be used according to different actual situations, and the embodiments of the present application do not limit this.
[0059] Further, when the controller 110 predicts that a corresponding functional component may malfunction through the electrical signal amplified by the current amplifier 130, the controller 110 first stops sending control signals outward through the control pin to avoid damaging the functional component or causing serious heating thereof due to excessive current when restarting the corresponding functional component; then, the controller 110 will output a voltage stabilizing signal through the detection pin and transmit it to the voltage regulator diode 140 through the second switching transistor 150, so that the functional component starts to operate with a stable current first; after a period of time, a control signal is sent again through the control pin of the controller 110, so that the functional component works based on the control signal and the voltage stabilizing signal; after another period of time, the controller 110 stops outputting the voltage stabilizing signal through the detection pin, and the controller 110 determines the amplified electrical signal received again. If the electrical signal is normal, it is counted. If the electrical signal is still abnormal, it is determined as a malfunction, and the controller 110 can report the malfunction to a higher-level controller 110. In this way, when a functional component of the intelligent toilet malfunctions, transient malfunctions and external factor interferences are eliminated through voltage stabilizing restart, the accuracy of fault diagnosis is improved, and the relevant system of the intelligent toilet is reported in a timely manner when a malfunction problem occurs, improving the efficiency of fault troubleshooting.
[0060] As Figure 1 shown, the fault detection circuit further includes a diode 161 and a first capacitor 162 connected in parallel. The cathode of the diode 161 is electrically connected to the first component pin of the functional component, and the anode of the diode 161 is electrically connected to the second terminal of the first switching transistor 120 and the second component pin of the functional component respectively through wiring, and the first component pin is also electrically connected to a first external power supply.
[0061] Further, the fault detection circuit further includes a second capacitor 168. One end of the second capacitor 168 is electrically connected to the detection pin, and the other end of the second capacitor 168 is electrically connected to the first terminal of the second switching transistor 150.
[0062] Among them, the diode 161 can be a rectifier diode 161, a voltage regulator diode 161, a photodiode 161 or other types of diodes 161. The specific type of the diode 161 can be set according to the actual situation, and the embodiments of the present application do not limit this.
[0063] Among them, the first capacitor 162 and the second capacitor 168 can be capacitors of types such as electrolytic capacitors, ceramic capacitors, or solid electrolytic capacitors. The specific types of the first capacitor 162 and the second capacitor 168 can be set according to actual situations, and the embodiments of the present application do not impose limitations thereon.
[0064] Further, the diode 161 and the first capacitor 162 connected in parallel can filter out the noise interference in the fault detection circuit, thereby improving the performance, stability, and reliability of the fault detection circuit. Of course, the diode 161 and the first capacitor 162 can also be connected in series, and the embodiments of the present application do not impose limitations thereon.
[0065] In addition, in the embodiments of the present application, the power supply magnitude of the first external power supply connected is +12V. The power supply magnitude of the first external power supply can be adaptively adjusted according to actual situations, and the embodiments of the present application do not impose specific limitations thereon.
[0066] Further, the fault detection circuit further includes a first resistor 163. One end of the first resistor 163 is electrically connected to the control pin, and the other end of the first resistor 163 is electrically connected to the first end of the first switching tube 120.
[0067] Further, the fault detection circuit further includes a second resistor 164 and a third resistor 165. One end of the second resistor 164 is electrically connected to the control pin, the other end of the second resistor 164 is grounded, one end of the third resistor 165 is electrically connected to the third end of the first switching tube 120, and the other end of the third resistor 165 is grounded.
[0068] Further, the fault detection circuit further includes a fourth resistor 166 and a fifth resistor 167. One end of each of the fourth resistor 166 and the fifth resistor 167 is electrically connected to the current output terminal of the current amplifier 130. The other end of the fourth resistor 166 is electrically connected to the detection pin, and the other end of the fifth resistor 167 is grounded.
[0069] Among them, the first resistor 163, the second resistor 164, the third resistor 165, the fourth resistor 166, and the fifth resistor 167 can be metal oxide resistors, wire-wound resistors, or adjustable resistors. Their specific resistor types can be set according to actual situations, and moreover, the resistor types of the first resistor 163, the second resistor 164, the third resistor 165, the fourth resistor 166, and the fifth resistor 167 can be the same or different from each other, and the embodiments of the present application do not impose limitations thereon.
[0070] In the embodiments of the present application, by setting multiple resistors, the current flowing through the fault detection circuit is restricted to protect other components in the fault detection circuit from overcurrent damage, and to adjust the voltage, power distribution, and stability of the circuit, thereby ensuring the normal operation of the entire electronic system.
[0071] Such asFigure 5 As shown Figure 5 is a schematic diagram of the chip circuit structure of the wireless chip 170 provided by another embodiment of the present application. Among them, the fault detection circuit further includes the wireless chip 170. The wireless chip 170 includes a power supply pin, a ground pin, a first wireless pin, and a second wireless pin; the controller 110 further includes a first data pin and a second data pin. The first data pin is electrically connected to the first wireless pin, the second data pin is electrically connected to the second wireless pin, the power supply pin is electrically connected to the second external power supply, and the ground pin is grounded.
[0072] As Figure 5 shown, pin 1 of the wireless chip 170 is the power supply pin, pin 2 of the wireless chip 170 is the ground pin, pin 3 (RXD pin) of the wireless chip 170 is the first wireless pin, and pin 4 (TXD pin) of the wireless chip 170 is the second wireless pin; as Figure 2 shown, pin 12 (IO12 pin) of the controller 110 is the first data pin, and pin 9 (IO9 pin) of the controller 110 is the second data pin.
[0073] Further, the wireless chip 170 can be arranged in the wireless module to receive the information transmitted by the controller 110 and send it to the cloud associated with the wireless module for subsequent data processing operations.
[0074] In addition, in the embodiment of the present application, the power supply magnitude of the second external power supply connected is +5V, and the power supply magnitude of the second external power supply can be adaptively adjusted according to the actual situation. The embodiment of the present application does not make specific limitations on this.
[0075] Further, the fault detection circuit further includes a sixth resistor 181 and a third capacitor 182. One end of the sixth resistor 181 is electrically connected to the power supply pin, the other end of the sixth resistor 181 is electrically connected to one end of the third capacitor 182, and the other end of the third capacitor 182 is grounded. It should be noted that the embodiment of the present application does not limit the specific types of the sixth resistor 181 and the third capacitor 182.
[0076] Further, as Figure 5 shown, the fault detection circuit can also be provided with a seventh resistor (R5) and a fourth capacitor (C4). One end of the seventh resistor is electrically connected to the power supply pin, the other end of the seventh resistor is electrically connected to one end of the fourth capacitor, and the other end of the fourth capacitor is grounded.
[0077] Further, as Figure 5 shown, the fault detection circuit can also be provided with an eighth resistor (R8) and a ninth resistor (R9) to protect the wireless chip 170 and the controller 110 from being damaged by overcurrent and ensure the stability of the fault detection circuit.
[0078] In addition, according to actual needs, more resistors, capacitors, diodes 161, etc. for protecting the circuit safety can also be provided in the fault detection circuit. The types and quantities of such components are not limited in the embodiments of the present application.
[0079] In some embodiments, the present application further provides an intelligent cover plate, which can be a toilet seat or a toilet lid connected to the intelligent toilet body. The fault detection circuit proposed in the embodiments of the present application can be provided on the intelligent cover plate to realize the fault detection of related functional components.
[0080] In some embodiments, the present application further provides an intelligent toilet, which includes an intelligent toilet body, a toilet seat and a toilet lid. The above-mentioned fault detection circuit can be provided in the intelligent toilet to realize the fault detection of related functional components.
[0081] It should also be understood that the various embodiments provided in the embodiments of the present application can be combined arbitrarily to achieve different technical effects.
[0082] The above is a specific description of the preferred embodiments of the present application, but the present application is not limited to the above embodiments. Those skilled in the art can also make various equivalent deformations or substitutions without departing from the spirit of the present application, and these equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A fault detection circuit, characterized in that, Including: A controller, the controller includes a detection pin and a control pin; A first switching tube, a first end of the first switching tube is electrically connected to the control pin, a second end of the first switching tube is electrically connected to a functional component in the intelligent toilet, the controller outputs a control signal to the first switching tube through the control pin, when the first switching tube is turned on, the second end of the first switching tube outputs the control signal to the functional component to make the functional component work; A current amplifier, a third end of the first switching tube is electrically connected to a current input end of the current amplifier, a current output end of the current amplifier is electrically connected to the detection pin, when the functional component works, the current input end receives an electrical signal from the third end of the first switching tube, and outputs an amplified electrical signal to the controller through the current output end; Wherein, the controller counts based on the amplified electrical signal.
2. The fault detection circuit according to claim 1, wherein The fault detection circuit further includes a voltage stabilizing and current limiting unit, the voltage stabilizing and current limiting unit includes a voltage stabilizing diode and a second switching tube, a first end of the voltage stabilizing diode is electrically connected to the first end of the first switching tube, a second end of the voltage stabilizing diode is electrically connected to the current input end of the current amplifier, a first end of the second switching tube is electrically connected to the detection pin, a second end of the second switching tube is electrically connected to a third end of the voltage stabilizing diode; the controller outputs a voltage stabilizing signal to the second switching tube through the detection pin, when the second switching tube is turned on, the second switching tube outputs the voltage stabilizing signal to the functional component to make the functional component work based on the control signal and the voltage stabilizing signal.
3. The fault detection circuit according to claim 1, wherein The fault detection circuit further includes a diode and a first capacitor connected in parallel, a cathode of the diode is electrically connected to a first component pin of the functional component, an anode of the diode is electrically connected to the second end of the first switching tube and a second component pin of the functional component respectively through a wire, and the first component pin is also electrically connected to a first external power supply.
4. The fault detection circuit according to claim 1, wherein The fault detection circuit further includes a first resistor, one end of the first resistor is electrically connected to the control pin, and the other end of the first resistor is electrically connected to the first end of the first switching tube.
5. The fault detection circuit according to claim 1, wherein The fault detection circuit further includes a second resistor and a third resistor, one end of the second resistor is electrically connected to the control pin, the other end of the second resistor is grounded, one end of the third resistor is electrically connected to the third end of the first switching tube, and the other end of the third resistor is grounded.
6. The fault detection circuit according to claim 1, wherein The fault detection circuit further includes a fourth resistor and a fifth resistor, one ends of the fourth resistor and the fifth resistor are both electrically connected to the current output end of the current amplifier, the other end of the fourth resistor is electrically connected to the detection pin, and the other end of the fifth resistor is grounded.
7. The fault detection circuit according to claim 2, wherein The fault detection circuit further includes a second capacitor, one end of the second capacitor is electrically connected to the detection pin, and the other end of the second capacitor is electrically connected to the first end of the second switching tube.
8. The fault detection circuit according to claim 1, wherein, The fault detection circuit further includes a wireless chip, and the wireless chip includes a power supply pin, a ground pin, a first wireless pin, and a second wireless pin; the controller further includes a first data pin and a second data pin, the first data pin is electrically connected to the first wireless pin, the second data pin is electrically connected to the second wireless pin, the power supply pin is electrically connected to a second external power supply, and the ground pin is grounded.
9. The fault detection circuit according to claim 8, wherein, The fault detection circuit further includes a sixth resistor and a third capacitor. One end of the sixth resistor is electrically connected to the power supply pin, the other end of the sixth resistor is electrically connected to one end of the third capacitor, and the other end of the third capacitor is grounded.
10. An intelligent cover plate, characterized in that, Comprising the fault detection circuit according to any one of claims 1 to 9.
11. An intelligent toilet, characterized in that, Comprising the fault detection circuit according to any one of claims 1 to 9, or the intelligent cover plate according to claim 10.