Classroom illumination control system with people number detection function

By introducing the number of people detection and ambient brightness detection functions into the classroom lighting system, intelligent and automated control is achieved, which solves the problem of the traditional system being unable to adapt to environmental changes and improves the system's flexibility and energy efficiency.

CN221784380UActive Publication Date: 2024-09-27NINGBO UTEC ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323237069.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-09-27
Estimated Expiration
2033-11-29

AI Technical Summary

Technical Problem

Traditional classroom lighting systems lack intelligent and automated control and cannot flexibly adjust lights to adapt to environmental changes and different needs.

Method used

A classroom lighting control system with number of people detection is designed, including LED light source module, human body detection module, photosensitive identification module, SMG digital drive module and microcontroller module. It uses a 5V power supply module and uses infrared transmitting tubes and photosensitive receiving tubes to detect the number of people. and ambient brightness, the microcontroller and digital tube driver module automatically adjust the brightness of the LED lights and display the number of people.

Benefits of technology

Intelligent and automated control of the classroom lighting system has been realized, and the brightness of the LED lights can be automatically adjusted according to real-time environmental changes and the number of people, enhancing human-computer interaction and reducing energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221784380U
    Figure CN221784380U
Patent Text Reader

Abstract

The utility model relates to a classroom illumination control system with people number detection, comprising a power supply module, an LED light source module, a human body detection module, a photosensitive identification module, an SMG digital driving module and a single-chip microcomputer module, the power supply module provides a power supply required by work for the classroom illumination control system, and the human body detection module uses infrared geminate transistors to identify the number of passing people. The photosensitive recognition module recognizes the ambient brightness through a photosensitive resistor, and the single-chip microcomputer module obtains signals output by the human body detection module and the photosensitive recognition module and controls the LED light source module and the SMG digital driving module to make corresponding changes, including time display, people number display and LED illumination matched with the ambient brightness and the people number. According to the utility model, the intelligent and automatic control of the illumination control system is realized, the LED lamps can be automatically adjusted autonomously and flexibly according to the real-time environment change (including the environment brightness and the number of people in a classroom), the man-machine interaction is stronger, and the energy consumption can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the field of lighting circuits, and in particular relates to a classroom lighting control system with number detection. Background Art

[0002] As an indispensable part of the classroom environment, the classroom lighting system also plays an important role in improving the quality of teaching. The current traditional classroom lighting system is usually a hardware system that lacks intelligent and automated control. It cannot flexibly adjust automatically according to real-time environmental changes, nor can it cope with different lighting scenarios. Utility Model Content

[0003] The purpose of the utility model is to overcome the deficiencies in the above-mentioned prior art, thereby providing a classroom lighting control system with number detection.

[0004] The technical solution adopted by the utility model to solve its technical problems is:

[0005] A classroom lighting control system with number detection, comprising a power supply module capable of realizing 5V power output and an LED light source module, a human body detection module, a photosensitive recognition module, an SMG digital drive module and a single-chip computer module respectively connected to the power supply module, characterized in that: the LED light source module is composed of LED lamp 1, LED lamp 2, LED lamp 3, LED lamp 4, LED lamp 5, LED lamp 6, LED lamp 7, LED lamp 8, resistor 25, resistor 26, resistor 27, resistor 28, resistor 29, resistor 30, resistor 31, resistor 32, transistor 3, transistor 4, transistor 5 and transistor 6, wherein the positive electrode of LED lamp 1, the positive electrode of LED lamp 2, the positive electrode of LED lamp 3, the positive electrode of LED lamp 4, and the positive electrode of L The positive pole of ED lamp 5, the positive pole of LED lamp 6, the positive pole of LED lamp 7, and the positive pole of LED lamp 8 are connected to a 5V power supply. The negative pole of LED lamp 1 and the negative pole of LED lamp 2 are connected to one end of resistor 26. The negative pole of LED lamp 3 and the negative pole of LED lamp 4 are connected to one end of resistor 28. The negative pole of LED lamp 5 and the negative pole of LED lamp 6 are connected to one end of resistor 31. The negative pole of LED lamp 7 and the negative pole of LED lamp 8 are connected to one end of resistor 32. The other end of resistor 26 is connected to the collector of transistor 3, the other end of resistor 28 is connected to the collector of transistor 4, the other end of resistor 30 is connected to the collector of transistor 5, the other end of resistor 32 is connected to the collector of transistor 6, the emitter of transistor 3, the emitter of transistor 4, the emitter of transistor 5, and the emitter of transistor 6 are grounded, and the base of transistor 3 is connected to the The base of transistor 4 is connected to one end of resistor 25, the base of transistor 4 is connected to one end of resistor 27, the base of transistor 5 is connected to one end of resistor 29, the base of transistor 6 is connected to one end of resistor 31, the other end of resistor 25 is connected to network label LD1, the other end of resistor 27 is connected to network label LD2, the other end of resistor 29 is connected to network label LD3, and the other end of resistor 31 is connected to network label LD4; the human body detection module is composed of resistor 19, resistor 20, resistor 21, resistor 22, resistor 23, resistor 24, infrared transmitting tube 1, infrared transmitting tube 2, photosensitive receiving tube 1, photosensitive receiving tube 2, capacitor 3, and capacitor 4, among which one end of resistor 19, one end of resistor 21, one end of resistor 21, and one end of resistor 22 are respectively connected to 5V power supply, and the other end of resistor 19 is connected to infrared transmitting tube 1, infrared transmitting tube 2, photosensitive receiving tube 1, photosensitive receiving tube 2, capacitor 3, and capacitor 4. The positive electrode of infrared emitting tube one, the other end of resistor twenty is connected to the positive electrode of infrared emitting tube two, the other end of resistor two-one is connected to the positive electrode of photosensitive receiving tube one, the other end of resistor two-two is connected to the positive electrode of photosensitive receiving tube two, the negative electrode of photosensitive receiving tube one, one end of resistor two-two, and one end of capacitor three are connected to network label IR1, the negative electrode of photosensitive receiving tube two, one end of resistor two-four, and one end of capacitor four are connected to network label IR2, the negative electrode of infrared emitting tube one, the negative electrode of infrared emitting tube two, the other end of resistor two-two, the other end of capacitor three, the other end of resistor two-four, and the other end of capacitor four are grounded respectively; the photosensitive identification module is composed of a photoresistor, resistor three-three, and capacitor six, wherein one end of the photoresistor is connected to a 5V power supply, and the other end of the photoresistor, one end of resistor three-three, and one end of capacitor six are connected to network label ADINT,The other end of resistor 33 and the other end of capacitor 6 are grounded respectively; the SMG digital drive module consists of a four-digit digital tube, a two-digit digital tube, a digital tube driver IC, resistor 1, resistor 2, resistor 3, resistor 4, resistor 5, resistor 6, resistor 7, resistor 8, resistor 9, resistor 10, resistor 11, resistor 12, resistor 13, resistor 14, resistor 15, resistor 16, resistor 17, resistor 18, capacitor 2, capacitor 7, capacitor 8, and electrolytic capacitor 3, wherein the A pin of the four-digit digital tube is connected to one end of resistor 1, the B pin of the four-digit digital tube is connected to one end of resistor 2, the C pin of the four-digit digital tube is connected to one end of resistor 3, the D pin of the four-digit digital tube is connected to one end of resistor 4, the E pin of the four-digit digital tube is connected to one end of resistor 5, the F pin of the four-digit digital tube is connected to one end of resistor 6, and the four-digit digital tube is connected to one end of resistor 7. The G pin of the tube is connected to one end of resistor seven, the H pin of the four-digit digital tube is connected to one end of resistor eight, the 1st pin of the four-digit digital tube is connected to the network labeled COM1, the 2nd pin of the four-digit digital tube is connected to the network labeled COM2, the 3rd pin of the four-digit digital tube is connected to the network labeled COM3, the 4th pin of the four-digit digital tube is connected to the network labeled COM4, ​​the other end of resistor one is connected to the network labeled SEGA, the other end of resistor two is connected to the network labeled SEGB, the other end of resistor three is connected to the network labeled SEGC, the other end of resistor four is connected to the network labeled SEGD, the other end of resistor five is connected to the network labeled SEGE, the other end of resistor six is ​​connected to the network labeled SEGF, the other end of resistor seven is connected to the network labeled SEGG, the other end of resistor eight is connected to the network labeled SEGDP, the 1st pin of the two-digit digital tube is connected to the network The network is marked COM5, the 2nd pin of the two-digit digital tube is connected to the network marked COM6, the A pin of the two-digit digital tube is connected to the end of the resistor nine, the B pin of the two-digit digital tube is connected to the end of the resistor eleven, the C pin of the two-digit digital tube is connected to the end of the resistor eleven, the D pin of the two-digit digital tube is connected to the end of the resistor twelve, the E pin of the two-digit digital tube is connected to the end of the resistor thirteen, the F pin of the two-digit digital tube is connected to the end of the resistor fourteen, the G pin of the two-digit digital tube is connected to the end of the resistor fifteen, the dp pin of the two-digit digital tube is connected to the end of the resistor sixteen, the other end of the resistor nine is connected to the network marked SEGA, the other end of the resistor ten is connected to the network marked SEGB, the other end of the resistor eleven is connected to the network marked SEGC, the other end of the resistor twelve is connected to the network marked SEGD, the other end of the resistor thirteen is connected to the network marked SEGE, the resistor fourteen The other end is connected to the network labeled SEGF, the other end of resistor 15 is connected to the network labeled SEGG, the other end of resistor 16 is connected to the network labeled SEGDP, the 6th pin of the digital tube driver IC, the first end of capacitor 2, and the negative pole of electrolytic capacitor 3 are grounded, the 7th pin of the digital tube driver IC, the first end of resistor 18, and the first end of capacitor 8 are connected to the network labeled DIN, the 8th pin of the digital tube driver IC, the first end of resistor 17, and the first end of capacitor 7 are connected to the network labeled SCLK, the 9th pin of the digital tube driver IC is connected to the network labeled SEGA, the 10th pin of the digital tube driver IC is connected to the network labeled SEGB, the 11th pin of the digital tube driver IC is connected to the network labeled SEGC, the 12th pin of the digital tube driver IC is connected to the network labeled SEGD, and the 13th pin of the digital tube driver IC is connected to the network labeled SEGE.Pin 14 of the digital tube driver IC is connected to the network labeled SEGF, pin 15 of the digital tube driver IC is connected to the network labeled SEGG, pin 16 of the digital tube driver IC is connected to the network labeled SEGDP, pin 17 of the digital tube driver IC, the other end of capacitor 2, and the positive electrode of electrolytic capacitor 3 are connected to a 5V power supply, pin 18 of the digital tube driver IC is connected to the network labeled COM1, pin 19 of the digital tube driver IC is connected to the network labeled COM2, pin 20 of the digital tube driver IC is connected to the network labeled COM3, pin 21 of the digital tube driver IC is connected to the network labeled COM4, ​​pin 22 of the digital tube driver IC is connected to the network labeled COM5, pin 23 of the digital tube driver IC is connected to the network labeled COM6, the other end of resistor 17 and the other end of resistor 18 are connected to a 5V power supply, and the other end of capacitor 7 and the other end of capacitor 8 are grounded; the single-chip microcomputer module consists of a single-chip microcomputer, switch 1, and switch 2 , switch three, switch four, capacitor five, among which, pin 1 of the single-chip microcomputer is connected to the network label DIN, pin 2 of the single-chip microcomputer is connected to the network label SCLK, pin 3 of the single-chip microcomputer is connected to the network label LD1, pin 4 of the single-chip microcomputer is connected to the network label LD2, pin 5 of the single-chip microcomputer is connected to the network label LD3, pin 6 of the single-chip microcomputer is connected to the network label LD4, pin 7 of the single-chip microcomputer and one end of capacitor five are grounded, pin 8 of the single-chip microcomputer is connected to the network label IR1, pin 9 of the single-chip microcomputer and the other end of capacitor five are connected to the 5V power supply, pin 10 of the single-chip microcomputer is connected to the network label IR2, pin 16 of the single-chip microcomputer is connected to one end of switch one, pin 17 of the single-chip microcomputer is connected to one end of switch two, pin 18 of the single-chip microcomputer is connected to one end of switch three, pin 19 of the single-chip microcomputer is connected to one end of switch four, pin 20 of the single-chip microcomputer is connected to the network label ADINT, and the other end of switch one, the other end of switch two, the other end of switch three, and the other end of switch four are grounded. ,

[0006] Preferably, the power supply module consists of an access terminal, electrolytic capacitor 1, electrolytic capacitor 2, diode 1, capacitor 1, and a voltage regulator, wherein access terminal 1 pin and the negative electrode of electrolytic capacitor 1 are grounded, access terminal 2 pin, the positive electrode of electrolytic capacitor 1, and the positive electrode of diode 1 are connected to a 12V power supply, the negative electrode of diode 1 outputs an 11.3V power supply, the VIN end of the voltage regulator and the first end of capacitor 1 are connected to an 11.3V power supply, the other end of capacitor 1, the GND end of the voltage regulator, and the negative electrode of electrolytic capacitor 2 are grounded, and the VOUT end of the voltage regulator and the positive electrode of electrolytic capacitor 2 output a 5V power supply.

[0007] Preferably, the voltage regulator model is 78L05.

[0008] Preferably, the transistor model is SS8050.

[0009] Preferably, the photoresistor model is 5528.

[0010] Preferably, the four-digit digital tube model is 3641.

[0011] Preferably, the two-digit digital tube model is 3621B.

[0012] Preferably, the single chip microcomputer model is N76E003AT20.

[0013] Preferably, the digital tube driver IC model is TM1640.

[0014] Preferably, the models of the transistor 3, transistor 4, transistor 5 and transistor 6 are all SS8050.

[0015] Compared with the prior art, the utility model has the following advantages and effects: the classroom lighting control system is intelligent and automated, and can autonomously and flexibly adjust the LED lights according to real-time environmental changes (including environmental brightness and the number of people in the classroom), has stronger human-computer interaction, and can also avoid energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of a power supply module according to an embodiment of the utility model.

[0017] Figure 2 It is a schematic diagram of an LED light source module according to an embodiment of the utility model.

[0018] Figure 3 Schematic diagram of a human body detection module according to an embodiment of the utility model.

[0019] Figure 4 It is a schematic diagram of a photosensitive recognition module according to an embodiment of the utility model.

[0020] Figure 5 It is a schematic diagram of the SMG digital drive module of the utility model embodiment.

[0021] Figure 6 It is a schematic diagram of a single chip microcomputer module according to an embodiment of the utility model.

[0022] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. DETAILED DESCRIPTION

[0023] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and understandable, the specific implementation methods of the present invention are described in detail below with reference to the accompanying drawings.

[0024] Example

[0025] like Figure 1-Figure 6The present embodiment includes a power supply module and an LED light source module, a human body detection module, a photosensitive identification module, an SMG digital drive module and a single-chip microcomputer U2 module respectively connected to the power supply module. The function of the power supply module is to provide the power required for the entire control system to work, and the power supply is a 5V power supply in this embodiment. The power supply module is composed of an access terminal VIN, an electrolytic capacitor EC1, an electrolytic capacitor EC2, a diode D1, a capacitor C1, and a voltage regulator U1. Specifically, the access terminal VIN1 pin, the negative electrode of the electrolytic capacitor EC1 are grounded, the access terminal VIN2 pin, the positive electrode of the electrolytic capacitor EC1, and the positive electrode of the diode D1 are connected to the 12V power supply, and the negative electrode of the diode D1 outputs 11.3V power supply, the voltage regulator U1VIN end, the capacitor C1 end are connected to the 11.3V power supply, the other end of the capacitor C1, the voltage regulator U1GND end, the negative electrode of the electrolytic capacitor EC2 are grounded, and the voltage regulator U1VOUT end and the positive electrode of the electrolytic capacitor EC2 output 5V power supply. The power supply module is connected to a 12V adapter via the input terminal VIN and outputs a 5V power supply via the voltage regulator U1.

[0026] like Figure 3 As shown, the human body detection module is composed of resistor 19 R19, resistor 20 R20, resistor 21 R21, resistor 22 R22, resistor 23 R23, resistor 24 R24, infrared transmitting tube 1 LDIR1, infrared transmitting tube 2 LDIR2, photosensitive receiving tube 1 Q1, photosensitive receiving tube 2 Q2, capacitor 3 C3, and capacitor 4 C4. Specifically, one end of resistor R19, one end of resistor R20, one end of resistor R21, and one end of resistor R22 are connected to a 5V power supply respectively, the other end of resistor R19 is connected to the positive electrode of infrared emitting tube LDIR1, the other end of resistor R20 is connected to the positive electrode of infrared emitting tube LDIR2, the other end of resistor R21 is connected to the positive electrode of photosensitive receiving tube Q1, the other end of resistor R22 is connected to the positive electrode of photosensitive receiving tube Q2, the negative electrode of photosensitive receiving tube Q1, one end of resistor R22, and one end of capacitor C3 are connected to network label IR1, the negative electrode of photosensitive receiving tube Q2, one end of resistor R24, and one end of capacitor C4 are connected to network label IR2, the negative electrode of infrared emitting tube LDIR1, the negative electrode of infrared emitting tube LDIR2, the other end of resistor R22, the other end of capacitor C3, the other end of resistor R24, and the other end of capacitor C4 are grounded respectively. The human body detection module uses infrared transmitting tubes and photosensitive receiving tubes to identify the number of people in the classroom and provide signal feedback.

[0027] like Figure 4As shown, the photosensitive recognition module is composed of a photoresistor J1, a resistor R33, and a capacitor C6. Specifically, one end of the photoresistor J1 is connected to a 5V power supply, the other end of the photoresistor J1, one end of the resistor R33, and one end of the capacitor C6 are connected to the network label ADINT, and the other end of the resistor R33 and the other end of the capacitor C6 are grounded respectively. The photosensitive recognition module identifies the ambient light brightness in the classroom through the photoresistor J1 to ensure the working mode of the LED light source module.

[0028] like Figure 5As shown, the SMG digital drive module consists of a four-digit digital tube SMG1, a two-digit digital tube SMG2, a digital tube driver ICIC1, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a resistor R11, a resistor R12, a resistor R13, a resistor R14, a resistor R15, a resistor R16, a resistor R17, a resistor R18, a capacitor C2, a capacitor C7, a capacitor C8, and an electrolytic capacitor EC3. Specifically, the four-digit digital tube SMG1A pin is connected to one end of resistor 1 R1, the four-digit digital tube SMG1B pin is connected to one end of resistor 2 R21, the four-digit digital tube SMG1C pin is connected to one end of resistor 3 R31, the four-digit digital tube SMG1D pin is connected to one end of resistor 4 R4, the four-digit digital tube SMG1E pin is connected to one end of resistor 5 R5, the four-digit digital tube SMG1F pin is connected to one end of resistor 6 R6, the four-digit digital tube SMG1G pin is connected to one end of resistor 7 R7, the four-digit digital tube SMG1H pin is connected to one end of resistor 8 R8, and the four-digit digital tube SMG11 pin is connected to the network label COM1. The 12th pin of the four-digit digital tube SMG is connected to the network label COM2, the 13th pin of the four-digit digital tube SMG is connected to the network label COM3, the 14th pin of the four-digit digital tube SMG is connected to the network label COM4, ​​the other end of the resistor R1 is connected to the network label SEGA, the other end of the resistor R2 is connected to the network label SEGB, the other end of the resistor R3 is connected to the network label SEGC, the other end of the resistor R4 is connected to the network label SEGD, the other end of the resistor R5 is connected to the network label SEGE, the other end of the resistor R6 is connected to the network label SEGF, and the other end of the resistor R7 is connected to the network label SE GG, the other end of resistor eight R8 is connected to network number SEGDP, the two-digit digital tube SMG21 pin is connected to network number COM5, the two-digit digital tube SMG22 pin is connected to network number COM6, the two-digit digital tube SMG2A pin is connected to one end of resistor nine R9, the two-digit digital tube SMG2B pin is connected to the end of resistor eleven R11, the two-digit digital tube SMG2C pin is connected to one end of resistor eleven R11, the two-digit digital tube SMG2D pin is connected to one end of resistor twelve R12, the two-digit digital tube SMG2E pin is connected to one end of resistor thirteen R13, the two-digit digital tube SMG2F pin is connected to resistor fourteen One end of R14, the two-digit digital tube SMG2G pin is connected to one end of resistor R15, the two-digit digital tube SMG2dp pin is connected to one end of resistor R16, the other end of resistor R9 is connected to network number SEGA, the other end of resistor R10 is connected to network number SEGB, the other end of resistor R11 is connected to network number SEGC, the other end of resistor R12 is connected to network number SEGD, the other end of resistor R13 is connected to network number SEGE, the other end of resistor R14 is connected to network number SEGF, the other end of resistor R15 is connected to network number SEGG,The other end of resistor R16 is connected to the network labeled SEGDP, pin 16 of digital tube driver IC IC, one end of capacitor C2, and the negative pole of electrolytic capacitor EC3 are grounded, pin 17 of digital tube driver IC IC, one end of resistor R18, and one end of capacitor C8 are connected to the network labeled DIN, pin 18 of digital tube driver IC IC, one end of resistor R17, and one end of capacitor C7 are connected to the network labeled SCLK, pin 19 of digital tube driver IC IC is connected to the network labeled SEGA, pin 110 of digital tube driver IC IC is connected to the network labeled SEGB, pin 111 of digital tube driver IC IC is connected to the network labeled SEGC, pin 112 of digital tube driver IC IC is connected to the network labeled SEGD, pin 113 of digital tube driver IC IC is connected to the network labeled SEGE, pin 114 of digital tube driver IC IC is connected to the network labeled SEGF, pin 115 of digital tube driver IC IC is connected to the network labeled SEGG, pin 116 of digital tube driver IC IC is connected to the network labeled SEGDP, and pin 117 of digital tube driver IC IC is connected to the network labeled SEGG. Pin IC117, the other end of capacitor C2, and the positive pole of electrolytic capacitor EC3 are connected to a 5V power supply. Pin IC118 of the digital tube driver IC is connected to network number COM1. Pin IC119 of the digital tube driver IC is connected to network number COM2. Pin IC120 of the digital tube driver IC is connected to network number COM3. Pin IC121 of the digital tube driver IC is connected to network number COM4. Pin IC122 of the digital tube driver IC is connected to network number COM5. Pin IC123 of the digital tube driver IC is connected to network number COM6. The other end of resistor R17 and resistor R18 are connected to a 5V power supply. The other end of capacitor C7 and capacitor C8 are connected to ground. The SMG digital driver module is equipped with a four-digit digital tube SMG1 and a two-digit digital tube SMG2. The four-digit digital tube SMG1 displays the time in real time, and the two-digit digital tube SMG2 displays the number of people in the classroom in real time according to the signal fed back by the human body detection module.

[0029] like Figure 6As shown, the single-chip microcomputer U2 module is composed of single-chip microcomputer U2, switch 1 S1, switch 2 S2, switch 3 S3, switch 4 S4, and capacitor 5 C5. Specifically, the single-chip microcomputer U21 pin is connected to the network number DIN, the single-chip microcomputer U22 pin is connected to the network number SCLK, the single-chip microcomputer U23 pin is connected to the network number LD1, the single-chip microcomputer U24 pin is connected to the network number LD2, the single-chip microcomputer U25 pin is connected to the network number LD3, the single-chip microcomputer U26 pin is connected to the network number LD4, the single-chip microcomputer U27 pin and capacitor 5 C5 are grounded at one end, the single-chip microcomputer U28 pin is connected to the network number IR1, and the single-chip microcomputer U29 pin and capacitor 5 C5 are connected at the other end. One end is connected to a 5V power supply, the microcontroller U210 pin is connected to the network label IR2, the microcontroller U216 pin is connected to one end of switch one S1, the microcontroller U217 pin is connected to one end of switch two S2, the microcontroller U218 pin is connected to one end of switch three S3, the microcontroller U219 pin is connected to one end of switch four S4, the microcontroller U220 pin is connected to the network label ADINT, the other end of switch one S1, the other end of switch two S2, the other end of switch three S3, and the other end of switch four S4 are grounded.

[0030] like Figure 2As shown, the LED light source module consists of LED lamp 1 LED1, LED lamp 2 LED2, LED lamp 3 LED3, LED lamp 4 LED4, LED lamp 5 LED5, LED lamp 6 LED6, LED lamp 7 LED7, LED lamp 8 LED8, resistor 25 R25, resistor 26 R26, resistor 27 R27, resistor 28 R28, resistor 29 R29, resistor 30 R30, resistor 31 R31, resistor 32 R32, transistor 3 Q3, transistor 4 Q4, transistor 5 Q5, and transistor 6 Q6. Specifically, the positive electrode of LED lamp 1 LED1, the positive electrode of LED lamp 2 LED2, the positive electrode of LED lamp 3 LED3, the positive electrode of LED lamp 4 LED4, the positive electrode of LED lamp 5 LED5, the positive electrode of LED lamp 6 LED6, the positive electrode of LED lamp 7 LED7, and the positive electrode of LED lamp 8 LED8 are connected to a 5V power supply, the negative electrode of LED lamp 1 LED1 and the negative electrode of LED lamp 2 LED2 are connected to one end of resistor 26 R26, the negative electrode of LED lamp 3 LED3 and the negative electrode of LED lamp 4 LED4 are connected to one end of resistor 28 R28, the negative electrode of LED lamp 5 LED5 and the negative electrode of LED lamp 6 LED6 are connected to one end of resistor 30 R30, the negative electrode of LED lamp 7 LED7 and the negative electrode of LED lamp 8 LED8 are connected to one end of resistor 32 R32, and the other end of resistor 26 R26 is connected to the collector of transistor 3 Q3. The other end of resistor 28 R28 is connected to the collector of transistor 4 Q4, the other end of resistor 30 R30 is connected to the collector of transistor 5 Q5, the other end of resistor 32 R32 is connected to the collector of transistor 6 Q6, the emitter of transistor 3 Q3, the emitter of transistor 4 Q4, the emitter of transistor 5 Q5, and the emitter of transistor 6 Q6 are grounded, the base of transistor 3 Q3 is connected to one end of resistor 25 R25, the base of transistor 4 Q4 is connected to one end of resistor 27 R27, the base of transistor 5 Q5 is connected to one end of resistor 29 R29, the base of transistor 6 Q6 is connected to one end of resistor 31 R31, the other end of resistor 25 R25 is connected to network label LD1, the other end of resistor 27 R27 is connected to network label LD2, the other end of resistor 29 R29 is connected to network label LD3, and the other end of resistor 31 R31 is connected to network label LD4.

[0031] The working process of the control system of this embodiment is as follows: the human body detection module is installed at the door of the classroom, and the photosensitive recognition module is installed at a position with better light reception within the classroom. The photosensitive recognition module will output the detected brightness to the single-chip microcomputer U2 module, and the single-chip microcomputer U2 module will compare the detected brightness with the system preset brightness. When the detected brightness is lower than the preset brightness, the LED light source module does not work, and when the detected brightness is higher than the preset brightness, the LED light source module is in working state. The human body detection module monitors the number of people passing through the classroom door. When the infrared pair tube (i.e., the combination of the infrared transmitting tube and the photosensitive receiving tube) in the human body detection module detects that someone passes by through the feedback infrared signal, the single-chip microcomputer U2 module sends instructions to the LED light source module and the SMG digital driver module after receiving the signal output by the human body detection module. After receiving the instruction, the SMG digital driver module displays the counting result of the number of people passing by. The counting result is displayed by the two-digit digital tube SMG2. When the counting result is greater than 1 and less than 11, LED lamp one LED1 and LED lamp two LED2 are lit. When the counting result is greater than 11 and less than 21, LED lamp one LED1, LED lamp two LED2, LED lamp three LED3, and LED lamp four LED4 are lit. When the counting result is greater than 21 and less than 31, LED lamp one LED1, LED lamp two LED2, LED lamp three LED3, LED lamp four LED4, LED lamp five LED5, and LED lamp six LED6 are lit. When the counting result is greater than 31, all LED lamps are lit. In addition, switch 1 S1, switch 2 S2, switch 3 S3, and switch 4 S4 can be used as independent facilities to change the working status of LED lamps. Switch 1 S1 controls the working status of LED lamp 1 LED1 and LED lamp 2 LED2, switch 2 S2 controls the working status of LED lamp 3 LED3 and LED lamp 4 LED4, switch 3 S3 controls the working status of LED lamp 5 LED5 and LED lamp 6 LED6, and switch 4 S4 controls the working status of LED lamp 7 LED7 and LED lamp 8 LED8.

[0032] All functions implemented by the workflow of the above control system can be realized by a preset program, which is a prior art and will not be described in detail in this embodiment.

[0033] In this embodiment, the specific parameters or models of each electronic component include: electrolytic capacitor EC1, 1000uF; electrolytic capacitor EC2, 220uF; electrolytic capacitor EC3, 100uF; resistor R1, 330; resistor R2, 330; resistor R3, 330; resistor R4, 330; resistor R5, 330; resistor R6, 330; resistor R7, 330; resistor R8, 330; resistor R9, 330; resistor R10, 330; resistor R11, 330; resistor R12, 330; resistor R13, 330; resistor R14, 330; resistor R15, 330; resistor R16, 330; resistor R17, 10K; resistor R18, 10K K; resistor 19 R19, 330; resistor 20 R20, 330; resistor 21 R21, 1K; resistor 22 R22, 330; resistor 23 R23, 1K; resistor 24 R24, 330; resistor 25 R25, 1K; resistor 26 R26, 1K; resistor 27 R27, 1K; resistor 28 R28, 1K; resistor 29 R29, 1K; resistor 30 R30, 1K; resistor 31 R31, 1K; resistor 32 R32, 1K; resistor 33 R33, 20K; capacitor 1 C1, 10uF; capacitor 2 C2, 0.1uF; capacitor 3 C3, 0.1uF; capacitor 4 C4, 0.1uF; capacitor 5 C5, 10uF; capacitor 6 C6, 3uF; capacitor 7 C7, 100pF; capacitor 8 C8, 100pF. The voltage regulator U1 is of model 78L05, the transistor is of model SS8050, the photoresistor J1 is of model 5528, the four-digit digital tube SMG1 is of model 3641, the two-digit digital tube SMG2 is of model 3621B, the single-chip microcomputer U2 is of model N76E003AT20, the digital tube driver IC IC1 is of model TM1640, and the transistor Q3, transistor Q4, transistor Q5, and transistor Q6 are all of model SS8050. The parameters and models of the electronic components are only one preferred embodiment of the present invention, but not only this preferred embodiment.

[0034] The above contents described in this specification are merely examples of the present utility model. Those skilled in the art of the present utility model may make various modifications or additions to the specific embodiments described, or replace them in similar ways, as long as they do not deviate from the contents of the present utility model specification or exceed the scope defined in the claims, they shall all fall within the protection scope of the present utility model.

Claims

1. A classroom lighting control system with number detection, comprising a power supply module capable of realizing 5V power output, and an LED light source module, a human body detection module, a photosensitive recognition module, an SMG digital drive module and a single-chip microcomputer module respectively connected to the power supply module, characterized in that: The LED light source module consists of LED lamp one, LED lamp two, LED lamp three, LED lamp four, LED lamp five, LED lamp six, LED lamp seven, LED lamp eight, resistor 25, resistor 26, resistor 27, resistor 28, resistor 29, resistor 30, resistor 31, resistor 32, triode three, triode four, triode five, and triode six, wherein the positive pole of LED lamp one, the positive pole of LED lamp two, the positive pole of LED lamp three, the positive pole of LED lamp four, the positive pole of LED lamp five, the positive pole of LED lamp six, the positive pole of LED lamp seven, and the positive pole of LED lamp eight are connected to a 5V power supply, the negative pole of LED lamp one and the negative pole of LED lamp two are connected to one end of resistor 26, the negative pole of LED lamp three and the negative pole of LED lamp four are connected to one end of resistor 28, and the negative pole of LED lamp five and the negative pole of LED lamp six are connected to resistor three Terminal 11, negative terminal of LED lamp 7 and negative terminal of LED lamp 8 are connected to terminal 1 of resistor 32, the other end of resistor 26 is connected to collector of transistor 3, the other end of resistor 28 is connected to collector of transistor 4, the other end of resistor 30 is connected to collector of transistor 5, the other end of resistor 32 is connected to collector of transistor 6, emitter of transistor 3, emitter of transistor 4, emitter of transistor 5 and emitter of transistor 6 are grounded, base of transistor 3 is connected to terminal 1 of resistor 25, base of transistor 4 is connected to terminal 1 of resistor 27, base of transistor 5 is connected to terminal 1 of resistor 29, base of transistor 6 is connected to terminal 1 of resistor 31, the other end of resistor 25 is connected to network number LD1, the other end of resistor 27 is connected to network number LD2, the other end of resistor 29 is connected to network number LD3, the other end of resistor 31 is connected to network number LD4; The human body detection module is composed of resistor 19, resistor 20, resistor 21, resistor 22, resistor 23, resistor 24, infrared transmitting tube 1, infrared transmitting tube 2, photosensitive receiving tube 1, photosensitive receiving tube 2, capacitor 3, and capacitor 4, wherein one end of resistor 19, one end of resistor 21, one end of resistor 21, and one end of resistor 22 are respectively connected to a 5V power supply, the other end of resistor 19 is connected to the positive electrode of infrared transmitting tube 1, the other end of resistor 20 is connected to the positive electrode of infrared transmitting tube 2, the other end of resistor 21 is connected to the positive electrode of photosensitive receiving tube 1, the other end of resistor 22 is connected to the positive electrode of photosensitive receiving tube 2, the negative electrode of photosensitive receiving tube 1, one end of resistor 22, and one end of capacitor 3 are connected to network label IR1, the negative electrode of photosensitive receiving tube 2, one end of resistor 24, and one end of capacitor 4 are connected to network label IR2, and the negative electrode of infrared transmitting tube 1, the negative electrode of infrared transmitting tube 2, the other end of resistor 22, the other end of capacitor 3, the other end of resistor 24, and the other end of capacitor 4 are respectively grounded; The photosensitive identification module is composed of a photoresistor, a resistor 33, and a capacitor 6, wherein one end of the photoresistor is connected to a 5V power supply, the other end of the photoresistor, one end of the resistor 33, and one end of the capacitor 6 are connected to a network label ADINT, and the other end of the resistor 33 and the other end of the capacitor 6 are grounded respectively; The SMG digital drive module consists of a four-digit digital tube, a two-digit digital tube, a digital tube driver IC, resistor one, resistor two, resistor three, resistor four, resistor five, resistor six, resistor seven, resistor eight, resistor nine, resistor ten, resistor eleven, resistor twelve, resistor thirteen, resistor fourteen, resistor fifteen, resistor sixteen, resistor seventeen, resistor eighteen, capacitor two, capacitor seven, capacitor eight, and electrolytic capacitor three. The four-digit digital tube A pin is connected to one end of resistor one, the four-digit digital tube B pin is connected to one end of resistor two, the four-digit digital tube C pin is connected to one end of resistor three, the four-digit digital tube D pin is connected to one end of resistor four, the four-digit digital tube E pin is connected to one end of resistor five, the four-digit digital tube F pin is connected to one end of resistor six, the four-digit digital tube G pin is connected to one end of resistor seven, and the four-digit digital tube H pin is connected to one end of resistor Connect one end of resistor 8, pin 1 of the four-digit digital tube is connected to the network label COM1, pin 2 of the four-digit digital tube is connected to the network label COM2, pin 3 of the four-digit digital tube is connected to the network label COM3, pin 4 of the four-digit digital tube is connected to the network label COM4, ​​the other end of resistor 1 is connected to the network label SEGA, the other end of resistor 2 is connected to the network label SEGB, the other end of resistor 3 is connected to the network label SEGC, the other end of resistor 4 is connected to the network label SEGD, the other end of resistor 5 is connected to the network label SEGE, the other end of resistor 6 is connected to the network label SEGF, the other end of resistor 7 is connected to the network label SEGG, the other end of resistor 8 is connected to the network label SEGDP, pin 1 of the two-digit digital tube is connected to the network label COM5, pin 2 of the two-digit digital tube is connected to the network label COM6, the A pin of the two-digit digital tube is connected to one end of resistor nine, the B pin of the two-digit digital tube is connected to one end of resistor eleven, the C pin of the two-digit digital tube is connected to one end of resistor eleven, the D pin of the two-digit digital tube is connected to one end of resistor twelve, the E pin of the two-digit digital tube is connected to one end of resistor thirteen, the F pin of the two-digit digital tube is connected to one end of resistor fourteen, the G pin of the two-digit digital tube is connected to one end of resistor fifteen, the dp pin of the two-digit digital tube is connected to one end of resistor sixteen, the other end of resistor nine is connected to the network labeled SEGA, the other end of resistor ten is connected to the network labeled SEGB, the other end of resistor eleven is connected to the network labeled SEGC, the other end of resistor twelve is connected to the network labeled SEGD, the other end of resistor thirteen is connected to the network labeled SEGE, the other end of resistor fourteen is connected to the network labeled SEGF, the other end of resistor fifteen Connect the network label SEGG, the other end of resistor 16 is connected to the network label SEGDP, the 6th pin of the digital tube driver IC, the first end of capacitor 2, and the negative pole of electrolytic capacitor 3 are grounded, the 7th pin of the digital tube driver IC, the first end of resistor 18, and the first end of capacitor 8 are connected to the network label DIN, the 8th pin of the digital tube driver IC, the first end of resistor 17, and the first end of capacitor 7 are connected to the network label SCLK, the 9th pin of the digital tube driver IC is connected to the network label SEGA, the 10th pin of the digital tube driver IC is connected to the network label SEGB, the 11th pin of the digital tube driver IC is connected to the network label SEGC, the 12th pin of the digital tube driver IC is connected to the network label SEGD, the 13th pin of the digital tube driver IC is connected to the network label SEGE, and the 14th pin of the digital tube driver IC is connected to the network label SEGF.Pin 15 of the digital tube driver IC is connected to the network labeled SEGG, pin 16 of the digital tube driver IC is connected to the network labeled SEGDP, pin 17 of the digital tube driver IC, the other end of capacitor 2, and the positive electrode of electrolytic capacitor 3 are connected to a 5V power supply, pin 18 of the digital tube driver IC is connected to the network labeled COM1, pin 19 of the digital tube driver IC is connected to the network labeled COM2, pin 20 of the digital tube driver IC is connected to the network labeled COM3, pin 21 of the digital tube driver IC is connected to the network labeled COM4, ​​pin 22 of the digital tube driver IC is connected to the network labeled COM5, pin 23 of the digital tube driver IC is connected to the network labeled COM6, the other end of resistor 17 and the other end of resistor 18 are connected to a 5V power supply, and the other end of capacitor 7 and the other end of capacitor 8 are grounded; The single-chip microcomputer module consists of a single-chip microcomputer, switch one, switch two, switch three, switch four, and capacitor five. Among them, pin 1 of the single-chip microcomputer is connected to the network label DIN, pin 2 of the single-chip microcomputer is connected to the network label SCLK, pin 3 of the single-chip microcomputer is connected to the network label LD1, pin 4 of the single-chip microcomputer is connected to the network label LD2, pin 5 of the single-chip microcomputer is connected to the network label LD3, pin 6 of the single-chip microcomputer is connected to the network label LD4, pin 7 of the single-chip microcomputer and one end of capacitor five are grounded, pin 8 of the single-chip microcomputer is connected to the network label IR1, pin 9 of the single-chip microcomputer and the other end of capacitor five are connected to a 5V power supply, pin 10 of the single-chip microcomputer is connected to the network label IR2, pin 16 of the single-chip microcomputer is connected to one end of switch one, pin 17 of the single-chip microcomputer is connected to one end of switch two, pin 18 of the single-chip microcomputer is connected to one end of switch three, pin 19 of the single-chip microcomputer is connected to one end of switch four, pin 20 of the single-chip microcomputer is connected to the network label ADINT, and the other ends of switch one, switch two, switch three, and switch four are grounded.

2. The classroom lighting control system with number detection according to claim 1 is characterized in that: The power supply module consists of an access terminal, electrolytic capacitor 1, electrolytic capacitor 2, diode 1, capacitor 1, and a voltage regulator. The access terminal 1 pin and the negative pole of electrolytic capacitor 1 are grounded, the access terminal 2 pin, the positive pole of electrolytic capacitor 1, and the positive pole of diode 1 are connected to a 12V power supply, the negative pole of diode 1 outputs an 11.3V power supply, the VIN end of the voltage regulator and the first end of capacitor 1 are connected to an 11.3V power supply, the other end of capacitor 1, the GND end of the voltage regulator, and the negative pole of electrolytic capacitor 2 are grounded, and the VOUT end of the voltage regulator and the positive pole of electrolytic capacitor 2 output a 5V power supply.

3. The classroom lighting control system with number detection according to claim 2 is characterized in that: The voltage regulator model is 78L05.

4. The classroom lighting control system with number detection according to claim 1 is characterized in that: The photoresistor model is 5528.

5. The classroom lighting control system with number detection according to claim 1 is characterized in that: The model of the four-digit digital tube is 3641.

6. The classroom lighting control system with number detection according to claim 1 is characterized in that: The two-digit digital tube model is 3621B.

7. The classroom lighting control system with number detection according to claim 1 is characterized in that: The microcontroller model is N76E003AT20.

8. The classroom lighting control system with number detection according to claim 1 is characterized in that: The digital tube driver IC model is TM1640.

9. The classroom lighting control system with number detection according to claim 1 is characterized in that: The models of the transistor 3, transistor 4, transistor 5 and transistor 6 are all SS8050.