Intelligent classroom air conditioning method and system
By combining academic affairs systems and sensor technology, intelligent management of the classroom environment is achieved, and the problem that traditional classroom air conditioning control systems cannot dynamically monitor personnel flow and equipment management is not intelligent, improving environmental comfort and management efficiency, and reducing energy consumption.
Patent Information
- Application Number
- CN202510359359.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-06-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional classroom air conditioning control systems cannot dynamically monitor the flow of people in the classroom, resulting in energy waste and air quality problems, and equipment management is not intelligent and inefficient.
Course schedule information is obtained through the academic system API, combined with historical flow data to predict the classroom usage period, use cameras to monitor the personnel in the classroom, temperature sensors and PM2.5 sensors to collect data in real time, automatically adjust the air conditioner and air purification equipment, and control the electricity consumption equipment in stages based on the personnel presence information.
Intelligent air conditioning, temperature regulation and equipment management are realized, the comfort and management efficiency of the classroom environment are improved, energy consumption and maintenance costs are reduced, and indoor air quality is ensured.
Smart Images

Figure CN120160247A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent control of indoor environment, and specifically relates to an intelligent classroom air conditioning method and system. Background Art
[0002] In the modern education environment, as the main place for teaching activities, the environmental comfort of the classroom has a crucial impact on the learning and teaching effects of teachers and students. With the development of technology, people's requirements for the classroom environment are also increasing day by day. The air quality and temperature control in the classroom are crucial for the health and learning efficiency of teachers and students.
[0003] However, traditional classroom air conditioning control systems often lack dynamic monitoring of the personnel flow in the classroom and cannot adjust environmental parameters in real time according to the actual usage situation. This results in the continuous operation of air conditioners and lighting equipment even when there is no one, causing unnecessary energy waste. For example, in summer, regardless of whether there are people in the classroom, the air conditioner may run at a low temperature for a long time, not only causing a large amount of energy waste, but also when teachers and students enter the classroom, they may feel uncomfortable due to the large temperature difference, affecting their physical health. In winter, similar problems also exist. The air conditioner temperature is set unreasonably. Either it is too cold for teachers and students to concentrate on learning in the classroom, or it is too hot, resulting in increased energy consumption.
[0004] And in terms of air quality, traditional classrooms only rely on natural ventilation to improve air quality. However, in haze weather or when the ventilation conditions are poor, the concentration of pollutants such as PM2.5 in the classroom is prone to exceed the standard, seriously endangering the physical health of teachers and students. Even if some classrooms are equipped with air purification equipment, most of them need to be manually turned on and off, and cannot automatically adjust according to the real-time change of air quality, making it difficult to ensure that the indoor air quality is always in a good state.
[0005] In addition, for various electrical equipment in the classroom, such as projectors, electronic whiteboards, lighting equipment, etc., the current management method is relatively extensive. There are often situations where the equipment is not turned off when people leave, resulting in serious energy waste and shortening the service life of the equipment at the same time. Moreover, the control of these equipment is independent of the classroom air conditioning system and cannot achieve overall intelligent collaborative management, making the classroom environment management inefficient.
[0006] Therefore, those skilled in the art have proposed an intelligent classroom air conditioning method and system, aiming to achieve intelligent air conditioning, temperature adjustment and equipment management, improve the comfort and management efficiency of the classroom environment, and reduce energy consumption and maintenance costs. Summary of the Invention
[0007] In order to solve the above technical problems, the present invention provides an intelligent classroom air conditioning method and system to solve the problems raised in the background art.
[0008] According to the first aspect of the present disclosure, an intelligent classroom air conditioning method is proposed, including the following steps:
[0009] S1. Obtain the daily class schedule information through the educational administration system API, combine historical pedestrian flow data to predict the classroom usage period, obtain the pedestrian flow prediction result, and start environmental preprocessing 10 minutes before the predicted classroom usage time according to the class schedule information and the pedestrian flow prediction result;
[0010] S2. After the environmental preprocessing is completed, continuously collect classroom images through a camera, determine whether there are people in the classroom, and obtain the personnel presence information;
[0011] S3. Real-time collect the average temperature data in the classroom through a temperature sensor, compare it with the comfortable temperature range set for the current season, and automatically adjust the air conditioner temperature in combination with the personnel presence information;
[0012] S4. Real-time detect the PM2.5 concentration in the classroom air through a PM2.5 sensor, obtain the concentration detection result, and automatically open and close the air purification equipment for indoor purification treatment according to the concentration detection result, in combination with the personnel presence information and the natural ventilation situation of the classroom;
[0013] S5. Control the electrical equipment in the classroom in stages according to the personnel presence information.
[0014] Preferably, the class schedule information includes the start and end times of the courses and the classroom number information;
[0015] The combination of historical pedestrian flow data to predict the classroom usage period and obtain the pedestrian flow prediction result includes:
[0016] According to the historical pedestrian flow data, the predicted pedestrian flow quantity at time t is P(t), then according to the class schedule information and the historical pedestrian flow data, the predicted pedestrian flow quantity in the time period [t start ,t end is:
[0017]
[0018] Wherein, P z (t start ,t end ) is the predicted pedestrian flow quantity in the time period [t start ,t end ;
[0019] The environmental preprocessing includes:
[0020] In summer, automatically control the air conditioner to pre-cool the classroom temperature to 26 °C; in winter, automatically control the air conditioner to pre-heat the classroom temperature to 18 °C.
[0021] Preferably, the method further includes: after the environmental preprocessing is completed, continuously collecting video frames of the classroom by a camera at fixed time intervals. Let I(t) represent the classroom image at time t, use the background subtraction method to construct the background model B(t) at time t, and in each subsequent frame, update the background model according to the new image data, and for each frame of image, calculate its difference from the background model to generate a foreground mask F(t):
[0022]
[0023] Count the number of non-zero pixels in the foreground mask to obtain the area A(t) of the foreground region:
[0024]
[0025] where H is the height of the image, W is the width of the image, and F(t)[x,y] is the value of the foreground mask at position (x,y) at time t, where 1 indicates that the pixel belongs to the foreground and 0 indicates that the pixel belongs to the background;
[0026] According to the comparison result between the area A(t) of the foreground region and a preset threshold θ, determine whether there is anyone in the classroom:
[0027]
[0028] where R(t) represents the personnel presence information at time t, taking the value of 1 indicates that there is someone in the classroom, and taking the value of 0 indicates that there is no one in the classroom.
[0029] Preferably, the average temperature data of the classroom collected in real time by the temperature sensor is T, and according to the current season, a preset comfortable temperature range [T min , T max ;
[0030] Compare the average temperature data T with the comfortable temperature range [T min , T max , and automatically adjust the air conditioner temperature in combination with the personnel presence information R(t);
[0031] When R(t) = 1, it indicates that the current temperature is higher than the upper limit of the comfortable temperature. By lowering the air conditioner temperature, at this time the air conditioner adjustment amount is ΔT d , so that the adjusted air conditioner target temperature is expressed as
[0032] When R(t) = 1, it indicates that the current temperature is lower than the lower limit of the comfortable temperature. By raising the air conditioner temperature, at this time the air conditioner adjustment amount is ΔT u , so that the adjusted air conditioner target temperature is expressed as
[0033] When it indicates that the current temperature is within the comfortable range, and the air conditioner maintains its current operating state, that is
[0034]
[0035] When R(t) = 0, the air conditioner is set to the low-power standby state, and during the environmental pre-treatment, the air conditioner temperature is automatically controlled at the preset temperature for the current season, that is:
[0036]
[0037] wherein, T e is the target temperature of the air conditioner when there is no one. S = 1 indicates that in summer, the pre-cooling temperature of the air conditioner during environmental pre-treatment is 26°C, and S = 0 indicates that in winter, the pre-heating temperature of the air conditioner during environmental pre-treatment is 18°C.
[0038] Preferably, the PM2.5 sensor detects the PM2.5 concentration in the indoor air in real time, and the obtained concentration detection result is C PM2.5 (t). When C PM2.5 (t) > C safe , the air quality is in a non-compliant state, and the air purification device is turned on. C safe represents the air safety quality threshold; when C PM2.5 (t) ≤ C Z , the air quality is in a qualified state, and the air purification device is turned off, and C Z ≤ C safe ;
[0039] Using the following formula, combining the personnel presence information and the natural ventilation situation of the classroom, when R(t) = 1, first judge the natural ventilation situation. When the natural ventilation of the classroom is in the closed state, judge whether to turn on the air purification device according to the concentration detection result C PM2.5 (t):
[0040]
[0041] wherein, V represents the natural ventilation situation of the classroom, V = 0 represents the closed state of natural ventilation, Q represents the operating state of the air purification device, Q = 1 represents turned on, and Q = 0 represents turned off. When C PM2.5 (t) ≤ C Z , turn off the air purification device, that is, Q = 0;
[0042] When the natural ventilation of the classroom is in the open state, by setting the starting threshold C safe-v , and C safe-v > C safe , when C PM2.5(t) > C safe-v When this occurs, turn on the air purification equipment for auxiliary purification, that is:
[0043]
[0044] Among them, V = 1 indicates the open state of natural ventilation;
[0045] When R(t) = 0, turn off the air purification equipment, that is, Q = 0.
[0046] Preferably, the phased control of the electrical equipment in the classroom includes: when no one is detected for 3 minutes, turn off non-essential equipment including projectors and electronic whiteboards, and reduce the lighting brightness to 30%;
[0047] When no one is detected for 5 minutes, switch the air conditioner to the energy-saving temperature, that is, 28°C in summer and 16°C in winter, and close the air supply valve;
[0048] When no one is detected for 8 minutes, completely turn off the air conditioner, lighting, and air purification equipment.
[0049] According to the second aspect of the present disclosure, an intelligent classroom air conditioning system is proposed, which is applied in the first aspect and includes:
[0050] A pre-regulation module for obtaining the daily class schedule through the educational administration system API, predicting the classroom usage period in combination with historical data, and pre-regulating the classroom environment 10 minutes before the expected classroom usage time;
[0051] A human figure detection module for real-time monitoring and collecting classroom images through a camera, determining whether there are people in the classroom, and obtaining personnel presence information;
[0052] A room temperature regulation module for real-time detecting the average temperature data in the classroom, comparing it with the set comfortable temperature range for the current season, and adjusting the air conditioner temperature in combination with the personnel presence information;
[0053] An air quality processing module for real-time detecting the PM2.5 concentration in the classroom air, controlling the air purification equipment according to the set air safety quality threshold in combination with the personnel presence information and the natural ventilation situation in the classroom, and adjusting the air quality in the classroom;
[0054] An energy-saving control module for phased control of the electrical equipment in the classroom according to the personnel presence information.
[0055] Compared with the prior art, the present invention has the following beneficial effects:
[0056] 1. By comprehensively adjusting temperature and air quality, the present invention creates a comfortable and healthy teaching environment for teachers and students, which helps to improve learning and teaching efficiency. Using a variety of sensors and data processing technologies, it realizes the intelligentization of classroom air conditioning and equipment management, reduces manual intervention, and improves management efficiency. And through the equipment control strategy, it avoids the operation of equipment when there is no one or it is unnecessary, effectively reduces energy consumption, and achieves energy conservation and emission reduction.
[0057] 2. By controlling the operation of equipment in stages, the present invention reduces the frequent startup and long-term operation of equipment, which is beneficial to extending the service life of equipment and reducing equipment maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 is a flowchart of the intelligent classroom air conditioning method of the present invention;
[0059] Figure 2 is a block diagram of the intelligent classroom air conditioning system of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0060] The following further describes in detail the embodiments of the present invention in conjunction with the drawings and examples. The following examples are used to illustrate the present invention, but cannot be used to limit the scope of the present invention.
[0061] As shown Figure 1 in the
[0062] Example 1: The present invention provides an intelligent classroom air conditioning method, including the following steps:
[0063] S1. Obtain the daily class schedule information through the educational administration system API, combine the historical flow data to predict the classroom usage period, obtain the flow prediction result, and start the environmental preprocessing 10 minutes before the expected classroom usage time according to the class schedule information and the flow prediction result;
[0064] The class schedule information includes the start and end times of the courses and the classroom number information; according to the historical flow data, the predicted flow number at time t is P(t), then according to the class schedule information and the historical flow data, the predicted flow number within the time period [t start ,t end is:
[0065]
[0066] wherein, P z (t start ,t end ) is the predicted flow number within the time period [t start ,t end ;
[0067] Environmental pre - treatment is to automatically control the air - conditioner to pre - cool the classroom temperature to 26°C in summer and pre - heat the classroom temperature to 18°C in winter.
[0068] Through environmental pre - treatment, a comfortable initial environment is created for teachers and students, avoiding temperature discomfort when entering the classroom and enhancing the usage experience. Pre - adjustment in advance reduces waiting time and improves the comfort and efficiency of classroom use.
[0069] S2. After the environmental pre - treatment is completed, continuous video frames of the classroom are collected by a camera at fixed time intervals. Let I(t) represent the classroom image at time t. The background model B(t) at time t is constructed using the background subtraction method. In each subsequent frame, the background model is updated according to the new image data, and for each frame image, the difference between it and the background model is calculated to generate a foreground mask F(t):
[0070]
[0071] The number of non - zero pixels in the foreground mask is counted to obtain the area A(t) of the foreground region:
[0072]
[0073] where H is the height of the image, W is the width of the image, and F(t)[x, y] is the value of the foreground mask at position (x, y) at time t, where 1 indicates that the pixel belongs to the foreground and 0 indicates that the pixel belongs to the background;
[0074] According to the comparison result between the area A(t) of the foreground region and a preset threshold θ, it is judged whether there are people in the classroom:
[0075]
[0076] where R(t) represents the personnel presence information at time t. When the value is 1, it means there are people in the classroom, and when the value is 0, it means there are no people in the classroom, thus obtaining the personnel presence information.
[0077] By collecting classroom images through a camera, constructing a background model using the background subtraction method, generating a foreground mask by comparing image differences, and counting the number of non - zero pixels in the foreground mask to judge whether there are people in the classroom, the personnel situation in the classroom can be accurately grasped in real - time, providing a basis for subsequent equipment control, avoiding ineffective operation of equipment when there is no one, realizing intelligent management, and reducing energy waste.
[0078] S3. The average temperature data T in the classroom collected in real - time by the temperature sensor, and according to the current season, a preset comfortable temperature range [T min ,T max ;
[0079] Compare the average temperature data T with the comfortable temperature range [T min , T max , and automatically adjust the air - conditioner temperature in combination with the presence information of people R(t);
[0080] When R(t) = 1, it indicates that the current temperature is higher than the upper limit of the comfortable temperature. By reducing the air - conditioner temperature, the air - conditioner adjustment amount is ΔT d , and the adjusted air - conditioner target temperature is expressed as
[0081] When R(t) = 1, it indicates that the current temperature is lower than the lower limit of the comfortable temperature. By increasing the air - conditioner temperature, the air - conditioner adjustment amount is ΔT u , and the adjusted air - conditioner target temperature is expressed as
[0082] When it indicates that the current temperature is within the comfortable range, and the air - conditioner maintains the current operating state, that is
[0083]
[0084] When R(t) = 0, the air - conditioner is set to the low - power standby state, and during the environmental pre - treatment, the air - conditioner temperature is automatically controlled at the preset temperature of the current season, that is:
[0085]
[0086] Among them, T e is the target temperature of the air - conditioner when there is no one. S = 1 indicates that in summer, the pre - cooling temperature of the air - conditioner during environmental pre - treatment is 26°C, and S = 0 indicates that in winter, the pre - heating temperature of the air - conditioner during environmental pre - treatment is 18°C.
[0087] Collect the average temperature data in the classroom through the temperature sensor, compare it with the comfortable temperature range of the current season, and adjust the air - conditioner temperature in combination with the presence information of people; thus ensuring that the indoor temperature is always within the comfortable range when there are people, improving the comfort of people; when there is no one, set the air - conditioner to the low - power standby state to save energy.
[0088] S4. Real - time detect the PM2.5 concentration in the air of the classroom through the PM2.5 sensor, and the obtained concentration detection result is C PM2.5 (t). When C PM2.5 (t)>C safe , the air quality is in a non - compliant state, and the air purification equipment is turned on. C safe represents the air safety quality threshold; when C PM2.5 (t)≤C Z , the air quality is in a qualified state, and the air purification equipment is turned off, and CZ ≤C safe ;
[0089] Combining the information of personnel presence and the natural ventilation condition of the classroom, when R(t) = 1, first judge the natural ventilation condition. When the natural ventilation of the classroom is in the closed state, according to the concentration detection result C PM2.5 (t) to judge whether to turn on the air purification equipment, that is:
[0090]
[0091] where V represents the natural ventilation condition of the classroom, V = 0 represents the closed state of natural ventilation, Q represents the operation state of the air purification equipment, Q = 1 represents on, and Q = 0 represents off. When C PM2.5 (t) ≤ C Z , turn off the air purification equipment, that is, Q = 0;
[0092] When the natural ventilation of the classroom is in the open state, by setting the start threshold C safe-v , and C safe-v > C safe , when C PM2.5 (t) > C safe-v , turn on the air purification equipment for auxiliary purification, that is:
[0093]
[0094] where V = 1 represents the open state of natural ventilation;
[0095] When R(t) = 0, turn off the air purification equipment, that is, Q = 0.
[0096] Detect the PM2.5 concentration in the classroom through the PM2.5 sensor, control the air purification equipment by combining the information of personnel presence and the natural ventilation condition of the classroom, ensure the indoor air quality, purify the air in time when the air quality does not meet the standard, and provide guarantee for the health of teachers and students; reasonably control the operation of the equipment according to the actual situation to avoid unnecessary energy consumption.
[0097] S5. Control the electrical equipment in the classroom in stages according to the information of personnel presence: when no one is detected for 3 minutes, turn off non-essential equipment including projectors and electronic whiteboards, and reduce the lighting brightness to 30%;
[0098] When no one is detected for 5 minutes, switch the air conditioner to the energy-saving temperature, that is, 28°C in summer and 16°C in winter, and turn off the air supply valve;
[0099] When no one is detected for 8 minutes, completely turn off the air conditioner, lighting, and air purification equipment.
[0100] According to the personnel presence information, electrical equipment such as projectors, electronic whiteboards, air conditioners, lighting, and air purification equipment in the classroom are controlled in three stages of 3 minutes, 5 minutes, and 8 minutes. By finely managing the electrical equipment, energy consumption is further reduced, the service life of the equipment is extended, and the energy utilization efficiency is improved.
[0101] Embodiment 2: As shown in the appendix Figure 2 : The present invention also provides an intelligent classroom air conditioning system, which is applied to Embodiment 1 and includes:
[0102] A pre-adjustment module for obtaining the daily class schedule through the educational administration system API, predicting the classroom usage period in combination with historical data, and pre-adjusting the classroom environment 10 minutes before the expected classroom usage time;
[0103] A human figure detection module for real-time monitoring and collecting classroom images through a camera, determining whether there are people in the classroom, and obtaining personnel presence information;
[0104] A room temperature adjustment module for real-time detecting the average temperature data in the classroom, comparing it with the set comfortable temperature range in the current season, and adjusting the air conditioner temperature in combination with the personnel presence information;
[0105] An air quality processing module for real-time detecting the PM2.5 concentration in the classroom air, controlling the air purification equipment according to the set air safety quality threshold in combination with the personnel presence information and the natural ventilation situation of the classroom, and adjusting the air quality in the classroom;
[0106] An energy-saving control module for controlling the electrical equipment in the classroom in stages according to the personnel presence information.
[0107] Comprehensively adjusting the temperature and air quality to create a comfortable and healthy teaching environment for teachers and students, which helps to improve learning and teaching efficiency. And through precise equipment control strategies, it avoids the operation of equipment when there is no one or it is unnecessary, effectively reducing energy consumption and achieving energy conservation and emission reduction. Using a variety of sensors and data processing technologies to realize the intelligentization of classroom air conditioning and equipment management, reducing manual intervention and improving management efficiency. And controlling the equipment operation in stages, reducing the frequent startup and long-term operation of the equipment, is beneficial to extending the service life of the equipment and reducing the equipment maintenance cost.
[0108] Importantly, it should be noted that the construction and arrangement of the present application shown in multiple different exemplary embodiments are merely illustrative. Although only a few embodiments are described in detail in this disclosure, those who refer to this disclosure should easily understand that many modifications are possible without materially departing from the novel teachings and advantages of the subject matter described in this application. Other substitutions, modifications, changes, and omissions may be made in the design, operating conditions, and arrangement of the exemplary embodiments without departing from the scope of the present invention. Therefore, the present invention is not limited to a specific embodiment, but extends to various modifications that still fall within the scope of the appended claims.
[0109] In addition, in order to provide a concise description of the exemplary embodiments, all features of the actual embodiments may not be described (i.e., those features that are not relevant to the best mode of implementing the present invention currently considered or those features that are not relevant to implementing the present invention).
[0110] It should be understood that in the development of any actual implementation, as in any engineering or design project, a large number of specific implementation decisions may be made. Such development efforts may be complex and time-consuming, but for those of ordinary skill in the art who benefit from this disclosure, without excessive experimentation, such development efforts will be a routine task of design, manufacturing, and production.
[0111] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention may be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered within the scope of the claims of the present invention.
Claims
1. A smart classroom air conditioning method, characterized in that: The following steps are involved: S1. Obtain the day's class schedule information through the education system API, combine historical crowd flow data to predict the classroom usage period, obtain crowd flow prediction results, and start environmental preprocessing 10 minutes before the expected classroom usage time based on the class schedule information and crowd flow prediction results; S2. After the environmental preprocessing is completed, the camera continuously collects classroom images to determine whether there is anyone in the classroom and obtain the presence information of the person; S3. Collect the average temperature data in the classroom in real time through the temperature sensor, compare it with the comfortable temperature range set for the current season, and automatically adjust the air conditioning temperature based on the presence information of the personnel; S4. Detect the PM2.5 concentration in the air in the classroom in real time through a PM2.5 sensor to obtain a concentration detection result. According to the concentration detection result, combined with the information of the personnel and the natural ventilation conditions of the classroom, the air purification equipment is automatically turned on and off to purify the room; S5. Based on the personnel presence information, the electrical equipment in the classroom is controlled in stages.
2. The air conditioning method for a smart classroom as claimed in claim 1, characterized in that: The course schedule information includes the start and end time of the course, and classroom number information; The method of predicting classroom usage time periods by combining historical crowd flow data to obtain crowd flow prediction results includes: According to the historical passenger flow data, the predicted passenger flow at time t is P(t). Then, according to the course schedule information and the historical passenger flow data, the predicted passenger flow in the time period [t start ,t end ]The number of people flow inside is: Among them, P z (t start ,t end ) is the period [t start ,t end ]The predicted number of people flow within the system; The environmental pretreatment includes: In summer, the air conditioner is automatically controlled to pre-cool the classroom temperature to 26℃; in winter, the air conditioner is automatically controlled to pre-heat the classroom temperature to 18℃.
3. A smart classroom air conditioning method as claimed in claim 2, characterized in that: The method further comprises: after the environmental preprocessing is completed, continuous video frames of the classroom are collected by a camera at fixed time intervals, I(t) represents the classroom portrait at time t, a background model B(t) at time t is constructed by a background subtraction method, and in each subsequent frame, the background model is updated according to new image data, and for each frame image, the difference between the frame image and the background model is calculated to generate a foreground mask F(t): The number of non-zero pixels in the foreground mask is counted to obtain the area A(t) of the foreground region: Where H is the height of the image, W is the width of the image, and F(t)[x,y] is the value of the foreground mask at position (x,y) at time t, where 1 indicates that the pixel belongs to the foreground and 0 indicates that the pixel belongs to the background; According to the comparison result of the area A(t) of the foreground area and the preset threshold θ, it is judged whether there is someone in the classroom: Among them, R(t) represents the presence information of people at time t. When the value is 1, it means that there is someone in the classroom, and when the value is 0, it means that there is no one in the classroom.
4. The air conditioning method for a smart classroom as claimed in claim 3, characterized in that: The average temperature data in the classroom collected in real time by the temperature sensor is And according to the current season, preset the comfortable temperature range [T min ,T max ]; The average temperature data T and the comfortable temperature range [T min ,T max ] for comparison, and automatically adjust the air conditioning temperature based on the personnel presence information R(t); When R(t)=1, This means that the current temperature is higher than the upper limit of the comfortable temperature. By lowering the air conditioning temperature, the air conditioning adjustment amount is ΔT. d , so that the adjusted air conditioning target temperature is expressed as When R(t)=1, This means that the current temperature is lower than the lower limit of the comfortable temperature. By increasing the air conditioning temperature, the air conditioning adjustment amount is ΔT. u , so that the adjusted air conditioning target temperature is expressed as when This indicates that the current temperature is in the comfortable range and the air conditioner maintains the current operating state. When R(t)=0, the air conditioner is set to a low power standby state, and the air conditioner temperature is automatically controlled to the preset temperature of the current season during the environmental pretreatment, that is: Among them, T e It is the target temperature of the air conditioner when no one is in use. S=1 means that in summer, the precooling temperature of the air conditioner during environmental pretreatment is 26°C. S=0 means that in winter, the preheating temperature of the air conditioner during environmental pretreatment is 18°C.
5. The air conditioning method for a smart classroom as claimed in claim 1, characterized in that: The PM2.5 sensor detects the PM2.5 concentration in the classroom air in real time, and the concentration detection result is C PM2.5 (t), when C PM2.5 (t)>C safe When the air quality is not up to standard, turn on the air purification equipment, C safe Indicates the air safety quality threshold; when C PM2.5 (t)≤C Z When the air quality is qualified, the air purification equipment is turned off, and C Z ≤C safe ; Use the following formula, combined with the presence of personnel information and the natural ventilation conditions of the classroom. When R(t) = 1, first determine the natural ventilation conditions. When the natural ventilation of the classroom is closed, according to the concentration detection result C PM2.5 (t) Determine whether to turn on the air purification equipment: Among them, V represents the natural ventilation of the classroom, V = 0 represents the natural ventilation off state, Q represents the operating state of the air purification equipment, Q = 1 represents on, Q = 0 represents off. PM2.5 (t)≤C Z When Q=0, turn off the air purification equipment; When the natural ventilation of the classroom is turned on, the start threshold C is set. safe-v , and C safe-v >C safe , when C PM2.5 (t)>C safe-v When the air is cleaned, turn on the air purification equipment to assist in purification, that is: Among them, V = 1 means the natural ventilation is turned on; When R(t)=0, the air purification device is turned off, that is, Q=0.
6. The air conditioning method for a smart classroom as claimed in claim 1, characterized in that: The staged control of electrical equipment in the classroom includes: when no one is detected for 3 minutes, non-essential equipment including projectors and electronic whiteboards are turned off, and the lighting brightness is reduced to 30%; When no one is detected for 5 minutes, the air conditioner switches to the energy-saving temperature, that is, 28℃ in summer and 16℃ in winter, and closes the air supply valve; When no one is detected for 8 minutes, the air conditioner, lighting and air purification equipment will be completely turned off.
7. An intelligent classroom air conditioning system, using the intelligent classroom air conditioning method according to any one of claims 1 to 6, characterized in that: include: The pre-adjustment module is used to obtain the day's class schedule through the education system API, predict the classroom usage period based on historical data, and pre-adjust the classroom environment 10 minutes before the expected classroom usage time; The human shadow detection module is used to monitor and collect classroom images in real time through cameras, determine whether there are people in the classroom, and obtain information about the presence of people; The room temperature adjustment module is used to detect the average temperature data in the classroom in real time, compare it with the comfortable temperature range set for the current season, and adjust the air conditioning temperature in combination with the presence information of the personnel; The air quality processing module is used to detect the PM2.5 concentration in the classroom air in real time, and control the air purification equipment and adjust the air quality in the classroom according to the set air safety quality threshold combined with the presence of people and the natural ventilation conditions of the classroom; The energy-saving control module is used to control the electrical equipment in the classroom in stages according to the presence information of people.