Intelligent lighting control system and method
By adopting the small PLC controller and sensor system of the Siemens S7-200 series in the field of education, the problem of low efficiency of traditional lighting control and energy waste of energy is solved, intelligent lighting control is achieved, and teaching efficiency and energy utilization have been improved.
Patent Information
- Application Number
- CN202411216857.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2025-01-21
AI Technical Summary
Traditional manual control methods have led to inefficiency in lighting facilities and waste of energy in the education field, and an intelligent lighting control system is urgently needed to improve work efficiency and save energy.
Siemens S7-200 series small PLC is used as the core controller, combined with photosensitive sensors, infrared sensors and LED lights, to automatically detect ambient light intensity, adjust lighting brightness and control the switch of lighting equipment through the ladder diagram program of the PLC controller.
The functions of automatic detection of environmental light, adjustment of illumination of illumination, and timing switching lights according to demand, reducing energy loss, improving teaching efficiency, and creating a comfortable learning environment for teachers and students.
Smart Images

Figure CN119342641A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent lighting, and in particular relates to an intelligent lighting control system and method. Background Art
[0002] At present, enterprises and schools in all walks of life are taking the path of green and low-carbon development. Most lighting facilities in my country's education field use traditional manual control methods. Traditional lighting methods are not only inefficient, but also easily cause energy waste. In order to solve this energy loss and waste problem and improve work efficiency, an intelligent lighting control system is urgently needed. Summary of the invention
[0003] The purpose of the present invention is to overcome the defects of the prior art and provide an intelligent lighting control system and method.
[0004] To achieve the above object, the present invention adopts the following technical solutions:
[0005] In a first aspect, an intelligent lighting control system includes a PLC controller, wherein an input end of the PLC controller is connected to a control button, a multi-way switch and a projector switch, an output end of the PLC controller is connected to a plurality of fluorescent lamps, and the multi-way switch is provided with a plurality of infrared sensors and a plurality of photosensitive sensors;
[0006] The PLC controller includes a central processing module, a memory, an I / O development module, a power module and a communication interface module.
[0007] Preferably, the central processing module is used to read instructions from the memory, execute instructions, fetch an instruction, and handle interrupts;
[0008] The memory is used to store system programs, user programs and working data, solidify system management programs and application programs;
[0009] The I / O development module includes an input / output module, the input module is used to receive various signals from sensors, and the output module is used to output instructions obtained after the programmable controller calculates and complete various types of system control through the actuator.
[0010] Preferably, the power module converts the external power supply into an internal operating voltage to supply power to the central processing module and the I / O development module;
[0011] The communication interface module is used to connect the PLC and other devices to achieve the functions of remote control, data collection, and parameter setting.
[0012] Preferably, the PLC controller model is Siemens PLC S7-200 CPU224.
[0013] Preferably, the ladder diagram program of the PLC controller includes an input part, a judgment part, an execution part and an output part. The input part is used to integrate the relevant circuits of the programmable controller and provide a corresponding interface for the programmable controller and the circuit; the judgment part and the execution part are used to realize the AD conversion function, and the digital signal can be transmitted to the logic controller; the output part is used to realize the DA conversion function, thereby supporting the system control
[0014] Preferably, in the ladder diagram program of the PLC controller, I0.0 is the start switch, I0.1 is the stop switch, I0.2 is the projection switch, I0.3-I0.7 are the photosensor input point addresses, I1.0-I1.4 are the infrared sensor input point addresses, the addresses of the output point area lights are represented by Q0.0-Q0.4, and timer T37 is delayed for 60 seconds.
[0015] In a second aspect, an intelligent lighting control method is provided, characterized in that it includes: making choices and judgments based on the time periods when students are in class, and then adjusting the brightness of each lighting system.
[0016] Preferably, the function of controlling the light of the intelligent lighting control system will enter a dormant state between 23:00 pm and 06:30 am, and the lights in the classroom can only be turned on and off manually. Whether the classroom is illuminated enough and whether there are people in the classroom is reflected in the control system controlling the lights between 06:30 am and 23:00 pm. In addition, after the projector switch in the podium area is turned on, the system will have a 60-second delay and then turn off the lights in the podium area.
[0017] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0018] In the present invention, the Siemens S7-200 series small PLC is used as the core controller, which works in conjunction with sensors, communication modules and LED lights, transmits the ambient light intensity information transmitted by the photosensitive sensor and the infrared sensor to the PLC controller for processing, and sends instructions to flexibly control the switch and brightness of the LED lamp according to the preset program control; the system can realize remote control of lighting equipment and monitor the operating status of lighting equipment, and can timely discover problems and handle abnormalities. When the system fails, the switch of the lighting equipment can be manually controlled to reduce unnecessary lighting loss. Teachers can control the lighting of the classroom according to the changes in light and the flow of people; it creates a comfortable teaching and learning environment for teachers and students, improves teaching efficiency, and reduces energy loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is the architecture diagram of the classroom partition control system of the present invention;
[0020] Figure 2 It is the external schematic diagram of the PLC of the present invention;
[0021] Figure 3 It is a schematic diagram of the working principle of the photosensor of the present invention;
[0022] Figure 4 It is a schematic diagram of classroom area control of the present invention;
[0023] Figure 5 is a flow chart of the method of the present invention;
[0024] Figure 6 Schematic diagram of the main interface of S7-200 simulation software in an embodiment of the present invention;
[0025] Figure 7 This is a simulation result diagram of sufficient lighting in an empty classroom according to an embodiment of the present invention;
[0026] Figure 8 This is a simulation result diagram of insufficient light illumination in a classroom with people in the embodiment of the present invention;
[0027] Fig. 9 This is a simulation result diagram of a classroom with sufficient lighting when there are people in it according to an embodiment of the present invention;
[0028] Fig.10 This is a simulation result diagram of the classroom starting projection switch in an embodiment of the present invention;
[0029] Fig.11 This is a simulation result diagram of a classroom with people at night according to an embodiment of the present invention;
[0030] Fig.12 This is a simulation result diagram of an empty classroom at night according to an embodiment of the present invention;
[0031] Fig.13 is a diagram of a system deep sleep simulation result in an embodiment of the present invention;
[0032] Fig.14 is a comparison diagram before and after pressing the stop button in an embodiment of the present invention;
[0033] Figure 15(a) is a schematic diagram of the parameter interface of the configuration software Figure 1 ;
[0034] Figure 15(b) is a schematic diagram of the parameter interface of the configuration software Figure 2 ;
[0035] Figure 15(c) is a schematic diagram of the parameter interface of the configuration software Figure 3 ;
[0036] Fig.16 It is a configuration interface design diagram in an embodiment of the present invention;
[0037] Fig.17 This is a simulation interface effect diagram of a classroom from 06:30 to 19:00 in an embodiment of the present invention;
[0038] Fig.18 This is a simulation interface effect diagram of a classroom from 19:00 to 23:00 in an embodiment of the present invention;
[0039] Fig.19 This is a simulation interface effect diagram of a classroom from 23:00 to 06:30 in an embodiment of the present invention;
[0040] Fig. 20 It is a diagram showing the effect of pressing the stop and projection switch simulation interface in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The specific embodiments of the present invention are described in detail below.
[0042] The "range" disclosed in the present invention is defined in the form of a lower limit and an upper limit, and a given range is defined by selecting a lower limit and an upper limit, and the selected lower limit and upper limit define the boundaries of the particular range. The range defined in this way can be inclusive or exclusive of the end values, and can be arbitrarily combined, that is, any lower limit can be combined with any upper limit to form a range. For example, if a range of 10 to 50 is listed for a specific parameter, it is understood that the range of 10 to 40 and 20 to 50 is also expected. In addition, if the minimum range values 1 and 2 are listed, and if the maximum range values 3, 4 and 5 are listed, the following ranges can all be expected: 1 to 3, 1 to 4, 1 to 5, 2 to 3, 2 to 4 and 2 to 5. In this application, unless otherwise specified, the range of values "a to b" represents an abbreviation of any real number combination between a and b, where a and b are both real numbers. For example, the range of values "0 to 5" means that all real numbers between "0 to 5" have been fully listed in this article, and "0 to 5" is only an abbreviation of these numerical combinations.
[0043] Unless otherwise specified, all embodiments and optional embodiments of the present application can be combined with each other to form a new technical solution.
[0044] Unless otherwise specified, all technical features and optional technical features of this application can be combined with each other to form a new technical solution.
[0045] If there is no special explanation, all steps of the present application can be performed sequentially or randomly, preferably sequentially. For example, the method includes steps (a) and (b), which means that the method may include steps (a) and (b) performed sequentially, or may include steps (b) and (a) performed sequentially. For example, the method may further include step (c), which means that step (c) may be added to the method in any order. For example, the method may include steps (a), (b) and (c), or may include steps (a), (c) and (b), or may include steps (c), (a) and (b), etc.
[0046] If there is no special explanation, the "include" and "comprising" mentioned in this application are open-ended or closed-ended. For example, the "include" and "comprising" may mean that other components not listed may also be included or only the listed components may be included or only the listed components may be included.
[0047] Unless otherwise specified, the reaction is carried out at room temperature and pressure.
[0048] Unless otherwise specified, all parts or percentages are by weight.
[0049] In the present invention, all substances used are known substances and can be purchased or synthesized by known methods.
[0050] In the present invention, the devices or equipment used are all conventional devices or equipment known in the art and are commercially available.
[0051] The following is a further description of the specific implementation of an intelligent lighting control system and method of the present invention in conjunction with the embodiments. An intelligent lighting control system and method of the present invention are not limited to the description of the following embodiments.
[0052] Embodiment 1:
[0053] An intelligent lighting control system, such as Figure 1 As shown, it includes a PLC controller, the input end of the PLC controller is connected to a control button, a multi-way switch and a projector switch, the output end of the PLC controller is connected to a number of fluorescent lamps, and the multi-way switch is provided with a number of infrared sensors and a number of photosensitive sensors;
[0054] like Figure 2 As shown, the PLC controller includes a central processing module, a memory, an I / O development module, a power module and a communication interface module.
[0055] Furthermore, the central processing module is used to read instructions from the memory, execute instructions, fetch an instruction, and handle interrupts;
[0056] The memory is used to store system programs, user programs and working data, and to solidify system management programs and application programs;
[0057] The I / O development module includes an input / output module. The input module is used to receive various signals from sensors, and the output module is used to output the instructions obtained after the programmable controller calculates and complete various types of system control through the actuator.
[0058] Furthermore, the power module converts the external power into the internal working voltage to supply power to the central processing module and the I / O development module;
[0059] The communication interface module is used to connect PLC and other devices to realize the functions of remote control, data acquisition and parameter setting.
[0060] Furthermore, the PLC controller model is Siemens PLC S7-200 CPU224.
[0061] Furthermore, the CPU 224 in the Siemens PLC S7-200 has 14 input points and 10 output points, a storage capacity of 12K, a data storage capacity of 8K, strong scalability, powerful communication functions, and ease of use. It can provide users with reasonable small-scale automation control system solutions, save programs for users, and improve engineering efficiency. Taking the classroom as an example, the intelligent lighting control system chooses to use the CPU224 module to achieve a reasonable allocation of input and output points based on the partition control of the classroom, and cooperates with sensors to monitor light intensity and environment to better achieve intelligent lighting control effects.
[0062] Furthermore, the ladder diagram program of the PLC controller includes an input part, a judgment part, an execution part and an output part. The input part is used to integrate the relevant circuits of the programmable controller and provide a corresponding interface for the programmable controller and the circuit; the judgment part and the execution part are used to realize the AD conversion function, and the digital signal can be transmitted to the logic controller. The output part is used to realize the DA conversion function, thereby supporting system control.
[0063] Furthermore, in the ladder diagram program of the PLC controller, I0.0 is the start switch, I0.1 is the stop switch, I0.2 is the projection switch, I0.3-I0.7 are the photosensor input point addresses, I1.0-I1.4 are the infrared sensor input point addresses, the addresses of the output point area lights are represented by Q0.0-Q0.4, and the timer T37 delays for 60 seconds.
[0064] The address allocation of the component names controlled by the ladder diagram program is shown in Table 1.
[0065] Table 1 Input point output point allocation table
[0066]
[0067] Furthermore, PLC, as the core controller, controls the switch and brightness of LED lamps according to the preset program based on the ambient light intensity information transmitted by the sensor. The system has the functions of automatically detecting the ambient light intensity, adjusting the lighting brightness according to the demand, and timing the switch of the lamp. Figure 2 As shown in the figure, according to the control requirements of the system, the input and output terminals of the PLC external wiring are reasonably connected to better achieve the control effect. The system uses the CPU224 model PLC controller. I0.0 to I0.3 are the start switch, stop switch, and projection switch, I0.3 to I0.7 are photosensitive sensors, I1.0 to I0.4 are infrared sensors, Q0.0 to Q0.4 are load lights, and use 220V AC voltage.
[0068] Furthermore, PLC refers to a programmable logic controller, which is a digital electronic device specially used for industrial control systems. S7-200 is a small programmable PLC controller suitable for automation of detection, monitoring and control in various industries and occasions. Its powerful functions can realize complex control functions whether in independent operation or connected to a network. S7-200 has extremely unique advantages in terms of stability, security, advancement, flexibility, on-chip resources, etc. The S7-200 series PLC has a compact design and can adapt to various activity scenarios. Its high reliability and stability can work in various harsh environments. The main advantages of this series of PLCs are easy programming and debugging, support for multiple programming languages, very powerful mathematical computing capabilities, and the ability to calculate complex mathematical calculations and data processing. It can be connected to various sensors and actuators, and can also be integrated with other control systems to achieve a higher level of automation and intelligence. Based on the requirements and cost issues of the control system, the system uses a small PLC of the S7-200 series as an intelligent lighting control system.
[0069] Furthermore, the photosensitive sensor is a sensor made based on the photoelectric effect. Its basic principle is that light causes the surface material of the sensor to generate current, and the current is transmitted to the photoresistor, causing its resistance to change, thereby generating a corresponding electrical signal. This sensor can directly sense changes in light, including the intensity, color, and speed of change of light, and can convert light signals into electrical signals. Photosensitive sensors have the advantages of being pollution-free, fast response, high resolution, and low cost. In addition, photosensitive sensors can also work in various harsh environments without any auxiliary heating or auxiliary energy, with high reliability and easy to carry and use. Therefore, photosensitive sensors play an important role in many applications, such as automatic control, safety protection, photoelectric conversion, automatic tracking, etc. Its working principle is as follows Figure 3 shown.
[0070] Furthermore, an infrared sensor is an electronic device used to sense certain characteristics of the surrounding environment. This design uses an infrared sensor with high sensitivity and reliability. It can measure the heat of an object, detect the movement of an object, and analyze the signal sent from the remote control. The working principle of the infrared sensor is based on the reflection and absorption of infrared rays. When infrared rays come into contact with an object, it changes the reflectivity according to the temperature and structure of the object, and identifies and locates the movement of the object by detecting the reflection and absorption. There is a pyroelectric infrared sensor electrical component inside the infrared sensor, which can convert the received infrared rays into electronic signals. The electronic signals are processed and amplified to output the final electrical signals. The infrared sensor has the functions and characteristics of being highly sensitive, having strong anti-interference performance, being relatively easy to integrate, having high safety performance, and being able to work in dim conditions.
[0071] In one possible implementation, when the intelligent lighting control system is used for indoor environments, due to the high mobility of people and the uncertainty of their locations, as well as the differences in natural ambient light intensity in different areas of the room, the system adopts a time-sharing and area-sharing control solution. Taking the classroom as an example, the classroom is divided into 5 different areas according to the spatial distribution of the classroom, and the entire classroom is controlled by using photosensitive sensors and infrared sensors. This can improve the utilization rate of energy and achieve an ideal control energy-saving effect. The classroom is divided into multiple areas for control, such as Figure 4 shown.
[0072] In a possible implementation, Figure 5 As shown, the intelligent lighting control system makes choices and judgments based on the time periods when students are in class, and then adjusts the brightness of each lighting system.
[0073] Furthermore, the function of controlling the lights of the intelligent lighting control system will enter a dormant state between 23:00 pm and 06:30 am, and the lights in the classroom can only be turned on and off manually. Whether the classroom is illuminated enough and whether there are people in the classroom is reflected in the control system controlling the lights between 06:30 am and 23:00 pm. In addition, after starting the projector switch in the podium area, the system will have a 60-second delay and then turn off the lights in the podium area.
[0074] In a possible implementation, the intelligent lighting control system adopts two different lighting control modes. When the switch is turned on, the system is in the intelligent lighting mode, and when it is turned off, it is in the traditional manual lighting mode. In the manual mode, the on-site lighting can be disconnected and closed manually, which is a traditional lighting application; in the automatic control mode, under the premise that the light intensity reaches the threshold set indoors, the signal at this time is uploaded to the host computer to control the lighting to automatically turn off. However, on cloudy days, under the premise that the light intensity is lower than the threshold set indoors, the signal at this time is uploaded to the host computer to control the classroom lighting to automatically turn on. However, if it is monitored that no one is in class or studying in the classroom at this time, the infrared sensor is linked to prevent the host computer from issuing instructions for lighting. In addition, when students are not in class at night, someone comes to the classroom to study at this time. When the student enters the classroom, the photosensitive sensor and the human infrared sensor will be sensed, and the classroom lights will light up. If no one comes to the classroom to study, the classroom lights will automatically turn off. When the system fails. The lighting of the classroom can be controlled manually to ensure that students study normally in the classroom and reduce unnecessary lighting losses.
[0075] Furthermore, hardware and software technologies constitute the classroom intelligent lighting control system, which realizes intelligent control of classroom lighting. In the system, hardware is a key component of the intelligent lighting system and plays a vital role in ensuring the normal operation of the software program. The software part plays an important role in regulating, managing and optimizing lighting in the intelligent lighting control system, making classroom lighting more intelligent, efficient and convenient.
[0076] Furthermore, by collecting data from the classroom environment light sensor, intelligent control is performed according to the preset lighting strategy. The system mainly includes sensors, communication modules, PLC controllers and LED lamps. The sensor is responsible for collecting ambient light data, the communication module is responsible for transmitting data to the PLC controller, and the PLC controller performs logical operations and control outputs according to the preset strategy, and finally controls the switch and brightness of the LED lamps.
[0077] Furthermore, the PLC controller receives the ambient light intensity information from the sensor and controls the switch and brightness of the LED lamp according to the preset program. The system has the functions of automatically detecting the ambient light intensity, adjusting the lighting brightness according to the demand, and timing the switch of the lamp.
[0078] Furthermore, the PLC controller is the core of the entire intelligent lighting system and the most important component of the entire system. It can automatically control the lighting of the lighting equipment by receiving sensor signals, analyzing the light intensity and personnel flow in the classroom. The light intensity in the classroom can be monitored in real time by a photosensitive sensor, and the personnel situation in the classroom can be detected by an infrared sensor. These sensors transmit signals to the PLC controller to help the system make more accurate judgments. It is used to transmit the data collected by the sensor to the PLC controller, and at the same time transmit the control instructions of the PLC controller to the LED lamps. The LED lamps are the executive devices of the system and can be switched on and off according to the instructions of the PLC controller. At the same time, LED light sources are efficient, environmentally friendly, durable and diversified. Compared with traditional incandescent lamps and fluorescent lamps, it effectively saves energy.
[0079] Compared with traditional lighting, intelligent lighting control system has the following advantages:
[0080] (1) Energy saving and environmental protection: Intelligent lighting control systems use various preset control modes and control elements to accurately set and intelligently control different time and environmental conditions, thereby achieving energy saving results.
[0081] (2) Convenient management: Teachers can remotely control classroom lighting equipment, which is convenient and quick. At the same time, the system can also remotely monitor the operating status of lighting equipment and detect and handle abnormalities in a timely manner.
[0082] (3) Improve the quality of the learning environment: A good and comfortable classroom lighting environment is conducive to improving students' learning efficiency.
[0083] (4) High safety: Intelligent control of switches is safer and can also avoid potential safety hazards such as energy waste and fire caused by forgetting to turn off the lights.
[0084] Simulation experiment:
[0085] S7-200V4.0 simulation software is a simulation software tool designed for Siemens S7-200 series PLC, which is designed to help users program, debug and troubleshoot before the real hardware is put into use. The software provides a highly realistic simulation environment, enabling engineers and developers to test and verify their programs in a virtual environment, thereby reducing the risk and cost of hardware damage.
[0086] Furthermore, the simulation software has the important function of reading information from the expansion module and the CPU. Figure 6 Shown is the main interface of the software.
[0087] Simulation test:
[0088] Click the start button with the mouse to start the system simulation software and change the PLC simulation to RUN mode for simulation. The ladder diagram program is simulated using the PLC224 module. The simulation results will be controlled differently according to different system requirements:
[0089] (i) During the time period of 06:30-19:00, no one is in the classroom and the classroom is well lit. Figure 7 shown.
[0090] Furthermore, Figure 7 In the figure, the interface of the S7-200 system in system simulation is as shown in the figure a on the left. The start switch I0.0 is the number 0 in the middle row of the S7-200 system simulation interface. At this time, I0.0 is turned upward, which means that the indicator light below the start switch number 0 is on, indicating that the start switch I0.0 is started. The stop switch is represented by the number 1, and the podium projection switch is represented by the number 2. It can be seen from the figure that the stop switch and projection switch are not started. The photosensitive sensor I0.3 to I0.7 are represented by the numbers 3 to 7. At this time, they are not turned upward, which means that the classroom is well lit. The infrared sensors I1.0 to I1.4 are represented by the numbers 0 to 4 on the right in sequence. At this time, because the indicator lights below the numbers 0 to 4 on the right are not on, it means that there is no one in the classroom now. The 5 lights in the classroom area are represented by the numbers 0 to 4 in the upper left corner. The KOP page in the figure b on the right indicates that the system has started and is in the simulation running state.
[0091] (ii) During the period of 06:30-19:00, there are people in the classroom and the lighting in the classroom is insufficient.
[0092] Further, such as Figure 8 As shown, if you turn on the switches from number 3 to number 7 at the bottom of the S7-200 system simulation interface in Figure a, the corresponding small green squares will light up, and the light intensity in the five areas of the classroom will not reach the threshold of the system. If you turn on the switches from number 0 to number 4 on the right, it means that students are studying in the five areas of the classroom, so the lights in the five areas of the classroom are lit because they are controlled by the intelligent lighting control system, such as the numbers 0 to 4 that light up in the upper left corner. The purple small squares in Q0.0 to Q0.4 on the KOP page in Figure b light up, indicating that all the lights in the classroom are on. If you want to turn off the lights in a certain area, you can manually unplug the switch to turn off the lights in the corresponding area after leaving the classroom.
[0093] (3) 06:30-19:00, when there are people in the classroom and there is sufficient light.
[0094] Further, such as Fig. 9As shown, the switches from number 3 to number 7 on the left side of Figure a are not turned up, and the switches from number 0 to number 4 on the right side are turned up, and the classroom lighting reaches the set threshold. At this time, the lights in the five areas of the classroom will not be on. In the KOP page of Figure b, I1.0 to I1.4 are fully turned on, indicating that there are people in the classroom.
[0095] (IV) During the period of 06:30-19:00, there is insufficient lighting, there are people in the classroom and the projector on the podium is turned on.
[0096] Further, such as Fig.10 As shown in the figure, after the number 2 switch is turned up, it means that the projection switch of the podium area is turned on, and the T37 timer starts to work. After 60 seconds, the number 0 represents the podium area light Q0.0 is off. As shown in Figure c Q0.0, the purple small square is not lit.
[0097] (Friday) 19:00-23:00, when there are people in the classroom.
[0098] Further, such as Fig.11 As shown in the figure, at night, there is no need to consider the brightness of the classroom, only to determine whether there is someone in the classroom. The purple square on the KOP page in Figure b is lit, indicating that there is someone in the classroom. The purple square on the KOP page in Figure c is lit, indicating that the lights in the classroom area are on, and Q0.0 to Q0.4 are turned on.
[0099] (Saturday) 19:00-23:00, when the classroom is empty.
[0100] Further, such as Fig.12 As shown in Figure c, at night, we don't need to consider the brightness of the classroom, we only need to determine whether there is anyone in the classroom. At this time, there is no one in the classroom, the lights in the classroom area are not on, and Q0.0 to Q0.4 are not conducting. As shown in Figure c, Q0.0, none of the purple small squares are lit.
[0101] (VII) 23:00-06:30 when the classroom is empty.
[0102] Further, such as Fig.13 As shown, the light is insufficient from 23:00 to 6:30, and there is no one in the classroom. The corresponding contacts of the photosensitive sensors I0.3 to I0.7 are closed, the contacts of the infrared sensors I1.0 to I1.4 are disconnected, and Q0.0 to Q0.4 are not energized.
[0103] (8) Comparison before and after pressing the stop button.
[0104] Further, such as Fig.14As shown, there are people in the classroom at this time, the light is insufficient, the lights in the classroom area are on, and Q0.0 to Q0.4 are turned on. When the number 1 stop button is pressed, all the lights in the classroom area are turned off, and Q0.0 to Q0.4 are not turned on.
[0105] Furthermore, STEP7-Micro / WINV4.0 software and S7-200 simulator, Configure VirtualSerial Port Driverh, and KingView software are used together to simulate the intelligent control system of the configuration classroom. The relevant parameters are shown in Figure 15(a), Figure 15(b), and Figure 15(c). Figure 15(a) is the parameter interface 1 of the configuration software, Figure 15(b) is the parameter interface 2 of the configuration software, and Figure 15(c) is the parameter interface 3 of the configuration software:
[0106] Furthermore, FIG. 15(a), FIG. 15(b), and FIG. 15(c) are parameter interfaces of the configuration software, into which the PLC control program can be imported to realize the simulation effect of the configured control classroom intelligent lighting control system.
[0107] Configuration test results and analysis:
[0108] Design the configuration interface according to the requirements to ensure that the test interface layout is reasonable and easy to test. Fig.16 shown.
[0109] Configuration simulation test and analysis:
[0110] Start the control button of the Kingview software, and the system configuration simulation starts running. According to the control requirements, the configuration effects of the smart classroom in different time periods can be simulated.
[0111] (1) During the time period of 06:30-19:00. d: Insufficient light, someone is in the classroom; e: Sufficient light, someone is in the classroom. The simulation effect diagram interface of the system configuration test, such as Fig.17 As shown in d and e.
[0112] Furthermore, Fig.17 Figure d shows that when there are people in the classroom and the light is insufficient from 06:30 to 19:00, all the lights in the classroom area are on. Figure e shows that when there are people in the classroom and the light is sufficient from 06:30 to 19:00, all the lights in the classroom area are off.
[0113] (2) During the period from 19:00 to 23:00, someone was in the classroom and tested the system configuration. Fig.18 shown.
[0114] Furthermore, Fig.18It means that during the time period of 19:00-23:00, all lights in the classroom area will light up when someone is in the classroom system simulation.
[0115] (3) During the time period of 23:00-06:30, the simulation effect diagram interface of the system configuration test is as follows: Fig.19 shown.
[0116] Furthermore, Fig.19 It means that during the time period of 23:00-06:30, all lights in the system simulation effect classroom area are turned off.
[0117] (4) During the time period of 06:30-23:00, f: press the stop button; g: press the projection switch button. The simulation effect diagram interface of the system configuration test is as follows: Fig. 20 As shown in f, g.
[0118] Furthermore, Fig. 20 Figure f shows that during the time period of 06:30-23:00, the stop button is pressed, and the lights in the classroom area of the system simulation effect are all turned off. Figure g shows that during the time period of 06:30-23:00, the projection switch of the podium area is pressed, and after waiting for 60 seconds, the lights in the podium area will go out, and the lights in the other four areas will continue to light up.
[0119] in conclusion:
[0120] (1) Study the background and significance of classroom intelligent lighting control, understand the development status at home and abroad, and compare it with foreign countries to find out what shortcomings or advantages can be learned from China. Only by fully understanding the status and advantages and disadvantages of intelligent lighting control systems can we better combine the main problems existing in China and determine the direction of this research.
[0121] (2) Study the design scheme and working principle of the classroom intelligent lighting control system, conduct system functional analysis and research through PLC technology, sensor technology, communication technology, etc., and design an ideal solution.
[0122] (3) Study the hardware part of the classroom intelligent lighting control system and design the circuit of the hardware. Provide a detailed introduction to the functions, characteristics and principles of the key components used in the LED light source design, PLC controller design, data acquisition circuit data, and ambient light acquisition circuit design.
[0123] (4) Study the software part of the classroom intelligent lighting control system and design the software. Design a flow chart according to the control requirements of the intelligent lighting control system, write a program ladder diagram using the programming software STEP7-Micro / WIN V4.0, and continuously debug and improve it to achieve the control requirements.
[0124] (5) Conduct simulation tests on the classroom intelligent lighting control system, and realize the functions of the intelligent lighting control system through software such as STEP7-Micro / WIN V4.0 and KingView. Take a classroom in the school as an example to conduct comparative experiments. By comparing the data of the experimental results, it is found that the classroom intelligent lighting control system has made great improvements in controlling light intensity and saving energy.
[0125] In summary, through simulation testing, the function of the classroom intelligent lighting control system has been realized, and teachers can control the classroom lighting according to the changes in light and the flow of people. It creates a comfortable teaching and learning environment for teachers and students, improves teaching efficiency, and reduces energy loss.
[0126] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. An intelligent lighting control system, characterized in that: It includes a PLC controller, the input end of the PLC controller is connected to a control button, a multi-way switch and a projector switch, the output end of the PLC controller is connected to a plurality of fluorescent lamps, and the multi-way switch is provided with a plurality of infrared sensors and a plurality of photosensitive sensors; The PLC controller includes a central processing module, a memory, an I / O development module, a power module and a communication interface module.
2. An intelligent lighting control system as claimed in claim 1, characterized in that: The central processing module is used to read instructions from the memory, execute instructions, take down an instruction, and handle interrupts; The memory is used to store system programs, user programs and working data, solidify system management programs and application programs; The I / O development module includes an input / output module, the input module is used to receive various signals from sensors, and the output module is used to output instructions obtained after the programmable controller calculates and complete various types of system control through the actuator.
3. An intelligent lighting control system as claimed in claim 1, characterized in that: The power module converts the external power into internal working voltage to supply power to the central processing module and the I / O development module; The communication interface module is used to connect the PLC and other devices to achieve the functions of remote control, data collection, and parameter setting.
4. The intelligent lighting control system according to claim 1, characterized in that: The PLC controller model is Siemens PLC S7-200 CPU224.
5. The intelligent lighting control system according to claim 1, characterized in that: The ladder diagram program of the PLC controller includes an input part, a judgment part, an execution part and an output part. The input part is used to integrate the relevant circuits of the programmable controller and provide a corresponding interface for the programmable controller and the circuit; the judgment part and the execution part are used to realize the AD conversion function, and the digital signal can be transmitted to the logic controller. The output part is used to realize the DA conversion function, thereby supporting system control.
6. The intelligent lighting control system according to claim 1, characterized in that: In the ladder diagram program of the PLC controller, I0.0 is the start switch, I0.1 is the stop switch, I0.2 is the projection switch, I0.3-I0.7 are the input point addresses of the photosensor, I1.0-I1.4 are the input point addresses of the infrared sensor, the address of the output point area light is represented by Q0.0-Q0.4, and the timer T37 delays for 60 seconds.
7. A control method for an intelligent lighting control system according to any one of claims 1 to 6, characterized in that: include: Make choices and judgments based on the time periods when students are in class, and then adjust the brightness of each lighting system.
8. An intelligent lighting control method as claimed in claim 7, characterized in that: The intelligent lighting control system will enter a dormant state between 23:00 pm and 06:30 am, and the lights in the classroom can only be turned on and off manually. Whether the classroom is well lit and whether there are people in the classroom is reflected in the control system between 06:30 am and 23:00 pm to control the lights. In addition, after the projector switch in the podium area is turned on, the system will have a 60-second delay and then turn off the lights in the podium area.