Utility model content
In order to solve the problems, such as above-mentioned all or part, a kind of control circuit for heater of the utility model offer and smoking set.
The embodiment of the utility model discloses a kind of control circuit for heater, including controller and constitutes circuit
Battery, heater, heater power adjust circuit, and the resistance value of the heater becomes with the variation of the heter temperature
Change, the heater power adjusts circuit and exports the first signal to the controller, and the controller is according to first signal
With the electricity of the battery to the heater power adjust circuit output make the heater power adjust circuit turn-on or
The first switch signal of disconnection.
In a demonstration example, the institute that is obtained according to the electricity of first signal and the battery in response to the controller
The real time temperature for stating heater is less than pre-set threshold value, and the first switch signal makes the heater power adjust circuit
It is in the conduction state;It is higher than the threshold value in response to the real time temperature of the heater, the first switch signal makes described add
Hot device power conditioning circuitry is off.
In a demonstration example, the heater power adjusts circuit and includes:First resistor, second resistance, NMOS tube;Its
In, first resistor one end ground connection, the other end is connected to the source electrode of the NMOS tube and the heater power adjusts electricity
The output end of the output end on road, the heater power adjusting circuit is connected to the first signal input part of the controller;Institute
Second resistance one end ground connection is stated, the other end is connected to the grid of the NMOS tube and the heater power adjusts the defeated of circuit
Enter end, the input terminal of the heater power adjusting circuit is connected to the first switch signal output end of the controller;It is described
The drain electrode of NMOS tube is connected to the cathode of the heater, and the anode of the heater is connected to battery;
First signal is voltage signal in the first resistor or flows through the current signal of the first resistor.
In a demonstration example, controller has been internally integrated analog to digital conversion circuit, and first signal input part is connected to institute
State analog to digital conversion circuit.
In a demonstration example, the control circuit for heater further includes the electricity inspection that second signal is exported to the controller
Slowdown monitoring circuit, the controller obtain the electricity of the battery according to the second signal.
In a demonstration example, the electric quantity detecting circuit includes 3rd resistor and the 4th resistance;Wherein, the 3rd resistor
One end is connected to battery, and the other end is connected to the 4th resistance and the electric quantity detecting circuit output end, the electric power detection electricity
Road output end is connected to the second signal input terminal of the controller;The other end of 4th resistance is grounded.
In a demonstration example, controller has been internally integrated analog to digital conversion circuit, and the second signal input terminal is connected to institute
State analog to digital conversion circuit;
In a demonstration example, the control circuit for heater further includes regulator circuit, and the battery connects the voltage stabilizing electricity
The input terminal on road, the output end of the regulator circuit are connected to the energization input of the controller.
Include discharge protection circuit in a demonstration example, between the element and the battery that are connect with the battery, standby
Power consumption management circuit and key circuit;
The discharge protection circuit input terminal is connected to battery, and the output end of the discharge protection circuit is connected to described wait for
The input terminal of the first input end of machine power consumption management circuit and the key circuit;
Second input terminal of the stand-by power consumption management circuit is connected to the second switch signal output end of the controller,
The third input terminal of the stand-by power consumption management circuit is connected to the first output end of the key circuit;
The second output terminal of the key circuit is connected to the key signals input terminal of the controller;
The stand-by power consumption management circuit output end is connected to the element being connect with the battery.
In a demonstration example, when entering standby mode, the second switch signal makes the stand-by power consumption management electricity
Road is off;When key circuit conducting and when the controller judges that the key signals are legal, described the
Two switching signals make the stand-by power consumption management circuit in the conduction state.
In a demonstration example, the control circuit for heater further includes LED indicating circuit, the LED indicating circuit connection
To the LED indication signal output end of the controller.
The embodiment of the utility model also discloses a kind of smoking set, including any of the above-described kind of control circuit for heater.
Compared with prior art, the main distinction and its effect are the utility model embodiment:Heater power is adjusted
Circuit has both temperature feedback function, and the sampled signal that controller adjusts circuit and electric quantity detecting circuit according to heater power obtains
Heater real time temperature is obtained, and circuit output switching signal is adjusted to adjust heater power, heater control to heater power
Circuit complexity and cost reduction processed, and can effectively reduce the size of pcb board area and heater control structure.
Further, the adjusting that heater power is participated in using the firmware in controller, while simplifying circuit design
Improve circuit reliability.
Further, control circuit for heater also have button value capturing function, LED based state-indicating function,
Battery discharge protection function and stand-by power consumption management function.
Specific implementation mode
In the following description, in order to make the reader understand this application better, many technical details are proposed.But this
The those of ordinary skill in field is appreciated that even if without these technical details and many variations based on the following respective embodiments
And modification, each claim of the application technical solution claimed can also be realized.
It is new to this practicality below in conjunction with attached drawing to keep the purpose of this utility model, technical solution and advantage clearer
The embodiment of type is described in further detail.
As shown in Figure 1, the utility model provides a kind of control circuit for heater 100, including controller 101, electric power detection
Circuit 102 and heater power adjust circuit 103;Wherein, heater power adjusts circuit 103 and connects with heater, heats
The resistance value of device can change with the variation of heter temperature, and heater power adjusting circuit 103 is defeated to controller 101
Go out the first signal;Electric quantity detecting circuit 102 exports second signal to controller 101;Controller 101 is according to the first signal and second
Signal adjusts circuit 103 to heater power and exports first switch signal.
To adjust the mean power of heater, when the heater that controller 101 is obtained according to the first signal and the second signal
Real time temperature be less than pre-set threshold value Tth when, first switch signal make heater power adjust circuit 103 be on
State, at this time heater work;When the real time temperature of heater is higher than threshold value Tth, first switch signal makes heater power
It adjusts circuit 103 to be off, heater is stopped at this time.
The utility model can use heater in the prior art, as long as meeting resistance value variation with temperature and becoming
Change.This characteristic of heater makes heater power adjust circuit and have both temperature feedback function, thus simplifies heater control
The electrical connection of circuit reduces control circuit complexity and circuit cost, and can effectively reduce pcb board area and add
The size of hot device control structure.The first signal and the second signal can be current signal or voltage signal.
Controller 101 can be, but not limited to single by the realizations such as MCU, SoC, such as the PIC16F15 series of Microchip
Piece machine.As shown in Fig. 2, controller 101 includes the first signal input part 13, second signal input terminal 9 and first switch signal
Output end 14;Wherein the first signal input part 13 is connected to the output end that heater power adjusts circuit 103, second signal input
End 9 is connected to the output end of electric quantity detecting circuit 102, and first switch signal output end 14 is connected to heater power and adjusts circuit
103 input terminal.ADC_TEMP is the first signal, and ADC_POWER is second signal, and PWM_UP is first switch signal.Control
Analog to digital conversion circuit ADC is integrated in device 101, which is connected to the first signal input part 13 and second signal
Input terminal 9 by the analog signal of reception to be converted to digital signal.
As shown in figure 3, it includes resistance R7, resistance R8, NMOS tube M4 that heater power, which adjusts circuit 103,;Wherein, resistance R7
One end is grounded, and the other end is connected to the source electrode of NMOS tube M4 and the output end of heater power adjusting circuit 103, heater work(
The output end of rate adjusting circuit 103 is connected to the first signal input part 13 of controller 101;The one end resistance R8 is grounded, the other end
It is connected to the grid of NMOS tube M4 and the input terminal of heater power adjusting circuit 103, heater power adjusts circuit 103
Input terminal is connected to the first switch signal output end 14 of controller;The drain electrode of NMOS tube M4 is connected to the cathode of heater, adds
The anode of hot device is connected to power supply VCC.
As shown in figure 4, electric quantity detecting circuit 102 includes resistance R11 and resistance R12;Wherein, the one end resistance R11 is connected to
Power supply VCC, the other end are connected to 102 output end of resistance R12 and electric quantity detecting circuit, and electric quantity detecting circuit output end 102 connects
It is connected to the second signal input terminal 9 of controller 101;The other end of resistance R12 is grounded.
Controller 101 adjusts the flow chart of heater power as shown in figure 5, the flow can be held by the firmware in controller
Row, and generally comprise following steps:
In step S501, flow starts.
In step S502, it sets first switch signal PWM_UP to high level signal.After executing the step, NMOS tube
M4 is connected, and is connected so that heater power adjusts circuit 103, heater work.
In step S503, starts ADC and read the first signal ADC_TEMP.First signal ADC_TEMP can be on resistance R7
Voltage signal or flow through the current signal of resistance R7, voltage signal is used in the present embodiment.With the liter of heter temperature
The resistance value of height, heater changes, and according to electric resistance partial pressure principle, the voltage signal on resistance R7 also constantly changes, in real time
Value can be known by the first signal ADC_TEMP.
In step 504, starts ADC and read second signal ADC_POWER.Second signal ADC_POWER can be resistance R12
On voltage signal or flow through the current signal of resistance R12.In the present embodiment, using voltage signal.With pushing away for time
It moves, the electricity of battery continuously decreases, and the voltage value of power supply VCC constantly reduces, and instantaneous value can pass through second signal ADC_
POWER is known.
In step 505, the real-time temperature values of heater are calculated.
The circuit theory of circuit 103 is adjusted by heater power to be obtained,
Wherein, IR7To flow through the electric current of resistance R7;UR7For the voltage on resistance R7, obtained by the first signal ADC_TEMP;
RR7For the resistance value of resistance R7, RR7Change for known quantity and non-variation with temperature;RHEATFor the real time resistance of heater
Value;UVCCFor the voltage value of power supply VCC;RMOSFor the conducting resistance of NMOS tube M4.
The temperature & resistance values equation of heater can be:
RHEAT=R0*[1+(T-T0) * TCR] formula 1-3
Wherein, T0For house temperature, it is set as T0=25 DEG C;T is the real-time temperature values of heater;R0For under room temperature state
The resistance value of heater;TCR is the resistance change rate of heater.
It can be obtained by the circuit theory of electric quantity detecting circuit 102,
Wherein, RR11And RR12The respectively resistance value of resistance R11 and R12 and be known quantity;UR12It is on resistance R12
Voltage, obtained by second signal ADC_POWER.
So, the real-time temperature values T of heater can be obtained by formula 1-1, formula 1-2, formula 1-3, formula 1-4.
In step 506, judge whether the real-time temperature values T of heater higher than threshold value Tth goes to step if T >=Tth
S507;If T < Tth, go to step S508.
In step S507, it sets first switch signal PWM_UP to low level signal.After executing the step, NMOS tube
M4 ends, and is disconnected so that heater power adjusts circuit 103, heater is stopped.
In step S508, n millisecond time-delay is set.
In step S509, judge whether delay adjustments overflow, if so, going to step S510;If it is not, then repeating step
S509。
In step S510, judge whether to need to stop heating, if so, going to step S511;If it is not, then going to step
S502.The trigger condition for stopping heating can be that control circuit for heater is prepared to enter into low power consumpting state or prepares power-off.
In step S511, flow terminates.
In above-mentioned flow, controller 101 adjusts first switch letter according to the real-time temperature values for calculating the heater obtained
Number level value, and then the conducting of NMOS tube M4, deadline are controlled, to realize the adjustment of heater average electrical power.By
In executing above-mentioned flow using the firmware in controller 101, control circuit for heater can be further simplified, and circuit
Reliability is improved.
Preferably, as depicted in figs. 1 and 2, control circuit for heater 100 further includes:Discharge protection circuit 104, button electricity
Road 105, stand-by power consumption management circuit 106, regulator circuit 107;Wherein, the input terminal of discharge protection circuit 104 is connected to battery,
104 output end of discharge protection circuit be connected to stand-by power consumption management circuit 106 first input end and key circuit 105 it is defeated
Enter end;Second input terminal of stand-by power consumption management circuit 106 is connected to the second switch signal output end 11 of controller 101, waits for
The third input terminal of machine power consumption management circuit 106 is connected to the first output end of key circuit 105, and stand-by power consumption manages circuit
106 output end is connected to the input terminal of regulator circuit 107;The output end of regulator circuit 107 is connected to the power supply of controller 101
Input terminal 18;The second output terminal of key circuit is connected to the key signals input terminal 8 of controller.
When control circuit for heater enters the i.e. low power consumpting state of standby mode, second switch signal SWITCH makes standby
Power consumption management circuit is off, and controller is stopped to realize the low power consumpting state of zero-power at this time, to significantly
Promote the stand-by time under low power consumpting state;When key circuit is connected and controller judges that key signals are legal, second opens
OFF signal SWITCH makes stand-by power consumption management circuit in the conduction state, and controller restores normal operating conditions at this time.
As shown in fig. 6, discharge protection circuit 104 include double metal-oxide-semiconductor M3 (such as FS8205A etc.), protection chip U2 (such as
S-8261 series etc.), resistance R9, resistance R10 and capacitance C2, in the present embodiment, M3 uses FS8205A, U2 to use S-
8261 series;Wherein, two source electrodes ground connection of M3, two drain electrodes are connected, and two grids are respectively connected to the OD of protection chip U2
End and the ends OC;One end of resistance R9 is grounded, and the other end is connected to the ends VM of protection chip U2;The one end resistance R10 is connected to protection
The vdd terminal of chip U2 and one end of capacitance C2, the other end are connected to the anode of battery VBAT, the other end and electricity of capacitance C2
The cathode of pond VBAT is grounded.
As shown in fig. 7, key circuit 105 includes button SW1, resistance R5 and resistance R6;One end of wherein button SW1 connects
It is connected to the input terminal of key circuit 105, the other end is connected to the first output end, resistance R5 and resistance R6 of key circuit 105;
The other end of resistance R5 is connected to the second output terminal of key circuit 105;The other end of resistance R6 is grounded.
As shown in fig. 7, stand-by power consumption management circuit 106 includes resistance R1, resistance R3, capacitance C1, triode Q1, diode
D1, metal-oxide-semiconductor M1;Wherein, one end of resistance R1 is connected to the base stage of triode Q1 and stand-by power consumption manages the second of circuit 106
Input terminal, the other end ground connection of resistance R1;One end of resistance R3 is connected to the collector of triode Q1 and the grid of metal-oxide-semiconductor M1
Pole, the other end of resistance R3 and the source electrode of metal-oxide-semiconductor M1 are connected to the first input end of stand-by power consumption management circuit 106;Three poles
The emitter of pipe Q1 is grounded;The drain electrode of metal-oxide-semiconductor M1 is connected to capacitance C1, the cathode of diode D1 and stand-by power consumption management circuit
106 output end;The other end of capacitance C1 is grounded;The anode of diode D1 is connected to the third of stand-by power consumption management circuit 106
Input terminal.
As shown in fig. 7, regulator circuit 107 includes voltage stabilizing chip U3 (such as NCP58 series), input terminal Vin is as steady
The input terminal of volt circuit 107, output ends of the output end vo ut as regulator circuit 107, chip select terminal and the ends ECO also connect surely
The input terminal voltage of volt circuit 107.
Control circuit for heater in normal operating conditions, controller 101 to wait for power consumption management circuit 106 export second
Switching signal is that high level signal, at this time Q1 and M1 are both turned on, UVCC=UVBAT, voltage stabilizing chip U1 to controller 101 provide voltage
VDD;When control circuit for heater is prepared to enter into low power consumpting state, controller 101 is to wait for that power consumption management circuit 106 exports the
Two switching signals are low level signal, and Q1 and M1 are turned off at this time, UVCC=UC1, after the electricity on capacitance C1 is released, UVCC=
0, voltage stabilizing chip U1 is stopped, and cannot provide voltage VDD to controller 101, therefore control circuit for heater enters low-power consumption
State.
When pushing button SW1, battery VBAT flows diode D1 by storage and charges to capacitance C1, when it is full of, UVCC=
UVBAT- UD1, voltage stabilizing chip U1 provide voltage VDD to controller 101, and controller 101 enters normal operating conditions;Controller 101
It is read by key signals input terminal 8 and judges key signals, when it judges that key signals are legal, such as persistently button is more than
At 4 seconds, controller 101 is to the second switch signal for waiting for the output high level of power consumption management circuit 106, at this point, even if SW1 is released
It puts, system can also enter normal operating conditions.
It should be noted that when control circuit for heater does not include discharge protection circuit 104, key circuit 105, standby work(
When consumption management circuit 106, above-mentioned power supply VCC is battery, and battery provides constant pressure by regulator circuit 107 to controller.
Preferably, as shown in figure 8, control circuit for heater further includes LED indicating circuit 108, it is connected to controller 101
LED indication signal output end 4 and LED indication signal output end 5.LED indicating circuit includes resistance R13, resistance R14, shines
Diode D2 and light emitting diode D3;Wherein, the one end resistance R13 is connected to power vd D, and the other end is connected to light emitting diode
The cathode of the anode of D2, light emitting diode D2 is connected to the LED indication signal output end 4 of controller 101;The one end resistance R14 connects
It is connected to power vd D, the other end is connected to the anode of light emitting diode D3, and the cathode of light emitting diode D3 is connected to controller 101
LED indication signal output end 5.
The embodiment of the utility model also discloses a kind of smoking set, including any of the above-described kind of control circuit for heater.This
The control circuit for heater of utility model is not limited to the application in smoking set is not burnt in electrical heating, can also be applied to other types
Smoking set or product in.
It should be noted that in the claim and specification of this patent, such as first and second or the like relationship
Term is only used to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying
There are any actual relationship or orders between these entities or operation.Moreover, the terms "include", "comprise" or its
Any other variant is intended to non-exclusive inclusion so that including the processes of a series of elements, method, article or
Equipment includes not only those elements, but also includes other elements that are not explicitly listed, or further include for this process,
Method, article or the intrinsic element of equipment.In the absence of more restrictions, being wanted by what sentence " including one " limited
Element, it is not excluded that there is also other identical elements in the process, method, article or apparatus that includes the element.
Although by referring to certain preferred embodiments of the utility model, the utility model has been shown and
Description, but it will be understood by those skilled in the art that can to it, various changes can be made in the form and details, without inclined
Spirit and scope from the utility model.