A control method and electronic device for a fresh air conditioner
Patent Information
- Application Number
- CN202311689114.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-12-11
AI Technical Summary
但是,当室内存在浓度较高的有害气体时,该控制方法引入室外空气的速率较慢,无法及时降低有害气体的浓度
[0048]本发明提供的一种新风空调的控制方法包括根据室内气体浓度的增长速率确定检测起始时刻,在检测起始时刻进行第一浓度检测,得到第一气体浓度。检测第一气体浓度是否大于或等于气体浓度阈值,若是,则获取室外空气质量。检测室外空气质量可以防止将室外的有害气体和灰尘带入室内,检测室外空气质量是否符合标准,若符合,则控制空调进入新风模式。当室外空气质量较好时,控制空调进入新风模式可以将室外质量较好的空气引入室内环境,提高室内环境的空气质量。若第一气体浓度对应的气体为有害气体,则控制空调以最大风速出风,从而快速地降低室内有害气体的浓度。当空调在新风模式下运行第一时间时,进行第二浓度检测,得到第二气体浓度;若第二气体浓度小于期望浓度,说明在第一时间内处于新风模式下的空调降低室内有害气体的效率较高。控制空调继续运行,直到空调在新风模式下的运行时间大于或等于标准时间,从而及时地净化室内空气,将室内有害气体的含量降低至较低水平。
Smart Images

Figure CN117739474B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioning control technology, and in particular to a control method and electronic device for a fresh air conditioning system. Background Technology
[0002] With the development of air conditioning technology, some air conditioners now have a fresh air mode. In fresh air mode, air conditioners can bring fresh outdoor air into the room, improving indoor air quality and preventing the accumulation of harmful gases indoors after long-term operation.
[0003] Current methods for controlling fresh air conditioning systems involve detecting indoor gas concentrations and switching the air conditioner to fresh air mode when the concentration exceeds a threshold, thus introducing fresh outdoor air into the room. However, when high concentrations of harmful gases are present indoors, this method introduces outdoor air slowly and cannot effectively reduce the concentration of harmful gases. Furthermore, when outdoor air quality is poor, the air conditioner operating in fresh air mode cannot effectively reduce the concentration of harmful gases indoors.
[0004] In conclusion, there is a need for a fresh air conditioning control method that can promptly reduce harmful indoor gases. Summary of the Invention
[0005] To overcome the problems existing in related technologies, one of the objectives of this invention is to provide a control method for a fresh air conditioner that can promptly reduce the concentration of harmful gases indoors when the outdoor air quality is detected to meet the standards.
[0006] A method for controlling a fresh air conditioning system includes:
[0007] The detection start time is determined based on the growth rate of indoor gas concentration, and a first concentration detection is performed at the detection start time to obtain the first gas concentration.
[0008] Detect whether the concentration of the first gas is greater than or equal to the gas concentration threshold; if so, obtain the outdoor air quality.
[0009] The system checks whether the outdoor air quality meets the standards. If it does, it controls the air conditioner to switch to fresh air mode.
[0010] If the gas corresponding to the first gas concentration is a harmful gas, then control the air conditioner to blow air at the maximum wind speed;
[0011] When the air conditioner is running in the fresh air mode for a first time, a second concentration detection is performed to obtain a second gas concentration; if the second gas concentration is less than the expected concentration, the air conditioner is controlled to continue running until the air conditioner's running time in the fresh air mode is greater than or equal to the standard time, and the first time is less than the standard time.
[0012] In a preferred embodiment of the present invention, after performing the second concentration detection to obtain the second gas concentration, the method further includes:
[0013] If the concentration of the second gas is greater than or equal to the desired concentration, a first alarm message is issued;
[0014] If the air conditioner has been running in the fresh air mode for the standard time, then a third concentration detection is performed to obtain the third gas concentration.
[0015] If the concentration of the third gas is less than the gas concentration threshold, an alarm cancellation message will be issued.
[0016] In a preferred embodiment of the present invention, after the air conditioner is controlled to enter the fresh air mode, the method further includes:
[0017] If the gas corresponding to the first gas concentration is a harmless gas, then control the air conditioner to output air at a preset fan speed;
[0018] When the air conditioner is operating in the fresh air mode for the first time, a fourth concentration detection is performed to obtain the fourth gas concentration;
[0019] If the concentration of the fourth gas is greater than or equal to the desired concentration, then the current fan speed of the air conditioner is obtained;
[0020] The target wind speed level is determined based on the concentration range corresponding to the fourth gas concentration.
[0021] If the current wind speed is less than the wind speed of the target wind speed setting, then the current wind speed is adjusted to the wind speed of the target wind speed setting.
[0022] The standard time plus the adjustment time is taken as the fresh air operation time, which is the operating time of the air conditioner in the fresh air mode.
[0023] In a preferred embodiment of the present invention, determining the detection start time based on the growth rate of indoor gas concentration includes:
[0024] Obtain the change in indoor gas concentration from the previous moment to the current moment;
[0025] Subtracting the previous time from the current time yields the change in time.
[0026] The growth rate is obtained by calculating the ratio of the concentration change to the time change.
[0027] Calculate the difference between the gas concentration threshold and the indoor gas concentration at the current moment to obtain a first concentration difference;
[0028] Calculate the ratio of the first concentration difference to the growth rate to obtain the growth time;
[0029] Adding the growth time to the current time yields the detection start time.
[0030] In a preferred embodiment of the present invention, detecting whether the outdoor air quality meets the standard includes:
[0031] The outdoor air is tested to determine whether it contains the harmful gases. If not, the outdoor air quality is deemed to meet the standards.
[0032] In a preferred embodiment of the present invention, after performing a fourth concentration detection and obtaining a fourth gas concentration when the air conditioner is operating in the fresh air mode for the first time, the method further includes:
[0033] If the concentration of the fourth gas is less than the desired concentration, the concentration of the fourth gas is subtracted from the desired concentration to obtain the concentration difference.
[0034] The fresh air operation time is reduced based on the concentration difference.
[0035] In a preferred embodiment of the present invention, the step of issuing a first alarm message if the concentration of the second gas is greater than or equal to the desired concentration includes:
[0036] Control the buzzer to emit a buzzing sound;
[0037] The control wireless module sends alarm SMS messages to the user's terminal device.
[0038] In a preferred embodiment of the present invention, the step of controlling the air conditioner to continue operating until the operating time of the air conditioner in the fresh air mode is greater than or equal to the standard time further includes:
[0039] Obtain a training dataset, input the training dataset into the fresh air model during training, and calculate the actual output value and the standard time; the training dataset includes the indoor gas concentration, indoor space volume, and the fresh air operation time;
[0040] The error function is used to calculate the error between the actual output value and the target output value.
[0041] If the error value is greater than the error threshold, the model parameters of the fresh air model in training are updated based on the backpropagation of the error value to obtain the trained fresh air model, which is used to generate the standard time.
[0042] In a preferred embodiment of the present invention, after calculating the error value between the actual output value and the target output value using an error function, the method further includes:
[0043] If the error value is less than or equal to the error threshold, then training the training fresh air model is stopped, and the training fresh air model is used as the trained fresh air model.
[0044] A second objective of this invention is to provide an electronic device comprising:
[0045] Processor; and
[0046] A memory storing executable code, which, when executed by the processor, causes the processor to perform the control method for the fresh air conditioner described above.
[0047] The beneficial effects of this invention are as follows:
[0048] This invention provides a method for controlling a fresh air conditioning system, comprising determining a detection start time based on the rate of increase in indoor gas concentration, performing a first concentration detection at the detection start time to obtain a first gas concentration, detecting whether the first gas concentration is greater than or equal to a gas concentration threshold, and if so, acquiring the outdoor air quality. Detecting outdoor air quality can prevent harmful gases and dust from being brought indoors, and detecting whether the outdoor air quality meets the standard; if it does, controlling the air conditioner to enter fresh air mode. When the outdoor air quality is good, controlling the air conditioner to enter fresh air mode can introduce good outdoor air into the indoor environment, improving the indoor air quality. If the gas corresponding to the first gas concentration is a harmful gas, the air conditioner is controlled to output air at maximum fan speed, thereby quickly reducing the concentration of harmful gases indoors. When the air conditioner operates in fresh air mode for the first time, a second concentration detection is performed to obtain a second gas concentration; if the second gas concentration is less than the expected concentration, it indicates that the air conditioner in fresh air mode is highly efficient in reducing indoor harmful gases during the first time. The air conditioner is controlled to continue operating until the operating time in fresh air mode is greater than or equal to the standard time, thereby timely purifying the indoor air and reducing the content of harmful gases indoors to a low level. Attached Figure Description
[0049] Figure 1 This is a flowchart of a control method for a fresh air conditioner provided by the present invention;
[0050] Figure 2 This is a flowchart for determining the detection start time provided by the present invention;
[0051] Figure 3 This is a flowchart for calculating the fresh air operation time provided by the present invention;
[0052] Figure 4 This is a flowchart of the training process of the fresh air model provided by the present invention. Detailed Implementation
[0053] Preferred embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
[0054] Example 1
[0055] like Figure 1 As shown, this embodiment provides a control method for a fresh air conditioning system, including:
[0056] S1: Determine the detection start time based on the growth rate of indoor gas concentration, and perform a first concentration detection at the detection start time to obtain the first gas concentration.
[0057] Gas detection sensors are installed in various locations both indoors and outdoors. The processor receives the gas concentration data collected by the gas detection sensors in various locations indoors, calculates the gas concentration in each location, obtains the first gas concentration, and stores the first gas concentration in the memory.
[0058] By comparing the indoor gas concentration at the current moment with that at the previous moment, the change in indoor gas concentration can be calculated. The change in concentration over time between the current and previous moments is calculated, and the rate of increase is determined by combining the change in concentration with the change in time. Parts per million (ppm) is used as the indicator for measuring indoor gas concentration.
[0059] Subtract the current indoor gas concentration from the gas concentration threshold to obtain the first concentration difference. Divide the first concentration difference by the growth rate to obtain the growth time. Add the growth time to the current time to obtain the detection start time.
[0060] Preferably, after the first concentration detection is performed at the start of the detection, the indoor gas concentration is detected in real time. If the indoor gas concentration detected in real time is greater than or equal to the gas concentration threshold, then proceed to step S2. If the indoor gas concentration detected in real time is less than the gas concentration threshold, then the indoor gas concentration is detected in real time again.
[0061] Preferably, the indoor gas concentration is measured once or multiple times before the start of the detection.
[0062] S2: Detect whether the concentration of the first gas is greater than or equal to the gas concentration threshold. If so, obtain the outdoor air quality.
[0063] If the concentration of the first gas is greater than or equal to the gas concentration threshold, it indicates that fresh air exchange is needed in the indoor environment to reduce the concentration of the first gas. Outdoor air quality is obtained through gas detection sensors located in various directions. In the event of extreme weather such as a sandstorm, the fresh air mode will not be activated, meaning that there will be no gas exchange between the indoor and outdoor environments.
[0064] If the concentration of the first gas is less than the gas concentration threshold, the gas concentration will be detected again.
[0065] S3: Detect whether the outdoor air quality meets the standard. If it does, control the air conditioner to enter the fresh air mode.
[0066] Determining outdoor air quality can involve detecting whether outdoor air contains harmful gases or detecting the content of harmful gases in outdoor air; no specific limitation is made here.
[0067] Input the initial gas concentration and the current air conditioner fan speed into the trained fresh air model to calculate the standard time. Once the standard time is obtained, control the air conditioner to switch to fresh air mode, introducing outdoor air into the indoor environment.
[0068] If the outdoor air quality does not meet the standards, the air conditioner will switch to purification mode to purify the outdoor air until it meets the standards, at which point the air conditioner will switch to fresh air mode. Specifically, air conditioners with fresh air function are equipped with an air filter. Outdoor air flows into the air filter, which filters the outdoor air, removing harmful gases and dust.
[0069] S4: If the gas corresponding to the first gas concentration is a harmful gas, then control the air conditioner to blow air at the maximum wind speed.
[0070] The room is equipped with multiple gas detectors. While detecting the concentration of a first gas, the gas detectors can also detect the type of gas corresponding to the first gas concentration. Based on the type of gas, it can be determined whether the gas is a harmful gas.
[0071] Harmful gases include carbon monoxide, chlorine, and ammonia. For example, if a gas detector detects a gas concentration of 800 ppm and the gas is carbon monoxide, then the gas is determined to be a harmful gas.
[0072] S5: When the air conditioner is running in the fresh air mode for a first time, a second concentration detection is performed to obtain a second gas concentration; if the second gas concentration is less than the expected concentration, the air conditioner is controlled to continue running until the air conditioner's running time in the fresh air mode is greater than or equal to the standard time, and the first time is less than the standard time.
[0073] The first time is less than the standard time. Preferably, the first time is set to half of the standard time, denoted as T1, where T1 = 0.5 * T. 标 T 标 Standard time.
[0074] If the concentration of the second gas is less than the expected concentration, it indicates that the reduction of harmful gases in the indoor environment after the air conditioner operates in fresh air mode for the first time meets expectations. The air conditioner is then controlled to continue operating in fresh air mode for a second time, which is the standard time minus the first time, thereby reducing harmful gases in the indoor environment to a lower level.
[0075] This embodiment provides a method for controlling a fresh air conditioning system, which includes determining the detection start time based on the growth rate of indoor gas concentration, performing a first concentration detection at the detection start time to obtain a first gas concentration, detecting whether the first gas concentration is greater than or equal to a gas concentration threshold, and if so, acquiring the outdoor air quality. Detecting outdoor air quality can prevent harmful gases and dust from being brought indoors. Detecting whether the outdoor air quality meets the standard, and if so, controlling the air conditioner to enter fresh air mode. When the outdoor air quality is good, controlling the air conditioner to enter fresh air mode can introduce good outdoor air into the indoor environment, improving the indoor air quality. If the gas corresponding to the first gas concentration is a harmful gas, the air conditioner is controlled to output air at maximum fan speed, thereby quickly reducing the concentration of harmful gases indoors. When the air conditioner operates in fresh air mode for the first time, a second concentration detection is performed to obtain a second gas concentration; if the second gas concentration is less than the expected concentration, it indicates that the air conditioner in fresh air mode is highly efficient in reducing indoor harmful gases during the first time. The air conditioner is controlled to continue operating until the operating time in fresh air mode is greater than or equal to the standard time, thereby timely purifying the indoor air and reducing the content of harmful gases indoors to a low level.
[0076] Example 2
[0077] This embodiment only describes the differences from Embodiment 1. After performing the second concentration detection and obtaining the second gas concentration, it further includes:
[0078] S61: If the concentration of the second gas is greater than or equal to the desired concentration, then issue a first alarm message.
[0079] The trained fresh air model calculates the expected indoor gas concentration after the air conditioner has been running in fresh air mode for the first time, based on gas concentration thresholds and maximum wind speed. During the initial operation of the air conditioner in fresh air mode, the concentration of harmful gases, such as carbon monoxide, gradually decreases. When the concentration of a second harmful gas is greater than or equal to the expected concentration, it indicates that the air conditioner in fresh air mode is not effectively purifying the indoor harmful gases, and an initial alarm is triggered.
[0080] The first alarm message includes any one or more of the following: sound signal, light signal, and text signal. For example, an indicator light is installed on the outer wall of the indoor unit of the air conditioner. If the concentration of the second gas is greater than or equal to the desired concentration, the indicator light will be lit.
[0081] Step S61 includes:
[0082] S611: Controls the buzzer to emit a buzzing sound.
[0083] A buzzer can be installed inside the indoor unit of the air conditioner. After the air conditioner detects that it has been running in fresh air mode for a short time, if the concentration of the second gas is greater than or equal to the desired concentration, the controller of the indoor unit will activate the buzzer to sound. Alternatively, a buzzer can be installed outside the indoor unit, and a buzzer control signal can be sent from the indoor unit's wireless module to the buzzer's controller. The controller then activates the buzzer to sound based on the control signal.
[0084] S612: Controls the wireless module to send alarm SMS messages to the user's terminal device.
[0085] The wireless module is installed inside the indoor unit of the air conditioner. The controller of the indoor unit controls the wireless module to send alarm SMS messages to the user's terminal devices, including mobile phones and computers.
[0086] As an example, the controller of the indoor air conditioner generates an alarm SMS message stating that the current indoor harmful gas level exceeds the standard, suggesting opening windows for ventilation and investigating the source of the harmful gas. The controller of the indoor air conditioner controls the wireless module to send the alarm SMS message to the user's mobile phone.
[0087] S62: Detect whether the air conditioner has been running in the fresh air mode for the standard time. If so, perform a third concentration detection to obtain the third gas concentration.
[0088] After issuing the first alarm, the air conditioner continues to operate in fresh air mode, introducing better quality outdoor air to reduce the concentration of harmful gases indoors. When the air conditioner has been running in fresh air mode for a standard time (i.e., after running for a second time in fresh air mode on top of the first time), a third concentration detection is performed to obtain the third gas concentration. The standard time is equal to the first time plus the second time.
[0089] S63: If the concentration of the third gas is less than the gas concentration threshold, an alarm cancellation message is issued.
[0090] After the air conditioner has run in fresh air mode for a standard period of time, if the concentration of the third gas is less than the gas concentration threshold, it indicates that the indoor concentration of harmful gases is low. The alarm will then stop beeping and a message will be sent to the user's device to clear the alarm. The message will state that the current indoor concentration of harmful gases is low and recommends that the air conditioner continue operating in fresh air mode or switch to temperature control mode.
[0091] like Figure 2 As shown, determining the detection start time based on the rate of increase in indoor gas concentration includes:
[0092] S11: Obtain the change in indoor gas concentration from the previous moment to the current moment.
[0093] Let the previous time be t0 and the current time be t1. Obtain the indoor gas concentration C0 corresponding to t0 and the indoor gas concentration C1 corresponding to t1.
[0094] Subtracting the indoor gas concentration from the previous moment from the current moment's indoor gas concentration yields the concentration change, which is expressed as C1-C0.
[0095] S12: Subtract the previous time from the current time to obtain the time change.
[0096] Subtracting the previous time t0 from the current time t1 yields the change in time, which is expressed as t1-t0.
[0097] S13: Calculate the ratio of the concentration change to the time change to obtain the growth rate.
[0098] The growth rate is expressed as:
[0099]
[0100] The growth rate may be a decimal or an integer. Preferably, if the calculated growth rate is a decimal, it can be rounded to one or two decimal places, or it can be converted from a decimal to an integer by rounding down, thereby improving calculation efficiency.
[0101] S14: Calculate the difference between the gas concentration threshold and the indoor gas concentration at the current moment to obtain the first concentration difference.
[0102] Let the first concentration difference be denoted as C. th -C1, where C th This represents the gas concentration threshold.
[0103] S15: Calculate the ratio of the first concentration difference to the growth rate to obtain the growth time.
[0104] The growth time is expressed as:
[0105]
[0106] The growth time is directly proportional to the initial concentration difference and inversely proportional to the growth rate. When the growth rate is constant, the larger the initial concentration difference, the longer the growth time; when the initial concentration difference is constant, the larger the growth rate, the shorter the growth time.
[0107] As an example, if the carbon monoxide gas concentration threshold is set to 100 ppm, the indoor carbon monoxide gas concentration detected at the previous moment is 46 ppm, the indoor carbon monoxide gas concentration detected at the current moment is 60 ppm, and the time difference between the current moment and the previous moment is 1 hour, then the carbon monoxide growth rate is 14 ppm / h, and the growth time is 2.86 hours.
[0108] S16: Add the current time to the growth time to obtain the detection start time.
[0109] From the current moment, the air conditioner is either in cooling or heating mode, or it is off. As time goes on, the indoor gas concentration gradually increases. Adding the current moment to the increase time gives the detection start moment.
[0110] In this embodiment, when the second gas concentration is greater than or equal to the desired concentration, a first alarm message is issued to alert the user that the indoor concentration of harmful gases is high. The air conditioner continues to operate in fresh air mode, introducing outdoor air with higher quality into the room to reduce the indoor concentration of harmful gases. After the air conditioner has been running in fresh air mode for a standard time, a third concentration detection is performed to obtain the third gas concentration. If the third gas concentration corresponding to the harmful gas is less than the gas concentration threshold, it indicates that the indoor concentration of harmful gases is low, and an alarm cancellation message is issued.
[0111] Example 3
[0112] like Figure 3 As shown, this embodiment only describes the differences from Embodiment 1. After controlling the air conditioner to enter the fresh air mode, it also includes:
[0113] S41': If the gas corresponding to the first gas concentration is a harmless gas, then control the air conditioner to output air at a preset fan speed.
[0114] The preset fan speed is lower than the maximum fan speed. For harmless gases in the indoor environment, the air conditioner is controlled to output air at the preset fan speed to reduce the concentration of the primary gas. Gas sensors are installed at multiple locations indoors, and these sensors can simultaneously detect the gas type and the concentration of the primary gas.
[0115] S42': When the air conditioner is running in the fresh air mode for the first time, a fourth concentration detection is performed to obtain the fourth gas concentration.
[0116] As an example, the air conditioner ran in fresh air mode for 2 hours, at which time the first gas concentration of carbon dioxide was detected to be 600 ppm.
[0117] S43': If the concentration of the fourth gas is greater than or equal to the desired concentration, then obtain the current fan speed of the air conditioner.
[0118] The expected concentration is the expected value of the indoor gas concentration after the air conditioner has been running in fresh air mode for the first time. This expected concentration is calculated by the trained fresh air model.
[0119] As an example, the expected concentration of carbon dioxide is 350 ppm, the concentration of the fourth gas of carbon dioxide detected at the first moment is 600 ppm, and the current fan speed of the air conditioner is obtained.
[0120] S44': Determine the target wind speed level based on the concentration range corresponding to the fourth gas concentration.
[0121] The wind speed settings are divided into five levels, with the lowest wind speed at level 1 and the highest wind speed at level 5. The wind speed gradually increases from level 1 to level 5.
[0122] This application uses indoor carbon dioxide concentration as an example, dividing it into five concentration ranges: 0-100 ppm, 100-200 ppm, 200-300 ppm, 300-400 ppm, and 400-600 ppm. 0-100 ppm corresponds to the first wind speed level, 100-200 ppm to the second, 200-300 ppm to the third, 300-400 ppm to the fourth, and 400-600 ppm to the fifth. The desired carbon dioxide concentration is positively correlated with the target wind speed level; that is, the higher the desired carbon dioxide concentration, the higher the target wind speed level.
[0123] S45': If the current wind speed is less than the wind speed of the target wind speed setting, then adjust the current wind speed to the wind speed of the target wind speed setting.
[0124] If the concentration of carbon dioxide as the fourth gas is 600 ppm and the desired concentration is 350 ppm, then the corresponding concentration range is 300-400 ppm. The target wind speed is the 4th speed, and the current wind speed is the wind speed corresponding to the 3rd speed. Adjust the current wind speed to the 4th speed.
[0125] S46': Add the adjustment time to the standard time to obtain the fresh air operation time, which is the operation time of the air conditioner in the fresh air mode.
[0126] Calculate the adjustment time using the following formula:
[0127]
[0128] Among them, T 调节 To adjust the time, V is the growth rate, C1 is the second gas concentration after the air conditioner has been running in fresh air mode for the first time, and C... 标 Standard time.
[0129] Adding the adjustment time to the standard time gives the fresh air operation time. When the air conditioner is not very efficient at purifying the indoor environment in fresh air mode, extending the air conditioner's operation time in fresh air mode can reduce the indoor gas concentration to a lower level.
[0130] The detection of whether the outdoor air quality meets the standards includes:
[0131] The outdoor air is tested to determine whether it contains the harmful gases. If not, the outdoor air quality is deemed to meet the standards.
[0132] Harmful gases include carbon monoxide, chlorine, and ammonia. When the concentration of each harmful gas in outdoor air is lower than the corresponding harmful gas threshold, the outdoor air quality is considered to meet the standards.
[0133] If the indoor gas detector malfunctions, the system reads the historical data stored in the memory. The historical data includes the indoor gas concentration, indoor space volume, and fresh air operation time in different historical time periods.
[0134] The trained fresh air model is a neural network-based model. The type of neural network can be BP (BackPropagation), FNN (Feedforward neural network), CNN (Convolutional Neural Networks), or RCNN (Region-based Convolutional Neural Network), without any specific limitation here.
[0135] When the air conditioner is operating in the fresh air mode for the first time, after performing a fourth concentration detection to obtain the fourth gas concentration, the method further includes:
[0136] S43”: If the concentration of the fourth gas is less than the desired concentration, subtract the concentration of the fourth gas from the desired concentration to obtain the concentration difference.
[0137] If the concentration of the fourth gas is less than the desired concentration, it indicates that the air conditioner has a good purification effect on the indoor environment after operating in fresh air mode for the first time. If the air conditioner continues to operate in fresh air mode until the operating time in fresh air mode is greater than or equal to the standard time, the indoor gas concentration will already be low before the standard operating time in fresh air mode. Continuing to operate the air conditioner in fresh air mode at this point would be a waste of resources. Therefore, the concentration difference is obtained by subtracting the concentration of the fourth gas from the desired concentration.
[0138] S44”: Reduce the fresh air operation time based on the concentration difference.
[0139] The concentration difference is negatively correlated with the reduced fresh air operation time. That is, the larger the concentration difference, the lower the concentration of the fourth gas when the desired concentration remains unchanged. This indicates that the air conditioner has a better purification effect on indoor air after running in fresh air mode for the first time. The air conditioner only needs to run in fresh air mode for a shorter time, thereby achieving energy saving and emission reduction.
[0140] like Figure 4 As shown, the step of controlling the air conditioner to continue operating until the air conditioner's operating time in the fresh air mode is greater than or equal to the standard time further includes:
[0141] S21': Obtain the training dataset, input the training dataset into the fresh air model during training, and calculate the actual output value and the standard time; the training dataset includes the indoor gas concentration, indoor space volume, and the fresh air operation time.
[0142] This embodiment determines the indoor space volume based on the air conditioner's horsepower rating. The indoor space volume is positively correlated with the air conditioner's horsepower rating; that is, the larger the air conditioner's horsepower rating, the larger the indoor space volume. The training dataset may contain inconsistent dimensions, missing values, and / or outliers. For inconsistent dimensions, normalization is performed using extremum normalization. If the training dataset contains missing values, interpolation or similarity imputation is used. If the training dataset contains outliers, the outliers are deleted or replaced.
[0143] This embodiment takes the training of the fresh air model as an example of a BP neural network with two hidden layers. The training dataset is input into the input layer of the BP neural network, and then passes through the two hidden layers for nonlinear operations. Finally, the output layer of the BP neural network produces the actual output value.
[0144] S22': Calculate the error between the actual output value and the target output value using an error function.
[0145] The error function used to measure the difference between the output and the target output can be the MSE (Mean Square Error), MAE (Mean Absolute Error), or cross-entropy error function; no specific limitation is made here.
[0146] The error value is negatively correlated with the prediction accuracy of the fresh air model during training; that is, the smaller the error value, the higher the prediction accuracy of the fresh air model during training.
[0147] S23': If the error value is greater than the error threshold, then backpropagate based on the error value to update the model parameters of the fresh air model in training, and obtain the trained fresh air model, which is used to generate the standard time.
[0148] When the error value is greater than the error threshold, it indicates that the prediction accuracy of the fresh air model during training does not meet expectations. Calculate the partial derivatives of the error value with respect to each model parameter, and then use the gradient descent method to update the model parameters of the fresh air model during training based on the partial derivatives.
[0149] A training iteration threshold can be set. When the number of training iterations of the fresh air model is greater than or equal to the threshold, the fresh air model is considered to meet expectations. Alternatively, a model parameter threshold can be set. When the model parameters are less than the corresponding threshold, the fresh air model is considered to meet expectations. If the fresh air model meets expectations, training ends, and a trained fresh air model is obtained. This trained fresh air model is then used to generate standard times.
[0150] After calculating the error between the actual output value and the target output value using an error function, the method further includes:
[0151] If the error value is less than or equal to the error threshold, then training the training fresh air model is stopped, and the training fresh air model is used as the trained fresh air model.
[0152] When the error value is less than or equal to the error threshold, it indicates that the prediction accuracy of the fresh air model in training meets expectations. Training is then stopped, and the fresh air model in training is treated as the trained fresh air model.
[0153] In this embodiment, when the concentration of the first harmless gas is greater than or equal to a gas concentration threshold, the air conditioner is controlled to output air at a preset fan speed, which is less than the maximum fan speed. Reducing the indoor concentration of harmless gases does not require a rapid speed. Since the air conditioner changes the indoor temperature when operating in fresh air mode, using a preset fan speed ensures a slower temperature change and higher comfort for indoor users. When the air conditioner first starts operating in fresh air mode, a fourth concentration is detected to obtain the fourth gas concentration. If the fourth gas concentration is greater than or equal to the desired concentration, it indicates that the air conditioner's purification efficiency in fresh air mode is not high, and the current fan speed of the air conditioner is obtained. A target fan speed level is determined based on the concentration range corresponding to the fourth gas concentration. If the current fan speed is less than the target fan speed level, it indicates that there is room for improvement in the air conditioner's output fan speed for the current fourth gas concentration, and the current fan speed is adjusted to the target fan speed level. The standard time plus the adjustment time is used as the fresh air operation time. By increasing the current fan speed of the air conditioner and extending the operating time in fresh air mode, the indoor concentration of harmless gases can be reduced to a low level.
[0154] Example 4
[0155] This embodiment provides an electronic device, which includes a memory and a processor.
[0156] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0157] Memory can include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices.
[0158] The memory stores executable code, which, when processed by the processor, can cause the processor to execute some or all of the methods described above.
[0159] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of this application. Any specific values in all examples shown and discussed herein should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following figures denote similar items; therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0160] In the description of this application, it should be understood that the orientation or positional relationship indicated by directional terms such as "front, back, up, down, left, right", "horizontal, vertical, horizontal" and "top, bottom" is usually based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this application and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this application; the directional terms "inner" and "outer" refer to the inner and outer contours relative to the outline of each component itself.
[0161] For ease of description, spatial relative terms such as "above," "on top of," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation beyond the orientation of the device as described in the figures. For example, if the device in the figures were inverted, a device described as "above" or "on top of" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.
[0162] Furthermore, it should be noted that the use of terms such as "first" and "second" to define components is merely for the purpose of distinguishing the corresponding components. Unless otherwise stated, the above terms have no special meaning and therefore cannot be construed as limiting the scope of protection of this application.
[0163] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for controlling a fresh air conditioning system, characterized in that, include: The detection start time is determined based on the rate of increase of indoor gas concentration. A first concentration detection is performed at the detection start time to obtain a first gas concentration. The indoor gas concentration is detected multiple times before the detection start time. Detect whether the concentration of the first gas is greater than or equal to the gas concentration threshold; if so, obtain the outdoor air quality. The system checks whether the outdoor air quality meets the standards. If it does, it controls the air conditioner to switch to fresh air mode. If the gas corresponding to the first gas concentration is a harmful gas, then control the air conditioner to blow air at the maximum wind speed; When the air conditioner is running in the fresh air mode for a first time, a second concentration detection is performed to obtain a second gas concentration; if the second gas concentration is less than the expected concentration, the air conditioner is controlled to continue running until the air conditioner's running time in the fresh air mode is greater than or equal to the standard time, and the first time is less than the standard time. The step of determining the detection start time based on the growth rate of indoor gas concentration includes: Obtain the change in indoor gas concentration from the previous moment to the current moment; Subtracting the previous time from the current time yields the change in time. The growth rate is obtained by calculating the ratio of the concentration change to the time change. Calculate the difference between the gas concentration threshold and the indoor gas concentration at the current moment to obtain a first concentration difference; Calculate the ratio of the first concentration difference to the growth rate to obtain the growth time; Adding the growth time to the current time yields the detection start time.
2. The control method for a fresh air conditioning system according to claim 1, characterized in that, After performing the second concentration detection to obtain the second gas concentration, the method further includes: If the concentration of the second gas is greater than or equal to the desired concentration, a first alarm message is issued; If the air conditioner has been running in the fresh air mode for the standard time, then a third concentration detection is performed to obtain the third gas concentration. If the concentration of the third gas is less than the gas concentration threshold, an alarm cancellation message will be issued.
3. The control method for a fresh air conditioning system according to claim 1, characterized in that, After the air conditioner is switched to fresh air mode, the following is also included: If the gas corresponding to the first gas concentration is a harmless gas, then control the air conditioner to output air at a preset fan speed; When the air conditioner is operating in the fresh air mode for the first time, a fourth concentration detection is performed to obtain the fourth gas concentration; If the concentration of the fourth gas is greater than or equal to the desired concentration, then the current fan speed of the air conditioner is obtained; The target wind speed level is determined based on the concentration range corresponding to the fourth gas concentration. If the current wind speed is less than the wind speed of the target wind speed setting, then the current wind speed is adjusted to the wind speed of the target wind speed setting. The standard time plus the adjustment time is taken as the fresh air operation time, which is the operating time of the air conditioner in the fresh air mode.
4. The control method for a fresh air conditioning system according to claim 3, characterized in that, The detection of whether the outdoor air quality meets the standards includes: The outdoor air is tested to determine whether it contains the harmful gases. If not, the outdoor air quality is deemed to meet the standards.
5. The control method for a fresh air conditioning system according to claim 3, characterized in that, When the air conditioner is operating in the fresh air mode for the first time, after performing a fourth concentration detection to obtain the fourth gas concentration, the method further includes: If the concentration of the fourth gas is less than the desired concentration, the concentration of the fourth gas is subtracted from the desired concentration to obtain the concentration difference. The fresh air operation time is reduced based on the concentration difference.
6. The control method for a fresh air conditioning system according to claim 2, characterized in that, If the concentration of the second gas is greater than or equal to the desired concentration, a first alarm message is issued, including: Control the buzzer to emit a buzzing sound; The control wireless module sends alarm SMS messages to the user's terminal device.
7. The control method for a fresh air conditioning system according to claim 1, characterized in that, The method of controlling the air conditioner to continue operating until the air conditioner's operating time in the fresh air mode is greater than or equal to the standard time also includes: Obtain a training dataset, input the training dataset into the fresh air model during training, and calculate the actual output value and the standard time; the training dataset includes the indoor gas concentration, indoor space volume, and fresh air operation time; The error function is used to calculate the error between the actual output value and the target output value. If the error value is greater than the error threshold, the model parameters of the fresh air model in training are updated based on the backpropagation of the error value to obtain the trained fresh air model, which is used to generate the standard time.
8. The control method for a fresh air conditioning system according to claim 7, characterized in that, After calculating the error between the actual output value and the target output value using an error function, the method further includes: If the error value is less than or equal to the error threshold, then training the training fresh air model is stopped, and the training fresh air model is used as the trained fresh air model.
9. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the control method for the fresh air conditioner according to any one of claims 1-8.
Citation Information
Patent Citations
Fresh air system and air change control method and device thereof
CN105157157A
Air conditioner and control method and device thereof, and computer readable storage medium
CN109268943A