Summary of the invention
The invention provides a kind of light emitting module control device, in order to solve the problem that in prior art, illuminating lamp cost is higher.
The invention provides a kind of light emitting module control device, comprising: control module, handover module and driving chip;
Described handover module is connected with described control module, described driving chip and multiple light emitting module;
Described control module, for controlling described handover module;
Described handover module, for the control according to described control module, by a light emitting module electric connection in described driving chip and described multiple light emitting module, drives with the light emitting module of described driving chip electric connection to make described driving chip pair.
Optionally, in an embodiment of the present invention, described multiple light emitting module comprises the first light emitting module and the second light emitting module;
Described handover module, comprising: the first function pin, the second function pin and the 3rd function pin; Described first function pin, is connected with described first light emitting module for described handover module; Described second function pin, is connected with described second light emitting module for described handover module; Described 3rd function pin, is connected with described driving chip for described handover module;
Described handover module, for the control according to described control module, by described first function pin and described 3rd function pin conducting, described second function pin and described 3rd function pin disconnect, and drive described first light emitting module to make described driving chip; Or described first function pin and described 3rd function pin are disconnected, described second function pin and described 3rd function pin conducting, drive described second light emitting module to make described driving chip.
Optionally, in an embodiment of the present invention, described handover module is monostable relay;
Accordingly, described handover module also comprises function of supplying power pin, and described handover module is connected with described control module by described function of supplying power pin;
Whether described control module, power on for controlling described handover module;
Described control module controls described handover module when powering on, described first function pin and described 3rd function pin conducting, and described second function pin and described 3rd function pin disconnect;
Described control module controls described handover module when not powering on, and described first function pin and described 3rd function pin disconnect, described second function pin and described 3rd function pin conducting.
Optionally, in an embodiment of the present invention, described control module comprises controller and switching tube; Wherein, the input of described switching tube is connected with described controller, and the output of described switching tube is connected with described function of supplying power pin;
Whether described controller, by controlling the turn-on and turn-off of described switching tube, controls described handover module and powers on.
Optionally, in an embodiment of the present invention, described switching tube is NPN type triode; The base stage of described switching tube is connected with described controller, and the collector electrode of described switching tube is connected with power supply and described function of supplying power pin, and the emitter of described switching tube is connected to ground;
When described controller exports high level, described switching tube conducting, described handover module does not power on;
During described controller output low level, described switching tube turns off, and described handover module powers on.
Optionally, in an embodiment of the present invention, described switching tube is PNP type triode, and the base stage of described switching tube is connected with described controller, the emitter of described switching tube is connected with power supply and described function of supplying power pin, and the collector electrode of described switching tube is connected to ground;
When described controller exports high level, described switching tube turns off, and described handover module powers on;
During described controller output low level, described switching tube conducting, described handover module does not power on.
Optionally, in an embodiment of the present invention, described first light emitting module is white light emitting diode LED lamp bead, and described second light emitting module is infrared LED lamp pearl; Or described first light emitting module is infrared LED lamp pearl, and described second light emitting module is white LED lamp pearl.
Light emitting module control device provided by the invention; By the control of handover module according to control module, by a light emitting module electric connection in driving chip and multiple light emitting module, drive to make the light emitting module of driving chip pair and driving chip electric connection; Achieve and use same driving chip to drive different light emitting module; Compared with being connected with corresponding driving chip with light emitting module each in prior art, decrease the quantity of driving chip; Decrease the cost of illuminating lamp.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the structural representation of light emitting module control device embodiment one of the present invention; As shown in Figure 1, the device of the present embodiment can comprise: control module 11, handover module 12 and driving chip 13; Handover module 12 is connected with control module 11, driving chip 13 and multiple light emitting module 14; Control module 11, for controlling handover module 12; Handover module 12, for the control according to control module 11, by driving chip 13 and a light emitting module electric connection in multiple light emitting module 14, drives the light emitting module with driving chip 13 electric connection to make driving chip 13.
In the present embodiment, by the control of handover module according to control module, by a light emitting module electric connection in driving chip and multiple light emitting module, drive to make the light emitting module of driving chip pair and driving chip electric connection; Achieve and use same driving chip to drive different light emitting module; Compared with being connected with corresponding driving chip with light emitting module each in prior art, decrease the quantity of driving chip; Decrease the cost of illuminating lamp.
Fig. 2 is the structural representation of light emitting module control device embodiment two of the present invention; As shown in Figure 2, the device of the present embodiment is on the basis of Fig. 1 shown device structure, and further, handover module 12 comprises the first function pin 121, second function pin 122 and the 3rd function pin 123; Wherein, the first function pin 121, is connected with the first light emitting module 141 for handover module 12; Second function pin 122, is connected with the second light emitting module 142 for handover module 12; 3rd function pin 123, is connected with driving chip 13 for handover module 12; Handover module 12, for the control according to control module 11, by the first function pin 121 and the 3rd function pin 123 conducting, the second function pin 122 and the 3rd function pin 123 disconnect, and drive the first light emitting module 141 to make driving chip 13; Or the first function pin 121 and the 3rd function pin 123 are disconnected, the second function pin 122 and the 3rd function pin 123 conducting, drive the second light emitting module 142 to make driving chip 13.
It should be noted that, be connected by a dotted line between first function pin 121 with the 3rd function pin 123 in Fig. 2, the object be connected by solid line between second function pin 122 with the 3rd function pin 123 is to represent the scene that driving chip 13 drives the second light emitting module 142.
Optionally, the first light emitting module 141 is white light emitting diode (LED, LightEmittingDiode) lamp pearl, and the second light emitting module 142 is infrared LED lamp pearl; Or the first light emitting module 141 is infrared LED lamp pearl, the second light emitting module 142 is white LED lamp pearl.
Optionally, white LED lamp pearl may be used for traditional lighting, and infrared LED lamp pearl may be used for night vision floor light, thus makes illuminating lamp can day and night shooting picture.
In the present embodiment, by the control of handover module according to control module, by the first function pin and the 3rd function pin conducting, the second function pin and the 3rd function pin disconnect, and drive the first light emitting module to make driving chip; Or the first function pin and the 3rd function pin are disconnected, the second function pin and the 3rd function pin conducting, drive the second light emitting module to make driving chip; Achieve and use same driving chip to drive different light emitting module; Compared with being connected with corresponding driving chip with light emitting module each in prior art, decrease the quantity of driving chip; Decrease the cost of illuminating lamp.Meanwhile, owing to decreasing the quantity of driving chip, therefore decrease the area of printed circuit board (PCB) (PCB, the PrintedCircuitBoard) plate shared by driving chip, thus decrease the size of pcb board.
Fig. 3 is the structural representation of light emitting module control device embodiment three of the present invention; As shown in Figure 3, the device of the present embodiment is on the basis of Fig. 2 shown device, and further, handover module 12 is monostable relay; Handover module 12 also comprises function of supplying power pin 124, and handover module 12 is connected with control module 11 by function of supplying power pin 124;
Whether control module 11, power on for controlling handover module 12; Control module 11 controls handover module 12 when powering on, the first function pin 121 and the 3rd function pin 123 conducting, and the second function pin 122 and the 3rd function pin 123 disconnect; Control module 11 controls handover module 12 when not powering on, and the first function pin 121 and the 3rd function pin 123 disconnect, the second function pin 122 and the 3rd function pin 123 conducting.
It should be noted that, in the present invention, when monostable relay powers on, described monostable relay is in normal condition; When monostable relay does not power on, described monostable relay is in reset mode.
Optionally, control module 11 comprises controller 111 and switching tube 112; Wherein, the input 1121 of switching tube 112 is connected with controller 111, and the output 1122 of switching tube 112 is connected with function of supplying power pin 124;
Whether controller 111, by the turn-on and turn-off of control switch pipe 112, controls handover module 12 and powers on.
Wherein, controller 111 can be such as central processing unit (CPU, CentralProcessingUnit) or micro-control unit (MCU, MicroControlUnit) etc.
Optionally, switching tube 112 can be negative pole-positive pole-negative pole (NPN, Negative-Positive-Negative) type triode, the base stage of switching tube 112 is connected with controller 111, the collector electrode of switching tube 112 is connected with power supply and function of supplying power pin 124, and the emitter of switching tube 112 is connected to ground;
Accordingly, when controller 111 exports high level, switching tube 112 conducting, handover module 12 does not power on;
During controller 111 output low level, switching tube 112 turns off, and handover module 12 powers on.
Or, optionally, described switching tube can be positive pole-negative pole-positive pole (PNP, Positive-Negative-Positive) type triode, the base stage of switching tube 112 is connected with controller 111, the emitter of switching tube 112 is connected with power supply and function of supplying power pin 124, and the collector electrode of switching tube 112 is connected to ground;
Accordingly, when controller 111 exports high level, switching tube 112 turns off, and handover module 12 powers on;
During controller 111 output low level, switching tube 112 conducting, handover module 12 does not power on.
It should be noted that, when switching tube is NPN type triode, the base stage of NPN type triode is the input of switching tube, and the collector electrode of NPN type triode is the output of switching tube; When switching tube is PNP type triode, the base stage of PNP type triode is the input of switching tube, and the emitter of PNP type triode is the output of switching tube.
It should be noted that, switching tube 112 can also be other devices, such as NPN type field effect transistor or positive-negative-positive field effect transistor etc.; The concrete connected mode of field effect transistor, repeats no more here.
In the present embodiment, be connected with control module by function of supplying power pin by handover module; Whether control module, power on for controlling handover module; When control module control handover module powers on, the first function pin and the 3rd function pin conducting, the second function pin and the 3rd function pin disconnect, and drive the first light emitting module to make driving chip; When control module control handover module does not power on, the first function pin and the 3rd function pin disconnect, and the second function pin and the 3rd function pin conducting, drive the first light emitting module to make driving chip; Achieve and use same driving chip to drive different light emitting module; Decrease the cost of illuminating lamp.Decrease the size of pcb board simultaneously.
Fig. 4 is the schematic diagram of light emitting module control device of the present invention, and Fig. 4 take switching tube as NPN type triode is example.As shown in Figure 4, wherein, C1-C7 is filter capacitor; FB1 is magnetic bead, noise filtering on circuit; R1-R3 is current-limiting resistance; GPIO is the universal input output function pin of controller; Q1 is NPN type triode; VCC is power supply.
It should be noted that, the monostable relay in Fig. 4 is take model as the relay of HFD3/5 is example, and its basic functional principle is exactly by the coil power supply generation current of relay inside, changes the state of relay.Take model as the relay of HFD3/5 be example, each function pin of monostable relay is defined as follows: 1 pin is the power supply positive pole of monostable relay, and 12 pin are power supply negative poles, and 3,4,5,8,9,10 pin are all contact terminals.
According to the description in specifications, this monostable relay is as follows at the connection performance of involution state and operating state: under involution state, 3 pin and 4 pin conductings, 9 pin and 10 pin conductings; Under operating state, 4 pin and 5 pin conductings, 8 pin and 9 pin conductings;
The operation principle of schematic diagram shown in Fig. 4 is as follows: when the GPIO output of controller is low level, triode Q1 ends, 1 pin of monostable relay and 12 pin current supply circuits are caused to disconnect, monostable relay does not power on (namely, be in involution state), now 3 pin and 4 pin conductings, 9 pin and 10 pin conductings, driving chip drives white light LEDs; When the GPIO output of controller is high level, triode Q1 conducting, forms the current supply circuit of monostable relay, monostable relay powers on (that is, in running order), now 4 pin and 5 pin conductings, 8 pin and 9 pin conductings, driving chip drives infrared LED.
Can find out, in embodiment illustrated in fig. 4,3 pin and 10 pin can think the first function pin in above-described embodiment (or, second function pin), 5 pin and 8 pin can think the second function pin in above-described embodiment (or, first function pin), 4 pin and 9 pin can think the 3rd function pin in above-described embodiment.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.