A kind of device and lamps and lanterns for closing emergency function
Technical field
The invention belongs to electronic technology fields, more particularly to a kind of device and lamps and lanterns that can close emergency function.
Background technique
The device of traditional emergency function includes alternating current detection module, control module, switch module and power supply modulus of conversion
Block, alternating current detection module are electrically generated alternating current detection signal according to city, and control module generates control signal according to city's power detection signal,
Switch module is according to control signal communication battery supply to be powered to LED.When electrically disconnected due to city, emergency function must be opened
It is dynamic, therefore the flexibility of the device of traditional emergency function is poor, and leads to waste of energy in the case where being not necessarily to emergency function.
Therefore the presence of the device of traditional emergency function can not close emergency function, so as to cause kobold poor activity and electric energy wave
The defect taken.
Summary of the invention
The present invention provides devices and lamps and lanterns that one kind can close emergency function, it is intended to solve the dress of traditional emergency function
Set it is existing can not close emergency function, the problem of so as to cause kobold poor activity and waste of energy.
The invention is realized in this way a kind of device for closing emergency function, the device for closing emergency function
Include:
For generating the first Voltage stabilizing module of regulated power supply according to power supply;
It is connect with first Voltage stabilizing module, for generating pressing for push button signalling according to user's input and the regulated power supply
Key module;
It is connect with first Voltage stabilizing module and the key module, for being believed according to the regulated power supply, the key
Number, output current sampling signal and output voltage sampled signal generate control signal and original pulse width modulated signal control
Molding block;
It is connect with the control module and the Voltage stabilizing module, for raw according to the power supply, the control signal
At the switch module of switching signal;
It is connect with first Voltage stabilizing module, the control module and the switch module, for according to the power supply electricity
Source, the switching signal and the original pulse width modulated signal generate power supply of the out-put supply to be powered to LED
Conversion module;
Connect with the control module and the power conversion module, for the out-put supply carry out current sample with
Generate the output current sampling module of the output current sampling signal;
Connect with the control module and the power conversion module, for the out-put supply carry out voltage sample with
Generate the output voltage sampling module of the output voltage sampled signal.
The device that emergency function can be closed in one of the embodiments, further include:
Mould is sampled for carrying out voltage sample to the power supply to generate the power supply of power supply sampled signal
Block;
The control module is specifically used for according to the regulated power supply, the push button signalling, exports current sampling signal, defeated
Voltage sampling signal and power supply sampled signal generate the control mould of control signal and original pulse width modulated signal out
Block.
The device that emergency function can be closed in one of the embodiments, further include:
It is connect with first Voltage stabilizing module, the power conversion module and the switch module, for battery supply
It is filtered to generate the first filter module of the power supply.
It is connect with first Voltage stabilizing module, the power conversion module and the switch module, for input AC
Electricity carries out power supply conversion to generate the AC-DC conversion module of the power supply.
The AC-DC conversion module includes: in one of the embodiments,
For being electrically generated the rectification module of the first direct current according to input AC;
It is connect with the rectification module, for being electrically generated the second pressure stabilizing mould of the second direct current according to first direct current
Block;
Connect with second Voltage stabilizing module, first Voltage stabilizing module, the power conversion module and the switch module
It connects, for being electrically generated the second filter module of the power supply according to the second direct current.
The power conversion module includes: in one of the embodiments,
It is connect with the control module and the switch module, for according to the original pulse width modulated signal and opening
OFF signal generates the amplifying unit of pulse width modulation amplified signal;
It is connect with first Voltage stabilizing module and the amplifying unit, for wide according to the power supply and the pulse
Degree modulation amplified signal generates the power conversion unit of third direct current;
It is connect with the power conversion unit, output current sampling module and output voltage sampling module, is used for basis
The third direct current is electrically generated the third filter module of the out-put supply.
In one of the embodiments, the amplifying unit include the first triode, the second triode, third transistor,
4th triode, first resistor, second resistance and 3rd resistor;
The base stage of first triode is the original pulse width modulated signal input terminal of the amplifying unit, described the
The collector of one triode is connect with the first end of the base stage of second triode and the first resistor, the two or three pole
Base stage, the base stage of the 4th triode and the first end of the second resistance of the collector of pipe and the third transistor
Connection, the common structure of first end of the second end of the first resistor, the second end and the 3rd resistor of the second resistance
At the power supply input terminal of the amplifying unit, the collector of the second end of the 3rd resistor and the 4th triode connects
It connects, the pulse that the emitter of the emitter of the third transistor and the 4th triode collectively forms the amplifying unit is wide
Degree modulation amplified signal output end, the emitter of first triode, the emitter of second triode and described the
The collector of three triodes is connected to power ground altogether.
The power conversion unit includes the first field-effect tube, first diode, the first electricity in one of the embodiments,
Sense, the second inductance, first capacitor, the 4th resistance and the 5th resistance;
The first end of the first end and the 5th resistance of the grid of first field-effect tube and the 4th resistance connects
It connecing, the second end of the 4th resistance is that the pulse width of the power conversion unit modulates amplified signal input terminal, described the
The drain electrode of one field-effect tube is connect with the first end of the first end of first inductance and the first capacitor, first inductance
Second end be the power conversion unit power supply input terminal, the second end of the first capacitor and second inductance
First end and the first diode anode connection, the cathode of the first diode is the of the power conversion unit
Three DC output ends, the source electrode of first field-effect tube, the second end of the 5th resistance and second inductance
Second end is connected to power ground altogether.
The third filter module includes the second capacitor, the 6th resistance and the 7th resistance in one of the embodiments,;
The first end of the first end of second capacitor, the first end of the 6th resistance and the 7th resistance is common
Constitute the input/output terminal of the third filter module, the second end of second capacitor, the second end of the 6th resistance with
And the second end of the 7th resistance is connected to power ground altogether.
The control module includes microprocessor, third capacitor, the 4th capacitor, the 8th electricity in one of the embodiments,
Resistance and the 9th resistance;
The first end of the first end of 8th resistance, the power end of the microprocessor and the 4th capacitor connects altogether
In the regulated power supply, the first of the second end and the third capacitor of the reset terminal of the microprocessor and the 8th resistance
End connection, the first data input/output terminal of the microprocessor is the push button signalling input terminal of the control module, described micro-
Second data input/output terminal of processor is the power supply sampled signal input of the control module, the microprocessor
Third data input/output terminal be the control module output current sampling signal input terminal, the 4th of the microprocessor the
Data input/output terminal is the control signal output of the control module, the 5th data input/output terminal of the microprocessor
For the output voltage sampled signal input of the control module, the 6th data input/output terminal of the microprocessor with it is described
The first end of 9th resistance connects, and the second end of the 9th resistance is the original pulse width modulated signal of the control module
The second end of output end, the second end of the third capacitor and the 4th capacitor is connected to power ground altogether.
Also a kind of lamps and lanterns of the embodiment of the present invention, the lamps and lanterns include such as the above-mentioned device for closing emergency function.
The embodiment of the present invention is by including the first Voltage stabilizing module, key module, control module, switch module, power supply conversion
Module, output current sampling module and output voltage sampling module;First Voltage stabilizing module generates pressure stabilizing electricity according to power supply
Source;Key module generates push button signalling according to user's input and regulated power supply;Control module according to regulated power supply, push button signalling,
It exports current sampling signal and output voltage sampled signal generates control signal and original pulse width modulated signal;Switching molding
Root tuber generates switching signal according to power supply, control signal;Power conversion module is according to power supply, switching signal and original
Pulse width modulating signal generates out-put supply;Output current sampling module carries out current sample to out-put supply to generate output
Current sampling signal;Output voltage sampling module carries out voltage sample to out-put supply to generate output voltage sampled signal;By
Out-put supply is generated according to power supply, switching signal and original pulse width modulated signal in power conversion module, and is opened
OFF signal is generated according to control signal, and control signal is generated according to push button signalling, therefore can be generated or be stopped by push button signalling
Out-put supply is only generated, to close emergency function, the flexibility for improving the device with emergency function is poor, it is therefore prevented that electric energy
Waste.
Detailed description of the invention
Technological invention in order to illustrate the embodiments of the present invention more clearly will make below to required in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of function structure chart of the device provided in an embodiment of the present invention for closing emergency function;
Fig. 2 is another function structure chart of the device provided in an embodiment of the present invention for closing emergency function;
Fig. 3 is another function structure chart of the device provided in an embodiment of the present invention for closing emergency function;
Fig. 4 is a kind of module knot of the device AC-DC conversion module provided in an embodiment of the present invention for closing emergency function
Composition;
Fig. 5 is a kind of modular structure of the installation's power source conversion module provided in an embodiment of the present invention for closing emergency function
Figure;
Fig. 6 is the exemplary circuit structure chart of the device provided in an embodiment of the present invention for closing emergency function.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 shows the modular structure of the device provided in an embodiment of the present invention for closing emergency function, for the ease of saying
Bright, only parts related to embodiments of the present invention are shown, and details are as follows:
The embodiment of the present invention also provides a kind of lamps and lanterns, and the lamps and lanterns include the above-mentioned device for closing emergency function.
The above-mentioned device for closing emergency function includes the first Voltage stabilizing module 01, key module 02, control module 03, switch
Module 04, power conversion module 05, output current sampling module 06 and output voltage sampling module 07.
First Voltage stabilizing module 01 is used to generate regulated power supply according to power supply;Key module 02 and the first Voltage stabilizing module 01
Connection, for generating push button signalling according to user's input and regulated power supply;Control module 03 and the first Voltage stabilizing module 01 and key
Module 02 connects, for being generated according to regulated power supply, push button signalling, output current sampling signal and output voltage sampled signal
Control signal and original pulse width modulated signal;Switch module 04 is connect with control module 03 and Voltage stabilizing module, is used for basis
Power supply, control signal generate switching signal;Power conversion module 05 and the first Voltage stabilizing module 01, control module 03 and switch
Module 04 connects, for generating out-put supply according to power supply, switching signal and original pulse width modulated signal;Output
Current sampling module 06 is connect with control module 03 and power conversion module 05, for carrying out current sample to out-put supply with life
At output current sampling signal;Output voltage sampling module 07 is connect with control module 03 and power conversion module 05, for pair
Out-put supply carries out voltage sample to generate output voltage sampled signal.
As shown in Fig. 2, the device that can close emergency function further includes power supply sampling module 08.
Power supply sampling module 08 is used to carry out voltage sample to power supply to generate power supply sampled signal;Control
Molding block 03 is specifically used for according to regulated power supply, push button signalling, output current sampling signal, output voltage sampled signal and confession
Power supply sampled signal generates the control module 03 of control signal and original pulse width modulated signal.
In specific implementation, when power supply sampled signal is greater than power supply preset value, control module 03 is specifically used for
It is raw according to regulated power supply, push button signalling, output current sampling signal, output voltage sampled signal and power supply sampled signal
At the control module 03 of the control signal and original pulse width modulated signal of the first level;Switch module 04 is specifically used for basis
The switching signal for controlling signal and generating third level of power supply, the first level;Power conversion module 05 is specifically used for basis
Power supply, the switching signal of third level and original pulse width modulated signal generate out-put supply to supply LED
Electricity.
When power supply sampled signal is not more than power supply preset value, control module 03 is specifically used for according to pressure stabilizing electricity
Source, push button signalling, output current sampling signal, output voltage sampled signal and power supply sampled signal generate second electrical level
Control signal control module 03;Switch module 04 is specifically used for being generated according to the control signal of power supply, second electrical level
The switching signal of 4th level;Power conversion module 05 is specifically used for being stopped according to the switching signal of power supply, the 4th level
Generate out-put supply.
When not having input AC electricity, power supply is battery supply, at this point, passing through 08 pair of power supply sampling module confession
Power supply (i.e. battery supply) is detected, and when power supply sampled signal is not more than power supply preset value, stops basis
Power supply generates out-put supply, to prevent the over-discharge of battery.
As shown in figure 3, the device that can close emergency function further includes the first filter module 09 and AC-DC conversion module
010。
First filter module 09 is connect with the first Voltage stabilizing module 01, power conversion module 05 and switch module 04, for pair
Battery supply is filtered to generate power supply.AC-DC conversion module 010 and the first Voltage stabilizing module 01, power conversion module
05 and switch module 04 connect, for input AC electricity carry out power supply conversion to generate power supply.
By the first filter module 09, the stability of battery supply power supply is improved, it is real by AC-DC conversion module 010
The power supply that alternating current is converted to direct current is showed.
As shown in figure 4, AC-DC conversion module 010 includes rectification module 011, the second Voltage stabilizing module 012 and the second filter
Wave module 013.
Rectification module 011 is used to be electrically generated the first direct current according to input AC;Second Voltage stabilizing module 012 and rectification module
011 connection, for being electrically generated the second direct current according to the first direct current;Second filter module 013 and the second Voltage stabilizing module 012,
One Voltage stabilizing module 01, power conversion module 05 and switch module 04 connect, for being electrically generated power supply according to the second direct current.
As shown in figure 5, power conversion module 05 includes that amplifying unit 051, power conversion unit 052 and third filter mould
Block 053.
Amplifying unit 051 is connect with control module 03 and switch module 04, for according to original pulse width modulated signal
Pulse width, which is generated, with switching signal modulates amplified signal;Power conversion unit 052 and the first Voltage stabilizing module 01 and amplifying unit
051 connection, for generating third direct current according to power supply and pulse width modulation amplified signal;Third filter module 053
It is connect with power conversion unit 052, output current sampling module 06 and output voltage sampling module 07, for straight according to third
Galvanic electricity generates out-put supply.
The driving capability of original pulse width modulated signal is enhanced by amplification module, passes through power conversion unit 052
Direct current conversion is realized, the stability of out-put supply is enhanced by third filter module 053.
Fig. 6 shows the exemplary circuit structure of the device provided in an embodiment of the present invention for closing emergency function, in order to just
In explanation, only parts related to embodiments of the present invention are shown, and details are as follows:
Amplifying unit 051 includes the first triode Q1, the second triode Q2, third transistor Q3, the 4th triode Q4, the
One resistance R1, second resistance R2 and 3rd resistor R3.
The base stage of first triode Q1 is the original pulse width modulated signal input terminal of amplifying unit 051, the one or three pole
The collector of pipe Q1 is connect with the first end of the base stage of the second triode Q2 and first resistor R1, the collector of the second triode Q2
It is connect with the first end of the base stage of third transistor Q3, the base stage of the 4th triode Q4 and second resistance R2, first resistor R1
Second end, the first end of the second end of second resistance R2 and 3rd resistor R3 collectively form the power supply electricity of amplifying unit 051
Source input terminal, the second end of 3rd resistor R3 are connect with the collector of the 4th triode Q4, the emitter of third transistor Q3 and
The emitter of 4th triode Q4 collectively forms the pulse width modulation amplified signal output end of amplifying unit 051, the one or three pole
The collector of the emitter of pipe Q1, the emitter of the second triode Q2 and third transistor Q3 is connected to power ground altogether.
Power conversion unit 052 include the first field-effect tube M1, first diode D1, the first inductance L1, the second inductance L2,
First capacitor C1, the 4th resistance R4 and the 5th resistance R5.
The grid of first field-effect tube M1 is connect with the first end of the first end of the 4th resistance R4 and the 5th resistance R5, and the 4th
The second end of resistance R4 is that the pulse width of power conversion unit 052 modulates amplified signal input terminal, the first field-effect tube M1's
Drain electrode is connect with the first end of the first end of the first inductance L1 and first capacitor C1, and the second end of the first inductance L1 is power supply conversion
The power supply input terminal of unit 052, the first end and first diode D1 of the second end of first capacitor C1 and the second inductance L2
Anode connection, the cathode of first diode D1 is the third DC output end of power conversion unit 052, the first field-effect tube
The second end of the source electrode of M1, the second end of the 5th resistance R5 and the second inductance L2 is connected to power ground altogether.
Third filter module 053 includes the second capacitor C2, the 6th resistance R6 and the 7th resistance R7.
The first end of the first end of second capacitor C2, the first end of the 6th resistance R6 and the 7th resistance R7 collectively forms
The input/output terminal of three filter modules 053, second end, the second end and the 7th resistance R7 of the 6th resistance R6 of the second capacitor C2
Second end be connected to power ground altogether.
Control module 03 includes microprocessor U1, third capacitor C3, the 4th capacitor C4, the 8th resistance R8 and the 9th resistance
R9。
The first end of the first end of 8th resistance R8, the power end VCC of microprocessor U1 and the 4th capacitor C4 is connected to altogether
The reset terminal RST of regulated power supply, microprocessor U1 is connect with the first end of the second end of the 8th resistance R8 and third capacitor C3, micro-
The first data input/output terminal PA1.0 of processor U1 is the push button signalling input terminal of control module 03, the of microprocessor U1
Two data input/output terminal PA2.0 are the power supply sampled signal input of control module 03, the third number of microprocessor U1
It is the output current sampling signal input terminal of control module 03 according to input/output terminal PA3.0, the 4th data of microprocessor U1 are defeated
Enter the control signal output that output end PA4.0 is control module 03, the 5th data input/output terminal PA5.0 of microprocessor U1
For the output voltage sampled signal input of control module 03, the 6th data input/output terminal PA6.0 of microprocessor U1 and
The first end of nine resistance R9 connects, and the second end of the 9th resistance R9 is that the original pulse width modulated signal of control module 03 exports
End, the second end of third capacitor C3 and the second end of the 4th capacitor C4 are connected to power ground altogether.
Key module 02 include the 5th triode Q5, key K1, the 5th capacitor C5, the 9th resistance R9, the tenth resistance R10,
Eleventh resistor R11 and twelfth resistor R12;
The regulated power supply that the first end of 9th resistance R9 and the first end of the tenth resistance R10 collectively form key module 02 is defeated
Enter end, the second end of the 9th resistance R9 connect with the first end of eleventh resistor R11, the second end of eleventh resistor R11 and the
The base stage of five triode Q5 is connected with the first end of twelfth resistor R12, collector, the tenth resistance R10 of the 5th triode Q5
Second end and the first end of the 5th capacitor C5 collectively form the push button signalling output end of key module 02, twelfth resistor
The second end of the second end of R12, the emitter of the 5th triode Q5 and the 5th capacitor C5 is connected to power ground altogether.
It is described further below in conjunction with working principle to shown in fig. 6:
First Voltage stabilizing module 01 generates regulated power supply according to power supply;When key K1 is closed, the 5th triode Q5 conducting
And export the first data input/output terminal PA1.0 of low level push button signalling to microprocessor U1;When key K1 is disconnected, the 5th
Triode Q5 ends and exports the push button signalling of high level to the first data input/output terminal PA1.0 of microprocessor U1.
When push button signalling is high level, microprocessor U1 generates low electricity according to the push button signalling of regulated power supply, high level
Flat control signal is simultaneously exported from the 4th data input/output terminal PA4.0 of microprocessor U1 to the base stage of the 6th triode Q6;
Second field-effect tube M2 and the 6th triode Q6 generates low level switching signal according to power supply, low level control signal
And from the second field-effect tube M2 drain electrode output to amplifying unit 051;It is put by the first triode Q1 to what the 4th triode Q4 was formed
Big unit 051 stops generating pulse width modulation amplified signal according to low level switching signal, due to the first field-effect tube M1
Grid no pulse width modulated amplified signal input, therefore power conversion unit 052 stop generate out-put supply.
When push button signalling is low level, microprocessor U1 is according to regulated power supply, low level push button signalling, the high electricity of generation
Flat control signal is simultaneously exported from the 4th data input/output terminal PA4.0 of microprocessor U1 to the base stage of the 6th triode Q6;
Meanwhile microprocessor U1 is sampled according to regulated power supply, low level push button signalling, output current sampling signal and output voltage
Signal generates original pulse width modulated signal and exports from the 6th data input/output terminal PA6.0 of microprocessor U1 to first
The base stage of triode Q1;Second field-effect tube M2 and the 6th triode Q6 is generated according to the control signal of power supply, high level
The switching signal of high level is simultaneously exported from the second field-effect tube M2 drain electrode to amplifying unit 051, pole pipe Q1 to the 4th triode Q4
The amplifying unit 051 of composition generates pulse width modulation according to the switching signal and original pulse width modulated signal of high level and puts
Big signal is simultaneously exported from the emitter of the 4th triode Q4 to the grid of the first field-effect tube M1.
When pulse width modulation amplified signal is high level, the first field-effect tube M1 conducting, the first inductance L1 charging;When
When pulse width modulation amplified signal is low level, the first field-effect tube M1 cut-off, the first inductance L1 discharges, and the second inductance L2 fills
Electricity, first diode D1 export third direct current;When pulse width modulation amplified signal is is again high level, first effect
Should pipe M1 conducting, the first inductance L1 charging, the second inductance L2 electric discharge, first diode D1 export third direct current;Third direct current
The filter network that electricity is formed through the second capacitor C2, the 6th resistance R6 and the 7th resistance R7 filters and generates out-put supply with right
LED is powered.
It exports current sampling module 06 and current sample is carried out to generate output current sampling signal to out-put supply;Output electricity
Sampling module 07 is pressed to carry out voltage sample to out-put supply to generate output voltage sampled signal.
The embodiment of the present invention is by including the first Voltage stabilizing module, key module, control module, switch module, power supply conversion
Module, output current sampling module and output voltage sampling module;First Voltage stabilizing module generates pressure stabilizing electricity according to power supply
Source;Key module generates push button signalling according to user's input and regulated power supply;Control module according to regulated power supply, push button signalling,
It exports current sampling signal and output voltage sampled signal generates control signal and original pulse width modulated signal;Switching molding
Root tuber generates switching signal according to power supply, control signal;Power conversion module is according to power supply, switching signal and original
Pulse width modulating signal generates out-put supply;Output current sampling module carries out current sample to out-put supply to generate output
Current sampling signal;Output voltage sampling module carries out voltage sample to out-put supply to generate output voltage sampled signal;By
Out-put supply is generated according to power supply, switching signal and original pulse width modulated signal in power conversion module, and is opened
OFF signal is generated according to control signal, and control signal is generated according to push button signalling, therefore can be generated or be stopped by push button signalling
Out-put supply is only generated, to close emergency function, the flexibility for improving the device with emergency function is poor, it is therefore prevented that electric energy
Waste.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.