Realize visual man-machine mutual electronic cigarette control device and method
Technical field
The present invention relates to a kind of electronic cigarette, be specifically related to a kind of realize visual man-machine mutual electronic cigarette control device and method.
Background technology
Electronic cigarette is that a kind of battery-driven providing contained nicotine or do not conformed to the device that water smoke that nicotine is arranged sucks for the user, and it is a kind of tobacco product, such as cigarette, cigar and tobacco pipe etc., substitute, can supply with nicotine simultaneously.Water smoke simultaneously feeling on the fragrant and material is similar to the smog that sucks tobacco, but does not in fact have smog and burning.In general, when the user takes out electronic cigarette, produce an air-flow, this air-flow is detected by sensor, triggers the heater vaporization and places the liquid tobacco tar of device.Typical electronic cigarette comprises LED lampshade, battery, atomizer and cigarette bullet.In the electronic cigarette of certain model, cigarette bullet and atomizer combine.The electronic cigarette of multiple pattern has been arranged at production and selling.But the progress along with science and technology, the user also improves day by day to the requirement of electronic cigarette, electronic cigarette is except the pumping function that itself has, if also possess the function of man-machine interaction, that is, so that the intelligent degree of high electronic cigarette, the user is in the suction electronic cigarette, by the record of electronic cigarette to related data, so that user's self health is guaranteed.The document that relates at present some electronic cigarettes is as follows:
Document number is that US2007/0267031 discloses a kind of electronic atomized cigarette, and it comprises housing and mouth mouth.The housing outer wall is provided with air intake, and electronic circuit board, normal pressure pressure chamber, sensor, vapour liquid separator, atomizer and liquid bottles are sequentially installed in the enclosure, and described electronic circuit board comprises electronic switching circuit and HF signal generator.The gas channel of described sensor is positioned at a side of sensor, is negative pressure cavity in the sensor.Atomizer is connected with liquid bottles, is provided with atomization chamber in the atomizer.This electronic cigarette only has the function of suction, can't realize man-machine interaction.
Publication number is CN1541577A non-combustible electronic spraying cigarette, put down in writing in the example 1 of the specific embodiment of this patent documentation: its basic principle is when being placed on cigarette holder on the mouth, electric resistance sensor starts control circuit board, control circuit is called the score and is not exported two driving voltages, one is to the heating power supply of high-temperature gasification jet pipe, its two startups Micropump, pump into storage liquid by the storage liquid container to jet pipe, nicotine solution is gasificated into high-temperature steam at the heating of jet pipe and sprays to openend, and the steam after the ejection expands in atmosphere and is condensed into the mist droplet of cigarette shape.Effect with ultrasonic piezoelectric patches on the jet pipe is: the one, and make the large drop that is in the unstable thermal current of high pressure fully contact gasification with heating element heater, the 2nd, to being in the directly broken atomizing of drop in the jet pipe, the 3rd, the bumping problem of solution liquid when being above the boiling point.Comprehensive atomizing effect can make the smog fogdrop diameter at 0.2-3 microns.The droplet of size more easily enters in the alveolar and absorbs like this, and the diluent air stream that pneumatic sensor enters air admission hole when " suction " action occurs is responsive, its transducing signal input control circuit, and cut-off is to the power supply of Micropump and heater after time-delay.The time-delay of Micropump and heater is closed: behind heater starting, and Micropump startup after time-delay in 0.1-0.5 second, the Micropump control circuit cuts out 0.2-0.5 second post-heater of rear time-delay and cuts out, its objective is behind quantitative transfusion the liquid noresidue that is gasified totally.The volume of nicotine storage liquid container can be designed to different sizes as required, can replenish a nicotine solution every day, also can replenish once a couple of days.As shown in Figure 1, but LCDs display working condition parameter, as aspirating battery capacity, every day number of times, using average period, the excessive caution of number of times.Red light emitting diodes glistens in each the suction, and flashing signal provides a sawtooth signal of 1.2 seconds by control circuit, and the brightness that making flash of light be gradually changeable changes, and the brightness of glistening with the burning of simulation smoking changes.Although, having put down in writing electronic cigarette in the above-mentioned patent documentation can the display working condition parameter, as aspirating battery capacity, every day number of times, using average period, the excessive caution of number of times, but, above-mentioned parameter is recorded data in the smoking process just also, and for the parameter that other such as time, date, the maximum mouthful number of suction on the same day etc. can be revised voluntarily by the user, does not mention in the above-mentioned patent, therefore, the intelligent degree of above-mentioned electronic cigarette can't satisfy now user's demand.
Summary of the invention
The object of the present invention is to provide a kind of realize visual man-machine mutual electronic cigarette control device and method, the present invention is in user's use procedure, the user can be according to self needs, and the parameter value of electronic cigarette is arranged or revises, and the present invention has advantages of that intelligent degree is high.
The technical scheme that realizes the object of the invention is as follows:
Realize visual man-machine mutual electronic cigarette control device, comprise the control module that is built-in with the electronic cigarette menu and stores the electronic cigarette parameter, this control module is exported electronic cigarette menu and parameter value after the electronic cigarette control device starts in the mode of numeral; And
Be electrically connected on the display module of control module output, this display module shows menu and the parameters value of electronic cigarette in the mode of numeral, observes the state of this electronic cigarette for the user; And
The input module that is electrically connected with the control module input, the user issues a signal to control module to select every menu of electronic cigarette by input module, and after checking the concrete parameter value of this electronic cigarette, the user arrives control module by input module to the signal that parameter value sends adjustment, by control module the parameter of correspondence is adjusted; And
The switch module that is electrically connected with control module, control module judge whether to need to start the work of electronic cigarette control device according to the high level signal that switch module sends; And
The battery that is electrically connected with control module, display module, input module and switch module respectively.
Adopted such scheme, after the present invention started the electronic cigarette control device by switch module, with built-in electronic cigarette menu output, and the control signal of display module was lighted in output; After display module obtains the control signal that control module sends, light the display of this display module, the electronic cigarette menu in the control module is shown, observe the state of electronic cigarette for the user by vision; The user is by input module, the option of starting shooting in the choice menus; Perhaps check the parameter value in all the other options in the menu, perhaps send this parameter value of adjustment by input module to control module and carry out signal, control module receives adjustment signal that input module sends the parameter of correspondence is adjusted after, output to display module and shown.The present invention is after startup, by input module parameter is arranged or adjusts, these revisable parameters comprise time, date, the maximum mouthful number of smoking on the same day, accumulative total smoking port number etc., the user can be according to self needs, aforesaid parameter value is arranged or revises, therefore, electronic cigarette control device of the present invention has advantages of the high-intelligentization degree.
Further, display module comprises the boost switching device that is connected in the control module output, output voltage after the control signal of acquisition control module output; And the display that is connected in boost switching device output, show display menu and parameters value after obtaining the output voltage of boost switching device.After control module receives the enabling signal of switch module, the output high level signal is to the boost switching device, and the work of boost switching device provides required operating voltage to display, light screen, the user can observe concrete menu and the parameter value of electronic cigarette by corresponding operating.
Further, described electronic cigarette control device also comprises an output voltage adjusting module that is connected with control module, according to the pulse-width signal that control module provides, makes the voltage that outputs to the electronic cigarette heating wire be adjusted into user-defined magnitude of voltage.The user is according to the voltage parameter that shows on the display module, be attached to self-demand, make the needs of whether selecting regulation voltage level, concrete adjustment process is, by the operation input module, export a user and carry out self-defined voltage signal, after control module receives this self-defined voltage signal, calculate and export a pulse-width signal to the output voltage adjusting module, make the output voltage of output voltage adjusting module be adjusted into user-defined magnitude of voltage.The user adjusts output voltage as required in the voltage range of battery, its advantage is: the first, and can avoid the temperature of heating wire not high enough, cause the part tobacco juice to atomize fully, thereby the smoking that obtains optimum efficiency is experienced.The second, can avoid heating wire in the situation that bear larger voltage or electric current, can cause the negative consequence of burning heating wire.
Described electronic cigarette control device also comprises a voltage comparison module, and this voltage comparison module compares cell voltage and the reference voltage that obtains, and the voltage difference after will be relatively outputs to control module after amplifying.Voltage comparison module is that cell voltage and a benchmark 1.8V voltage are compared, voltage difference is relatively amplified, the AD thief hatch of input control module, thereby make control module can obtain a very accurate battery voltage value, voltage comparison module has remedied the defective of control module AD mouth precision deficiency well.Battery voltage value outputs to display module by control module, and the user in use can be known the cell voltage situation exactly.
Further, described electronic cigarette control device also comprises a memory module that is connected in the control module output, and this memory module is used for the data that store electrons cigarette smoking process produces.Memory module is with respect to control module, and for the external memory storage of control module, in smoking process, control module can be according to the RTC(real-time clock of its inside) obtain this time smoking state parameter.And current state parameter, such as the smoking time, the smoking duration, the heating wire resistance, output voltage is saved in the memory module, whenever has a suck of, and all can preserve data that comprise above-mentioned information, and these data can read and add up for the PC end.
A kind of electronic cigarette comprises atomizer, cigarette bullet, also comprises realizing visual man-machine mutual electronic cigarette control device, and this realizes that visual man-machine mutual electronic cigarette control device is electrically connected with atomizer.Because realizing visual man-machine mutual electronic cigarette control device can check and arrange the use state of electronic cigarette, parameter etc., therefore, in electronic cigarette, comprised and realized visual man-machine mutual electronic cigarette control device, the intelligent degree of this electronic cigarette is got a promotion.
Realize visual man-machine mutual electronic cigarette control method, it is characterized in that, may further comprise the steps,
Step S1 is by the high level signal of switch module to control module output startup;
Step S2 confirms as enabling signal after the control module high level signal that output starts to switch module detects, and then with built-in electronic cigarette menu output, and the control signal of display module is lighted in output;
After step S3, display module obtain the control signal that control module sends, light the display of this display module, the electronic cigarette menu in the control module is shown, observe the state of electronic cigarette for the user by vision;
Step S4, the user is by input module, the option of starting shooting in the choice menus; Perhaps check the parameter value in all the other options in the menu, perhaps send this parameter value of adjustment by input module to control module and carry out signal, control module receives adjustment signal that input module sends the parameter of correspondence is adjusted after, output to display module and shown.
Adopted such scheme, the concrete option in the menu of demonstration has: 1, and start; 2, allow equipment enter the low-power consumption standby state; 3, check the capacity of battery; 4, the time of screen protection; 5, allow equipment enter the delay time of low-power consumption standby state; 6, check and setup times; 7, check total mouthful of number of this equipment smoking, maximum limit on same day smoking port number is set, the current demonstration of zero clearing mouthful number; 8, the information of checking this equipment: heating wire resistance, user profile, equipment Serial Number.Above menu operation, if the 1st of user selection carries out open state, the operation of 5 turn on-switch modules by step S1 can turn back to menu interface and select all the other options.If select start, then show successively brand LOGO, calendar, main interface on the display module.The information that shows on the main interface has: current smoking port number, residue smoking port number, battery dump energy, output voltage, Voltage-output are regulated arrow.
Further, to send the high level signal of startup be that the mode of effective enabling signal is to switch module among the step S1: in A turn on-switch module B time in second, and the time that single is connected be no more than C second.This mode of connecting B switch module in second at A helps to prevent user misoperation.
Further, behind the execution in step S1, go back execution in step S11; Whether step S11, controller detect the voltage of battery greater than the N volt, if testing result is no, enter holding state, if testing result is yes, then enter step S2.Battery helps in use to play sufficient atomizing effect like this in the situation that be higher than certain electric weight and just can use, and the service life that guarantees battery.
Further, among the step S4, if behind the start option in the choice menus, further comprising the steps of: step S5, if control module does not detect switch module output single at D and connects the high level signal that sends in second, then control module control electronic cigarette control device enters holding state, if control module detects the high level signal that the connection of switch module output single is sent, then execution in step S6 at D among the step S5 in second; Step S6, control mould control voltage regulator module powers to the load, and the user can aspirate electronic cigarette.After the electronic cigarette control device starts, the selection that enters menu mainly is two kinds, a kind of is to check or revise parameter, another kind is to select start to enter the smoking operation, after entering the smoking operation, need to connect by switch module, control module is when receiving that switch module output single is connected the high level signal that sends, just can export control signal, make battery to the heating wire power supply of atomizer.
Further, include the parameter setting of the maximum mouthful number of suction on the same day in the electronic cigarette parameter in control module, between step S51 and S6, also comprise and detect the step S52 whether suction on the same day has reached maximum mouthful number, if step S52 testing result is yes, then molding piece control electronic cigarette control device enters holding state, if step S52 testing result is no, then enters step S6.If same day suction had reached maximum mouthful number, then do not allow the user to aspirate again, be conducive to guarantee that the user's is healthy.
Further, after step S6 powers to the load, go back execution in step S7; Whether step S7 disconnects by control module sense switch module, if testing result is yes, then enters holding state, if testing result is no, and execution in step S8 then; Whether step S8 connects F second continuously by control module sense switch module, if testing result is no, then enters holding state, if testing result is yes, and execution in step S9 then; Step S9, control signal of stopping power supply to load of control module output.The battery long-time continuous is powered to heating wire, is unfavorable for the electric weight of conserve batteries, and the life-span of heating wire also can't be guaranteed, therefore, by the maximum power-on time of step S8 control battery, the life-span that is conducive to the electric weight of conserve batteries and guarantees heating wire.
Further, also comprise step S10, under holding state, if control module does not detect the high level signal that any single connection of switch module output is sent in M minute, then enter resting state, wait for that switch module wakes up to the high level signal that control module output starts.To carry out resting state after the standby, equally also be the electric weight that is conducive to conserve batteries.
Further, after step 4 is finished, carry out following steps: gather the voltage of battery by voltage comparison module after, the cell voltage that obtains and the reference voltage in the voltage comparison module are compared, and the voltage differential signal after will be relatively outputs to control module after amplifying, control module converts the voltage differential signal that amplifies and obtains the actual voltage value of battery, and required output voltage during according to this actual voltage value and the smoking of single turn on-switch module, obtain the remaining smoking number of times of current cell voltage, control module outputs to display module with cell voltage and smoking number of times, observes directly remaining smoking number of times and current voltage value for the user.Being beneficial to the user by this set controls the operating position of battery.
Description of drawings
Fig. 1 is the circuit block diagram of electronic cigarette in the prior art;
Fig. 2 is the circuit block diagram of realizing visual man-machine mutual electronic cigarette control device among the present invention;
Fig. 3 is the circuit structure diagram of the preferred embodiment of control module among Fig. 2;
Fig. 4 is the circuit structure diagram of the boost switching device preferred embodiment of display module among Fig. 2;
Fig. 5 is the circuit structure diagram of the preferred embodiment of input module among Fig. 2;
Fig. 6 is the circuit structure diagram of the preferred embodiment of switch module among Fig. 2;
Fig. 7 is the circuit structure diagram of the preferred embodiment of output voltage adjusting module among Fig. 2;
Fig. 8 is the circuit structure diagram of the preferred embodiment of output memory module among Fig. 2;
Fig. 9 is the circuit structure diagram of the preferred embodiment of voltage comparison module among Fig. 2;
Figure 10 is the structural representation of electronic cigarette among the present invention;
Figure 11 is the flow chart of realizing visual man-machine mutual electronic cigarette control method among the present invention;
The specific embodiment
With reference to Fig. 2, the visual man-machine mutual electronic cigarette control device of realization of the present invention, it is comprised of with, memory module 60, voltage comparison module 70 control module 10, display module 20, input module 30, switch module 40, battery, output voltage adjusting module 50, and the below is elaborated to every part:
With reference to Fig. 2 and Fig. 3, control module 10 is built-in with the electronic cigarette menu and stores the electronic cigarette parameter, and this control module is exported electronic cigarette menu and parameter value after the electronic cigarette control device starts in the mode of numeral.But control module 10 is the control device of single-chip microcomputer or DSP type.
With reference to Fig. 2 and Fig. 4, display module 20 is electrically connected on the output of control module, and this display module shows menu and the parameters value of electronic cigarette in the mode of numeral, observes the state of this electronic cigarette for the user; Described display module comprises the boost switching device U2 that is connected in the control module output, and the voltage with battery output after the control signal that obtains control module output promotes, and boost switching device U2 adopts the TPS61040 chip.And the display (not shown) that is connected in boost switching device output, obtain electronic cigarette menu and the electronic cigarette parameter value of display control module output behind the output voltage of boost switching device.Display in the present embodiment is the OLED display, and boost switching device U2 provides the work required voltage by 28 core interfaces to display.Display module is for providing visualized operation in the interactive process, the convenience and the visual sense that have strengthened operation arrive higher intellectuality.
With reference to Fig. 2 and Fig. 5, input module 30 is electrically connected with control module 10 inputs, the user issues a signal to control module to select every menu of electronic cigarette by input module 30, and after checking the concrete parameter value of this electronic cigarette, the user sends the signal of adjustment to control module to parameter value, by control module the parameter of correspondence is adjusted.Described input module comprises change-over switch S2, the first switch terminal of this change-over switch be connected switch terminal and be connected with control module respectively.Change-over switch S2 is a single-pole double-throw switch (SPDT), adopt the advantage of single-pole double-throw switch (SPDT) to be, when concrete the use, change-over switch can drive by a knob, therefore, when knob rotates to any one direction, single-pole double-throw switch (SPDT) is connected with to control module generation signal, thereby provided convenience for the user operates.Combination by input module and control module, make amendment for parameters such as time of the setting in the control module 10, date, the maximum mouthful numbers of suction on the same day, this mode has increased man-machine interactive, and the user can direct feeling possesses the higher intellectuality of degree to electronic cigarette.
With reference to Fig. 2 and Fig. 6, switch module 40 is electrically connected with control module, and control module judges whether to need to start the work of electronic cigarette control device according to the high level signal that switch module sends.Switch module among the present invention is key switch.Switch module of the present invention has two kinds by 10 modes of operation that can approve of control module, the first is: under off-mode, if switch module has 5 connections continuously within the time of setting, control module 10 detects switch module and sends continuous high level signal, then can start the electronic cigarette control device, control module outputs to display module with menu, if the high level signal that button is connected is discrete, perhaps number of times does not reach settings, then can be thought maloperation by control module, the electronic cigarette control device can not start.The second is: the electronic cigarette control device is after startup, start option in the user by selecting menu, under this option, the electronic cigarette control device is in the operation state for the treatment of of smoking, if the user sends high level signal by single turn on-switch module to control, after control module receives this high level signal, then can export control signal, battery is powered to the load heating wire, in this process, the control module meeting writing task time (the concrete moment that begins to connect), work duration (time span that switch module is connected), the parameters such as heating wire resistance, because electronic cigarette control device output current is to heating wire, make heating wire that heating process occur, therefore, no matter whether user's reality aspirates the electronic cigarette (negative pressure that the user produces by the mouth suction, tobacco juice is guided to heating wire from the cigarette bullet, tobacco juice is atomized by the heat of heating wire), all calculate as once smoking, as long as be that the present invention has electric current to output to heating wire just to be considered to the user and to smoke, and with whether have tobacco juice to arrive the heating wire atomizing that atomizer is atomized in the device irrelevant.Above-mentioned narration has shown two important function of switch module, the one, start the electronic cigarette control device, and the 2nd, under open state, be used for concrete vacuuming operation.In addition, switch module also possesses the effect of switching between start option and menu, that is, if current state is to be under the smoking state, if the user is in 5 turn on-switch modules of Time Continuous of setting, then control module can switch to menu interface with current interface.
Battery (battery is not shown in the drawings) is electrically connected with control module, display module, input module and switch module respectively, and battery provides required operating voltage to modules respectively.
With reference to Fig. 2 and Fig. 7, output voltage adjusting module 50 is connected with control module 10, according to the pulse-width signal that control module provides, makes the voltage that outputs to the electronic cigarette heating wire be adjusted into user-defined magnitude of voltage.Described output voltage adjusting module comprises switch type of voltage step-up/down converter U1, the output of the switch pin link control module of this switch type of voltage step-up/down converter, the pulse-width signal output of described type of voltage step-up/down converter reference voltage pin link control module.Because the voltage constant of the reference voltage pin 12 of type of voltage step-up/down converter U1 is 0.5V's, pass through pulse-width signal, change pin 4 output voltages of type of voltage step-up/down converter U1, make the voltage stabilization of pin 3 at 0.5V, therefore, by the self-defined voltage signal of user's input, made the output voltage change of type of voltage step-up/down converter U1 by the pulse-width signal of control module output.
With reference to Fig. 2 and Fig. 8, memory module 60 is connected in the control module output, and this memory module is used for the data that store electrons cigarette smoking process produces.Memory module in the present embodiment is the Flash memory with Serial Peripheral Interface.Memory module is with respect to control module, and for the external memory storage of control module, in smoking process, control module can be according to the RTC(real-time clock of its inside) obtain this time smoking state parameter.And current state parameter, such as the smoking time, the smoking duration, the heating wire resistance, output voltage is saved in the memory module, whenever has a suck of (switch module is every the connection under open state), all can preserve data that comprise above-mentioned information, by corresponding interface, these data can be supplied to the PC end and analyze and add up.
With reference to Fig. 2 and Fig. 9, voltage comparison module 70 is electrically connected with control module 30, and this voltage comparison module compares cell voltage and the reference voltage that obtains, and the voltage difference after will be relatively outputs to control module after amplifying.Voltage comparison module 70 electric MCP6001 chips and peripheral circuit form.Voltage comparison module is that cell voltage and a benchmark 1.8V voltage are compared, voltage difference is relatively amplified, the AD thief hatch of input control module, thereby make control module can obtain a very accurate battery voltage value, voltage comparison module has remedied the defective of control module AD mouth precision deficiency well.Battery voltage value outputs to display module by control module, and the user in use can be known the cell voltage situation exactly.
With reference to Fig. 2 and Figure 10, electronic cigarette of the present invention comprises atomizer, cigarette bullet, also comprises the visual man-machine mutual electronic cigarette control device of realization in above-described embodiment, and this realizes that visual man-machine mutual electronic cigarette control device is electrically connected with atomizer.The course of work of electronic cigarette is: under off-mode, at first within the time of setting, 5 connections are arranged continuously by switch module 40, control module 10 detects switch module and sends continuous high level signal, then starts the electronic cigarette control device, and control module outputs to display module with menu.The electronic cigarette control device is after startup, start option in the user by selecting menu (is selected all the other options, can check parameter, arrange or revise), under this option, the electronic cigarette control device is in the operation state for the treatment of of smoking, if the user sends high level signal by single turn on-switch module to control, after control module receives this high level signal, then can export control signal, battery is powered to the load heating wire, the negative pressure that produces when the user aspirates guides to atomizer with the tobacco juice in the cigarette bullet, and tobacco juice is atomized device and atomizes, and the smog air-flow of generation arrives with in the registered permanent residence.In this process, the control module meeting writing task time (the concrete moment that begins to connect), work duration (time span that switch module is connected), the parameters such as heating wire resistance, because electronic cigarette control device output current is to heating wire, make heating wire that heating process occur, therefore, special character of the present invention is: no matter whether user's reality aspirates the electronic cigarette (negative pressure that the user produces by the mouth suction, tobacco juice is guided to heating wire from the cigarette bullet, tobacco juice is atomized by the heat of heating wire), all calculate as once smoking, as long as be that electronic cigarette of the present invention has electric current to output to heating wire just to be considered to the user and to smoke, and with whether have tobacco juice to arrive the heating wire atomizing that atomizer is atomized in the device irrelevant.
With reference to Figure 11, the visual man-machine mutual electronic cigarette control method of realization of the present invention is characterized in that, may further comprise the steps:
Step S1 is by the high level signal of switch module to control module output startup; To send the high level signal of startup be that the mode of effective enabling signal is to switch module among the step S1: in A turn on-switch module B time in second, and the time that single is connected be no more than C second.In the present embodiment, the value of A is that the value of 1.5, B is that the value of 5, C is 0.5.
Behind the execution in step S1, go back execution in step S11; Whether step S11, controller detect the voltage of battery greater than the N volt, if testing result is no, enter holding state, if testing result is yes, then enter step S2.
Step S2 confirms as enabling signal after the control module high level signal that output starts to switch module detects, and then with built-in electronic cigarette menu output, and the control signal of display module is lighted in output;
After step S3, display module obtain the control signal that control module sends, light the display of this display module, the electronic cigarette menu in the control module is shown, observe the state of electronic cigarette for the user by vision;
Step S4, the user is by input module, the option of starting shooting in the choice menus; Perhaps check the parameter value in all the other options in the menu, perhaps send this parameter value of adjustment by input module to control module and carry out signal, control module receives adjustment signal that input module sends the parameter of correspondence is adjusted after, output to display module and shown.
Among the step S4, if behind the start option in the choice menus, carry out following steps: gather the voltage of battery by voltage comparison module after, the cell voltage that obtains and the reference voltage in the voltage comparison module are compared, and the voltage differential signal after will be relatively outputs to control module after amplifying, control module converts the voltage differential signal that amplifies and obtains the actual voltage value of battery, and required output voltage during according to this actual voltage value and the smoking of single turn on-switch module, obtain the remaining smoking number of times of current cell voltage, control module outputs to display module with cell voltage and smoking number of times, observes directly remaining smoking number of times and current voltage value for the user.Being beneficial to the user by this set controls the operating position of battery.
Step S5, if control module does not detect switch module output single at D and connects the high level signal that sends in second, then control module control electronic cigarette control device enters holding state, under holding state, can turn back to the start option by the turn on-switch module in 3 minutes.If control module detects switch module output single at D and connects the high level signal that sends among the step S5 in second.In the present embodiment, the value of D is 5.
After step S5 executes, go back execution in step S51: step S51, whether control module detects battery electric quantity greater than 0%, if testing result is no, carries out shutdown, if testing result is yes, then enters step S52;
Step S52, include the parameter setting of the maximum mouthful number of suction on the same day in the electronic cigarette parameter in control module, control module detects suction on the same day and whether has reached maximum mouthful number, if step S52 testing result is yes, then molding piece control electronic cigarette control device enters holding state, if step S52 testing result is no, then enter step S6.
Step S6, control mould control voltage regulator module powers to the load, and the user can aspirate electronic cigarette.
After step S6 powers to the load, go back execution in step S7;
Whether step S7 disconnects by control module sense switch module, if testing result is yes, then enters holding state, if testing result is no, and execution in step S8 then;
Whether step S8 connects F second continuously by control module sense switch module, if testing result is no, then enters holding state, if testing result is yes, and execution in step S9 then; In the present embodiment, the value of F is 10.
Step S9, control signal of stopping power supply to load of control module output.
Also comprise step S10, under holding state, if control module does not detect any single of switch module output and connects the high level signal that sends in M minute, then enter resting state, wait for that switch module wakes up to the high level signal that control module output starts.In the present embodiment, the value of M is 3.