A smart toilet gas monitoring and processing system and method
By monitoring the gas flow of the gas concentration and the natural ventilation port in the toilet, and adjusting the ventilation strategy according to the human location, the problem of excessive gas in the public toilet is solved, and the efficient and energy -saving air quality management has been realized.
Patent Information
- Application Number
- CN202411015818.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-07-26
AI Technical Summary
Public toilets often have problems such as ammonia, hydrogen sulfide, methane, carbon monoxide, carbon dioxide and odor exceeding the standard. Traditional ventilation and gas treatment methods lack intelligent management, resulting in low ventilation efficiency, high energy consumption and difficulty in comprehensively solving odor and harmful effects. The problem of gas.
By monitoring the gas concentration of each position in the toilet, combining the gas flow of the natural ventilation port, and dynamically adjusting the ventilation strategy according to the human location in the toilet to ensure the continuous improvement of air quality.
The intelligent gas monitoring and treatment is realized, the ventilation efficiency is improved, the energy consumption is reduced, it can effectively solve the smell and harmful gas in the toilet, and improve the user experience and health and safety.
Smart Images

Figure CN118935580B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of toilet gas monitoring and processing, and specifically to a smart toilet gas monitoring and processing system and method. Background Art
[0002] In modern society, public toilets are an indispensable infrastructure in daily life, with high frequency of use and strict environmental requirements. However, public toilets usually face problems such as excessive ammonia, hydrogen sulfide, methane, carbon monoxide, carbon dioxide and odor, as well as poor air quality, which directly affect the user experience and health. Traditional toilet ventilation and gas treatment methods mostly rely on mechanical ventilation or natural ventilation in fixed time periods, lack intelligent management, and cannot be effectively adjusted according to real-time conditions, resulting in low ventilation efficiency and high energy consumption. At the same time, it is difficult to comprehensively solve the problems of toilet odor and harmful gases.
[0003] With the development of Internet of Things technology, sensor technology and intelligent control technology, smart toilet systems have gradually become popular. These systems have achieved dynamic management of air quality through real-time monitoring of gas concentration in toilets combined with intelligent control methods, significantly improving the environmental quality of public toilets. However, the current more common smart toilets generally deal with abnormal gases in toilets through sensor monitoring. When it is detected that the abnormal gas concentration exceeds the standard, ventilation operations are performed. The degree of intelligence of this method is general, and generally only mechanical ventilation is performed. It does not involve the natural ventilation holes of the toilet, nor does it take into account the users in the toilet, and lacks specificity.
[0004] This article introduces a smart toilet gas monitoring and processing method. By monitoring the gas concentration at various locations in the toilet, combined with the gas flow of natural vents, and based on the position of the human body in the toilet, the ventilation strategy is dynamically adjusted to ensure continuous improvement of the air quality in the toilet. Summary of the invention
[0005] The present invention provides a smart toilet gas monitoring and processing system and method, which promotes solving the problems mentioned in the above background technology.
[0006] The present invention provides the following technical solution: a smart toilet gas monitoring and processing method, comprising:
[0007] Monitor the gas concentration at various locations in the toilet and compare the gas concentration at each location with the standard threshold;
[0008] According to the comparison result, the abnormal bit is obtained;
[0009] Obtain the gas concentration of all abnormal locations and the locations of the abnormalities in the toilet;
[0010] According to the gas concentration of the abnormal position and the position of the abnormality in the toilet, the gas generation position is obtained;
[0011] Detecting the presence of human body in toilets;
[0012] If no human body is detected, the treatment area is obtained based on the distribution of the gas generation sites;
[0013] Get the air flow of the natural vents in the toilet;
[0014] The first strategy is implemented according to the gas flow between the treatment area and the natural ventilation outlet;
[0015] If the presence of a human body is detected in the toilet, the location of the human body is obtained and recorded as the human body position;
[0016] According to the distribution of gas generation sites and human body sites, treatment areas and special treatment areas are obtained;
[0017] Obtain the gas flow conditions of the natural vents in the toilet;
[0018] A second strategy is implemented based on the gas flow in the processing area and natural ventilation openings;
[0019] A third treatment strategy is implemented for the special treatment area.
[0020] Optionally, obtaining the abnormal bit according to the comparison result includes:
[0021] Setting standard thresholds for gas concentrations;
[0022] Obtain the gas concentration values at various locations in the toilet and compare them with the standard thresholds respectively;
[0023] When the gas concentration value at a certain location in the toilet is greater than the standard threshold, the location is marked as an abnormal location;
[0024] The method of obtaining the gas concentration of all abnormal positions and the positions of the abnormalities in the toilet is specifically as follows:
[0025] For each abnormal position, the maximum value of the gas concentration detected at the abnormal position is obtained as the gas concentration of each abnormal position.
[0026] Optionally, obtaining the gas generation position according to the gas concentration of the abnormal position and the position of the abnormality in the toilet includes:
[0027] S1. Select an abnormal bit, record it as the first abnormal bit, and record all abnormal bits around the first abnormal bit and adjacent to the first abnormal bit as the second abnormal bit;
[0028] S2, obtaining the gas concentration of the first abnormal position, recorded as A;
[0029] S3, obtaining the gas concentrations of all second abnormal positions;
[0030] S4, comparing the gas concentrations of all second abnormal positions with A respectively;
[0031] S5. If the gas concentrations of all second abnormal positions are less than A, the first abnormal position is recorded;
[0032] S6. If there is a second abnormal position where the gas concentration is greater than A, then select another abnormal position, repeat steps S1-S6 for detection, and obtain all recorded abnormal positions;
[0033] The acquired and recorded abnormal bit is regarded as the gas generation bit.
[0034] Optionally, if no human body is detected, obtaining the processing area according to the distribution of the gas generation position includes:
[0035] Obtain the space covered by each of the two opposite ventilation devices when they are performing ventilation work, and record it as the working space of the two opposite ventilation devices;
[0036] Obtain whether there is a gas generating position in each working space;
[0037] If there is no gas generation position, the workspace is deleted;
[0038] If there are gas generating positions, the number of gas generating positions in each workspace is obtained;
[0039] Obtaining a working space having the largest number of gas generation positions, recording the working space, and recording the working space as a first working space;
[0040] marking the gas generation position in the first working space;
[0041] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0042] Obtaining a workspace having the largest number of unmarked gas generation positions, recording the workspace as a second workspace;
[0043] marking the gas generation position in the second working space;
[0044] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0045] Obtaining a workspace having the largest number of unmarked gas generation positions, recording the workspace and recording it as a third workspace;
[0046] marking the gas generation position in the third working space;
[0047] Obtain the number of unmarked gas generation positions in each workspace again, select the workspace with the largest number of unmarked gas generation positions, and mark the gas generation positions again until all gas generation positions are marked;
[0048] Get all recorded workspaces and treat each recorded workspace as a processing area.
[0049] Optionally, obtaining the gas flow condition of the natural ventilation opening in the toilet includes:
[0050] S7, obtaining the location of the center point of the natural ventilation opening, which is recorded as the ventilation center;
[0051] S8. Detect the gas flow rate at the ventilation center, and record the detected gas flow rate as B;
[0052] S9. The maximum wind speed generated by the ventilation device is recorded as C;
[0053] S10, compare B with C×0.5;
[0054] S11. If B < C × 0.5, exclude natural ventilation openings;
[0055] S12. If B ≥ C × 0.5, record the natural vent and record the recorded natural vent as the selected vent;
[0056] S13, obtaining the gas flow direction of the selected vent;
[0057] The first strategy is implemented according to the gas flow between the processing area and the natural ventilation port, including:
[0058] S14, obtaining the location of the center point of the processing area, which is recorded as the processing center;
[0059] S15, obtaining the distance between the processing center and the ventilation center of the selected ventilation outlet;
[0060] S16, obtaining the area that the treatment area can cover on the toilet floor, randomly selecting two points on the edge of the area to connect them, and obtaining the length of the longest connecting line, which is recorded as E;
[0061] S17, when the distance between the processing center of a certain processing zone and the ventilation center of the selected ventilation port is less than or equal to E, mark the processing zone and obtain the gas flow direction of the selected ventilation port;
[0062] S18, if the gas flow direction of the vent is selected to be from outside the toilet to inside the toilet, then the marked treatment area is subjected to a vacuum operation;
[0063] S19, if the air flow direction of the vent is selected to be from inside the toilet to outside the toilet, then the operation of blowing fresh air into the marked treatment area is performed;
[0064] S20, for the remaining unmarked treatment areas, controlling one of the two ventilation devices in the treatment area to perform an exhaust operation, and the other to perform a fresh air blowing operation;
[0065] S21. When there is no selected ventilation port, one of the two ventilation devices in each treatment area is controlled to perform an exhaust operation, and the other ventilation device is controlled to perform a fresh air blowing operation.
[0066] Optionally, obtaining the processing area according to the distribution of the gas generation position and the human body position includes:
[0067] Obtain the space covered by each of the two opposite ventilation devices when they are performing ventilation work, and record it as the working space of the two opposite ventilation devices;
[0068] Get the workspace where the human body is located, and record it as the human body workspace;
[0069] Detect whether there is a gas generating point in the human body's working space;
[0070] If there is a gas generating site, the human workspace is treated as a special treatment area;
[0071] If there is no gas generation site, the human body working space is deleted;
[0072] Obtain the number of remaining gas generation positions in each working space;
[0073] Obtaining a workspace with the largest number of gas generation positions, recording the workspace and recording it as workspace number one;
[0074] Mark the gas generation bit in workspace No. 1;
[0075] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0076] Obtaining a workspace with the largest number of unmarked gas generation positions, recording the workspace and recording it as workspace number two;
[0077] Mark the gas generation position in workspace No. 2;
[0078] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0079] Obtain the workspace with the largest number of unmarked gas generation positions, record the workspace, and record it as workspace number three;
[0080] Mark the gas generation bit in workspace No. 3;
[0081] Obtain the number of unmarked gas generation positions in each workspace again, select the workspace with the largest number of unmarked gas generation positions, and mark the gas generation positions again until all gas generation positions are marked;
[0082] Get all recorded workspaces and treat each recorded workspace as a processing area.
[0083] Optionally, executing the second strategy according to the gas flow conditions in the processing area and the natural ventilation opening includes:
[0084] Repeat steps S7-S13 to obtain the selected vent and the gas flow direction of the selected vent;
[0085] Repeat steps S14-S19 to obtain the marked processing area, and perform an operation of exhausting or blowing fresh air into the marked processing area according to the gas flow direction of the selected vent;
[0086] Repeat step S20, and for the remaining unmarked treatment areas, control one of the two ventilation devices in the treatment area to perform an exhaust operation, and the other to perform a fresh air blowing operation;
[0087] When there is no selected vent, step S21 is repeated.
[0088] Optionally, executing the third processing strategy on the special processing area includes:
[0089] Obtain the body position in the special treatment area;
[0090] Spray odor freshener on human bodies in special areas and sound the alarm.
[0091] A system for implementing the smart toilet gas monitoring process, comprising:
[0092] Gas sensing module: monitors the gas concentration at various locations in the toilet and detects the gas concentration;
[0093] Data comparison module: obtain gas concentration data, compare it with the standard threshold, and determine whether it is abnormal;
[0094] Human body detection module: detects whether a human body exists and obtains the location of the human body;
[0095] Ventilation module: to extract air or introduce fresh air;
[0096] Spraying module: used to perform the operation of spraying odor freshener;
[0097] Airflow detection module: detects whether there is airflow and obtains the direction of airflow;
[0098] Data processing center: obtain the gas generation position according to the abnormal position, obtain the processing area according to the human body position and gas generation position, and formulate operation strategies according to the processing area and gas flow conditions;
[0099] Display module: used to display the gas concentration in the toilet.
[0100] The present invention has the following beneficial effects:
[0101] 1. Set a standard threshold for gas concentration, and detect the gas concentration values at various locations in the toilet and compare them with the standard threshold. When the gas concentration at a certain location exceeds the standard threshold, mark the location as an abnormal location. This intelligent method of identifying abnormal gas concentration helps to promptly detect and deal with harmful gases in the air, prevent their accumulation and diffusion, and ensure the health and safety of users. In addition, through this automated detection and processing, the reliance on manual monitoring is reduced, and the reliability and efficiency of the system are improved.
[0102] 2. Accurately determine the gas generation position by gradually comparing and screening the gas concentration; this method can not only effectively locate the source of odor or harmful gas, but also provide a clear target for subsequent treatment, thereby improving the accuracy and efficiency of treatment; accurate positioning of the gas generation position helps to take targeted measures and reduce the waste of resources due to ineffective treatment.
[0103] 3. The processing area is obtained according to the distribution of the gas generation position, and corresponding processing is performed. This method of dynamically obtaining the processing area improves the accuracy and effectiveness of the processing, avoids the processing of unnecessary areas, and saves resources and energy.
[0104] 4. By obtaining the gas flow conditions of the natural vents in the toilet, the effectiveness of the vents can be determined and the treatment strategy can be adjusted according to the direction of gas flow; this method can reduce dependence on mechanical ventilation and thus reduce energy consumption; by making full use of natural ventilation, more efficient air quality management can be achieved while reducing operating costs, which has significant economic and environmental benefits.
[0105] 5. When processing gas, the system can detect whether there is a human body in the toilet and adjust the processing strategy according to the detection results; if the presence of a human body is detected, the system will consider the position of the human body to avoid causing inconvenience or discomfort to the user, thereby improving the user experience and satisfaction; through this humanized design, the system can ensure air quality while minimizing interference and impact on users.
[0106] 6. According to the detected human body position and gas generation position, the system can flexibly adjust the processing strategy, set up processing areas and special processing areas; take different processing measures for different areas. For special processing areas, the influence of mechanical ventilation on the human body cannot be avoided, so the method of spraying odor freshener is adopted to quickly eliminate the odor. This method of flexibly adjusting the processing strategy improves the system's resilience and processing effect, ensuring that the toilet environment is always kept in the best condition. BRIEF DESCRIPTION OF THE DRAWINGS
[0107] Figure 1 Schematic diagram of the working space of the present invention. DETAILED DESCRIPTION
[0108] 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 only 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.
[0109] Embodiment 1:
[0110] This embodiment provides a smart toilet gas monitoring and processing method, including:
[0111] Monitor the gas concentration at various locations in the toilet and compare the gas concentration at each location with the standard threshold;
[0112] According to the comparison results, the abnormal position is obtained; the standard threshold of gas concentration is set, and the gas concentration values at various locations in the toilet are detected and compared with the standard threshold. When the gas concentration at a certain location exceeds the standard threshold, the location is marked as an abnormal position; this intelligent method of identifying abnormal gas concentration helps to timely detect and deal with harmful gases in the air, prevent their accumulation and diffusion, and ensure the health and safety of users; in addition, through this automated detection and processing, the dependence on manual monitoring is reduced, and the reliability and efficiency of the system are improved.
[0113] Obtain the gas concentration of all abnormal locations and the locations of the abnormalities in the toilet;
[0114] The gas generation position is obtained according to the gas concentration of the abnormal position and the location of the abnormality in the toilet; the gas generation position is accurately determined by gradually comparing and screening the gas concentration; this method can not only effectively locate the source of odor or harmful gas, but also provide a clear goal for subsequent treatment, thereby improving the accuracy and efficiency of the treatment; accurate positioning of the gas generation position helps to take targeted measures and reduce the waste of resources due to ineffective treatment.
[0115] Detecting the presence of human body in toilets;
[0116] If no human body is detected, the processing area is obtained according to the distribution of the gas generation positions, and corresponding processing is performed. This method of dynamically obtaining the processing area improves the accuracy and effectiveness of the processing, avoids processing of unnecessary areas, and saves resources and energy.
[0117] Obtain the gas flow conditions of the natural vents in the toilet; by obtaining the gas flow conditions of the natural vents in the toilet, the effectiveness of the vents can be determined, and the treatment strategy can be adjusted according to the direction of gas flow; this method can reduce dependence on mechanical ventilation, thereby reducing energy consumption; by making full use of natural ventilation, more efficient air quality management can be achieved, while reducing operating costs, with significant economic and environmental benefits.
[0118] The first strategy is implemented according to the gas flow between the treatment area and the natural ventilation outlet;
[0119] If the presence of a human body is detected in the toilet, the location of the human body is obtained and recorded as the human body position;
[0120] According to the distribution of gas generation positions and human positions, the treatment area and special treatment area are obtained; when processing gas, the system can detect whether there is a human body in the toilet and adjust the treatment strategy according to the detection results; if the presence of a human body is detected, the system will take the human body's position into consideration to avoid inconvenience or discomfort to the user, thereby improving the user experience and satisfaction; through this humanized design, the system can ensure air quality while minimizing interference and impact on users.
[0121] Obtain the gas flow conditions of the natural vents in the toilet;
[0122] A second strategy is implemented based on the gas flow in the processing area and natural ventilation openings;
[0123] The third treatment strategy is implemented for special treatment areas. According to the detected human body position and gas generation position, the system can flexibly adjust the treatment strategy, set up treatment areas and special treatment areas; take different treatment measures for different areas. For special treatment areas, the impact of mechanical ventilation on the human body cannot be avoided, so the method of spraying odor freshener is adopted to quickly eliminate the odor. This method of flexibly adjusting the treatment strategy improves the system's resilience and treatment effect, ensuring that the toilet environment is always kept in the best condition.
[0124] The step of obtaining the abnormal bit according to the comparison result includes:
[0125] Setting standard thresholds for gas concentrations;
[0126] Obtain the gas concentration values at various locations in the toilet and compare them with the standard thresholds respectively;
[0127] When the gas concentration value at a certain location in the toilet is greater than the standard threshold, the location is marked as an abnormal location;
[0128] The method of obtaining the gas concentration of all abnormal positions and the positions of the abnormalities in the toilet is specifically as follows:
[0129] For each abnormal position, the maximum value of the gas concentration detected at the abnormal position is obtained as the gas concentration of each abnormal position.
[0130] The step of obtaining the gas generation position according to the gas concentration of the abnormal position and the position of the abnormality in the toilet comprises:
[0131] S1. Select an abnormal bit, record it as the first abnormal bit, and record all abnormal bits around the first abnormal bit and adjacent to the first abnormal bit as the second abnormal bit;
[0132] S2, obtaining the gas concentration of the first abnormal position, recorded as A;
[0133] S3, obtaining the gas concentrations of all second abnormal positions;
[0134] S4, comparing the gas concentrations of all second abnormal positions with A respectively;
[0135] S5. If the gas concentrations of all second abnormal positions are less than A, the first abnormal position is recorded;
[0136] S6. If there is a second abnormal position where the gas concentration is greater than A, then select another abnormal position, repeat steps S1-S6 for detection, and obtain all recorded abnormal positions;
[0137] The acquired and recorded abnormal bit is regarded as the gas generation bit.
[0138] If no human body is detected, the processing area is obtained according to the distribution of the gas generation position, including:
[0139] Reference Figure 1 , obtain the space covered by each of the two opposite ventilation devices when they are performing ventilation work, and record it as the working space of the two opposite ventilation devices;
[0140] Obtain whether there is a gas generating position in each working space;
[0141] If there is no gas generation position, the workspace is deleted;
[0142] If there are gas generating positions, the number of gas generating positions in each workspace is obtained;
[0143] Obtaining a working space having the largest number of gas generation positions, recording the working space, and recording the working space as a first working space;
[0144] marking the gas generation position in the first working space;
[0145] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0146] Obtaining a workspace having the largest number of unmarked gas generation positions, recording the workspace as a second workspace;
[0147] marking the gas generation position in the second working space;
[0148] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0149] Obtaining a workspace having the largest number of unmarked gas generation positions, recording the workspace and recording it as a third workspace;
[0150] marking the gas generation position in the third working space;
[0151] Obtain the number of unmarked gas generation positions in each workspace again, select the workspace with the largest number of unmarked gas generation positions, and mark the gas generation positions again until all gas generation positions are marked; refer to Figure 1 , there is partial overlap between two adjacent workspaces, so the same gas generation position will exist in two workspaces. By using this method of gradually marking the gas generation positions, it can be ensured that each selected workspace contains the most gas generation positions, and then fewer workspaces are used to complete the coverage of all gas generation positions.
[0152] Get all recorded workspaces and treat each recorded workspace as a processing area.
[0153] The obtaining of the gas flow condition of the natural ventilation opening in the toilet includes:
[0154] S7, obtaining the location of the center point of the natural ventilation opening, which is recorded as the ventilation center;
[0155] S8. Detect the gas flow rate at the ventilation center, and record the detected gas flow rate as B;
[0156] S9. The maximum wind speed generated by the ventilation device is recorded as C;
[0157] S10, compare B with C×0.5; the set 0.5 can be adjusted as needed, and 0.5 means that when the wind speed of the natural vent can reach half of the maximum wind speed that the ventilation device can generate, the natural vent is used as an air inlet or outlet during ventilation operation.
[0158] S11. If B < C × 0.5, it means that the gas flow rate of the natural vent is less than half of the maximum wind speed that the ventilation device can produce, and does not meet the set use conditions, so the natural vent is excluded;
[0159] S12. If B ≥ C × 0.5, it means that the gas flow rate of the natural vent is greater than or equal to half of the maximum wind speed that the ventilation device can generate, and meets the set use conditions, and can be used as air inlet or outlet in the ventilation operation, then the natural vent is recorded, and the recorded natural vent is recorded as the selected vent;
[0160] S13, obtaining the gas flow direction of the selected vent;
[0161] The first strategy is implemented according to the gas flow between the processing area and the natural ventilation port, including:
[0162] S14, obtaining the location of the center point of the processing area, which is recorded as the processing center;
[0163] S15, obtaining the distance between the processing center and the ventilation center of the selected ventilation outlet;
[0164] S16, obtaining the area that the treatment area can cover on the toilet floor, randomly selecting two points on the edge of the area to connect them, and obtaining the length of the longest connecting line, which is recorded as E;
[0165] S17, when the distance between the processing center of a certain processing zone and the ventilation center of the selected ventilation port is less than or equal to E, mark the processing zone and obtain the gas flow direction of the selected ventilation port;
[0166] S18, if the gas flow direction of the vent is selected to be from outside the toilet to inside the toilet, then the marked treatment area is subjected to a vacuum operation;
[0167] S19, if the air flow direction of the vent is selected to be from inside the toilet to outside the toilet, then the operation of blowing fresh air into the marked treatment area is performed;
[0168] S20, for the remaining unmarked treatment areas, controlling one of the two ventilation devices in the treatment area to perform an exhaust operation, and the other to perform a fresh air blowing operation;
[0169] S21. When there is no selected ventilation port, that is, ventilation operation can only be performed through the ventilation device, one of the two ventilation devices in each processing area is controlled to perform an exhaust operation, and the other ventilation device is controlled to perform a fresh air blowing operation.
[0170] The step of obtaining the processing area according to the distribution of the gas generation position and the human body position includes:
[0171] Reference Figure 1 , obtain the space covered by each of the two opposite ventilation devices when they are performing ventilation work, and record it as the working space of the two opposite ventilation devices;
[0172] Get the workspace where the human body is located, and record it as the human body workspace;
[0173] Detect whether there is a gas generating point in the human body's working space;
[0174] If there is a gas generating site, the human workspace is treated as a special treatment area;
[0175] If there is no gas generation site, the human body working space is deleted;
[0176] Obtain the number of gas generation positions in each remaining workspace;
[0177] Obtaining a workspace with the largest number of gas generation positions, recording the workspace and recording it as workspace number one;
[0178] Mark the gas generation bit in workspace No. 1;
[0179] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0180] Obtaining a workspace with the largest number of unmarked gas generation positions, recording the workspace and recording it as workspace number two;
[0181] Mark the gas generation position in workspace No. 2;
[0182] Obtain the number of unmarked gas generation bits in each remaining workspace;
[0183] Obtain the workspace with the largest number of unmarked gas generation positions, record the workspace, and record it as workspace number three;
[0184] Mark the gas generation bit in workspace No. 3;
[0185] Obtain the number of unmarked gas generation positions in each workspace again, select the workspace with the largest number of unmarked gas generation positions, and mark the gas generation positions again until all gas generation positions are marked;
[0186] Get all recorded workspaces and treat each recorded workspace as a processing area.
[0187] The second strategy is implemented according to the gas flow conditions of the processing area and the natural ventilation opening, including:
[0188] Repeat steps S7-S13 to obtain the selected vent and the gas flow direction of the selected vent;
[0189] Repeat steps S14-S19 to obtain the marked processing area, and perform an operation of exhausting or blowing fresh air into the marked processing area according to the gas flow direction of the selected vent;
[0190] Repeat step S20, for the remaining unmarked treatment areas, control one of the two ventilation devices in the treatment area to perform an exhaust operation, and the other to perform a fresh air blowing operation;
[0191] When there is no selected vent, that is, ventilation can only be performed through the ventilation device, and step S21 is repeated.
[0192] The step of executing the third processing strategy on the special processing area comprises:
[0193] Obtain the body position in the special treatment area;
[0194] Spray odor freshener on human bodies in special areas and sound the alarm.
[0195] Embodiment 2:
[0196] This embodiment provides a system for implementing the smart toilet gas monitoring process, including:
[0197] Gas sensing module: monitors the gas concentration at various locations in the toilet and detects the gas concentration;
[0198] Data comparison module: obtain gas concentration data, compare it with the standard threshold, and determine whether it is abnormal;
[0199] Human body detection module: detects whether a human body exists and obtains the location of the human body;
[0200] Ventilation module: to extract air or introduce fresh air;
[0201] Spraying module: used to perform the operation of spraying odor freshener;
[0202] Airflow detection module: detects whether there is airflow and obtains the direction of airflow;
[0203] Data processing center: obtain the gas generation position according to the abnormal position, obtain the processing area according to the human body position and gas generation position, and formulate operation strategies according to the processing area and gas flow conditions;
[0204] Display module: used to display the gas concentration in the toilet.
[0205] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0206] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A smart toilet gas monitoring and processing method, characterized in that: include: Monitor the gas concentration at various locations in the toilet and compare the gas concentration at each location with the standard threshold; According to the comparison result, the abnormal bit is obtained; Obtain the gas concentration of all abnormal locations and the locations of the abnormalities in the toilet; According to the gas concentration of the abnormal position and the position of the abnormality in the toilet, the gas generation position is obtained; Detecting the presence of human body in toilets; If no human body is detected, the treatment area is obtained based on the distribution of the gas generation sites; Get the air flow of the natural vents in the toilet; The first strategy is implemented according to the gas flow between the treatment area and the natural ventilation outlet; If the presence of a human body is detected in the toilet, the location of the human body is obtained and recorded as the human body position; According to the distribution of gas generation sites and human body sites, treatment areas and special treatment areas are obtained; Obtain the gas flow conditions of the natural vents in the toilet; A second strategy is implemented based on the gas flow in the processing area and natural ventilation openings; implementing a third treatment strategy for the special treatment area; The step of obtaining the abnormal bit according to the comparison result specifically includes: Setting standard thresholds for gas concentrations; Obtain the gas concentration values at various locations in the toilet and compare them with the standard thresholds respectively; When the gas concentration value at a certain location in the toilet is greater than the standard threshold, the location is marked as an abnormal location; The method of obtaining the gas concentration of all abnormal positions and the positions of the abnormalities in the toilet is specifically as follows: For each abnormal position, obtaining the maximum value of the gas concentration detected at the abnormal position as the gas concentration of each abnormal position; The step of obtaining the gas generation position according to the gas concentration of the abnormal position and the position of the abnormality in the toilet specifically includes: S1. Select an abnormal bit, record it as the first abnormal bit, and record all abnormal bits around the first abnormal bit and adjacent to the first abnormal bit as the second abnormal bit; S2, obtaining the gas concentration of the first abnormal position, recorded as A; S3, obtaining the gas concentrations of all second abnormal positions; S4, comparing the gas concentrations of all second abnormal positions with A respectively; S5. If the gas concentrations of all second abnormal positions are less than A, the first abnormal position is recorded; S6. If there is a second abnormal position where the gas concentration is greater than A, then select another abnormal position, repeat steps S1-S6 for detection, and obtain all recorded abnormal positions; using the acquired recorded abnormal bit as a gas generation bit; If no human body is detected, the processing area is obtained according to the distribution of the gas generation position, which specifically includes: Obtain the space covered by each of the two opposite ventilation devices when they are performing ventilation work, and record it as the working space of the two opposite ventilation devices; Obtain whether there is a gas generating position in each working space; If there is no gas generation position, the workspace is deleted; If there are gas generating positions, the number of gas generating positions in each workspace is obtained; Obtaining a working space having the largest number of gas generation positions, recording the working space, and recording the working space as a first working space; marking the gas generation position in the first working space; Obtain the number of unmarked gas generation bits in each remaining workspace; Obtaining a workspace having the largest number of unmarked gas generation positions, recording the workspace as a second workspace; marking the gas generation position in the second working space; Obtain the number of unmarked gas generation bits in each remaining workspace; Obtaining a workspace having the largest number of unmarked gas generation positions, recording the workspace and recording it as a third workspace; marking the gas generation position in the third working space; Obtain the number of unmarked gas generation positions in each workspace again, select the workspace with the largest number of unmarked gas generation positions, and mark the gas generation positions again until all gas generation positions are marked; Get all recorded workspaces and treat each recorded workspace as a processing area; The step of obtaining the gas flow conditions of the natural ventilation openings in the toilet specifically includes: S7, obtaining the location of the center point of the natural ventilation opening, which is recorded as the ventilation center; S8. Detect the gas flow rate at the ventilation center, and record the detected gas flow rate as B; S9. The maximum wind speed generated by the ventilation device is recorded as C; S10, compare B with C×0.5; S11. If B < C × 0.5, exclude natural ventilation openings; S12. If B ≥ C × 0.5, record the natural vent and record the recorded natural vent as the selected vent; S13, obtaining the gas flow direction of the selected vent; The first strategy is implemented according to the gas flow between the processing area and the natural ventilation port, including: S14, obtaining the location of the center point of the processing area, which is recorded as the processing center; S15, obtaining the distance between the processing center and the ventilation center of the selected ventilation outlet; S16, obtaining the area that the treatment area can cover on the toilet floor, randomly selecting two points on the edge of the area to connect them, and obtaining the length of the longest connecting line, which is recorded as E; S17, when the distance between the processing center of a certain processing zone and the ventilation center of the selected ventilation port is less than or equal to E, mark the processing zone and obtain the gas flow direction of the selected ventilation port; S18, if the gas flow direction of the vent is selected to be from outside the toilet to inside the toilet, then the marked treatment area is subjected to a vacuum operation; S19, if the air flow direction of the vent is selected to be from inside the toilet to outside the toilet, then the operation of blowing fresh air into the marked treatment area is performed; S20, for the remaining unmarked treatment areas, controlling one of the two ventilation devices in the treatment area to perform an exhaust operation, and the other to perform a fresh air blowing operation; S21, when there is no selected vent, one of the two ventilation devices in each treatment area is controlled to perform an exhaust operation, and the other ventilation device is controlled to perform a fresh air blowing operation; The method of obtaining the processing area according to the distribution of the gas generation position and the human body position specifically includes: Obtain the space covered by each of the two opposite ventilation devices when they are performing ventilation work, and record it as the working space of the two opposite ventilation devices; Get the workspace where the human body is located, and record it as the human body workspace; Detect whether there is a gas generating point in the human body's working space; If there is a gas generating site, the human workspace is treated as a special treatment area; If there is no gas generation site, the human body working space is deleted; Obtain the number of gas generation positions in each remaining workspace; Obtaining a workspace with the largest number of gas generation positions, recording the workspace and recording it as workspace number one; Mark the gas generation bit in workspace No. 1; Obtain the number of unmarked gas generation bits in each remaining workspace; Obtaining a workspace with the largest number of unmarked gas generation positions, recording the workspace and recording it as workspace number two; Mark the gas generation position in workspace No. 2; Obtain the number of unmarked gas generation bits in each remaining workspace; Obtain the workspace with the largest number of unmarked gas generation positions, record the workspace, and record it as workspace number three; Mark the gas generation bit in workspace No. 3; Obtain the number of unmarked gas generation positions in each workspace again, select the workspace with the largest number of unmarked gas generation positions, and mark the gas generation positions again until all gas generation positions are marked; Get all recorded workspaces and treat each recorded workspace as a processing area.
2. A smart toilet gas monitoring and processing method according to claim 1, characterized in that: The second strategy is implemented according to the gas flow conditions of the processing area and the natural ventilation opening, including: Repeat steps S7-S13 to obtain the selected vent and the gas flow direction of the selected vent; Repeat steps S14-S19 to obtain the marked processing area, and perform an operation of exhausting or blowing fresh air into the marked processing area according to the gas flow direction of the selected vent; Repeat step S20, for the remaining unmarked treatment areas, control one of the two ventilation devices in the treatment area to perform an exhaust operation, and the other to perform a fresh air blowing operation; When there is no selected vent, step S21 is repeated.
3. A smart toilet gas monitoring and processing method according to claim 2, characterized in that: The step of executing the third processing strategy on the special processing area comprises: Obtain the body position in the special treatment area; Spray odor freshener on human bodies in special areas and sound the alarm.
4. A system using the smart toilet gas monitoring and processing method of claim 3, characterized in that: include: Gas sensing module: monitors the gas concentration at various locations in the toilet and detects the gas concentration; Data comparison module: obtain gas concentration data, compare it with the standard threshold, and determine whether it is abnormal; Human body detection module: detects whether a human body exists and obtains the location of the human body; Ventilation module: to extract air or introduce fresh air; Spraying module: used to perform the operation of spraying odor freshener; Airflow detection module: detects whether there is airflow and obtains the direction of airflow; Data processing center: obtain the gas generation position according to the abnormal position, obtain the processing area according to the human body position and gas generation position, and formulate operation strategies according to the processing area and gas flow conditions; Display module: used to display the gas concentration in the toilet.
Citation Information
Patent Citations
Bathroom air conditioner and control method thereof
CN115076972A
Ventilation deodorization control method, system and equipment based on odor intensity and medium
CN118361835A