An air detection method and system
By collecting spatial detection information and equipment specifications, sampling location points are generated and adjusted, solving the detection deviation problem caused by unreasonable sampling points and improving the accuracy of air detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TAIZHOU JINGHE TESTING TECH CO LTD
- Filing Date
- 2025-10-29
- Publication Date
- 2026-07-24
Smart Images

Figure CN121164550B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air detection technology, and in particular to an air detection method and system. Background Technology
[0002] Air quality testing refers to the process of collecting and analyzing air samples using professional technical means to determine the types and concentrations of pollutants and whether they meet relevant air quality standards.
[0003] Because renovation materials and furniture release indoor air pollutants after a room is renovated, long-term exposure to excessive levels of these pollutants can easily harm health. Therefore, air quality testing is generally necessary to identify potential health risks in indoor air. During air quality testing, testing personnel typically determine sampling points based on the room's area and collect air samples using specialized equipment (such as an air sampler). The samples are then sent to a laboratory where the pollutant concentrations are analyzed using professional instruments such as gas chromatographs and spectrophotometers, thus providing an air quality assessment.
[0004] When conducting air quality testing in a room, the testing personnel determine the sampling points based on the room's area. If the testing personnel do not strictly follow the area distribution or if the sampling points are located near high-concentration areas such as doors, windows, or furniture gaps, the samples may not represent the overall air quality of the room, which can easily lead to deviations in the air quality test. Summary of the Invention
[0005] To improve the accuracy of air quality testing results in rooms, this invention provides an air quality testing method and system.
[0006] In a first aspect, the present invention provides an air detection method, which adopts the following technical solution: An air detection method, comprising: S1: Collect spatial detection information of the building and the specifications of the sampling equipment; S2: Retrieve spatial area value, spatial layout and spatial placement based on spatial detection information; S3: Determine the number of area samples by combining the spatial area value and the sampling equipment specifications; S4: Generate initial sampling location points based on the spatial layout and the number of area samples; S5: Determine the sampling adjustment point based on the spatial placement and the initial sampling point; S6: Determine the sampling duration based on the sampling adjustment location and sampling equipment specifications, and control the preset sampling equipment to collect air samples based on the sampling adjustment location and sampling duration.
[0007] By adopting the above technical solution, spatial detection information and sampling equipment specifications are collected, and spatial area values, spatial layout, and spatial placement are retrieved. This information is then combined with analysis to determine the number of area samples, the initial sampling location, the sampling adjustment location, and the sampling duration. Ultimately, the sampling equipment is controlled to collect air samples, ensuring that the number of samples, their location, and the duration accurately match the actual conditions of the tested room. This effectively reduces sample deviation caused by unreasonable sampling parameter settings, improves the representativeness of air samples, and thus enhances the accuracy of air quality testing results in the room.
[0008] Optionally, methods for generating the initial sampling location points include: S41: Retrieve the range of a single room, the location of doors and windows, and the location of ventilation openings based on the spatial layout; S42: Determine the location point of a single room by combining the range and area sampling number of a single room; S43: Determine the vector value of the distance between doors and windows based on the location points of doors and windows and the location points of individual rooms; S44: Determine the vector value of the distance between the vent and a single room location; S45: Combine the vector values of distance to doors and windows, the vector values of distance to vents, and the location point of a single room to generate a room adjustment location point, and use the room adjustment location point as the initial sampling location point.
[0009] By adopting the above technical solution, the location of a single room, the location of doors and windows, and the location of ventilation openings are retrieved based on the spatial layout. The location of a single room is determined by the number of samples taken based on the range and area of the single room. After calculating and determining the vector values of the distance between doors and windows and the distance between ventilation openings, the room adjustment location point is generated and used as the initial location point for sampling. This effectively avoids the interference of areas such as doors, windows, and ventilation openings that are prone to causing local air disturbances on the sampling, making the initial sampling location point closer to the average state of the air in the room, laying the foundation for subsequent accurate sampling.
[0010] Optionally, methods for generating room adjustment location points include: S451: When there is only one single room location point within a single room range, calculate the directional deviation between the door / window distance vector value and the ventilation opening distance vector value and use it as the directional deviation angle value; S452: Calculate the vector sum between the vector values of distance to doors and windows and the vector values of distance to ventilation openings, and use it as the comprehensive distance vector value; S453: Generate a single adjustment vector value by combining the directional deviation angle value and the comprehensive distance vector value; S454: Adjust a single room location point based on a single adjustment vector value to form a room adjustment location point.
[0011] By adopting the above technical solution, when there is only one room location point within a single room, by calculating the directional deviation angle value and the comprehensive distance vector value, a single adjustment vector value is generated and the single room location point is adjusted to form a room adjustment location point. In this way, the single room location point can be specifically corrected according to the spatial relationship of the relative positions of doors, windows and ventilation openings, thereby improving the spatial rationality of a single sampling point.
[0012] Optional methods for generating individual adjustment vector values include: S4531: Retrieve integrated distance value and integrated direction information based on integrated distance vector value; S4532: Determine whether the directional deviation angle value is within the preset directional deviation reference range; S4533: If yes, then determine the overall adjustment value based on the overall distance value; S4534: Determine the integrated reverse information based on the integrated directional information; S4535: The reverse vector value is obtained by combining the comprehensive adjustment value and the comprehensive reverse information, and the reverse vector value is used as a single adjustment vector value; S4536: If not, then determine the room reference orientation information based on the range of a single room; S4537: Generate a reference selection vector value based on the door and window distance vector value, the ventilation outlet distance vector value, and the room reference direction information, and use the reference selection vector value as a single adjustment vector value.
[0013] By adopting the above technical solution, the reverse vector value or the reference selection vector value is obtained by judging whether the directional deviation angle value is within the directional deviation reference range, and then used as a single adjustment vector value. This improves the adaptability of the single adjustment vector value to the actual spatial environment and ensures more accurate adjustment of the sampling point.
[0014] Optionally, methods for generating the reference selection vector values include: S45371: Determine the door and window deviation angle by combining the door and window distance vector value with the room reference direction information; S45372: Determine the vent deviation angle value by combining the vent distance vector value with the room reference direction information; S45373: When both the door / window deviation angle value and the ventilation opening deviation angle value are less than the preset deviation reference angle value, the larger value of the door / window deviation angle value and the ventilation opening deviation angle value is selected as the selected angle value, and the door / window distance vector value or ventilation opening distance vector value corresponding to the selected angle value is used as the selected distance vector value. S45374: Determine the fine adjustment vector value based on the selected distance vector value, and use the fine adjustment vector value as the reference vector value.
[0015] By adopting the above technical solution, when the deviation angle values of doors and windows and ventilation openings are both less than the deviation reference angle value, a fine adjustment vector value is generated by selecting the distance vector value corresponding to the larger deviation angle as the reference selection vector value. This allows priority to avoid doors, windows or ventilation openings that have a more significant impact on sampling. By making fine adjustments to reduce local interference, the sampling point is made closer to the average concentration area of the room air, thus improving sampling accuracy.
[0016] Optionally, the method for generating the reference selection vector values also includes: S45375: When the deviation angle values of doors and windows and the deviation angle values of vents are not both less than the preset deviation reference angle values, the reference values of doors and windows and vents shall be determined based on the deviation angle values of doors and windows and the deviation angle values of vents. S45376: Determine the door and window adjustment vector value by combining the door and window reference value and the door and window distance vector value; S45377: Determine the vent adjustment vector value by combining the vent reference value and the vent distance vector value; S45378: The adjustment vector value is obtained by combining the adjustment vector values of doors and windows with the adjustment vector values of ventilation openings, and the comprehensive adjustment vector value is used as the reference for selecting vector values.
[0017] By adopting the above technical solution, when the deviation angle values between doors / windows and ventilation openings are not all less than the reference angle value, a comprehensive adjustment vector value is generated by determining the reference values for doors / windows and ventilation openings, and then combining the distance vector values between doors / windows and ventilation openings with the distance vector values between ventilation openings. This serves as the reference selection vector value, thereby comprehensively considering the combined interference of doors / windows and ventilation openings on the sampling points. Through comprehensive calculation, position correction under multi-source interference is achieved, avoiding insufficient adjustment caused by a single interference factor and ensuring the rationality of the sampling points.
[0018] Optionally, the method for generating room adjustment location points also includes: S455: When there are multiple single room location points within a single room area, calculate the distance between the single room location points within the single room area and use it as the adjacent distance value; S456: Select a single vector value based on the vector values of door and window distances and ventilation opening distances corresponding to the same single room location point; S457: Retrieve single selected distance value based on single selected vector value; S458: Sort the individual selection distance values from smallest to largest, and take the single room location point corresponding to the first selected single selection distance value as the selection adjustment location point, and take the single room location points other than the selection adjustment location point as the remaining room location points, and take the single selection vector value corresponding to the selection adjustment location point as the final selection vector value. S459: Determine the final adjusted vector value by combining the final selected vector value with the adjacent distance value; S45A: Adjust the selected adjustment position point based on the final adjustment vector value to form the selected correction position point, and combine the remaining position points in the room with the selected correction position point as the room adjustment position point.
[0019] By adopting the above technical solution, when there are multiple single room location points in a single room, the adjacent distance values are calculated, and a single selection vector value is selected based on the same single room location point and the single selection distance value is retrieved. This determines the selection adjustment location point, the remaining location points in the room, and the final selection vector value. Then, the final adjustment vector value is determined, and the selection adjustment location point is adjusted using the final adjustment vector value to form the selection adjustment location point. The remaining location points in the room are combined with the selection adjustment location point as the room adjustment location point. This not only ensures a reasonable distribution among multiple sampling points, but also avoids the concentration of sampling points in the interference area by prioritizing the adjustment of the most significantly disturbed points, thus improving the overall representativeness of multiple sampling points.
[0020] Optionally, methods for selecting a single vector value include: S4561: Determine the center orientation information based on the location point of a single room; S4562: Retrieve distance values and direction information for the same location based on the door / window distance vector values and ventilation vent distance vector values corresponding to the same single room location point; S4563: Determine the center deviation angle value by combining the same positional orientation information and the center orientation information; S4564: Determine the reference value of the center deviation based on the center deviation angle value; S4565: Sort distance values from the same location in ascending order, and determine the distance sorting reference value based on the sorting result; S4566: Calculate the sum between the distance sorting reference value and the center deviation reference value and use it as a comprehensive reference value; S4567: Sort the values from smallest to largest based on the comprehensive reference values, and select the vector value of the distance between the door / window or the vent as the single selected vector value.
[0021] By adopting the above technical solution, the center orientation information is determined by a single room location point, and the distance value and direction information of the same location are retrieved. This allows for the determination of distance sorting reference values and center deviation reference values, and the calculation of a comprehensive reference value. This enables the selection of door and window distance vector values or ventilation vent distance vector values to obtain a single selected vector value. By comprehensively evaluating the degree of interference from both spatial distance and directional deviation, the interference source with the greatest impact on the sampling point is accurately identified, making the selection of adjustment vectors more targeted and further optimizing the sampling point location.
[0022] Optionally, the methods for determining the sampling adjustment position point include: S51: Retrieve placement type and placement location based on spatial placement conditions; S52: Determine the placement vector value based on the placement location point and the initial sampling location point; S53: Retrieve placement distance and placement direction information based on placement vector value; S54: Determine the placement adjustment direction information based on the placement direction information; S55: Determine the type adjustment coefficient based on the placement type; S56: Calculate the product of the placement distance value and the type adjustment coefficient, and use it as the placement adjustment value; S57: The placement adjustment value is combined with the placement adjustment direction information and used as the placement adjustment vector value; S58: Adjust the position of the initial sampling position point based on the placement adjustment vector value and use it as the sampling adjustment position point.
[0023] By adopting the above technical solution, the placement type and placement location are retrieved, the placement vector value is calculated, and the placement adjustment vector value is generated by combining the type adjustment coefficient determined by the placement type. The initial sampling location is then adjusted to serve as the sampling adjustment location. This approach effectively avoids the impact of furniture, decorations, and other objects in the room on airflow and pollutant distribution, making the sampling adjustment location closer to the actual breathing zone air conditions during living, and reducing local concentration deviations caused by objects.
[0024] Secondly, the present invention provides an air detection system, which adopts the following technical solution: An air detection system, comprising: The data acquisition module is used to collect spatial detection information and sampling equipment specifications; A memory storing a program for implementing an air detection method as described in any one of the first aspects; The processor loads and executes programs stored in memory.
[0025] In summary, the present invention has at least one of the following beneficial technical effects: 1. By collecting spatial detection information and sampling equipment specifications, and retrieving spatial area values, spatial layout, and spatial placement, the system combines analysis to determine the number of area samples, the initial sampling location, the sampling adjustment location, and the sampling duration. Ultimately, it controls the sampling equipment to collect air samples, ensuring that the number of samples, locations, and durations accurately match the actual conditions of the tested room. This effectively reduces sample deviations caused by unreasonable sampling parameter settings, improves the representativeness of air samples, and thus enhances the accuracy of air quality test results in the room. 2. By retrieving the location of individual rooms, doors and windows, and vents based on the spatial layout, the location of individual rooms is determined by the number of samples taken based on the room's range and area. After calculating and determining the vector values of the distances to doors and windows and the distances to vents, the room's adjusted location point is generated and used as the initial sampling location point. This effectively avoids interference from areas such as doors, windows, and vents that are prone to causing local air disturbances, making the initial sampling location point closer to the average state of the air in the room, thus laying the foundation for subsequent accurate sampling. 3. By retrieving the placement type and placement location, the placement vector value is calculated. Combined with the type adjustment coefficient determined by the placement type, a placement adjustment vector value is generated. The initial sampling location is then adjusted to serve as the sampling adjustment location. This approach specifically avoids the impact of furniture, decorations, and other objects in the room on airflow and pollutant distribution, making the sampling adjustment location closer to the actual breathing zone air conditions during living, and reducing local concentration deviations caused by objects. Attached Figure Description
[0026] Figure 1 This is a flowchart of the air quality detection method; Figure 2 This is a flowchart of the method for generating the initial sampling position point; Figure 3 This is a flowchart illustrating the method for determining the sampling adjustment location point. Detailed Implementation
[0027] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0028] An air quality detection method generates initial sampling locations by retrieving spatial area values, spatial layout, and spatial placement information, combined with analysis of room range, door / window / ventilation opening locations, and the number of locations in a single room. Then, a placement adjustment vector value is calculated based on the spatial placement, and the initial sampling locations are adjusted to obtain adjusted sampling locations. Finally, the sampling duration is determined, and the sampling equipment is controlled to collect air samples based on the adjusted sampling locations and the sampling duration. This ensures that the number, location, and duration of samples accurately match the actual conditions of the tested room, effectively reducing sample deviations caused by unreasonable sampling parameter settings, improving the representativeness of air samples, and thus enhancing the accuracy of air quality detection results in rooms.
[0029] Reference Figure 1 This invention discloses an air detection method, which includes: S1: Collect spatial detection information of the building and the specifications of the sampling equipment.
[0030] The "tested room" refers to a specific room or area within a building that requires air quality testing, such as a new apartment in a residential complex or an office. The tested room is typically designated by the person requesting the testing.
[0031] Spatial inspection information refers to various data describing the spatial characteristics of a inspected building. This includes spatial area, layout, and placement of objects. Spatial inspection information is obtained by inspectors through 3D scanning or image capture and recognition of the building. The specific methods for obtaining spatial inspection information through 3D scanning or image capture and recognition are standard technical means and will not be elaborated upon here.
[0032] Sampling equipment specifications refer to the technical parameters of the equipment used to collect air samples. These specifications include sampling unit area, sampling flow rate, and sampling accuracy. The sampling equipment specifications are determined in advance by the testing personnel through equipment selection and configuration.
[0033] S2: Retrieve spatial area value, spatial layout and spatial placement based on spatial detection information.
[0034] Among these, the spatial area value refers to the total area of the interior space of the building. Spatial layout refers to the location and arrangement of rooms, doors, windows, ventilation openings, etc., within the building. Spatial placement refers to the types and locations of furniture, decorations, and other items placed inside the building.
[0035] By retrieving spatial detection information, we can access the spatial area, layout, and placement of objects to facilitate subsequent use.
[0036] S3: Determine the number of area samples by combining the spatial area value and the sampling equipment specifications.
[0037] The number of area sampling points refers to the number of air sample collection points that need to be arranged in the testing room based on the total area of the building's interior space.
[0038] The sampling unit area value is retrieved by the sampling equipment specifications, and the quotient between the spatial area value and the sampling unit area value is calculated. The rounded result is then used as the number of area samples for subsequent use.
[0039] S4: Generate the initial sampling location points based on the spatial layout and the number of area samples.
[0040] The initial sampling location point refers to the specific spatial coordinates of the air sample collection point initially planned within the room.
[0041] By analyzing the spatial layout and the number of area samples, initial sampling location points are generated for convenient subsequent use.
[0042] To further ensure the rationality of the initial sampling location, it is necessary to perform further separate analysis and calculation on the initial sampling location, which will be explained in detail through the steps shown below.
[0043] Reference Figure 2 The method for generating the initial sampling location points includes the following steps: S41: Retrieve the range of a single room, the location of doors and windows, and the location of ventilation openings based on the spatial layout.
[0044] The scope of a single room refers to the spatial boundary of a single, independent room within a building, which can be defined by specific dimensions or coordinates. Door and window locations refer to the specific positions of doors and windows within a single room. Ventilation vent locations refer to the specific positions of ventilation facilities such as air conditioning vents, fresh air system vents, and exhaust vents within a single room. The spatial layout includes the scope of a single room, door and window locations, and ventilation vent locations.
[0045] The location of individual rooms, doors, windows, and ventilation openings can be retrieved based on the spatial layout to facilitate subsequent use.
[0046] S42: Determine the location point of a single room by combining the range and area of the single room.
[0047] Among them, a single room location point refers to the specific spatial location of an air sample collection point that is initially and evenly distributed within a single room.
[0048] By counting the number of areas corresponding to a single room, and using the count as the number of rooms, the area value of a single room and the center position of the single room are calculated based on the area of the single room. When the number of area samples is the same as the number of rooms, the center position of each room is used as the position point of a single room.
[0049] When the number of area samples differs from the number of rooms, the area values of individual rooms are first sorted from largest to smallest. If the number of area samples is less than the number of rooms, the center point of the room corresponding to the previous area sample count in the sorted results is selected as the location point of the individual room. If the number of area samples is greater than the number of rooms, the difference between the number of area samples and the number of rooms is calculated and used as the number of redundant samples. The range of individual rooms corresponding to the previous redundant samples in the sorted results is selected as the redundant placement range. The range of individual rooms excluding the redundant placement range is taken as the remaining room range. The average position of the rooms is obtained by selecting the average position from the redundant placement range. The average position point of the rooms and the center point of the rooms corresponding to the remaining room range are combined to obtain the location point of the individual room for subsequent use.
[0050] The average location point of the room is selected based on the shape and size of the excess placement area. For example, when the excess placement area is rectangular, the room's average location point is selected by determining the perpendicular lines that divide the length direction into thirds and the perpendicular lines that divide the width direction into seconds, and then choosing the two intersection points formed by the intersection of the two perpendicular lines and the second perpendicular line.
[0051] S43: Determine the vector value of the distance between doors and windows based on the location points of doors and windows and the location points of individual rooms.
[0052] Among them, the door and window distance vector value refers to the physical quantity that describes the spatial relationship between a single room location point and the doors and windows in the room.
[0053] By using a single room location point as the origin and door / window location points as the target points, the vector distance between the single room location point and the door / window location points is calculated and used as the door / window distance vector value for convenient subsequent use.
[0054] S44: Determine the vent distance vector value based on the vent location point and the location point of a single room.
[0055] Among them, the vent distance vector value refers to a physical quantity that describes the spatial relationship between a single room location point and the vent within the room.
[0056] By using a single room location point as the origin and the vent location point as the target point, the vector distance between the single room location point and the vent location point is calculated and used as the vent distance vector value for convenient subsequent use.
[0057] S45: Combine the vector values of distance to doors and windows, the vector values of distance to vents, and the location point of a single room to generate a room adjustment location point, and use the room adjustment location point as the initial sampling location point.
[0058] Among them, the room adjustment location point refers to the location point corresponding to the adjustment of the location point of a single room within the room.
[0059] By combining and analyzing the vector values of distances to doors and windows, the vector values of distances to vents, and the location points of individual rooms, room adjustment location points are generated, and these room adjustment location points are used as the initial sampling location points to improve the accuracy of the obtained initial sampling location points.
[0060] To further ensure the rationality of the room adjustment location, it is necessary to conduct a further separate analysis and calculation of the room adjustment location, which will be explained in detail through the steps shown below.
[0061] The method for generating room adjustment points includes the following steps: S451: When there is only one room location point within a single room range, calculate the directional deviation between the door / window distance vector value and the ventilation opening distance vector value and use it as the directional deviation angle value.
[0062] The directional deviation angle value refers to the angle between the direction corresponding to the distance vector value of the door and window and the direction corresponding to the distance vector value of the ventilation opening.
[0063] When there is only one room location point within a single room area, it is only necessary to adjust the single room location point directly. Therefore, by retrieving the direction of the vector value of the distance between the door and window and the vector value of the distance between the ventilation opening and the direction, and calculating the angle value between the two directions, the calculation result is used as the direction deviation angle value for convenient subsequent use.
[0064] S452: Calculate the vector sum between the distance vector values of doors and windows and the distance vector values of vents, and use it as the comprehensive distance vector value.
[0065] Among them, the comprehensive distance vector value refers to the vector sum between the distance vector values of doors and windows and the distance vector values of ventilation openings.
[0066] The vector sum between the distance vector values of doors and windows and the distance vector values of ventilation openings is calculated, and the calculation result is used as a comprehensive distance vector value for convenient subsequent use.
[0067] S453: Generate a single adjustment vector value by combining the direction deviation angle value and the comprehensive distance vector value.
[0068] Among them, a single adjustment vector value refers to the adjustment vector value corresponding to the adjustment of a single room location point.
[0069] By combining and analyzing the directional deviation angle value and the comprehensive distance vector value, a single adjustment vector value is generated for convenient subsequent use.
[0070] To further ensure the rationality of individual adjustment vector values, it is necessary to perform further individual analysis and calculation on each individual adjustment vector value, which will be explained in detail through the steps shown below.
[0071] The method for generating a single adjustment vector value includes the following steps: S4531: Retrieve comprehensive distance value and comprehensive direction information based on comprehensive distance vector value.
[0072] The composite distance value refers to the distance corresponding to the composite distance vector value. The composite direction information refers to the direction information corresponding to the composite distance vector value. The composite distance vector value includes both the composite distance value and the composite direction information.
[0073] The integrated distance vector value is used to retrieve the integrated distance value and integrated direction information for convenient subsequent use.
[0074] S4532: Determine whether the direction deviation angle value is within the preset direction deviation reference range. If yes, execute S4533; if no, execute S4536.
[0075] The directional deviation reference range refers to the angular reference range used to indicate directions located on the same side. The directional deviation reference range is obtained through pre-input by the testing personnel.
[0076] By judging whether the directional deviation angle value is within the preset directional deviation reference range, it can be determined whether the door and window are on the same side of a single room location.
[0077] S4533: Determine the overall adjustment value based on the overall distance value.
[0078] The comprehensive adjustment value refers to the distance value corresponding to the distance adjustment when a location point in a single room is adjusted.
[0079] When the directional deviation angle value is within the preset directional deviation reference range, it indicates that the door and window are on the same side of the location point in a single room. Therefore, the product value between the comprehensive distance value and the preset reverse distance coefficient is calculated, and the calculation result is used as the comprehensive adjustment value for convenient subsequent use.
[0080] The reverse distance coefficient is a coefficient that converts the comprehensive distance value into a comprehensive adjustment value. The reverse distance coefficient is preset by the testing personnel according to actual needs.
[0081] S4534: Determine the comprehensive reverse information based on the comprehensive directional information.
[0082] Among them, the comprehensive reverse information refers to the directional information that is completely opposite to the direction corresponding to the comprehensive directional information.
[0083] By determining the opposite direction corresponding to the comprehensive directional information and using it as comprehensive reverse information, it is convenient for subsequent use.
[0084] S4535: The inverse vector value is obtained by combining the comprehensive adjustment value with the comprehensive inverse information, and the inverse vector value is used as a single adjustment vector value.
[0085] The reverse vector value refers to the vector value that is adjusted for the location point of a single room after being reversed.
[0086] By combining the comprehensive adjustment value with the comprehensive reverse information, a reverse vector value is obtained, and the reverse vector value is used as a single adjustment vector value, thereby improving the accuracy of the obtained single adjustment vector value.
[0087] S4536: Determine the reference orientation information of a room based on the scope of a single room.
[0088] Among them, the room reference direction information refers to the reference direction information determined based on the shape of the room.
[0089] The shape of a single room is retrieved from a range of rooms. When the shape of a single room is regular, the direction of the longest side or the direction of the central axis is directly used as the reference direction information for the room. When the shape of a single room is irregular, the direction of the longest diagonal of the single room shape is used as the reference direction information for the room, which facilitates subsequent use.
[0090] S4537: Generate a reference selection vector value based on the door and window distance vector value, the ventilation outlet distance vector value, and the room reference direction information, and use the reference selection vector value as a single adjustment vector value.
[0091] Among them, the reference selection vector value refers to the vector value corresponding to the selected distance vector values between doors and windows and the distance vector values between ventilation openings.
[0092] By combining and analyzing the vector values of distances to doors and windows, the vector values of distances to vents, and the room's reference direction information, a reference selection vector value is generated. This reference selection vector value is then used as a single adjustment vector value, thereby improving the accuracy of the obtained single adjustment vector value.
[0093] To further ensure the rationality of the selected benchmark vector value, it is necessary to perform further separate analysis and calculation on the selected benchmark vector value, which will be explained in detail through the steps shown below.
[0094] The method for generating the reference selection vector value includes the following steps: S45371: Determine the door and window deviation angle value by combining the door and window distance vector value with the room reference direction information.
[0095] Among them, the door and window deviation angle value refers to the angle between the direction corresponding to the door and window distance vector value and the room reference direction information.
[0096] The corresponding direction is retrieved by the distance vector value between the door and window and the room's reference direction information. The calculated result is then used as the door and window deviation angle value for convenient subsequent use.
[0097] S45372: Determine the vent deviation angle value by combining the vent distance vector value and the room reference direction information.
[0098] Among them, the ventilation outlet deviation angle value refers to the angle between the direction corresponding to the ventilation outlet distance vector value and the room reference direction information.
[0099] The direction corresponding to the distance vector value of the vent is retrieved and the angle value between it and the room's reference direction information is calculated. The calculation result is then used as the vent deviation angle value for convenient subsequent use.
[0100] S45373: When both the door / window deviation angle value and the ventilation opening deviation angle value are less than the preset deviation reference angle value, the larger value between the door / window deviation angle value and the ventilation opening deviation angle value is selected as the selected angle value, and the door / window distance vector value or ventilation opening distance vector value corresponding to the selected angle value is used as the selected distance vector value.
[0101] The deviation reference angle value refers to the maximum angle value at which doors, windows, or ventilation openings are unlikely to cause interference. The deviation reference angle value is preset by the testing personnel according to requirements.
[0102] The selected angle value refers to the angle value corresponding to the selected deviation angle values of doors and windows and ventilation openings. The selected distance vector value refers to the vector value corresponding to the selected distance vector values of doors and windows and ventilation openings.
[0103] When both the door / window deviation angle and the ventilation opening deviation angle are less than the preset deviation reference angle, it indicates that the door / window or ventilation opening is unlikely to cause interference. Therefore, by comparing the door / window deviation angle and the ventilation opening deviation angle, the larger value is selected as the selected angle value. Then, the door / window distance vector value or ventilation opening distance vector value corresponding to the selected angle value is used as the selected distance vector value, which facilitates subsequent use.
[0104] S45374: Determine the fine adjustment vector value based on the selected distance vector value, and use the fine adjustment vector value as the reference vector value.
[0105] Among them, the fine adjustment vector value refers to the vector value corresponding to making a fine adjustment to a single room location point.
[0106] By calculating the product between the selected distance vector value and the preset fine adjustment coefficient, and using the calculation result as the fine initial vector value, the fine adjustment vector value is obtained by reversing the direction corresponding to the fine initial vector value, and then using the fine adjustment vector value as the reference selection vector value, the accuracy of the obtained reference selection vector value is improved.
[0107] The fine-tuning factor is a coefficient used to adjust the distance in the selected distance vector value to obtain a fine initial vector value. The fine-tuning factor is preset by the inspection personnel according to actual needs.
[0108] S45375: When the deviation angle values of doors and windows and the deviation angle values of vents are not both less than the preset deviation reference angle values, the reference values of doors and windows and vents shall be determined based on the deviation angle values of doors and windows and the deviation angle values of vents.
[0109] Among them, the door and window reference value refers to the reference value used when adjusting the distance vector value of doors and windows. The ventilation opening reference value refers to the reference value used when adjusting the distance vector value of ventilation openings.
[0110] When the deviation angle values of doors and windows and ventilation openings are not both less than the preset deviation reference angle values, it indicates that the doors, windows or ventilation openings are prone to interference. Therefore, the product values between the deviation angle values of doors and windows and ventilation openings and the preset deviation angle coefficients are calculated, and the two calculation results are used as reference values for doors and windows and ventilation openings, respectively, for convenient use in the future.
[0111] The deviation angle coefficient is a coefficient used to convert the deviation angle into a reference value. The deviation angle coefficient is preset by the testing personnel according to actual needs.
[0112] S45376: Determine the adjustment vector value of doors and windows by combining the reference value of doors and windows with the vector value of the distance between doors and windows.
[0113] Among them, the door and window adjustment vector value refers to the vector value corresponding to the distance after adjusting the distance in the door and window distance vector value.
[0114] The product between the reference values of doors and windows and the vector values of the distance between doors and windows is calculated, and the result is used as the adjustment vector value for doors and windows for convenient subsequent use.
[0115] S45377: Determine the vent adjustment vector value by combining the vent reference value and the vent distance vector value.
[0116] The vent adjustment vector value refers to the vector value corresponding to the distance in the vent distance vector value after adjustment.
[0117] The product between the vent reference value and the vent distance vector value is calculated, and the result is used as the vent adjustment vector value for convenient subsequent use.
[0118] S45378: The adjustment vector value is obtained by combining the adjustment vector values of doors and windows with the adjustment vector values of ventilation openings, and the comprehensive adjustment vector value is used as the reference for selecting vector values.
[0119] The comprehensive adjustment vector value refers to the vector value corresponding to the comprehensive adjustment based on doors, windows, and ventilation openings.
[0120] By performing vector sum calculations on the adjustment vector values of doors and windows and the adjustment vector values of ventilation openings, and using the calculation result as the comprehensive initial vector value, the direction corresponding to the comprehensive initial vector value is reversed to obtain the comprehensive adjustment vector value. This comprehensive adjustment vector value is then used as the benchmark selection vector value, thereby improving the accuracy of the obtained benchmark selection vector value.
[0121] S454: Adjust a single room location point based on a single adjustment vector value to form a room adjustment location point.
[0122] Among them, the room adjustment location point refers to the location point of a single room after the location point has been adjusted.
[0123] By using a single room location point as the origin and a single adjustment vector value as the distance and direction of movement, position adjustments are made to obtain the room adjustment location point, thereby improving the accuracy of the obtained room adjustment location point.
[0124] S455: When there are multiple single room location points within a single room area, calculate the distance between the single room location points within the single room area and use it as the adjacent distance value.
[0125] The adjacent distance value refers to the distance between individual room locations within a single room area.
[0126] When there are multiple single room location points within a single room area, it is necessary to select and adjust the single room location point. Therefore, the adjacent distance value is calculated for convenient subsequent use.
[0127] S456: Select a single vector value based on the vector values of door and window distances and ventilation opening distances corresponding to the same single room location point.
[0128] Among them, the single selected vector value refers to the vector value corresponding to the distance vector value between the door and window and the distance vector value between the ventilation opening and the same single room location point.
[0129] By analyzing the vector values of door and window distances and ventilation vent distances corresponding to the same single room location point, a single selectable vector value is obtained for convenient subsequent use.
[0130] To further ensure the rationality of individual selected vector values, it is necessary to perform further separate analysis and calculation on each individual selected vector value, which will be explained in detail through the steps shown below.
[0131] The method for selecting a single vector value includes the following steps: S4561: Determine the center orientation information based on the location point of a single room.
[0132] Among them, the center orientation information refers to the direction information corresponding to the orientation of a single room location point towards the center of the room.
[0133] The center point of a single room is calculated by measuring the range of a single room. This single room location is then used as the origin, and the direction pointing to the center point is used as the center orientation information for convenient subsequent use.
[0134] S4562: Retrieve distance values and direction information for the same location based on the door / window distance vector values and ventilation vent distance vector values corresponding to the same single room location point.
[0135] The "distance value at the same location" refers to the distance vector values corresponding to doors and windows, and air vents, at the same single room location. The "directional information at the same location" refers to the directional information corresponding to the distance vector values corresponding to doors and windows, and air vents, at the same single room location.
[0136] By retrieving the distance value and direction information of the same location, it is convenient to use them later.
[0137] S4563: Determine the center deviation angle value by combining the same position direction information and the center orientation information.
[0138] The center deviation angle value refers to the angle value corresponding to the direction angle between the same position direction information and the center orientation information.
[0139] The angle between the orientation information at the same location and the center orientation information is calculated, and the calculation result is used as the center deviation angle value for convenient subsequent use.
[0140] S4564: Determine the center deviation reference value based on the center deviation angle value.
[0141] The center deviation reference value refers to the reference value when selecting based on the included angle.
[0142] The product of the center deviation angle value and the preset center deviation coefficient is calculated, and the calculation result is used as the center deviation reference value for convenient subsequent use.
[0143] The center deviation coefficient is a coefficient used to convert the center deviation angle value into a center deviation reference value. The center deviation coefficient is set in advance by the inspection personnel.
[0144] S4565: Sort the distance values at the same location from smallest to largest, and determine the distance sorting reference value based on the sorting result.
[0145] Among them, the distance sorting reference value refers to the reference value corresponding to the sorting of distance values at the same location.
[0146] By sorting the distance values at the same location from smallest to largest, and using the sorting results as a reference value for distance sorting, it is convenient to use them later.
[0147] S4566: Calculate the sum between the distance sorting reference value and the center deviation reference value and use it as a comprehensive reference value.
[0148] The comprehensive reference value refers to the reference value that takes into account both distance and angular deviation.
[0149] The sum of the distance sorting reference value and the center deviation reference value is calculated, and the calculation result is used as a comprehensive reference value for convenient subsequent use.
[0150] S4567: Sort the values from smallest to largest based on the comprehensive reference values, and select the vector value of the distance between the door / window or the vent as the single selected vector value.
[0151] The accuracy of the obtained individual selected vector values is improved by sorting the comprehensive reference values from smallest to largest and selecting the door / window distance vector value or ventilation opening distance vector value corresponding to the first value in the sort.
[0152] S457: Retrieve a single selected distance value based on a single selected vector value.
[0153] Here, the single selected distance value refers to the distance value corresponding to a single selected vector value.
[0154] By selecting a single vector value, a single distance value can be retrieved, making it convenient for subsequent use.
[0155] S458: Sort the individual selection distance values from smallest to largest, and take the single room location point corresponding to the first selected single selection distance value as the selection adjustment location point. Take the single room location points other than the selection adjustment location point as the remaining room location points, and take the single selection vector value corresponding to the selection adjustment location point as the final selection vector value.
[0156] Here, "selected adjustment location point" refers to the location point corresponding to the selected location point of a single room. "Remaining room location points" refers to the location points of individual rooms that were not selected.
[0157] By sorting the individual selection distance values from smallest to largest, and selecting the single room location point corresponding to the first selected distance value as the selection adjustment location point, the remaining room location points and the final selection vector value are defined separately for easy use later.
[0158] S459: Combine the final selected vector value with the adjacent distance value to determine the final adjustment vector value.
[0159] The final adjustment vector value refers to the vector value corresponding to the selected adjustment position point when making adjustments.
[0160] The adjacent distance values are input into a preset adjacent distance database to obtain adjacent distance coefficients. Then, the product between the final selected vector value and the adjacent distance coefficient is calculated and used as the final initial vector value. Finally, the direction corresponding to the final initial vector value is reversed to obtain the final adjusted vector value, which is convenient for subsequent use.
[0161] The adjacent distance database pre-stores a lookup table of different adjacent distance intervals and their corresponding adjacent distance coefficients. The adjacent distance database is obtained after the operator pre-inputs the data.
[0162] For example, the adjacent distance database can set the adjacent distance coefficient to 0.9 when the adjacent distance range is 0 to 0.5 meters, the adjacent distance database can set the adjacent distance coefficient to 1 when the adjacent distance range is 0.5 to 1.5 meters, and the adjacent distance database can set the adjacent distance coefficient to 1.1 when the adjacent distance range is greater than 1.5 meters.
[0163] S45A: Adjust the selected adjustment position point based on the final adjustment vector value to form the selected correction position point, and combine the remaining position points in the room with the selected correction position point as the room adjustment position point.
[0164] Among them, the selected correction position point refers to the position point corresponding to the selected adjustment position point after adjustment.
[0165] By selecting an adjustment point as the origin and adjusting the position according to the distance and direction corresponding to the final adjustment vector value, a corrected position point is obtained. The remaining position points in the room are then combined with the corrected position point to obtain the room adjustment position point, thereby improving the accuracy of the obtained room adjustment position point.
[0166] S5: Determine the sampling adjustment point based on the spatial placement and the initial sampling point.
[0167] Among them, the sampling adjustment position point refers to the position point corresponding to the initial sampling position point after adjusting its position according to the spatial placement.
[0168] By analyzing the spatial placement and the initial sampling location, the sampling adjustment location can be determined to facilitate subsequent use.
[0169] To further ensure the rationality of the sampling adjustment location points, it is necessary to perform further separate analysis and calculation on the sampling adjustment location points, which will be explained in detail through the following steps.
[0170] Reference Figure 3 The method for determining the sampling adjustment position point includes the following steps: S51: Retrieve placement type and placement location based on spatial placement conditions.
[0171] Placement type refers to the type of furniture, decorations, and other items placed inside a building. Placement location refers to the specific location of the furniture, decorations, and other items placed inside a building.
[0172] The placement type and location can be retrieved based on the spatial placement situation, making it convenient for subsequent use.
[0173] S52: Determine the placement vector value based on the placement location point and the initial sampling location point.
[0174] Among them, the placement vector value refers to the physical quantity that describes the spatial relationship between the placement location point and the initial sampling location point.
[0175] By taking the initial sampling location as the origin and the placement location as the target point, the vector distance between the initial sampling location and the placement location is calculated and used as the placement vector value for convenient subsequent use.
[0176] S53: Retrieve placement distance and placement direction information based on placement vector value.
[0177] The placement distance value refers to the distance corresponding to the placement vector value. The placement direction information refers to the direction information corresponding to the placement vector value. The placement vector value includes both the placement distance value and the placement direction information.
[0178] The placement distance and direction information are retrieved by placing vector values, which facilitates subsequent use.
[0179] S54: Determine the placement adjustment direction information based on the placement direction information.
[0180] Among them, the placement adjustment direction information refers to the direction information corresponding to the adjustment based on the placement direction.
[0181] By reversing the placement orientation information, placement adjustment orientation information can be obtained, which facilitates subsequent use.
[0182] S55: Determine the type adjustment coefficient based on the placement type.
[0183] The type adjustment coefficient refers to the coefficient corresponding to the adjustment of the placement distance value.
[0184] By inputting the placement type into a preset placement database, a type adjustment coefficient is obtained for easier subsequent use.
[0185] The placement database contains a pre-stored table of different placement types and their corresponding adjustment coefficients. The placement database is obtained after the testing personnel have pre-entered the data.
[0186] S56: Calculate the product of the placement distance value and the type adjustment coefficient and use it as the placement adjustment value.
[0187] The placement adjustment value refers to the distance value corresponding to the distance adjustment made based on the placement distance value.
[0188] The product of the placement distance value and the type adjustment coefficient is calculated, and the result is used as the placement adjustment value for convenient subsequent use.
[0189] S57: The placement adjustment value is combined with the placement adjustment direction information and used as the placement adjustment vector value.
[0190] The placement adjustment vector value refers to the vector value used to adjust the position of the initial sampling point.
[0191] By combining the placement adjustment value with the placement adjustment direction information, a vector value is obtained and used as the placement adjustment vector value for convenient subsequent use.
[0192] S58: Adjust the position of the initial sampling position point based on the placement adjustment vector value and use it as the sampling adjustment position point.
[0193] Specifically, by taking the initial sampling position point as the origin, adjusting the position using the placement adjustment vector value, and using the adjusted position point as the sampling adjustment position point, the accuracy of the obtained sampling adjustment position point is improved.
[0194] S6: Determine the sampling duration based on the sampling adjustment location and sampling equipment specifications, and control the preset sampling equipment to collect air samples based on the sampling adjustment location and sampling duration.
[0195] The sampling duration refers to the duration required for air sample collection. The sampling equipment refers to the device used for air sample collection; this equipment can be an atmospheric sampler.
[0196] The sampling flow rate is retrieved by the sampling equipment specifications. The corresponding single room range is retrieved by the sampling adjustment location point and used as the adjustment room range. The area value of the detection area responsible for the sampling adjustment location point is calculated by the adjustment room range and the sampling adjustment location point. Then, the air volume of the detection area is determined by the area value of the detection area and the sampling duration is calculated by the sampling flow rate. Finally, the sampling equipment is controlled by the sampling adjustment location point and the sampling duration to collect air samples. This ensures that the number of samples, the location and the duration are accurately matched with the actual situation of the tested room, effectively reducing the sample deviation caused by unreasonable sampling parameter settings, improving the representativeness of air samples, and thus improving the accuracy of the test results when conducting air testing in the room.
[0197] Based on the same inventive concept, embodiments of the present invention provide an air detection system, comprising: The data acquisition module is used to collect spatial detection information and sampling equipment specifications; The memory stores a program for implementing an air detection method as described above; The processor loads and executes programs stored in memory.
[0198] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0199] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. An air detection method, characterized in that, include: S1: Collect spatial detection information of the building and the specifications of the sampling equipment; S2: Retrieve spatial area value, spatial layout and spatial placement based on spatial detection information; S3: Determine the number of area samples by combining the spatial area value and the sampling equipment specifications; S4: Generate initial sampling location points based on the spatial layout and the number of area samples; S5: Determine the sampling adjustment point based on the spatial placement and the initial sampling point; S6: Determine the sampling duration based on the sampling adjustment location and sampling equipment specifications, and control the preset sampling equipment to collect air samples based on the sampling adjustment location and sampling duration; Methods for generating initial sampling location points include: S41: Retrieve the range of a single room, the location of doors and windows, and the location of ventilation openings based on the spatial layout; S42: Determine the location point of a single room by combining the range and area sampling number of a single room; S43: Determine the vector value of the distance between doors and windows based on the location points of doors and windows and the location points of individual rooms; S44: Determine the vector value of the distance between the vent and a single room location; S45: Combine the vector values of distance to doors and windows, the vector values of distance to vents, and the location point of a single room to generate a room adjustment location point, and use the room adjustment location point as the initial sampling location point; The methods for determining the sampling adjustment position point include: S51: Retrieve placement type and placement location based on spatial placement conditions; S52: Determine the placement vector value based on the placement location point and the initial sampling location point; S53: Retrieve placement distance and placement direction information based on placement vector value; S54: Determine the placement adjustment direction information based on the placement direction information; S55: Determine the type adjustment coefficient based on the placement type; S56: Calculate the product of the placement distance value and the type adjustment coefficient, and use it as the placement adjustment value; S57: The placement adjustment value is combined with the placement adjustment direction information and used as the placement adjustment vector value; S58: Adjust the position of the initial sampling position point based on the placement adjustment vector value and use it as the sampling adjustment position point.
2. The air detection method according to claim 1, characterized in that, The methods for generating room adjustment points include: S451: When there is only one single room location point within a single room range, calculate the directional deviation between the door / window distance vector value and the ventilation opening distance vector value and use it as the directional deviation angle value; S452: Calculate the vector sum between the vector values of distance to doors and windows and the vector values of distance to ventilation openings, and use it as the comprehensive distance vector value; S453: Generate a single adjustment vector value by combining the directional deviation angle value and the comprehensive distance vector value; S454: Adjust a single room location point based on a single adjustment vector value to form a room adjustment location point.
3. The air detection method according to claim 2, characterized in that, Methods for generating a single adjustment vector value include: S4531: Retrieve integrated distance value and integrated direction information based on integrated distance vector value; S4532: Determine whether the directional deviation angle value is within the preset directional deviation reference range; S4533: If yes, then determine the overall adjustment value based on the overall distance value; S4534: Determine the integrated reverse information based on the integrated directional information; S4535: Based on the combination of the comprehensive adjustment value and the comprehensive reverse information, the reverse vector value is obtained and used as a single adjustment vector value; S4536: If not, then determine the room reference orientation information based on the range of a single room; S4537: Generate a reference selection vector value based on the door and window distance vector value, the ventilation outlet distance vector value, and the room reference direction information, and use the reference selection vector value as a single adjustment vector value.
4. The air detection method according to claim 3, characterized in that, Methods for generating reference selection vector values include: S45371: Determine the door and window deviation angle by combining the door and window distance vector value with the room reference direction information; S45372: Determine the vent deviation angle value by combining the vent distance vector value with the room reference direction information; S45373: When both the door / window deviation angle value and the ventilation opening deviation angle value are less than the preset deviation reference angle value, the larger value of the door / window deviation angle value and the ventilation opening deviation angle value is selected as the selected angle value, and the door / window distance vector value or ventilation opening distance vector value corresponding to the selected angle value is used as the selected distance vector value. S45374: Determine the fine adjustment vector value based on the selected distance vector value, and use the fine adjustment vector value as the reference vector value.
5. The air detection method according to claim 4, characterized in that, The methods for generating the reference selection vector value also include: S45375: When the deviation angle values of doors and windows and the deviation angle values of vents are not both less than the preset deviation reference angle values, the reference values of doors and windows and vents shall be determined based on the deviation angle values of doors and windows and the deviation angle values of vents. S45376: Determine the door and window adjustment vector value by combining the door and window reference value and the door and window distance vector value; S45377: Determine the vent adjustment vector value by combining the vent reference value and the vent distance vector value; S45378: The adjustment vector value is obtained by combining the adjustment vector values of doors and windows with the adjustment vector values of ventilation openings, and the comprehensive adjustment vector value is used as the reference for selecting vector values.
6. The air detection method according to claim 2, characterized in that, The methods for generating room adjustment points also include: S455: When there are multiple single room location points within a single room area, calculate the distance between the single room location points within the single room area and use it as the adjacent distance value; S456: Select a single vector value based on the vector values of door and window distances and ventilation opening distances corresponding to the same single room location point; S457: Retrieve single selected distance value based on single selected vector value; S458: Sort the individual selection distance values from smallest to largest, and take the single room location point corresponding to the first selected single selection distance value as the selection adjustment location point, and take the single room location points other than the selection adjustment location point as the remaining room location points, and take the single selection vector value corresponding to the selection adjustment location point as the final selection vector value. S459: Determine the final adjusted vector value by combining the final selected vector value with the adjacent distance value; S45A: Adjust the selected adjustment position point based on the final adjustment vector value to form the selected correction position point, and combine the remaining position points in the room with the selected correction position point as the room adjustment position point.
7. An air detection method according to claim 6, characterized in that, Methods for selecting a single vector value include: S4561: Determine the center orientation information based on the location point of a single room; S4562: Retrieve distance values and direction information for the same location based on the door / window distance vector values and ventilation vent distance vector values corresponding to the same single room location point; S4563: Determine the center deviation angle value by combining the same positional orientation information and the center orientation information; S4564: Determine the reference value of the center deviation based on the center deviation angle value; S4565: Sort distance values from the same location in ascending order, and determine the distance sorting reference value based on the sorting result; S4566: Calculate the sum between the distance sorting reference value and the center deviation reference value and use it as a comprehensive reference value; S4567: Sort the values from smallest to largest based on the comprehensive reference values, and select the vector value of the distance between the door / window or the vent as the single selected vector value.
8. An air detection system, characterized in that, include: The data acquisition module is used to collect spatial detection information and sampling equipment specifications; A memory storing a program for implementing an air detection method as described in any one of claims 1 to 7; The processor loads and executes programs stored in memory.