CN109217451B - USB interface circuit for intelligent toilet - Google Patents
USB interface circuit for intelligent toilet Download PDFInfo
- Publication number
- CN109217451B CN109217451B CN201811318097.5A CN201811318097A CN109217451B CN 109217451 B CN109217451 B CN 109217451B CN 201811318097 A CN201811318097 A CN 201811318097A CN 109217451 B CN109217451 B CN 109217451B
- Authority
- CN
- China
- Prior art keywords
- usb
- usb female
- circuit
- female socket
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 15
- 229910052744 lithium Inorganic materials 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 14
- 230000000087 stabilizing effect Effects 0.000 claims description 6
- NJPPVKZQTLUDBO-UHFFFAOYSA-N novaluron Chemical compound C1=C(Cl)C(OC(F)(F)C(OC(F)(F)F)F)=CC=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F NJPPVKZQTLUDBO-UHFFFAOYSA-N 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J9/00—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
- H02J9/04—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/665—Structural association with built-in electrical component with built-in electronic circuit
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/66—Structural association with built-in electrical component
- H01R13/70—Structural association with built-in electrical component with built-in switch
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B70/00—Technologies for an efficient end-user side electric power management and consumption
- Y02B70/30—Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S20/00—Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
- Y04S20/20—End-user application control systems
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Power Engineering (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Selective Calling Equipment (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention provides a USB interface circuit for an intelligent toilet, which comprises a first USB interface circuit arranged on a toilet host; the first USB interface circuit comprises a USB female socket, a boost circuit, a current limiting circuit, an input-output switching relay and a main board socket for connecting a main board of a host; the power supply end of the host mainboard 12V is connected to two ends of a relay coil, when the host mainboard supplies power normally, the relay communicates a power supply pin of the USB female socket with the output end of the current limiting circuit, and the 5V power supply is powered outwards through the USB female socket after current limiting; when the host mainboard is powered off, the relay communicates the power pin of the USB female socket with the input end of the booster circuit, and an external power supply forms 5V voltage through the USB female socket and the booster circuit to supply power to the host mainboard. According to the USB interface circuit for the intelligent toilet, when the toilet main unit is powered off, other equipment can be used for supplying power to the toilet main unit.
Description
Technical Field
The invention relates to a USB circuit, in particular to a USB interface circuit of an intelligent toilet.
Background
When the traditional intelligent toilet is produced and debugged, on-line real-time simulation debugging of a host program is difficult to achieve due to the power supply problem of a programming development tool. Similarly, when the program is burned to the main machine main board of the intelligent toilet, the purpose of off-line burning of the program cannot be achieved due to the power supply problem of the intelligent toilet. And, when the intelligent toilet is in use, once faults such as power failure occur, the intelligent toilet cannot be used, so that the embarrassment that a user cannot flush after finishing the toilet is caused.
Disclosure of Invention
The invention aims to solve the main technical problem of providing a USB interface circuit for an intelligent toilet, which can be powered by other equipment when a host of the intelligent toilet is powered off.
In order to solve the technical problems, the invention provides a USB interface circuit for an intelligent toilet, which comprises a first USB interface circuit arranged on a host of the intelligent toilet;
The first USB interface circuit comprises a USB female socket, a boost circuit, a current limiting circuit, an input-output switching relay and a main board socket for connecting a main board of a host; the power supply end of the host mainboard 12V is connected to two ends of a relay coil, when the host mainboard supplies power normally, the relay communicates a power supply pin of the USB female socket with the output end of the current limiting circuit, and the 5V power supply is powered outwards through the USB female socket after current limiting; when the host mainboard is powered off, the relay communicates the power pin of the USB female socket with the input end of the booster circuit, and an external power supply forms 5V voltage through the USB female socket and the booster circuit to supply power to the host mainboard.
In a preferred embodiment: when the host mainboard supplies power normally and the USB female socket is connected with the programming development tool, the USB female socket outputs 5V voltage to supply power to the programming development tool.
In a preferred embodiment: when the host mainboard is powered off and the USB female socket is connected with the program burning tool, the program burning tool outputs 5V voltage to supply power to the host mainboard through the USB female socket, and the data transmission end D-, D+ of the USB female socket is kept connected with the data transmission end D-, D+ of the host mainboard.
In a preferred embodiment: when the host mainboard supplies power normally and the USB female socket is connected with the charging equipment, the USB female socket outputs 5V voltage to charge the charging equipment.
In a preferred embodiment: a diode D1 is connected between the 5V voltage input end of the host mainboard and the output end of the booster circuit, so that 5V voltage generated by mains supply cannot be output to the booster circuit through the diode, and 5V voltage output by the booster circuit is output to the 5V voltage input end of the host mainboard through the diode.
In a preferred embodiment: the remote controller also comprises a second USB interface circuit arranged on the remote controller;
the second USB interface circuit comprises a micro-USB female seat, a charging management circuit, a lithium battery remote controller main board and a voltage stabilizing circuit; the data transmission end D-, D+ of the micro-USB master seat is connected with the data transmission end D-, D+ of the remote controller main board;
the charging management circuit, the lithium battery and the voltage stabilizing circuit are sequentially connected between the micro-USB female seat 5V voltage input end and the 3.3V voltage input end of the remote controller main board.
In a preferred embodiment: when the electric quantity of the lithium battery is low, and the micro-USB female seat is connected with the USB female seat of the first USB interface circuit, the 5V voltage input by the USB female seat charges the lithium battery after passing through the charging management circuit.
In a preferred embodiment: when the lithium battery is charged, and the micro-USB female seat is connected with the USB female seat of the first USB interface circuit, the 3.3V voltage output by the micro-USB female seat supplies power to the host mainboard through the boosting module.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
The invention provides a USB interface circuit for an intelligent toilet, wherein an input-output switching relay and a boost circuit are arranged in a first USB interface circuit positioned on a host of the intelligent toilet, whether a host main board has 12V voltage input or not is detected through the relay, if yes, the host main board is judged to work normally, and the relay is communicated with a power pin of a USB female socket after a 5V power supply of the host main board is limited by the relay, so that the USB female socket outputs 5V voltage normally. If the power supply is not powered off, the host mainboard is judged to be powered off, and the relay is used for communicating the power supply pin of the USB female socket with the 5V voltage input interface of the host mainboard through the booster circuit, so that the 5V power supply can be provided for the host mainboard by using equipment such as a mobile phone, a remote controller and the like. Therefore, the intelligent toilet can avoid the situation that the intelligent toilet cannot flush when the power failure occurs.
Drawings
FIG. 1 is a circuit diagram of a first USB interface circuit in a preferred embodiment of the present invention;
FIG. 2 is a circuit diagram of a second USB interface circuit in a preferred embodiment of the present invention.
Detailed Description
In order to make the technical scheme of the invention clearer, the invention is further described in detail by combining an embodiment and the attached drawings:
Referring to fig. 1, a USB interface circuit for an intelligent toilet includes a first USB interface circuit provided on a main body of the intelligent toilet;
The first USB interface circuit comprises a host mainboard interface, a booster circuit and a USB female socket; the 12V power supply end of the host mainboard is connected to two ends of the input/output switching relay coil, when the host mainboard supplies power normally, the relay is switched to the NO end, the power supply pin of the USB female socket is communicated with the output end of the current limiting circuit, and the 5V power supply of the host mainboard supplies power to the USB female socket after passing through the current limiting circuit; when the host mainboard is powered off, the relay is switched to the NC end, the power supply pin of the USB female socket is communicated with the 5V voltage input interface of the host mainboard through the booster circuit, and an external power supply forms 5V voltage through the USB female socket and the booster module to supply power to the host mainboard;
In order to ensure that the 5V power generated by the mains supply cannot enter the boosting module, a diode D1 is connected between the 5V voltage input end of the host mainboard and the output end of the boosting circuit, so that the 5V voltage generated by the mains supply cannot be output to the boosting circuit through the diode, and the 5V voltage output by the boosting circuit is output to the 5V voltage input end of the host mainboard through the diode. Therefore, the boosting module is ensured not to act when the commercial power is normally supplied.
Specifically, the first USB interface circuit may implement the following functions:
1) When the host mainboard supplies power normally and the USB female socket is connected with the programming development tool, the USB female socket outputs 5V voltage to supply power to the programming development tool. At this time, the data transmission end D-, D+ of the USB female socket is kept connected with the data transmission end D-, D+ of the host motherboard. Therefore, the real-time connection of the programming development tool and the host mainboard can be ensured, and the purpose of online simulation debugging of the host program is realized.
2) When the host mainboard is powered off and the USB female socket is connected with the program burning tool, the program burning tool outputs 5V voltage to supply power to the host mainboard through the USB female socket, and the data transmission end D-, D+ of the USB female socket is kept connected with the data transmission end D-, D+ of the host mainboard. Therefore, the purpose of off-line burning of the host program can be achieved.
3) When the host mainboard supplies power normally and the USB female socket is connected with the charging equipment, the USB female socket outputs 5V voltage to charge the charging equipment. Therefore, the host mainboard becomes a large standby power supply for charging the mobile phone, the remote controller and other devices. The current limiting circuit can not only ensure that the charged equipment is not damaged due to overlarge current, too fast charging and the like, but also prevent the host mainboard from being damaged due to overlarge load or short circuit and the like of the external equipment.
4) When the main board of the host is powered off, the host stops working, the commercial power generates a 12V power supply to stop supplying power, and the relay is switched to the NC end. At the moment, the power can be obtained through the temporary power sources such as the external battery of the USB female socket, the charger and the like, and the power is supplied to the main machine main board through the built-in booster circuit, so that the problem that the intelligent toilet cannot be flushed when power is cut can be solved.
With further reference to fig. 2, in this embodiment, the remote controller further includes a second USB interface circuit disposed on the remote controller;
the second USB interface circuit comprises a micro-USB female seat, a charging management circuit, a lithium battery remote controller main board and a voltage stabilizing circuit; the data transmission end D-, D+ of the micro-USB master seat is connected with the data transmission end D-, D+ of the remote controller main board;
the charging management circuit, the lithium battery and the voltage stabilizing circuit are sequentially connected between the micro-USB female seat 5V voltage input end and the 3.3V voltage input end of the remote controller main board.
Specifically, the second USB interface circuit may implement the following functions:
1) When the electric quantity of the lithium battery is low, and the micro-USB female seat is connected with the USB female seat of the first USB interface circuit, the 5V voltage input by the USB female seat charges the lithium battery after passing through the charging management circuit.
2) When the lithium battery is charged, and the micro-USB female seat is connected with the USB female seat of the first USB interface circuit, the 3.3V voltage output by the micro-USB female seat supplies power to the host mainboard through the booster circuit.
According to the USB interface circuit for the intelligent toilet, the input-output switching relay and the boost circuit are arranged in the first USB interface circuit on the intelligent toilet host, whether the host mainboard has 12V voltage input or not is detected through the relay, if yes, the host mainboard is judged to work normally, and the relay is communicated with the power supply pin of the USB female socket after the 5V power supply of the host mainboard is limited, so that the USB female socket outputs 5V voltage normally. If the power supply is not powered off, the host mainboard is judged to be powered off, and the relay is used for communicating the power supply pin of the USB female socket with the 5V voltage input interface of the host mainboard through the booster circuit, so that the 5V power supply can be provided for the host mainboard by using equipment such as a mobile phone, a remote controller and the like. Therefore, the intelligent toilet can avoid the situation that the intelligent toilet cannot flush when the power failure occurs.
The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and those skilled in the art can easily think of the variations or technical scope of the present invention disclosed. Alternatives are intended to be within the scope of the invention. The scope of the invention should, therefore, be determined with reference to the appended claims.
Claims (3)
1. A USB interface circuit for intelligent toilet bowl, its characterized in that: the device comprises a first USB interface circuit arranged on a pedestal pan host;
The first USB interface circuit comprises a USB female socket, a boost circuit, a current limiting circuit, an input-output switching relay and a main board socket for connecting a main board of a host; the power supply end of the host mainboard 12V is connected to two ends of a relay coil, when the host mainboard supplies power normally, the relay communicates a power supply pin of the USB female socket with the output end of the current limiting circuit, and the 5V power supply is powered outwards through the USB female socket after current limiting; when the host mainboard is powered off, the relay communicates the power supply pin of the USB female socket with the input end of the booster circuit, and an external power supply forms 5V voltage through the USB female socket and the booster circuit to supply power to the host mainboard;
the remote controller also comprises a second USB interface circuit arranged on the remote controller;
The second USB interface circuit comprises a micro-USB female seat, a charging management circuit, a lithium battery, a remote controller main board and a voltage stabilizing circuit; the data transmission end D-, D+ of the micro-USB master seat is connected with the data transmission end D-, D+ of the remote controller main board;
the charging management circuit, the lithium battery and the voltage stabilizing circuit are sequentially connected between the 5V voltage input end of the micro-USB master seat and the 3.3V voltage input end of the remote controller main board;
when the electric quantity of the lithium battery is low and the micro-USB female seat is connected with the USB female seat of the first USB interface circuit, 5V voltage input by the USB female seat charges the lithium battery after passing through the charging management circuit;
When the lithium battery is charged, and the micro-USB female seat is connected with the USB female seat of the first USB interface circuit, the 3V voltage output by the micro-USB female seat supplies power to the host mainboard through the boosting module;
when the host mainboard supplies power normally and the USB female socket is connected with the programming development tool, the USB female socket outputs 5V voltage to supply power for the programming development tool;
When the host mainboard supplies power normally and the USB female socket is connected with the charging equipment, the USB female socket outputs 5V voltage to charge the charging equipment.
2. The USB interface circuit for an intelligent toilet according to claim 1, wherein: when the host mainboard is powered off and the USB female socket is connected with the program burning tool, the program burning tool outputs 5V voltage to supply power to the host mainboard through the USB female socket, and the data transmission end D-, D+ of the USB female socket is kept connected with the data transmission end D-, D+ of the host mainboard.
3. The USB interface circuit for an intelligent toilet according to claim 1, wherein: a diode D1 is connected between the 5V voltage input end of the host mainboard and the output end of the booster circuit, so that 5V voltage generated by mains supply cannot be output to the booster circuit through the diode, and 5V voltage output by the booster circuit is output to the 5V voltage input end of the host mainboard through the diode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811318097.5A CN109217451B (en) | 2018-11-07 | 2018-11-07 | USB interface circuit for intelligent toilet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811318097.5A CN109217451B (en) | 2018-11-07 | 2018-11-07 | USB interface circuit for intelligent toilet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109217451A CN109217451A (en) | 2019-01-15 |
CN109217451B true CN109217451B (en) | 2024-04-19 |
Family
ID=64994616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811318097.5A Active CN109217451B (en) | 2018-11-07 | 2018-11-07 | USB interface circuit for intelligent toilet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109217451B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025002A (en) * | 2009-09-23 | 2011-04-20 | 鸿富锦精密工业(深圳)有限公司 | Usb battery |
CN202798027U (en) * | 2012-05-17 | 2013-03-13 | 兰家林 | Bidirectional power supply circuit of single USB interface |
CN203350863U (en) * | 2013-06-18 | 2013-12-18 | 天津七一二通信广播有限公司 | Bootstrap loading program circuit based on USB interface |
CN203466583U (en) * | 2013-07-23 | 2014-03-05 | 厦门圣迪威电子科技有限公司 | Portable power source with card-reading and storage function |
CN105471040A (en) * | 2015-12-29 | 2016-04-06 | 郑州匠芯电子科技有限公司 | Multifunctional charger capable of being powered by alternating current of direct current |
CN206135456U (en) * | 2016-09-14 | 2017-04-26 | 北京小鸟看看科技有限公司 | Two -way USB power supply system |
CN107604994A (en) * | 2017-09-27 | 2018-01-19 | 江苏风潮科技有限公司 | Self-power generation type intellectual water closet |
CN208923907U (en) * | 2018-11-07 | 2019-05-31 | 越阳科技(厦门)有限公司 | Usb circuit for intellectual water closet |
-
2018
- 2018-11-07 CN CN201811318097.5A patent/CN109217451B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025002A (en) * | 2009-09-23 | 2011-04-20 | 鸿富锦精密工业(深圳)有限公司 | Usb battery |
CN202798027U (en) * | 2012-05-17 | 2013-03-13 | 兰家林 | Bidirectional power supply circuit of single USB interface |
CN203350863U (en) * | 2013-06-18 | 2013-12-18 | 天津七一二通信广播有限公司 | Bootstrap loading program circuit based on USB interface |
CN203466583U (en) * | 2013-07-23 | 2014-03-05 | 厦门圣迪威电子科技有限公司 | Portable power source with card-reading and storage function |
CN105471040A (en) * | 2015-12-29 | 2016-04-06 | 郑州匠芯电子科技有限公司 | Multifunctional charger capable of being powered by alternating current of direct current |
CN206135456U (en) * | 2016-09-14 | 2017-04-26 | 北京小鸟看看科技有限公司 | Two -way USB power supply system |
CN107604994A (en) * | 2017-09-27 | 2018-01-19 | 江苏风潮科技有限公司 | Self-power generation type intellectual water closet |
CN208923907U (en) * | 2018-11-07 | 2019-05-31 | 越阳科技(厦门)有限公司 | Usb circuit for intellectual water closet |
Also Published As
Publication number | Publication date |
---|---|
CN109217451A (en) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7781913B2 (en) | UPS having solar powered battery charger | |
CN203456897U (en) | Power supply switching circuit of handheld terminal and handheld terminal thereof | |
CN101576767B (en) | Main board power supply circuit | |
CA2736573A1 (en) | A usb charger, its switch control system and method, and a usb interface charger for a laptop | |
CN113437990B (en) | Chip detector | |
TW201301132A (en) | Battery simulation apparatus | |
CN111756086B (en) | Power bridging device and bridging method using mobile robot battery | |
CN101403943A (en) | Intelligent computer power supply integration system | |
CN109217451B (en) | USB interface circuit for intelligent toilet | |
CN208923907U (en) | Usb circuit for intellectual water closet | |
JP2014050228A (en) | Charging converter | |
CN108365749A (en) | A kind of direct current ATX power supplys | |
CN203014439U (en) | Automatic identification apparatus of charger | |
CN105207279A (en) | Charge and discharge circuit and mobile terminal | |
CN205377439U (en) | Mobile charging device | |
CN213751063U (en) | Control device of serial communication bus and electronic equipment | |
CN113745873A (en) | Adapter and charging system with Lightning female seat | |
CN111030269B (en) | Energy storage type peak shifting power consumption base station power supply system | |
CN209462558U (en) | A kind of power-off restoration device and earphone, speaker | |
CN204407944U (en) | The Function detection circuit of tool intelligence USB identification chip | |
CN112086830A (en) | Data line circuit communicating with Apple equipment | |
CN201994691U (en) | Universal power supplying and charging device integrating solar energy, AC, vehicle use and DC | |
CN104111851A (en) | Embedded system switching starter | |
CN110148999A (en) | A kind of adaptive switching switch of USB and battery dual power supply system | |
CN206727719U (en) | Data collection station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |