Background technology
The unprecedented fast development of electronic technology, increasing electronic equipment employing LED comes the operating state to user's indicating equipment, because lamp figure place quantitative limitation, the operating state that a lot of equipment adopt three-color LED to come indicating equipment, LED lamp group can have green, redness, orange (green add red the mixing and get), colourless (not working) four kinds of states, and four kinds of colors of LED lamp group are distinguished four kinds of operating states of indicating equipments.Along with specialized reinforcement, a lot of functional circuits are modularization, complex device trends towards adopting more circuit module to design, but before the industry relevant criterion is not also released or do not refine to or in perfecting process, the circuit module that has multi-brand with identical function, but because function does not have there is not detailed standard in unified standard or the standard, the corresponding relation that drives logic level and led status as indicator light is inconsistent, this makes when adopting these circuit modules to design, and needs to adopt software or programming device to realize the drive signal of disparate modules and the mapping relations of led status.And no matter be the method that adopts the method for software or adopt programming device, the capital increases many design costs, the method that adopts software mainly is can increase the maintenance cost of software version and need extra input/output interface, mainly is the maintenance cost that increases device cost and programming device burning program and adopt the method for programming device (somewhat expensive).Therefore, how in the save design cost, to solve the inconsistent problem of corresponding relation that indicator light drives logic level and led status again, become this area important difficult problem instantly.
Summary of the invention
The utility model solves the inconsistent technical problem of corresponding relation that indicator light drives logic level and led status again for solving in the save design cost, designed a kind of drive circuit of multi-functional three-color LED light group, by gate chip and line socket optionally are installed, realize any mapping of drive signal and three-color LED light group state on installation panel.
The utility model for realizing the technical scheme that goal of the invention adopts is, a kind of drive circuit of multi-functional three-color LED light group, above drive circuit is arranged between the controlled end of two parallel logic drive output and LED lamp group, comprise first logic chip and second logic chip in the drive circuit, two logical drive outputs connect the input of first logic chip and second logic chip respectively, the four attitude control circuits of forming LED lamp group are set up between the input of logical drive output and two logic chips and are had wire jumper resistance socket, and the board-like line socket of bread of the 3rd not gate socket, and supporting wire jumper resistance is or/and the 3rd not gate chip, the supporting multifunction drive circuit that is connected to form.
The beneficial effects of the utility model are: by gate chip and line socket optionally are installed, realize any mapping of drive signal and three-color LED light group state on installation panel, saved design cost.
Below in conjunction with accompanying drawing the utility model is elaborated.
Embodiment
A kind of drive circuit of multi-functional three-color LED light group, above drive circuit 1 is arranged on two parallel logic drive output a, between the controlled end of b and LED lamp group 2, comprise the first logic chip U1 and the second logic chip U2 in the drive circuit 1, two logical drive output a, b connects the input of the first logic chip U1 and the second logic chip U2 respectively, the four attitude control circuits of forming LED lamp group 2 are at two parallel logical drive output a, set up the board-like line socket of bread between the input of b and two logic chips, and supporting wire jumper resistance is or/and the 3rd not gate chip, be connected to form multifunction drive circuit.Supporting wire jumper resistance socket J3 ~ J12, and the 3rd not gate socket J1 of being provided with in the board-like line socket of bread.
The gate that above-mentioned first logic chip U1 adopts be with door or door, XOR gate, NAND gate, NOR gate in a kind of.
The gate that the above-mentioned second logic chip U2 adopts be with door or door, XOR gate, NAND gate, NOR gate in a kind of.
Comprise the red LED lamp D2, the green LED lamp D1 that are connected with the first logic chip U1, the second logic chip U2 control end respectively in the circuit structure of above-mentioned LED lamp group 2.
Line connecting relation is in the above-mentioned driving circuit structure: the first logical drive output a and the second logical drive output b are connected to two logic level inputs of the first logic chip U1 and are connected to two logic level inputs of the second logic chip U2 by wire jumper resistance socket J4, J8 by the wire jumper resistance socket J3, the J7 that reserve on installation panel respectively; The input pin of the 3rd not gate socket J1 is connected with the second logical drive end b, output pin is arranged on one of them logic level input that wire jumper resistance socket J5, J6 are connected to the first logic chip U1 and the second logic chip U2 respectively by walking abreast on installation panel; Four logic level inputs of the first logic chip U1 and the second logic chip U2 are connected to the logic high output through wire jumper resistance socket J9, J10, J11, the J12 that reserves respectively on installation panel.
Referring to Fig. 1, two parallel logical drive output a, b are connected to the supporting drive circuit 1 of LED lamp group 2, two indicator light drive signals of drive circuit 1 output, be respectively Green drive signal and Red drive signal, green LED lamp D1 is bright when the Green signal is 0, and green light goes out when the Green signal is 1; Red LED lamp D2 is bright when the Red signal is 0, and red light goes out when the Red signal is 1; Two lamps are all bright when Green and Red signal all are 0, thereby obtain orange; Two lamps all go out when Green and Red signal all are 1, and indicator light does not work; Wherein resistance R 1, R2 play the effect of regulating indicator light brightness.The corresponding relation of drive signal Green, Red and LED lamp group state is referring to table 1:
Referring to Fig. 1, operation principle of the present utility model is: drive circuit 1 needs to realize two parallel logical drive output a, the b input signal any mapping to LED lamp group 2 states, comprise the 16 kind alternative mapping relations of four kinds of combinations of states of drive signal a, b, represent with output 1 to output 16 respectively to the Green signal; Same Red signal also has 16 kinds of identical alternative mapping relations, but Green signal and Red signal are independent respectively the selections, the alternative mapping relations combination of total so total 16x16=256 kind.Referring to table 2, "/" presentation logic is non-, " * " presentation logic and, "+" presentation logic or, " ⊕ " presentation logic XOR." AND " expression and door, " OR " expression or door, " XOR " represents XOR gate, and " NAND " represents NAND gate, and " NOR " represents NOR gate.When green, red LED lamp need realize that different logical mappings concerns, in requisition for the device of installing referring to table 2.
The redness in table 2: drive signal a, b and the LED lamp group 2 and the mapping relations of green LED lamp.
Mapping relations of Shi Xianing as required, in the board-like line socket of required bread, insert wire jumper resistance or wire jumper resistance and the 3rd not gate chip according to above table, with two logical drive output a, b is communicated with the input of the first gate chip U1 and the second gate chip U2, realizes any mapping of drive signal and three-color LED light group state.Below in conjunction with embodiment the utility model is elaborated.