Multifunctional safety indicating lamp circuit
By designing a multi-functional safety indicator circuit, which integrates power switching, mode selection, automatic detection, and manual testing functions, the problem of limited functionality and inconvenient maintenance of existing safety indicator lights is solved. This achieves convenient automatic detection and manual testing, and improves the reliability and maintenance efficiency of the indicator lights.
Patent Information
- Application Number
- CN202520197832.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2035-02-08
AI Technical Summary
Existing safety indicator lights have limited functionality, lack self-testing and fault diagnosis capabilities, are inconvenient to maintain, inefficient, and easily overlooked.
A multifunctional safety indicator circuit was designed, integrating power switching, mode selection, automatic detection, and manual testing functions. Automatic detection and manual testing are achieved through a control unit and a detection circuit. A dual-color LED light and a color switching switch are used to enhance the diversity of indication information.
It realizes the multi-functionality of safety indicator lights, improves maintenance efficiency, reduces maintenance costs, ensures the reliability and safety of indicator lights in emergency situations, and enhances the richness of indication information.
Smart Images

Figure CN223957681U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to emergency lighting technical field especially relates to a multifunctional safety indicating lamp circuit. BACKGROUND
[0002] Safety indicating lamp, also known as emergency evacuation indicating lamp, is a kind of safety facilities widely used in public places, its main function is to provide lighting and evacuation guide in the case of normal lighting power interruption, guarantee personnel safety, evacuate dangerous area quickly.
[0003] Traditional safety indicating lamp usually has single function, can only provide simple lighting function when power failure. With the improvement of people's safety consciousness and the progress of technology, the function requirement of safety indicating lamp is higher and higher. The existing safety indicating lamp product has following some problems:
[0004] 1, single function, most safety indicating lamps only have basic emergency lighting function, lack self-checking and fault diagnosis capability, cannot find the fault of lamp or battery in time, and there is a security risk.
[0005] 2, inconvenient maintenance, traditional safety indicating lamp needs regular manual inspection and test to ensure its function normal, maintenance workload is large, efficiency is low, and it is easy to miss.
[0006] Therefore, the existing safety indicating lamp technology needs to be improved to overcome the defects of prior art. CONTENT OF UTILITY MODEL
[0007] In order to overcome the problems in the related art, the utility model aims at providing a kind of multifunctional safety indicating lamp circuit, the multifunctional safety indicating lamp circuit is integrated power switching, mode selection, automatic detection and manual test function to overcome the problems of single function and inconvenient maintenance of safety indicating lamp in prior art.
[0008] A kind of multifunctional safety indicating lamp circuit, comprising:
[0009] Emergency indicating lamp unit;
[0010] Power supply circuit, including ac power input end, battery circuit, switching circuit and discharge circuit, the switching circuit is used to switch power supply between the ac power input end and the battery, and the discharge circuit is used to discharge the battery circuit;
[0011] Mode selection switch has automatic detection mode end, manual test mode end, ac indicating mode end and common end;
[0012] Test unit, including detection circuit connected with the emergency indicating lamp unit and manual test switch for manually triggering test;
[0013] a control unit having a timer and a plurality of terminals, the detection circuit and the manual test switch being connected to a first terminal and a second terminal of the control unit respectively, a common terminal of the mode selection switch being connected to a third terminal of the control unit, the automatic detection mode terminal, the manual test mode terminal and the AC indication mode terminal being connected to different input pins or specific levels of the control unit respectively;
[0014] when the mode selection switch is at the automatic detection mode terminal, the control unit controls the detection circuit to detect the status of the emergency indicator light unit periodically according to the timer;
[0015] when the mode selection switch is at the manual test mode terminal, the control unit controls the switching circuit to switch to battery power supply according to the manual test switch, and controls the detection circuit to detect the status of the emergency indicator light unit;
[0016] when the mode selection switch is at the AC indication mode terminal, the control unit controls the switching circuit to turn off the battery circuit.
[0017] further, a pull-up resistor is connected between the third terminal of the control unit and the common terminal of the mode selection switch;
[0018] the automatic detection mode terminal is grounded;
[0019] the AC indication mode terminal is connected to a fourth terminal of the control unit, and the AC indication mode terminal and the fourth terminal of the control unit are grounded through a first resistor and a first capacitor;
[0020] the manual test mode terminal and the third terminal of the control unit are grounded through a second resistor and a second capacitor.
[0021] The combination of pull-up resistor, ground and resistor-capacitor provides different level combinations for different input pins of the control unit. When the mode selection switch is at different gears, the corresponding pins of the control unit will show high level, low level or specific level changes. The control unit can accurately determine the user's selected working mode by detecting these level combinations, so as to control the circuit to perform corresponding functions.
[0022] further, the emergency indicator light unit comprises a plurality of dual-color LED lights and a color switching switch;
[0023] each of the dual-color LED lights comprises a first color terminal, a second color terminal and a common terminal;
[0024] the color switching switch has a first terminal, a second terminal and a common terminal;
[0025] The first color end of the plurality of dual-color LED lamps is connected to the first end of the color switch;
[0026] The second color end of the plurality of dual-color LED lamps is connected to the second end of the color switch;
[0027] The common end of the plurality of dual-color LED lamps is connected to the power supply circuit;
[0028] The common end of the color switch is grounded.
[0029] The use of dual-color LED lamps and color switches allows the safety indicator light to display different colors, such as red and green, as needed, expanding the application scenarios of the indicator light and enhancing the diversity of the indicator information. By using the color switch to centrally control the color selection of the dual-color LED lamps, the control logic is simplified, and the circuit complexity is reduced.
[0030] Further, the dual-color LED lamps include red LED lamps and green LED lamps, and each of the red LED lamps and the green LED lamps is connected in series with a current-limiting resistor.
[0031] The use of a current-limiting resistor in series with each red LED lamp and green LED lamp can effectively limit the current flowing through the LED, prevent the LED from being damaged by overcurrent, prolong the service life of the LED lamp, and improve the reliability of the circuit.
[0032] Further, the switching circuit includes a first switch element and a second switch element, the first switch element is used to control the power supply of the circuit by the AC power input end, the second switch element is used to control the power supply of the circuit by the battery circuit, and the control unit controls the conduction and turn-off of the first switch element and the second switch element to realize the switching between the AC power input end and the battery circuit.
[0033] The use of a first switch element and a second switch element to control the power supply of the AC power and the battery circuit, respectively, realizes the automatic switching of the power supply. The control unit controls the conduction and turn-off of the two switch elements according to different working modes, ensuring that the battery power supply can be automatically switched when the AC power supply is powered off, ensuring the continuous working ability of the safety indicator light and improving its reliability in emergency situations.
[0034] Further, the detection circuit includes a resistor divider connected between the emergency indicator light unit and the ground, and the first connection end of the control unit is connected to the middle node of the resistor divider.
[0035] The resistor voltage divider is connected between the emergency indicator lamp unit and the ground, and the control unit can determine whether the LED lamp is normally lit by detecting the voltage of the middle node of the resistor voltage divider, thereby realizing fault detection of the indicator lamp module.
[0036] Further, the resistor voltage divider comprises a third resistor and a fourth resistor;
[0037] One end of the third resistor is connected to the emergency indicator lamp unit, and the other end is connected to the first connection terminal of the control unit.
[0038] One end of the fourth resistor is connected to the emergency indicator lamp unit, and the other end is grounded.
[0039] By reasonably selecting the resistance values of the third resistor and the fourth resistor, a suitable detection voltage range can be set to ensure that the control unit can accurately detect the state change of the emergency indicator lamp unit, thereby improving the sensitivity and reliability of the detection circuit.
[0040] Further, the first switch element is a P-channel MOSFET, and the second switch element is a P-channel MOSFET; the source of the first switch element is connected to the AC power input end through a first diode, the drain of the first switch element is connected to the power supply end of the circuit, and the gate of the first switch element is connected to a first control circuit.
[0041] The source of the second switch element is connected to the positive pole of the battery circuit through a second diode, the drain of the second switch element is connected to the power supply end of the circuit, and the gate of the second switch element is connected to a second control circuit; wherein the first control circuit and the second control circuit control the conduction and turn-off of the first switch element and the second switch element according to the control signal of the control unit.
[0042] P-channel MOSFET is used as a switching element, and its connection mode is specified. P-channel MOSFET has the advantages of low on-resistance, fast switching speed, etc., and is suitable for power switching circuit. By connecting the source of the P-channel MOSFET to the AC power input end and the battery circuit respectively, the drain to the power supply end of the circuit, and the gate to the control circuit, the conduction and turn-off of the switching element are realized by controlling the gate voltage, thereby realizing fast and reliable switching of the power supply, and ensuring the stable operation of the safety indicator lamp under different power supply modes.
[0043] Further, the first control circuit includes a first transistor, which is an NPN transistor, the collector of the first transistor is connected to the gate of the first switch element, the emitter of the first transistor is grounded, and the base of the first transistor is connected to the output terminal of the control unit and the AC power input terminal through a resistor;
[0044] The second control circuit includes a second transistor, which is an NPN transistor, the collector of the second transistor is connected to the gate of the second switch element, the emitter of the second transistor is grounded, and the base of the second transistor is connected to the output terminal of the control unit and the positive terminal of the battery circuit through a resistor;
[0045] When the AC power input terminal has a voltage, the first transistor is turned on, the gate voltage of the first switch element is pulled low, the first switch element is turned on, and the AC power input terminal supplies power to the circuit through the first diode and the first switch element;
[0046] When the AC power input terminal voltage is disconnected, the first transistor is turned off, the gate voltage of the first switch element is pulled high, and the first switch element is turned off;
[0047] When the control unit controls the second transistor to be turned on, the gate voltage of the second switch element is pulled low, the second switch element is turned on, and the battery circuit supplies power to the circuit through the second diode and the second switch element.
[0048] By controlling the base voltage of the NPN transistor, its conduction and cutoff can be controlled, thereby indirectly controlling the gate voltage of the P-channel MOSFET, achieving precise control of power switching. When the AC power input terminal has a voltage, the first transistor is turned on, the first switch element (P-MOSFET) is turned on, and the AC power supply is realized; when the AC power is disconnected, the first transistor is turned off, and the first switch element is also turned off; when battery power needs to be switched, the control unit controls the second transistor to be turned on, the second switch element (P-MOSFET) is turned on, and the battery power is realized. This control method has clear logic, fast response speed, and ensures the reliability and stability of power switching.
[0049] Further, the discharge circuit includes:
[0050] A third switch element connected between the source of the second switch element and the load;
[0051] A fourth switch element for controlling the conduction and cutoff of the third switch element;
[0052] The control end of the fourth switch element is connected to the output end of the control unit, and the control end of the third switch element is connected to the output end of the fourth switch element through a resistor;
[0053] When the control unit needs to discharge the battery circuit, the control unit controls the fourth switch element to be turned on, and then controls the third switch element to be turned on, forming a battery discharge path.
[0054] The utility model discloses beneficial effect is:
[0055] The multifunctional safety indicator lamp circuit provided by the utility model can flexibly select different working modes including automatic detection, manual test and alternating current indication mode through the mode selection switch. In the automatic detection mode, the control unit utilizes the built-in timer to automatically detect the state of the indicator lamp module regularly without manual intervention, thereby improving the maintenance efficiency and reducing the maintenance cost. In the manual test mode, the user can trigger the battery power supply and the detection circuit to work through the manual test switch, thereby conveniently and quickly checking whether the function of the indicator lamp is normal. In the alternating current indication mode, the battery circuit is closed, and only the alternating current power supply is used for indication. The circuit has the advantages of diversified function, intelligent detection, convenient test and flexible use, overcomes the problems of single function and inconvenient maintenance of the safety indicator lamp in the prior art, and improves the reliability and practicality of the safety indicator lamp. BRIEF DESCRIPTION OF DRAWINGS
[0056] Figure 1 It is the circuit diagram of the first control circuit part provided in the embodiment of the application;
[0057] Figure 2 It is the circuit diagram of the second control circuit part provided in the embodiment of the application;
[0058] Figure 3 It is the circuit diagram of the control unit, mode selection switch and part provided in the embodiment of the application;
[0059] Figure 4 It is the circuit diagram of the emergency indicator lamp unit part provided in the embodiment of the application;
[0060] Figure 5 It is the circuit diagram of the discharge circuit part provided in the embodiment of the application;
[0061] Figure 6 It is the circuit diagram of the multifunctional safety indicator lamp circuit provided in the embodiment of the application. DETAILED DESCRIPTION
[0062] Preferred embodiments of the present application will be described in greater detail below, with reference to the accompanying drawings. While preferred embodiments of the present application are shown in the drawings, it is understood that the present application can be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and fully convey the scope of the present application to those skilled in the art.
[0063] The present application provides a kind of multifunctional safety indicator light circuit, as shown in Figures 1 to 6 It includes emergency indicator light unit, power supply circuit, mode selection switch SW3, test unit and control unit U2.
[0064] I, emergency indicator light unit:
[0065] As shown in Figure 4 In the present embodiment, emergency indicator light unit is composed of multiple groups of double-color LED lamp (LRG1-LRG6) and color switching switch SW2.Each group of double-color LED lamp contains a red LED lamp (RL1-RL6) and a green LED lamp (GL1-GL6), and the red LED lamp and the green LED lamp can be switched to display as needed, providing different warning or indication information.
[0066] The negative pole of each red LED lamp (RL1-RL6) is connected to one fixed end of color switching switch SW2 after being connected to a current-limiting resistor in series.The resistance value of the current-limiting resistor needs to be selected according to the rated operating current and power voltage of the red LED lamp to ensure normal operation of the LED lamp and prevent overcurrent damage.
[0067] The negative pole of each green LED lamp (GL1-GL6) is connected to the other fixed end of color switching switch SW2 after being connected to a current-limiting resistor in series.The resistance value of the current-limiting resistor needs to be selected according to the rated operating current and power voltage of the green LED lamp.
[0068] The positive poles of all red LED lamps and green LED lamps are connected together and connected to the output end VCC of the power supply circuit as the power supply end of the LED lamp.
[0069] Color switching switch SW2 is a single-pole double-throw switch, and its common end is grounded. Users can connect the common end to the negative pole of the red LED lamp or the negative pole of the green LED lamp by turning SW2, so as to select to light up the red LED lamp group or the green LED lamp group.
[0070] II, power supply circuit:
[0071] The power supply circuit includes AC power input end (INPUT), battery circuit (BATT), switching circuit, discharge circuit and AC power detection circuit (AcDet).
[0072] AC input (INPUT) is connected to external AC power supply, providing working voltage for the circuit. AC power supply will be rectified and filtered, converted to DC voltage for the circuit.
[0073] Battery circuit (BATT) provides backup power when AC power is off, ensuring that the safety indicator light can continue to work. Battery circuit usually includes a battery and protection circuit.
[0074] Switching circuit: used to automatically switch between AC input and battery circuit. In this embodiment, the switching circuit includes a first switching element Q3 (P-channel MOSFET) and a second switching element Q5 (P-channel MOSFET).
[0075] The source of Q3 is connected to the AC input (after rectification and filtering) through diode D5, the drain is connected to the power supply terminal VCC of the circuit, and the gate is connected to the first control circuit. The function of diode D5 is to prevent the battery voltage from flowing back to the AC input.
[0076] The source of Q5 is connected to the positive terminal of the battery circuit through diode D4, the drain is connected to the power supply terminal VCC of the circuit, and the gate is connected to the second control circuit. The function of diode D4 is to prevent the AC power supply voltage from flowing back to the battery.
[0077] As shown in Figure 1 The first control circuit is composed of NPN transistor Q2, NPN transistor Q1 and resistors R10, R11, R12, R13, R14, R15. The collector of Q2 is connected to the gate of Q3, the emitter is grounded, and the base is connected to the collector of Q1 through resistor R12. The base is also connected to VCC through resistor R11, and the base is also connected to ground through resistor R13. The base of Q1 is connected to the RC3 (Relay) pin of control unit U2 through R14, the emitter is grounded, and the collector is connected to the base of Q2 through R12. R10 is connected between the gate of Q3 and VCC as the pull-up resistor of Q3 gate. R15 is connected between the base of Q1 and ground.
[0078] As shown in Figure 2The second control circuit is composed of NPN transistor Q4 and resistors R18, R19, R20, R21. The collector of Q4 is connected to the gate of Q5, the emitter is grounded, and the base is connected to the ChargSW (RAO) output of the control unit U2 through resistor R20. The base of Q4 is also connected to the gate of Q5 through resistor R19. The base of Q4 can also be connected to the output of the battery circuit through resistors R22 and R23 for battery voltage detection (ChargDet, RA3). The positive terminal B+ of the battery is connected to the CEN (RA1) pin through resistor R35 and grounded through resistor R36 and capacitor C8.
[0079] The discharge circuit is used to discharge the battery circuit under the control of the control unit U2. As shown in Figure 5 The discharge circuit is mainly composed of Q6, Q7, R29, R30, R31, R32, and RC charging and discharging circuit (R33, R34, C7).
[0080] Q6 (NPN transistor) is used as the control switch of the discharge circuit. Its base is connected to the "Relay" (RC3) output of the control unit U2 through resistor R30, the collector is connected to the base of Q7 through resistor R29, and the emitter is grounded through resistor R31.
[0081] Q7 (PNP transistor) is used as the discharge tube. Its emitter is connected to VCC, and the collector is connected to the RC charging and discharging circuit through resistor R32.
[0082] R32, R33, R34, and C7 constitute the RC charging and discharging circuit, which is connected to the RC (10 pin) pin of the control unit U2. One end of R32 is connected to the collector of Q7, and the other end is connected to R34 and the RC (10 pin) pin of the control unit U2; one end of R34 is connected to R32, and the other end is connected to R33 and the RC (10 pin) pin of the control unit U2; one end of R33 is connected to R34 and the RC (10 pin) pin of the control unit U2, and the other end is grounded; one end of C7 is connected to the RC (10 pin) pin of the control unit U2 and the connection point of R34 and R33, and the other end is grounded.
[0083] The AC power detection circuit (AcDet) is used to detect whether the AC power supply is normal. The detection result is output to the RC4 (AcDet) pin of the control unit U2. The AC power detection circuit is mainly composed of zener diode ZD1, resistors R38, R39, and capacitor C10.
[0084] The negative terminal of zener diode ZD1 is connected to VCC, and the positive terminal is connected to resistor R38. The zener voltage of ZD1 needs to be selected according to the voltage of VCC and the input level requirement of the control unit U2.
[0085] Current limiting resistor R38 protects ZD1 from overcurrent damage.
[0086] Pull-down resistor R39 is connected to the RC4 (AcDet) pin of the control unit U2.
[0087] Filtering capacitor C10 is connected in parallel with R39 to filter out voltage fluctuations on the RC4 (AcDet) pin.
[0088] Free-wheeling diode D7 is used to provide a current path during shutdown or switching. Its anode is connected to one end of R37 and the positive terminal of ZD1, and its cathode is connected to VCC.
[0089] Protection diode D6 is used to prevent voltage reversal or exceeding VDD. Its anode is connected to ground, and its cathode is connected to VDD.
[0090] Current limiting resistor at the other end of R37 is connected to VDD.
[0091] E5 is a capacitor with the positive terminal connected to the positive terminal of the battery and the negative terminal connected to ground, serving as a filter
[0092] Power supply circuit working principle:
[0093] AC power supply: When there is voltage at the AC power input terminal, after rectification and filtering, this voltage is used to power the circuit (VCC) on one hand, and is added to the base of Q2 through resistor R11, making Q2 conductive. After Q2 is turned on, the gate of Q3 is pulled low, and since Q3 is a P-channel MOSFET, the low level at the gate makes it conductive, and the AC power supply powers the circuit (VCC) through D5 and Q3. At the same time, the control unit U2 detects that the AC power supply is normal through RC4 (AcDet), and controls the ChargSW (RA0) output to be low, making Q4 and Q5 cut off, and the battery circuit is not powered. The control unit U2 also controls the output of the RC3 (Relay) pin according to the current working mode. In normal AC power supply mode, RC3 (Relay) usually outputs low, making Q1 cut off and Q2 remain conductive.
[0094] Battery power supply: When the voltage at the AC power input terminal is disconnected, the control unit U2 detects that the AC power supply is disconnected through RC4 (AcDet), and the base voltage of Q2 becomes low, making Q2 cut off, and the gate voltage of Q3 is pulled up to high by R10, making Q3 cut off, and the AC power supply stops supplying power. When CEN (RA1) is high and the battery voltage is within the normal range (ChargDet detection), the control unit U2 controls the ChargSW (RA0) output to be high, making Q4 conductive; after Q4 is turned on, the gate of Q5 is pulled low by the voltage division network composed of R19 and R18, making Q5 conductive, and the battery circuit powers the circuit through D4 and Q5.
[0095] Battery discharge test: When a battery needs to be discharged, the control unit U2 first controls CEN (RA1) to output high level, then controls ChargSW (RA0) to output high level, ensures Q5 to be on, and makes the battery circuit supply power to the circuit. Then controls Relay (RC3) to output high level, and makes Q6 to be on. After Q6 is on, the base of Q7 is pulled low, and Q7 is on, forming a battery discharge path: battery positive -> D4 -> Q5 -> Q7 -> R32 -> RC charge-discharge circuit -> ground. The battery is discharged through Q7, R32 and RC charge-discharge circuit. The control unit U2 can test the battery condition by monitoring the battery voltage during discharge (through the ChargDet (RA3) port) and the voltage change of the RC charge-discharge circuit (through the RC (10 pin) port).
[0096] The control unit U2 can control the on and off of Q1 through the RC3 (Relay) pin. When RC3 (Relay) outputs high level, Q1 is on, pulling the base voltage of Q2 low, making Q2 off, and further making Q3 off, cutting off the AC power path. When RC3 (Relay) outputs low level, Q1 is off, and the base of Q2 obtains bias voltage through R11, making Q2 on, and further making Q3 on, restoring the AC power path. This control mechanism can be used to simulate AC power outage, control load on-off, or realize other specific functions.
[0097] CEN (RA1) signal is used to control the enable of the battery charge-discharge circuit. When CEN is high level, Q4 is allowed to be on, allowing the battery to be discharged or charged; when CEN is low level, Q4 is forced to be off regardless of the state of ChargSW (RA0) and ChargDet (RA3), prohibiting the battery charge-discharge.
[0098] Three, mode selection switch SW3:
[0099] As shown in Figure 3 , mode selection switch SW3 is a single-pole three-throw switch with four terminals corresponding to automatic detection mode terminal (CT), manual test mode terminal (MT), AC indication mode terminal (AC) and common terminal. Users can select different working modes by turning the switch.
[0100] The common terminal is connected to the RC1 (CT / MT) pin of the control unit U2.
[0101] The automatic detection mode terminal (CT) is directly grounded. When the switch is turned to this gear, the RC1 (CT / MT) pin is pulled to low level.
[0102] Manual test mode terminal (MT) is connected to ground through resistor R42 and capacitor C11. When SW3 is dialled to MT terminal, the level state of RC1 (CT / MT) pin is determined by R42 and C11.
[0103] AC indication mode terminal (AC): connected to RC2 (AC) pin of control unit U2 through resistor R28 and capacitor C6. The RC circuit composed of resistor R28 and capacitor C6 is used to generate a specific level signal or delay so as to be recognized by control unit U2.
[0104] Four, test unit:
[0105] As shown in Figure 3 ,the test unit includes a detection circuit and a manual test switch SW1. Figure 4 Detection circuit: composed of a resistor divider composed of resistors R40 and R41. R41 is connected between the positive pole of the emergency indicator lamp unit (i.e. VCC) and the RA2 (LEDDet) pin of control unit U2, and R40 is connected between the RA2 (LEDDet) pin of control unit U2 and ground. Control unit U2 judges the working state of the emergency indicator lamp unit, i.e. whether the LED lamp is normally lit, by detecting the voltage of the RA2 (LEDDet) pin.
[0106] Manual test switch SW1 is connected to the RC5 (keyIn) pin of control unit U2 at one end and grounded at the other end. When the manual test switch SW1 is pressed down, the RC5 (keyIn) pin is pulled low, triggering the manual test mode.
[0107] Five, control unit U2:
[0108] As shown in
[0109] , the control unit U2 is the control core of the entire circuit and can be implemented by a single-chip microcomputer or other programmable logic devices. Control unit U2 has an internal timer and multiple I / O ports. Figure 3 Timer is used to periodically trigger battery discharge test and LED lamp state detection in automatic detection mode.
[0110] I / O ports:
[0111] RA0 (13-pin) ChargSW, controls the conduction and turn-off of Q4, used to control the charging and discharging of the battery.
[0112] RA1 (12-pin) CEN, controls the enablement of the battery charging and discharging circuit.
[0113] RA2 (11-pin) LEDDet, connected to the LED detection circuit, used to detect the state of the LED lamp.
[0114]
[0115] RA3(4-pin)ChargDet, connected to battery voltage detection circuit, used to monitor the battery voltage.
[0116] RA4, RA5(2-pin)Connect Test Result Indicator LED1, used to indicate the test result.
[0117] RC0(10-pin)RC, connected to RC charge and discharge circuit, used to detect the battery discharge state.
[0118] RC1(9-pin)CT / MT, connected to the common terminal of mode selection switch SW3, detects the current working mode.
[0119] RC2(8-pin)AC, connected to the AC terminal of mode selection switch SW3, detects the current working mode.
[0120] RC3(7-pin)Relay, controls the conduction and turn-off of Q1, used to simulate AC power outage, controls the load on-off.
[0121] RC4(6-pin)AcDet, detects whether the AC power supply is normal.
[0122] RC5(5-pin)keyIn, connected to manual test switch SW1, used to trigger manual test mode.
[0123] Working mode:
[0124] 1. Automatic detection mode:
[0125] When the mode selection switch SW3 is in the automatic detection mode end (CT), the RC1(CT / MT) pin is pulled low, and the control unit U2 enters the automatic detection mode. The control unit U2 periodically performs the following operations according to the setting of the internal timer:
[0126] Battery discharge test, the control unit U2 controls CEN(RA1) to output high level, then controls ChargSW(RA0) to output high level, makes Q4 and Q5 conduct, the battery circuit supplies power to the circuit. Then control Relay(RC3) to output high level, makes Q6 and Q7 conduct, forms the battery discharge path. The battery discharges through Q7, R32 and RC charge and discharge circuit to the load LED lamp string.
[0127] LED lamp state detection, during the discharge process or after the discharge is completed, the control unit U2 judges whether the LED lamp is normally lit by detecting the voltage of the RA2(LEDDet) pin. If the LED lamp is detected to be faulty, the control unit U2 can indicate it through the test result indicator LED1.
[0128] 2. Manual test mode:
[0129] When the mode selection switch SW3 is in the manual test mode end (MT), the RC1 (CT / MT) pin presents a specific level state. After detecting the manual test mode signal, the control unit U2 waits for the manual test switch SW1 to be pressed. When SW1 is pressed, the RC5 (keyIn) pin is pulled low, and the control unit U2 performs the following operations:
[0130] Switch to battery power supply, the control unit U2 controls the CEN (RA1) output high level, and then controls the ChargSW (RA0) output high level, so that Q4 and Q5 are turned on, and the battery circuit supplies power to the circuit.
[0131] LED light state detection, the control unit U2 judges whether the LED light is normally lit by detecting the voltage of the RA2 (LEDDet) pin.
[0132] State indication, the control unit U2 can control the test result indicating lamp LED1 (connected to RA4 and RA5) to light red or green, indicating the test result.
[0133] 3、AC indication mode:
[0134] When the mode selection switch SW3 is in the AC indication mode end (AC). The control unit U2 enters the AC indication mode, controls the ChargSW (RA0) output low level, so that Q4 and Q5 are cut off, and the battery circuit is closed, and only the AC power supply is used to supply power to the emergency indication lamp unit. At the same time, the control unit U2 controls the RC3 (Relay) output low level, ensures that Q1 is cut off, Q2 and Q3 are turned on, and the AC power supply is normally powered.
[0135] The specific element parameter values need to be selected and adjusted according to the actual application requirements, for example, the current limiting resistor of the LED lamp needs to be selected according to the rated working current of the LED lamp, and the capacitance value of the filter capacitor needs to be selected according to the working frequency and noise level of the circuit.
[0136] The multifunctional safety indication lamp circuit provided by the embodiment integrates multiple practical functions and optimizes the circuit design, and has the following remarkable beneficial effects compared with the prior art:
[0137] 1、Multi-mode flexible switching, through the mode selection switch SW3, the user can flexibly select the automatic detection mode, the manual test mode and the AC indication mode, to meet the needs of different application scenarios. The integration of the three modes makes the indication lamp circuit not only serve as an emergency indication in daily life, but also facilitate function testing and maintenance.
[0138] 2、Intelligent automatic detection, in the automatic detection mode, the control unit U2 can periodically and automatically carry out the battery discharge test and the LED lamp state detection by using the internal timer, without manual intervention. This automatic detection mechanism greatly improves the detection efficiency, reduces the maintenance cost, and ensures the reliability of the safety indicator light.
[0139] 3、Convenient manual test, the manual test mode allows the user to quickly trigger the battery power supply and LED lamp state detection by pressing the SW1 button, so that the user can check whether the function of the safety indicator light is normal at any time, and ensure that it can work reliably in an emergency.
[0140] 4、Dual-color indication, the emergency indicator light unit adopts a dual-color LED lamp design and is equipped with a color switching switch SW2, so that the user can select a red or green indicator light according to the needs, enrich the warning information, and improve the recognition.
[0141] Unless specifically stated otherwise, the relative arrangements of parts and steps, numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application. In all examples shown and discussed herein, any specific value should be interpreted as merely an example, and not as a limitation. Therefore, other examples of the example embodiments can have different values. It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0142] In addition, it should be noted that the use of the words "first", "second", and the like is merely for convenience, and the above words have no special meaning unless otherwise stated, and therefore cannot be understood as limiting the scope of protection of the present application.
[0143] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A multi-function safety indicator light circuit, characterized by, The multifunctional safety indicator lamp circuit comprises: an emergency indicator lamp unit; a power supply circuit comprising an AC power input end, a battery circuit, a switching circuit for switching power supply between the AC power input end and the battery circuit, and a discharging circuit for discharging the battery circuit; a mode selection switch having an automatic detection mode end, a manual test mode end, an AC indication mode end and a common end; a test unit comprising a detection circuit connected to the emergency indicator lamp unit and a manual test switch for manually triggering test; a control unit having a timer and a plurality of connection ends, the detection circuit and the manual test switch being connected to the first and second connection ends of the control unit respectively, the common end of the mode selection switch being connected to the third connection end of the control unit, the automatic detection mode end, the manual test mode end and the AC indication mode end being connected to different input pins or specific levels of the control unit respectively; when the mode selection switch is located at the automatic detection mode end, the control unit periodically controls the detection circuit to detect the state of the emergency indicator lamp unit according to the timer; when the mode selection switch is located at the manual test mode end, the control unit controls the switching circuit to switch to battery power supply and controls the detection circuit to detect the state of the emergency indicator lamp unit according to the manual test switch; when the mode selection switch is located at the AC indication mode end, the control unit controls the switching circuit to turn off the battery circuit.
2. The multifunctional safety indicator lamp circuit according to claim 1, wherein: a pull-up resistor is connected between the third connection end of the control unit and the common end of the mode selection switch; the automatic detection mode end is grounded; the AC indication mode end is connected to the fourth connection end of the control unit, and the AC indication mode end and the fourth connection end of the control unit are grounded through a first resistor and a first capacitor; the manual test mode end and the third connection end of the control unit are grounded through a second resistor and a second capacitor.
3. The multifunctional safety indicator lamp circuit according to claim 1, wherein: the emergency indicator lamp unit comprises a plurality of dual-color LED lamps and a color switching switch; each of the dual-color LED lamps comprises a first color end, a second color end and a common end; the color switching switch has a first end, a second end and a common end; the first color ends of the plurality of dual-color LED lamps are connected to the first end of the color switching switch; the second color ends of the plurality of dual-color LED lamps are connected to the second end of the color switching switch; the common ends of the plurality of dual-color LED lamps are connected to the power supply circuit; the common end of the color switching switch is grounded.
4. The multifunctional safety indicator lamp circuit according to claim 3, wherein: the dual-color LED lamps comprise red LED lamps and green LED lamps, and each of the red LED lamps and the green LED lamps is connected in series with a current-limiting resistor.
5. The multifunctional safety indicator lamp circuit according to claim 1, wherein: The switching circuit includes a first switching element for controlling power supply of the AC power input end and a second switching element for controlling power supply of the battery circuit, and the control unit controls conduction and turn-off of the first and second switching elements to realize switching between the AC power input end and the battery circuit.
6. The multifunctional safety indicator lamp circuit according to claim 1, characterized in that: The detection circuit includes a resistor divider connected between the emergency indicator lamp unit and the ground, and a first terminal of the control unit is connected to an intermediate node of the resistor divider.
7. The multifunctional safety indicator lamp circuit according to claim 6, characterized in that: The resistor divider includes a third resistor and a fourth resistor; one end of the third resistor is connected to the emergency indicator lamp unit, and the other end is connected to the first terminal of the control unit; one end of the fourth resistor is connected to the emergency indicator lamp unit, and the other end is grounded.
8. The multifunctional safety indicator lamp circuit according to claim 5, characterized in that: The first switching element is a P-channel MOSFET, and the second switching element is a P-channel MOSFET; a source of the first switching element is connected to the AC power input end through a first diode, a drain of the first switching element is connected to a power supply end of the circuit, and a gate of the first switching element is connected to a first control circuit; a source of the second switching element is connected to a positive electrode of the battery circuit through a second diode, a drain of the second switching element is connected to the power supply end of the circuit, and a gate of the second switching element is connected to a second control circuit; The first control circuit and the second control circuit control conduction and turn-off of the first and second switching elements according to a control signal of the control unit.
9. The multifunctional safety indicator lamp circuit according to claim 8, characterized in that: The first control circuit includes a first transistor, which is an NPN transistor; a collector of the first transistor is connected to the gate of the first switching element, an emitter of the first transistor is grounded, and a base of the first transistor is connected to an output end of the control unit and the AC power input end through a resistor; The second control circuit includes a second transistor, which is an NPN transistor; a collector of the second transistor is connected to the gate of the second switching element, an emitter of the second transistor is grounded, and a base of the second transistor is connected to the output end of the control unit and the positive electrode of the battery circuit through a resistor; When the AC power input end has a voltage, the first transistor is turned on, the gate voltage of the first switching element is pulled down, the first switching element is turned on, and the AC power input end supplies power to the circuit through the first diode and the first switching element. When the AC power input voltage is disconnected, the first transistor is turned off, the gate voltage of the first switch element is pulled up to high level, and the first switch element is turned off; When the control unit controls the second transistor to be turned on, the gate voltage of the second switch element is pulled down, the second switch element is turned on, and the battery circuit supplies power to the circuit through the second diode and the second switch element.
10. The multifunctional safety indicator lamp circuit according to claim 8, characterized in that: The discharge circuit comprises: A third switch element connected between the source of the second switch element and the load; A fourth switch element for controlling the turn-on and turn-off of the third switch element; The control end of the fourth switch element is connected to the output end of the control unit, and the control end of the third switch element is connected to the output end of the fourth switch element through a resistor; When the control unit needs to discharge the battery circuit, the control unit controls the fourth switch element to be turned on, and the third switch element is turned on to form a battery discharge path.