CN107517536A - Breath light control circuit and electronic equipment - Google Patents

Breath light control circuit and electronic equipment Download PDF

Info

Publication number
CN107517536A
CN107517536A CN201710763650.5A CN201710763650A CN107517536A CN 107517536 A CN107517536 A CN 107517536A CN 201710763650 A CN201710763650 A CN 201710763650A CN 107517536 A CN107517536 A CN 107517536A
Authority
CN
China
Prior art keywords
circuit
resistance
breath light
comparator
light control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710763650.5A
Other languages
Chinese (zh)
Other versions
CN107517536B (en
Inventor
王奔
尹奇红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xinguodu Payment Technology Co Ltd
Shenzhen Xinguodu Tech Co Ltd
Original Assignee
Shenzhen Xinguodu Payment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xinguodu Payment Technology Co Ltd filed Critical Shenzhen Xinguodu Payment Technology Co Ltd
Priority to CN201710763650.5A priority Critical patent/CN107517536B/en
Publication of CN107517536A publication Critical patent/CN107517536A/en
Application granted granted Critical
Publication of CN107517536B publication Critical patent/CN107517536B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/30Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a kind of breath light control circuit and electronic equipment, includes side's wave generation circuit, and it is connected with an I/O port of controller, be controlled by the I/O port level signal and the square-wave signal of exporting change;One Waveform adjusting circuit, it is connected with the outlet side of side's wave generation circuit, the square-wave signal of side's wave generation circuit is come from for adjusting and exports triangular signal;One on-off circuit, it is connected with the outlet side of the Waveform adjusting circuit, its break-make is controlled by triangular signal so as to control the work for the breath light D34 being attached thereto.Compared with prior art, one I/O port of the breath light control circuit and controller is connected by a control line, the effect of breath light is realized by the level signal control breath light control circuit of I/O port, the I/O port resource of controller is effectively saved, it is and relatively easy compared to the breath light control program of existing a plurality of control line using the breath light control program of a control line, exploitation is easier to, and development cost is low.

Description

Breath light control circuit and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of breath light control circuit and electronic equipment.
Background technology
Breath light is an ornament lamp, is widely used in the every field such as digital product, computer, sound equipment, automobile, is played very well Visual decorative effect, such as, breath light is designed on mobile phone, has untreated notice inside the mobile phone, such as do not fetch Electricity, the short message do not checked and accepted etc., breath light, to bright change, will so have rhythm as breathing by secretly, play one and lead to Know the effect of prompting;Breath light is designed in POS, using breath light indicate POS charge condition, including low battery, The state such as charging and full electricity, so that user charges use in time.
The design of breath light be unable to do without breath light control circuit, and currently, in general breath light scheme generally use is special Breath light IC chip controls the mode of breath light control circuit to realize, iic bus is needed in hardware design, but usually because total Line not enough needs two I/O ports to simulate iic bus, is often required for when secondary operational control breath light by IIC interfaces Go to communicate, cause design software to need substantial amounts of time, cost of labor, and it is this in the case of system I/O port resource-constrained Scheme is difficult to realize.For example, in Chinese patent application " 201611033925.1 ", processing module passes through four output ends To control the luminous of LED 1, LED 2 and LED 3, therefore, the place in processing module Reason chip needs to provide four I/O ports, so needs to take the more I/O port of process chip, when the I/O port resource of process chip has In limited time, this scheme realize it is more difficult, and for control I/O port more when, associated control procedures are complex, exploitation it is more difficult.
In order to avoid wasting the I/O port resource of the controllers such as CPU, the control such as breath light control circuit and CPU should be reduced as far as possible The connection line number of device processed, so as to save I/O port resource, while make it that programming is simpler.
The content of the invention
The technical problems to be solved by the invention are that providing a kind of controlled using single I/O port realizes breath light effect Breath light control circuit and electronic equipment.
In order to solve the above-mentioned technical problem, the invention discloses following technical scheme:A kind of breath light control circuit, it is described Breath light control circuit includes:
One side's wave generation circuit, it is connected with an I/O port of controller, is controlled by the level signal of the I/O port and exports The square-wave signal of change;
One Waveform adjusting circuit, it is connected with the outlet side of side's wave generation circuit, comes from the square wave for adjusting The square-wave signal of circuit occurs and exports triangular signal;
One on-off circuit, be connected with the outlet side of the Waveform adjusting circuit, by triangular signal control its break-make so as to Control the work for the breath light being attached thereto.
Its further technical scheme is:Side's wave generation circuit includes comparator U37A, resistance R408 and electric capacity C17, comparator U37A in-phase input end are connected with reference voltage V CC1, and comparator U37A output end passes sequentially through resistance R408 connects ground connection with electric capacity C17, and the inverting input of electric capacity C17 connection resistance R408 one end also with comparator U37A connects Connect, comparator U37A output end is connected with the Waveform adjusting circuit, and the I/O port of the controller is connected to electric capacity C17 and electricity Between resistance R408.
Its further technical scheme is:The both ends of the electric capacity C17 are also parallel with the resistance R410 for partial pressure.
Its further technical scheme is:Also accessed between the in-phase input end and reference voltage V CC1 of the comparator U37A There are a bleeder circuit and resistance R371, the reference voltage V CC1 to pass through bleeder circuit, the resistance R371 and comparator U37A In-phase input end connection, and the output end of the comparator U37A is connected to the comparator U371A by resistance R355 In-phase input end.
Its further technical scheme is:The Waveform adjusting circuit is an integrating circuit.
Its further technical scheme is:The integrating circuit includes resistance R370 and electric capacity C39, resistance R370 one end It is connected with side's wave generation circuit, the other end is grounded by electric capacity C39 and the end is connected with the on-off circuit.
Its further technical scheme is:The on-off circuit includes a switching tube, and the switching tube is adjusted with the waveform The connection of whole circuit, the control of its triangular signal exported by the Waveform adjusting circuit and break-make.
Its further technical scheme is:The switching tube is FET Q40, and the on-off circuit also includes breath light Power supply VCC3, resistance R114 and resistance R373, the positive pole of the breath light is connected by resistance R114 with power supply VCC3, described to exhale The negative pole for inhaling lamp is connected with the drain electrode of the FET Q40, grid and the Waveform adjusting circuit of the FET Q40 Connection, the grid of the FET Q40 are also grounded by resistance R373, FET Q40 source ground.
Its further technical scheme is:The switching tube is triode Q15, and the on-off circuit also includes breath light electricity Source VCC3, resistance R114 and resistance R373, the positive pole of the breath light are connected by the resistance R114 and breath light power supply VCC3 Connect, the negative pole of the breath light is connected with the emitter stage of the triode Q15, base stage and the waveform of the triode Q15 Adjustment circuit is connected, and the base stage of the triode Q15 is also grounded by the resistance R373, the colelctor electrode of the triode Q15 Ground connection.
A kind of electronic equipment, the electronic equipment include described breath light control circuit.
The method have the benefit that:The breath light control circuit side of the including wave generation circuit, waveform adjustment electricity The I/O port connection of road and on-off circuit, party's wave generation circuit and controller, square wave is controlled to send out by the level signal of I/O port The square-wave signal of raw circuit output change, square-wave signal controlling switch circuit after Waveform adjusting circuit is adjusted to triangular signal Break-make, so as to control the work of breath light, compared with prior art, the breath light control circuit is only by a control line The effect of the control of breath light can be achieved, effectively saved the I/O port resource of controller, and using the breathing of a control line Lamp control program is relatively easy compared to the breath light control program of existing a plurality of control line, and exploitation is easier to, and development cost is low.
Brief description of the drawings
Fig. 1 is the structural schematic block diagram of one embodiment of the invention;
Fig. 2 is the circuit connection diagram of one embodiment of the invention;
Fig. 3 is the triangular signal oscillogram of the Waveform adjusting circuit output of one embodiment of the invention;
Fig. 4 is the circuit connection diagram of another embodiment of the present invention.
Embodiment
It is further to technical scheme with reference to schematic diagram in order to more fully understand the technology contents of the present invention Introduce and illustrate, but be not limited to this.
As shown in Figure 1, Figure 2 and Figure 4, in the present invention, breath light control circuit 1 is connected with a controller 2, breath light control Circuit 1 processed includes side's wave generation circuit 11, a Waveform adjusting circuit 12 and an on-off circuit 13, wherein, square wave generation circuit 11 are connected with an I/O port of controller 2, and square wave generation circuit 11 is controlled by the square wave letter of the level signal of I/O port and exporting change Number;Waveform adjusting circuit 12 is connected with the outlet side of square wave generation circuit 11, for adjusting the side's of coming from wave generation circuit 11 Square-wave signal and export triangular signal;On-off circuit 13 is connected with the outlet side of Waveform adjusting circuit 12, by triangular signal Its break-make is controlled so as to control the work for the breath light being attached thereto.During work, breath light is indirect by the level signal of I/O port Control and different working conditions is presented, it includes Chang Liang, often goes out and three kinds of different working conditions such as breath light.By this hair Bright circuit connecting mode and control effect understand that the breath light control circuit 1 only takes up controller 2 when being connected with controller 2 By the I/O port, to the transmission level signal of breath light control circuit 1, control circuit so can be achieved in one I/O port, controller 2 In breath light work, compared with prior art, the present invention has effectively saved the I/O port resource of controller 2, realizes I/O port The maximization of the utilization of resources.Meanwhile the control program of single I/O port is more simple compared to the control program of multiple I/O ports, exploitation speed Faster, development cost is lower for degree.
As shown in Fig. 2 square wave generation circuit 11 includes comparator U37A, resistance R408 and electric capacity C17, comparator U37A In-phase input end be connected with reference voltage V CC1, comparator U37A output end passes sequentially through resistance R408 and electric capacity C17 and gone here and there With coupling, inverting input of the electric capacity C17 connection resistance R408 one end also with comparator U37A is connected, and comparator U37A's is defeated Go out Waveform adjusting circuit 12 to connect, the I/O port of the controller is connected between electric capacity C17 and resistance R408.Wherein, in Fig. 2 The control line that the CTR-LAMP wiring side of being wave generation circuit 11 is connected with the I/O port of controller 2, the level signal of I/O port pass through For CTR-LAMP bound transmissions into square wave generation circuit 11, the height of the level signal influences the voltage difference at electric capacity C17 both ends, from And electric capacity C17 working condition is influenceed, electric capacity C17 mainly includes charging, electric discharge or three kinds of different working conditions of not discharge and recharge, When electric capacity C17 constantly switchings between these three different working conditions, comparator U37A output end is by exporting change Square-wave signal.In addition, the electric voltage frequency size of comparator U37A output ends and electric capacity C17 amount of capacity and resistance R408 resistance Value size is closely related, can be by adjusting electric capacity C17 and resistance R408 size come the output end of the side's of adjustment wave generation circuit 11 Electric voltage frequency, so as to control the working frequency of breath light.
In the present embodiment, as shown in Fig. 2 electric capacity C17 both ends are also parallel with resistance R410, resistance R410 is used to divide Pressure is to raise the level of comparator U37A inverting input, so as to better control over comparator U37A output end exporting change Square-wave signal.
In the present embodiment, also access has a partial pressure electric between comparator U37A in-phase input end and reference voltage V CC1 Road and resistance R371, reference voltage V CC1 are connected by bleeder circuit, resistance R371 with comparator U37A in-phase input end, and Comparator U37A output end is connected to comparator U371A in-phase input end by resistance R355.In the present embodiment, such as Shown in Fig. 2, bleeder circuit is realized by the resistance R353 and resistance R354 of series connection, wherein, resistance R353 and reference voltage V CC1 Connection, resistance R354 ground connection, resistance R371 are connected between resistance R353 and resistance R354.Meanwhile the resistance in the present embodiment R353 and resistance R354 precision are 1%, and high-precision resistance R353 and resistance R354 cause the partial pressure of bleeder circuit more Accurately, the realization of circuit effect is advantageous to.
In the square wave generation circuit 11 that the present embodiment provides, comparator U37A model TP1542A-SR, electric capacity C17 It is 680K Ω for 4.7UF, resistance R408 and resistance R410, reference power supply VCC1 is 1.8V, and supply voltage VCC2 is 4.2V, electricity It is 10K Ω to hinder R353 and resistance R354, and resistance R371 is 100K Ω, and resistance R355 is 470K Ω.
In the present embodiment, Waveform adjusting circuit 12 is an integrating circuit, and the integrating circuit can be by square wave generation circuit 11 The square-wave signal of output is adjusted to triangular signal, so that the voltage signal change of input switching circuit 13 relaxes, avoids flowing through The current break of breath light and cause breath light neglect it is bright neglect dark, be easily damaged breath light.As shown in Fig. 2 the integrating circuit is electric R370 and electric capacity C39 is hindered, resistance R370 one end is connected with square wave generation circuit 11, and the other end is grounded by electric capacity C39 and should End is connected with on-off circuit 13.Wherein, resistance R370 is 2M Ω, and electric capacity C39 is 1UF.
In addition, breath light in the present invention is connected on on-off circuit 13, the working condition of breath light is by on-off circuit 13 break-make influences, and in order to realize breath light effect, on-off circuit 13 includes the pipe that opens the light, the switching tube and waveform adjustment electricity Road 12 is connected, and switching tube is closed or opened by the control of the output triangular signal of Waveform adjusting circuit 12, so that switch Circuit 3 is switched on or switched off.
In the present embodiment, as shown in Fig. 2 switching tube realizes that breath light passes through light emitting diode by FET Q40 D34 is realized.Specifically, on-off circuit 13 also includes breath light power supply VCC3, resistance R114 and resistance R373, light emitting diode D34 positive pole is connected by resistance R114 with power supply VCC3, and light emitting diode D34 negative pole connects with FET Q40 drain electrode Connect, FET Q40 grid is connected with the outlet side of Waveform adjusting circuit 12, and FET Q40 grid also passes through resistance R373 is grounded, FET Q40 source ground.In the circuit, resistance R114 plays metering function, for avoiding light emitting diode D34 is burnt out because electric current is excessive.In addition, resistance R370 partial pressures in resistance R373 and Waveform adjusting circuit 12 are to adjust field-effect Voltage between pipe Q40 grid and source electrode.In the present embodiment, FET Q40 is a N-channel FET, field-effect Pipe Q40 model DSS138, breath light power supply VCC3 are 3.3V, and resistance R114 is 1K Ω, and resistance R373 is 3M Ω.Certainly, In some other preferred embodiment, FET Q40 can use P-channel field-effect transistor (PEFT) pipe to realize that it specifically connects circuit root Designed according to the switching characteristic of P-channel field-effect transistor (PEFT) pipe is corresponding.
In some other embodiment, can also scene effect pipe Q4 source electrode connect one 0 Ω resistance R422 after be grounded again, Resistance R422 can finely tune the voltage between FET Q40 grid and source electrode, so as to which on-off circuit 13 is better achieved Control light emitting diode D34 that breath light effect is presented.In addition, also electricity can occur in controller 2 and square wave for convenience of debug circuit One 0 Ω resistance R421 is accessed in the CTR-LAMP wiring that road 11 connects.
In the breath light control circuit, controller 2 inputs different electricity by CTR-LAMP wiring to square wave generation circuit 11 Ordinary mail number, the voltage difference at level signal control electric capacity C17 both ends change so that electric capacity C17 occur charging, electric discharge or Three kinds of different working conditions of person's not discharge and recharge, in this way, the voltage of comparator U37A inverting input changes, comparator The voltage of U37A output end changes with the voltage change of inverting input, i.e. the square wave letter of comparator U37A exporting changes Number, then the square-wave signal is adjusted to triangular signal, triangular signal controlling switch circuit 13 by Waveform adjusting circuit 12 Break-make so as to control light emitting diode D34 present breath light effect.During real work, level signal includes high level, low level And hanging three types, the breath light control circuit are realized different working conditions according to different level signals, specifically included Following three kinds of working conditions:
(1) when controller 2 exports high level by control line to square wave generation circuit 11, comparator U37A's is reverse defeated Enter the level of the in-phase input end of the level more than comparator U37A at end, comparator U37A output end exports low level, now Because the voltage at electric capacity C17 both ends is fixed, electric capacity C17 exports low electricity without charge/discharge operation, comparator U37A output end Flat to fix, comparator U37A output end is connected by resistance R370 with FET Q40 grid, FET Q40 grid Voltage between pole and source electrode is relatively low, FET Q40 cut-offs, and no current flows through in on-off circuit 13, at light emitting diode D34 In state of often going out;
(2) when controller 2 exports low level by control line to square wave generation circuit 11, comparator U37A's is reverse defeated Enter the level of the in-phase input end of the level less than comparator U37A at end, comparator U37A output end exports high level, now Because the voltage at electric capacity C17 both ends is fixed, electric capacity C17 is without charge/discharge operation, the comparator U37A high electricity of output end output Flat to fix, comparator U37A output end is connected by resistance R370 with FET Q40 grid, FET Q40 grid Voltage between pole and source electrode is higher, FET Q40 conductings, has electric current to flow through in on-off circuit 13, at light emitting diode D34 In normal bright state;
(3) when controller 2 controls control line hanging, electric moment, comparator U37A same phase on the on-off circuit 13 Input is high level, and comparator U37A reverse input end is low level, and comparator U37A output end is high level, this When, square wave generation circuit 11 works to charge to electric capacity C17, and the voltage of comparator U37A reverse input end is with electric capacity C17's Charging voltage is raised and raised, until the voltage of comparator U37A reverse input end is more than comparator U37A in-phase input end Voltage when, comparator U37A output end output low level, electric capacity C17 starts to discharge, and electric discharge is until comparator U37A's is anti- After the voltage of in-phase input end to the voltage of input less than comparator U37A, electric capacity C17 is started to charge up again, such electric capacity Charging, electric discharge is repeated in C17, and comparator U37A output end is changed by electric capacity C17 repeated charge to form a shake Swing circuit, the rectangular wavy state of output voltage, then the square wave input waveform adjustment circuit 12 be adjusted, waveform adjustment electricity Resistance R370 and electric capacity C39 compositions integrating circuit, makes the rising of square wave and decline become slow in road 12, so as to by square wave Triangular wave is adjusted to, the triangular wave controls light emitting diode D34 work by on-off circuit 13.Waveform as shown in Figure 3 The triangular signal waveform of adjustment circuit output understands that the voltage waveform that Waveform adjusting circuit 12 exports is in triangular wave state, because And the voltage signal of input switching circuit 13 is continually changing, i.e., the voltage between FET Q40 grid and source electrode is not Disconnected change, FET Q40 can constantly switch on off state, specifically, when the voltage of input switching circuit 13 is in triangular wave During top, FET Q40 conductings, light emitting diode D34 is shinny, when the voltage of input switching circuit 13 is slow from triangular wave top It is slow that FET Q40 slowly becomes cut-off state from conducting state toward when dropping to triangular wave bottom, light emitting diode D34 from Bright slowly dimmed until knocking out, so repeatedly, i.e. light emitting diode D34 constantly flashes, so as to produce breath light effect.
In addition, in some other preferred embodiment, as shown in figure 4, the pipe that opens the light can be realized by triode Q15, exhale Lamp is inhaled to realize by light emitting diode D34.Specifically, on-off circuit 13 also include breath light power supply VCC3, resistance R114 and Resistance R373, light emitting diode D34 positive pole are connected by resistance R114 with breath light power supply VCC3, light emitting diode D34's Negative pole is connected with triode Q15 emitter stage, and triode Q15 base stage is connected with the outlet side of Waveform adjusting circuit 12, three poles Pipe Q15 base stage is also grounded by resistance R373, triode Q15 grounded collector.Wherein, resistance R114 plays metering function, For avoiding light emitting diode D34 from being burnt out because electric current is excessive.In the present embodiment, triode Q15 is real using PNP triode Existing, the model SS8550 of the triode, power supply VCC3 are 3.3V, and resistance R114 is 1k Ω, and resistance R373 is 3M Ω.Certainly, In some other preferred embodiment, triode Q15 can be realized with NPN triode, and it specifically connects circuit according to NPN tri- The switching characteristic of pole pipe is corresponding to be designed.
The basic phase of circuit working method of the circuit working method of embodiment shown in Fig. 4 and Fig. 2 embodiments provided Seemingly, its difference is, this embodiment replaces FET Q40 to realize the effect of switching tube using triode Q15.Actual work When making, when controller 2 exports high level by control line to square wave generation circuit 11, the voltage at electric capacity C17 both ends is fixed, electricity Discharge and recharge can not be carried out by holding C17, and the low level of comparator U37A output end output is fixed, and comparator U37A output end is passed through Resistance R370 is connected with triode Q15 base stage, and triode Q15 base stages are low level, and triode Q15 is turned on, on-off circuit 13 In there is electric current to flow through, light emitting diode D34 is in normal bright state;When controller 2 is defeated to square wave generation circuit 11 by control line When going out low level, the voltage at electric capacity C17 both ends is fixed, and electric capacity C17 can not realize charge and discharge effect, comparator U37A output end The high level of output is fixed, and comparator U37A output end is connected by resistance R370 with triode Q15 base stage, triode Q15 base stages are high level, and triode Q15 ends, and no current flows through in on-off circuit 13, and light emitting diode D34 is in the shape that often goes out State;When controller 2 controls control line hanging, electric capacity C17 charges, discharged and forms voltage rectangular ripple repeatedly, and square wave is through ripple Shape adjustment circuit 12 is adjusted to triangular wave, and triode Q15 base voltage constantly changes, at the voltage of input switching circuit 13 When triangular wave top, triode Q15 cut-offs, light emitting diode D34 knocks out, when the voltage of input switching circuit 13 is from triangular wave Slowly toward when dropping to triangular wave bottom, FET Q40 slowly becomes on-state, light emitting diode D34 from cut-off on top Slowly brightened from going out, so repeatedly, i.e. light emitting diode D34 constantly flashes, so as to produce breath light effect.
In on-off circuit 13 proposed by the present invention, controller 2 is only connected with square wave generation circuit 11 by a control line, Controller 2 inputs different level signals to square wave generation circuit 11, and square wave generation circuit 11 exports according to level signal is corresponding The square-wave signal of change, then the input switching circuit 13 after Waveform adjusting circuit 12 is adjusted to triangular signal, pass through control Pipe break-make is opened the light to control breath light that Chang Liang is presented, often go out or the change of effect that three kinds of breath light is different in on-off circuit 13, It is of the invention compared with existing breath light control circuit, with control line it is few the advantages of, be advantageous to save the I/O port money of controller 2 Source, while cause breath light control program to design also simpler, meet demand.
The present invention also proposes a kind of electronic equipment, and the electronic equipment includes breath light control circuit as described above, and this is exhaled The concrete structure of lamp control circuit is inhaled with reference to above-described embodiment, because this electronic equipment employs the whole of above-mentioned all embodiments Technical scheme, therefore, at least with all beneficial effects caused by the technical scheme of above-described embodiment, no longer go to live in the household of one's in-laws on getting married one by one herein State.Wherein, the electronic equipment can be the electronic devices such as POS, mobile phone or computer.
It is that above-mentioned preferred embodiment should be regarded as application scheme embodiment for example, all with application scheme thunder Same, approximation or the technology deduction made based on this, replacement, improvement etc., it is regarded as the protection domain of this patent.

Claims (10)

1. a kind of breath light control circuit, it is characterised in that the breath light control circuit includes:
One side's wave generation circuit, it is connected with an I/O port of controller, be controlled by the I/O port level signal and exporting change Square-wave signal;
One Waveform adjusting circuit, it is connected with the outlet side of side's wave generation circuit, comes from the square wave generation for adjusting The square-wave signal of circuit and export triangular signal;
One on-off circuit, it is connected with the outlet side of the Waveform adjusting circuit, controls its break-make to control by triangular signal The work for the breath light being attached thereto.
2. breath light control circuit as claimed in claim 1, it is characterised in that side's wave generation circuit includes comparator U37A, resistance R408 and electric capacity C17, comparator U37A in-phase input end are connected with reference voltage V CC1, comparator U37A's Output end passes sequentially through resistance R408 and connected with electric capacity C17 ground connection, electric capacity C17 connection resistance R408 one end also with comparator U37A inverting input connection, comparator U37A output end are connected with the Waveform adjusting circuit, the IO of the controller Mouth is connected between electric capacity C17 and resistance R408.
3. breath light control circuit as claimed in claim 2, it is characterised in that the both ends of the electric capacity C17 are also parallel with use In the resistance R410 of partial pressure.
4. breath light control circuit as claimed in claim 2, it is characterised in that the in-phase input end of the comparator U37A with Also access has a bleeder circuit and resistance R371, the reference voltage V CC1 to pass through bleeder circuit, electricity between reference voltage V CC1 Resistance R371 be connected with the in-phase input end of the comparator U37A, and the output end of the comparator U37A by resistance R355 and It is connected to the in-phase input end of the comparator U371A.
5. breath light control circuit as claimed in claim 1, it is characterised in that the Waveform adjusting circuit is an integration electricity Road.
6. breath light control circuit as claimed in claim 5, it is characterised in that the integrating circuit include resistance R370 and Electric capacity C39, resistance R370 one end are connected with side's wave generation circuit, and the other end is grounded by electric capacity C39 and the end and institute State on-off circuit connection.
7. breath light control circuit according to claim 1, it is characterised in that the on-off circuit includes a switch Pipe, the switching tube are connected with the Waveform adjusting circuit, and it is controlled by the triangular signal that the Waveform adjusting circuit exports Make and break-make.
8. breath light control circuit according to claim 7, it is characterised in that the switching tube is FET Q40, institute State that on-off circuit also includes breath light power supply VCC3, resistance R114 and resistance R373, the positive pole of the breath light pass through resistance R114 is connected with power supply VCC3, and the negative pole of the breath light is connected with the drain electrode of the FET Q40, the FET Q40 grid is connected with the Waveform adjusting circuit, and the grid of the FET Q40 is also grounded by resistance R373, field effect Should pipe Q40 source ground.
9. breath light control circuit according to claim 7, it is characterised in that the switching tube is triode Q15, described On-off circuit also includes breath light power supply VCC3, resistance R114 and resistance R373, the positive pole of the breath light pass through resistance R114 is connected with the breath light power supply VCC3, and the negative pole of the breath light is connected with the emitter stage of the triode Q15, described Triode Q15 base stage is connected with the Waveform adjusting circuit, and the base stage of the triode Q15 is also connect by the resistance R373 Ground, the grounded collector of the triode Q15.
10. a kind of electronic equipment, it is characterised in that the electronic equipment includes exhaling as described in claim 1-9 any one Inhale lamp control circuit.
CN201710763650.5A 2017-08-30 2017-08-30 Breathing lamp control circuit and electronic equipment Active CN107517536B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710763650.5A CN107517536B (en) 2017-08-30 2017-08-30 Breathing lamp control circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710763650.5A CN107517536B (en) 2017-08-30 2017-08-30 Breathing lamp control circuit and electronic equipment

Publications (2)

Publication Number Publication Date
CN107517536A true CN107517536A (en) 2017-12-26
CN107517536B CN107517536B (en) 2020-01-17

Family

ID=60723786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710763650.5A Active CN107517536B (en) 2017-08-30 2017-08-30 Breathing lamp control circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN107517536B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142275A (en) * 2018-11-06 2020-05-12 苏州三个臭皮匠生物科技有限公司 Contact lens cleaning circuit and contact lens cleaning box
CN111836425A (en) * 2020-06-24 2020-10-27 马瑞利汽车零部件(芜湖)有限公司 Hardware design circuit for realizing LED breathing animation effect
CN114554960A (en) * 2019-11-15 2022-05-27 欧姆龙健康医疗事业株式会社 Electrocardiogram measuring device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155449A (en) * 2006-09-25 2008-04-02 硕颉科技股份有限公司 Width pulse modulation device and its control circuit and method and method
CN201178510Y (en) * 2008-04-16 2009-01-07 深圳新飞通光电子技术有限公司 Optical power control APC circuit for voltage boosting driving light transmitter
US20110074292A1 (en) * 2009-09-25 2011-03-31 Minoru Maehara Led lamp driving circuit with dimming capability
CN203289701U (en) * 2013-05-14 2013-11-13 Tcl通力电子(惠州)有限公司 Breathing lamp control circuit and electronic equipment
CN103687149A (en) * 2012-09-18 2014-03-26 鸿富锦精密工业(深圳)有限公司 Workload indication control circuit and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155449A (en) * 2006-09-25 2008-04-02 硕颉科技股份有限公司 Width pulse modulation device and its control circuit and method and method
CN201178510Y (en) * 2008-04-16 2009-01-07 深圳新飞通光电子技术有限公司 Optical power control APC circuit for voltage boosting driving light transmitter
US20110074292A1 (en) * 2009-09-25 2011-03-31 Minoru Maehara Led lamp driving circuit with dimming capability
CN103687149A (en) * 2012-09-18 2014-03-26 鸿富锦精密工业(深圳)有限公司 Workload indication control circuit and electronic device
CN203289701U (en) * 2013-05-14 2013-11-13 Tcl通力电子(惠州)有限公司 Breathing lamp control circuit and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142275A (en) * 2018-11-06 2020-05-12 苏州三个臭皮匠生物科技有限公司 Contact lens cleaning circuit and contact lens cleaning box
CN114554960A (en) * 2019-11-15 2022-05-27 欧姆龙健康医疗事业株式会社 Electrocardiogram measuring device
CN111836425A (en) * 2020-06-24 2020-10-27 马瑞利汽车零部件(芜湖)有限公司 Hardware design circuit for realizing LED breathing animation effect

Also Published As

Publication number Publication date
CN107517536B (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN107517536A (en) Breath light control circuit and electronic equipment
CN104953650B (en) A kind of battery electric quantity display device
CN205480263U (en) Led lamp and led control circuit
CN104457974B (en) The test device and method of testing of light sensor
CN105163426A (en) Programming setting circuit used for setting output parameters of LED driving power supply
CN206524658U (en) Portable power source pin multiplexing circuit
CN204044613U (en) A kind of control system of electric equipment of hotel guest room
CN207967976U (en) Charging system, charging module and mobile terminal
CN104333066B (en) A kind of charging system
CN206331538U (en) Handheld POS terminal and its USB switching circuits
CN206259588U (en) A kind of Intelligent Recognition power-off protection band breath light data wire
CN107404783B (en) Ad hoc network color lamp device and color lamp system based on the control of power supply line edge signal
CN209658964U (en) A kind of QC protocol circuit
CN104955251A (en) Voltage detecting circuit and lamp
CN109753100A (en) A kind of current limliting output dynamic regulating circuit
CN204231406U (en) A kind of Multifunction cross of the quick-setting based on toggle switch is changed planes
CN103188842B (en) A kind of mine lamp
CN205081947U (en) Horse race lamp circuit based on bluetooth speaker
CN107733025A (en) Double charging circuits and its operation method compatible with DC a kind of USB
CN208873140U (en) Multiplex roles USB circuit based on MTK chip for cell phone
CN207490252U (en) A kind of double Type-C interfaces charging data lines
CN109286218A (en) Charge mode switching method, charging circuit, electronic equipment and charging system
CN207070425U (en) Speech controling switch device
CN207426740U (en) It is a kind of that the circuit to charge to automotive interior battery is realized by cigarette lighter socket
CN208797619U (en) A kind of charging of novel belt is turned off the light functional circuit

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant