Summary of the invention
The technical problem to be solved is: provide a kind of street lamp buffer control system, it is possible to decrease external environment condition
Interference, improves the degree of accuracy of switch lamp time.
For solving above-mentioned technical problem, the present invention adopts the following technical scheme that
A kind of street lamp buffer control system, described control system includes: master controller, timer, enumerator, at least one light
Sensor, power controller, level-conversion circuit;
Described master controller connection timer, enumerator, optical sensor, power controller respectively, each optical sensor is distributed
Arrange;Master controller connects level-conversion circuit;
Described optical sensor detects an ambient light brightness every 0.1s;
If street lamp current state is for leaving, only when optical sensor continuous detecting set point number n time, parameter is to be needed to close
During lamp, master controller just can control power controller and perform to turn off the light action, does not the most hold as long as occurring that primary parameter does not meets therebetween
Capable operation of turning off the light;
If street lamp current state is for closing, only when controller continuous detecting set point number n time, parameter is needs and turns on light
Time, master controller just controlling power controller and perform to turn on light action, the most not performing as long as occurring that primary parameter does not meets therebetween
Turn on light operation;
For reduce external environment condition interference, closing process is: power controller first by bright to lowest power for soft for illuminance fall,
Turn off;The algorithm of street light modulating includes: what DALI agreement was given tacit consent to is divided into 0-255 shelves, altogether 256 shelves by power;In program
Every 0.1s detects a brightness, when than front the brightest time just reduce by one grade, vice versa.
Described level-conversion circuit is the level-conversion circuit of digital addressable lighting interface DALI, described level translation electricity
Road includes: sending module, receiver module, rectification circuit;
Described sending module includes: the first optocoupler U5, the first audion Q206, the first resistance R220, the second resistance R221,
3rd resistance R218, the 4th resistance R222, the first electric capacity C11, the first diode D13;
Described receiver module includes: the second optocoupler U4, the 5th resistance R233, the 6th resistance R234, Zener diode D17;
Described rectification circuit includes rectifier bridge;
First port of described first optocoupler U5 connects supply voltage VCC_MCU, and the second port passes through the 3rd resistance R218
Connecting incoming level DALI_TX, the 3rd port connects first end of the first resistance R220, and the 4th port connects the first electric capacity respectively
The positive pole of C11, the negative pole of the first diode D13;
Second end of described first resistance R220 connects first end of the second resistance R221, the first audion Q206 respectively
Base stage, second end of the second resistance R221 connects the negative pole of the first electric capacity C11, the emitter stage of the first audion Q206, voltage stabilizing two
The positive pole of pole pipe D17;The colelctor electrode of the first audion Q206 connects first end of the 4th resistance R222;The of 4th resistance R222
Two-stage nitration connects the positive pole of the first diode D13, second end of the 5th resistance R233, the 3rd port of rectifier bridge D9 respectively;
First port of described second optocoupler U4 connects first end of the 5th resistance R233, and the second port connects voltage stabilizing two pole
The negative pole of pipe D17, the 3rd port connects first end of the 6th resistance R234, meets DALI_RX simultaneously, and the 4th port meets VCC_MCU;The
The second port ground connection of six resistance R234;Level translation process includes: level excursion 0-of incoming level DALI_TX
3.3V, when DALI_TX is low level time, coordinates the sending module of the first light idol U5 to access DALI bus, makes DALI bus
Output transform is 0V, meets the requirement to low level-4.5V~4.5V of the DALI electrical standard;When DALI_TX high level, join
The sending module closing the first light idol U5 accesses DALI bus, and the output transform making DALI bus is 16.8V, meets DALI and electrically marks
The accurate requirement to high level 9.5V~22.5V, the first resistance R220 and the first audion Q206 guarantees the merit in DALI bus
Power consumption stream is less than 250MA, and the parameter of the first audion Q206 selects to require that DC gain, more than 100db, is passed through to dissipate simultaneously simultaneously
Hot cell is the first audion Q206 heat radiation;
Described receiver module triggers DALI_RX low level when bus low level, triggers DALI_RX high during bus high level
Level, Zener diode D17 ensures that bus ensures the second optocoupler U4 not when the minimum high level voltage of not up to standard-required
Driven;
Described master controller includes dropping bright module middle night, middle night rises bright module, correcting module;
Drop bright module described middle night and be set in the first moment reduction street lamp merit in order to control street lamp by power controller
Rate, reducing moment of lamp power is that this cycle street lamp start-up time adds the previous cycle and turns on light the 50% of duration;
Rise bright module described middle night and be set in the second moment increase street lamp merit in order to control street lamp by power controller
Rate, increasing moment of lamp power is to add the previous cycle in the first moment of this cycle to turn on light the 30%~40% of duration;
Described correcting module reaches to set in order to the mobile object quantity sensed within the setting time at position sensor
During value, control described power controller in setting the time period, improve the power of street lamp.
A kind of street lamp buffer control system, described street lamp buffer control system includes: master controller, timer, enumerator,
At least one optical sensor, power controller, level-conversion circuit;
Described master controller connection timer, enumerator, optical sensor, power controller respectively, each optical sensor is distributed
Arrange;
Described optical sensor is every setting ambient light brightness of time detecting;
If street lamp current state is for leaving, only when optical sensor continuous detecting set point number n time, parameter is to be needed to close
During lamp, master controller just can control power controller and perform to turn off the light action, does not the most hold as long as occurring that primary parameter does not meets therebetween
Capable operation of turning off the light;
If street lamp current state is for closing, only when controller continuous detecting set point number n time, parameter is needs and turns on light
Time, master controller just controlling power controller and perform to turn on light action, the most not performing as long as occurring that primary parameter does not meets therebetween
Turn on light operation.
As a preferred embodiment of the present invention, for reducing external environment condition interference, closing process is: power controller first will
The soft fall of illuminance is bright to lowest power, turns off.The algorithm of street light modulating includes: what DALI agreement was given tacit consent to is divided into 0-by power
255 grades, 256 shelves altogether;In program, every 0.1s detects a brightness, when than front the brightest time just reduce by one grade, otherwise also
So.
As a preferred embodiment of the present invention, described master controller includes dropping bright module, the bright module of liter at middle night middle night, repairing
Positive module;
Drop bright module described middle night and be set in the first moment reduction street lamp merit in order to control street lamp by power controller
Rate, reducing moment of lamp power is that this cycle street lamp start-up time adds the previous cycle and turns on light the 45%~55% of duration;
Rise bright module described middle night and be set in the second moment increase street lamp merit in order to control street lamp by power controller
Rate, increasing moment of lamp power is to add the previous cycle in the first moment of this cycle to turn on light the 30%~40% of duration;
Described correcting module reaches to set in order to the mobile object quantity sensed within the setting time at position sensor
During value, control described power controller in setting the time period, improve the power of street lamp.
As a preferred embodiment of the present invention, described level-conversion circuit is the electricity of digital addressable lighting interface DALI
Flat translation circuit, described level-conversion circuit includes: sending module, receiver module, rectification circuit;
Described sending module includes: the first optocoupler U5, the first audion Q206, the first resistance R220, the second resistance R221,
3rd resistance R218, the 4th resistance R222, the first electric capacity C11, the first diode D13;
Described receiver module includes: the second optocoupler U4, the 5th resistance R233, the 6th resistance R234, Zener diode D17;
Described rectification circuit includes rectifier bridge;
First port of described first optocoupler U5 connects supply voltage VCC_MCU, and the second port passes through the 3rd resistance R218
Connecting incoming level DALI_TX, the 3rd port connects first end of the first resistance R220, and the 4th port connects the first electric capacity respectively
The positive pole of C11, the negative pole of the first diode D13;
Second end of described first resistance R220 connects first end of the second resistance R221, the first audion Q206 respectively
Base stage, second end of the second resistance R221 connects the negative pole of the first electric capacity C11, the emitter stage of the first audion Q206, voltage stabilizing two
The positive pole of pole pipe D17;The colelctor electrode of the first audion Q206 connects first end of the 4th resistance R222;The of 4th resistance R222
Two-stage nitration connects the positive pole of the first diode D13, second end of the 5th resistance R233, the 3rd port of rectifier bridge D9 respectively;
First port of described second optocoupler U4 connects first end of the 5th resistance R233, and the second port connects voltage stabilizing two pole
The negative pole of pipe D17, the 3rd port connects first end of the 6th resistance R234, meets DALI_RX simultaneously, and the 4th port meets VCC_MCU;The
The second port ground connection of six resistance R234;Level translation process includes: when DALI_TX is low level time, coordinates the first light even
The sending module of U5 accesses DALI bus, meets DALI electrical standard to low level requirement;When DALI_TX high level,
The sending module coordinating the first light idol U5 accesses DALI bus, meets the requirement to high level of the DALI electrical standard, the first resistance
R220 and the first audion Q206 guarantees that the static current of lcd in DALI bus is less than 250MA, simultaneously the first audion Q206
Parameter select to require that DC gain more than 100db, is the first audion Q206 heat radiation by heat-sink unit simultaneously;
Described receiver module triggers DALI_RX low level when bus low level, triggers DALI_RX high during bus high level
Level, Zener diode D17 ensures that bus ensures the second optocoupler U4 not when the minimum high level voltage of not up to standard-required
Driven.
The beneficial effects of the present invention is: the street lamp buffer control system that the present invention proposes, it is possible to decrease doing of external environment condition
Disturb, improve the degree of accuracy of switch lamp time.
Embodiment one
Referring to Fig. 1, present invention is disclosed a kind of street lamp buffer control system, described control system includes: master controller
1, timer 2, enumerator 3, an at least optical sensor 4, power controller 5, level-conversion circuit 6.
Described master controller 1 connection timer 2 respectively, enumerator 3, optical sensor 4, power controller 5, level translation electricity
Road 6, the distribution of each optical sensor 4 is arranged.
Described optical sensor detects an ambient light brightness every 0.1s.If street lamp current state is for leaving, only work as light
Sensor continuous detecting set point number n time, parameter is when needing to turn off the light, and master controller just can control power controller and perform pass
Lamp action, performs, as long as occurring primary parameter not meet the most therebetween, operation of turning off the light.
If street lamp current state is for closing, only when controller continuous detecting set point number n time, parameter is needs and turns on light
Time, master controller just controlling power controller and perform to turn on light action, the most not performing as long as occurring that primary parameter does not meets therebetween
Turn on light operation.
For reduce external environment condition interference, closing process is: power controller first by bright to lowest power for soft for illuminance fall,
Turn off.The algorithm of street light modulating includes: what DALI agreement was given tacit consent to is divided into 0-255 shelves, altogether 256 shelves by power;In program
Every 0.1s detects a brightness, when than front the brightest time just reduce by one grade, vice versa.
Described level-conversion circuit 6 is the level-conversion circuit of digital addressable lighting interface DALI, described level translation
Circuit includes: sending module 61, receiver module 62, rectification circuit.
Described sending module includes: the first optocoupler U5, the first audion Q206, the first resistance R220, the second resistance R221,
3rd resistance R218, the 4th resistance R222, the first electric capacity C11, the first diode D13.Described receiver module includes: the second optocoupler
U4, the 5th resistance R233, the 6th resistance R234, Zener diode D17.Described rectification circuit includes rectifier bridge;
First port of described first optocoupler U5 connects supply voltage VCC_MCU, and the second port passes through the 3rd resistance R218
Connecting incoming level DALI_TX, the 3rd port connects first end of the first resistance R220, and the 4th port connects the first electric capacity respectively
The positive pole of C11, the negative pole of the first diode D13.
Second end of described first resistance R220 connects first end of the second resistance R221, the first audion Q206 respectively
Base stage, second end of the second resistance R221 connects the negative pole of the first electric capacity C11, the emitter stage of the first audion Q206, voltage stabilizing two
The positive pole of pole pipe D17;The colelctor electrode of the first audion Q206 connects first end of the 4th resistance R222;The of 4th resistance R222
Two-stage nitration connects the positive pole of the first diode D13, second end of the 5th resistance R233, the 3rd port of rectifier bridge D9 respectively.
First port of described second optocoupler U4 connects first end of the 5th resistance R233, and the second port connects voltage stabilizing two pole
The negative pole of pipe D17, the 3rd port connects first end of the 6th resistance R234, meets DALI_RX simultaneously, and the 4th port meets VCC_MCU;The
The second port ground connection of six resistance R234.
Level translation process includes: level excursion 0-3.3V of incoming level DALI_TX (can also be other models
Enclose), when DALI_TX is low level time, coordinate the sending module of the first light idol U5 to access DALI bus, make the defeated of DALI bus
Go out to be transformed to about 0V, meet the requirement to low level-4.5V~4.5V (can also be other scopes) of the DALI electrical standard;When
DALI_TX high level time, coordinate the sending module of the first light idol U5 to access DALI bus, the output transform making DALI bus is
About 16V (such as 16.8V, close to supply voltage 17V), meeting DALI electrical standard to high level 9.5V~22.5V (can also be
Other scopes) requirement, the first resistance R220 and the first audion Q206 guarantees that the static current of lcd in DALI bus is less than
250MA, the parameter of the first audion Q206 selects to require that DC gain more than 100db, is first by heat-sink unit simultaneously simultaneously
Audion Q206 dispels the heat.
Described receiver module triggers DALI_RX low level when bus low level, triggers DALI_RX high during bus high level
Level, Zener diode D17 ensures that bus ensures the second optocoupler U4 not when the minimum high level voltage of not up to standard-required
Driven.
The setting of level-conversion circuit, it is possible to decrease system cost, improves system stability, can effectively reduce power consumption, reduces
EMI。
Additionally, described master controller includes dropping bright module middle night, middle night rises bright module, correcting module.
Drop bright module described middle night and be set in the first moment reduction street lamp merit in order to control street lamp by power controller
Rate, reduce lamp power moment be this cycle street lamp start-up time add the previous cycle turn on light duration 45%~55% (as
50%, 40%, 45% etc.;If this value is, after being chosen, the value determined, do not change within the setting time).
Rise bright module described middle night and be set in the second moment increase street lamp merit in order to control street lamp by power controller
Rate, increase lamp power moment be add in the first moment of this cycle the previous cycle turn on light duration 30%~40% (such as 30%,
40%, 35% etc.).
Described correcting module reaches to set in order to the mobile object quantity sensed within the setting time at position sensor
During value, control described power controller in setting the time period, improve the power of street lamp.
Embodiment two
A kind of street lamp buffer control system, described street lamp buffer control system includes: master controller, timer, enumerator,
At least one optical sensor, power controller, level-conversion circuit.
Described master controller connection timer, enumerator, optical sensor, power controller respectively, each optical sensor is distributed
Arrange.
Described optical sensor is every setting ambient light brightness of time detecting.
If street lamp current state is for leaving, only when optical sensor continuous detecting set point number n time, parameter is to be needed to close
During lamp, master controller just can control power controller and perform to turn off the light action, does not the most hold as long as occurring that primary parameter does not meets therebetween
Capable operation of turning off the light.
If street lamp current state is for closing, only when controller continuous detecting set point number n time, parameter is needs and turns on light
Time, master controller just controlling power controller and perform to turn on light action, the most not performing as long as occurring that primary parameter does not meets therebetween
Turn on light operation.
For reduce external environment condition interference, closing process is: power controller first by bright to lowest power for soft for illuminance fall,
Turn off.
In sum, the street lamp buffer control system that the present invention proposes, it is possible to decrease the interference of external environment condition, improves switch lamp
The degree of accuracy of time.
Here description of the invention and application is illustrative, is not wishing to limit the scope of the invention to above-described embodiment
In.The deformation of embodiments disclosed herein and change are possible, real for those skilled in the art
The various parts with equivalence of replacing executing example are known.It should be appreciated by the person skilled in the art that without departing from the present invention
Spirit or essential characteristics in the case of, the present invention can in other forms, structure, layout, ratio, and with other assembly,
Material and parts realize.In the case of without departing from scope and spirit of the present invention, embodiments disclosed herein can be entered
Other deformation of row and change.