Summary of the invention
Have while having white-light illuminating function and infrared illumination function to solve lighting system in the prior artThe problem of heavier-weight, volume be larger and portability poor disadvantage, the application by following embodiments disclose it is a kind of be applied to it is moreThe lighting system of kind scene.
A kind of lighting system applied to several scenes disclosed in the present application, comprising: constant-current source, ambient light sensor, controlDevice, driving circuit and light emitting diode processed;
The constant-current source is electrically connected to the controller, and the ambient light sensor is electrically connected to the controller, describedController is electrically connected to the light emitting diode by the driving circuit, the light emitting diode include white light-emitting diodes andInfrared diode;
The constant-current source is for providing Constant Direct Current power supply;
The ambient light sensor is used to the light energy of current environment being converted into corresponding electric signal, and by the telecommunicationsNumber it is sent to the controller;
The controller according to the electric signal, controls the driving circuit for receiving the electric signal;
The driving circuit is used under the control of the controller, and it is luminous or described red to control the white light-emitting diodesOuter LED lighting.
Optionally,
The white light diode and the infrared diode reverse parallel connection constitute parallel circuit;
The both ends of the parallel circuit are connected with the driving circuit.
Optionally,
The driving circuit is H-bridge circuit, and the H-bridge circuit includes: first switch, second switch, third switch and theFour switches;
Wherein, one end of the first switch and one end of the second switch are commonly connected to the controller, describedThe other end of first switch is connected with one end that the third switchs, and the other end ground connection of the third switch, described second opensThe other end of pass is connected with one end of the 4th switch, the other end ground connection of the 4th switch;
One end of the parallel circuit is connected between the first switch and third switch, the parallel circuitThe other end is connected between the second switch and the 4th switch;
The second switch, the white light-emitting diodes and third switch constitute the first circuit of the driving circuit;
The first switch, the infrared diode and the 4th switch constitute the second servo loop of the driving circuit.
Optionally,
When the second switch and the third close the switch, and the first switch and the 4th switch disconnect, instituteState the conducting of the first circuit, the second servo loop open circuit, at this point, the white light-emitting diodes shines;
When the first switch is closed the switch with the described 4th, and the second switch and third switch disconnect, instituteState the first loop open circuit, the second servo loop conducting, at this point, the infrared diode shines.
Optionally, the controller includes:
Single-chip microcontroller, constant-flow driver and switch driver;
The single-chip microcontroller includes multiple I/O interfaces, the single-chip microcontroller by the multiple I/O interface respectively with the constant currentDriver, the ambient light sensor and switch driver electrical connection, the constant-flow driver and the switch driveDevice is electrically connected to the driving circuit;
The single-chip microcontroller leads to for receiving electric signal transmitted by the ambient light sensor, and according to the electric signalIt crosses and controls the switch driver, to select the first circuit of the driving circuit to be connected or second servo loop conducting, and then controlMake the white light-emitting diodes shines or the infrared diode shines.
Optionally, the single-chip microcontroller is used to receive electric signal transmitted by the ambient light sensor, and according to the electricitySignal, by controlling the switch driver, to select the first circuit of the driving circuit to be connected or second servo loop conducting,And then control that the white light-emitting diodes shines or the infrared diode shines, comprising:
When the electric signal is greater than preset threshold value, the single-chip microcontroller controls the drive by the switch driverThe first circuit conducting of dynamic circuit, second servo loop open circuit, and then control the white light-emitting diodes and shine;
When the electric signal is not more than preset threshold value, the single-chip microcontroller is by the switch driver, described in controlFirst loop open circuit of driving circuit, second servo loop conducting, and then control the infrared diode and shine.
Optionally,
The single-chip microcontroller is also used to size according to the electric signal, controls the constant-flow driver, to change the perseveranceDetermine the size of DC power supply, the size of the Constant Direct Current power supply is used to control the light emission luminance of the light emitting diode.
Optionally, the controller includes:
Operational amplifier, constant-flow driver and switch driver;
The ambient light sensor is electrically connected to the input terminal of the operational amplifier, one end electricity of the constant-flow driverIt is connected to the output end of the operational amplifier, the other end of the constant-flow driver is electrically connected to the driving circuit, describedOne end of switch driver is electrically connected to the output end of the operational amplifier, and the other end of the switch driver is electrically connected toThe driving circuit;
The operational amplifier is used to receive electric signal transmitted by the ambient light sensor, and according to the electric signalSize control the switch driver and the constant-flow driver;
The switch driver is used under the control of the operational amplifier, controls the first circuit of the driving circuitPerhaps second servo loop is connected and then the control white light-emitting diodes shines or the infrared diode shines for conducting;
The constant-flow driver is used under the control of the operational amplifier, changes the big of the Constant Direct Current power supplySmall, the size of the Constant Direct Current power supply is used to control the light emission luminance of the light emitting diode.
Optionally, the lighting system further includes shell, and the shell covers on the outside of the light emitting diode, the pipeShell and the light emitting diode form the lamp bead of the lighting system.
Optionally, the shell is the epoxy resin shell with high transmittance.
This application discloses a kind of lighting systems applied to several scenes, and in the system, constant-current source is electrically connected toController, ambient light sensor are electrically connected to controller, and controller is electrically connected to light emitting diode by driving circuit, and luminous twoPole pipe includes white light-emitting diodes and infrared diode.Wherein, constant-current source is for providing Constant Direct Current power supply, ambient light sensorFor the light energy of current environment to be converted into corresponding electric signal, and electric signal is sent to the controller.Controller is usedIn the reception electric signal, and according to the electric signal, the driving circuit is controlled.Driving circuit is used for the control in controllerUnder, control white light-emitting diodes shines or infrared diode shines.
A kind of lighting system applied to several scenes disclosed in the present application, passes through circuit kit control assembly: environment lightSensor, controller and driving circuit, flexible control white light-emitting diodes shines or infrared diode shines.Compared to existingHave technology, lighting system disclosed in the present application simplifies circuit unit, make lighting system be integrated with white-light illuminating function andWhile infrared illumination function, has small in size, light-weight and easy to carry advantage.
Specific embodiment
Have while having white-light illuminating function and infrared illumination function to solve lighting system in the prior artThe problem of heavier-weight, volume be larger and portability poor disadvantage, the application by following embodiments disclose it is a kind of be applied to it is moreThe lighting system of kind scene.
It is shown in Figure 1, a kind of lighting system applied to several scenes disclosed in the present application, comprising: constant-current source, environmentOptical sensor, controller, driving circuit and light emitting diode.
The constant-current source is electrically connected to the controller, and the ambient light sensor is electrically connected to the controller, describedController is electrically connected to the light emitting diode by the driving circuit, the light emitting diode include white light-emitting diodes andInfrared diode.
The constant-current source is for providing Constant Direct Current power supply.
Constant-current source is widely used a kind of power supply module in circuit, and constant-current source includes AC constant-current source and direct current constant currentSource is respectively configured to provide alternating current and direct current.Constant-current source used in this application is DC constant current power supply, for being controlDevice, driving circuit and light emitting diode provide constant dc.
The ambient light sensor is used to the light energy of current environment being converted into corresponding electric signal, and by the telecommunicationsNumber it is sent to the controller.
Ambient light sensor is that one kind can perceive light energy, and light energy is converted into the sensing device of electric signal, mainIt to be made of, be widely used in the measurement of electrical quantity and non-electric quantity light-sensitive element.
The controller according to the electric signal, controls the driving circuit for receiving the electric signal.
The driving circuit is used under the control of the controller, and it is luminous or described red to control the white light-emitting diodesOuter LED lighting, further, the controller can also control the brightness that white light-emitting diodes and infrared diode shine.
Driving circuit is mainly that access is provided between controller and light emitting diode.When needing to select white light diode to send outLight time, driving circuit under the control of the controller, circuit locating for white light-emitting diodes are connected, and will be locating for infrared diodeCircuit disconnects, and enables white light-emitting diodes to receive the Constant Direct Current power supply of constant-current source offer, so that lighting system energyEnough issue white light;When needing that infrared diode is selected to shine, driving circuit under the control of the controller, by infrared diode instituteThe circuit at place is connected, and circuit locating for white light-emitting diodes is disconnected, and infrared diode is enabled to receive constant-current source offerConstant Direct Current power supply so that lighting system issue infrared light.
A kind of lighting system applied to several scenes disclosed in the present application, passes through circuit kit control assembly: environment lightSensor, controller and driving circuit, flexible control white light-emitting diodes shines or infrared diode shines.Compared to existingHave technology, lighting system disclosed in the present application simplifies circuit unit, make lighting system be integrated with white-light illuminating function andWhile infrared illumination function, has small in size, light-weight and easy to carry advantage.
Further, the white light diode and the infrared diode reverse parallel connection constitute parallel circuit.
By enabling two light emitting diodes that can not simultaneously turn on for white light-emitting diodes and infrared diode reverse parallel connection,In synchronization, only one lumination of light emitting diode.
The both ends of the parallel circuit are connected with the driving circuit.
Further, shown in Figure 2, the driving circuit is H-bridge circuit, and the H-bridge circuit includes: first switchS1, second switch S2, third switch S3 and the 4th switch S4.
Wherein, one end of the first switch S1 and one end of the second switch S2 are commonly connected to the controller,The other end of the first switch S1 is connected with one end of the third switch S3, the other end ground connection of the third switch S3,The other end of the second switch S2 is connected with one end of the 4th switch S4, the other end ground connection of the 4th switch S4.
One end of the parallel circuit is connected between the first switch S1 and the third switch S3, the electricity in parallelThe other end on road is connected between the second switch S2 and the 4th switch S4.
By switching 4: first switch S1, second switch S2, third switch S3 and the 4th switch S4 are according to above-mentionedMode is attached, so that the shape and structure of driving circuit are similar to capitalization " H ", therefore, the driving circuit in the applicationIt is properly termed as H-bridge circuit.Wherein, 4 switch 4 vertical legs for having separately constituted H-bridge circuit, and parallel circuit is connected to H bridge electricityOn the intermediate whippletree on road.
The second switch S2, the white light-emitting diodes and the third switch S3 constitute first time of the driving circuitRoad.
The first switch S1, the infrared diode and the 4th switch S4 constitute second time of the driving circuitRoad.
Wherein, first circuit is the circuit between controller and white light-emitting diodes, and the second servo loop is to controlCircuit between device and infrared diode processed.
Further, when the second switch S2 and the third switch S3 are closed, the first switch S1 and described theWhen four switch S4 are disconnected, the first circuit conducting, the second servo loop open circuit, at this point, the white light-emitting diodes shines.
When the first switch S1 and the 4th switch S4 is closed, the second switch S2 and the third switch S3 are disconnectedWhen opening, first loop open circuit, the second servo loop conducting, at this point, the infrared diode shines.
Further, shown in Figure 3, the controller includes:
Single-chip microcontroller, constant-flow driver and switch driver.
The single-chip microcontroller includes multiple I/O interfaces, the single-chip microcontroller by the multiple I/O interface respectively with the constant currentDriver, the ambient light sensor and switch driver electrical connection, the constant-flow driver and the switch driveDevice is electrically connected to the driving circuit.
The single-chip microcontroller leads to for receiving electric signal transmitted by the ambient light sensor, and according to the electric signalIt crosses and controls the switch driver, to select the first circuit of the driving circuit to be connected or second servo loop conducting, and then controlMake the white light-emitting diodes shines or the infrared diode shines.
Single-chip microcontroller is a kind of IC chip, is using very large scale integration technology with data processing energyCentral processor CPU and the functions such as a variety of I/O interfaces be integrated on one piece of silicon wafer, small and perfect micro- of one constitutedType computer system, wherein I/O interface refers to input (input) signaling interface/output (output) signaling interface.The applicationUsed in single-chip microcontroller single-chip microcontroller can be enabled according to certain by the way that suitable crystal oscillator is arranged for 80C51F seriesMachine cycle obtains the corresponding electric signal of current environment light, and then controls driving circuit according to the electric signal.
Further, the single-chip microcontroller is used to receive electric signal transmitted by the ambient light sensor, and according to describedElectric signal, by controlling the switch driver, to select, the first circuit of the driving circuit is connected or second servo loop is ledIt is logical, and then the control white light-emitting diodes shines or the infrared diode shines, comprising:
When the electric signal is greater than preset threshold value, the single-chip microcontroller controls the drive by the switch driverThe first circuit conducting of dynamic circuit, second servo loop open circuit, and then control the white light-emitting diodes and shine.
When the electric signal is not more than preset threshold value, the single-chip microcontroller is by the switch driver, described in controlFirst loop open circuit of driving circuit, second servo loop conducting, and then control the infrared diode and shine.
Wherein, the threshold value is configured according to actual use situation.
Meanwhile lighting system can also be by artificially selecting system to issue white light or issuing infrared light.Specifically, can be withBy a control switch of connecting on switch driver, the control switch is by artificially controlling.When artificially by control switchIt beats in the first gear, the first circuit of driving circuit is connected, and second servo loop open circuit, white light-emitting diodes shines at this time;When artificialControl switch is beaten in the second gear, the first loop open circuit of driving circuit, second servo loop conducting, infrared diode is sent out at this timeLight.By artificially selecting lighting system sending white light or infrared light, the controllability of lighting system can be effectively improved.
It should be noted that for artificial control and Automatic control of single chip microcomputer both control modes, lighting system is excellentFirst taking human as control as the control mode for issuing white light or infrared light.That is, when by artificially selecting to open controlPass is beaten in the first gear or the second gear, and the access between single-chip microcontroller and switch driver disconnects at this time, and single-chip microcontroller can notControl system issues white light or infrared light.For example, since the light beam of white light is stronger, being in needing hidden application scenariosIt prevents from exposing, lighting system cannot issue white light at this time, operator can be by manually beating control switch secondGear, so that system issues infrared light, at this point, single-chip microcontroller will not issue white further according to current environment light, automatic control systemLight or infrared light.
Further, the single-chip microcontroller is also used to size according to the electric signal, controls the constant-flow driver, to changeBecome the size of the Constant Direct Current power supply, the size of the Constant Direct Current power supply is used to control the luminance of the light emitting diodeDegree.
In addition, in this case, circuit diagram shown in Figure 4, the constant-current source can be with the constant current in controllerDriver is connected.
Further, the controller can also be realized by other forms, in this case, electricity shown in Figure 5Road schematic diagram, the controller include:
Operational amplifier, constant-flow driver and switch driver.
The ambient light sensor is electrically connected to the input terminal of the operational amplifier, one end electricity of the constant-flow driverIt is connected to the output end of the operational amplifier, the other end of the constant-flow driver is electrically connected to the driving circuit, describedOne end of switch driver is electrically connected to the output end of the operational amplifier, and the other end of the switch driver is electrically connected toThe driving circuit.
The operational amplifier is used to receive electric signal transmitted by the ambient light sensor, and according to the electric signalSize control the switch driver and the constant-flow driver.
The switch driver is used under the control of the operational amplifier, controls the first circuit of the driving circuitPerhaps second servo loop is connected and then the control white light-emitting diodes shines or the infrared diode shines for conducting.Work as drivingWhen circuit is H-bridge circuit, which is H bridge switch driver.
The switch driver can be controlled by operational amplifier, furthermore it is also possible to artificial manipulation of switches driver, this feelingsUnder condition, by artificially manipulating to switch driver, the conducting of the first circuit or second servo loop for controlling driving circuit are connected,It realizes and artificially controls that the white light-emitting diodes shines or the infrared diode shines.Wherein, when artificial manipulation of switches is drivenDynamic device, be connected the first circuit of driving circuit, and when second servo loop open circuit, white light-emitting diodes is luminous at this time;In addition, ought artificially graspSwitch driver is controlled, the first loop open circuit of driving circuit is made, when second servo loop is connected, infrared diode shines.
The constant-flow driver is used under the control of the operational amplifier, changes the big of the Constant Direct Current power supplySmall, the size of the Constant Direct Current power supply is used to control the light emission luminance of the light emitting diode.
Operational amplifier is a kind of common integrated circuit, and operational amplifier is by several triodes, resistance and capacitorEqual elements are integrated into the chip of a very little, and the amplification operation of signal is completed with specific circuit form, and plus-minus multipliesDivision operation.In the embodiment of the present application, operational amplifier is mainly used for electric signal size based on the received, does reversed operation, soAfterwards according to reversed operation as a result, controlling the constant-flow driver and switch driver.Specifically, will work as in ambient light sensorWhen the light energy of preceding environment is converted into electric signal, if the dark of current environment, light energy is lower, then converted resulting electricitySignal is also smaller, and in this case, operational amplifier does reversed operation, then according to reversed operation as a result, control is permanentDriver is flowed, increases Constant Direct Current power supply, so that the light emission luminance of light emitting diode enhances.
In addition, in this case, circuit diagram shown in Figure 6, the constant-current source can be with the constant current in controllerDriver is connected.
Further, the lighting system further includes shell, and the shell covers on the outside of the light emitting diode, describedShell and the light emitting diode form the lamp bead of the lighting system.
White light-emitting diodes and infrared diode are integrated in a lamp bead, so that lighting system is " two core of a pearl " knotStructure, reduces the component of system, reduces the volume of lighting system to the full extent, so that system has small in size and weightLight advantage.
Further, the shell is the epoxy resin shell with high transmittance.
Specifically, the application, which is merely exemplary, gives the material of shell, in practical application, shell can be taken otherMaterial production with high transmittance, lightweight.
Combine detailed description and exemplary example that the application is described in detail above, but these explanations are simultaneouslyIt should not be understood as the limitation to the application.It will be appreciated by those skilled in the art that without departing from the application spirit and scope,A variety of equivalent substitution, modification or improvements can be carried out to technical scheme and embodiments thereof, these each fall within the applicationIn the range of.The protection scope of the application is determined by the appended claims.