Light controller and light control device

By combining a light intensity detection circuit and a main control circuit with photodiodes, capacitors, and resistors, the system automatically detects sunrise and sunset times. It also features a built-in 24-hour clock, which solves the problem of inaccurate timing in light controllers. This enables precise timing and automatic calibration, adapts to seasonal changes, and is easy to use.

CN224460074UActive Publication Date: 2026-07-03SHENZHEN ASCHIP TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN ASCHIP TECH CO LTD
Filing Date
2025-08-13
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing light controllers lack precise timing functions or have expensive and cumbersome timing functions, making it difficult to achieve precise timing control such as turning off the lights at 2:00 AM every day, and requiring recalibration after an unexpected power outage.

Method used

It adopts a light intensity detection circuit and a main control circuit, combined with a light intensity detection circuit composed of photodiodes, capacitors and resistors, to automatically detect sunrise and sunset times. It has a built-in 24-hour clock, which can be set through a light control threshold adjustment circuit and DIP switch to achieve precise timing control, automatically adapt to seasonal changes, and does not require network connection or manual calibration.

Benefits of technology

It achieves precise timing function of light controller, automatically adapts to seasonal changes, requires no network connection or manual calibration, is easy to use, and can automatically restore timing function after unexpected power failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224460074U_ABST
    Figure CN224460074U_ABST
Patent Text Reader

Abstract

The utility model discloses a light controller and light control equipment relates to light controller technical field. The light controller includes power supply circuit, light intensity detection circuit and main control circuit. Among them, power supply circuit is used for converting the input voltage of external power input end to power supply voltage output. Light intensity detection circuit includes photosensitive diode, first resistance and first electric capacity, and photosensitive diode is used for sensing ambient light intensity, and its conduction current changes with the change of light intensity, and light intensity detection circuit can output the light intensity detection signal corresponding with light intensity. The main control circuit can output the timing control signal according to the light intensity detection signal, and control the lamp to start work / stop working in the preset time, realize accurate timing function. The light controller provided by the utility model is accurate in timing function, need not realize timing through networking or manual calibration clock, can automatically correct clock timing according to the change of season, and can automatically rebuild clock to realize timing after accidental power failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of light controller technology, and in particular to a light controller and light control device. Background Technology

[0002] With the continuous development of smart cities and green energy-saving concepts, light controllers have become a core component of automated control systems for lighting, widely used in road lighting, landscape lighting, agricultural greenhouse supplemental lighting, and smart homes. Their main function is to automatically control the start and stop of lights based on changes in ambient light intensity, effectively reducing energy consumption while ensuring lighting needs are met.

[0003] However, most light controllers on the market currently rely solely on ambient light to control the switching of lights on and off. Even those products with timer functions typically only allow setting fixed delay times, making it difficult to achieve precise timed operations such as "turning off the lights at 2:00 AM every day." While some high-end light controllers can achieve precise timed operation through network connection or manual clock calibration, this not only increases equipment costs but also requires recalibration after unexpected power outages, making the process cumbersome. Utility Model Content

[0004] The main purpose of this utility model is to provide a light controller that solves the problems of existing light controllers lacking timing function or having high cost and cumbersome use due to timing function.

[0005] To achieve the above objectives, the light controller proposed in this utility model includes:

[0006] The power supply circuit has an input terminal for connecting to an external power input terminal and converting the input voltage of the external power input terminal into a power supply voltage output.

[0007] A light intensity detection circuit, wherein the power supply terminal of the light intensity detection circuit is connected to the output terminal of the power supply circuit, and the light intensity detection circuit is used to detect the ambient light intensity and output a corresponding light intensity detection signal;

[0008] The light intensity detection circuit includes a photodiode, a first resistor, and a first capacitor; the first end of the photodiode is connected to the output end of the power supply circuit, the second end of the photodiode, one end of the first resistor, and one end of the first capacitor are connected to the signal output end of the light intensity detection circuit, and the other end of the first resistor and the other end of the first capacitor are grounded.

[0009] The main control circuit has its power supply terminal connected to the output terminal of the power supply circuit, and its first signal input terminal connected to the signal output terminal of the light intensity detection circuit. The main control circuit is used to connect to the lamp and to output a timing control signal based on the light intensity detection signal to control the lamp to start / stop working at a preset time.

[0010] In one embodiment, the light controller further includes:

[0011] A light-controlled threshold adjustment circuit is provided, wherein the power supply terminal of the light-controlled threshold adjustment circuit is connected to the output terminal of the power supply circuit, and the signal output terminal of the light-controlled threshold adjustment circuit is connected to the second signal input terminal of the main control circuit; the light-controlled threshold adjustment circuit is used to output a corresponding light-controlled threshold adjustment signal when triggered by the user.

[0012] The main control circuit is also used to control the lamp to start / stop working based on the light control threshold adjustment signal and the light intensity detection signal.

[0013] In one embodiment, the light controller further includes a DIP switch and a second resistor;

[0014] One end of the DIP switch is grounded, one end of the second resistor is connected to the output terminal of the power supply circuit, and the other end of the DIP switch and the other end of the second resistor are connected to the third signal input terminal of the main control circuit.

[0015] In one embodiment, the number of DIP switches is N, and the number of the second resistors is also N, where N is a positive integer greater than 1;

[0016] In this circuit, one end of each of the N DIP switches is grounded, one end of each of the N second resistors is connected to the output terminal of the power supply circuit, and the other end of the Nth DIP switch and the other end of the Nth second resistor are connected to the multiple signal input terminals of the main control circuit in a corresponding manner.

[0017] In one embodiment, the light-controlled threshold adjustment circuit includes an adjustable resistor and a second capacitor; the first end of the adjustable resistor is connected to the output terminal of the power supply circuit, the adjustment terminal of the adjustable resistor and one end of the second capacitor are connected to the second signal input terminal of the main control circuit, and the second end of the adjustable resistor and the other end of the second capacitor are grounded.

[0018] In one embodiment, the power supply circuit includes a voltage regulator chip, a third resistor, a third capacitor, a fourth capacitor, and a fifth capacitor;

[0019] Wherein, one end of the third resistor is the input terminal of the power supply circuit, the other end of the third resistor, one end of the third capacitor, and one end of the fourth capacitor are connected to the input terminal of the voltage regulator chip, the output terminal of the voltage regulator chip and one end of the fifth capacitor are connected to the output terminal of the power supply circuit, and the other end of the third capacitor, the other end of the fourth capacitor, the ground terminal of the voltage regulator chip and the other end of the fifth capacitor are grounded.

[0020] In one embodiment, the fourth capacitor is a fourth electrolytic capacitor, the positive terminal of which is connected to the input terminal of the voltage regulator chip, and the negative terminal of which is grounded; and / or, the fifth capacitor is a fifth electrolytic capacitor, the positive terminal of which is connected to the output terminal of the voltage regulator chip, and the negative terminal of which is grounded.

[0021] In one embodiment, the light controller further includes:

[0022] A lamp driving circuit, wherein the controlled terminal of the lamp driving circuit is connected to the signal output terminal of the main control circuit, the power supply terminal of the lamp driving circuit is connected to the output terminal of the power supply circuit, and the output terminal of the lamp driving circuit is used to connect to the lamp; the lamp driving circuit is used to drive the lamp to work.

[0023] In one embodiment, the lamp driving circuit includes a fourth resistor, a fifth resistor, a sixth resistor, and a first switching transistor;

[0024] Wherein, one end of the fourth resistor is connected to the signal output terminal of the main control circuit, the other end of the fourth resistor and one end of the fifth resistor are connected to the controlled terminal of the first switching transistor, the other end of the fifth resistor is grounded to the first terminal of the first switching transistor, the second terminal of the first switching transistor is connected to one end of the sixth resistor, the other end of the sixth resistor is connected to the first power supply terminal of the lamp, and the second terminal of the lamp is connected to the power supply terminal of the lamp driving circuit.

[0025] This utility model also proposes a light control device, including a lamp and a light controller as described above; wherein the lamp is connected to the main control circuit of the light controller.

[0026] This utility model employs a light controller, comprising a power supply circuit, a light intensity detection circuit, and a main control circuit. The light intensity detection circuit includes a photodiode, a first resistor, and a first capacitor. The photodiode senses ambient light intensity, and its current changes with the light intensity. The first resistor is connected in series with the photodiode, converting the photocurrent into a voltage signal. The first capacitor is connected in parallel across the first resistor to filter out high-frequency noise and improve signal stability. Stronger light results in a larger photodiode current and a higher output voltage; weaker light results in a smaller current and a lower output voltage, thus forming a light intensity detection signal corresponding to the ambient light intensity. The power supply circuit provides a stable power source for the main control circuit and the light intensity detection circuit, ensuring normal circuit operation. Based on this light intensity detection signal, the main control circuit can automatically detect the sunrise and sunset times of the day and derive the corresponding day and night lengths. Furthermore, by combining pre-stored patterns of day and night length variations for different dates throughout the year, the main control circuit can detect the current date and dynamically construct a precise 24-hour local clock. This clock automatically adapts to sunrise and sunset time shifts caused by seasonal changes without relying on network time synchronization or manual settings. Furthermore, the main control circuit has a built-in first preset time (for timed lighting) and / or a second preset time (for timed lighting). Combined with the reconstructed 24-hour clock, it can output corresponding timing control signals: for example, setting the lights to turn on at 19:00 daily or turn off at 02:00 the next day, the main control circuit will output a timing control signal at 19:00 or 02:00 the next day to control the lights to perform the corresponding operation on time. Even in the event of an unexpected power outage, after power is restored, the light controller can automatically calibrate the clock by re-detecting changes in illumination and combining this with the diurnal cycle, restoring accurate timing functionality. Thus, compared to existing technologies, the timing function of this light controller is precise, requiring no network connection or manual clock calibration, and can automatically correct the clock's timing according to seasonal changes. Moreover, it can automatically reconstruct the clock after an unexpected power outage to maintain the timing function, making it convenient to use. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0028] Figure 1 A schematic diagram of the structure of an embodiment of the light controller provided by this utility model;

[0029] Figure 2 Electronic circuit diagram of another embodiment of the light controller provided by this utility model;

[0030] Figure 3 An electronic circuit diagram of a light control threshold adjustment circuit according to an embodiment of the light controller provided by this utility model;

[0031] Figure 4 An electronic circuit diagram of the power supply circuit of an embodiment of the optical controller provided by this utility model;

[0032] Figure 5 An electronic circuit diagram of a lamp driving circuit according to an embodiment of the light controller provided by this utility model;

[0033] Figure 6 An electronic circuit diagram of the main control circuit of an embodiment of the light controller provided by this utility model;

[0034] Figure 7 A DIP switch setting rule table for an embodiment of the optical controller provided by this utility model.

[0035] Explanation of icon numbers:

[0036]

[0037]

[0038] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0039] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.

[0040] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in this utility model embodiment are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.

[0041] Furthermore, the use of terms such as "first" and "second" in this utility model is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this utility model.

[0042] Most light controllers on the market currently rely solely on ambient light to control the switching of lights on and off. Even those with timer functions typically only allow setting fixed delay times, making it difficult to achieve precise timing operations like "turning off the lights at 2:00 AM every day." While some high-end light controllers can achieve precise timing through network connectivity or manual clock calibration, this not only increases equipment costs but also requires recalibration after unexpected power outages, making the process cumbersome.

[0043] This utility model proposes a light controller.

[0044] Please see Figure 1 In one embodiment of this utility model, the light controller includes:

[0045] Power supply circuit 01, the input terminal of power supply circuit 01 is used to connect to the external power supply input terminal, and converts the input voltage of the external power supply input terminal into the power supply voltage output;

[0046] The light intensity detection circuit 02 is connected to the output terminal of the power supply circuit 01. The light intensity detection circuit 02 is used to detect the ambient light intensity and output the corresponding light intensity detection signal.

[0047] The light intensity detection circuit 02 includes a photodiode CDS1, a first resistor R1 and a first capacitor C1; the first end of the photodiode CDS1 is connected to the output end of the power supply circuit 01, the second end of the photodiode CDS1, one end of the first resistor R1 and one end of the first capacitor C1 are connected to the signal output end of the light intensity detection circuit 02, and the other end of the first resistor R1 and the other end of the first capacitor C1 are grounded.

[0048] The main control circuit 03 has its power supply terminal connected to the output terminal of the power supply circuit 01, and its first signal input terminal connected to the signal output terminal of the light intensity detection circuit 02. The main control circuit 03 is used to connect to the lamp and to output a timing control signal based on the light intensity detection signal to control the lamp to start / stop working at a preset time.

[0049] In this embodiment, the power supply circuit 01 can convert the external input power (such as DC 12V / 24V) into a stable DC power supply voltage (such as 3.3V) required by the circuit, providing operating power for the main control circuit 03 and the light intensity detection circuit 02. The photodiode CDS1 can sense the ambient light intensity; its conduction current changes with the light intensity. The first resistor R1 is connected in series with the photodiode CDS1, converting the photocurrent into a voltage signal. The first capacitor C1 is connected in parallel across the first resistor R1 to filter out high-frequency noise and stabilize the output light intensity detection signal. Specifically, the stronger the light, the larger the conduction current flowing through the photodiode CDS1, and the larger the output voltage; the weaker the light, the smaller the conduction current flowing through the photodiode CDS1, and the smaller the output voltage. Please refer to [reference needed]. Figure 6 The main control circuit 03 may include a main control chip U2 and a sixth capacitor C6. The main control chip U2 has a built-in storage unit for storing the sunrise and sunset times of previous years, as well as the difference between the sunrise and sunset times (i.e., daytime or nighttime), and can be recorded in the form of a lookup table for easy retrieval. In this embodiment, the main control circuit 03 can detect the sunrise and sunset times of the current day based on the light intensity detection signal. For example, when the light intensity gradually weakens below a first light threshold, the moment when the light intensity reaches the first light threshold is determined to be the sunset time; when the light intensity gradually strengthens above a second light threshold, the moment when the light intensity reaches the second light threshold is determined to be the sunrise time. In this way, the daytime or nighttime length of the current day can be obtained based on the sunrise and sunset times. Then, based on which daytime length of the current day corresponds to which daytime length of a previous year in the lookup table, or which nighttime length of the current day corresponds to which nighttime length of a previous year in the lookup table, the sunrise / sunset time of that day can be detected. Based on the sunrise / sunset time of that day, the clock can be reconstructed to obtain an accurate 24-hour clock. The main control circuit 03 has a built-in first preset time for timed lighting on or a second preset time for timed lighting off. Based on the first preset time and a constructed 24-hour clock, it outputs a corresponding timed lighting signal to control the lights to start working and illuminate at the first preset time. For example, if the lights are set to turn on at 7:00 PM every night, the light controller will control the lights to turn on at 7:00 PM every night. Alternatively, based on the second preset time and the constructed 24-hour clock, it outputs a corresponding timed turning-off signal to control the lights to stop working and turn off at the second preset time. For example, if the lights are set to turn off at 2:00 AM every day, the light controller will control the lights to turn off at 2:00 AM every day. Thus, compared with existing technologies, the timer function of the light controller in this embodiment is precise, requiring no network connection or manual clock calibration, and can automatically correct the clock timing according to seasonal changes. Furthermore, the light controller in this embodiment can automatically rebuild the clock to maintain the timer function after an unexpected power outage, making it convenient to use.

[0050] Please see Figure 3In one embodiment of this utility model, the light controller further includes:

[0051] The light-controlled threshold adjustment circuit has its power supply terminal connected to the output terminal of the power supply circuit 01, and its signal output terminal connected to the second signal input terminal of the main control circuit 03. The light-controlled threshold adjustment circuit is used to output a corresponding light-controlled threshold adjustment signal when triggered by the user.

[0052] The main control circuit 03 is also used to control the lamp to start / stop working based on the light control threshold adjustment signal and the light intensity detection signal.

[0053] In this embodiment, the main control circuit 03 is also equipped with a light control mode. A first light control threshold for turning on the lights at night and / or a second light control threshold for turning off the lights during the day can be set via a light control threshold adjustment circuit. In light control mode, if the main control circuit 03 detects that the light intensity is less than the first light control threshold based on the light intensity detection signal, it controls the lamp to start working. When the lamp is working, if the main control circuit 03 detects that the light intensity is greater than the second light control threshold based on the light intensity detection signal, it controls the lamp to stop working.

[0054] Please see Figure 3 In one embodiment of this utility model, the light control threshold adjustment circuit includes an adjustable resistor RP and a second capacitor C2; the first end of the adjustable resistor RP is connected to the output end of the power supply circuit 01, the adjustment end of the adjustable resistor RP and one end of the second capacitor C2 are connected to the second signal input end of the main control circuit 03, and the second end of the adjustable resistor RP and the other end of the second capacitor C2 are grounded.

[0055] In this embodiment, when the light control threshold adjustment circuit is triggered by the user, the resistance value of the adjustable resistor RP changes, and the voltage output to the main control circuit 03 also changes. The main control circuit 03 can determine the first light control threshold / second light control threshold by detecting the voltage level at the second signal input terminal. When the light intensity is detected by the light intensity detection signal to be less than the first light control threshold, the circuit controls the lamp to start working; when the light intensity is detected by the light intensity detection signal to be greater than the second light control threshold, the circuit controls the lamp to stop working. Thus, this embodiment can set a suitable light control threshold through the light control threshold adjustment circuit to adapt to different weather conditions. The difference between the first and second light control thresholds can be set to a fixed value, allowing both the first and second light control thresholds to be set simultaneously by adjusting the adjustable resistor RP.

[0056] Please see Figure 2 In one embodiment of this utility model, the light controller further includes a DIP switch and a second resistor R2;

[0057] One end of the DIP switch is grounded, one end of the second resistor R2 is connected to the output terminal of the power supply circuit 01, and the other end of the DIP switch and the other end of the second resistor R2 are connected to the third signal input terminal of the main control circuit 03.

[0058] In this embodiment, when the DIP switch is in the open state, the third signal input terminal of the main control circuit 03 receives a high level; when the DIP switch is in the closed state, the third signal input terminal of the main control circuit 03 receives a low level. The main control circuit 03 can detect the operation of the DIP switch based on the level signal input at the third signal input terminal.

[0059] Please see Figure 2 In one embodiment of this utility model, the number of DIP switches is N, and the number of corresponding second resistors R2 is also N, where N is a positive integer greater than 1.

[0060] In this circuit, one end of each of the N DIP switches is grounded, one end of each of the N second resistors R2 is connected to the output of the power supply circuit 01, and the other end of the Nth DIP switch and the other end of the Nth second resistor R2 are connected to the multiple signal inputs of the main control circuit 03.

[0061] In this embodiment, N can be 8. Eight DIP switches form a DIP switch assembly S1, and each of the eight DIP switches is connected to one of the eight second resistors R21 to R28. The main control circuit 03 has four different operating modes. These four different operating modes can be entered by setting the 7th and 8th DIP switches. For example, DIP switches 00 / 01 / 10 / 11 correspond to the first to fourth operating modes, respectively. The 1st to 6th DIP switches are used to set the corresponding functions within each operating mode.

[0062] In one implementation, please refer to Figure 7 The main control circuit 03 is equipped with sunrise / sunset mode, delay mode, real-time mode, and ECO mode (economic mode). The DIP switch settings are configured such that the four modes are controlled by DIP switches 7 and 8, while DIP switches 1 through 6 provide the corresponding function settings for each mode. DIP switches 1 through 6 are ineffective in sunrise / sunset mode and ECO mode; their settings have no effect. In delay mode, if all switches are OFF, it reverts to sunrise / sunset mode. OFF mode adds the corresponding DIP switch time to the delay setting. In real-time mode, different timers are set to turn off the lights according to a pre-defined method. If the setting is not among the pre-defined options, the default time is 04:00 when the lights turn off.

[0063] It should be noted that when the light controller is working, it can first turn on the light for 5 seconds to warm up and stabilize the working state of circuit components such as the photodiode CDS1. After 5 seconds, the light turns off and enters the ambient light detection stage. The detection time is day or night before controlling whether to turn the light on or off. The day / night state switch requires continuous detection of light intensity within a stable threshold range for 3 minutes before the state change can be confirmed, avoiding false triggering due to brief obstruction or weather fluctuations. The main control circuit 03 has a first light control threshold and a second light control threshold for detecting day / night switching. When the light intensity is less than the first light control threshold, it is determined to enter night; when it is greater than the second light control threshold, it is determined to enter day.

[0064] In sunrise / sunset mode, the first and second light control thresholds can be adjusted via the light control threshold adjustment circuit to switch between day and night. In this mode, if the main control circuit 03 detects that the light intensity is less than the first light control threshold based on the light intensity detection signal, it controls the light to turn on. When the light is on, if the main control circuit 03 detects that the light intensity is greater than the second light control threshold based on the light intensity detection signal, it controls the light to turn off.

[0065] In delay mode, if the main control circuit 03 detects that the light intensity is less than the first light control threshold based on the light intensity detection signal, it controls the light to turn on. If the main control circuit 03 detects that the light intensity is greater than the second light control threshold based on the light intensity detection signal, it controls the light to turn off after a preset delay. The light will only turn on again after a period of daylight followed by darkness. If it is cloudy or rainy and daylight cannot be detected, the light will not turn on again after the delay. It is understandable that when DIP switches 7-8 are in delay mode and DIP switches 1-6 are all ON, the light is set to turn off after 15.5 hours. When DIP switches 1-6 are all OFF, no delay time is set, entering delay mode is ineffective, and the light will be controlled to turn on / off in sunrise / sunset mode.

[0066] In real-time mode, if the light controller is being used for the first time, it needs a full day for day / night learning. This learning cycle involves a period from night to sunrise and then from sunrise to sunset. This process is responsible for detecting the light intensity during sunrise and sunset to build an internal 24-hour clock reference. In subsequent use, the 24-hour clock can be fine-tuned according to the actual sunset time to achieve daily automatic clock calibration. Furthermore, the main control circuit 03 controls the lights to turn off at the time corresponding to the DIP switch. For example, when the DIP switch is set to 0011 1101, the first two digits (00) indicate entry into real-time mode. Among the 30-minute, 1-hour, 2-hour, 3-hour, 4-hour, and 5-hour settings, only the 4-hour setting is ON, corresponding to a 4:00 AM turn-off time the following day. Therefore, the light controller will turn off the lights at 4:00 AM. It should be noted that in this mode, the lights can be turned on when the light intensity is less than the first light control threshold. The time when the lights turn on at night may not be the same as the time of sunset, but this does not affect the fine-tuning and updating of the 24-hour clock. After the lights are turned on, they will turn off according to the preset time. The lights will only turn on again after daytime and then back to night.

[0067] In EOC mode, when controlling the lights to turn on during nighttime, the lights are turned on and off in a 5:4:1 ratio based on the duration of darkness. For example, in the first stage (50% of the nighttime), the lights are constantly on; in the second stage, the lights are intermittently on and off (e.g., on for 15 seconds, off for 45 seconds); and in the third stage, the lights are off. Understandably, to save energy, it can be set to turn off the lights whenever the light intensity exceeds the second light control threshold in any mode.

[0068] Thus, in this embodiment, different working modes can be set via DIP switches, and corresponding on / off operations can be set in different working modes.

[0069] Please see Figure 4 In one embodiment of this utility model, the power supply circuit 01 includes a voltage regulator chip U1, a third resistor R3, a third capacitor C3, a fourth capacitor C4 and a fifth capacitor C5.

[0070] Among them, one end of the third resistor R3 is the input terminal of the power supply circuit 01, the other end of the third resistor R3, one end of the third capacitor C3, and one end of the fourth capacitor C4 are connected to the input terminal of the voltage regulator chip U1, the output terminal of the voltage regulator chip U1 and one end of the fifth capacitor C5 are connected to the output terminal of the power supply circuit 01, and the other end of the third capacitor C3, the other end of the fourth capacitor C4, the ground terminal of the voltage regulator chip U1 and the other end of the fifth capacitor C5 are grounded.

[0071] In one embodiment, the fourth capacitor C4 is a fourth electrolytic capacitor, the positive terminal of which is connected to the input terminal of the voltage regulator chip U1, and the negative terminal of which is grounded; and / or, the fifth capacitor C5 is a fifth electrolytic capacitor, the positive terminal of which is connected to the output terminal of the voltage regulator chip U1, and the negative terminal of which is grounded.

[0072] In this embodiment, the fourth electrolytic capacitor can provide energy buffering when the input voltage fluctuates, stabilizing the input voltage. The voltage regulator chip U1 can output the regulated input voltage. The fifth electrolytic capacitor can provide energy buffering when the output voltage fluctuates, stabilizing the output voltage. It can output a stable power supply voltage for the circuit to work normally.

[0073] Please see Figure 5 In one embodiment of this utility model, the light controller further includes:

[0074] The lamp driver circuit has its controlled terminal connected to the signal output terminal of the main control circuit 03, and its power supply terminal connected to the output terminal of the power supply circuit 01. The output terminal of the lamp driver circuit is used to connect the lamp. The lamp driver circuit is used to drive the lamp to work.

[0075] In one embodiment, the lamp driving circuit includes a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, and a first switching transistor Q1;

[0076] Among them, one end of the fourth resistor R4 is connected to the signal output terminal of the main control circuit 03, the other end of the fourth resistor R4 and one end of the fifth resistor R5 are connected to the controlled terminal of the first switch Q1, the other end of the fifth resistor R5 is grounded to the first terminal of the first switch Q1, the second terminal of the first switch Q1 is connected to one end of the sixth resistor R6, the other end of the sixth resistor R6 is connected to the first power supply terminal of the lamp LED, and the second terminal of the lamp LED is connected to the power supply terminal of the lamp driver circuit.

[0077] In this embodiment, the main control circuit 03 can output a high level to control the first switching transistor Q1 to turn on, thereby controlling the LED to be powered on and lit; it can output a low level to control the first switching transistor Q1 to turn off, thereby controlling the LED to be powered off and turned off; or it can output PWM signals with different duty cycles to control the conduction time of the first switching transistor Q1, thereby controlling the brightness of the LED.

[0078] This utility model also proposes a light control device, which includes a lamp and a light controller. The specific structure of the light controller is as described in the above embodiments. Since this light control device adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described in detail here.

[0079] The lamp is connected to the main control circuit of the light controller.

[0080] The above description is merely an exemplary embodiment of the present utility model and does not limit the patent scope of the present utility model. Any equivalent structural transformations made based on the technical concept of the present utility model and the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.

Claims

1. A light controller, characterized by include: The power supply circuit has an input terminal for connecting to an external power input terminal and converting the input voltage of the external power input terminal into a power supply voltage output. A light intensity detection circuit, wherein the power supply terminal of the light intensity detection circuit is connected to the output terminal of the power supply circuit, and the light intensity detection circuit is used to detect the ambient light intensity and output a corresponding light intensity detection signal; The light intensity detection circuit includes a photodiode, a first resistor, and a first capacitor; the first end of the photodiode is connected to the output end of the power supply circuit, the second end of the photodiode, one end of the first resistor, and one end of the first capacitor are connected to the signal output end of the light intensity detection circuit, and the other end of the first resistor and the other end of the first capacitor are grounded. The main control circuit has its power supply terminal connected to the output terminal of the power supply circuit, and its first signal input terminal connected to the signal output terminal of the light intensity detection circuit. The main control circuit is used to connect to the lamp and to output a timing control signal based on the light intensity detection signal to control the lamp to start / stop working at a preset time.

2. The light controller of claim 1, wherein, Also includes: A light-controlled threshold adjustment circuit is provided, wherein the power supply terminal of the light-controlled threshold adjustment circuit is connected to the output terminal of the power supply circuit, and the signal output terminal of the light-controlled threshold adjustment circuit is connected to the second signal input terminal of the main control circuit; the light-controlled threshold adjustment circuit is used to output a corresponding light-controlled threshold adjustment signal when triggered by the user. The main control circuit is also used to control the lamp to start / stop working based on the light control threshold adjustment signal and the light intensity detection signal.

3. The light controller of claim 1, wherein, It also includes a DIP switch and a second resistor; One end of the DIP switch is grounded, one end of the second resistor is connected to the output terminal of the power supply circuit, and the other end of the DIP switch and the other end of the second resistor are connected to the third signal input terminal of the main control circuit.

4. The light controller of claim 3, wherein, The number of DIP switches is N, and the number of the second resistors is also N, where N is a positive integer greater than 1; In this circuit, one end of each of the N DIP switches is grounded, one end of each of the N second resistors is connected to the output terminal of the power supply circuit, and the other end of the Nth DIP switch and the other end of the Nth second resistor are connected to the multiple signal input terminals of the main control circuit in a corresponding manner.

5. The light controller of claim 2, wherein, The light-controlled threshold adjustment circuit includes an adjustable resistor and a second capacitor; the first end of the adjustable resistor is connected to the output end of the power supply circuit, the adjustment end of the adjustable resistor and one end of the second capacitor are connected to the second signal input end of the main control circuit, and the second end of the adjustable resistor and the other end of the second capacitor are grounded.

6. The light controller of claim 1, wherein, The power supply circuit includes a voltage regulator chip, a third resistor, a third capacitor, a fourth capacitor, and a fifth capacitor; Wherein, one end of the third resistor is the input terminal of the power supply circuit, the other end of the third resistor, one end of the third capacitor, and one end of the fourth capacitor are connected to the input terminal of the voltage regulator chip, the output terminal of the voltage regulator chip and one end of the fifth capacitor are connected to the output terminal of the power supply circuit, and the other end of the third capacitor, the other end of the fourth capacitor, the ground terminal of the voltage regulator chip and the other end of the fifth capacitor are grounded.

7. The light controller of claim 6, wherein, The fourth capacitor is a fourth electrolytic capacitor, the positive terminal of which is connected to the input terminal of the voltage regulator chip, and the negative terminal of which is grounded; and / or, the fifth capacitor is a fifth electrolytic capacitor, the positive terminal of which is connected to the output terminal of the voltage regulator chip, and the negative terminal of which is grounded.

8. The light controller of claim 1, wherein, Also includes: A lamp driving circuit, wherein the controlled terminal of the lamp driving circuit is connected to the signal output terminal of the main control circuit, the power supply terminal of the lamp driving circuit is connected to the output terminal of the power supply circuit, and the output terminal of the lamp driving circuit is used for lamp connection. The lamp driver circuit is used to drive the lamp to work.

9. The light controller of claim 8, wherein, The lamp driving circuit includes a fourth resistor, a fifth resistor, a sixth resistor, and a first switching transistor; Wherein, one end of the fourth resistor is connected to the signal output terminal of the main control circuit, the other end of the fourth resistor and one end of the fifth resistor are connected to the controlled terminal of the first switching transistor, the other end of the fifth resistor is grounded to the first terminal of the first switching transistor, the second terminal of the first switching transistor is connected to one end of the sixth resistor, the other end of the sixth resistor is connected to the first power supply terminal of the lamp, and the second terminal of the lamp is connected to the power supply terminal of the lamp driving circuit.

10. A light control device, characterized by It includes a luminaire and a light controller as described in any one of claims 1 to 9; wherein the luminaire is connected to the main control circuit of the light controller.