Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an intelligent automatic detection circuit for lamp bead faults of an LED street lamp.
The LED lamp array circuit comprises 15 LED lamp beads DS1, DS2, DS3, DS4, DS5, DS6 and DS6, wherein a 2 pin of the DS6 is connected with a 1 pin of the DS6 to be connected to an LU 6 network, a 2 pin of the DS6 is connected with a 1 pin of the DS6, a 2 pin of the DS6 is connected with the 1 pin of the DS6 to be connected to the LU 6 network, a 2 pin of the DS6 is connected with the 1 pin of the DS6, a 2 pin of the DS6 is connected with a 2 pin of the DS6, a 2 pin of the DS6 is connected with a VCC 6, a DS6 is connected with a DS6, a DS 6-th pin of the DS6 is connected with a DS6, a DS6 is connected with a DS6, a DS 6-th pin of a DS6, a DS 6-3-th pin of a DS 6-3 pin of a DS6, a DS 6-3-th pin is connected with a DS 6-3-DS 6-3-DS-3-DS 6-3-DS-3-DS 6-DS-, The 2 nd pin of the DS15 is connected to the L _ GND network, and a circuit structure of five strings and three is realized.
The comparator circuit comprises two LM324 operational amplifier chips to form a six-path voltage comparator, and comparison of the lamp in a short circuit state and an open circuit state is respectively realized; the first LM324 operational amplifier is marked as U7, wherein U7 has 4 pins connected to +24 network, 11 pins connected to GND network, 1 pin connected to short-circuit output 1 network, 2 pins connected to LU1 network, 3 pins connected to short-circuit _ REF11.7V network, 5 pins connected to short-circuit _ REF11.7V network, 6 pins connected to LU2 network, 7 pins connected to short-circuit output 2 network, 8 pins connected to short-circuit output 3 network, 9 pins connected to LU3 network, 10 pins connected to short-circuit _ REF11.7V network, 12 pins floating, 13 pins floating, and 14 pins floating; the second LM324 operational amplifier is labeled as U8, where U8 has 4 pins connected to the +24 network, 11 pins connected to the GND network, 1 pin connected to the broken output 1 network, 2 pins connected to the broken _ REF11.5V network, 3 pins connected to the LU1 network, 5 pins connected to the LU2 network, 6 pins connected to the broken _ REF11.5V network, 7 pins connected to the broken output 2 network, 8 pins connected to the broken output 3 network, 9 pins connected to the broken _ REF11.5V network, 10 pins connected to the LU3 network, 12 pins floating, 13 pins floating, and 14 pins floating.
The reference voltage source circuit comprises four TL431 chips, resistors R1, R2, R5, R6, R11, R12, R19, R20, R23, R24, R27, R28, R31 and R32, capacitors C1, C2, C7 and C8; the four TL431 chips are marked as U5, U6, U1 and U2 respectively; a pin at one end of the resistor R31 is connected with a pin 1 of the U5, and a pin at the other end of the resistor R31 is connected with an L _ GND network; a pin at one end of the resistor R27 is connected with a pin 1 of the U5, a pin at the other end of the resistor R3578 is connected with a pin R23, and a pin at the other end of the resistor R23 is connected with a pin 2 of the U5 and connected to a short-circuit _ REF11.7V network; one end pin of the resistor R19 is connected to the +24 network, and the other end pin is connected to the short-circuit _ REF11.7V network; one end pin of the capacitor C7 is connected to the short-circuit _ REF11.7V network, and the other end pin is connected to the L _ GND network; pin 2 of U5 is connected to the short _ REF11.7V network and pin 3 is connected to the L _ GND network. A pin at one end of the resistor R32 is connected with a pin 1 of the U6, and a pin at the other end of the resistor R32 is connected with an L _ GND network; a pin at one end of the resistor R28 is connected with a pin 1 of the U6, a pin at the other end of the resistor R3578 is connected with the resistor R24, and a pin at the other end of the resistor R24 is connected with a pin 2 of the U6 and connected to the open circuit _ REF11.7V network; one end pin of the resistor R20 is connected to the +24 network, and the other end pin is connected to the open circuit _ REF11.7V network; one end pin of the capacitor C8 is connected to the open circuit _ REF11.7V network, and the other end pin is connected to the L _ GND network; pin 2 of U6 is connected to the disconnect _ REF11.7V network and pin 3 is connected to the L _ GND network. A pin at one end of the resistor R11 is connected with a pin 1 of the U1, and a pin at the other end of the resistor R11 is connected with a GND network; a pin at one end of the resistor R5 is connected with a pin 1 of the U1, and a pin at the other end of the resistor R5 is connected with a +5 network; one end pin of the resistor R1 is connected to the +24 network, and the other end pin is connected to the +5 network; one end pin of the capacitor C1 is connected to the +5 network, and the other end pin is connected to the GND network; pin 2 of U1 is connected to the +5 network and pin 3 is connected to the GND network. A pin at one end of the resistor R12 is connected with a pin 1 of the U2, and a pin at the other end of the resistor R12 is connected with a GND network; a pin at one end of the resistor R6 is connected with a pin 1 of the U2, and a pin at the other end of the resistor R6 is connected with a +3 network; one end pin of the resistor R2 is connected to the +24 network, and the other end pin is connected to the +3 network; one end pin of the capacitor C2 is connected to the +3 network, and the other end pin is connected to the GND network; pin 2 of U2 is connected to the +3 network and pin 3 is connected to the GND network. U5 is used for generating a short circuit reference voltage source, U6 is used for generating an open circuit reference voltage source; u1 is used to generate a +5V reference voltage; u2 is used to generate a +3V reference voltage; resistors R19, R20, R1 and R2 are used as current limiting resistors; resistors R23, R27, R31, R24, R28, R32, R5, R11, R6 and R12 are used as feedback resistors; the capacitors C7, C8, C1 and C2 are used as filter capacitors of the reference voltage source.
The voltage converter circuit comprises two LM324 operational amplifiers, resistors R3, R4, R7, R8, R9, R10, R13, R14, R15, R16, R17, R18, R21, R22, R25, R26, R29 and R30, capacitors C3, C4, C5, C6, C9 and C10; the labels of the two LM324 chips are U3 and U4 respectively; pin 1 of U3 is connected to the 1 network of the breaking signal, pin 2 is connected to the +3 network, pin 4 is connected to the +5 network, pin 6 is connected to the +3 network, pin 7 is connected to the 2 network of the breaking signal, pin 8 is connected to the 3 network of the breaking signal, pin 9 is connected to the +3 network, pin 11 is connected to the GND network, pin 12 is suspended, pin 13 is suspended, and pin 14 is suspended; the capacitor C3 and the resistor R15 are mutually connected in parallel, after the parallel connection, a pin at one end is connected to a pin 3 of the U3, and a pin at the other end is connected to a GND network; one end pin of the resistor R3 is connected with one end pin of the resistor R9, the other end pin of the resistor R3 is connected to the network of the circuit breaking output 1, and the other end pin of the resistor R9 is connected to the pin 3 of the U3; the capacitor C9 and the resistor R29 are mutually connected in parallel, after the parallel connection, a pin at one end is connected to a pin 5 of the U3, and a pin at the other end is connected to a GND network; one end pin of the resistor R21 is connected with one end pin of the resistor R25, the other end pin of the resistor R21 is connected to the network of the disconnection output 2, and the other end pin of the resistor R25 is connected to the 5 pin of the U3; the capacitor C5 and the resistor R17 are mutually connected in parallel, after the parallel connection, a pin at one end is connected to a pin 10 of the U3, and a pin at the other end is connected to a GND network; one end pin of the resistor R7 is connected with one end pin of the resistor R13, the other end pin of the resistor R7 is connected to the network of the disconnection output 3, and the other end pin of the resistor R13 is connected to the 10 pins of the U3; pin 1 of U4 is connected to the short-circuit signal 1 network, pin 2 is connected to the +3 network, pin 4 is connected to the +5 network, pin 6 is connected to the +3 network, pin 7 is connected to the short-circuit signal 2 network, pin 8 is connected to the short-circuit signal 3 network, pin 9 is connected to the +3 network, pin 11 is connected to the GND network, pin 12 is suspended, pin 13 is suspended, and pin 14 is suspended; the capacitor C4 and the resistor R16 are mutually connected in parallel, after the parallel connection, a pin at one end is connected to a pin 3 of the U4, and a pin at the other end is connected to a GND network; a pin at one end of the resistor R4 is connected with a pin at one end of the resistor R10, a pin at the other end of the resistor R4 is connected to the short-circuit output 1 network, and a pin at the other end of the resistor R10 is connected to a pin 3 of the U4; the capacitor C10 and the resistor R30 are mutually connected in parallel, after the parallel connection, a pin at one end is connected to a pin 5 of the U4, and a pin at the other end is connected to a GND network; a pin at one end of the resistor R22 is connected with a pin at one end of the resistor R26, a pin at the other end of the resistor R22 is connected to the short-circuit output 2 network, and a pin at the other end of the resistor R26 is connected to a pin 5 of the U4; the capacitor C6 and the resistor R18 are mutually connected in parallel, after the parallel connection, a pin at one end is connected to a pin 10 of the U4, and a pin at the other end is connected to a GND network; a pin at one end of the resistor R8 is connected with a pin at one end of the resistor R14, a pin at the other end of the resistor R8 is connected to the short-circuit output 3 network, and a pin at the other end of the resistor R14 is connected to a pin 10 of the U4; u3 is used as a voltage conversion chip of the open circuit signal, wherein pins 1, 7 and 8 are used as the output of the open circuit signals 1, 2 and 3, pins 2, 6 and 9 are connected with a +3V reference voltage source, pins 3, 5 and 10 are connected with external voltage resistors, pin 4 is connected with a +5V voltage, and pin 11 is grounded; u4 is used as a voltage conversion chip of the short-circuit signal, wherein pins 1, 7 and 8 are used as the output of the short- circuit signals 1, 2 and 3, pins 2, 6 and 9 are connected with a +3V reference voltage source, pins 3, 5 and 10 are connected with external voltage resistors, pin 4 is connected with +5V voltage, and pin 11 is grounded; resistors R3, R9, 15, R21, R25, R29, R7, R13, R17, R4, R10, R16, R22, R26, R30, R8, R14 and R18 are voltage dividing resistors; the capacitors C3, C9, C5, C4, C10 and C6 are filter capacitors.
The external interface and decoupling capacitor circuit comprises two-pin plug-ins J1 and J2, an eight-pin plug-in J3, resistors R33, R34, R35, R36, R37, R38 and R39, capacitors C11, C12, C13, C14, C15 and C16; one end pin of the resistor R33 is connected to the 8 pins of the plug J3, and the other end pin is connected to the network of the open circuit signal 1; one end pin of the resistor R34 is connected to the 7 pins of the plug J3, and the other end pin is connected to the network of the open circuit signal 2; one end pin of the resistor R35 is connected to the 6 pins of the plug J3, and the other end pin is connected to the open circuit signal 3 network; one end pin of the resistor R36 is connected to the 5 pin of the plug J3, and the other end pin is connected to the short-circuit signal 1 network; one end pin of the resistor R37 is connected to the 4 pins of the plug J3, and the other end pin is connected to the short-circuit signal 2 network; one end pin of the resistor R38 is connected to the 3 pin of the plug J3, and the other end pin is connected to the short-circuit signal 3 network; pins at one end of the resistor R39 are connected to pins 1 and 2 of the plug J3, and pins at the other end of the resistor R39 are connected to a GND network; the 2 pin of the connector J1 is connected to the +24 network, and the 1 pin is connected to the GND network; pin 2 of the connector J2 is connected to the L _ VCC network, and pin 1 is connected to the L _ GND network; after the capacitors C11, C12, C13 and C14 are connected in parallel, a pin at one end is connected to a +24 network, and a pin at the other end is connected to a GND network; after the capacitors C15 and C16 are connected in parallel, a pin at one end is connected to the +5 network, and a pin at the other end is connected to the GND network; j1 is a power supply terminal; j2 is a power supply terminal of the LED lamp; j3 is a signal output terminal; the resistors R33, R34, R35, R36, R37 and R38 are current-limiting resistors; the resistor R39 is an isolation resistor; the capacitors C11, C12, C13, C14, C15 and C16 are filter capacitors.
The invention has the beneficial effects that: the invention provides an intelligent LED street lamp rapid inspection control system based on Zig Bee and GPRS technologies, which can realize rapid repair of street lamp faults through remote monitoring and intelligent control of street lamps and rapidly solve the problems.
According to the invention, the state of the LED string is decoded through the voltage converter module and the comparator module, and the data is transmitted to the electronic control unit, so that the function of automatic transcoding is realized, and the detection speed of the lamp bead is accelerated.
According to the invention, the detection algorithm in the development board of the electronic control unit STM32 is changed, so that the rapid detection of the state of the LED lamp beads is realized, and the dual accelerated detection from hardware and software is realized.
The invention adopts scientific and reasonable circuit layout and isolation method, has strong anti-interference capability and better robustness; the circuit of the invention has simple structure, small occupied space and convenient integration.
Detailed Description
Aiming at the problem that other lamp beads cannot be rapidly detected to cause damage and the fault of the whole working system when the LED street lamp beads have faults, the invention provides the intelligent street lamp rapid detection system which comprises the following three modules: (1) an LED lamp fault automatic detection module based on a voltage comparator signal; (2) the street lamp information transmission module is based on ZigBee-GPRS; (3) and monitoring information display port, APP software module of street lamp trouble demonstration, see figure 1.
The invention is further explained by combining the attached drawings and the embodiment, and the circuit can automatically detect two fault conditions of the LED lamp bead.
When the lamp beads of the LED lamp array in fig. 2 are short-circuited, the voltage (the voltage between the network L _ VCC and the network L _ GND) at the two ends of the LED lamp array branch circuit working in the constant current mode decreases, the short-circuit reference voltage set by the reference voltage source in fig. 3 is 11.7V, and the voltage of the LED lamp array branch circuit in fig. 1 is compared with the short-circuit reference voltage in fig. 3 by the voltage comparator formed by the LM324 in fig. 3. When the LED lamp array in fig. 1 works normally, the voltage on the branch of the LED lamp array in fig. 1 is greater than the short-circuit reference voltage in fig. 3, and the comparator in fig. 4 outputs a low level; when there is a short circuit of LED beads in the LED lamp array in fig. 2, the voltage of the branch of the LED lamp array in fig. 2 drops and is lower than the reference voltage set in fig. 3, and at this time, the comparator in fig. 4 outputs a high level.
When the lamp bead of the LED lamp array in fig. 2 is broken, the voltage across the branch of the LED lamp array (the voltage between the network L _ VCC and the network L _ GND) operating in the constant current mode decreases, the broken reference voltage set by the reference voltage source in fig. 3 is 11.5V, and the voltage of the branch of the LED lamp array in fig. 2 is compared with the broken reference voltage in fig. 3 by the voltage comparator formed by the LM324 in fig. 4. When the LED lamp array in fig. 2 works normally, the voltage on the branch of the LED lamp array in fig. 2 is greater than the short-circuit reference voltage in fig. 3, and the comparator in fig. 4 outputs a high level; when an LED lamp bead in the LED lamp array in fig. 2 is broken, the voltage of the LED lamp array branch in fig. 2 decreases and is lower than the reference voltage set in fig. 3, and at this time, the comparator in fig. 4 outputs a low level.
As shown in fig. 5, the main function of the voltage converter circuit is to convert the +24V high level and the 0V low level output by the voltage comparator into voltages that can be recognized and tolerated by the MCU. The +5V voltage provided by the reference voltage source powers the LM324 in the voltage converter circuit. The +3V provided by the reference voltage source is used for the LM324 reference voltage source in the voltage converter circuit. Resistors R3, R9, 15, R21, R25, R29, R7, R13, R17, R4, R10, R16, R22, R26, R30, R8, R14 and R18 form a voltage division network, and +24V voltage is converted into +5V voltage. The capacitors C3, C9, C5, C4, C10 and C6 are mainly used for stabilizing the converted +5V voltage.
As shown in fig. 6, the external interface and the decoupling capacitor circuit mainly provide the interface and protection functions. The resistors R33, R34, R35, R36, R37 and R38 mainly play a role in limiting current, and output signals are compatible with an MCU (microprogrammed control Unit) which works at + 3.3V. Resistor R39 is used to isolate the digital ground from the analog ground, placing the digital signal in interference with the analog signal. The capacitors C11, C12, C13, C14, C15 and C16 filter high-frequency and low-frequency burrs for ensuring the stability of voltage.