CN101977464B - LED power control chip - Google Patents
LED power control chip Download PDFInfo
- Publication number
- CN101977464B CN101977464B CN201010290595.0A CN201010290595A CN101977464B CN 101977464 B CN101977464 B CN 101977464B CN 201010290595 A CN201010290595 A CN 201010290595A CN 101977464 B CN101977464 B CN 101977464B
- Authority
- CN
- China
- Prior art keywords
- module
- pwm
- chip
- signal
- comparator
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Led Devices (AREA)
Abstract
The invention relates to an LED power control chip. A signal measurement module is connected with a sampling control module; the sampling control module is respectively connected with a sample comparator, a volatile memory and a PWM (Pulse-Width Modulation) module; the sample comparator is connected with the volatile memory; the volatile memory is connected with the PWM module; a nonvolatile memory is connected with the PWM module; a 24-hour cycle counter is connected with a time comparator; the time comparator is connected with the nonvolatile memory and the PWM module; a clock frequency dividing module is connected with the 24-hour cycle counter; a chip address module is connected with the volatile memory; a communication interface is connected with the volatile memory; the communication interface is connected with the 24-hour cycle counter; the communication interface is connected with the nonvolatile memory; and an LED parallel branch opening summator is connected with the PWM module and the volatile memory. By using the LED power control chip, analog-to-digital conversion can be realized simply, and an analog circuit does not need to be embedded in the chip for minimizing the cost. The chip can be used separately, and also can be used in a networking way.
Description
Technical field
The present invention relates to a kind of chip technology field, be specifically related to a kind of LED power supply control chip.
Background technology
The driving of LED is mainly the constant-current source that adopts PWM to control, existing LED power supply is controlled the measuring ability that temperature is generally all provided, but the compensation for temperature is generally just controlled limiting temperature, adopt the way of power cutoff or PWM no-output, for the protection of overcurrent, just the total source current of total constant-current source is detected to regulate PWM output; Do not consider to change the given of output power of power supply by surround lighting or conditional parameter, because be not so just called as constant-current source; Do not consider the situation that the appearance of LED parallel branch is opened circuit, when opening circuit appears in the parallel branch of LED, electric current is by the normal branch road being added under residue, and so normal parallel branch will be shared total electric current, occur possibly the rapid damage LED of avalanche type.
For the situation of mains-supplied, sometimes also have the peak valley of power supply to adjust requirement, or the artificial adjustment of carrying out power, so need to set operational factor regularly, existing LED power drives chip, does not have such function.Gather all situations, adopt microprocessor (MCU) to realize, but price will increase a lot, not only in chip, to embed microprocessor, also need considering processor framework, analog to digital converter, communication interface, nonvolatile storage and microprocessor programming language system, owing to being the plate level technology adopting, reliability can be very not high, cost will be higher, and the clock frequency of work is limited to adopted microprocessor (MCU), user's operation technique also has higher requirement, exploitation is for low cost, powerful LED power supply control chip, it is the target that industry is pursued always.
Summary of the invention
Problem to be solved by this invention is: a kind of functional strong, LED power supply control chip that cost is low is provided, and this power supply chip is a kind of digit chip, and this power supply chip does not embed microprocessor and conventional analog to digital converter.Safety problem when the invention solves LED parallel branch and opening circuit, having solved LED light fixture needs the operation problem regularly and in setup parameter situation, and the while, chip of the present invention provided programmable address, can networking operation under the control of distance host.
In order to solve the problems of the technologies described above, the present invention by the following technical solutions:
A kind of LED power supply control chip, it is characterized in that it comprises: signal measurement module, controlling of sampling module, communication interface, sample comparator, clock and frequency division module, chip address module, volatile memory, nonvolatile storage, 24 hours cycle counters, LED parallel branches open circuit several adders, time comparator, PWM module, signal measurement module is connected with controlling of sampling module, to set up the passage of sampling and to obtain sampled data, controlling of sampling module is connected with sample comparator, volatile memory, PWM module respectively, sample comparator is connected with nonvolatile storage, with the sample data with from nonvolatile storage, compare and acquired results is stored in to volatile memory, volatile memory is connected with PWM module, controlling of sampling module compares the currency of preserving in ambient brightness value and volatile memory, if ambient brightness value changes, controlling of sampling module will send ambient brightness variable signal to PWM module, controlling of sampling module compares measured temperature value and the set point in nonvolatile storage simultaneously, if not in normal temperature range, controlling of sampling module sends temperature anomaly signal to PWM module, nonvolatile storage is connected with PWM module, PWM module is extracted the parameter that is stored in nonvolatile storage, within 24 hours, cycle counter is connected with time comparator, time comparator and nonvolatile storage, PWM module is connected, time comparator for and from the timing value of nonvolatile storage, compare, when have regularly starting point to or regularly terminal to signal, occur, time comparator will start and being connected of PWM module, with the PWM starting according to this condition, calculate, clock frequency division module is connected with 24 hours cycle counters, and chip address module is connected with volatile memory, and chip address is deposited in wherein, and communication interface is connected with volatile memory, so that chip address is got back to distance host, it is in order to start correction time that communication interface is connected with 24 hours cycle counters, communication interface is connected with nonvolatile storage, in order to arrange, to revise parameter or receiving parameter, LED parallel branch several adders that open circuit are connected with PWM module, volatile memory, the parallel connection of all LED branch roads situation that opens circuit is done to carry addition computing, if LED parallel branch occurs abnormal, carry addition operation result is sent into volatile memory, and transmit LED parallel branch abnormal signal to PWM module.
The present invention compared with prior art has following beneficial effect: each module of the present invention has the feature of real time execution; cancelled the method that embeds microprocessor; reduced the cost of buying intellectual property simultaneously; the present invention can realize analog-to-digital conversion simply; need to not embed analog circuit at chip; with most probable reduce cost; chip both can be used separately; also can networking use; in the situation that not increasing large-scale cost, the function of existing LED power supply control chip and the safeguard protection of LED have greatly been improved.The present invention has level and smooth light modulation according to ambient brightness; Fence coverage in temperature has level and smooth light modulation and overheat protector; Can realize regularly fixed condition operation; The remote network control that is suitable for different brightness of illumination requirements.
Accompanying drawing explanation
Fig. 1 is chip pin figure
Fig. 2 is chip module figure
Fig. 3 is signal measurement module figure
Fig. 4 is reserve battery charging module, clock and frequency division module, 24 hours cycle counter module map
Fig. 5 is communication interface and chip address module map
Fig. 6 is PWM module principle figure.
Embodiment
?referring to Fig. 1, the present invention includes signal measurement module, reserve battery charging module, communication interface, controlling of sampling module, sample comparator, clock and frequency division module (being clock generation module and multi-channel frequency division module), chip address module, volatile memory, nonvolatile storage, 24 hours cycle counters, LED parallel branches open circuit several adders, time comparator, PWM module.The annexation of each module is as follows:
1) signal measurement module is connected with controlling of sampling module, to set up the passage of sampling and to obtain sampled data; Measurand is the LED parallel branch break signal with digital I/O form input of ambient brightness signal, temperature signal and a plurality of passages, the resistance comparative method for measuring temperature and the ambient brightness that comprise two passages, and a kind of signal measurement method of utilizing sampling discharge time of RC discharge loop, temperature measuring circuit is built in chip;
2) controlling of sampling module respectively with sample comparator, volatile memory, PWM module is connected, sample comparator is connected with nonvolatile storage, built-in chip type nonvolatile storage, with the sample data with from nonvolatile storage, compare and acquired results is stored in to volatile memory, this result will be in controlling of sampling module as the parameter of computing, according to operation result, determine whether that to PWM module, sending ambient brightness changes signal or temperature anomaly signal, this controlling of sampling module compares the currency in ambient brightness value and volatile memory, if changed, controlling of sampling module will send ambient brightness variable signal to PWM module, this sampling module compares measured temperature value and the set point in nonvolatile storage simultaneously, if not in normal temperature range, controlling of sampling module sends temperature anomaly signal to PWM module.Volatile memory is connected with PWM module, preserves PWM cycle rate counter and PWM pulsewidth counter count value used for PWM module;
3) built-in chip type PWM module, the computing function of PWM module; It comprises priority and judges calculating, ambient brightness and PWM duty ratio are calculated, attemperator is calculated, several determined PWM duty ratios that open circuit that LED parallel branch is total are calculated, the PWM duty ratio of the operation of the setting during period calculated, and PWM module includes two counters, counts for one for the pulse period, for pulse duration, count in order to produce pwm pulse for one, PWM duty ratio is corresponding to the count value of these two counters;
4) reserve battery charging module has charging circuit, and reserve battery charging module is connected with clock frequency division module, and to obtain correct clock, clock frequency division module is connected with 24 hours cycle counters; Duplicate supply is chip power supply, wherein battery-powered for chip provides safeguard the operation of 24 hours circulation clocks, the data of nonvolatile storage are preserved and chip is restarted when main power source power down, between two power supplys without switching, thereby guarantee its reliability;
5) 24 hours cycle counters are connected with time comparator, time comparator is connected with nonvolatile storage, PWM module, time comparator for and from the timing value (beginning or end) of nonvolatile storage, compare, then be connected with PWM module, when have regularly starting point to or regularly terminal to signal, occur, time comparator is by starting and being connected of PWM module, to start the PWM calculating according to this condition;
6) nonvolatile storage is connected with PWM module, is in order to extract several parameter (safe temperature maximum, limiting temperature value, timing starting point and terminal, running parameters of setting (as operating voltage or the ambient brightness parameter set) that are stored in wherein;
7) chip address module is connected with volatile memory, and chip address is deposited in wherein; The setting that chip is chip address provides 4 pins, can be by connecing 15 the different addresses that are combined to form of positive source and ground connection;
8) communication interface is connected with volatile memory, and so that chip address is got back to distance host, the time value that will calibrate is preserved wherein, built-in chip type communication interface;
10) to be connected with 24 hours cycle counters be in order to start correction time to communication interface;
11) communication interface is connected with nonvolatile storage, is in order to arrange, to revise parameter or receiving parameter;
12) LED parallel branch several adders that open circuit are connected with PWM module, volatile memory, LED parallel branch several adders that open circuit are done carry addition computing to the parallel connection of all LED branch roads situation that opens circuit, if LED parallel branch occurs abnormal, carry addition operation result is sent into volatile memory, and transmit LED parallel branch abnormal signal to PWM module.
Referring to Fig. 2, chip body 100 has 24 pins: main power source pin VCC, reserve battery power pin VCC1, ground wire GND, two clock pins XTAL0 and XTAL1, two communication interface pin RX and TX, 4 address programming pin A0~A3, two resistance ratios sample pin X0 and X1,3 RC discharge and recharge sampling pin B0~B2,6 LED parallel branches feedback signal pin IO-0~IO-5 that opens circuit.
Referring to Fig. 3, Fig. 3 is signal measurement module figure.
1) temperature signal obtains, 3 resistance of built-in chip type, one is standard precision resistance RS, and one is thermistor RT, and one is conventional resistance R, RS is connected with data sampling control module 106 by break-make control module 105 with R, thermistor RT, by after being connected with gating switch 104, is connected with data sampling control module 106 by break-make control module 105 again, and the other end of three resistance is connected together, then be connected with the capacitor C 1 outside a chip, the other end ground connection of C1.Its measuring principle is: by break-make control module 105, connect standard precision resistance RS juxtaposition high level, connect R and set low platform, RS will charge to C1, after uprising, the level that is connected to data sampling control module 106 of R shows that capacitor C 1 charging is full, by break-make control module 105, disconnect standard precision resistance RS, the line of juxtaposition R is low level, and capacitor C 1 will be discharged by resistance R, thereby determines the charging interval of a standard of charging by RS.To thermistor RT, as standard precision resistance RS, also can adopt same action, when thermistor changes, also can change to the charging interval of capacitor C 1, in charging interval corresponding to the precision resistance of standard, just can draw the value of thermistor, thereby obtain the value of temperature.
2) mode with measuring resistance obtains ambient light signal,as measure photo resistance or photodiode resistance R L, can adopt described thermometric principle, but the placement of measured resistance object is relevant with environment, therefore can only be placed on outside chip, RL is with after gating switch 104 in chip is connected, then by break-make, controls 105 and be connected with data sampling control module 106.Gating switch 104 determines when measures temperature signal, and when measurement environment light signal, realizes two channel measurements.
3) to measure RC, discharge and recharge time measurement surround lighting,to measure RC measure ambient light discharge time method, it is another kind of optional analog signal method of measurement, by the surround lighting voltage signal V (t) that must arrange, by gating switch 101 contact resistance R1, then be connected with the end of oppisite phase of charging capacitor C2, comparator 102 respectively, the in-phase end of comparator 103 is connected, the end of oppisite phase ground connection of comparator 103 forms a zero comparator.Reference voltage Vf is connected with the in-phase end of comparator 102, and the output of comparator 102 is connected to the pin B0 of chip, and this pin is connected to controlling of sampling module 106.The output of comparator 103 is connected to the pin B1 of chip, and this pin is connected to controlling of sampling module 106.The gating signal line of gating switch 101 is connected to controlling of sampling module 106 by chip pin B2.Its measuring principle is: when gating switch is switched to one side of V (t), start capacitor C 2 chargings, when being charged to reference voltage Vf, a reverse signal of comparator 102 outputs, at this moment gating switch 101 is switched to earth terminal, and capacitor C 2 starts electric discharge, after electric discharge finishes, comparator 103 provides signal, and at this moment gating switch 101 is connected V (t), starts charging.Just can be according to formula: Vf=V (t) * e as long as record this discharge time
-t/RCobtain the value of V (t).Then the criterion and quantity record sheet in corresponding storage on chip just can complete the sampling of analog signal.It is emphasized that, can obtain the value of V (t) by charge time that C2 voltage arrives Vf of measurement equally, although V (t) is the function of a time, as long as choose suitably Vf, R1 and C2, make to discharge and recharge the time enough short, can obtain well precision of V (t).
data sampling flow processits function comprises: 1) connection is had to the nonvolatile storage 110 of definite criterion and quantity value of sampling, these data can not be lost, can be by the communication interface rewriting of programming, this memory need to be non-volatile, to controlling of sampling module, is read-only.2), when adopting resistance comparison method to sample, during to the two tunnels sampling of temperature signal and ambient light signal, control channel is switched, and determines the interval time of sampling, and break-make control module 105 is controlled.3) method of two kinds of samplings described in right is all required to the charge or discharge time of testing capacitor C1 or C2, table look-up and compare with the criterion and quantity value being stored in nonvolatile storage 110, as data drop in determined scope, data are delivered to volatile memory 107, if sampling is ambient brightness signal, compare with the ambient brightness value of current determined pwm signal, if different, will start the ambient brightness variable signal being connected with PWM module; If sampling is temperature signal, with nonvolatile storage in set point compare, if not in normal range (NR), will start the temperature anomaly signal be connected with PWM module.Output driver module 111 is that pwm signal is carried out exporting after drive amplification.
the judgement of opening circuit of LED multi-path parallel branch, its method is by the parallel branch of each LED is carried out to voltage sample, and adjusts as level signal, when having voltage signal, is high level, when no-voltage signal, is low level, now shows that certain LED parallel branch disconnects.The pin of these signals by chip is connected to LED parallel branch several adders 108 that open circuit, and this is an achieved function of simple add with carry musical instruments used in a Buddhist or Taoist mass.When all branch roads are all high level, and number has maximum, so can judge whether LED branch road exists, opens circuit.Once with number is not maximum, the LED parallel branch abnormal signal by being connected with PWM module triggered to PWM and count module 109, and according to several calculating of making PWM of opening circuit.
fig. 4 is reserve battery charging module, clock and frequency division module, 24 hours loop counter circuit figure, main power source VCC is connected to the in-phase end of comparator 201 through resistance R 2, the in-phase end of comparator 201 is through R3 ground connection, 201 output is connected to the base stage of triode Q by resistance R 4, the emitter of Q charges to battery BT by diode D2, the collector electrode of Q is connected with main power source VCC by diode D1, the emitter of Q is connected to the ground by capacitor C 3, the emitter of Q is connected with resistance R 6, then by R7, be connected to the ground, the base stage of Q is connected to the ground by resistance R 5, the emitter of Q is connected with resistance R 6, but the end of oppisite phase that is then connected to comparator 201 obtains feedback signal.
Its operation principle is: VCC obtains the reference voltage level benchmark of device 201 as a comparison through R2, R3 dividing potential drop.Then a signal of comparator 201 outputs is to triode Q, and triode selects switching tube to be operated on off state, then can charge to rechargeable battery BT.D1 has the conduct of voltage stabilizing.When charging time, the voltage signal of feedback will raise, and time reference voltage, comparator will be less than output, and triode will quit work.BT battery will not be recharged.Feedback voltage signal is low to time certain, and reserve battery BT can be recharged again.
Reserve battery BT provides power supply VCC1 for the clock generation module 202 in chip, multi-channel frequency division module 203,24 hours cycle counters 204, nonvolatile storage 110, power-off restarting timer 2s 07.Other modules are powered by main power source VCC in sheet in addition, can guarantee main power source VCC power down after reserve battery without switching, work.Clock generation module 202, multi-channel frequency division module 203 are conventional circuit module, and wherein multi-channel frequency division provides several work clocks, and one of them is the 1HZ clock that meets 24 hours cycle tiemrs, also have overall situation operation clock.
Chip is by main power source VCC and reserve battery power supply VCC1 duplex feeding, VCC1 is clock circuit, multi-channel frequency division module, cycle counter, nonvolatile storage and system reset circuit power supply in 24 hours, during with assurance chip main power source VCC power down, power supply is without switch operating, and data can not lost with 24 hours cycle counters and can normally be moved.
Capacitor C 4, C5 and crystal oscillator XTAL form outside oscillation source, by pin XTAL0 and XTAL1, be connected to clock generation module 202, clock generation module 202 is connected to multi-channel frequency division device 203, the elapsed time clock CLK1 that multi-channel frequency division device 203 produces is connected to 24 hours cycle counters 204, 24 hours cycle counters 204 produce 16 outputs and are connected to time comparator 208, nonvolatile storage 110, the comparison value of the time that gives is connected with time comparator 208, time setup control signal from communication interface is connected to 24 hours cycle counters 204, from value time calibration of communication interface, set that to be connected to volatile memory be 107.Power-off signal can be taken from main power source VCC and be connected to power-off restarting timer 2 07, the output Restart Signal that power-off restarting timer 2 07 produces is connected to an input of two or door 209, its another input is connected with reset signal Reset, two or the outputs that produce of door 209 be connected with the input of volatile memory group 206, be connected with the input of time comparator, also with other by VCC, provide the functional module of power supply to be connected to reset reliably guaranteeing.Within 24 hours, cycle counter 204 is always in work, but will be again since 0 counting after within 24 hours, counting is full, and the count value producing always with nonvolatile storage 110 in timing working starting time value and the timing working terminal time value of preserving in time comparator 208, compare computing, when count value and timing working starting time value equate, will produce one regularly starting point to signal, export, and transfer to timing working terminal time value and compare computing.When counting and timing working terminal time value equate, will produce a timing terminal and export to signal, and transfer to timing working starting time value and compare computing.This two signal line will be connected to PWM module 109, to trigger PWM module, carry out recalculating of PWM.
referring to Fig. 5, Fig. 5 iscommunication interface and chip address module map, 4 address programming pin A0~A3 are connected respectively to chip address module 301, chip address module can be determined chip address according to 4 programming pins, article 4, pin can form 15 different addresses except 0 by connecing the combination of power supply VCC and ground connection, can realize maximum and form host chip structural network by 15 chips, chip address module 301 connects volatile memory 107, once chip power, startup is write to lambda line, chip address module 301 writes address corresponding in volatile memory 107 address value of chip, communication interface 303 is connected with volatile memory 107, two external pins of communication port are RX and TX, externally can connect main frame, internally connect the communication interface 303 in chip, communication interface 303 connects nonvolatile storage 110.Its operation principle is as follows: the address that the wiring of the external connection of 4 addresses programming pin A0~A3 by power supply VCC and ground is combined to form is written in volatile memory 107 by chip address module 301.The course of work of communication is: 1) first distance host sends a commencing signal; 2) then distance host is sent out a read signal and is read 8 chip address value addresses in a certain address in volatile memory 107, then by communication interface 303, undertaken turning back to main frame after parallel-serial conversion and compare computing, main frame has been preset address parameter, if unequal relatively, exit communication, otherwise carry out next step.3) when comparative result equates, the control operation that can carry out has three: the correction of the reading or writing of nonvolatile storage, time.In the process of any one control operation, all control signal is kept always, until next control signal arrives.If many data operation to nonvolatile storage, need a definite number of addresses to do cycling (not necessarily obtaining continuously address), if the operation of correction time sends calibration value to volatile memory, within 24 hours, cycle counter 204 will be triggered, and realizes the alignment time.After sign off, control signal is removed and is kept.It is logical that communication interface is done serial data data transaction and parallel-serial conversion conversely and transfer of data, and the direction of data communication is controlled in the flow direction of control signal and maintenance.
referring to Fig. 6,fig. 6 is PWM module principle figure
,digital Logical Circuits 116 is connected with nonvolatile storage 110 with data wire by sense wire, address wire; Digital Logical Circuits 116 is connected with PWM cycle rate counter 113 with sense wire by PWM cyclomorphosis holding wire, address wire, data wire; Digital Logical Circuits 116 is connected with PWM pulsewidth counter 112 with sense wire by PWM pulsewidth change holding wire, address wire, data wire; Digital Logical Circuits 116 is by data wire, address wire and write lambda line and be connected with volatile memory 107; PWM cycle rate counter 113 is connected with volatile memory 107 with data wire by sense wire, address wire; PWM pulsewidth counter 112 is connected with volatile memory 107 with data wire by sense wire, address wire; PWM cycle rate counter 113 is connected with PWM pulsewidth counter 112 by the counting spill over line of sense wire, address wire, data wire and PWM cycle rate counter 113; The counting spill over line of PWM pulsewidth counter 112 is connected with PWM generator 114; PWM generator 114 produces pwm signal output.
5 control signals: ambient brightness variable signal, temperature anomaly signal, timing starting point are sent to respectively Digital Logical Circuits 116 to signal, timing terminal to signal, LED parallel branch abnormal signal, the request that Digital Logical Circuits 116 execution following steps: PWM recalculate is as follows according to its priority orders of work safety rank: 1, LED parallel branch abnormal signal, 2, temperature anomaly signal, 3, regularly starting point to signal, regularly terminal is to signal, 4, ambient brightness variable signal.The arthmetic statement that PWM calculates is as follows: during beginning, see which control signal arrives, if without any control signal, just by ambient brightness data, be PWM and calculate, if temperature anomaly signal arrives, but temperature is in safe working temperature higher limit, between limiting temperature value, using anti-gradient method as duty ratio basis, when reaching the limit of temperature value, PWM duty ratio is minimum, no-output.When LED parallel branch abnormal signal arrives, according to the number that opens circuit of LED parallel branch, computed duty cycle.If regularly starting point arrives to signal, the light modulation running parameter of reading requirement (as line voltage or the luminance index set), computed duty cycle.If regularly terminal arrives to signal, recover conventional light modulation operating parameter values, computed duty cycle, so calculate the variation of the light that still conforms, changes duty ratio on the basis of the duty ratio of controlling at surround lighting exactly again.The essence that its PWM calculates is that the value that produces two countings is kept in volatile memory 107, as long as count value changes, just will trigger will change that of count value of corresponding two counters 112 and 113, he will read corresponding count value and counting again from volatile memory 107.The generation of PWM is determined by two parameters, be pulse period and pulse duration, can be obtained by two counter PWM cycle rate counters 113 and PWM pulsewidth counter 112, when PWM pulsewidth counter 112 starts to count, pwm pulse starts to produce, until count complete, then produce pulse trailing edge, and wait for that PWM cycle rate counter 113 countings finish, after PWM cycle rate counter 113 countings overflow, trigger PWM pulsewidth counter 112 and start counting again, and PWM cycle rate counter 113 is also counted again, the circulation that enters next cycle.
If the way of LED parallel branch is less than the way that chip sets, unnecessary pin will meet positive supply VCC.For the programming of chip address, single-pole double throw jumper switch or a toggle switch with 4 tunnels is installed on pcb board, according to different wire jumpers, connect positive supply or ground, to realize the requirement of address programming.After the address of chip determines, can pass through the mode control chip of network, the communication interface by communication interface communicates, and sets timing and timing working parameter value and can under equivalent environment brightness, send different brightness by LED.Can implement with independent chip by network implementation, when independent chip is implemented, can ignore the setting of chip address.
Claims (11)
1. a LED power supply control chip, it is characterized in that it comprises: signal measurement module, controlling of sampling module, communication interface, sample comparator, clock and frequency division module, chip address module, volatile memory, nonvolatile storage, 24 hours cycle counters, LED parallel branches open circuit several adders, time comparator, PWM module, signal measurement module is connected with controlling of sampling module, to set up the passage of sampling and to obtain sampled data, controlling of sampling module is connected with sample comparator, volatile memory, PWM module respectively, sample comparator is connected with nonvolatile storage, with the sample data with from nonvolatile storage, compare and acquired results is stored in to volatile memory, volatile memory is connected with PWM module, controlling of sampling module compares the currency of preserving in ambient brightness value and volatile memory, if ambient brightness value changes, controlling of sampling module will send ambient brightness variable signal to PWM module, controlling of sampling module compares measured temperature value and the set point in nonvolatile storage simultaneously, if not in normal temperature range, controlling of sampling module sends temperature anomaly signal to PWM module, nonvolatile storage is connected with PWM module, PWM module is extracted the parameter that is stored in nonvolatile storage, within 24 hours, cycle counter is connected with time comparator, time comparator and nonvolatile storage, PWM module is connected, time comparator for and from the timing value of nonvolatile storage, compare, when have regularly starting point to or regularly terminal to signal, occur, time comparator will start and being connected of PWM module, with the PWM starting according to this condition, calculate, clock and frequency division module are connected with 24 hours cycle counters, and chip address module is connected with volatile memory, and chip address is deposited in wherein, and communication interface is connected with volatile memory, so that chip address is got back to distance host, it is in order to start correction time that communication interface is connected with 24 hours cycle counters, communication interface is connected with nonvolatile storage, in order to arrange, to revise parameter or receiving parameter, LED parallel branch several adders that open circuit are connected with PWM module, volatile memory, the parallel connection of all LED branch roads situation that opens circuit is done to carry addition computing, if LED parallel branch occurs abnormal, carry addition operation result is sent into volatile memory, and transmit LED parallel branch abnormal signal to PWM module.
2. a kind of LED power supply control chip as claimed in claim 1, it is characterized in that: described signal measurement module comprises 3 resistance, one is standard precision resistance RS, one is thermistor RT, one is conventional resistance R, RS is connected with controlling of sampling module (106) by break-make control module (105) with R, thermistor RT is by after being connected with gating switch one (104), by break-make control module (105), be connected with controlling of sampling module (106) again, the other end of three resistance is connected together, be connected with the capacitor C 1 outside a chip, the other end ground connection of C1.
3. a kind of LED power supply control chip as claimed in claim 2, is characterized in that: photo resistance RL is placed on outside chip, after gating switch one (104) in chip is connected, then is connected with controlling of sampling module (106) by break-make control module (105).
4. a kind of LED power supply control chip as claimed in claim 2, it is characterized in that: surround lighting voltage signal V (t) is by gating switch two (101) contact resistance R1, resistance R 1 respectively with charging capacitor C2, the end of oppisite phase of comparator one (102) is connected, the in-phase end of comparator two (103) is connected, the end of oppisite phase ground connection of comparator two (103) forms a zero comparator, reference voltage Vf is connected with the in-phase end of comparator one (102), the output of comparator one (102) is connected to the pin B0 of chip, this pin is connected to controlling of sampling module (106), the output of comparator two (103) is connected to the pin B1 of chip, this pin is connected to controlling of sampling module (106), the gating signal line of gating switch two (101) is connected to controlling of sampling module (106) by chip pin B2.
5. a kind of LED power supply control chip as claimed in claim 1 or 2, is characterized in that: it is also provided with reserve battery charging module, and reserve battery charging module is connected with clock and frequency division module, to obtain correct clock.
6. a kind of LED power supply control chip as claimed in claim 5, it is characterized in that described reserve battery charging module: main power source VCC is connected to the in-phase end of comparator three (201) through resistance R 2, the in-phase end of comparator three (201) is through R3 ground connection, the output of comparator three (201) is connected to the base stage of triode Q by resistance R 4, the emitter of Q charges to battery BT by diode D2, the collector electrode of Q is connected with main power source VCC by diode D1, the emitter of Q is connected to the ground by capacitor C 3, the emitter of Q is connected with resistance R 6, then by R7, be connected to the ground, the base stage of Q is connected to the ground by resistance R 5, the emitter of Q is connected with resistance R 6, then be connected to the end of oppisite phase of comparator three (201) to obtain feedback signal.
7. a kind of LED power supply control chip as claimed in claim 1 or 2, it is characterized in that described chip address module has 4 address programming pin A0~A3,4 address programming pin A0~A3 are connected respectively to chip address module (301), chip address module according to 4 programming pins, can determine chip address, 4 addresses programming pin A0~A3 can form 15 different addresses except 0 address by connecing the combination of power supply VCC and ground connection, can realize maximumly by 15 chips, forming host chip structural network.
8. a kind of LED power supply control chip as claimed in claim 1 or 2, it is characterized in that: chip (100) has 24 pins: main power source pin VCC, reserve battery power pin VCC1, ground wire GND, two clock pins XTAL0 and XTAL1, two communication interface pin RX and TX, externally can connect main frame, internally connect the communication interface (303) in chip, 4 address programming pin A0~A3, two resistance ratios sample pin X0 and X1,3 RC discharge and recharge sampling pin B0~B2,6 LED parallel branches feedback signal pin IO-0~IO-5 that opens circuit.
9. a kind of LED power supply control chip as claimed in claim 8, it is characterized in that: described LED parallel branch opens circuit several adders by the level signal of the voltage sampling of chip pin IO-0~IO-5 connection LED parallel branch, the summation that judgement LED parallel branch opens circuit.
10. a kind of LED power supply control chip as claimed in claim 1 or 2, is characterized in that: the Digital Logical Circuits of described PWM module (116) is connected with nonvolatile storage (110) with data wire by sense wire, address wire; Digital Logical Circuits (116) is connected with PWM cycle rate counter (113) with sense wire by PWM cyclomorphosis holding wire, address wire, data wire, and Digital Logical Circuits (116) is connected with PWM pulsewidth counter (112) with sense wire by PWM pulsewidth change holding wire, address wire, data wire; Digital Logical Circuits (116) is by data wire, address wire and write lambda line and be connected with volatile memory (107); PWM cycle rate counter (113) is connected with volatile memory (107) with data wire by sense wire, address wire; PWM pulsewidth counter (112) is connected with volatile memory (107) with data wire by sense wire, address wire; PWM cycle rate counter (113) is connected with PWM pulsewidth counter (112) by the counting spill over line of sense wire, address wire, data wire and PWM cycle rate counter (113); The connected counting spill over line of PWM pulsewidth counter (112) is connected with PWM generator (114); PWM generator (114) produces pwm signal output.
11. a kind of LED power supply control chips as claimed in claim 10, it is characterized in that Digital Logical Circuits (116) is carried out the request that following steps: PWM recalculates as follows according to its priority orders of work safety rank: 1, LED parallel branch abnormal signal, 2, temperature anomaly signal, 3, regularly starting point is to signal, regularly terminal is to signal, 4, ambient brightness variable signal, during beginning, see which control signal arrives, if without any control signal, just by ambient brightness data, being PWM calculates, if temperature anomaly signal arrives, but temperature is in safe working temperature higher limit, between limiting temperature value, using anti-gradient method as duty ratio basis, when reaching the limit of temperature value, PWM duty ratio is minimum, no-output, when LED parallel branch abnormal signal arrives, according to the number that opens circuit of LED parallel branch, computed duty cycle, if regularly starting point arrives to signal, the light modulation running parameter of reading requirement, computed duty cycle, if regularly terminal arrives to signal, recover conventional light modulation operating parameter values, computed duty cycle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010290595.0A CN101977464B (en) | 2010-09-25 | 2010-09-25 | LED power control chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010290595.0A CN101977464B (en) | 2010-09-25 | 2010-09-25 | LED power control chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101977464A CN101977464A (en) | 2011-02-16 |
CN101977464B true CN101977464B (en) | 2014-01-15 |
Family
ID=43577300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010290595.0A Expired - Fee Related CN101977464B (en) | 2010-09-25 | 2010-09-25 | LED power control chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101977464B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103264230B (en) * | 2013-04-16 | 2016-04-20 | 周德海 | A kind of Laser Power Devices energy back control device |
CN104333955B (en) * | 2014-11-11 | 2016-08-17 | 电子科技大学 | A kind of numerically controlled LED drive circuit |
CN109548239B (en) * | 2018-12-13 | 2020-08-11 | 东南大学 | LED lamp power supply control device with virtual synchronous machine response mechanism |
CN111028882A (en) * | 2019-11-27 | 2020-04-17 | 大连睿海信息科技有限公司 | Detection device for storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2857150Y (en) * | 2005-07-11 | 2007-01-10 | 康佳集团股份有限公司 | Self-adaptive brightness control circuit of LED display panel |
CN101714750A (en) * | 2009-11-26 | 2010-05-26 | 重庆大学 | LED protecting chip based on PWM shunt |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IES20010192A2 (en) * | 2000-03-01 | 2001-09-19 | Frank Poucher | An Integrated Circuit Chip for use as an Electronic Thermostat |
-
2010
- 2010-09-25 CN CN201010290595.0A patent/CN101977464B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2857150Y (en) * | 2005-07-11 | 2007-01-10 | 康佳集团股份有限公司 | Self-adaptive brightness control circuit of LED display panel |
CN101714750A (en) * | 2009-11-26 | 2010-05-26 | 重庆大学 | LED protecting chip based on PWM shunt |
Also Published As
Publication number | Publication date |
---|---|
CN101977464A (en) | 2011-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977464B (en) | LED power control chip | |
CN201508409U (en) | Intelligent battery data logging device | |
US20010009361A1 (en) | Method for monitoring operating parameters of a rechargeable power supply | |
CN203339772U (en) | Electronic cigarette USB charger | |
CN103091562A (en) | Capacitance capacity measurement circuit | |
CN102137536A (en) | Adaptive control method for brightness of street lamp using solar energy for power supply | |
CN203399372U (en) | Solar energy LED street lamp controller for sensing weather | |
CN106603009B (en) | A kind of Portable photovoltaic module V-I tester and photovoltaic module test macro | |
CN102930877B (en) | Digital monitoring system suitable for light module controller and implementation method of digital monitoring system | |
CN104467040A (en) | Vehicle-mounted uninterruptible power supply (UPS) storage battery control and management device | |
CN201995160U (en) | Control chip of light emitting diode (LED) power supply | |
CN108445502A (en) | A kind of TOF modules and its implementation based on ARM and LINUX | |
CN106712199A (en) | Over-current protection circuit and method for automobile starting power supply | |
CN106712200A (en) | Automotive starting power supply based on super-capacitors | |
CN108565907A (en) | A kind of charge/discharge control method, device, equipment and system | |
CN202494767U (en) | Lithium battery charging and discharging detection device | |
CN108362349A (en) | A kind of smart electronics water meter | |
CN106712249A (en) | Automobile starting power source | |
CN207304027U (en) | A kind of imput output circuit for automobile starting power supply | |
CN109738615A (en) | Soil information collecting device | |
CN215345152U (en) | 3.2V self-adaptive intelligent PWM solar street lamp controller | |
CN106017717B (en) | Thermistor temperature sensor | |
CN106105034A (en) | Slope generation module | |
CN201247284Y (en) | Electro-on-site service terminal | |
CN106787089A (en) | The energy stores and method for releasing of a kind of automobile starting power supply |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140115 Termination date: 20160925 |