Disclosure of Invention
The utility model aims to overcome the defects in the prior art and provides a portable ultraviolet water treatment controller which is simple in structure and convenient to use.
A portable ultraviolet water treatment controller comprises an ultraviolet lamp circuit, a power supply circuit, a charging circuit, a booster circuit, a temperature measuring circuit, a key and terminal circuit and a main control chip; the main control chip is electrically connected with the charging circuit, the temperature measuring circuit, the booster circuit and the key and terminal circuit respectively; the charging circuit is also electrically connected with the power circuit; the booster circuit is also electrically connected with the key and the terminal circuit; the temperature measuring circuit is also electrically connected with the key and the terminal circuit; the key and terminal circuit is also electrically connected with the ultraviolet lamp circuit.
Further, the ultraviolet lamp circuit comprises an ultraviolet lamp, and the ultraviolet lamp is an ultraviolet LED lamp.
Further, the ultraviolet lamp circuit also comprises an LED lamp, wherein the LED lamp is an RG LED lamp and comprises a red part and a green part and is used for indicating the working state of the ultraviolet lamp.
Further, the temperature measuring circuit comprises a resistor R1; the resistor R1 is an NTC thermistor; the resistor R1 is disposed near the ultraviolet lamp.
Furthermore, the power supply circuit is used for supplying power to the ultraviolet lamp circuit and other circuits, and comprises a lithium battery; the power supply circuit further comprises an interface J2 and an interface J4, and the lithium battery is charged and discharged through the interface J2 and the interface J4.
Further, the interface J2 adopts a USB port; the interface J4 adopts a two-pin array, including a pin GND and a pin BT, wherein the pin GND is grounded, and the pin BT outputs a power supply voltage BAT.
Further, the charging circuit comprises a packaging chip U2, and the chip U2 adopts a TC4054B chip; the charging circuit further comprises resistors R3 and R4 and capacitors C2 and C6; the chip U2 comprises a first pin CHRG, a second pin GND, a third pin BAT, a fourth pin VCC, a fifth pin CHRGT and a sixth pin PROG; a pin CHRG I and a pin CHRGT V of the U2 are respectively connected with the main control chip; a second pin GND of the U2 is directly grounded, a third pin is connected with a second pin BT of an interface J4 of the power circuit, the third pin is also connected with a capacitor C2, and the other end of the capacitor C2 is grounded; a fourth pin VCC of the U2 is connected with a resistor R4, the other end of the resistor R4 is connected with a capacitor C6 and an interface J2, respectively, wherein the resistor R4 is connected with a second interface VBUS and/or a fifth interface VBUS of the interface J2; the other terminal of the capacitor C6 is connected to ground.
Further, the boost circuit comprises a chip U3, and the chip U3 adopts a boost chip B6288S; the chip U3 comprises a first pin SW, a second pin GND, a third pin FB, a fourth pin EN, a fifth pin VCC and a sixth pin NC; the booster circuit further comprises resistors R9-R11, capacitors C3 and C4, a diode D5 and an inductor L1; a first pin SW of the chip U3 is respectively connected with an anode of the diode D5 and one end of the inductor L1, and the other end of the inductor L1 is connected with a second pin BT of the interface J4; the cathode of the diode D5 is connected with a capacitor C3, a capacitor C4 and a resistor R10 respectively, wherein the capacitor C3 and the capacitor C4 are connected in parallel to the ground, and the other end of the resistor R10 is connected with a third pin FB of the chip U3; the third pin of the U3 is also connected with a resistor R11, and the other end of the resistor R11 is grounded; the second pin GND of the U3 is directly grounded; the fourth pin EN is connected with a resistor R9, and the other end of the resistor R9 is connected with the main control chip; a fifth pin VCC of the U3 is connected with a second pin BT of the interface J4; a sixth pin NC is in idle connection; the cathode of the diode D5 is used as the output of the boost circuit, and the output voltage is UVC +.
Further, the temperature measuring circuit comprises a chip U4; u4 adopts low dropout linear regulator PL 3500; the temperature measuring circuit also comprises a capacitor C7-9 and a resistor R7; a first pin Vin of the U4 is connected with a second pin BT of an interface J4 in the power circuit, the first pin Vin is also connected with a capacitor C8, and the other end of the capacitor C8 is grounded; the second pin GND is directly grounded; the third pin is connected with a resistor R7, the other end of the resistor R7 is respectively connected with a capacitor C7 and a main control chip, and the other end of the capacitor C7 is grounded; the third pin Vout is also connected with a capacitor C9, and the other end of the capacitor C9 is grounded; wherein, the two ends of the capacitor C7 are used as the output of the temperature measuring circuit, the grounding end of the capacitor C7 is used as NTC-output, and the end of the capacitor C7 connected with the R7 is used as NTC + output.
Furthermore, the ultraviolet lamp circuit is arranged on the first circuit board; the power supply circuit, the charging circuit, the boosting circuit, the temperature measuring circuit, the key and terminal circuit and the main control chip are arranged on the circuit board II; the ultraviolet lamp circuit further comprises an interface J1, the key and terminal circuit comprises an interface J5, and the interfaces J1 and J5 are respectively positioned on the first circuit board and the second circuit board; the interfaces J1 and J5 are connected by soft wires; the flexible wiring adopts FPC flexible flat cable.
The utility model has the beneficial effects that:
the output power is reduced by arranging the ultraviolet lamp with the LED lamp structure, and the power consumption requirement of the ultraviolet lamp can be met by a small-volume power supply;
by arranging the booster circuit, the voltage output by the power supply circuit can meet the requirement of the ultraviolet lamp;
the temperature measuring circuit is arranged, and the NTC thermistor R1 is arranged in the ultraviolet lamp circuit, wherein the resistor R1 is close to the ultraviolet lamp, so that the temperature near the resistor R1 can be detected, and when the temperature of the working environment of the ultraviolet lamp is too high, the ultraviolet lamp is turned off, and the ultraviolet lamp is prevented from being damaged due to too high temperature;
through the arrangement of the power supply circuit, the device can realize independent power supply, is convenient for a user to carry, and can realize ultraviolet disinfection work in an outdoor environment;
through setting up power supply circuit and including the lithium cell, set up charging circuit simultaneously, make the power can be recycled, guarantee the life of power.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The utility model is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The first embodiment is as follows:
as shown in fig. 1, a portable ultraviolet water treatment controller comprises an ultraviolet lamp circuit, a power supply circuit, a charging circuit, a booster circuit, a temperature measuring circuit, a key and terminal circuit and a main control chip. The main control chip is electrically connected with the charging circuit, the temperature measuring circuit, the booster circuit and the key and terminal circuit respectively; the charging circuit is also electrically connected with the power circuit; the booster circuit is also electrically connected with the key and the terminal circuit; the temperature measuring circuit is also electrically connected with the key and the terminal circuit; the key and terminal circuit is also electrically connected with the ultraviolet lamp circuit. It should be noted that in this example, the main control chip adopts the existing control method to control the circuits such as the ultraviolet lamp circuit.
As shown in fig. 2, the ultraviolet lamp circuit includes an ultraviolet lamp, in this example, an ultraviolet LED lamp with a wavelength band of 285nm is adopted, the ultraviolet LED lamp has a small size and is convenient to carry, and meanwhile, the power is also small, a small-size power supply can be arranged, and the portability is further ensured. The ultraviolet lamp circuit also includes an interface J1 and an LED lamp. The interface J1 is a flexible wire interface and comprises 8 interfaces including a first interface NTC, a second interface UVC +, a third interface UVC-, a fourth interface UVA +, a fifth interface UVA-, a sixth interface LED1, a seventh interface LED2 and an eighth interface BAT. The third interface UVC-is connected with a fourth pin of the ultraviolet lamp, the fourth interface UVA + is connected with a second pin of the ultraviolet lamp, the eighth interface BAT is connected with a third pin of the ultraviolet lamp, and the seventh interface LED2 is connected with a first pin of the ultraviolet lamp. The interface UVA-five is connected with a pin II of the LED lamp, the interface LED 1-six is connected with a pin III of the LED lamp, and the interface LED 2-seven is respectively connected with a pin I and a pin II of the LED lamp, wherein the LED lamp is an RG LED lamp in the present example, and comprises a red part and a green part which are used for indicating the working state of the ultraviolet lamp.
As shown in fig. 3, the power circuit is used for supplying power to the ultraviolet lamp circuit and other circuits, and the power circuit includes a lithium battery, wherein the lithium battery can provide higher voltage and has longer service life than a dry battery. The power supply circuit further comprises an interface J2 and an interface J4, and the lithium battery is charged and discharged through the interface J2 and the interface J4. The interface J2 adopts a USB port, and the interface J2 comprises a first interface GND, a second interface VBUS, a third interface CC1, a fourth interface CC2, a fifth interface VBUS and a sixth interface GND; the first interface GND and the sixth interface GND are directly grounded; the second interface VBUS and the fifth interface VBUS are used as 5V voltage output ports; interface No. three CC1 and interface No. four CC2 air connect. The interface J4 adopts a two-pin array, including a pin GND and a pin BT, wherein the pin GND is grounded, and the pin BT outputs a power supply voltage BAT.
As shown in fig. 4, the charging circuit is used for charging a power circuit, and includes a packaged chip U2, in this case, a chip U2 employs a TC4054B chip, which can implement fast charging of a lithium battery, and prolong the service life of the lithium battery. The charging circuit further comprises resistors R3 and R4 and capacitors C2 and C6. The chip U2 includes a first pin CHRG, a second pin GND, a third pin BAT, a fourth pin VCC, a fifth pin CHRGT, and a sixth pin PROG. The first pin CHRG and the fifth pin CHRGT of U2 are respectively connected with the main control chip; the second pin GND of the U2 is directly grounded, the third pin is connected with the second pin BT of the interface J4 of the power circuit, the third pin is also connected with a capacitor C2, the other end of the capacitor C2 is grounded, and the specification of the capacitor C2 is C106 in the embodiment; a fourth pin VCC of the U2 is connected to a resistor R4, and the other end of the resistor R4 is connected to a capacitor C6 and an interface J2, respectively, wherein a resistor R4 is connected to a second interface VBUS and/or a fifth interface VBUS of an interface J2, in this example, the resistor R4 is a 1206 package chip resistor with a resistance of 1R; the other end of the capacitor C6 is grounded, and the specification of the capacitor C6 is C106. In this example, the charging interface of the charging circuit is a TYPE-C charging interface.
As shown in fig. 5, the boost circuit is configured to boost a power supply voltage BAT output by the power supply circuit, and input the boosted voltage UVC + to the ultraviolet lamp circuit, so as to supply power to the ultraviolet lamp. The booster circuit comprises a chip U3, in this example, a booster chip B6288S, and a chip U3 comprises a first pin SW, a second pin GND, a third pin FB, a fourth pin EN, a fifth pin VCC and a sixth pin NC. The booster circuit further comprises resistors R9-R11, capacitors C3 and C4, a diode D5 and an inductor L1. The first pin SW of the chip U3 is respectively connected with the anode of the diode D5 and one end of the inductor L1, and the other end of the inductor L1 is connected with the second pin BT of the interface J4; the cathode of the diode D5 is connected to a capacitor C3, a capacitor C4 and a resistor R10, wherein the capacitor C3 and the capacitor C4 are connected in parallel to ground, the other end of the resistor R10 is connected to a pin FB of a chip U3, R10 is 120K Ω, the capacitor C3 is C106, and the capacitor C4 is C104; the third pin of the U3 is also connected with a resistor R11, the other end of the resistor R11 is grounded, and R11 is 10K omega; the second pin GND of the U3 is directly grounded; the fourth pin EN is connected with a resistor R9, the other end of the resistor R9 is connected with the main control chip, and the resistance value of R9 is 1K omega; a fifth pin VCC of the U3 is connected with a second pin BT of the interface J4; and a sixth pin NC is connected in an idle mode. The cathode of the diode D5 is used as an output, and the output voltage is UVC +.
As shown in fig. 6, the main control chip includes a chip U1, in this example, an SC92F7251 single chip microcomputer is used. A first pin VDD of the U1 is connected with a second pin BT of the interface J4, a capacitor C1 is further arranged between the first pin VDD of the U1 and a second pin VSS of the U1, the specification of the capacitor C1 is C104, and the second pin VSS is grounded; a ninth pin P2.5 of the main control chip is connected with a resistor R9 in the booster circuit; the tenth pin P2.4 is connected to a resistor R1 and a resistor R2, respectively, wherein the other end of the resistor R1 is connected to the second pin BT of the interface J4, the other end of the resistor R2 is grounded, in this example, the resistor R1 is 68K Ω, and the resistor R2 is 51K Ω; pin eleven P2.1 is connected to pin five CHRGT of U2 in the charging circuit, and pin twelve P2.0 is connected to pin one CHRG of U2.
As shown in fig. 7, the temperature measuring circuit includes a resistor R1, the resistor R1 is an NTC thermistor, the resistance value of the NTC thermistor decreases exponentially with the temperature rise, and the specification of R1 is 100K Ω. The resistor R1 is disposed near the UV lamp, in this example, the resistor R1 and the UV lamp circuit are disposed on the first circuit board. Two ends of the resistor R1 are respectively connected with the first interface NTC and the second interface UVC + of the interface J1. The temperature measuring circuit further comprises a chip U4, in this example, U4 adopts a low dropout linear regulator PL3500, wherein U4 can stabilize the output voltage at 3.3V when the third pin Vout outputs low current. The temperature measuring circuit also comprises a capacitor C7-9 and a resistor R7. The first pin Vin of the U4 is connected with the second pin BT of the interface J4 in the power circuit, the first pin Vin is also connected with a capacitor C8, the other end of the capacitor C8 is grounded, and the specification of the capacitor C8 is C104; the second pin GND is directly grounded; the third pin is connected with a resistor R7, the other end of the resistor R7 is respectively connected with a capacitor C7 and a seventh pin P1.6 of a main control chip U1, the other end of the capacitor C7 is grounded, wherein the resistance value of the resistor R7 is 100K omega, and the specification of the capacitor C7 is C104; the third pin Vout is further connected to a capacitor C9, the other end of the capacitor C9 is grounded, and the capacitor C9 has a specification of C104. The output is the two ends of the capacitor C7, the ground end of the capacitor C7 is the NTC-output, and the NTC + output is the end of the capacitor C7 connected with the R7.
As shown in fig. 8-10, the keys and the terminal circuits are used for setting the control keys, on the other hand, since the ultraviolet lamp circuit and the resistor R1 are arranged on a single circuit board one in this example, and the circuit board one is connected with a circuit board two where other elements are located through flexible wiring, terminals are required to be arranged to realize the connection of the two circuit boards, and the flexible wiring is FPC flexible flat cable in this example. The key and terminal circuit comprises an interface J5, an interface J5 is used for being connected with an interface J1 of an ultraviolet lamp circuit, therefore, an interface J5 also adopts flexible wire interfaces with the same specification, and comprises a first interface NTC, a second interface UVC +, a third interface UVC-, a fourth interface UVA +, a fifth interface UVA-, a sixth interface LED1, a seventh interface LED2 and an eighth interface BAT, and 8 interfaces are total, wherein in the embodiment, the interfaces of the interfaces J1 and J5 are turned over, namely the first interface NTC of the interface J1 is connected with the eighth interface BAT of the interface J5, and the like, and the phenomenon of wire connection and turning over exists in the process of soft wire connection and wiring in the implementation process. In some other embodiments, the interfaces of the interfaces J1 and J5 may be correspondingly connected. Interface NTC of interface J5 also couples with the cathode of diode D5 of the boost circuit; the second interface is also connected with a second pin BT of J4; the third interface UVC-is also connected with a sixteen-numbered pin P0.0 of the main control chip, wherein a resistor R12 is arranged between the third interface UVC-and the sixteen-numbered pin P0.0, and the resistance value of the resistor R12 is 2K omega; the fourth pin UVA + is also connected with a fifteenth pin P0.1 of the main control chip, wherein a resistor R13 is arranged between the fourth interface UVA + and the fifteenth pin P0.1, and the resistance value of the resistor R13 is 2K omega; the fifth pin UVA-is also connected with a fourteen pin P0.2 of the main control chip, wherein a resistor R14 is arranged between the fifth interface UVA-and the fourteen pin P0.2, and the resistance value of the resistor R14 is 20R; the seven pin LED2 and the eight pin BAT are connected to two ends of the capacitor C7, respectively, wherein the seven pin LED2 is connected between the capacitor C7 and the resistor R7. The key and terminal circuit further comprises an interface J3, an interface J3 adopts a JATG interface, a J3 comprises four interfaces which are a first interface GND, a second interface 3v3, a third interface RXD and a fourth interface TXD respectively, wherein the first interface GND of the J3 is directly grounded, the second interface 3v3 is connected with a second pin BAT of the interface J4, the third interface RXD is connected with a fifth pin P1.2 of the main control chip, and the fourth interface is connected with a sixth pin P1.3 of the main control chip. The button and terminal circuit further includes a switch SW1, resistors R73, R5, R6, and a transistor Q1. The switch SW1 is a patch touch switch, and the switch SW1 comprises two sides, wherein one side of the switch is grounded, and the other side of the switch is connected with a fourth pin P1.1 of the main control chip; the emitter of the triode Q1 is grounded; the collector is connected with a resistor R6, the other end of the resistor R6 is connected with a No. six pin LED1 of the interface J5, and the resistance value of the resistor R6 is 68R; the base electrode is connected with a resistor R73, the other end of the resistor R73 is connected with a No. thirteen pin P0.3 of the main control chip, and the resistance value of the resistor R73 is 1K omega; a resistor R5 is also arranged between the base electrode and the emitter electrode, and the resistance value of R5 is 4.7K omega
In the implementation process, the output power is reduced by arranging the ultraviolet lamp with the LED lamp structure, and the power consumption requirement of the ultraviolet lamp can be met by a small-volume power supply; by arranging the booster circuit, the voltage output by the power supply circuit can meet the requirement of the ultraviolet lamp; the resistor R1 is an NTC thermistor arranged in the ultraviolet lamp circuit, so that the ultraviolet lamp can be turned off when the working environment temperature of the ultraviolet lamp is too high, and the ultraviolet lamp is prevented from being damaged due to too high temperature; through setting up power supply circuit and including the lithium cell, realize the independent power supply of device, convenience of customers carries, guarantees the life of power in addition.
The above description is only one specific example of the present invention and should not be construed as limiting the utility model in any way. It will be apparent to persons skilled in the relevant art(s) that, having the benefit of this disclosure and its principles, various modifications and changes in form and detail can be made without departing from the principles and structures of the utility model, which are, however, encompassed by the appended claims.