An automatic light adjustment circuit for office light based on time variation
By using a time-based automatic light adjustment circuit for office lights, which combines a photoresistor and an analog-to-digital converter to detect ambient light levels and a microcontroller to control the lights, the problem of traditional circuits being unable to meet the light adjustment requirements on cloudy days or in hot summers is solved, achieving intelligent light adjustment and energy-saving effects.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- ZHONGSHAN HENGNENG ELECTRONIC TECH CO LTD
- Filing Date
- 2025-06-25
- Publication Date
- 2026-07-14
AI Technical Summary
Traditional office light automatic light adjustment circuits can only adjust the light based on changes in time, which cannot meet the light adjustment needs in special environments such as cloudy days or hot summer days.
An automatic lighting adjustment circuit for office lights based on time-varying changes is adopted. It combines a photoresistor and an analog-to-digital converter PCF8591 to detect the ambient light level, and uses a microcontroller to control the switching on and off of the lighting lights and the number of lights that can be turned on. Button control is added to meet the needs of special situations.
It enables automatic adjustment of lighting brightness and color temperature in different environments, meeting the lighting adjustment needs in special environments such as cloudy days or hot summers, and improving visual comfort and energy efficiency.
Smart Images

Figure CN224503574U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of automatic lighting adjustment circuit technology, specifically an automatic lighting adjustment circuit for office lamps based on time-varying changes. Background Technology
[0002] Automatic lighting adjustment circuits can automatically adjust lighting brightness based on ambient light and personnel activity, avoiding excessive lighting and insufficient illumination in unoccupied areas, thereby significantly reducing energy consumption. For example, on sunny mornings, the system automatically dims indoor lights to utilize natural light; while on cloudy days or in the afternoon, it appropriately increases indoor light brightness, ensuring employee visual comfort while reducing energy waste. By automatically adjusting lighting brightness and color temperature, intelligent lighting systems can provide employees with a comfortable working environment. For instance, in conference rooms, intelligent lighting systems can automatically adjust the brightness and color temperature of the lights according to different meeting needs, such as projection and whiteboard writing, providing participants with a clear and comfortable visual environment, thereby improving work efficiency and satisfaction.
[0003] However, traditional automatic light adjustment circuits for office lights have the following drawbacks:
[0004] Traditional office light automatic light adjustment circuits can only adjust the light intensity of office lights by changing the time, which cannot meet the needs of office lights to adjust the light intensity in cloudy or hot summer environments. Utility Model Content
[0005] The purpose of this invention is to provide an automatic light adjustment circuit for office lamps based on time changes, in order to solve the problem mentioned in the background art that the traditional automatic light adjustment circuit for office lamps can only adjust the light beam of the office lamp by changing the time, and cannot meet the needs of adjusting the light of the office lamp in cloudy or hot summer environments.
[0006] To achieve the above objectives, this utility model provides the following technical solution: an automatic office lamp lighting adjustment circuit based on time-varying changes, comprising an automatic office lamp lighting adjustment circuit, wherein the automatic office lamp lighting adjustment circuit includes a power supply module, a keyboard module, a real-time clock module, a main control unit, a control module, a digital tube display module, and an ambient light detection module, wherein the power supply module, the keyboard module, and the ambient light detection module are connected, the real-time clock module is bidirectionally connected to the main control unit, and the main control unit is connected to both the control module and the digital tube display module.
[0007] Preferably, the ambient light / darkness detection module includes an analog-to-digital converter (ADC) U5, a resistor R17, a diode D9, a resistor R18, a photoresistor, and a resistor R13. Pin 1 of the ADC U5 is connected to one end of the photoresistor and one end of the resistor R13. Pin 15 of the ADC U5 is connected to one end of the resistor R17. The other end of the resistor R17 is connected to one end of the diode D9. Pin 14 of the ADC U5 is connected to one end of the resistor R18. The other end of the photoresistor, pins 5, 6, 7, and 8 of the ADC U5, the other end of the diode D9, pins 13 and 12 of the ADC U5 are all grounded.
[0008] Preferably, the analog-to-digital converter U5 is model PCF8591.
[0009] Preferably, the resistance value of resistor R13 is 10K, the resistance value of resistor R18 is 10K, and the resistance value of photoresistor is 10K.
[0010] Preferably, the keyboard module includes current transformers P2.0, P2.1, P2.2, P2.3, P3.3, P3.2, a time setting mode switch key S1, an increment function key S2, a decrement function key S3, an confirmation key S4, a forced light-on key S5, and a forced light-off key S6. One end of the current transformer P2.0 is connected to one end of the time setting mode switch key S1, and one end of the current transformer P2.1 is connected to one end of the increment function key S2. One end of current transformer P2.2 is connected to one end of the decrement function key S3, one end of current transformer P2.3 is connected to one end of the confirmation key S4, one end of current transformer P3.2 is connected to one end of the forced light-on key S5, and one end of current transformer P3.3 is connected to one end of the forced light-off key S6. The other ends of the time setting mode switching key S1, the plus function key S2, the decrement function key S3, the confirmation key S4, the forced light-on key S5, and the forced light-off key S6 are all grounded.
[0011] Compared with the prior art, the beneficial effects of this utility model are: the circuit integrates forced start / stop, intelligent time-sharing adjustment, and intelligent light adjustment control into a street light control device. The automatic dimming circuit has the main feature of dual intelligent control of time and light. The ambient light detection module detects the ambient light level. During the energy-saving period, the office lights are adjusted according to the needs. In special circumstances, the street lights can also be forcibly switched on and off by the button. The number of lights that can be forcibly turned on can also be set arbitrarily to meet people's needs for adjusting the light of office lights. Attached Figure Description
[0012] Figure 1 This is a schematic diagram of the automatic light adjustment circuit for the office lamp of this utility model;
[0013] Figure 2 This is the circuit diagram of the ambient light / darkness detection module of this utility model;
[0014] Figure 3 This is the circuit diagram of the keyboard module of this utility model. Detailed Implementation
[0015] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention.
[0016] Please see Figure 1-3 This utility model provides an automatic office light adjustment circuit based on time-varying changes. The circuit includes a power supply module, a keyboard module, a real-time clock module, a main control unit, a control module, a digital tube display module, and an ambient light detection module. The power supply module, keyboard module, and ambient light detection module are connected. The real-time clock module is bidirectionally connected to the main control unit. The main control unit is connected to both the control module and the digital tube display module.
[0017] The ambient light / darkness detection module includes an analog-to-digital converter (ADC) U5, a resistor R17, a diode D9, a resistor R18, a photoresistor, and a resistor R13. Pin 1 of ADC U5 is connected to one end of the photoresistor and one end of resistor R13. Pin 15 of ADC U5 is connected to one end of resistor R17. The other end of resistor R17 is connected to one end of diode D9. Pin 14 of ADC U5 is connected to one end of resistor R18. The other end of the photoresistor, pins 5, 6, 7, and 8 of ADC U5, the other end of diode D9, pins 13 and 12 of ADC U5 are all grounded.
[0018] The model number of the analog-to-digital converter U5 is PCF8591.
[0019] The resistance of resistor R13 is 10K, the resistance of resistor R18 is 10K, and the resistance of photoresistor is 10K.
[0020] The keyboard module includes current transformers P2.0, P2.1, P2.2, P2.3, P3.3, and P3.2; a time setting mode switch key S1; an increment function key S2; a decrement function key S3; an confirmation key S4; a forced light-on key S5; and a forced light-off key S6. One end of current transformer P2.0 is connected to one end of the time setting mode switch key S1, and one end of current transformer P2.1 is connected to one end of the increment function key S2. One end of current transformer P2.2 is connected to one end of the decrement function key S3, one end of current transformer P2.3 is connected to one end of the confirmation key S4, one end of current transformer P3.2 is connected to one end of the forced light-on key S5, and one end of current transformer P3.3 is connected to one end of the forced light-off key S6. The other ends of the time setting mode switch key S1, the plus function key S2, the decrement function key S3, the confirmation key S4, the forced light-on key S5, and the forced light-off key S6 are all grounded.
[0021] In this embodiment, the following is used: a microcontroller is employed as the core of the controller. Function selection and parameter setting are performed using buttons. The time and the number of lights on and off are displayed in real time via LED digital tubes. A photoresistor-type brightness sensor and an AD converter are used to provide the detected ambient light level signal to the microcontroller, which then automatically controls the switching on and off of the lighting lights and the number of lights on. There are three street light operating modes: an energy-saving period from midnight to 5 AM, during which only half of the office lights are turned on; the time range and the number of lights switched on and off can be arbitrarily set; during the alternation of day and night, the ambient brightness sensor determines whether the street lights are on or off; and in special circumstances, the buttons can be used to forcibly switch the street lights on and off, and the number of lights forcibly turned on can also be arbitrarily set.
[0022] The ambient light level is detected by combining a photoresistor with a PCF8591 analog-to-digital converter. The selected photoresistor is a negative temperature coefficient photoresistor with a light resistance value varying between 2K and 10K. In the circuit, a 10K resistor R13 is connected in series with the photoresistor to form a voltage divider circuit. When the brightness of the light shining on the photoresistor changes, the resistance value of the photoresistor also changes accordingly. The trend is that the resistance decreases as the light intensity increases, and vice versa. The voltage value obtained by channel 0 of the PCF8591 decreases as the light intensity increases. The PCF8591 converts the obtained voltage signal into a digital signal and sends it to the microcontroller for processing through specific operations. In this way, the ambient light level signal is collected and converted into an analog-to-digital signal, enabling the system to indirectly analyze and process the ambient light level signal.
[0023] Of the six keys in the keyboard module, S1-S4 are connected to P2.0-P2.3 respectively, and S5 and S6 are connected to P3.2 and P3.3 respectively. When any of the six keys is pressed, the port connected to it is pulled low. S1 is the time setting mode switching key, S2 is set as the "increase" function key, S3 is set as the "decrease" function key, S4 is the confirmation key, S5 is the forced light-on key, and S6 is the forced light-off key.
[0024] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A time-varying automatic light adjustment circuit for office lamps, comprising an automatic light adjustment circuit for office lamps, characterized in that: The automatic lighting adjustment circuit for the office lamp includes a power supply module, a keyboard module, a real-time clock module, a main control unit, a control module, a digital tube display module, and an ambient light detection module. The power supply module, keyboard module, and ambient light detection module are connected together. The real-time clock module is bidirectionally connected to the main control unit. The main control unit is connected to both the control module and the digital tube display module.
2. The automatic light adjustment circuit for office lamps based on time-varying changes according to claim 1, characterized in that: The ambient light / darkness detection module includes an analog-to-digital converter (ADC) U5, a resistor R17, a diode D9, a resistor R18, a photoresistor, and a resistor R13. Pin 1 of the ADC U5 is connected to one end of the photoresistor and one end of the resistor R13. Pin 15 of the ADC U5 is connected to one end of the resistor R17. The other end of the resistor R17 is connected to one end of the diode D9. Pin 14 of the ADC U5 is connected to one end of the resistor R18. The other end of the photoresistor, pins 5, 6, 7, and 8 of the ADC U5, the other end of the diode D9, pins 13 and 12 of the ADC U5 are all grounded.
3. The automatic light adjustment circuit for office lamps based on time-varying changes according to claim 2, characterized in that: The analog-to-digital converter U5 is model PCF8591.
4. The automatic light adjustment circuit for office lamps based on time variation according to claim 2, characterized in that: The resistance value of resistor R13 is 10K, the resistance value of resistor R18 is 10K, and the resistance value of photoresistor is 10K.
5. The automatic light adjustment circuit for office lamps based on time variation according to claim 1, characterized in that: The keyboard module includes current transformers P2.0, P2.1, P2.2, P2.3, P3.3, and P3.2; a time setting mode switch key S1; an increment function key S2; a decrement function key S3; an confirmation key S4; a forced light-on key S5; and a forced light-off key S6. One end of current transformer P2.0 is connected to one end of the time setting mode switch key S1, and one end of current transformer P2.1 is connected to one end of the increment function key S2. One end of current transformer P2.2 is connected to one end of the decrement function key S3, one end of current transformer P2.3 is connected to one end of the confirmation key S4, one end of current transformer P3.2 is connected to one end of the forced light-on key S5, and one end of current transformer P3.3 is connected to one end of the forced light-off key S6. The other ends of the time setting mode switching key S1, the plus function key S2, the decrement function key S3, the confirmation key S4, the forced light-on key S5, and the forced light-off key S6 are all grounded.