CN113382499A - Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit - Google Patents

Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit Download PDF

Info

Publication number
CN113382499A
CN113382499A CN202110493948.5A CN202110493948A CN113382499A CN 113382499 A CN113382499 A CN 113382499A CN 202110493948 A CN202110493948 A CN 202110493948A CN 113382499 A CN113382499 A CN 113382499A
Authority
CN
China
Prior art keywords
light
circuit
light intensity
level
single chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110493948.5A
Other languages
Chinese (zh)
Inventor
俞贤晓
吴国明
曾垂通
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yingtan Yankon Lighting Co ltd
Zhejiang Sunlight Illuminating Lamp Co ltd
Zhejiang Yankon Group Co Ltd
Original Assignee
Yingtan Yankon Lighting Co ltd
Zhejiang Sunlight Illuminating Lamp Co ltd
Zhejiang Yankon Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yingtan Yankon Lighting Co ltd, Zhejiang Sunlight Illuminating Lamp Co ltd, Zhejiang Yankon Group Co Ltd filed Critical Yingtan Yankon Lighting Co ltd
Priority to CN202110493948.5A priority Critical patent/CN113382499A/en
Publication of CN113382499A publication Critical patent/CN113382499A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • H05B45/12Controlling the intensity of the light using optical feedback
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/34Voltage stabilisation; Maintaining constant voltage
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/345Current stabilisation; Maintaining constant current
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Led Devices (AREA)

Abstract

The invention discloses a light control circuit for a light-operated LED lamp and the light-operated LED lamp circuit, wherein the light control circuit periodically detects light intensity when outputting a light-out signal, if the detected light intensity is more than or equal to a second light intensity threshold value, a control end of the light control circuit outputs the light-out signal, if the detected light intensity is less than the second light intensity threshold value, a control end of the light control circuit outputs a light-on signal, after the signal output by the control end of the light control circuit is changed from the light-out signal to a light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity is minimum or not by judging whether the light intensity is stable or not, further measures the light intensity of the light stably-emitting light of the light-operated LED lamp, and outputs a corresponding light-on signal or light-off signal by calculating the difference value of the detected light intensity and the light intensity at each subsequent detection; the light-operated LED lamp has the advantages that the daylight intensity can be accurately judged, the sensitivity of the light-operated LED lamp which continuously emits light is higher when the light-operated LED lamp is changed from a light-on state to a light-off state, and the phenomenon of flashing can not occur.

Description

Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit
Technical Field
The present disclosure relates to light control circuits, and particularly to a light control circuit for a light-controlled LED lamp and a light-controlled LED lamp circuit.
Background
In a diurnal variation of the daylight intensity, the daylight intensity is increased from maximum to minimum and then from minimum to maximum. The light-operated LED lamp can automatically light up at night according to the change of the sunlight intensity, and can automatically turn off at night, so that the LED lamp is convenient and practical and has been widely applied. The light-operated LED lamp has two operating condition, lights the state promptly and puts out the light state, is provided with first light intensity threshold value and second light intensity threshold value in it, and first light intensity threshold value more than or equal to second light intensity threshold value, light-operated LED lamp are for putting out the light state daytime, are for the light state night. When the LED lamp is in a light-off state, the light-operated LED lamp does not light, whether the LED lamp enters the light-on state is determined by detecting light intensity and judging whether the detected light intensity is smaller than a second light intensity threshold value, when the LED lamp is in the light-on state, the light-operated LED lamp lights, and whether the detected light intensity is larger than a first light intensity threshold value or not is judged by detecting light intensity to determine whether the LED lamp enters the light-off state. The light control LED lamp is internally provided with a light control circuit with a light receiver, the light control circuit detects the light intensity (namely light intensity) and judges whether the detected light intensity is greater than a first light intensity threshold value or less than a second light intensity threshold value or not, and then the light control LED lamp is controlled to enter a corresponding state.
When the light-operated LED lamp is in the bright light state, the light that the light-operated LED lamp sent can inevitably be directly or indirectly shine to the light receiver on, so when the day light intensity begins to increase, before the light-operated LED lamp got into the state of putting out the light, the existing sunlight of light receiver received also had light, and light can cause harmful effects to the light intensity testing result this moment. Therefore, when the current light-operated LED lamp is designed, the interference of the lamp light on the detection result can be reduced as much as possible.
The existing light-operated LED lamps mainly have two types: when the first type of light-operated LED lamp is in a lighting state, the non-lighting time which can not be sensed by naked eyes can periodically appear, and in the non-lighting time, the light control circuit detects the light intensity, and the detected light intensity is the daylight intensity, so that the light interference can be avoided, and the light-operated LED lamp has the advantage of high control precision when lighting or lighting-off control is carried out, but because the light-operated LED lamp has the periodic non-lighting time in the lighting state, high stroboflash can be generated in the lighting state; the second type of light-controlled LED lamp keeps continuous light emission in the lighting state without stroboflash, detects the daylight intensity by utilizing the principle that the daylight spectrum is different from the light spectrum of the LED lamp, because the light spectrum of the LED lamp is mostly in the visible light spectrum, and the daylight spectrum contains the visible light spectrum and also has abundant near infrared light spectrum components, the light receiver is arranged on the light-controlled LED lamp to filter the visible light, the light emitted by the light-controlled LED lamp is reduced to irradiate the light receiver by a specially designed installation method, the influence of the light-controlled LED lamp on the detection result of the daylight intensity is reduced to the maximum extent, but the daylight intensity detected by the light-controlled LED lamp is still influenced by the light of the light-controlled LED lamp to a greater or lesser extent, the accurate daylight intensity of the light-controlled LED lamp can not be detected in the lighting state, and the sensitivity is lower when the light-controlled LED lamp is converted from the lighting state to the light-off state, and because the installation method is not satisfactory, the light emitted by the light receiver is reflected to influence the light intensity detection result, so that the flashing light can occur.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a light control circuit for a light-controlled LED lamp, which can accurately determine the daylight intensity when the light control circuit is used for a light-controlled LED lamp that continuously emits light in a lighting state, so that the light control LED lamp has high sensitivity when being switched from the lighting state to the lighting-off state, and a flashing phenomenon does not occur.
The technical scheme adopted by the invention for solving one of the technical problems is as follows: a light control circuit for a light-operated LED lamp is provided with an anode, a cathode and a control end, wherein the anode and the cathode are used for connecting working voltage, the control end is used for outputting a light-on signal or a light-off signal according to detected light intensity, the light-operated LED lamp is provided with a first light intensity threshold value and a second light intensity threshold value, the first light intensity threshold value is larger than or equal to the second light intensity threshold value, the light control circuit periodically and continuously detects the light intensity when outputting the light-off signal, if the detected light intensity is larger than or equal to the second light intensity threshold value, the control end outputs the light-off signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end outputs the light-on signal, and after the signal output by the control end of the light control circuit is changed from the light-off signal to the light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity is stable or not to reach the minimum, further measuring the light intensity of the light-controlled LED lamp which stably emits light, wherein the light control circuit periodically and continuously detects the light intensity when outputting a light-emitting signal, compares the current detected light intensity with the previous detected light intensity to determine whether the received light intensity is stable, if the light intensities detected for N times (the N is preset according to actual needs) are equal, the received light intensity is in a stable state and the sunlight intensity reaches the minimum, the light control circuit stores the last detected light intensity at the moment, uses the light intensity as the light intensity, calculates the difference value between the detected light intensity and the light intensity at each subsequent detection, compares the difference value with the first light intensity threshold value, and if the difference value is less than or equal to the first light intensity threshold value, the control end of the light control circuit outputs the light-emitting signal, if the difference is larger than the first light intensity threshold value, the control end of the light control circuit outputs a light-out signal.
The light control circuit for the light-operated LED lamp comprises a single chip circuit and a light detection circuit, wherein the light detection circuit is used for detecting light intensity and converting the light intensity into time to be output in a time form, the output time of the light detection circuit corresponds to the detected light intensity when the light intensity is detected, the light detection circuit is provided with an anode, a cathode, an output end, a first control end and a second control end, when the first control end of the light detection circuit is connected with a detection pulse level, the light detection circuit starts to detect the light intensity, the output signal of the output end of the light detection circuit is changed from a default normal level signal into an abnormal level signal, after the detection pulse level is finished, the output signal of the output end of the light detection circuit is changed into the normal level signal again, and the time for the output of the abnormal level signal of the light detection circuit after the detection pulse level is finished is used as delay time, the time delay corresponds to the light intensity detected by the light detection circuit, namely the detected light intensity is reflected by the time delay, the time delay is called as light intensity time, and the light detection circuit has two light intensity detection output modes: the optical detection circuit adopts the normal output mode or the bias output mode and is controlled by the level accessed by the second control end thereof, if the second control end thereof is accessed to the level 1, the optical detection circuit is in the normal output mode at the moment, if the second control end thereof is accessed to the level 0, the optical detection circuit is in the bias output mode at the moment, the singlechip circuit is provided with an anode, a cathode, an output end, an input end, a first detection control end and a second detection control end, the singlechip circuit is provided with a time threshold value corresponding to the second light intensity threshold value, the anode of the singlechip circuit is connected with the anode of the optical detection circuit, and the connecting end of the singlechip circuit is the anode of the optical control circuit, the negative pole of the single chip circuit is connected with the negative pole of the optical detection circuit, the connecting end of the single chip circuit is the negative pole of the optical control circuit, the first detection control end of the single chip circuit is connected with the first control end of the optical detection circuit, the second detection control end of the single chip circuit is connected with the second control end of the optical detection circuit, the input end of the single chip circuit is connected with the output end of the optical detection circuit, and the output end of the single chip circuit is the control end of the optical control circuit; when the light control circuit is connected with a working voltage, the output end of the singlechip circuit outputs a default light-out signal, the second detection control end of the singlechip circuit outputs a default level 1, the light detection circuit is in a conventional output mode, the singlechip circuit periodically and continuously detects the light intensity output by the light detection circuit, when the light intensity is detected in each period, the singlechip circuit firstly outputs a detection pulse level at the first detection control end, starts timing when the detection pulse level is finished, and stops timing when the level connected to the input end of the singlechip circuit is changed from an abnormal level signal to a normal level signal, the timing time is the light intensity time which corresponds to the light intensity actually detected by the light detection circuit, and then the singlechip circuit compares the light intensity time with a set time threshold value, comparing the actually detected light intensity with a second light intensity threshold, if the actually detected light intensity is greater than or equal to the second light intensity threshold, outputting a light-off signal by the output end of the single chip microcomputer circuit, if the actually detected light intensity is less than the second light intensity threshold, outputting a light-on signal by the output end of the single chip microcomputer circuit, after the single chip microcomputer circuit outputs the light-on signal, continuously and periodically checking the light intensity by the single chip microcomputer circuit to obtain light intensity time, comparing the currently detected light intensity time with the previously detected light intensity time, counting from 1 if the currently detected light intensity time is equal to the previously detected light intensity time, if the currently detected light intensity time is not equal to the previously detected light intensity time, resetting the counting, and when the continuously detected light intensity time for N times is equal to the previously detected light intensity time, counting and accumulating to N, namely the light intensity detected for N times is equal, storing the light intensity time detected for the Nth time, wherein the stored light intensity time corresponds to the light intensity, then outputting 0 level by the second detection control end of the single chip microcomputer circuit, wherein the light detection circuit is in a bias output mode, the light intensity time detected by the single chip microcomputer circuit deviates from the stored light intensity time, when the sunlight intensity gradually increases from the minimum value, the light intensity time detected by the single chip microcomputer circuit slowly approaches the stored light intensity time, when the light intensity time detected by the single chip microcomputer circuit is equal to the stored light intensity time, the sunlight intensity is the first light intensity threshold value because the light intensity actually detected by the light detection circuit is stronger than the light intensity of the lamp light and the difference value is the first light intensity threshold value, and if the single chip microcomputer circuit detects that the light intensity continuously increases, the output end of the singlechip circuit outputs a light-out signal, the second detection control end of the singlechip circuit outputs 1 level, the light detection circuit is in a normal output mode, otherwise, the output end of the singlechip circuit outputs a light-up signal, and the second detection control end of the singlechip circuit outputs 0 level.
The light detection circuit comprises a photosensitive tube, a first capacitor, a first resistor, a first diode and a second diode, wherein the photosensitive tube is an infrared phototriode for filtering sunlight, the first diode and the second diode are both rectifier diodes, the collector of the photosensitive tube is the anode of the light detection circuit, the emitter of the photosensitive tube, one end of the first capacitor, one end of the first resistor and the anode of the first diode are connected, and the connecting end of the first resistor and the anode of the first diode is the output end of the light detection circuit, the cathode of the first diode is the first control end of the light detection circuit, the other end of the first resistor is connected with the anode of the second diode, the cathode of the second diode is the second control end of the light detection circuit, and the other end of the first capacitor is the cathode of the light detection circuit; when the second control end of the optical detection circuit is at 0 level, the optical detection circuit is in the bias output mode, when the second detection end of the optical detection circuit is at 1 level, the optical detection circuit is in the normal output mode, the detection pulse level is 0 level pulse, when the first control end of the optical detection circuit is at 0 level, the first capacitor is discharged, before the 0 level pulse signal is finished, the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit, is reduced to be lowest and is close to 0 voltage, when the first control end of the optical detection circuit jumps from 0 level to 1 level, the conducting current of the photosensitive tube charges the first capacitor, and the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit gradually increases along with the increase of charging time, the speed of the voltage rise is related to the conduction current of the photosensitive tube, the time required by the voltage of the output end of the light detection circuit from the minimum value to the voltage value with the specified magnitude corresponds to the magnitude of the conduction current of the photosensitive tube, because the magnitude of the conduction current of the photosensitive tube corresponds to the light intensity detected by the light detection circuit, the light intensity detected by the photosensitive tube corresponds to the charging time of the first capacitor, the light intensity detected by the photosensitive tube is increased, the charging time of the first capacitor is reduced, when the second detection control end of the light detection circuit is 0 level, the first resistor is connected in parallel to both ends of the first capacitor for discharging, compared with the condition that no resistor is connected in parallel, the photosensitive tube needs to receive larger light intensity and has larger conduction current to enable the charging time of the first capacitor to be equal, the first light intensity threshold may be set by setting the resistance of the first resistor.
The single chip microcomputer circuit is a general single chip microcomputer, the input end of the single chip microcomputer circuit is a conventional digital input end, the output end of the single chip microcomputer circuit is a conventional digital output end, the anode of the general single chip microcomputer circuit is the anode of the single chip microcomputer circuit, the cathode of the general single chip microcomputer circuit is the cathode of the single chip microcomputer circuit, three pins in the general single chip microcomputer are defined as level output pins which are respectively the output end of the single chip microcomputer circuit, the first detection control end and the second detection control end, one pin in the general single chip microcomputer circuit is defined as a level input pin which is the input end of the single chip microcomputer circuit, when the voltage of the level input pin is more than or equal to 1/2 of the power voltage connected with the general single chip microcomputer circuit, the level input pin of the general single chip microcomputer is read into 1 level, when the voltage of the level input pin is less than 1/2 of, the level input pin of the general single chip microcomputer is read into 0 level, when the first detection control end of the single chip microcomputer circuit outputs detection pulse level, 0 level is output firstly, then 1 level is output after a specified time, when the first detection control end of the single chip microcomputer circuit outputs 0 level, the input end of the single chip microcomputer circuit is connected with 0 level, when the first detection control end of the single chip microcomputer circuit is changed to 1 level, the voltage of the input end of the single chip microcomputer circuit is increased from the lowest value, when the voltage is increased to 1/2 of the power supply voltage connected with the single chip microcomputer circuit, the input end of the single chip microcomputer circuit is connected with 1 level, the single chip microcomputer circuit is started to be changed to 1 level from the first detection control end of the single chip microcomputer circuit, and the time of the input end of the single chip microcomputer circuit connected with 1 level is the light intensity time.
Compared with the prior art, the light control circuit has the advantages that when the light-off signal is output by the light control circuit, the light intensity is periodically and continuously detected, if the detected light intensity is larger than or equal to the second light intensity threshold value, the control end outputs the light-off signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end outputs the light-on signal, when the signal output by the control end of the light control circuit is changed from the light-off signal to the light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity is minimum or not by judging whether the light intensity is stable or not so as to further measure the light intensity of the light stably emitted by the light control LED lamp, when the light control circuit outputs the light-on signal, the light intensity is periodically and continuously detected, the currently detected light intensity is compared with the previously detected light intensity so as to determine whether the received light intensity is stable or not, if the detected light intensity is equal for N times (the size of N is preset according to actual needs), indicating that the received light intensity is in a stable state at the moment, the sunlight intensity reaches the minimum, the light control circuit stores the last detected light intensity at the moment, the light intensity is taken as the light intensity, the difference value between the detected light intensity and the light intensity is calculated at each subsequent light intensity detection, the difference value is compared with a first light intensity threshold value, if the difference value is less than or equal to the first light intensity threshold value, the control end of the light control circuit outputs a light-on signal, and if the difference value is greater than the first light intensity threshold value, the control end of the light control circuit outputs a light-off signal, so that when the light control circuit is used for a light-controlled LED lamp which continuously emits light in a light-on state, the sunlight intensity can be accurately judged, and the sensitivity of the light-controlled LED lamp is higher when the light-on state is changed from the light-off state, the phenomenon of flashing light can not occur.
The second technical problem to be solved by the present invention is to provide a light-controlled LED lamp circuit, which can accurately determine the intensity of sunlight when the lighting state is continuous lighting, and has high sensitivity when changing from the lighting state to the lighting-off state, and no flashing phenomenon occurs.
The technical scheme adopted by the invention for solving the technical problems is as follows: a light-operated LED lamp circuit comprises a rectifying circuit, a voltage stabilizing circuit, a constant current driving circuit, an LED light-emitting circuit and a light control circuit, wherein the rectifying circuit is provided with a first input end, a second input end, a positive output end and a negative output end, the constant current driving circuit is provided with a positive electrode, a negative electrode, a positive output end, a negative output end and a control end, when the positive electrode and the negative electrode of the constant current driving circuit are connected with voltages, the control end is connected with different signals, the positive output end and the negative output end output currents with different sizes, the light-operated LED lamp circuit comprises no current output, a positive electrode and a negative electrode, the voltage stabilizing circuit comprises an input end, an output end and a negative electrode, the light control circuit is provided with a positive electrode, a negative electrode and a control end, the positive electrode and the negative electrode of the light-operated circuit are connected with working voltages, the control end is used for outputting a light-on signal or a light-off signal according to detected light intensity, and the positive output end of the rectifying circuit is respectively connected with the positive electrode, the constant current driving circuit, The input end of the voltage stabilizing circuit is connected, the output end of the voltage stabilizing circuit is connected with the positive electrode of the light control circuit, the control end of the constant current drive circuit is connected with the control end of the light control circuit, the positive output end of the constant current drive circuit is connected with the positive electrode of the LED light emitting circuit, the negative output end of the constant current drive circuit is connected with the negative electrode of the LED light emitting circuit, the negative electrode of the light control circuit, the negative electrode of the constant current drive circuit and the negative electrode of the stabilized voltage are connected with the negative output end of the rectifying circuit, the light control LED lamp circuit is provided with a first light intensity threshold value and a second light intensity threshold value, the first light intensity threshold value is more than or equal to the second light intensity threshold value, when the first input end and the second input end of the rectifying circuit are connected with mains supply voltage, the output end of the stabilized voltage outputs working voltage, the control end of the light control circuit outputs a light-out signal, 0 current is output between the positive output end and the negative output end of the constant current drive circuit, the LED light-emitting circuit does not emit light, the light control circuit periodically and continuously detects light intensity when outputting the light-out signal, if the detected light intensity is larger than or equal to a second light intensity threshold value, the control end outputs the light-out signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end outputs a light-on signal, when the signal output by the control end of the light control circuit is changed from the light-out signal to the light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity is minimum or not by judging whether the light intensity is stable, and then the light intensity of the light-stably emitted by the light control LED lamp is measured, when outputting the light-on signal, periodically and continuously detecting the intensity of light, comparing the current detected intensity with the previous detected intensity to determine whether the intensity of the received light is stable, if the detected intensities are equal to each other for N times (the magnitude of N is preset according to actual needs), indicating that the received intensity is in a stable state and the sunlight intensity reaches the minimum, storing the last detected intensity by the light control circuit at the moment, using the intensity as the light intensity, calculating the difference value between the detected intensity and the light intensity at each subsequent detection, comparing the difference value with the first intensity threshold, if the difference value is less than or equal to the first intensity threshold, outputting a light-on signal by the control end of the light control circuit, and if the difference value is greater than the first intensity threshold, outputting a light-off signal by the control end of the light control circuit, when the control end of the light control circuit outputs a light-off signal, no current is output between the positive output end and the negative output end of the constant current driving circuit, the LED light-emitting circuit does not emit light, and when the control end of the light control circuit outputs a light-on signal, the constant current driving circuit converts voltage connected between the positive electrode and the negative electrode of the constant current driving circuit into direct current to output corresponding direct current between the positive output end and the negative output end of the constant current driving circuit, so as to drive the LED light-emitting circuit to emit light.
The light control circuit comprises a single chip circuit and a light detection circuit, the light detection circuit is used for detecting light intensity and converting the light intensity into time to be output in a time form, when the light detection circuit detects the light intensity, the output time corresponds to the detected light intensity, the light detection circuit is provided with an anode, a cathode, an output end, a first control end and a second control end, when the first control end of the light detection circuit is connected with a detection pulse level, the light detection circuit starts to detect the light intensity, the output signal of the output end of the light detection circuit is changed from a default normal level signal to an abnormal level signal at the moment, after the detection pulse level is finished, the output signal of the output end of the light detection circuit is changed into the normal level signal again, and the time for outputting the abnormal level signal is kept as delay time after the detection pulse level is finished, the time delay corresponds to the light intensity detected by the light detection circuit, namely the detected light intensity is reflected by the time delay, the time delay is called as light intensity time, and the light detection circuit has two light intensity detection output modes: the optical detection circuit adopts the normal output mode or the bias output mode and is controlled by the level accessed by the second control end thereof, if the second control end thereof is accessed to the level 1, the optical detection circuit is in the normal output mode at the moment, if the second control end thereof is accessed to the level 0, the optical detection circuit is in the bias output mode at the moment, the singlechip circuit is provided with an anode, a cathode, an output end, an input end, a first detection control end and a second detection control end, the singlechip circuit is provided with a time threshold value corresponding to the second light intensity threshold value, the anode of the singlechip circuit is connected with the anode of the optical detection circuit, and the connecting end of the singlechip circuit is the anode of the optical control circuit, the negative pole of the single chip circuit is connected with the negative pole of the optical detection circuit, the connecting end of the single chip circuit is the negative pole of the optical control circuit, the first detection control end of the single chip circuit is connected with the first control end of the optical detection circuit, the second detection control end of the single chip circuit is connected with the second control end of the optical detection circuit, the input end of the single chip circuit is connected with the output end of the optical detection circuit, and the output end of the single chip circuit is the control end of the optical control circuit; when the light control circuit is connected with a working voltage, the output end of the singlechip circuit outputs a default light-out signal, the second detection control end of the singlechip circuit outputs a default level 1, the light detection circuit is in a conventional output mode, the singlechip circuit periodically and continuously detects the light intensity output by the light detection circuit, when the light intensity is detected in each period, the singlechip circuit firstly outputs a detection pulse level at the first detection control end, starts timing when the detection pulse level is finished, and stops timing when the level connected to the input end of the singlechip circuit is changed from an abnormal level signal to a normal level signal, the timing time is the light intensity time which corresponds to the light intensity actually detected by the light detection circuit, and then the singlechip circuit compares the light intensity time with a set time threshold value, comparing the actually detected light intensity with a second light intensity threshold, if the actually detected light intensity is greater than or equal to the second light intensity threshold, outputting a light-off signal by the output end of the single chip microcomputer circuit, if the actually detected light intensity is less than the second light intensity threshold, outputting a light-on signal by the output end of the single chip microcomputer circuit, after the single chip microcomputer circuit outputs the light-on signal, continuously and periodically checking the light intensity by the single chip microcomputer circuit to obtain light intensity time, comparing the currently detected light intensity time with the previously detected light intensity time, counting from 1 if the currently detected light intensity time is equal to the previously detected light intensity time, if the currently detected light intensity time is not equal to the previously detected light intensity time, resetting the counting, and when the continuously detected light intensity time for N times is equal to the previously detected light intensity time, counting and accumulating to N, namely the light intensity detected for N times is equal, storing the light intensity time detected for the Nth time, wherein the stored light intensity time corresponds to the light intensity, then outputting 0 level by the second detection control end of the single chip microcomputer circuit, wherein the light detection circuit is in a bias output mode, the light intensity time detected by the single chip microcomputer circuit deviates from the stored light intensity time, when the sunlight intensity gradually increases from the minimum value, the light intensity time detected by the single chip microcomputer circuit slowly approaches the stored light intensity time, when the light intensity time detected by the single chip microcomputer circuit is equal to the stored light intensity time, the sunlight intensity is the first light intensity threshold value because the light intensity actually detected by the light detection circuit is stronger than the light intensity of the lamp light and the difference value is the first light intensity threshold value, and if the single chip microcomputer circuit detects that the light intensity continuously increases, the output end of the singlechip circuit outputs a light-out signal, the second detection control end of the singlechip circuit outputs 1 level, the light detection circuit is in a normal output mode, otherwise, the output end of the singlechip circuit outputs a light-up signal, and the second detection control end of the singlechip circuit outputs 0 level.
The light detection circuit comprises a photosensitive tube, a first capacitor, a first resistor, a first diode and a second diode, wherein the photosensitive tube is an infrared phototriode for filtering sunlight, the first diode and the second diode are both rectifier diodes, the collector of the photosensitive tube is the anode of the light detection circuit, the emitter of the photosensitive tube, one end of the first capacitor, one end of the first resistor and the anode of the first diode are connected, and the connecting end of the first resistor and the anode of the first diode is the output end of the light detection circuit, the cathode of the first diode is the first control end of the light detection circuit, the other end of the first resistor is connected with the anode of the second diode, the cathode of the second diode is the second control end of the light detection circuit, and the other end of the first capacitor is the cathode of the light detection circuit; when the second control end of the optical detection circuit is at 0 level, the optical detection circuit is in the bias output mode, when the second detection end of the optical detection circuit is at 1 level, the optical detection circuit is in the normal output mode, the detection pulse level is 0 level pulse, when the first control end of the optical detection circuit is at 0 level, the first capacitor is discharged, before the 0 level pulse signal is finished, the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit, is reduced to be lowest and is close to 0 voltage, when the first control end of the optical detection circuit jumps from 0 level to 1 level, the conducting current of the photosensitive tube charges the first capacitor, and the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit gradually increases along with the increase of charging time, the speed of the voltage rise is related to the conduction current of the photosensitive tube, the time required by the voltage of the output end of the light detection circuit from the minimum value to the voltage value with the specified magnitude corresponds to the magnitude of the conduction current of the photosensitive tube, because the magnitude of the conduction current of the photosensitive tube corresponds to the light intensity detected by the light detection circuit, the light intensity detected by the photosensitive tube corresponds to the charging time of the first capacitor, the light intensity detected by the photosensitive tube is increased, the charging time of the first capacitor is reduced, when the second detection control end of the light detection circuit is 0 level, the first resistor is connected in parallel to both ends of the first capacitor for discharging, compared with the condition that no resistor is connected in parallel, the photosensitive tube needs to receive larger light intensity and has larger conduction current to enable the charging time of the first capacitor to be equal, the first light intensity threshold may be set by setting the resistance of the first resistor.
The single chip microcomputer circuit is a general single chip microcomputer, the input end of the single chip microcomputer circuit is a conventional digital input end, the output end of the single chip microcomputer circuit is a conventional digital output end, the anode of the general single chip microcomputer circuit is the anode of the single chip microcomputer circuit, the cathode of the general single chip microcomputer circuit is the cathode of the single chip microcomputer circuit, three pins in the general single chip microcomputer are defined as level output pins which are respectively the output end of the single chip microcomputer circuit, the first detection control end and the second detection control end, one pin in the general single chip microcomputer circuit is defined as a level input pin which is the input end of the single chip microcomputer circuit, when the voltage of the input pin is greater than or equal to 1/2 of the power voltage connected with the general single chip microcomputer circuit, the input end of the general single chip microcomputer circuit is read into 1 level, when the voltage of the input pin is less than 1/2 of the power voltage connected with the general single chip microcomputer circuit, the input end of the general single chip microcomputer is read into 0 level, when the first detection control end of the single chip circuit outputs a detection pulse level, firstly, 0 level is output, then, 1 level is output after a specified time, when the first detection control end of the single chip circuit outputs 0 level, the input end of the single chip circuit is connected with 0 level, when the first detection control end of the single chip circuit changes to 1 level, the voltage of the input end of the single chip circuit starts to rise from the lowest value, when the voltage rises to 1/2 of the connected power supply voltage, the input end of the single chip circuit is connected with 1 level, the single chip circuit starts to change to 1 level from the first detection control end of the single chip circuit, and the time period from the time when the input end of the single chip circuit is connected with 1 level is the light intensity time.
Compared with the prior art, the light-operated LED lamp circuit has the advantages that when the light-out signal is output through the light control circuit, the light intensity is periodically and continuously detected, if the detected light intensity is larger than or equal to the second light intensity threshold value, the control end outputs the light-out signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end outputs the light-on signal, when the signal output by the control end of the light control circuit is changed from the light-off signal to the light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity is minimum or not by judging whether the light intensity is stable or not, so that the light intensity of the light which is stably emitted by the light-operated LED lamp is measured, when the light-on signal is output, the light intensity is periodically and continuously detected, the currently detected light intensity is compared with the previously detected light intensity, so that whether the received light intensity is stable or not is determined, if the light intensity detected for N times (the size of N is preset according to actual needs) is equal, which indicates that the received light intensity is in a stable state and the sunlight intensity reaches the minimum, the light control circuit stores the last detected light intensity, and takes the light intensity as the light intensity, calculating the difference between the detected light intensity and the light intensity of the lamp light at each subsequent detection of the light intensity, and comparing the difference with a first light intensity threshold, if the difference is less than or equal to the first light intensity threshold value, the control end of the light control circuit outputs a light-up signal, if the difference is larger than the first light intensity threshold value, the control end of the light control circuit outputs a light-out signal, therefore, when the light-operated LED lamp circuit is in a continuous light-emitting state, the daylight intensity can be accurately judged, the sensitivity is high when the light-on state is changed into the light-off state, and the phenomenon of flashing does not occur.
Drawings
Fig. 1 is a block diagram of a light control circuit for a light-controlled LED lamp according to the present invention;
FIG. 2 is a circuit diagram of a light detection circuit of the light control circuit for a light-controlled LED lamp of the present invention;
fig. 3 is a block diagram of the light-controlled LED lamp circuit of the present invention.
Detailed Description
The invention discloses a light control circuit for a light-controlled LED lamp, which is described in further detail below with reference to the embodiment of the attached drawings.
Example (b): a light control circuit for a light-operated LED lamp is provided with an anode, a cathode and a control end, wherein the anode and the cathode are used for connecting working voltage, the control end is used for outputting a light-on signal or a light-off signal according to detected light intensity, the light-operated LED lamp is provided with a first light intensity threshold value and a second light intensity threshold value, the first light intensity threshold value is larger than or equal to the second light intensity threshold value, the light control circuit periodically and continuously detects the light intensity when outputting the light-off signal, if the detected light intensity is larger than or equal to the second light intensity threshold value, the control end outputs the light-off signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end outputs the light-on signal, and after the signal output by the control end of the light control circuit is changed from the light-off signal to the light-on signal, the light intensity is gradually reduced, the light control circuit judges whether the light intensity is stable to achieve the minimum, further measuring the light intensity of the light stably emitted by the light-controlled LED lamp, periodically and continuously detecting the light intensity by the light control circuit when outputting a light-on signal, comparing the current detected light intensity with the previous detected light intensity to determine whether the received light intensity is stable, if the light intensities detected for N times (the size of N is preset according to actual needs) are equal, indicating that the received light intensity is in a stable state at the moment, the sunlight intensity reaches the minimum, storing the last detected light intensity by the light control circuit at the moment, taking the light intensity as the light intensity, calculating the difference value between the detected light intensity and the light intensity at each subsequent detection, comparing the difference value with a first light intensity threshold, if the difference value is less than or equal to the first light intensity threshold, outputting the light-on signal by the control end of the light control circuit, if the difference value is greater than the first light intensity threshold, the control terminal of the light control circuit outputs a light-off signal.
As shown in fig. 1, in this embodiment, the optical control circuit includes a single chip circuit and a light detection circuit, the light detection circuit is used for detecting light intensity and converting the light intensity into time to be output, when the light detection circuit detects light intensity, the output time corresponds to the detected light intensity, the light detection circuit has an anode, a cathode, an output end, a first control end and a second control end, when the first control end of the light detection circuit is connected to a detection pulse level, the light detection circuit starts to detect light intensity, the output signal at the output end of the light detection circuit changes from a default normal level signal to an abnormal level signal, when the detection pulse level is over, the output signal at the output end of the light detection circuit changes to the normal level signal again, and the time when the output end of the light detection circuit outputs the abnormal level signal after the detection pulse level is over is used as a delay time, the time delay corresponds to the light intensity detected by the light detection circuit, namely the detected light intensity is reflected by the time delay, the time delay is called as light intensity time, and the light detection circuit has two light intensity detection output modes: the optical detection circuit adopts the normal output mode or the bias output mode and is controlled by the level accessed by the second control end thereof when the optical detection circuit outputs the light intensity time with the same size, if the second control end thereof is accessed to the level 1, the optical detection circuit is in the normal output mode at the moment, if the second control end thereof is accessed to the level 0, the optical detection circuit is in the bias output mode at the moment, the singlechip circuit is provided with a positive pole, a negative pole, an output end, an input end, a first detection control end and a second detection control end, the singlechip circuit is provided with a time threshold corresponding to the second light intensity threshold, the positive pole of the singlechip circuit is connected with the positive pole of the optical detection circuit, and the connecting end thereof is the positive pole of the optical control circuit, the negative pole of the single chip circuit is connected with the negative pole of the optical detection circuit, the connecting end of the single chip circuit is the negative pole of the optical control circuit, the first detection control end of the single chip circuit is connected with the first control end of the optical detection circuit, the second detection control end of the single chip circuit is connected with the second control end of the optical detection circuit, the input end of the single chip circuit is connected with the output end of the optical detection circuit, and the output end of the single chip circuit is the control end of the optical control circuit; when the light control circuit is connected with the working voltage, the output end of the singlechip circuit outputs a default light-out signal, the second detection control end of the singlechip circuit outputs a default level 1, the light detection circuit is in a conventional output mode, the singlechip circuit periodically and continuously detects the light intensity output by the light detection circuit, when the light intensity is detected in each period, the singlechip circuit firstly outputs a detection pulse level at the first detection control end, the timing is started when the detection pulse level is finished, the timing is stopped until the level connected at the input end of the singlechip circuit is changed from an abnormal level signal to a normal level signal, the timing time is the light intensity time corresponding to the light intensity actually detected by the light detection circuit, then the singlechip circuit compares the light intensity time with the set time threshold, namely compares the actually detected light intensity with the second light intensity threshold, if the actually detected light intensity is larger than or equal to the second light intensity threshold value, the output end of the single chip microcomputer circuit outputs a light-out signal, if the actually detected light intensity is smaller than the second light intensity threshold value, the output end of the single chip microcomputer circuit outputs a light-in signal, after the single chip microcomputer circuit outputs the light-in signal, the single chip microcomputer circuit continues to periodically check the light intensity to obtain light intensity time, the current detected light intensity time is compared with the last detected light intensity time, if the current detected light intensity time is equal to the last detected light intensity time, counting is started from 1, if the current detected light intensity time is not equal to the last detected light intensity time, the counting is cleared, and when the light intensity time detected for N times is equal to the last detected light intensity time, the counting is accumulated to N, namely the light intensities detected for N times are equal, when the light intensity time detected by the singlechip circuit is equal to the stored light intensity time, because the actually detected light intensity of the light detection circuit is stronger than the light intensity of the lamp light and the difference value is the first light intensity threshold value, the sunlight light intensity at the moment is the first light intensity threshold value, and then if the singlechip circuit detects that the light intensity continues to increase, the output end of the singlechip circuit outputs a light-out signal, and meanwhile, the second detection control end of the singlechip circuit outputs 1 level, the light detection circuit is in a conventional output mode, otherwise, the output end of the single chip circuit outputs a light-up signal, and the second detection control end outputs 0 level.
As shown in fig. 2, in this embodiment, the light detection circuit includes a photodiode Q1, a first capacitor C1, a first resistor, a first diode D1, and a second diode D2, wherein the photodiode Q1 is an infrared phototransistor for filtering sunlight, the first diode D1 and the second diode D2 are rectifier diodes, the collector of the photodiode Q1 is the anode of the light detection circuit, the emitter of the photodiode Q1, one end of the first capacitor C1, one end of the first resistor, and the anode of the first diode D1 are connected, and the connection end is the output end of the light detection circuit, the cathode of the first diode D1 is the first control end of the light detection circuit, the other end of the first resistor is connected to the anode of the second diode D2, the cathode of the second diode D2 is the second control end of the light detection circuit, and the other end of the first capacitor C1 is the cathode of the light detection circuit; when the second control end of the light detection circuit is at 0 level, the light detection circuit is in a bias output mode, when the second detection end of the light detection circuit is at 1 level, the light detection circuit is in a normal output mode, the detection pulse level is 0 level pulse, when the first control end of the light detection circuit is at 0 level, the first capacitor C1 discharges, before the 0 level pulse signal ends, the voltage at two ends of the first capacitor C1, namely the voltage at the output end of the light detection circuit, drops to the lowest and is close to 0 voltage, when the first control end of the light detection circuit jumps from 0 level to 1 level, the conducting current of the photosensitive tube Q1 charges the first capacitor C1, the voltage at two ends of the first capacitor C1, namely the voltage at the output end of the light detection circuit gradually rises along with the increase of the charging time, the rising speed of the voltage is related to the conducting current of the photosensitive tube Q1, the time required by the voltage at the output end of the light detection circuit from the minimum value to the voltage value with the specified size and the conducting current of the photosensitive tube Q1 The magnitude of the current corresponds, because the magnitude of the on-state current of the photosensitive tube Q1 corresponds to the light intensity detected by the light detection circuit, therefore, the light intensity detected by the photosensitive tube Q1 corresponds to the charging time of the first capacitor C1, the light intensity detected by the photosensitive tube Q1 increases, then the charging time of the first capacitor C1 decreases, when the second detection control end of the light detection circuit is 0 level, the first resistor is connected in parallel to discharge at two ends of the first capacitor C1, compared with the case that no resistor is connected in parallel, the photosensitive tube Q1 needs to accept larger light intensity, and has larger on-state current, so that the charging time of the first capacitor C1 can be equal, and the first light intensity threshold value can be set by setting the resistance value of the first resistor.
In this embodiment, the single chip microcomputer circuit is a general single chip microcomputer, an input terminal of the single chip microcomputer circuit is a conventional digital input terminal, an output terminal of the single chip microcomputer circuit is a conventional digital output terminal, an anode of the general single chip microcomputer circuit is an anode of the single chip microcomputer circuit, a cathode of the general single chip microcomputer circuit is a cathode of the single chip microcomputer circuit, three pins in the general single chip microcomputer circuit are defined as level output pins which are respectively an output terminal of the single chip microcomputer circuit, a first detection control terminal and a second detection control terminal, one pin of the general single chip microcomputer circuit is defined as a level input pin which is an input terminal of the single chip microcomputer circuit, when a voltage of the level input pin is greater than or equal to 1/2 of a power voltage connected to the general single chip microcomputer circuit, the level input pin of the general single chip microcomputer circuit is read as a level 1, and when the voltage of the level input pin is less than 1/2 of the power voltage connected to the general single chip microcomputer circuit, the level input pin of the general single chip microcomputer circuit is read as a level 0, when the first detection control end of the single chip circuit outputs the detection pulse level, firstly, 0 level is output, then, 1 level is output after a specified time, when the output of the first detection control end of the single chip circuit is 0 level, the input end of the single chip circuit is connected with 0 level, when the first detection control end of the single chip circuit is changed to 1 level, the voltage of the input end of the single chip circuit is increased from the lowest value, when the voltage is increased to 1/2 of the connected power supply voltage, the input end of the single chip circuit is connected with 1 level, when the first detection control end of the single chip circuit is changed to 1 level, the time period from the time when the input end of the single chip circuit is connected with 1 level is the light intensity time.
The invention also discloses a light-operated LED lamp circuit adopting the light-operated circuit, which is further described in detail by combining the embodiment of the attached drawings.
Example (b): as shown in FIG. 3, a light-controlled LED lamp circuit comprises a rectifying circuit, a voltage stabilizing circuit, a constant current driving circuit, an LED light-emitting circuit and a light control circuit, wherein the rectifying circuit has a first input end, a second input end, a positive output end and a negative output end, the constant current driving circuit has a positive electrode, a negative electrode, a positive output end, a negative output end and a control end, when the positive electrode and the negative electrode of the constant current driving circuit are connected with voltages, the control end is connected with different signals, the positive output end and the negative output end of the constant current driving circuit output currents with different magnitudes, the constant current driving circuit comprises no current output, the LED light-emitting circuit has a positive electrode and a negative electrode, the voltage stabilizing circuit comprises an input end, an output end and a negative electrode, the light control circuit has a positive electrode, a negative electrode and a control end, the positive electrode and the negative electrode of the light-emitting circuit are connected with a working voltage, the control end is used for outputting a light-on signal or a light-off signal according to detected light intensity, and the positive output end of the rectifying circuit is respectively connected with the positive electrode of the constant current driving circuit, The input end of the voltage stabilizing circuit is connected, the output end of the voltage stabilizing circuit is connected with the positive electrode of the light control circuit, the control end of the constant current drive circuit is connected with the control end of the light control circuit, the positive output end of the constant current drive circuit is connected with the positive electrode of the LED light emitting circuit, the negative output end of the constant current drive circuit is connected with the negative electrode of the LED light emitting circuit, the negative electrode of the light control circuit, the negative electrode of the constant current drive circuit, the negative electrode of the voltage stabilizing voltage and the negative electrode of the rectifying circuit are connected, the light control LED lamp circuit has a first light intensity threshold and a second light intensity threshold, the first light intensity threshold is larger than or equal to the second light intensity threshold, when the first input end and the second input end of the rectifying circuit are connected with mains supply voltage, the output end of the voltage stabilizing voltage outputs working voltage, the control end of the light extinguishing signal, and 0 current is output between the positive output end and the negative output end of the constant current drive circuit, the LED light-emitting circuit does not emit light, the light control circuit periodically and continuously detects the light intensity when outputting a light-off signal, if the detected light intensity is larger than or equal to a second light intensity threshold value, the control end of the light control circuit outputs a light-off signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end of the light control circuit outputs a light-on signal, after the signal output by the control end of the light control circuit is changed from the light-off signal to the light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity reaches the minimum value by judging whether the light intensity is stable, and further measures the light intensity of the light-controlled LED lamp which stably emits light, the light control circuit periodically and continuously detects the light intensity when outputting the light-on signal, compares the currently detected light intensity with the light intensity detected last time to determine whether the received light intensity is stable, if the light intensities detected for N times (the size of N is preset according to actual needs) are equal, the received light intensity is in a stable state, the sunlight intensity reaches the minimum, the light control circuit stores the last detected light intensity at the moment, the light intensity is used as the light intensity, the difference value between the detected light intensity and the light intensity is calculated every subsequent light intensity detection, the difference value is compared with a first light intensity threshold value, if the difference value is smaller than or equal to the first light intensity threshold value, a light-on signal is output by the control end of the light control circuit, if the difference value is larger than the first light intensity threshold value, a light-off signal is output by the control end of the light control circuit, when the light-off signal is output by the control end of the light control circuit, no current is output between the positive output end and the negative output end of the constant current driving circuit, the LED light-emitting circuit does not emit light, when the light-on signal is output by the control end of the light control circuit, the constant current driving circuit converts the voltage connected between the positive pole and the negative pole of the constant current driving circuit into a direct current, and outputs a corresponding direct current between the positive output end and the negative output end of the constant current, and driving the LED light-emitting circuit to emit light.
As shown in fig. 1, in this embodiment, the optical control circuit includes a single chip circuit and a light detection circuit, the light detection circuit is used for detecting light intensity and converting the light intensity into time to be output, when the light detection circuit detects light intensity, the output time corresponds to the detected light intensity, the light detection circuit has an anode, a cathode, an output end, a first control end and a second control end, when the first control end of the light detection circuit is connected to a detection pulse level, the light detection circuit starts to detect light intensity, the output signal at the output end of the light detection circuit changes from a default normal level signal to an abnormal level signal, when the detection pulse level is over, the output signal at the output end of the light detection circuit changes to the normal level signal again, and the time when the output end of the light detection circuit outputs the abnormal level signal after the detection pulse level is over is used as a delay time, the time delay corresponds to the light intensity detected by the light detection circuit, namely the detected light intensity is reflected by the time delay, the time delay is called as light intensity time, and the light detection circuit has two light intensity detection output modes: the optical detection circuit adopts the normal output mode or the bias output mode and is controlled by the level accessed by the second control end thereof when the optical detection circuit outputs the light intensity time with the same size, if the second control end thereof is accessed to the level 1, the optical detection circuit is in the normal output mode at the moment, if the second control end thereof is accessed to the level 0, the optical detection circuit is in the bias output mode at the moment, the singlechip circuit is provided with a positive pole, a negative pole, an output end, an input end, a first detection control end and a second detection control end, the singlechip circuit is provided with a time threshold corresponding to the second light intensity threshold, the positive pole of the singlechip circuit is connected with the positive pole of the optical detection circuit, and the connecting end thereof is the positive pole of the optical control circuit, the negative pole of the single chip circuit is connected with the negative pole of the optical detection circuit, the connecting end of the single chip circuit is the negative pole of the optical control circuit, the first detection control end of the single chip circuit is connected with the first control end of the optical detection circuit, the second detection control end of the single chip circuit is connected with the second control end of the optical detection circuit, the input end of the single chip circuit is connected with the output end of the optical detection circuit, and the output end of the single chip circuit is the control end of the optical control circuit; when the light control circuit is connected with the working voltage, the output end of the singlechip circuit outputs a default light-out signal, the second detection control end of the singlechip circuit outputs a default level 1, the light detection circuit is in a conventional output mode, the singlechip circuit periodically and continuously detects the light intensity output by the light detection circuit, when the light intensity is detected in each period, the singlechip circuit firstly outputs a detection pulse level at the first detection control end, the timing is started when the detection pulse level is finished, the timing is stopped until the level connected at the input end of the singlechip circuit is changed from an abnormal level signal to a normal level signal, the timing time is the light intensity time corresponding to the light intensity actually detected by the light detection circuit, then the singlechip circuit compares the light intensity time with the set time threshold, namely compares the actually detected light intensity with the second light intensity threshold, if the actually detected light intensity is larger than or equal to the second light intensity threshold value, the output end of the single chip microcomputer circuit outputs a light-out signal, if the actually detected light intensity is smaller than the second light intensity threshold value, the output end of the single chip microcomputer circuit outputs a light-in signal, after the single chip microcomputer circuit outputs the light-in signal, the single chip microcomputer circuit continues to periodically check the light intensity to obtain light intensity time, the current detected light intensity time is compared with the last detected light intensity time, if the current detected light intensity time is equal to the last detected light intensity time, counting is started from 1, if the current detected light intensity time is not equal to the last detected light intensity time, the counting is cleared, and when the light intensity time detected for N times is equal to the last detected light intensity time, the counting is accumulated to N, namely the light intensities detected for N times are equal, when the light intensity time detected by the singlechip circuit is equal to the stored light intensity time, because the actually detected light intensity of the light detection circuit is stronger than the light intensity of the lamp light and the difference value is the first light intensity threshold value, the sunlight light intensity at the moment is the first light intensity threshold value, and then if the singlechip circuit detects that the light intensity continues to increase, the output end of the singlechip circuit outputs a light-out signal, and meanwhile, the second detection control end of the singlechip circuit outputs 1 level, the light detection circuit is in a conventional output mode, otherwise, the output end of the single chip circuit outputs a light-up signal, and the second detection control end outputs 0 level.
As shown in fig. 2, in this embodiment, the light detection circuit includes a photodiode Q1, a first capacitor C1, a first resistor, a first diode D1, and a second diode D2, wherein the photodiode Q1 is an infrared phototransistor for filtering sunlight, the first diode D1 and the second diode D2 are rectifier diodes, the collector of the photodiode Q1 is the anode of the light detection circuit, the emitter of the photodiode Q1, one end of the first capacitor C1, one end of the first resistor, and the anode of the first diode D1 are connected, and the connection end is the output end of the light detection circuit, the cathode of the first diode D1 is the first control end of the light detection circuit, the other end of the first resistor is connected to the anode of the second diode D2, the cathode of the second diode D2 is the second control end of the light detection circuit, and the other end of the first capacitor C1 is the cathode of the light detection circuit; when the second control end of the light detection circuit is at 0 level, the light detection circuit is in a bias output mode, when the second detection end of the light detection circuit is at 1 level, the light detection circuit is in a normal output mode, the detection pulse level is 0 level pulse, when the first control end of the light detection circuit is at 0 level, the first capacitor C1 discharges, before the 0 level pulse signal ends, the voltage at two ends of the first capacitor C1, namely the voltage at the output end of the light detection circuit, drops to the lowest and is close to 0 voltage, when the first control end of the light detection circuit jumps from 0 level to 1 level, the conducting current of the photosensitive tube Q1 charges the first capacitor C1, the voltage at two ends of the first capacitor C1, namely the voltage at the output end of the light detection circuit gradually rises along with the increase of the charging time, the rising speed of the voltage is related to the conducting current of the photosensitive tube Q1, the time required by the voltage at the output end of the light detection circuit from the minimum value to the voltage value with the specified size and the conducting current of the photosensitive tube Q1 The magnitude of the current corresponds, because the magnitude of the on-state current of the photosensitive tube Q1 corresponds to the light intensity detected by the light detection circuit, therefore, the light intensity detected by the photosensitive tube Q1 corresponds to the charging time of the first capacitor C1, the light intensity detected by the photosensitive tube Q1 increases, then the charging time of the first capacitor C1 decreases, when the second detection control end of the light detection circuit is 0 level, the first resistor is connected in parallel to discharge at two ends of the first capacitor C1, compared with the case that no resistor is connected in parallel, the photosensitive tube Q1 needs to accept larger light intensity, and has larger on-state current, so that the charging time of the first capacitor C1 can be equal, and the first light intensity threshold value can be set by setting the resistance value of the first resistor.
In this embodiment, the single chip microcomputer circuit is a general single chip microcomputer, an input terminal of the single chip microcomputer circuit is a conventional digital input terminal, an output terminal of the single chip microcomputer circuit is a conventional digital output terminal, an anode of the general single chip microcomputer circuit is an anode of the single chip microcomputer circuit, a cathode of the general single chip microcomputer circuit is a cathode of the single chip microcomputer circuit, three pins in the general single chip microcomputer circuit are defined as level output pins which are respectively an output terminal of the single chip microcomputer circuit, a first detection control terminal and a second detection control terminal, one pin of the general single chip microcomputer circuit is defined as a level input pin which is an input terminal of the single chip microcomputer circuit, when a voltage of the input pin is greater than or equal to 1/2 of a power voltage accessed by the general single chip microcomputer circuit, the input terminal of the general single chip microcomputer circuit is read into a level of 1, when the voltage of the input pin is less than 1/2 of the power voltage accessed by the general single chip microcomputer circuit, the first detection control terminal of the single chip microcomputer circuit outputs a detection pulse voltage, the level 0 is output firstly, then the level 1 is output after the specified time, when the output of the first detection control end of the single chip circuit is the level 0, the input end of the single chip circuit is connected with the level 0, when the first detection control end of the single chip circuit is changed to the level 1, the voltage of the input end of the single chip circuit is increased from the lowest value, when the voltage is increased to 1/2 of the power voltage connected with the single chip circuit, the input end of the single chip circuit is connected with the level 1, the single chip circuit is changed to the level 1 from the first detection control end of the single chip circuit, and the time from the time when the input end of the single chip circuit is connected with the level 1 is the light intensity time.

Claims (8)

1. A light control circuit for a light-operated LED lamp is provided with an anode, a cathode and a control end, wherein the anode and the cathode are used for connecting working voltage, the control end is used for outputting a light-on signal or a light-off signal according to detected light intensity, the light-operated LED lamp is provided with a first light intensity threshold value and a second light intensity threshold value, the first light intensity threshold value is larger than or equal to the second light intensity threshold value, the light control circuit is characterized in that the light intensity is periodically and continuously detected when the light-off signal is output by the light control circuit, if the detected light intensity is larger than or equal to the second light intensity threshold value, the light-off signal is output by the control end, if the detected light intensity is smaller than the second light intensity threshold value, the light control circuit outputs the light-on signal, and after the light-off signal is changed into the light-on signal by the control end of the light control circuit, the light control circuit judges whether the light intensity is stable or not to achieve the minimum, further measuring the light intensity of the light-controlled LED lamp which stably emits light, wherein the light control circuit periodically and continuously detects the light intensity when outputting a light-emitting signal, compares the current detected light intensity with the previous detected light intensity to determine whether the received light intensity is stable, if the light intensities detected for N times (the N is preset according to actual needs) are equal, the received light intensity is in a stable state and the sunlight intensity reaches the minimum, the light control circuit stores the last detected light intensity at the moment, uses the light intensity as the light intensity, calculates the difference value between the detected light intensity and the light intensity at each subsequent detection, compares the difference value with the first light intensity threshold value, and if the difference value is less than or equal to the first light intensity threshold value, the control end of the light control circuit outputs the light-emitting signal, if the difference is larger than the first light intensity threshold value, the control end of the light control circuit outputs a light-out signal.
2. An optical control circuit for an optically controlled LED lamp as claimed in claim 1, comprising a single chip circuit and an optical detection circuit, wherein the optical detection circuit is used for detecting light intensity and converting the light intensity into time to be outputted, the time of the light detection circuit is corresponding to the detected light intensity when detecting the light intensity, the optical detection circuit has a positive electrode, a negative electrode, an output terminal, a first control terminal and a second control terminal, when the first control terminal of the optical detection circuit is connected to a detection pulse level, the optical detection circuit starts to detect the light intensity, the output signal at the output terminal of the optical detection circuit is changed from a default normal level signal to an abnormal level signal, and when the detection pulse level is over, the output signal at the output terminal is changed to a normal level signal again, the time of outputting the abnormal level signal by the output end of the optical detection circuit after the detection pulse level is finished is kept as the delay time, the size of the delay time corresponds to the size of the light intensity detected by the optical detection circuit, namely the detected light intensity is reflected by the delay time, the delay time is called as the light intensity time, and the optical detection circuit has two light intensity detection output modes: the optical detection circuit adopts the normal output mode or the bias output mode and is controlled by the level accessed by the second control end thereof, if the second control end thereof is accessed to the level 1, the optical detection circuit is in the normal output mode at the moment, if the second control end thereof is accessed to the level 0, the optical detection circuit is in the bias output mode at the moment, the singlechip circuit is provided with an anode, a cathode, an output end, an input end, a first detection control end and a second detection control end, the singlechip circuit is provided with a time threshold value corresponding to the second light intensity threshold value, the anode of the singlechip circuit is connected with the anode of the optical detection circuit, and the connecting end of the singlechip circuit is the anode of the optical control circuit, the negative pole of the single chip circuit is connected with the negative pole of the optical detection circuit, the connecting end of the single chip circuit is the negative pole of the optical control circuit, the first detection control end of the single chip circuit is connected with the first control end of the optical detection circuit, the second detection control end of the single chip circuit is connected with the second control end of the optical detection circuit, the input end of the single chip circuit is connected with the output end of the optical detection circuit, and the output end of the single chip circuit is the control end of the optical control circuit;
when the light control circuit is connected with a working voltage, the output end of the singlechip circuit outputs a default light-out signal, the second detection control end of the singlechip circuit outputs a default level 1, the light detection circuit is in a conventional output mode, the singlechip circuit periodically and continuously detects the light intensity output by the light detection circuit, when the light intensity is detected in each period, the singlechip circuit firstly outputs a detection pulse level at the first detection control end, starts timing when the detection pulse level is finished, and stops timing when the level connected to the input end of the singlechip circuit is changed from an abnormal level signal to a normal level signal, the timing time is the light intensity time which corresponds to the light intensity actually detected by the light detection circuit, and then the singlechip circuit compares the light intensity time with a set time threshold value, comparing the actually detected light intensity with a second light intensity threshold, if the actually detected light intensity is greater than or equal to the second light intensity threshold, outputting a light-off signal by the output end of the single chip microcomputer circuit, if the actually detected light intensity is less than the second light intensity threshold, outputting a light-on signal by the output end of the single chip microcomputer circuit, after the single chip microcomputer circuit outputs the light-on signal, continuously and periodically checking the light intensity by the single chip microcomputer circuit to obtain light intensity time, comparing the currently detected light intensity time with the previously detected light intensity time, counting from 1 if the currently detected light intensity time is equal to the previously detected light intensity time, if the currently detected light intensity time is not equal to the previously detected light intensity time, resetting the counting, and when the continuously detected light intensity time for N times is equal to the previously detected light intensity time, counting and accumulating to N, namely the light intensity detected for N times is equal, storing the light intensity time detected for the Nth time, wherein the stored light intensity time corresponds to the light intensity, then outputting 0 level by the second detection control end of the single chip microcomputer circuit, wherein the light detection circuit is in a bias output mode, the light intensity time detected by the single chip microcomputer circuit deviates from the stored light intensity time, when the sunlight intensity gradually increases from the minimum value, the light intensity time detected by the single chip microcomputer circuit slowly approaches the stored light intensity time, when the light intensity time detected by the single chip microcomputer circuit is equal to the stored light intensity time, the sunlight intensity is the first light intensity threshold value because the light intensity actually detected by the light detection circuit is stronger than the light intensity of the lamp light and the difference value is the first light intensity threshold value, and if the single chip microcomputer circuit detects that the light intensity continuously increases, the output end of the singlechip circuit outputs a light-out signal, the second detection control end of the singlechip circuit outputs 1 level, the light detection circuit is in a normal output mode, otherwise, the output end of the singlechip circuit outputs a light-up signal, and the second detection control end of the singlechip circuit outputs 0 level.
3. A light control circuit for a light-operated LED lamp as claimed in claim 2, wherein the light detection circuit comprises a photodiode, a first capacitor, a first resistor, a first diode and a second diode, wherein the photodiode is an infrared phototransistor for filtering sunlight, the first diode and the second diode are both rectifier diodes, the collector of the photodiode is the anode of the light detection circuit, the emitter of the photodiode, one end of the first capacitor, one end of the first resistor and the anode of the first diode are connected, and the connection end of the first diode is the output end of the light detection circuit, the cathode of the first diode is the first control end of the light detection circuit, the other end of the first resistor and the anode of the second diode are connected, the cathode of the second diode is the second control end of the light detection circuit, and the other end of the first capacitor is the cathode of the light detection circuit; when the second control end of the optical detection circuit is at 0 level, the optical detection circuit is in the bias output mode, when the second detection end of the optical detection circuit is at 1 level, the optical detection circuit is in the normal output mode, the detection pulse level is 0 level pulse, when the first control end of the optical detection circuit is at 0 level, the first capacitor is discharged, before the 0 level pulse signal is finished, the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit, is reduced to be lowest and is close to 0 voltage, when the first control end of the optical detection circuit jumps from 0 level to 1 level, the conducting current of the photosensitive tube charges the first capacitor, and the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit gradually increases along with the increase of charging time, the speed of the voltage rise is related to the conduction current of the photosensitive tube, the time required by the voltage of the output end of the light detection circuit from the minimum value to the voltage value with the specified magnitude corresponds to the magnitude of the conduction current of the photosensitive tube, because the magnitude of the conduction current of the photosensitive tube corresponds to the light intensity detected by the light detection circuit, the light intensity detected by the photosensitive tube corresponds to the charging time of the first capacitor, the light intensity detected by the photosensitive tube is increased, the charging time of the first capacitor is reduced, when the second detection control end of the light detection circuit is 0 level, the first resistor is connected in parallel to both ends of the first capacitor for discharging, compared with the condition that no resistor is connected in parallel, the photosensitive tube needs to receive larger light intensity and has larger conduction current to enable the charging time of the first capacitor to be equal, the first light intensity threshold value can be set by setting the resistance value of the first resistor.
4. A light control circuit for a light-operated LED lamp as claimed in claim 3, wherein the single chip microcomputer circuit is a general-purpose single chip microcomputer, the input terminal of the single chip microcomputer circuit is a general digital input terminal, the output terminal of the single chip microcomputer circuit is a general digital output terminal, the positive electrode of the general-purpose single chip microcomputer circuit is the positive electrode of the single chip microcomputer circuit, the negative electrode of the general-purpose single chip microcomputer circuit is the negative electrode of the single chip microcomputer circuit, three pins in the general-purpose single chip microcomputer circuit are defined as level output pins, which are the output terminal of the single chip microcomputer circuit, the first detection control terminal and the second detection control terminal respectively, one pin of the general-purpose single chip microcomputer circuit is defined as a level input pin, which is the input terminal of the single chip microcomputer circuit, when the voltage of the level input pin is greater than or equal to 1/2 of the power voltage connected thereto, the level input pin of the general-purpose single chip microcomputer circuit is read in a level of 1, when the voltage of the level input pin is less than 1/2 of the power voltage connected with the level input pin, the level input pin of the general singlechip reads into 0 level, when the first detection control end of the single chip circuit outputs the detection pulse level, firstly, 0 level is output, then, 1 level is output after a specified time, when the first detection control end of the single chip circuit outputs 0 level, the input end of the single chip circuit is connected with 0 level, when the single chip circuit is changed to 1 level at the first detection control end, the voltage at its input rises from a minimum value, and when this voltage rises to 1/2 times its incoming supply voltage, the input end of the single chip circuit is connected with 1 level, the single chip circuit starts to change from the first detection control end to 1 level, and the time from the first detection control end to the input end connected with 1 level is the light intensity time.
5. A light-operated LED lamp circuit comprises a rectifying circuit, a voltage stabilizing circuit, a constant current driving circuit, an LED light-emitting circuit and a light control circuit, wherein the rectifying circuit is provided with a first input end, a second input end, a positive output end and a negative output end, the constant current driving circuit is provided with a positive electrode, a negative electrode, a positive output end, a negative output end and a control end, when the positive electrode and the negative electrode of the constant current driving circuit are connected with voltages, the control end is connected with different signals, the positive output end and the negative output end output currents with different sizes, the light-operated LED lamp circuit comprises no current output, a positive electrode and a negative electrode, the voltage stabilizing circuit comprises an input end, an output end and a negative electrode, the light control circuit is provided with a positive electrode, a negative electrode and a control end, the positive electrode and the negative electrode of the light-operated circuit are connected with working voltages, the control end is used for outputting a light-on signal or a light-off signal according to detected light intensity, and the positive output end of the rectifying circuit is respectively connected with the positive electrode, the constant current driving circuit, The input end of the voltage stabilizing circuit is connected, the output end of the voltage stabilizing circuit is connected with the positive electrode of the light control circuit, the control end of the constant current drive circuit is connected with the control end of the light control circuit, the positive output end of the constant current drive circuit is connected with the positive electrode of the LED light emitting circuit, the negative output end of the constant current drive circuit is connected with the negative electrode of the LED light emitting circuit, the negative electrode of the light control circuit, the negative electrode of the constant current drive circuit and the negative electrode of the stabilized voltage are connected with the negative output end of the rectifying circuit, the light control LED lamp circuit is provided with a first light intensity threshold value and a second light intensity threshold value, the first light intensity threshold value is more than or equal to the second light intensity threshold value, and the output end of the stabilized voltage outputs working voltage when the first input end and the second input end of the rectifying circuit are connected with mains voltage, the control end of the light control circuit outputs a light-out signal, 0 current is output between the positive output end and the negative output end of the constant current drive circuit, the LED light-emitting circuit does not emit light, the light control circuit periodically and continuously detects light intensity when outputting the light-out signal, if the detected light intensity is larger than or equal to a second light intensity threshold value, the control end outputs the light-out signal, if the detected light intensity is smaller than the second light intensity threshold value, the control end outputs a light-on signal, when the signal output by the control end of the light control circuit is changed from the light-out signal to the light-on signal, in the process that the sunlight intensity is gradually reduced, the light control circuit judges whether the sunlight intensity is minimum or not by judging whether the light intensity is stable, and then the light intensity of the light-stably emitted by the light control LED lamp is measured, when outputting the light-on signal, periodically and continuously detecting the intensity of light, comparing the current detected intensity with the previous detected intensity to determine whether the intensity of the received light is stable, if the detected intensities are equal to each other for N times (the magnitude of N is preset according to actual needs), indicating that the received intensity is in a stable state and the sunlight intensity reaches the minimum, storing the last detected intensity by the light control circuit at the moment, using the intensity as the light intensity, calculating the difference value between the detected intensity and the light intensity at each subsequent detection, comparing the difference value with the first intensity threshold, if the difference value is less than or equal to the first intensity threshold, outputting a light-on signal by the control end of the light control circuit, and if the difference value is greater than the first intensity threshold, outputting a light-off signal by the control end of the light control circuit, when the control end of the light control circuit outputs a light-off signal, no current is output between the positive output end and the negative output end of the constant current driving circuit, the LED light-emitting circuit does not emit light, and when the control end of the light control circuit outputs a light-on signal, the constant current driving circuit converts voltage connected between the positive electrode and the negative electrode of the constant current driving circuit into direct current to output corresponding direct current between the positive output end and the negative output end of the constant current driving circuit, so as to drive the LED light-emitting circuit to emit light.
6. A light-operated LED lamp circuit according to claim 5, characterized in that the light control circuit comprises a single chip circuit and a light detection circuit, the light detection circuit is used for detecting light intensity and converting the light intensity into time to be output, the light detection circuit outputs time corresponding to the detected light intensity when detecting the light intensity, the light detection circuit has a positive electrode, a negative electrode, an output terminal, a first control terminal and a second control terminal, when the first control terminal of the light detection circuit is connected to a detection pulse level, the light detection circuit starts to detect the light intensity, the output signal at the output terminal of the light detection circuit changes from a default normal level signal to an abnormal level signal, when the detection pulse level is over, the output signal at the output terminal changes to a normal level signal again, the time of outputting the abnormal level signal by the output end of the optical detection circuit after the detection pulse level is finished is kept as the delay time, the size of the delay time corresponds to the size of the light intensity detected by the optical detection circuit, namely the detected light intensity is reflected by the delay time, the delay time is called as the light intensity time, and the optical detection circuit has two light intensity detection output modes: the optical detection circuit adopts the normal output mode or the bias output mode and is controlled by the level accessed by the second control end thereof, if the second control end thereof is accessed to the level 1, the optical detection circuit is in the normal output mode at the moment, if the second control end thereof is accessed to the level 0, the optical detection circuit is in the bias output mode at the moment, the singlechip circuit is provided with an anode, a cathode, an output end, an input end, a first detection control end and a second detection control end, the singlechip circuit is provided with a time threshold value corresponding to the second light intensity threshold value, the anode of the singlechip circuit is connected with the anode of the optical detection circuit, and the connecting end of the singlechip circuit is the anode of the optical control circuit, the negative pole of the single chip circuit is connected with the negative pole of the optical detection circuit, the connecting end of the single chip circuit is the negative pole of the optical control circuit, the first detection control end of the single chip circuit is connected with the first control end of the optical detection circuit, the second detection control end of the single chip circuit is connected with the second control end of the optical detection circuit, the input end of the single chip circuit is connected with the output end of the optical detection circuit, and the output end of the single chip circuit is the control end of the optical control circuit;
when the light control circuit is connected with a working voltage, the output end of the singlechip circuit outputs a default light-out signal, the second detection control end of the singlechip circuit outputs a default level 1, the light detection circuit is in a conventional output mode, the singlechip circuit periodically and continuously detects the light intensity output by the light detection circuit, when the light intensity is detected in each period, the singlechip circuit firstly outputs a detection pulse level at the first detection control end, starts timing when the detection pulse level is finished, and stops timing when the level connected to the input end of the singlechip circuit is changed from an abnormal level signal to a normal level signal, the timing time is the light intensity time which corresponds to the light intensity actually detected by the light detection circuit, and then the singlechip circuit compares the light intensity time with a set time threshold value, comparing the actually detected light intensity with a second light intensity threshold, if the actually detected light intensity is greater than or equal to the second light intensity threshold, outputting a light-off signal by the output end of the single chip microcomputer circuit, if the actually detected light intensity is less than the second light intensity threshold, outputting a light-on signal by the output end of the single chip microcomputer circuit, after the single chip microcomputer circuit outputs the light-on signal, continuously and periodically checking the light intensity by the single chip microcomputer circuit to obtain light intensity time, comparing the currently detected light intensity time with the previously detected light intensity time, counting from 1 if the currently detected light intensity time is equal to the previously detected light intensity time, if the currently detected light intensity time is not equal to the previously detected light intensity time, resetting the counting, and when the continuously detected light intensity time for N times is equal to the previously detected light intensity time, counting and accumulating to N, namely the light intensity detected for N times is equal, storing the light intensity time detected for the Nth time, wherein the stored light intensity time corresponds to the light intensity, then outputting 0 level by the second detection control end of the single chip microcomputer circuit, wherein the light detection circuit is in a bias output mode, the light intensity time detected by the single chip microcomputer circuit deviates from the stored light intensity time, when the sunlight intensity gradually increases from the minimum value, the light intensity time detected by the single chip microcomputer circuit slowly approaches the stored light intensity time, when the light intensity time detected by the single chip microcomputer circuit is equal to the stored light intensity time, the sunlight intensity is the first light intensity threshold value because the light intensity actually detected by the light detection circuit is stronger than the light intensity of the lamp light and the difference value is the first light intensity threshold value, and if the single chip microcomputer circuit detects that the light intensity continuously increases, the output end of the singlechip circuit outputs a light-out signal, the second detection control end of the singlechip circuit outputs 1 level, the light detection circuit is in a normal output mode, otherwise, the output end of the singlechip circuit outputs a light-up signal, and the second detection control end of the singlechip circuit outputs 0 level.
7. The light-operated LED lamp circuit as claimed in claim 6, wherein the light detection circuit comprises a photodiode, a first capacitor, a first resistor, a first diode and a second diode, wherein the photodiode is an infrared phototransistor for filtering sunlight, the first diode and the second diode are both rectifier diodes, the collector of the photodiode is the anode of the light detection circuit, the emitter of the photodiode, one end of the first capacitor, one end of the first resistor and the anode of the first diode are connected, the connection end of the first diode is the output end of the light detection circuit, the cathode of the first diode is the first control end of the light detection circuit, the other end of the first resistor is connected with the anode of the second diode, the cathode of the second diode is the second control end of the light detection circuit, the other end of the first capacitor is the cathode of the light detection circuit; when the second control end of the optical detection circuit is at 0 level, the optical detection circuit is in the bias output mode, when the second detection end of the optical detection circuit is at 1 level, the optical detection circuit is in the normal output mode, the detection pulse level is 0 level pulse, when the first control end of the optical detection circuit is at 0 level, the first capacitor is discharged, before the 0 level pulse signal is finished, the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit, is reduced to be lowest and is close to 0 voltage, when the first control end of the optical detection circuit jumps from 0 level to 1 level, the conducting current of the photosensitive tube charges the first capacitor, and the voltage at two ends of the first capacitor, namely the voltage at the output end of the optical detection circuit gradually increases along with the increase of charging time, the speed of the voltage rise is related to the conduction current of the photosensitive tube, the time required by the voltage of the output end of the light detection circuit from the minimum value to the voltage value with the specified magnitude corresponds to the magnitude of the conduction current of the photosensitive tube, because the magnitude of the conduction current of the photosensitive tube corresponds to the light intensity detected by the light detection circuit, the light intensity detected by the photosensitive tube corresponds to the charging time of the first capacitor, the light intensity detected by the photosensitive tube is increased, the charging time of the first capacitor is reduced, when the second detection control end of the light detection circuit is 0 level, the first resistor is connected in parallel to both ends of the first capacitor for discharging, compared with the condition that no resistor is connected in parallel, the photosensitive tube needs to receive larger light intensity and has larger conduction current to enable the charging time of the first capacitor to be equal, the first light intensity threshold may be set by setting the resistance of the first resistor.
8. The light-operated LED lamp circuit as claimed in claim 6, wherein the single chip microcomputer circuit is a general-purpose single chip microcomputer, the input terminal of the single chip microcomputer circuit is a conventional digital input terminal, the output terminal of the single chip microcomputer circuit is a conventional digital output terminal, the positive terminal of the general-purpose single chip microcomputer circuit is the positive terminal of the single chip microcomputer circuit, the negative terminal of the general-purpose single chip microcomputer circuit is the negative terminal of the single chip microcomputer circuit, three pins in the general-purpose single chip microcomputer circuit are defined as level output pins, which are the output terminal of the single chip microcomputer circuit, the first detection control terminal and the second detection control terminal, respectively, the general-purpose single chip microcomputer circuit further has one pin defined as a level input pin, which is the input terminal of the single chip microcomputer circuit, when the voltage of the input pin is greater than or equal to 1/2 of the power voltage connected to the general-purpose single chip microcomputer circuit, when the voltage of the input pin is less than 1/2 of the power voltage connected to the general-purpose single chip microcomputer circuit, the input end of the general single chip microcomputer is read into 0 level, when the first detection control end of the single chip microcomputer circuit outputs a detection pulse level, 0 level is output firstly, then 1 level is output after a specified time, when the first detection control end of the single chip microcomputer circuit outputs 0 level, the input end of the single chip microcomputer circuit is connected with 0 level, when the first detection control end of the single chip microcomputer circuit is changed to 1 level, the voltage of the input end of the single chip microcomputer circuit is increased from the lowest value, when the voltage is increased to 1/2 of the connected power supply voltage, the input end of the single chip microcomputer circuit is connected with 1 level, the single chip microcomputer circuit is started to be changed to 1 level from the first detection control end of the single chip microcomputer circuit, and the time period from the first detection control end of the single chip microcomputer circuit to the input end of the single chip microcomputer circuit to be connected with 1 level is the light intensity time.
CN202110493948.5A 2021-05-07 2021-05-07 Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit Withdrawn CN113382499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110493948.5A CN113382499A (en) 2021-05-07 2021-05-07 Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110493948.5A CN113382499A (en) 2021-05-07 2021-05-07 Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit

Publications (1)

Publication Number Publication Date
CN113382499A true CN113382499A (en) 2021-09-10

Family

ID=77570514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110493948.5A Withdrawn CN113382499A (en) 2021-05-07 2021-05-07 Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit

Country Status (1)

Country Link
CN (1) CN113382499A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114034904A (en) * 2021-11-04 2022-02-11 深圳市汇春科技股份有限公司 Micro-current measuring method, device, control element and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114034904A (en) * 2021-11-04 2022-02-11 深圳市汇春科技股份有限公司 Micro-current measuring method, device, control element and readable storage medium

Similar Documents

Publication Publication Date Title
US8513892B2 (en) Illuminance sensor, and electronic equipment and semiconductor device using the same
US8310163B2 (en) Microcontroller-based lighting control system and method for lighting control
RU2009142216A (en) LAMP TYPE DEFINITOR FOR LIGHT REGULATOR CIRCUIT, AND ALSO RESISTANCE AND SHORT-CIRCUIT DEFINITION
CN100419568C (en) Auxiliary light-emitting control device and auxiliary flashing device
CN113382499A (en) Light control circuit for light-controlled LED lamp and light-controlled LED lamp circuit
EP2442014A1 (en) Illumination device
US5004349A (en) Lighting apparatus and color measuring apparatus using the same
US11871489B2 (en) Lighting device having an interim operable state
CN108990199B (en) Detection circuit and method for silicon controlled rectifier dimmer
US11765805B2 (en) Photocontroller and/or lamp with photocontrols to control operation of lamp
ES2898842T3 (en) Light sensor and extinction time scanner
CN113301689A (en) Solar LED lamp circuit with abnormal state distinguishing function
TW200939628A (en) Photoelectric sensor
CN116723600A (en) LED illumination output control method and system
CN112260672A (en) Method for adjusting induction distance of infrared device
CN107658958B (en) Photoelectric system and photoelectric control method
CN113873718B (en) Dimming control device
US11287372B2 (en) Gas sensor module
CN115053637A (en) Lighting device with integrated sensing, such as light sensing
CA2420816A1 (en) Eol detection with integrated filament interrogation
KR20210105293A (en) Light detection system, discharge probability calculation method and light receiving amount measurement method
KR100537749B1 (en) Luminance control system for led signal lamp
CN214473838U (en) LED lamp and flicker frequency detection circuit thereof
CN114828324A (en) Light controller circuit and light-operated LED lamp circuit
US20070034791A1 (en) Temperature sensing circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210910

WW01 Invention patent application withdrawn after publication