Lamp start-up time detection device
By designing a lamp startup time detection device, the problem of lamp startup time detection is solved, fast and accurate detection is achieved, production efficiency and product quality are improved, and it is suitable for various lamp types.
Patent Information
- Application Number
- CN202211345325.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-10-31
AI Technical Summary
The existing technology lacks an effective method to accurately detect the start-up time of lamps, resulting in asynchronous switching of lamps in the same environment, affecting the user experience.
A lamp startup time detection device is designed, which includes a power supply circuit, a detection circuit, a main control circuit and an output circuit. By connecting to the detection sub-circuit and the brightness detection sub-circuit, the main control circuit calculates the startup time of the lamp, and displays or alarms the abnormal time through the output circuit.
It realizes fast and automatic detection of lamp startup time, improves production efficiency, enhances product quality, adapts to different power models and power drive solutions, and has high versatility and anti-interference.
Smart Images

Figure CN115728668B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lamp detection, and in particular to a lamp starting time detection device. Background Art
[0002] As people's living standards improve, new demands are constantly being made on lighting performance and experience. Due to the different power drive solutions, power and quality of lamps on the market, using multiple lamps in the same environment can easily cause the lights to turn on and off out of sync, resulting in a poor user experience.
[0003] Therefore, in order to meet users' new requirements for the start-up / shutdown time of lamps, during the lamp testing phase, it is necessary to test the time required for the lamp to light up after power is turned on and the time required for the lamp to extinguish after power is turned off, so as to screen out lamps with different start-up / shutdown times, thereby avoiding large differences in the start-up / shutdown times of lamps sold.
[0004] However, there is currently no effective detection method or equipment to accurately and standardizedly detect the start-up time of lamps. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a lamp starting time detection device, which can quickly and automatically detect the time required for the lamp to be powered on and lit, thereby improving production efficiency and enhancing product quality.
[0006] In order to solve the above technical problems, the present invention provides a lamp start-up time detection device, including a power supply circuit, a detection circuit, a main control circuit and an output circuit; the power supply circuit is respectively connected to the detection circuit, the main control circuit and the output circuit, and is used to supply power to the detection circuit, the main control circuit and the output circuit; the detection circuit includes an access detection subcircuit and a brightness detection subcircuit respectively connected to the main control circuit, the access detection subcircuit is used to detect the access status of the lamp and send the generated status signal to the main control circuit, and the brightness detection subcircuit is used to detect the brightness signal of the lamp and send the brightness signal to the main control circuit; the main control circuit is connected to the output circuit, and is used to generate and send a switch signal to the access detection subcircuit according to the status signal to control the on-off status of the lamp, and calculate the start-up time of the lamp according to the status signal and the brightness signal, and then generate and send a detection signal to the output circuit according to the start-up time; the output circuit is used to output a detection result according to the detection signal.
[0007] As an improvement to the above scheme, the power supply circuit includes a primary rectifier circuit, a transformer, a flyback power conversion circuit and a secondary rectifier circuit; the main winding of the transformer is connected to the power supply through the primary rectifier circuit, so that the power supply is output to the transformer for step-down processing after rectification and filtering by the primary rectifier circuit; the secondary winding of the transformer is connected to the detection circuit, the main control circuit and the output circuit respectively through the flyback power conversion circuit, so that the power output by the secondary winding is output to the detection circuit, the main control circuit and the output circuit after rectification and filtering by the flyback power conversion circuit; the auxiliary winding of the transformer is connected to the access detection subcircuit through the secondary rectifier circuit, and the power output by the auxiliary winding is output to the access detection subcircuit after rectification and filtering by the secondary rectifier circuit.
[0008] As an improvement to the above-mentioned scheme, the access detection subcircuit includes an access unit, a main switch unit and a secondary switch unit; the access unit is used to access a lamp, wherein, when a lamp is connected to the access unit, the access detection subcircuit forms an electrical circuit with the power supply circuit through the lamp, and when no lamp is connected to the access unit, the access detection subcircuit and the power supply circuit are disconnected; the main switch unit generates a status signal according to the on-off status of the access detection subcircuit and the power supply circuit, and sends the status signal to the main control circuit; the secondary switch unit is connected to the main control circuit, and is used to perform on-off control according to the switch signal sent by the main control circuit, wherein, when the secondary switch unit is turned on, the lamp is turned on and starts to light up, and when the secondary switch unit is disconnected, the lamp is disconnected and starts to go out.
[0009] As an improvement to the above scheme, the main switch unit includes a first switch tube and a photoelectric coupler, the trigger end of the first switch tube is connected to the access unit, the first end of the first switch tube is connected to the power supply or ground output by the secondary rectifier circuit, and the second end of the first switch tube is connected to the main control circuit through the photoelectric coupler.
[0010] As an improvement to the above scheme, the first switching tube is a PNP-type transistor, the base of the PNP-type transistor is connected to the access unit, the emitter is connected to the power supply output by the secondary rectifier circuit, the collector is connected to the input end of the photoelectric coupler, and the output end of the photoelectric coupler is connected to the main control circuit.
[0011] As an improvement to the above scheme, the first switching tube is an NPN-type transistor, the base of the NPN-type transistor is connected to the access unit, the emitter is grounded, the collector is connected to the power supply output by the secondary rectifier circuit through the input end of the optocoupler, and the output end of the optocoupler is connected to the main control circuit.
[0012] As an improvement to the above scheme, the secondary switch unit includes a relay, the control end of the relay is connected to the main control circuit, the contact end is connected to the access unit, and the common end is connected to the power supply circuit. The control end is used to receive the switching signal of the main control circuit and control the opening and closing state of the contact end according to the switching signal to control the on-off state of the secondary switch unit.
[0013] As an improvement to the above scheme, the secondary switch unit includes a relay and a second switch tube, the contact end of the relay is connected to the access unit, and the common end is connected to the power supply circuit. The trigger end of the second switch tube is used to receive the switching signal of the main control circuit and control its own on-off state according to the switching signal. The control end of the relay is used to control the opening and closing state of the contact end according to the on-off state of the second switch tube to control the on-off state of the secondary switch unit.
[0014] As an improvement to the above scheme, the step of calculating the start-up time of the lamp based on the status signal and the brightness signal includes: when the main control circuit receives the status signal and executes the lamp start-up control, starting the timing operation; when the main control circuit determines that the brightness signal changes from dark to bright, stopping the timing operation to obtain the start-up time of the lamp.
[0015] As an improvement to the above scheme, the main control circuit is also used to calculate the off time of the lamp based on the power-off signal and the brightness signal. The specific steps include: when the main control circuit generates a power-off signal and executes the lamp off control, starting the timing operation; when the main control circuit determines that the brightness signal changes from bright to dark, stopping the timing operation to obtain the off time of the lamp.
[0016] As an improvement to the above scheme, the main control circuit is also used to generate and output a brightness change curve after the timing operation is stopped; or, the main control circuit is also used to generate a brightness change curve after the timing operation is stopped, and determine whether the brightness change curve is consistent with a preset brightness change curve, and output the determination result.
[0017] As an improvement to the above solution, the output circuit includes a display subcircuit and / or an alarm subcircuit, the display subcircuit is used to display the start time, and the alarm subcircuit is used to generate an alarm signal when the start time is greater than a reference time.
[0018] As an improvement to the above solution, the output circuit further includes a setting subcircuit and / or an automation interface circuit, wherein the setting subcircuit is used to set the reference time, and the automation interface circuit is used to connect the lamp start-up time detection device to an automated production line.
[0019] The present invention is mainly used in lamp production lines, quality inspection departments, etc., and the implementation of the present invention has the following beneficial effects:
[0020] During lamp production, the present invention can quickly and automatically detect the time required for lamps to light up and / or turn off after power is turned on, quickly screening out lamps with different start-up times, improving production efficiency and product quality;
[0021] At the same time, the present invention can prevent misjudgment caused by poor contact and other reasons by continuously and periodically detecting the access status of lamps, and has strong anti-interference ability. Moreover, the present invention can meet the needs of testing lamps of different power models, different power drive schemes, and different shapes, and has high versatility.
[0022] Furthermore, the present invention has a high degree of automation and high efficiency. It can be arranged at a re-lighting station and connected to an automated production line through an automated interface circuit. The test can be completed without additional stations and personnel operation. The time required to test the lamp is less than 3 seconds per lamp. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a structural schematic diagram of the lamp starting time detection device of the present invention;
[0024] Figure 2 It is a circuit diagram of the power supply circuit and the main switch unit in the present invention;
[0025] Figure 3 is a circuit diagram of the access unit and the secondary switch unit in the present invention;
[0026] Figure 4 is another circuit diagram of the power supply circuit and the main switch unit in the present invention;
[0027] Figure 5 is a circuit diagram of the brightness detection sub-circuit in the present invention;
[0028] Figure 6 It is a circuit diagram of the main control circuit in the present invention;
[0029] Figure 7 is a circuit diagram of a display sub-circuit in the present invention;
[0030] Figure 8 is a circuit diagram of the alarm subcircuit in the present invention;
[0031] Figure 9 is a circuit diagram of a sub-circuit provided in the present invention;
[0032] Figure 10 It is a circuit diagram of the automation interface circuit in the present invention. DETAILED DESCRIPTION
[0033] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail below with reference to the accompanying drawings.
[0034] See also Figure 1 , Figure 1 The specific structure of the lamp start-up time detection device of the present invention is shown, which includes a power supply circuit 1, a detection circuit 2, a main control circuit 3 and an output circuit 4. Specifically:
[0035] The power supply circuit 1 is connected to the detection circuit 2, the main control circuit 3 and the output circuit 4 respectively; wherein the power supply circuit 1 is used to supply power to the detection circuit 2, the main control circuit 3 and the output circuit 4;
[0036] The detection circuit 2 includes an access detection subcircuit 21 and a brightness detection subcircuit 22, each connected to the main control circuit 3. The access detection subcircuit 21 is used to detect the access status of the lamp and send the generated status signal to the main control circuit 3. The brightness detection subcircuit 22 is used to detect the brightness signal of the lamp and send the brightness signal to the main control circuit 3.
[0037] The main control circuit 3 is connected to the output circuit 4. The main control circuit 3 is used to generate and send a switch signal to the access detection sub-circuit 21 based on the status signal to control the on / off state of the lamp, calculate the start-up time of the lamp based on the status signal and the brightness signal, and then generate and send a detection signal to the output circuit 4 based on the start-up time.
[0038] The output circuit 4 is used to output the detection result according to the detection signal.
[0039] When the lamp is not connected to the access detection subcircuit 21, the access detection subcircuit 21 generates a "not connected" status signal and sends the "not connected" status signal to the main control circuit 3; at this time, the main control circuit 3 determines that no lamp is connected, so the start-up time of the lamp is not calculated and the output circuit 4 does not work.
[0040] When the lamp is connected to the access detection subcircuit 21, the access detection subcircuit 21 generates a "connected" status signal and sends the "connected" status signal to the main control circuit 3; at this time, the main control circuit 3 determines that a lamp is connected, and immediately generates a "closed switch" switch signal and starts calculating the start-up time of the lamp. At the same time, the access detection subcircuit 21 controls the lamp to turn on, and the lamp starts to light up. The brightness detection subcircuit 22 sends the brightness signal to the main control circuit 3 in real time; when the main control circuit 3 recognizes that the lamp changes from dark to bright (that is, the lamp lights up) according to the brightness signal, it stops calculating the start-up time of the lamp, and then determines the start-up time according to the start calculation time and the stop calculation time. Finally, according to the start time, the detection signal is sent to the output circuit 4 to output the detection result.
[0041] In the above control process, the time when the main control circuit 3 generates the switch signal is the time when the lamp is powered on, and the lamp startup time can be calculated at this time; the time when the lamp changes from dim to bright is the time when the lamp turns from dim to bright, and the lamp startup time calculation can be stopped at this time. In other words, the time from "the main control circuit 3 generates the switch signal" to "the lamp changes from dim to bright" is the lamp startup time. Therefore, the present invention can quickly and automatically detect the time required for lamps to be powered on and illuminated, thereby quickly screening out lamps with significantly different startup times.
[0042] The following is a detailed description of the power supply circuit 1, detection circuit 2, main control circuit 3 and output circuit 4 in conjunction with the specific circuit diagram:
[0043] 1. Power supply circuit 1
[0044] like Figure 2 As shown, the power supply circuit 1 includes a primary rectifier circuit, a transformer T1, a flyback power conversion circuit and a secondary rectifier circuit. Specifically:
[0045] 1. The main winding of the transformer T1 is connected to the power supply through the primary rectifier circuit, so that the power is output to the transformer T1 for step-down processing after being rectified and filtered by the primary rectifier circuit.
[0046] The primary rectifier circuit includes a rectifier bridge BD1, a first-polarity capacitor CE1, a second-polarity capacitor CE2, and a first inductor L1. AC mains power passes through the primary rectifier and filter circuit formed by the rectifier bridge BD1, the first-polarity capacitor CE1, the second-polarity capacitor CE2, and the first inductor L1 to generate a relatively pure DC voltage, which is then sent to transformer T1 for step-down processing.
[0047] 2. The secondary winding of transformer T1 is connected to the detection circuit 2, the main control circuit 3 and the output circuit 4 respectively through the flyback power conversion circuit, so that the power output from the secondary winding is rectified and filtered by the flyback power conversion circuit and then output to the detection circuit 2, the main control circuit 3 and the output circuit 4.
[0048] The flyback power conversion circuit includes a primary-side control power switch chip U3, a first diode D1 and a third-polarity capacitor CE3. Combining the flyback power conversion circuit with a transformer T1 can convert AC voltage into 5V DC voltage to power the device.
[0049] It should be noted that the present invention adopts an isolated switching power supply, which can convert the input AC voltage of 90V to 260V into a DC voltage of 5V to power the detection circuit 2, the main control circuit 3 and the output circuit 4; and the input voltage range is wide, which is suitable for use in most lamps.
[0050] 3. The auxiliary winding of the transformer T1 is connected to the access detection sub-circuit 21 through the secondary rectifier circuit. The power output by the auxiliary winding is rectified and filtered by the secondary rectifier circuit and then output to the access detection sub-circuit 21.
[0051] The secondary rectifier circuit includes a sixth diode D6 for rectification and a third capacitor C3. The power output from the auxiliary winding is rectified by the sixth diode D6 and filtered by the third capacitor C3 to obtain a DC voltage of approximately 12V.
[0052] 2. Detection circuit 2
[0053] The detection circuit 2 includes an access detection sub-circuit 21 and a brightness detection sub-circuit 22 .
[0054] like Figure 2 and Figure 3 As shown, the access detection subcircuit 21 includes an access unit 211, a main switch unit 212 and a secondary switch unit 213. Specifically:
[0055] like Figure 3 As shown, the access unit 211 includes a detection terminal P3 for connecting to a lamp; wherein, when the detection terminal P3 in the access unit 211 is connected to the lamp, the access detection sub-circuit 21 forms an electrical circuit through the lamp and the power supply circuit 1 to generate a "connected" status signal; when the detection terminal P3 in the access unit 211 is not connected to the lamp, the access detection sub-circuit 21 and the power supply circuit 1 are disconnected to generate an "unconnected" status signal.
[0056] See also Figure 2 , Figure 2 A first embodiment of the main switch unit 212 is shown. In this embodiment, the main switch unit 212 includes a first switch tube and a photocoupler U5. The trigger end of the first switch tube is connected to the access unit 211, the first end of the first switch tube is connected to the power supply output by the secondary rectifier circuit or the ground, and the second end of the first switch tube is connected to the main control circuit 3 through the photocoupler U5.
[0057] During operation, the first switch tube can be controlled to drive the photocoupler U5, which transmits a status signal to the main control circuit 3. The switching state of the first switch tube is determined by the voltage at the trigger terminal, which is connected to the on / off terminal of the access unit 211 through the seventh diode D7 and the third resistor R3.
[0058] In this embodiment, the first switching tube is a PNP transistor Q5, the base of the PNP transistor Q5 is connected to the access unit 211, the emitter is connected to the power supply output by the secondary rectifier circuit, the collector is connected to the input end of the photocoupler U5, and the output end of the photocoupler U5 is connected to the main control circuit 3.
[0059] When the access detection sub-circuit 21 is connected to the lamp to be tested, the on / off terminal L_SW1 of the access unit 211 has already formed an electrical circuit through the lamp when the secondary switch unit 213 is not energized. The current of the transformer auxiliary winding can flow into the neutral line through the lamp. When the AC power is in the negative half cycle, the current flows from the emitter to the base of the PNP transistor Q5, through the seventh diode D7, the third resistor R3, the on / off terminal L_SW1, and the lamp to the neutral line, turning on the PNP transistor Q5 and driving the optocoupler U5. At this time, the status signal transmission port SW_IN of the main control circuit 3 receives a low-level status signal, thereby determining that the lamp has been connected.
[0060] When the lamp is disconnected, the PNP transistor Q5 is turned off, and the main control circuit 3 receives a high-level status signal, thereby determining that no lamp is connected.
[0061] See also Figure 4 , Figure 4 A second embodiment of the main switch unit 212 is shown, with Figure 2 The difference from the first embodiment is that in this embodiment, the first switching tube is an NPN transistor Q6, the base of the NPN transistor Q6 is connected to the access unit 211, the emitter is grounded, the collector is connected to the power supply output by the secondary rectifier circuit through the input end of the photoelectric coupler U5, and the output end of the photoelectric coupler U5 is connected to the main control circuit 3.
[0062] When the access detection sub-circuit 21 is connected to a lamp, the on / off terminal L_SW1 of the access unit 211 forms an electrical circuit through the lamp when the secondary switch unit 213 is not energized. During the positive half-cycle of the AC power, current flows through the lamp from the on / off terminal L_SW1 through the third resistor R3 and the seventh diode D7 into the base of the NPN transistor Q6, turning on the NPN transistor Q6 and driving the optocoupler U5. At this point, the status signal transmission port SW_IN of the main control circuit 3 receives a low-level status signal, thereby determining that the lamp is connected.
[0063] When the lamp is disconnected, the NPN transistor Q6 is turned off, and the main control circuit 3 receives a high-level status signal, thereby determining that no lamp is connected.
[0064] like Figure 3As shown, the secondary switch unit 213 is connected to the main control circuit 3 and is used to perform on / off control based on the switching signal sent by the main control circuit 3. When the secondary switch unit 213 is turned on, the lamp is turned on and begins to illuminate. When the secondary switch unit 213 is turned off, the lamp is disconnected and begins to extinguish. Specifically, the secondary switch unit 213 includes a relay K1. The control terminal of the relay K1 is connected to the main control circuit 3, the contact terminal is connected to the access unit 211, and the common terminal is connected to the power supply circuit 1. The control terminal is used to receive the switching signal from the main control circuit 3 and control the open and closed state of the contact terminal according to the switching signal to control the on / off state of the secondary switch unit 213.
[0065] Furthermore, the secondary switch unit 213 includes a relay K1, a second switch Q2, a thirty-eighth resistor R38, a fuse F1, and a fifth diode D5. The emitter of the second switch Q2 is grounded, and its base (i.e., a trigger terminal) is connected to the main control circuit 3 via the thirty-eighth resistor R38, for receiving a switching signal from the main control circuit 3 and controlling its own on / off state based on the switching signal. The collector is connected to the control terminal of the relay K1. The contact terminal of the relay K1 is connected to the access unit 211, and its common terminal is connected to the input terminal of the power supply circuit 1 via the fuse F1. The control terminal is used to control the opening and closing state of the contact terminal based on the on / off state of the second switch Q2 to control the on / off state of the secondary switch unit 213. Therefore, when the detection terminal P3 of the access unit 211 is connected to a lamp, the current of the auxiliary winding of the transformer can flow into the neutral line through the lamp, and the control terminal can receive the switching signal from the main control circuit 3 and control the on / off state of the second switch Q2 based on the switching signal, thereby controlling the opening and closing state of the contact terminal to adjust the on / off state of the secondary switch unit 213.
[0066] like Figure 5 As shown, the brightness detection subcircuit 22 includes a light sensor, a voltage-stabilizing diode TVS2, a capacitor C108, and a resistor R119; wherein, the positive electrode of the voltage-stabilizing diode TVS2 is grounded, the negative electrode of the voltage-stabilizing diode TVS2 is connected to the main control circuit 3 and is connected to the power supply circuit 1 through the resistor R119, the capacitor C108 is connected in parallel with the voltage-stabilizing diode TVS2, and the positive and negative electrodes of the voltage-stabilizing diode TVS2 are respectively connected to the sensing terminal P5 of the light sensor.
[0067] When working, the light sensor collects the brightness signal of the lamp in real time and sends the brightness signal to the main control circuit 3 through the sensing terminal P5, so that the main control circuit 3 can judge whether the lamp is lit according to the brightness signal. It is easy to operate and has high accuracy.
[0068] Preferably, the light sensor may be a photoelectric conversion device such as a photoresistor, a photodiode, a phototransistor, or a photosensitive chip.
[0069] 3. Main control circuit 3
[0070] like Figure 6 As shown, the main control circuit 3 includes a main control chip U1, and the main control chip U1 is provided with a brightness signal transmission port RES_AD, a status signal transmission port SW_IN, a switch signal transmission port CONTROL and a detection signal transmission port (bell, OUT_SW, SWDIO, LED A, LED B, LED C, LED D, LED E, LED F, LED G); wherein, the main control chip U1 is connected to the brightness detection sub-circuit 22 through the brightness signal transmission port RES_AD, is connected to the power supply circuit 1 through the status signal transmission port SW_IN, is connected to the access detection sub-circuit 21 through the switch signal CONTROL transmission port, and is connected to the output circuit 4 through the detection signal transmission port (bell, OUT_SW, SWDIO, LED A, LED B, LED C, LED D, LED E, LED F, LED G).
[0071] Furthermore, a timer is provided in the main control chip U1. The timer calculates the start time of the lamp according to the status signal and the brightness signal. The steps include:
[0072] (1) When the main control circuit 3 receives the status signal and executes the conduction control of the secondary switch unit 213 (i.e., the lamp is started), the timing operation is started;
[0073] (2) When the main control circuit 3 determines that the brightness signal changes from dark to bright, it stops the timing operation to obtain the start-up time of the lamp.
[0074] More preferably, the main control circuit is further configured to calculate the lamp shut-off time according to the power-off signal and the brightness signal, and the specific steps include:
[0075] (1) When the main control circuit generates a power-off signal and executes the circuit-breaking control of the secondary switch unit 213 (i.e., the lamp is turned off), the timing operation is started;
[0076] (2) When the main control circuit determines that the brightness signal changes from bright to dark, the timing operation is stopped to obtain the off time of the lamp.
[0077] Correspondingly, the main control circuit is also used to generate and output a brightness change curve after stopping the timing operation; it can also further determine whether the brightness change curve is consistent with a preset brightness change curve, and output the determination result.
[0078] It should be noted that the brightness change curve can be used to accurately select lamps with better consistency, and the user experience will be better when multiple lamps are controlled synchronously.
[0079] 4. Output circuit 4
[0080] The output circuit 4 includes a display subcircuit and / or an alarm subcircuit.
[0081] like Figure 7 As shown, the display subcircuit includes a two-digit digital tube for displaying the startup time; the display subcircuit can output the startup time according to the detection signal of the main control circuit 3, which is highly intuitive and convenient for users to view.
[0082] like Figure 8 As shown, the alarm subcircuit is used to output an alarm signal when the main control circuit 3 determines that the startup time is greater than the reference time, so that the operator can obtain the detection result in a timely manner. The alarm subcircuit includes a buzzer LS1, a fourth transistor Q4, a third diode D3, a seventh capacitor C7, a twenty-first resistor R21, a twenty-fourth resistor R24, and a twenty-sixth resistor R26. The base of the fourth transistor Q4 is connected to the main control circuit 3 through the twenty-fourth resistor R24 and to ground through the twenty-sixth resistor R26. The emitter is grounded, and the collector is connected to ground through the buzzer LS1 and the seventh capacitor C7 in sequence. The collector is also connected to the power supply circuit 1 in sequence through the buzzer LS1 and the twenty-first resistor R21 in sequence. The third diode D3 is connected in parallel with the buzzer LS1. Therefore, the on / off state of the fourth transistor Q4 can be controlled according to the detection signal from the main control circuit 3, thereby controlling the on / off state of the buzzer LS1.
[0083] Furthermore, the output circuit 4 also includes a setting subcircuit and / or an automation interface circuit.
[0084] like Figure 9 As shown, the setting sub-circuit includes a second resistor R2 and a key KEY1 connected in series, which are used to set the reference time; wherein one end of the key KEY1 is grounded, and the other end is connected to the main control circuit 3 and the power supply circuit 1 through the second resistor R2;
[0085] like Figure 10 As shown, the automation interface circuit is used to connect the lamp start-up time detection device to the automated production line; specifically, the automation interface circuit includes an interface terminal P4, a first voltage-stabilizing diode TVS1, a photoelectric coupler U2 and a first resistor R1, wherein the input end of the photoelectric coupler U2 is connected to the main control circuit 3 through the first resistor, and the output end is connected to the interface terminal P4 through the first voltage-stabilizing diode TVS1; therefore, the photoelectric coupler U2 can ensure that the automation interface circuit is in a high-resistance state when there is no abnormality in the lamp.
[0086] comprehensive Figure 2-Figure 3 、 Figures 5-10It can be obtained that: the AC mains passes through the primary rectifier and filter circuit composed of the rectifier bridge BD1, the first polarity capacitor CE1, the second polarity capacitor CE2, and the first inductor L1 to obtain a relatively pure DC voltage, which is then sent to the transformer T1 and the flyback power conversion circuit composed of the primary side control power switch chip U3, the first diode D1 and the third polarity capacitor CE3, to convert the AC voltage into a 5V DC voltage to power the equipment; when the power supply is working normally, the auxiliary winding output is rectified by the sixth diode D6 and filtered by the third capacitor C3 to obtain a DC voltage of about 12V, which is driven by the switch control of the PNP transistor Q5 to drive the photocoupler U5, and the photocoupler The coupler U5 transmits the status signal to the status signal transmission port SW_IN to enter the main control circuit 3; the switching state of the PNP transistor Q5 is determined by the base voltage of the PNP transistor Q5, and the base of the PNP transistor Q5 is connected to the on-off terminal of the relay K1 through the seventh diode D7 and the third resistor R3. When the detection terminal P3 of the access detection sub-circuit 21 is connected to the lamp, the on-off terminal L_SW1 has an electrical circuit when the relay K1 is not attracted, and the current can flow into the neutral line through the lamp; when the AC power is in the negative half cycle, the current flows from the emitter to the base of the PNP transistor Q5 through the seventh diode D7 and the third resistor R3 into the neutral line, making the P The NP transistor Q5 is turned on to drive the photocoupler U5, and the status signal transmission port SW_IN of the main control circuit 3 receives a low-level status signal, thereby judging that the lamp is connected; when the lamp is disconnected, the PNP transistor Q5 is turned off, and the main control circuit 3 receives a high-level status signal, thereby judging that no lamp is connected; if the main control circuit 3 detects a lamp for multiple AC power cycles, it is judged that a lamp is connected, and the switch signal transmission port CONTROL outputs a high level to drive the relay K1 to attract and start timing; the light sensor is installed in a position where the lamp can be illuminated, waiting for the lamp to light up. When the lamp lights up, the main control circuit 3 collects the brightness signal The light changes from dark to bright, the timing ends and a corresponding brightness change curve is generated; the main control circuit 3 outputs the recorded start-up time to the digital tube display and compares the start-up time with the reference time. If the start-up time is less than the reference time, it means the test has passed; if the start-up time is greater than the reference time, it means the test has failed. The main control circuit 3 drives the buzzer bell to emit a corresponding sound and the automation interface circuit outputs a short-circuit signal; the test is completed, the lamp is disconnected, and when the access detection sub-circuit 21 detects no lamp access for about 1 second, the digital tube displays "00", the buzzer bell stops, and the automation interface circuit returns to a high-impedance state, waiting for the next test.
[0087] Furthermore, after the startup time test is completed, the main control circuit 3 can also generate a power-off signal and execute the secondary switch unit 213 to disconnect the lamp. At this time, the main control circuit 3 begins timing. When the lamp turns off, the main control circuit 3 detects the change in brightness signal from bright to dim, the timing ends, and a corresponding brightness change curve is generated. At the same time, the main control circuit 3 outputs the recorded shutdown time to the digital tube display and compares the shutdown time with a reference time. If the shutdown time is less than the reference time, the test passes. If the shutdown time is greater than the reference time, the test fails. The main control circuit 3 drives the buzzer to sound accordingly, and the automation interface circuit outputs a short-circuit signal.
[0088] In summary, the present invention can be applied to lamp production lines, quality inspection departments, etc.; during lamp production, the present invention can quickly and automatically detect the time required for the lamp to be powered on to light up, and quickly screen out lamps with different start-up time / off time, thereby improving production efficiency and enhancing product quality; at the same time, the present invention can prevent misjudgment caused by poor contact and the like by continuously and periodically detecting the access status of the lamp, and has strong anti-interference ability; and the present invention can meet the testing needs of lamps with different power models, different power drive schemes, and different shapes, and has high versatility; furthermore, the present invention has high automation degree and high efficiency, and can be arranged at a re-lighting station and connected to an automated production line through an automated interface circuit. The test can be completed without the need for additional stations and personnel operation, and the time required to test the lamp is less than 3 seconds per lamp.
[0089] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A lamp starting time detection device, characterized in that: Including power supply circuit, detection circuit, main control circuit and output circuit; The power supply circuit is connected to the detection circuit, the main control circuit and the output circuit respectively, and is used to supply power to the detection circuit, the main control circuit and the output circuit; The detection circuit includes an access detection subcircuit and a brightness detection subcircuit respectively connected to the main control circuit, the access detection subcircuit is used to detect the access status of the lamp and send the generated status signal to the main control circuit, and the brightness detection subcircuit is used to detect the brightness signal of the lamp and send the brightness signal to the main control circuit; The main control circuit is connected to the output circuit, and is configured to generate and send an on / off signal to the access detection subcircuit based on the status signal to control the on / off state of the lamp, calculate the start-up time of the lamp based on the status signal and the brightness signal, and then generate and send a detection signal to the output circuit based on the start-up time. The step of calculating the start-up time of the lamp based on the status signal and the brightness signal includes: starting a timing operation when the main control circuit receives the status signal and performs lamp start-up control; and stopping the timing operation to obtain the start-up time of the lamp when the main control circuit determines that the brightness signal changes from dark to bright. The output circuit is used to output a detection result according to the detection signal.
2. The lamp starting time detection device according to claim 1, characterized in that: The power supply circuit includes a primary rectifier circuit, a transformer, a flyback power conversion circuit and a secondary rectifier circuit; The main winding of the transformer is connected to the power supply through the primary rectifier circuit, so that the power is output to the transformer for voltage reduction after being rectified and filtered by the primary rectifier circuit; The secondary winding of the transformer is connected to the detection circuit, the main control circuit and the output circuit respectively through the flyback power conversion circuit, so that the power output by the secondary winding is rectified and filtered by the flyback power conversion circuit and then output to the detection circuit, the main control circuit and the output circuit; The auxiliary winding of the transformer is connected to the access detection subcircuit through the secondary rectifier circuit. The power output by the auxiliary winding is rectified and filtered by the secondary rectifier circuit and then input to the access detection subcircuit.
3. The lamp starting time detection device according to claim 2, characterized in that: The access detection subcircuit includes an access unit, a main switch unit and a secondary switch unit; The access unit is used to access a lamp, wherein when a lamp is connected to the access unit, the access detection subcircuit forms an electrical loop with the power circuit through the lamp, and when no lamp is connected to the access unit, the access detection subcircuit is disconnected from the power circuit; The main switch unit generates a status signal according to the on / off status of the access detection sub-circuit and the power supply circuit, and sends the status signal to the main control circuit; The secondary switch unit is connected to the main control circuit and is used to perform on-off control according to the switch signal sent by the main control circuit. When the secondary switch unit is turned on, the lamp is turned on and starts to light up, and when the secondary switch unit is turned off, the lamp is disconnected and starts to go out.
4. The lamp starting time detection device according to claim 3, characterized in that: The main switch unit includes a first switch tube and a photoelectric coupler, the trigger end of the first switch tube is connected to the access unit, the first end of the first switch tube is connected to the power supply output by the secondary rectifier circuit or the ground, and the second end of the first switch tube is connected to the main control circuit through the photoelectric coupler.
5. The lamp starting time detection device according to claim 4, characterized in that: The first switching tube is a PNP transistor, the base of the PNP transistor is connected to the access unit, the emitter is connected to the power supply output by the secondary rectifier circuit, the collector is connected to the input end of the photoelectric coupler, and the output end of the photoelectric coupler is connected to the main control circuit; or, The first switching tube is an NPN transistor, the base of the NPN transistor is connected to the access unit, the emitter is grounded, the collector is connected to the power supply output by the secondary rectifier circuit through the input end of the photoelectric coupler, and the output end of the photoelectric coupler is connected to the main control circuit.
6. The lamp starting time detection device according to claim 3, characterized in that: The secondary switch unit includes a relay, a control end of the relay is connected to the main control circuit, a contact end is connected to the access unit, and a common end is connected to the power circuit, the control end is used to receive a switch signal from the main control circuit and control the open and close state of the contact end according to the switch signal to control the on and off state of the secondary switch unit; or, The secondary switch unit includes a relay and a second switch tube. The contact end of the relay is connected to the access unit, and the common end is connected to the power supply circuit. The trigger end of the second switch tube is used to receive the switching signal of the main control circuit and control its own on-off state according to the switching signal. The control end of the relay is used to control the opening and closing state of the contact end according to the on-off state of the second switch tube to control the on-off state of the secondary switch unit.
7. The lamp starting time detection device according to claim 1, characterized in that: The main control circuit is further configured to calculate the off time of the lamp according to the power-off signal and the brightness signal, and the specific steps include: When the main control circuit generates a power-off signal and performs lamp off control, a timing operation is started; When the main control circuit determines that the brightness signal changes from bright to dark, the timing operation is stopped to obtain the off time of the lamp.
8. The lamp starting time detection device according to claim 1 or 7, characterized in that: The main control circuit is further configured to generate and output a brightness change curve after the timing operation is stopped; or, The main control circuit is further configured to generate a brightness change curve after the timing operation is stopped, determine whether the brightness change curve is consistent with a preset brightness change curve, and output a determination result.
9. The lamp starting time detection device according to claim 1, wherein: The output circuit includes a display subcircuit and an alarm subcircuit. The display subcircuit is used to display the startup time. The alarm subcircuit is used to generate an alarm signal when the startup time is greater than a reference time.
10. The lamp starting time detection device according to claim 9, characterized in that: The output circuit further includes a setting subcircuit and an automation interface circuit. The setting subcircuit is used to set the reference time, and the automation interface circuit is used to connect the lamp start-up time detection device to an automated production line.
Citation Information
Patent Citations
Lamp starting time detection device
CN219285372U