Utility model content
The technical problems to be solved in the utility model is, for the virtual voltage on the above-mentioned head and the tail lamp string of prior art, differ larger defect, a kind of forward and reverse outlet line of LED lamp string two-wire for battery case and controller is provided, can reduces the difference of the virtual voltage on head and the tail lamp string.
The utility model solves the technical scheme that its technical problem adopts: construct a kind of forward and reverse outlet line of LED lamp string two-wire for battery case and controller, comprising:
Single-chip microcomputer;
At least one group of LED lamp group, every group of LED lamp group comprises an antiparallel LED lamp string and the 2nd LED lamp string; And
At least one drive circuit, and, described drive circuit comprises: the first triode of NPN type, the second triode of NPN type, the 3rd triode of positive-negative-positive, the 4th triode of positive-negative-positive, wherein, the base stage of the base stage of described the first triode and described the second triode is connected respectively two outputs of described single-chip microcomputer, the emitter of described the first triode and the second triode is ground connection respectively, the collector electrode of described the first triode connects the base stage of described the 3rd triode, the collector electrode of described the second triode connects the base stage of described the 4th triode, the emitter of the emitter of described the 3rd triode and described the 4th triode connects respectively the anode of battery, the collector electrode of described the 3rd triode connects the collector electrode of described the second triode, the collector electrode of described the 4th triode connects the collector electrode of described the first triode, the two ends of described LED lamp group connect respectively the collector electrode of described the first triode and the collector electrode of described the second triode.
At the forward and reverse outlet line of LED lamp string two-wire for battery case and controller described in the utility model, described outlet line also comprises booster circuit, and, described booster circuit comprises boost inductance, the 5th triode of NPN type, the first resistance, the second resistance and the first electric capacity, wherein, described the first resistance and described the second resistance are connected between the 3rd output and ground of single-chip microcomputer, described the first electric capacity is in parallel with described the first resistance, the tie point of described the first resistance and described the second resistance connects the base stage of described the 5th triode, the grounded emitter of described the 5th triode, the collector electrode of described the 5th triode connects the first end of described boost inductance, the anode of the second termination battery of described boost inductance, the first end of described boost inductance also connects respectively the emitter of described the 3rd triode and the emitter of described the 4th triode.
At the forward and reverse outlet line of LED lamp string two-wire for battery case and controller described in the utility model, described outlet line also comprises filter circuit, and, described filter circuit comprises diode and filter capacitor, the positive pole of described diode connects the first end of described boost inductance, the negative pole of described diode connects respectively the emitter of described the 3rd triode and the emitter of described the 4th triode, and described filter capacitor is connected between the negative pole and ground of described diode.
At the forward and reverse outlet line of LED lamp string two-wire for battery case and controller described in the utility model, described outlet line also comprises time control circuit, and, described time control circuit comprises the second electric capacity, the 3rd electric capacity and crystal oscillator, the two ends of described crystal oscillator connect respectively two clock ends of described single-chip microcomputer, described the second electric capacity is connected between the first end and ground of described crystal oscillator, and described the 3rd electric capacity is connected between second end and ground of described crystal oscillator.
At the forward and reverse outlet line of LED lamp string two-wire for battery case and controller described in the utility model, described outlet line also comprises for select the input circuit of mode of operation for user, described input circuit comprises button and pull-up resistor, described button is connected between the input and ground of described single-chip microcomputer, and described pull-up resistor is connected between the anode of battery and the input of described single-chip microcomputer.
At the forward and reverse outlet line of LED lamp string two-wire for battery case and controller described in the utility model, described drive circuit also comprises the 3rd current-limiting resistance and the 4th current-limiting resistance, described the 3rd current-limiting resistance is connected between the first output of described single-chip microcomputer and the base stage of described the first triode, and described the 4th current-limiting resistance is connected between the second output of described single-chip microcomputer and the base stage of described the second triode.
At the forward and reverse outlet line of LED lamp string two-wire for battery case and controller described in the utility model, described drive circuit also comprises the 5th current-limiting resistance and the 6th current-limiting resistance, described the 5th current-limiting resistance is connected between the collector electrode of described the first triode and the base stage of described the 3rd triode, and described the 6th current-limiting resistance is connected between the collector electrode of described the second triode and the base stage of described the 4th triode.
The forward and reverse outlet line of LED lamp string two-wire for battery case and controller at LED described in the utility model, described outlet line also comprises electric capacity of voltage regulation, the anode of the power supply termination battery of described single-chip microcomputer, described electric capacity of voltage regulation is connected between the anode and ground of battery.
Implement the technical solution of the utility model, because two lamp string inverse parallels in every group of LED lamp group connect, changed the way of conventional lights group, reduced the manufacturing cost of lamp group.And, due to two lamp strings in a LED lamp group are coupled together with forward and reverse welding manner, the line impedance on each lamp string is close to unanimously, thereby reaches the consistent effect of head and the tail brightness, and saves energy increases the service life.
Embodiment
Fig. 1 is that the utility model is for the logic diagram of the forward and reverse outlet line embodiment mono-of the LED lamp string two-wire of battery case and controller; this outlet line comprises single-chip microcomputer U1, LED lamp group, drive circuit, time control circuit and input circuit; described hereinly be; although the present embodiment only shows one group of LED lamp group and a drive circuit; but should be understood that the LED lamp group of other any amount and drive circuit are also in protection range of the present utility model.Only with the situation of a lamp group and a drive circuit, the modules in this embodiment is described below:
LED lamp group comprises antiparallel LED lamp string LED1 and LED lamp string LED2.
In drive circuit, triode T2, T3 is NPN type triode, triode T4, T5 is positive-negative-positive triode, and, the base stage of triode T2 connects the first output (P61) of single-chip microcomputer U1 by current-limiting resistance R3, the base stage of triode T3 connects the second output (P60) of single-chip microcomputer U1 by current-limiting resistance R4, the emitter of triode T2 and triode T3 is ground connection respectively, the collector electrode of triode T2 connects the base stage of triode T4 by current-limiting resistance R5, the collector electrode of triode T3 connects the base stage of triode T5 by current-limiting resistance R6, the emitter of the emitter of triode T4 and triode T5 connects the anode of battery, the collector electrode of the collector connecting transistor T3 of triode T4, the collector electrode of the collector connecting transistor T2 of triode T5, the collector electrode of the two ends difference connecting triode T2 of LED lamp group and the collector electrode of triode T3.At this, it should be noted that, resistance R 3, R4, R5, R6 play metering function, can save in certain embodiments.
In time control circuit, the two ends of crystal oscillator Y connect respectively two clock ends (OSCI, OSCO) of single-chip microcomputer U1, and capacitor C 2 is connected between the first end and ground of crystal oscillator Y, and capacitor C 3 is connected between the second end and ground of crystal oscillator Y.
In input circuit, button SW is connected between the input (P63) and ground of single-chip microcomputer U1, and pull-up resistor R7 is connected between the anode of battery and the input of single-chip microcomputer U1.
In addition, the power end of single-chip microcomputer U1 (VDD) connects the anode of battery, and electric capacity of voltage regulation C1 is connected between the anode and ground of battery.
The following describes this for the operation principle of the forward and reverse outlet line of the LED lamp string two-wire of battery case and controller: battery is single-chip microcomputer U1 power supply, by drive circuit, is also that LED lamp group is powered.Crystal oscillator Y, capacitor C 2, C3 provide clock signal for single-chip microcomputer.Single-chip microcomputer U1 implants inside the program that several lighting modules is controlled that is useful in advance.If it is luminous to control lamp string LED1, the first output (P61) of single-chip microcomputer U1 is exported high level, triode T2 conducting, and then triode T4 conducting, and like this, just the anode of lamp string LED1 accesses cell voltage, its negativing ending grounding, forms path, just can be luminous; If it is luminous to control lamp string LED2, the second output (P60) of single-chip microcomputer U1 is exported high level, triode T3 conducting, and then triode T5 conducting, and like this, just the anode of lamp string LED2 accesses cell voltage, its negativing ending grounding, forms path, just can be luminous.Single-chip microcomputer U1 exports different pulse signals by its first output and the second output, can control lamp string LED1, LED2 bright, flicker entirely.
For example, in an example, first single-chip microcomputer U1 implants corresponding light-emitting mode control program, make lamp string LED1, LED2 under the control of single-chip microcomputer U1, have eight kinds of light-emitting modes, be respectively: 1) automatic cycle pattern, from the 2nd) kind light-emitting mode to the 7) kind light-emitting mode automatic cycling operating; 2) lamp string LED1 and lamp string LED2 while wave are flashed (1/2 phase place change), for example, and circular flow in the following manner: cycle 392ms operation 16 times → cycle 196ms operation 8 times; 3) lamp string LED1 and lamp string LED2 be to dodging, for example, and circular flow in the following manner: cycle 784ms is to dodging 4 times → cycle 392ms to dodging 8 times → cycle 196ms to dodging 16 times → cycle 98ms to dodging 32 times; 4) lamp string LED1 get brighter gradually transfer to after dark lamp string LED2 get brighter gradually dark, for example, circular flow in the following manner: cycle 13s operation 1 time → cycle 6.5s operation 1 time → cycle 3.25s operation 2 times; 5) circular flow in the following manner: lamp string LED1 dodges 4 times → lamp string LED2 and dodges 4 times → lamp string LED1, lamp string LED2 to dodging 4 times → lamp of 4 times → lamp of 4 times → lamp string LED2 sudden strain of a muscle string LED1 sudden strain of a muscle string LED1, lamp string LED2 to dodging 4 times; 6) lamp string LED1 and lamp string LED2 get brighter simultaneously gradually dark, for example, circular flow in the following manner: cycle 13s operation 2 times → cycle 6.5s operation 2 times → cycle 3.25s operation 4 times; 7) shake is dodged, for example, and circular flow in the following manner: lamp string LED1 cycle 98ms dodges 4 times → lamp string LED2 cycle 98ms and dodges 4 times; 8) lamp string LED1 and lamp string LED2 are entirely bright.Certainly, user also can select corresponding light-emitting mode by button SW, for example, often clicks, and light-emitting mode is just switched to the next one.
In addition, because time control circuit is for single-chip microcomputer U1 provides clock signal, therefore, can in single-chip microcomputer U1, write in advance the operating time of setting, for example, 3 hours.When this outlet line work is after 3 hours, automatically close.Certainly, also this time control circuit can be set in other embodiments.
Fig. 2 be the utility model for the circuit diagram of the forward and reverse outlet line embodiment bis-of the LED lamp string two-wire of battery case and controller, the outlet line of this embodiment is compared the embodiment shown in Fig. 1, difference only, also comprises booster circuit and filter circuit.
In this booster circuit, resistance R 1 and resistance R 2 are connected between the 3rd output (P62) and ground of single-chip microcomputer U1, capacitor C 4 is in parallel with resistance R 1, the tie point of resistance R 1 and resistance R 2 connects the base stage of NPN type triode T1, the grounded emitter of triode T1, the collector electrode of triode T1 connects the first end of boost inductance L, the anode of the second termination battery of boost inductance L, and the first end of boost inductance L is also by the emitter of filter circuit connecting triode T4 and the emitter of triode T5.
In this filter circuit, the positive pole of diode D1 connects the first end of boost inductance L, the emitter of the negative pole difference connecting triode T4 of diode D1 and the emitter of triode T5, and filter capacitor C5 is connected between the negative pole and ground of diode.
Operation principle and the embodiment shown in Fig. 1 of the outlet line of this embodiment are roughly the same, difference only: cell voltage, before being LED lamp group power supply, first boosts.Other identical place does not repeat at this.In this embodiment, single-chip microcomputer U1 exports by its 3rd output the frequency control signal that boosts, thereby produce vibration by resistance R 1, R2, capacitor C 4, triode T1, thereby realize, boost inductance L is charged, to promote the supply power voltage of LED lamp group, like this, cell voltage can be promoted to 6-76V from 4.5V, in actual applications, according to the required voltage of each LED lamp string, select the suitable parameter of each device in booster circuit.After the supply power voltage of LED lamp group being promoted by booster circuit, the filter circuit being comprised of diode D1 and filter capacitor C5 carries out filtering to this supply power voltage.
Finally it should be noted that, single-chip microcomputer U1 is except its pin 1 and pin 8, and outside the function of pin 2 and pin 3 is fixed, other pin can switch arbitrarily, and except single-chip microcomputer IC can use, nude film nation determines IC and encapsulation IC can be used this circuit.
The foregoing is only preferred embodiment of the present utility model, be not limited to the utility model, for a person skilled in the art, the utility model can have various modifications and variations.All within spirit of the present utility model and principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in claim scope of the present utility model.