Intelligent toilet air quality control method and device based on hydrogen sulfide sensor
Through the intelligent bathroom air quality control method based on hydrogen sulfide sensor, the working mode of the exhaust equipment is dynamically adjusted, and the problems of low regulation efficiency and large energy consumption in the existing technology are solved, and efficient and energy-saving air quality management is achieved.
Patent Information
- Application Number
- CN202510227371.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-04-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing smart bathroom air quality control technology cannot dynamically adjust the working mode of ventilation equipment according to changes in humidity and temperature, resulting in low regulation efficiency and large energy consumption.
The intelligent bathroom air quality control method based on hydrogen sulfide sensor is adopted. By obtaining the hydrogen sulfide concentration, humidity and temperature parameters in the bathroom air, a control command is generated to control the operation of the exhaust equipment, and the exhaust time is recorded. By calculating the correlation model of exhaust efficiency and environmental parameters, the working mode and operating parameters of exhaust equipment are dynamically adjusted.
It improves the efficiency and accuracy of air quality regulation, reduces energy consumption, and realizes automatic adjustment and optimization under different environmental conditions.
Smart Images

Figure CN119755787A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of information transmission, and in particular to a method and device for controlling air quality in an intelligent restroom based on a hydrogen sulfide sensor. Background Art
[0002] With the acceleration of urbanization, the frequency and demand for public toilets have increased significantly. In order to improve the user experience and hygiene level, modern toilet management systems are gradually developing towards intelligence and automation. Smart toilet systems can not only effectively manage the queues of users, but also monitor and control air quality in real time to ensure a fresh and hygienic environment.
[0003] Among the relevant technical means, the air quality control technology of smart toilets mainly relies on a variety of sensor devices, such as carbon dioxide sensors, ammonia sensors, and temperature and humidity sensors. These sensors can detect harmful gases and environmental parameters in the air in real time, and issue instructions through the central control system to control the start and stop of ventilation equipment, thereby achieving the effect of air purification. For example, when the carbon dioxide concentration exceeds the set value, the system will automatically start the exhaust fan for ventilation until the carbon dioxide concentration returns to a safe range. This type of technology has significant results in improving air quality, reducing odors, and improving user comfort.
[0004] Regarding the above technical solution, although the air quality can be regulated through the existing sensors and ventilation control systems, when faced with complex and changeable environmental conditions, it is impossible to dynamically adjust the working mode of the ventilation equipment according to changes in humidity and temperature, resulting in low regulation efficiency and high energy consumption. Summary of the invention
[0005] In order to improve the problem of low control efficiency and high energy consumption when facing complex and changeable environmental conditions and unable to dynamically adjust the working mode of ventilation equipment according to changes in humidity and temperature, the present application provides a smart toilet air quality control method and device based on hydrogen sulfide sensor.
[0006] The present invention provides an intelligent toilet air quality control method based on a hydrogen sulfide sensor, comprising: obtaining a first hydrogen sulfide concentration parameter, a humidity parameter and a temperature parameter in toilet air, generating a control instruction if the first hydrogen sulfide concentration parameter exceeds a preset threshold value, controlling an exhaust device preset in the toilet to exhaust air based on the control instruction until the hydrogen sulfide concentration is lower than the threshold value, and recording the exhaust time in real time; obtaining the hydrogen sulfide concentration in the toilet again to obtain a second hydrogen sulfide concentration parameter, performing a difference operation on the second hydrogen sulfide concentration parameter and the first hydrogen sulfide concentration parameter to obtain a hydrogen sulfide concentration comparison difference, and calculating the exhaust efficiency of the exhaust device for hydrogen sulfide gas at different humidity and different temperature by using the exhaust time and the hydrogen sulfide concentration comparison difference; constructing a correlation model between the exhaust efficiency, the humidity parameter and the temperature parameter, and dynamically adjusting the working mode and operating parameters of the exhaust device by using the humidity and temperature obtained in real time through the correlation model to achieve real-time control of toilet air quality.
[0007] As a preferred embodiment, the step of obtaining a first hydrogen sulfide concentration parameter, a humidity parameter and a temperature parameter in the restroom air includes: obtaining a first hydrogen sulfide concentration parameter in the restroom air through a hydrogen sulfide sensor configured in the restroom; obtaining a humidity parameter in the restroom air using a humidity parameter sensor preset in the restroom, and obtaining a temperature parameter in the restroom air based on a temperature parameter sensor preset in the restroom.
[0008] As a preferred embodiment, the step of calculating the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters by using the contrast difference between the exhaust time and the hydrogen sulfide concentration includes: performing fitting operation on the contrast difference between the exhaust time and the hydrogen sulfide concentration through a preset empirical model to obtain an exhaust dynamic characteristic coefficient, a concentration change rate and an environmental response coefficient; performing signal noise filtering processing on the exhaust dynamic characteristic coefficient to obtain a purification dynamic response, and using the purification dynamic response to perform correction fitting on the concentration change rate to obtain a purification effectiveness coefficient; performing weighted combination on the purification effectiveness coefficient to obtain an exhaust efficiency index, and performing correlation analysis on the exhaust efficiency index and environmental parameters to obtain a comprehensive efficiency index and an environmental efficiency coefficient; inputting the comprehensive efficiency index and the environmental efficiency coefficient into a preset calculation equation to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters; wherein the environmental parameters include hydrogen sulfide concentration, air humidity, air temperature, air flow rate and exhaust equipment operating status.
[0009] As a preferred solution, the comprehensive performance index and the environmental performance coefficient are input into a preset operation equation to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters. The calculation formula is as follows: in, Indicated at different humidity parameters and different temperature parameters The exhaust efficiency of the exhaust equipment under the condition of hydrogen sulfide gas, Humidity parameter The weight coefficient of is the temperature parameter The weight coefficient of , is the weight coefficient of the environmental performance coefficient, Humidity parameter The weight coefficient in the sine function, is the temperature parameter The weight coefficient in the sine function, is a comprehensive performance indicator. is the environmental efficiency coefficient.
[0010] As a preferred solution, the construction process of the preset empirical model includes: using data mining technology to extract the contrast difference between exhaust duration and hydrogen sulfide concentration from the historical data set to generate an original data set; using a statistical analysis method to perform regression analysis on the contrast difference between exhaust duration and hydrogen sulfide concentration in the original data set to obtain initial characteristic parameters and concentration change rate; using frequency domain analysis technology to perform frequency domain analysis on the initial characteristic parameters to extract the main spectrum features to identify the dominant exhaust dynamic mode; using principal component analysis to reduce the dimension of the exhaust dynamic mode to obtain the exhaust dynamic characteristic coefficient; using a linear regression model to perform correlation analysis on the exhaust dynamic characteristic coefficient and the concentration change rate to generate an initial response coefficient; inputting the initial response coefficient into a neural network for training and optimization, and outputting an environmental response coefficient; and obtaining an empirical model through multiple iterations of training and verification.
[0011] As a preferred scheme, the steps of performing signal noise filtering processing on the exhaust dynamic characteristic coefficient to obtain a purification dynamic response, and using the purification dynamic response to correct and fit the concentration change rate to obtain a purification effectiveness coefficient include: performing frequency domain analysis and noise reduction on the exhaust dynamic characteristic coefficient by frequency domain filtering technology to obtain a purification dynamic response; and using a nonlinear regression model to correct and fit the purification dynamic response and the concentration change rate to obtain a purification effectiveness coefficient.
[0012] As a preferred scheme, the steps of weighted combination of the purification effectiveness coefficients to obtain an exhaust efficiency index, correlation analysis of the exhaust efficiency index and environmental parameters to obtain a comprehensive efficiency index and an environmental efficiency coefficient include: weighted averaging the purification effectiveness coefficients using a weighted averaging method to obtain an exhaust efficiency index, normalizing the exhaust efficiency index to obtain a standardized exhaust efficiency index, classifying the standardized exhaust efficiency index according to a classification algorithm to obtain a plurality of classified efficiency indicators; correlating all the classified efficiency indicators with the environmental parameters to obtain an environmental efficiency coefficient, normalizing the environmental efficiency coefficient to obtain a standardized environmental efficiency coefficient; and comprehensively calculating the standardized exhaust efficiency index and the standardized environmental efficiency coefficient to obtain a comprehensive efficiency index.
[0013] The present application also provides an intelligent toilet air quality control device based on a hydrogen sulfide sensor, comprising: an acquisition module, used to acquire a first hydrogen sulfide concentration parameter, a humidity parameter and a temperature parameter in the toilet air, and if the first hydrogen sulfide concentration parameter exceeds a preset threshold value, a control instruction is generated, and based on the control instruction, the exhaust equipment preset in the toilet is controlled to exhaust until the hydrogen sulfide concentration is lower than the threshold value, and the exhaust time is recorded in real time; a calculation module, used to acquire the hydrogen sulfide concentration in the toilet again to obtain a second hydrogen sulfide concentration parameter, perform a difference operation on the second hydrogen sulfide concentration parameter and the first hydrogen sulfide concentration parameter to obtain a hydrogen sulfide concentration comparison difference, and use the exhaust time and the hydrogen sulfide concentration comparison difference to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas at different humidity and different temperatures; a construction module, used to construct a correlation model between the exhaust efficiency, the humidity parameter and the temperature parameter, and through the correlation model, use the humidity and temperature obtained in real time to dynamically adjust the working mode and operating parameters of the exhaust equipment to achieve real-time control of the toilet air quality.
[0014] Compared with the prior art, the present application has the following beneficial effects: high control efficiency and low energy consumption. Through real-time monitoring of the first hydrogen sulfide concentration parameter, humidity parameter and temperature parameter in the toilet air, a control instruction is generated to control the operation of the exhaust equipment, and the exhaust time is recorded. Then, the second hydrogen sulfide concentration parameter is obtained, the hydrogen sulfide concentration comparison difference and the exhaust efficiency are calculated, and a correlation model between the exhaust efficiency and humidity and temperature is constructed. The model is used to dynamically adjust the working mode and operating parameters of the exhaust equipment under different humidity and temperature conditions to achieve real-time control of the toilet air quality, so that the exhaust equipment can be automatically adjusted under different environmental conditions, and more energy-saving and efficient air quality management can be achieved. However, when facing complex and changeable environmental conditions, it is impossible to dynamically adjust the working mode of the ventilation equipment according to the changes in humidity and temperature, and there are problems of low control efficiency and high energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0016] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.
[0017] Figure 1 It is a flow chart of a method for controlling air quality in an intelligent toilet based on a hydrogen sulfide sensor provided in an embodiment of the present invention; Figure 2 It is a schematic block diagram of the structure of an intelligent toilet air quality control device based on a hydrogen sulfide sensor provided in an embodiment of the present invention.
[0018] Description of reference numerals: 10. Intelligent toilet air quality control device based on hydrogen sulfide sensor; 11. Acquisition module; 12. Calculation module; 13. Construction module. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0021] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0022] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0023] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0024] Embodiment 1: like Figure 1 As shown, the smart toilet air quality control method based on hydrogen sulfide sensor provided in the embodiment of the present application includes steps S100 to S300.
[0025] Step S100, obtaining a first hydrogen sulfide concentration parameter, a humidity parameter, and a temperature parameter in the toilet air. If the first hydrogen sulfide concentration parameter exceeds a preset threshold, a control instruction is generated, and based on the control instruction, the exhaust equipment preset in the toilet is controlled to exhaust until the hydrogen sulfide concentration is lower than the threshold, and the exhaust time is recorded in real time.
[0026] In this step, a hydrogen sulfide sensor, a humidity sensor, and a temperature sensor are used to collect data. Specifically, the hydrogen sulfide sensor detects the concentration of hydrogen sulfide in the air and converts the value into a first hydrogen sulfide concentration parameter; the humidity sensor detects the humidity in the air and generates a humidity parameter; the temperature sensor detects the temperature in the air and generates a temperature parameter. When the first hydrogen sulfide concentration parameter exceeds a preset threshold, a control instruction is generated to start the exhaust device to exhaust until the hydrogen sulfide concentration drops below the threshold, and the exhaust time of the exhaust device is recorded in real time.
[0027] For example, when the first hydrogen sulfide concentration parameter in the restroom reaches or exceeds 10 ppm (parts per million), the exhaust equipment will be automatically started to exhaust the indoor air until the hydrogen sulfide concentration drops below 10 ppm, and the duration of the exhaust will be recorded.
[0028] Step S200, obtaining the hydrogen sulfide concentration in the toilet again to obtain a second hydrogen sulfide concentration parameter, performing a difference operation on the second hydrogen sulfide concentration parameter and the first hydrogen sulfide concentration parameter to obtain a hydrogen sulfide concentration comparison difference, and using the exhaust time and the hydrogen sulfide concentration comparison difference to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas at different humidity and different temperatures.
[0029] In this step, the hydrogen sulfide sensor is used again to obtain the latest hydrogen sulfide concentration value and generate a second hydrogen sulfide concentration parameter. Specifically, the first hydrogen sulfide concentration parameter and the second hydrogen sulfide concentration parameter are subjected to a difference operation to obtain a hydrogen sulfide concentration comparison difference. Then, the exhaust time is combined with the hydrogen sulfide concentration comparison difference to calculate the exhaust efficiency of the exhaust equipment at different humidity and different temperatures, helping to optimize the operation mode of the exhaust equipment.
[0030] For example, when the first hydrogen sulfide concentration parameter is 10 ppm and the exhaust equipment has been running for 5 minutes, the second hydrogen sulfide concentration parameter drops to 2 ppm. The difference calculation shows that the hydrogen sulfide concentration comparison difference is 8 ppm. Based on the exhaust time of 5 minutes, the exhaust efficiency of the exhaust equipment under the current humidity and temperature conditions is calculated.
[0031] Step S300: construct a correlation model between exhaust efficiency, humidity parameters and temperature parameters, and dynamically adjust the working mode and operating parameters of the exhaust equipment by using the real-time acquired humidity and temperature through the correlation model to achieve real-time control of the restroom air quality.
[0032] In this step, the collected exhaust efficiency, humidity parameters, and temperature parameters are processed to build a correlation model between the three. Specifically, a functional relationship model between exhaust efficiency, humidity, and temperature is established through machine learning algorithms or multivariate regression analysis. On this basis, the current humidity and temperature can be obtained in real time, and combined with the correlation model, the working mode and operating parameters of the exhaust equipment can be dynamically adjusted to achieve the optimal air quality control effect.
[0033] For example, when the current humidity parameter is 60% and the temperature parameter is 25°C, the wind speed and operating time of the exhaust equipment are adjusted according to the association model to efficiently reduce the hydrogen sulfide concentration.
[0034] In this embodiment, the first hydrogen sulfide concentration parameter, humidity parameter and temperature parameter in the toilet air are obtained. If the first hydrogen sulfide concentration parameter exceeds the preset threshold value, a control instruction is generated, and the exhaust device preset in the toilet is controlled to exhaust based on the control instruction until the hydrogen sulfide concentration is lower than the threshold value, and the exhaust time is recorded in real time. Subsequently, the hydrogen sulfide concentration in the toilet is obtained again to obtain the second hydrogen sulfide concentration parameter, and the second hydrogen sulfide concentration parameter and the first hydrogen sulfide concentration parameter are differenced to obtain the hydrogen sulfide concentration comparison difference. The exhaust efficiency of the exhaust device for hydrogen sulfide gas at different humidity and different temperature is calculated by using the exhaust time and the hydrogen sulfide concentration comparison difference. Finally, a correlation model between the exhaust efficiency, humidity parameter and temperature parameter is constructed, and the working mode and operating parameters of the exhaust device are dynamically adjusted by using the real-time acquired humidity and temperature through the correlation model, so as to realize the real-time regulation of the toilet air quality. By real-time monitoring of parameters such as hydrogen sulfide concentration, humidity and temperature in the toilet, and dynamically adjusting the working mode and operating parameters of the exhaust device based on these parameters, the efficiency and accuracy of air quality regulation are improved. In addition, a correlation model is constructed using the contrast difference of hydrogen sulfide concentration and exhaust time, so that the exhaust equipment can automatically adjust under different environmental conditions to achieve more energy-saving and efficient air quality management. However, when faced with complex and changeable environmental conditions, the working mode of the ventilation equipment cannot be dynamically adjusted according to changes in humidity and temperature, resulting in problems such as low control efficiency and high energy consumption.
[0035] Embodiment 2: In step S100, the step of obtaining a first hydrogen sulfide concentration parameter, a humidity parameter, and a temperature parameter in the restroom air includes: obtaining the first hydrogen sulfide concentration parameter in the restroom air by a hydrogen sulfide sensor disposed in the restroom.
[0036] The air quality in the restroom is monitored in real time through a hydrogen sulfide sensor; specifically, the hydrogen sulfide sensor is arranged at the ventilation hole or other suitable place in the restroom, can continuously collect air samples, and convert the detected hydrogen sulfide concentration value into a digital signal to generate a first hydrogen sulfide concentration parameter.
[0037] For example, a hydrogen sulfide sensor can be set to detect once every minute. If the detected hydrogen sulfide concentration is higher than the set threshold, an alarm signal is immediately sent to the central control system and the current hydrogen sulfide concentration is recorded.
[0038] The humidity parameter in the air in the restroom is obtained by using a humidity parameter sensor preset in the restroom, and the temperature parameter in the air in the restroom is obtained based on a temperature parameter sensor preset in the restroom.
[0039] The environmental conditions in the restroom are monitored in real time through humidity sensors and temperature sensors; specifically, the humidity sensor can be installed on the wall or ceiling of the restroom, which can accurately measure the humidity in the air and generate humidity parameters; the temperature sensor can be installed in the area near the humidity sensor, which can monitor the air temperature in real time and generate temperature parameters.
[0040] For example, a humidity sensor can be set to record humidity changes once an hour and upload the data to a central control system; a temperature sensor can record temperature changes every half an hour and upload the data for comprehensive analysis.
[0041] In step S200, the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters is calculated by using the exhaust time and hydrogen sulfide concentration contrast difference, including: fitting the exhaust time and hydrogen sulfide concentration contrast difference through a preset empirical model to obtain the exhaust dynamic characteristic coefficient, concentration change rate and environmental response coefficient.
[0042] By analyzing historical data, a relationship model between exhaust time and hydrogen sulfide concentration difference is established; specifically, the model is obtained by fitting a large amount of experimental data, which can reflect the exhaust effect of exhaust equipment under different humidity and temperature conditions. Through this model, the exhaust dynamic characteristic coefficient, concentration change rate and environmental response coefficient can be determined.
[0043] For example, when the exhaust equipment is operated at high humidity (e.g., 80%) and low temperature (e.g., 15°C), the model can show that it will take longer for the exhaust equipment to effectively reduce the hydrogen sulfide concentration.
[0044] The exhaust gas dynamic characteristic coefficient is subjected to signal noise filtering to obtain a purification dynamic response, and the concentration change rate is corrected and fitted using the purification dynamic response to obtain a purification effectiveness coefficient.
[0045] The measured exhaust dynamic characteristic coefficient is de-noised by signal processing technology; specifically, the frequency domain filtering technology is used to remove the noise components in the data to obtain the purification dynamic response. Then, the concentration change rate is corrected and fitted using the purification dynamic response to obtain a more accurate purification effectiveness coefficient.
[0046] For example, a low-pass filter is used to process the exhaust dynamic characteristic coefficient signal, filter out high-frequency noise components, and obtain a smooth purification dynamic response.
[0047] The purification efficiency coefficients are weighted and combined to obtain the exhaust efficiency index. The exhaust efficiency index and environmental parameters are correlated and analyzed to obtain the comprehensive efficiency index and environmental efficiency coefficient.
[0048] The exhaust efficiency index is calculated by taking into account a variety of efficiency indicators through a weighted method; specifically, different weights are assigned to different efficiency indicators to reflect their importance in the overall exhaust efficiency, and then the weighted average is performed to obtain the exhaust efficiency index. Then, the exhaust efficiency index is combined with environmental parameters (such as hydrogen sulfide concentration, air humidity, air temperature, etc.) using the correlation analysis method to obtain a comprehensive efficiency index and environmental efficiency coefficient.
[0049] For example, assuming that the weights of the purification effectiveness coefficient and the concentration change rate are 0.6 and 0.4 respectively, the exhaust efficiency index can be expressed as the result of the weighted average of the two.
[0050] The comprehensive performance index and the environmental performance coefficient are input into a preset calculation equation to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters; wherein the environmental parameters include hydrogen sulfide concentration, air humidity, air temperature, air flow rate and the operating status of the exhaust equipment.
[0051] Through the preset operation equation, various environmental parameters are comprehensively considered to calculate the actual exhaust efficiency of the exhaust equipment; specifically, the operation equation takes into account the influence of humidity parameters, temperature parameters and other environmental conditions, and can dynamically adjust the operating parameters of the exhaust equipment to ensure optimal exhaust efficiency under different conditions.
[0052] For example, the operational equation can use a multivariate regression analysis method, combined with a comprehensive performance index and an environmental performance coefficient, to obtain the optimal exhaust efficiency.
[0053] The comprehensive performance index and the environmental performance coefficient are input into the preset operation equation to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters. The calculation formula is as follows: in, Indicated at different humidity parameters and different temperature parameters The exhaust efficiency of the exhaust equipment under the condition of hydrogen sulfide gas, Humidity parameter The weight coefficient of is the temperature parameter The weight coefficient of , is the weight coefficient of the environmental performance coefficient, Humidity parameter The weight coefficient in the sine function, is the temperature parameter The weight coefficient in the sine function, is a comprehensive performance indicator. is the environmental efficiency coefficient.
[0054] Through the specific application of each parameter in the formula, the exhaust efficiency under different environmental conditions is calculated; specifically, through the adjustment of the weight coefficient in the formula, the influence of different parameters on the exhaust efficiency can be reflected, thereby optimizing the operation strategy of the exhaust equipment.
[0055] For example, under high humidity and low temperature conditions (H=80%, T=15°C), by inputting the corresponding environmental parameter values, the actual exhaust efficiency E of the exhaust equipment can be calculated, thereby adjusting the working mode of the exhaust equipment.
[0056] Among them, the construction process of the preset empirical model includes: using data mining technology to extract the difference between exhaust duration and hydrogen sulfide concentration from the historical data set to generate the original data set.
[0057] A large amount of historical data is analyzed and processed through data mining technology to extract key parameters related to exhaust effect; specifically, the difference between exhaust duration and hydrogen sulfide concentration is extracted from the historical data set to generate an original data set containing multi-dimensional information.
[0058] For example, the duration of each exhaust operation and the corresponding hydrogen sulfide concentration change data are extracted from the exhaust equipment operation data recorded in the past year to form an original data set containing thousands of records.
[0059] The statistical analysis method is used to perform regression analysis on the difference between exhaust duration and hydrogen sulfide concentration in the original data set to obtain the initial characteristic parameters and concentration change rate.
[0060] A mathematical model between the exhaust duration and the difference in hydrogen sulfide concentration is established through regression analysis. Specifically, statistical analysis methods such as linear regression or nonlinear regression are used to fit the exhaust duration and concentration change data in the original data set to obtain the initial characteristic parameters and concentration change rate.
[0061] For example, a linear regression analysis method is used to fit the relationship curve between the exhaust duration and the change in hydrogen sulfide concentration to obtain the initial characteristic parameters.
[0062] The initial characteristic parameters are analyzed in the frequency domain by frequency domain analysis technology, and the main spectrum features are extracted to identify the dominant exhaust dynamic mode.
[0063] The initial characteristic parameters are processed by frequency domain analysis technology to extract the main spectral features; specifically, the initial characteristic parameters are converted into the frequency domain using frequency domain analysis methods such as Fourier transform to identify the dominant exhaust dynamic mode.
[0064] For example, the initial characteristic parameters are spectrally analyzed using Fast Fourier Transform (FFT) to identify the main frequency components and determine the dominant mode of exhaust dynamics.
[0065] The principal component analysis is applied to reduce the dimension of the exhaust dynamic mode and obtain the exhaust dynamic characteristic coefficient.
[0066] The extracted spectral features are subjected to dimensionality reduction processing by principal component analysis technology; specifically, by calculating the contribution rate of each spectral feature, the main components are selected, the data dimension is reduced, and thus the exhaust dynamic characteristic coefficients are extracted.
[0067] For example, the principal component analysis (PCA) technique is used to reduce the multidimensional spectrum characteristics to two or three main components, and the main coefficients representing the dynamic characteristics of the exhaust are obtained.
[0068] The linear regression model is used to analyze the correlation between the exhaust dynamic characteristic coefficient and the concentration change rate to generate the initial response coefficient.
[0069] The correlation between the exhaust dynamic characteristic coefficient and the concentration change rate is analyzed by a linear regression model; specifically, a regression model is established to analyze the correlation between the two, thereby generating an initial response coefficient that reflects the relationship between the exhaust efficiency and the concentration change rate.
[0070] For example, through linear regression analysis, the linear relationship between the exhaust dynamic characteristic coefficient and the concentration change rate is determined, and the corresponding regression coefficient is generated as the initial response coefficient.
[0071] The initial response coefficient is input into the neural network for training and optimization, and the environmental response coefficient is output; Through multiple iterations of training and verification, an empirical model is obtained.
[0072] By taking the initial response coefficient as input, a neural network is used for training and optimization; specifically, through repeated training and verification processes, the neural network gradually adjusts the weights to output a more accurate environmental response coefficient to form a final empirical model.
[0073] For example, the back-propagation algorithm is used to train the neural network. Through hundreds of iterations, the model error is gradually reduced, and finally a stable environmental response coefficient is obtained.
[0074] Among them, the steps of performing signal noise filtering on the exhaust dynamic characteristic coefficient to obtain a purification dynamic response, and using the purification dynamic response to correct and fit the concentration change rate to obtain the purification effectiveness coefficient include: performing frequency domain analysis and noise reduction on the exhaust dynamic characteristic coefficient by frequency domain filtering technology to obtain a purification dynamic response.
[0075] The exhaust dynamic characteristic coefficients are analyzed through frequency domain filtering technology to remove the noise components in the signal; specifically, the signal is processed using a frequency domain filter to obtain a smooth purification dynamic response to ensure the accuracy of the data.
[0076] For example, a bandpass filter is used to process the exhaust dynamic characteristic coefficient signal, filter out low-frequency and high-frequency noise, and obtain a purification dynamic response.
[0077] The nonlinear regression model was used to calibrate and fit the purification dynamic response and concentration change rate to obtain the purification efficiency coefficient.
[0078] The purification dynamic response is fitted to the concentration change rate through a nonlinear regression model; specifically, the purification dynamic response is corrected to the actual concentration change rate using nonlinear regression technology to obtain a more accurate purification effectiveness coefficient.
[0079] For example, a nonlinear regression method such as polynomial regression or logarithmic regression is used to fit the purification dynamic response and concentration change rate to obtain the purification effectiveness coefficient.
[0080] Among them, the purification efficiency coefficients are weighted combined to obtain the exhaust efficiency index, and the exhaust efficiency index is correlated with the environmental parameters to obtain the comprehensive efficiency index and the environmental efficiency coefficient, including: using the weighted average method to perform weighted averaging on the purification efficiency coefficients to obtain the exhaust efficiency index, normalizing the exhaust efficiency index to obtain a standardized exhaust efficiency index, and classifying the standardized exhaust efficiency index according to a classification algorithm to obtain multiple classified efficiency indicators.
[0081] The weighted average of the purification efficiency coefficients is calculated by the weighted average method to obtain a comprehensive exhaust efficiency index; specifically, different purification efficiency coefficients are assigned different weights, the weighted average is calculated, and then the exhaust efficiency index is normalized to ensure the standardization of the values. Then, the classification algorithm is used to classify the standardized exhaust efficiency index to form multiple classified efficiency indicators.
[0082] For example, assuming that the weights of the purification effectiveness coefficients are 0.5 and 0.5 respectively, the exhaust efficiency index is obtained by weighted average calculation, and then normalized so that the various efficiency indices can be compared on a unified scale.
[0083] All classified performance indicators are correlated with environmental parameters to obtain the environmental performance coefficient, which is then normalized to obtain the standardized environmental performance coefficient.
[0084] The environmental efficiency coefficient is calculated by analyzing the correlation between all classified efficiency indicators and environmental parameters; specifically, the correlation analysis technology is used to identify the impact of different environmental parameters on exhaust efficiency and calculate the environmental efficiency coefficient. Subsequently, these coefficients are normalized to ensure the consistency and comparability of the data.
[0085] For example, by calculating the classification performance index under different humidity and temperature, and conducting correlation analysis with environmental parameters such as hydrogen sulfide concentration and air flow rate, the respective environmental performance coefficients can be obtained.
[0086] The standardized exhaust efficiency index and the standardized environmental efficiency coefficient are calculated comprehensively to obtain a comprehensive efficiency index.
[0087] The final comprehensive performance index is obtained by comprehensively calculating the standardized exhaust efficiency index and the environmental performance coefficient; specifically, a weighted algorithm or other mathematical methods are used to combine the standardized exhaust efficiency index and the environmental performance coefficient to form a unified comprehensive performance index.
[0088] For example, the weighted average method is used to combine the standardized exhaust efficiency index and the environmental efficiency coefficient to obtain a comprehensive efficiency index, which is used to evaluate the overall performance of the exhaust equipment under different environmental conditions.
[0089] In this embodiment, by real-time monitoring of hydrogen sulfide sensors, humidity sensors, temperature sensors and other equipment in the restroom, the first hydrogen sulfide concentration parameter, humidity parameter and temperature parameter in the air are obtained, and these data are used to generate exhaust control instructions to start the exhaust equipment when the hydrogen sulfide concentration exceeds the standard. By recording the exhaust time and the change in hydrogen sulfide concentration, the exhaust efficiency under different environmental parameters is calculated. By constructing an exhaust efficiency calculation model based on an empirical model, the concentration change rate is corrected to obtain the purification efficiency coefficient, and finally the comprehensive efficiency index and the environmental efficiency coefficient are combined to generate the final exhaust efficiency evaluation model. The model can dynamically adjust the working mode of the exhaust equipment to achieve real-time and efficient regulation of the restroom air quality, which not only improves the accuracy of air quality regulation, but also reduces energy consumption.
[0090] Embodiment 3: like Figure 2 As shown, the present application also provides an intelligent toilet air quality control device 10 based on a hydrogen sulfide sensor, including an acquisition module 11, a calculation module 12 and a construction module 13.
[0091] The acquisition module 11 is mainly used to obtain the first hydrogen sulfide concentration parameter, humidity parameter and temperature parameter in the toilet air. If the first hydrogen sulfide concentration parameter exceeds the preset threshold, a control instruction is generated. Based on the control instruction, the exhaust equipment preset in the toilet is controlled to exhaust until the hydrogen sulfide concentration is lower than the threshold, and the exhaust time is recorded in real time.
[0092] The calculation module 12 is mainly used to obtain the hydrogen sulfide concentration in the toilet again, obtain a second hydrogen sulfide concentration parameter, perform a difference operation on the second hydrogen sulfide concentration parameter and the first hydrogen sulfide concentration parameter to obtain a hydrogen sulfide concentration comparison difference, and use the exhaust time and hydrogen sulfide concentration comparison difference to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas at different humidity and different temperatures.
[0093] The construction module 13 is mainly used to construct a correlation model between exhaust efficiency, humidity parameters and temperature parameters. Through the correlation model, the real-time acquired humidity and temperature are used to dynamically adjust the working mode and operating parameters of the exhaust equipment to achieve real-time control of the restroom air quality.
[0094] In this embodiment, the intelligent control of the air quality in the toilet is realized by the coordinated work of the acquisition module 11, the calculation module 12 and the construction module 13. The acquisition module 11 obtains the first hydrogen sulfide concentration parameter, the humidity parameter and the temperature parameter in real time through the hydrogen sulfide sensor, the humidity sensor and the temperature sensor configured in the toilet. When the first hydrogen sulfide concentration parameter exceeds the preset threshold, the acquisition module 11 generates a control instruction, starts the exhaust device to exhaust until the hydrogen sulfide concentration is lower than the threshold, and records the exhaust time in real time. After exhausting, the calculation module 12 obtains the hydrogen sulfide concentration in the toilet again to obtain the second hydrogen sulfide concentration parameter, and performs a difference operation with the first hydrogen sulfide concentration parameter to calculate the hydrogen sulfide concentration comparison difference. Combined with the exhaust time and the hydrogen sulfide concentration comparison difference, the calculation module 12 calculates the exhaust efficiency of the exhaust device under different humidity parameters and different temperature parameters. The construction module 13 uses these calculation results to establish a correlation model between the exhaust efficiency and the humidity parameter and the temperature parameter. Through this model, the working mode and operating parameters of the exhaust device are dynamically adjusted to achieve real-time control and optimization of the air quality in the toilet.
[0095] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned embodiment of the intelligent toilet air quality control method based on hydrogen sulfide sensor, and will not be repeated here.
[0096] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling air quality in an intelligent toilet based on a hydrogen sulfide sensor, characterized in that: include: Acquire a first hydrogen sulfide concentration parameter, a humidity parameter, and a temperature parameter in the toilet air. If the first hydrogen sulfide concentration parameter exceeds a preset threshold, generate a control instruction, control an exhaust device preset in the toilet to exhaust air based on the control instruction until the hydrogen sulfide concentration is lower than the threshold, and record the exhaust time in real time; The hydrogen sulfide concentration in the restroom is obtained again to obtain a second hydrogen sulfide concentration parameter, the second hydrogen sulfide concentration parameter is subjected to a difference operation with the first hydrogen sulfide concentration parameter to obtain a hydrogen sulfide concentration comparison difference, and the exhaust efficiency of the exhaust device for hydrogen sulfide gas at different humidity and different temperature is calculated using the exhaust time and the hydrogen sulfide concentration comparison difference; A correlation model between the exhaust efficiency, the humidity parameter and the temperature parameter is constructed, and the working mode and operating parameters of the exhaust equipment are dynamically adjusted by using the real-time acquired humidity and temperature through the correlation model to achieve real-time regulation of the restroom air quality.
2. The method for controlling air quality in an intelligent toilet based on a hydrogen sulfide sensor according to claim 1, characterized in that: The step of obtaining a first hydrogen sulfide concentration parameter, a humidity parameter, and a temperature parameter in the toilet air includes: Acquiring a first hydrogen sulfide concentration parameter in the restroom air by means of a hydrogen sulfide sensor arranged in the restroom; The humidity parameter in the air in the restroom is obtained by using a humidity parameter sensor preset in the restroom, and the temperature parameter in the air in the restroom is obtained based on a temperature parameter sensor preset in the restroom.
3. The intelligent toilet air quality control method based on hydrogen sulfide sensor according to claim 1 is characterized in that: The step of calculating the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters by using the exhaust time and the hydrogen sulfide concentration comparison difference includes: Performing a fitting operation on the exhaust duration and the hydrogen sulfide concentration comparison difference through a preset empirical model to obtain an exhaust dynamic characteristic coefficient, a concentration change rate, and an environmental response coefficient; Performing signal noise filtering processing on the exhaust dynamic characteristic coefficient to obtain a purification dynamic response, and using the purification dynamic response to perform correction fitting on the concentration change rate to obtain a purification effectiveness coefficient; Performing weighted combination on the purification efficiency coefficients to obtain an exhaust efficiency index, and performing correlation analysis on the exhaust efficiency index and environmental parameters to obtain a comprehensive efficiency index and an environmental efficiency coefficient; The comprehensive performance index and the environmental performance coefficient are input into a preset operation equation to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters; wherein the environmental parameters include hydrogen sulfide concentration, air humidity, air temperature, air flow rate and the operating status of the exhaust equipment.
4. The intelligent toilet air quality control method based on hydrogen sulfide sensor according to claim 3 is characterized in that: The comprehensive performance index and the environmental performance coefficient are input into a preset operation equation to calculate the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas under different humidity parameters and different temperature parameters. The calculation formula is as follows: in, Indicated at different humidity parameters and different temperature parameters The exhaust efficiency of the exhaust equipment under the condition of hydrogen sulfide gas, Humidity parameter The weight coefficient of is the temperature parameter The weight coefficient of , is the weight coefficient of the environmental performance coefficient, Humidity parameter The weight coefficient in the sine function, is the temperature parameter The weight coefficient in the sine function, is a comprehensive performance indicator. is the environmental efficiency coefficient.
5. The intelligent toilet air quality control method based on hydrogen sulfide sensor according to claim 3 is characterized in that: The construction process of the preset empirical model includes: Use data mining technology to extract the difference between exhaust duration and hydrogen sulfide concentration from historical data sets to generate original data sets; Using a statistical analysis method, a regression analysis is performed on the exhaust time and the hydrogen sulfide concentration contrast difference in the original data set to obtain initial characteristic parameters and concentration change rate; Performing frequency domain analysis on the initial characteristic parameters by using frequency domain analysis technology to extract main spectrum features to identify the dominant exhaust dynamic mode; Applying principal component analysis to reduce the dimension of the exhaust dynamic mode to obtain exhaust dynamic characteristic coefficients; A linear regression model is used to perform correlation analysis on the exhaust dynamic characteristic coefficient and the concentration change rate to generate an initial response coefficient; Inputting the initial response coefficient into a neural network for training and optimization, and outputting an environmental response coefficient; Through multiple iterations of training and verification, an empirical model is obtained.
6. The method for controlling air quality in an intelligent toilet based on a hydrogen sulfide sensor according to claim 3 is characterized in that: The step of performing signal noise filtering processing on the exhaust dynamic characteristic coefficient to obtain a purification dynamic response, and using the purification dynamic response to perform correction fitting on the concentration change rate to obtain a purification effectiveness coefficient includes: Performing frequency domain analysis and noise reduction on the exhaust dynamic characteristic coefficients through frequency domain filtering technology to obtain a purification dynamic response; The purification dynamic response and the concentration change rate are corrected and fitted using a nonlinear regression model to obtain a purification efficiency coefficient.
7. The method for controlling air quality in an intelligent toilet based on a hydrogen sulfide sensor according to claim 3 is characterized in that: The steps of weighting and combining the purification efficiency coefficients to obtain an exhaust efficiency index, and performing correlation analysis between the exhaust efficiency index and environmental parameters to obtain a comprehensive efficiency index and an environmental efficiency coefficient include: Performing weighted averaging on the purification efficiency coefficients by using a weighted average method to obtain an exhaust efficiency index, normalizing the exhaust efficiency index to obtain a standardized exhaust efficiency index, and classifying the standardized exhaust efficiency index according to a classification algorithm to obtain a plurality of classified efficiency indicators; Performing correlation analysis on all the classified performance indicators and the environmental parameters to obtain an environmental performance coefficient, and normalizing the environmental performance coefficient to obtain a standardized environmental performance coefficient; The standardized exhaust efficiency index and the standardized environmental efficiency coefficient are comprehensively calculated to obtain a comprehensive efficiency index.
8. An intelligent toilet air quality control device based on hydrogen sulfide sensor, characterized in that: include: An acquisition module is used to acquire a first hydrogen sulfide concentration parameter, a humidity parameter, and a temperature parameter in the toilet air. If the first hydrogen sulfide concentration parameter exceeds a preset threshold, a control instruction is generated, and based on the control instruction, an exhaust device preset in the toilet is controlled to exhaust air until the hydrogen sulfide concentration is lower than the threshold, and the exhaust time is recorded in real time; a calculation module, for obtaining the hydrogen sulfide concentration in the restroom again to obtain a second hydrogen sulfide concentration parameter, performing a difference operation on the second hydrogen sulfide concentration parameter and the first hydrogen sulfide concentration parameter to obtain a hydrogen sulfide concentration comparison difference, and calculating the exhaust efficiency of the exhaust equipment for hydrogen sulfide gas at different humidity and different temperature by using the exhaust time and the hydrogen sulfide concentration comparison difference; A construction module is used to construct a correlation model between the exhaust efficiency, the humidity parameter and the temperature parameter. Through the correlation model, the humidity and temperature obtained in real time are used to dynamically adjust the working mode and operating parameters of the exhaust equipment to achieve real-time regulation of the restroom air quality.
Citation Information
Cited By
Sewage well combustible gas monitoring pumping drainage method and system
CN120122545A