The utility model content
The technical problems to be solved in the utility model is, the short circuit in the time of can't avoiding charging at portions of electronics cigarette of the prior art and the defective of discharge are so provide a kind of rechargable power supplies protective device of electronics cigarette.
The technical scheme that its technical problem that solves the utility model adopts provides a kind of rechargable power supplies protective device of electronics cigarette, it is characterized in that, comprises chargeable power module, microcontroller, semiconductor switch, is used for inserting the interface module of charhing unit;
Described interface module has first charging terminal and second charging terminal; Described microcontroller has input and output;
Described power module links to each other with described interface module and described semiconductor switch, and inserting charhing unit by interface module is described power module charging;
Described power module links to each other with described microcontroller, provides power supply to described microcontroller;
The input of described microcontroller and output link to each other with described interface module and described semiconductor switch respectively, detect the voltage signal of described first charging terminal, judge the positive and negative of described voltage signal level and to described semiconductor switch transmit control signal control described semiconductor switch break-make.
Described microcontroller comprises analog to digital converter, judge module, control module;
Described control signal comprises open circuit control signal and path control signal;
Described analog to digital converter detects described voltage signal and is converted to digital signal;
Described judge module links to each other with described analog to digital converter, is used for judging the positive and negative of described voltage signal level, and described positive level or negative level signal are sent to described control module;
Described control module transmits control signal to described semiconductor switch according to described positive level or negative level signal;
When described voltage signal was negative level, described control signal was the path control signal, controlled described semiconductor switch conducting; When described voltage signal was positive level, described control signal was the control signal that opens circuit, and controlled described semiconductor switch and disconnected.
Described first charging terminal is used for inserting the negative pole of described charhing unit, the positive pole that described second charging terminal is used for inserting described charhing unit positive pole and is connected to described power module.
Described semiconductor switch is the MOSFET pipe, and the grid of described MOSFET pipe links to each other with the output of described microcontroller.
Described interface module also comprises first resistance, and described first resistance is connected in parallel on described first charging terminal and the second charging terminal two ends.
Described microcontroller is CPU, GPU, MCU or asic chip.
When interface module access charhing unit charges, comprise following steps:
S1: microcontroller detects the voltage of first charging terminal and judges the positive and negative of described voltage level, if negative level, if execution in step S2 then is positive level, then execution in step S3;
S2: microprocessor controls semiconductor switch conducting;
S3: the described semiconductor switch of microprocessor controls disconnects.
Described step S2 also comprises,
S21: the described voltage transitions that will detect is digital signal;
S22: judge module is judged when described level is negative level, execution in step S23, and during for positive level, execution in step S24 then;
S23: described control module is to described semiconductor switch transmission path control signal;
S24: described control module sends the control signal that opens circuit to described semiconductor switch.
Described interface module also has second charging terminal and first resistance, and described first resistance is connected in parallel on described first charging terminal and the described second charging terminal two ends.
The rechargable power supplies protective device of electronics cigarette disclosed in the utility model can be to making when electronics cigarette rechargable power supplies charged; even charging inlet short circuit or when inserting into load; also can play a very good protection to rechargable power supplies, namely the rechargable power supplies protective device of electronics cigarette of the present utility model can carry out good short circuit and discharge prevention to power module.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the utility model, and be not used in restriction the utility model.
A kind of rechargable power supplies protective device of electronics cigarette is provided in the utility model, has been understandable that, in the process that the electronics cigarette is charged, following situation can occur.
One: the charging circuit short circuit, be understandable that the process that the electronics cigarette is charged is that battery bar with electronics cigarette cigarette is threaded onto in the charhing unit, the part that the battery bar screws in charhing unit is easy to be short-circuited, or charhing unit breaks down, the short circuit of charhing unit inside also can cause the charging circuit short circuit that is built in the battery bar, and power module is caused damage.
Two: charging circuit inserts load, be understandable that, comprise battery bar, atomizer during the electronics cigarette, the battery bar is connected by the mode that screw thread screws with atomizer, when the battery in the battery bar is charged, if inserted the load that atomizer then can become charging circuit; Moreover work as charhing unit itself and break down, this fault makes charhing unit itself be equivalent to a resistance, then is equivalent to a load if insert charging circuit.Simultaneously, be understandable that, make the situation of charging circuit short circuit and generation load be not limited to above-mentioned situation.
As shown in Figure 1, the rechargable power supplies protective device of a kind of electronics cigarette that the utility model provides comprises chargeable power module 110, microcontroller 100, semiconductor switch 120, is used for inserting the interface module 130 of charhing unit; Interface module 130 has first charging terminal 131 and second charging terminal 132; Microcontroller 100 has input 104 and output 105; Power module 110 links to each other with interface module 130 and semiconductor switch 120, and inserting charhing unit by interface module 130 is power module 110 chargings; Power module 110 links to each other with microcontroller 100, provides power supply to microcontroller 100; The input 104 of microcontroller 100 and output 105 link to each other with interface module 130 and semiconductor switch 120 respectively, detect the voltage signal of first charging terminal 131, judge the positive and negative of described voltage signal level; And to semiconductor switch 120 transmit control signal control semiconductor switch 120 break-make.
Microcontroller 100 comprises analog to digital converter 102, judge module 101, control module 103; Control signal comprises open circuit control signal and path control signal, and the control signal that opens circuit is used for the disconnection of control semiconductor switch 120, and the path control signal is used for the closure of control semiconductor switch 120.
Analog to digital converter 102, detectable voltage signals and be digital signal by analog signal conversion; Judge module 101 links to each other with analog to digital converter 102, judges the positive and negative of described voltage signal level, and positive level and negative level signal are sent to control module 103; Control module 103 transmits control signal to semiconductor switch 120 according to judgment value.
When the level of voltage signal was negative level, control signal was the path control signal, 120 conductings of control semiconductor switch; When the level of voltage signal was positive level, control signal was the control signal that opens circuit, and control semiconductor switch 120 disconnects.
Microcontroller is CPU, GPU, MCU or asic chip, but be not limited only to above-mentioned microcontroller type.
The level of the voltage by detecting first charging terminal 131 is positive and negative; then can detect the charhing unit that is inserted by charging inlet, the short-circuit conditions that load takes place, control semiconductor switchs 120 break-makes to play the protective effect to power module by microcontroller 100 afterwards.
First charging terminal 131 is used for inserting the negative pole of charhing unit, and second charging terminal 132 is used for inserting the charhing unit positive pole.
In the utility model, the input 104 of microcontroller 100 is connected with first charging terminal 131, and second charging terminal 132 links to each other with the positive pole of power module; During input 104 detectable voltage signals of microcontroller 100.
Interface module 130 comprises that also first resistance, 140, the first resistance 140 are connected in parallel on the two ends of first charging terminal 131 and second charging terminal 132 in the utility model; This resistance is used for the voltage detecting of microcontroller 100 inputs, is understandable that this first resistance 140 can also make other device with resistance.
Then by such circuit structure of the present utility model, as shown in Figure 2, unsettled when charging inlet, microcontroller output 105 is not exported, and this moment, semiconductor switch was in off-state, and the level of controller input 104 is high level (positive level).
When charging inlet inserts charhing unit, the input 104 of microcontroller is that low level also is negative level, specifically as shown in Figure 3, first resistance 140 forms a loop with charhing unit, the input 104 of microcontroller 100 is connected in the first charging terminal 131(and links to each other with the negative pole of charhing unit), the voltage of the input 104 of microcontroller 100 is the voltage of charhing unit negative pole at this moment.After the input 104 of microcontroller 100 detected this negative level, microcontroller 100 sent 120 conductings of path control signal control semiconductor switch.Charging circuit conducting this moment, power module 110 is in charged state.
As shown in Figure 4 when charging inlet two terminal shortcircuits or access load, and when charging circuit was in off-state, as mentioned above, the input 104 detected voltages of microcontroller 100 were the voltage of the positive pole of power module 110, then this detection voltage is positive level, and this charge circuit still is in disconnection.
When charging inlet two terminal shortcircuits or access load, and when charging circuit is in conducting state, in moment, semiconductor switch 120 still is in closure state, this moment, power module 110 provided power supply for load (resistance or other have the device of resistance), this moment is anti-phase through the sense of current of stream semiconductor switch 120, and the level of the voltage of the input of microcontroller 100 changes, and detect voltage with respect to there is one to become positive level by negative level in charged state this moment.This positive level signal is sent in the microcontroller 100 by the input 104 of microcontroller 100, and microcontroller 100 sends the control signal controlling semiconductor switch 120 that opens circuit and disconnects, and has then prevented the discharge of power module 110.
Be understandable that, in microcontroller 100(judge module) in be preset with a reference voltage, value and reference voltage level comparison by the voltage signal that will detect, when the voltage that detects during greater than reference voltage, this voltage is positive level, when the voltage that detects during less than reference voltage, this voltage is negative level.
Preferably, in the utility model during reference value the voltage with semiconductor switch 120 two ends of conducting under charged state be reference voltage.
Further, when detection voltage is negative level, then judge module 101 drive control modules 103 apply a conducting voltage with 120 conductings of control semiconductor switch to semiconductor switch 120, when detection voltage is positive level, and this moment, semiconductor switch 120 was in conducting state, and then judge module 101 drive control modules 103 close semiconductor switch 120 to the reverse voltage that semiconductor switch 120 applies this conducting voltage.
Preferably, semiconductor switch 120 is the MOSFET pipe, and the grid of MOSFET pipe links to each other with the output 105 of microcontroller 100.Be understandable that, be not limited to the kind of MOSFET, can be N-channel MOS FET pipe or P channel mosfet pipe.
When MOSFET pipe manage for N-channel MOS FET, the conducting voltage that control module 103 provides was greater than Ugs, and when MOSFET manages when being P channel mosfet pipe, the conducting voltage that controller provides is less than-Ugs.
To sum up, the rechargable power supplies protective device by electronics cigarette of the present utility model can carry out short circuit and discharge prevention to the rechargable power supplies module.
The utility model also relates to a kind of rechargable power supplies protective device and method of electronics cigarette: when interface module access charhing unit charges, comprise following steps:
S1: microcontroller 100 detects the voltage of first charging terminal 131
S2: judge the positive and negative of voltage level, if negative level, if execution in step S3 then is positive level, then execution in step S4;
S3: microcontroller 100 control semiconductor switchs 120 conductings;
S4: the described semiconductor switch 120 of described microcontroller 100 controls disconnects.
Step S2 also comprises,
S21: be digital signal with the voltage transitions that detects;
S22: when judge module 101 decision level are negative level, execution in step S23, during for positive level, execution in step S24 then;
S23: control module 103 is to semiconductor switch 120 transmission path control signals;
S24: control module 103 sends the control signal that opens circuit to semiconductor switch 120.
Be understandable that, be preset with a reference voltage in the judge module, in step S22, but the magnitude of voltage that detects then is positive voltage during greater than reference voltage, and the magnitude of voltage of detection then is negative voltage during greater than reference voltage.
Interface module 130 also has second charging terminal 132 and first resistance, and first resistance 140 is connected in parallel on first charging terminal 131 and second charging terminal, 132 two ends.
Though the utility model describes by specific embodiment, it will be appreciated by those skilled in the art that, under the situation that does not break away from the utility model scope, can also carry out various conversion and be equal to alternative the utility model.In addition, at particular condition or material, can make various modifications to the utility model, and not break away from scope of the present utility model.Therefore, the utility model is not limited to disclosed specific embodiment, and should comprise the whole execution modes that fall in the utility model claim scope.