A method for optimizing the placement of fire hydrants and fire extinguishers

By optimizing the placement of fire hydrants and fire extinguishers and using entity collision detection to select the best location, the problem of inaccurate placement of fire hydrants and fire extinguishers was solved, improving design efficiency and location accuracy.

CN115730370BActive Publication Date: 2025-10-03TIANHUA ARCHITECTURE DESIGN COMPANY +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211430438.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-15
Publication Date
2025-10-03
Estimated Expiration
2042-11-15

AI Technical Summary

Technical Problem

In the existing technology, the placement accuracy of fire hydrants and fire extinguishers is poor, which affects the efficiency of mapping and makes it difficult to meet the requirements of fire protection standards.

Method used

A fire hydrant and fire extinguisher placement optimization method is adopted. By searching the surrounding environment of the fire hydrant, setting the placement priority, and performing entity collision detection, the best placement position is selected to improve the accuracy and efficiency of the placement.

Benefits of technology

It achieves precise placement of fire hydrants and fire extinguishers, improves the designer's drawing efficiency, and ensures that the placement complies with fire protection standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115730370B_ABST
    Figure CN115730370B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for optimizing the placement of fire hydrants and fire extinguishers. It solves the problem in the prior art that the placement accuracy of fire hydrants or fire extinguishers during drawing is poor, which affects drawing efficiency. It includes a method for optimizing the placement of fire extinguishers, which includes the following steps: S1. Searching for the surrounding environment of the fire hydrant based on a user-given range of movement; S2. Determining the approximate placement position of the fire hydrant; S3. Presetting the placement position priority; S4. Generating a placement model and performing entity collision detection; S5. Selecting the position with the highest priority as the final placement position of the fire hydrant based on the detailed results of the entity collision detection. The advantages of the present invention are: effectively improving the designer's drawing efficiency, and highly accurate placement of the position.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of architectural design technology, and in particular to a method for optimizing the placement of fire hydrants and fire extinguishers. Background Art

[0002] The difference between a fire hydrant and a fire extinguisher is that a fire hydrant has its own water supply riser, and the relationship between the water supply riser and the fire hydrant needs to be considered. A fire extinguisher, however, is a separate entity. Both have a door opening range. The door opening range of a fire hydrant is determined by the relationship between the fire hydrant and the water supply riser, and can be left or right. The door opening range of a fire extinguisher is defined by default as the rectangle within a certain range in front of it. In actual design scenarios, fire hydrants or fire extinguishers need to be precisely placed on pillars on both sides of the driveway or against the wall. Because placement conditions are subject to numerous fire protection standards, designers usually first roughly determine the location of the fire hydrant or fire extinguisher, calculate the placement to meet fire protection standards, and then fine-tune its final placement. This approach not only affects drawing efficiency but also lacks the accuracy of the placement of the fire hydrant or fire extinguisher. Summary of the Invention

[0003] The purpose of the present invention is to provide a method for writing construction drawing design instructions with good use effect in order to solve the above problems.

[0004] To achieve the above object, the present invention adopts the following technical solution: a method for optimizing the placement of fire hydrants and fire extinguishers, the method comprising the following steps:

[0005] S1. Search the surrounding environment of the fire hydrant according to the movement range given by the user;

[0006] S2. Determine the approximate placement of fire hydrants;

[0007] S3, preset placement priority;

[0008] S4, generating a placement model and performing entity collision detection;

[0009] S5. Select the location with the highest priority as the final placement location of the fire hydrant based on the detailed results of the entity collision detection.

[0010] This method uses the approximate placement positions of the given fire hydrants or fire extinguishers to pre-set placement priorities, generates a placement model for collision detection, and selects the best placement position based on the results of the collision detection. It can batch calculate the final precise position of the placement positions of fire hydrants or fire extinguishers and adjust the positions of fire hydrants or fire extinguishers, effectively improving the designer's drawing efficiency and achieving high placement accuracy.

[0011] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, step S1 is mainly divided into the following steps:

[0012] S11. Set a circular area where the fire hydrant can be placed with the center of the fire hydrant frame as the center and the movement range specified by the user;

[0013] S12. Use the set circular area to search for entities and virtual entities within the movement range given by the user.

[0014] S13. Classify and process the search results of the circular area.

[0015] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, in step S12, entities represent: walls, columns, rooms, doors, fire shutters, other risers, and existing obstacles; virtual entities represent: driveways, parking spaces, and water collection wells that are not above the ground but are also planned locations that cause obstacles.

[0016] The purpose of setting up entities and virtual entities is to ensure that fire hydrants and fire extinguishers will not be interfered with or obstructed when placed and opened and closed.

[0017] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, in step S13, the search results of the circular area subjected to classification processing are mainly divided into the following two parts:

[0018] A. When a room is found in the circular area, the intersection of the circular area and the found room is used as the overlap area. One overlap area corresponds to one room.

[0019] A1. When a fire hydrant is within an overlapping area found in the circular area search, the overlapping area is directly used as the placement range;

[0020] A2. If the fire hydrant is not within a certain overlapping area found in the circular area search, the circular area is directly used as the room body. The entities found in the circular area are interpolated to obtain a new area and step A is repeated.

[0021] B. When no room is found in the circular area, the circular area is used as the moving range frame given by the user. All entities in the circular area are subtracted from the circular area to obtain a new area, and step A is repeated.

[0022] The circular area search method can quickly determine which area the device is located in, making it easier to further narrow the adjustment range.

[0023] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, in step S2, the approximate placement position of the fire hydrant is determined based on the search result of the above-mentioned step S13.

[0024] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, the placement priorities are:

[0025] The first priority is the corner:

[0026] That is, the concave corner of the wall surface in step S13 is preferentially searched as a possible placement position. If the placement model generated by the corner meets the collision test in step S4, it is directly used as the final placement position;

[0027] The second priority is when there is only a single column within the range:

[0028] For fire extinguishers, find the left, center, and right points of the circumference of a single column;

[0029] For fire hydrants, first sort the distances from each side of the individual columns to the fire hydrants, and prioritize the side closest to the fire hydrant for testing;

[0030] Secondly, the current locking direction is determined based on the individual pillars and parking spaces. A rectangular frame is preset outward from the locking edge to select parking spaces within the set range. The area ratio of the rectangular frame and the parking space is detected using the current locking edge and the back-facing edge. If the locking edge is larger than the back-facing edge, the locking edge is considered the inner edge. If the locking edge is smaller than the back-facing edge, the back-facing edge is considered the inner edge.

[0031] Finally, a placement model is generated based on collision testing and selection priorities;

[0032] The third priority is when there are columns and walls within the range: find the projection point of the line segment from the fire hydrant to the nearby wall, and use the starting point, midpoint, and end point as the arrangable positions to generate a placement model.

[0033] After the priority of each level is determined, steps S4 and S5 are repeated.

[0034] Determine the priority of placement according to the order of priority, and select the placement model based on the collision detection results to improve the accuracy of placement.

[0035] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, in step S4, the placement model includes a fire hydrant placement model, an actual placement type of a fire hydrant, a fire extinguisher placement model, and an actual placement type of a fire extinguisher; during the entity collision detection process, a collision check is performed on the entity, the possibility of position placement is screened, and detection is performed based on the door opening collision.

[0036] The positions are further screened according to the placement types and placement models to prevent the opening and closing from being affected by the placement position.

[0037] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, the placement model with the highest detail priority among those that have undergone collision detection is selected, where:

[0038] First priority, corner:

[0039] Fire hydrants and fire extinguishers are used uniformly:

[0040] a. Length against the wall;

[0041] b. Distance from the original fire extinguisher;

[0042] Second priority, a separate column:

[0043] Fire hydrant priority:

[0044] c. Compare the overlap area between the door opening and the parking space in the collision test model and select the minimum value. If there is no parking space, select a random one.

[0045] Fire Extinguisher Priority:

[0046] d. Length against the wall,

[0047] e. Distance from the original fire extinguisher;

[0048] Third priority, walls and columns:

[0049] Fire hydrant priority:

[0050] f. For walls with priority, an evaluation function is used to determine the placement location between the wall and the column;

[0051] Fire Extinguisher Priority:

[0052] g. Length against the wall,

[0053] h. Distance from the original fire extinguisher.

[0054] The location distances of fire hydrants and fire extinguishers are calculated in order of priority.

[0055] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, the evaluation function is:

[0056] MAX (length against the wall + distance to the original fire hydrant × distance weight);

[0057] If the door does not collide with the parking space when opened, a bonus equal to 200 wall lengths is added, then:

[0058] MAX (length against the wall + distance to the original fire hydrant × distance weight + bonus);

[0059] Among them, the higher the evaluation function value, the better the placement position.

[0060] Select the best placement based on the measurement results.

[0061] In the above-mentioned method for optimizing the placement of fire hydrants and fire extinguishers, entity collision verification includes hard collision verification and allowed collision verification. The hard collision verification includes overall outer frame occlusion verification, door opening occlusion verification, and whether the generated block is smaller than the search distance; the allowed collision verification includes the longest wall length, whether there is a parking space in the door opening range, and movement distance comparison. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 is a flow chart of the present invention;

[0063] Figure 2 This is a flow chart of the present invention when producing a placement area;

[0064] Figure 3 This is a diagram showing how the fire hydrant model of the present invention is placed;

[0065] Figure 4 It is a diagram showing how the fire extinguisher model of the present invention is placed. DETAILED DESCRIPTION

[0066] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0067] like Figure 1 As shown, a method for optimizing the placement of fire hydrants and fire extinguishers includes the following steps:

[0068] S1. Search the surrounding environment of the fire hydrant according to the search range value given by the user;

[0069] S2. Determine the approximate placement of fire hydrants;

[0070] S3, preset placement priority;

[0071] S4, generating a placement model and performing entity collision detection;

[0072] S5. Select the location with the highest priority as the final placement location of the fire hydrant based on the detailed results of the entity collision detection.

[0073] Before starting, data preparation is first performed, that is, inputting the models and positions of the physical and virtual entities, then determining the approximate placement of the fire hydrants and fire extinguishers, and then obtaining the physical and virtual obstacle data. Finally, based on the movement range given by the user, the surrounding environment is searched and measurement and detection are started.

[0074] Step S1 is mainly divided into the following steps:

[0075] S11. Set a circular area where the fire hydrant can be placed with the center of the fire hydrant frame as the center and the movement range specified by the user;

[0076] S12. Use the set circular area to search for entities and virtual entities within the movement range given by the user.

[0077] S13. Classify and process the search results of the circular area.

[0078] The settings of entities and virtual bodies are used to prevent collisions when the fire hydrant opens.

[0079] In step S12, entities represent: walls, columns, rooms, doors, fire shutters, other risers, and real obstacles; virtual entities represent: driveways, parking spaces, and water collection wells that are not above the ground but also pose obstacles in the planned locations of buildings.

[0080] Can or cannot collide with virtual bodies based on user selection.

[0081] like Figure 2 As shown, in step S13, the search results of the circular area of ​​the classification process are mainly divided into the following two parts:

[0082] A. When a room is found in the circular area, the intersection of the circular area and the found room is used as the overlap area. One overlap area corresponds to one room.

[0083] A1. When a fire hydrant is within an overlapping area found in the circular area search, the overlapping area is directly used as the placement range;

[0084] A2. If the fire hydrant is not within a certain overlapping area found in the circular area search, the circular area is directly used as the room body. The entities found in the circular area are interpolated to obtain a new area and step A is repeated.

[0085] B. When no room is found in the circular area, the circular area is used as the moving range frame given by the user. All entities in the circular area are subtracted from the circular area to obtain a new area, and step A is repeated.

[0086] In step S2, the approximate placement location of the fire hydrant is determined based on the search result of step S13.

[0087] Among them, the placement priority is:

[0088] The first priority is the corner:

[0089] That is, the concave corner of the wall surface in step S13 is preferentially searched as a possible placement position. If the placement model generated by the corner meets the collision test in step S4, it is directly used as the final placement position;

[0090] The second priority is when there is only a single column within the range:

[0091] For fire extinguishers, find the left, center, and right points of the circumference of a single column;

[0092] For fire hydrants, first sort the distances from each side of the individual columns to the fire hydrants, and prioritize the side closest to the fire hydrant for testing;

[0093] Secondly, the current locking direction is determined based on the individual pillars and parking spaces. A rectangular frame is preset outward from the locking edge to select parking spaces within the set range. The area ratio of the rectangular frame and the parking space is detected using the current locking edge and the back-facing edge. If the locking edge is larger than the back-facing edge, the locking edge is considered the inner edge. If the locking edge is smaller than the back-facing edge, the back-facing edge is considered the inner edge.

[0094] Finally, a placement model is generated based on collision testing and selection priorities;

[0095] The third priority is when there are columns and walls within the range: find the projection point of the line segment from the fire hydrant to the nearby wall, and use the starting point, midpoint, and end point as the arrangable positions to generate a placement model.

[0096] After the priority of each level is determined, steps S4 and S5 are repeated.

[0097] like Figure 2-4 As shown, the placement model includes the fire hydrant placement model, the actual placement type of the fire hydrant, the fire extinguisher placement model, and the actual placement type of the fire extinguisher; during the entity collision detection process, the entity is subjected to collision verification, the possibility of position placement is screened, and detection is performed based on the door opening collision.

[0098] The actual placement of fire extinguishers is shown in the figure below:

[0099] Location Side placement (single) Back placement (L shape) Both Corner 0-4 0-4 0-4 column 0-4 0-4 0-4 Wall 0-4 0-4 0-4

[0100] Among them, the ones with higher detail priority among the placement models that have passed the collision detection are selected, among which:

[0101] First priority, corner:

[0102] Fire hydrants and fire extinguishers are used uniformly:

[0103] a. Length against the wall;

[0104] b. Distance from the original fire extinguisher;

[0105] Second priority, a separate column:

[0106] Fire hydrant priority:

[0107] c. Compare the overlap area between the door opening and the parking space in the collision test model and select the minimum value. If there is no parking space, select a random one.

[0108] Fire Extinguisher Priority:

[0109] d. Length against the wall,

[0110] e. Distance from the original fire extinguisher;

[0111] Third priority, walls and columns:

[0112] Fire hydrant priority:

[0113] f. For walls with priority, an evaluation function is used to determine the placement location between the wall and the column;

[0114] Fire Extinguisher Priority:

[0115] g. Length against the wall,

[0116] h. Distance from the original fire extinguisher.

[0117] Among them, the evaluation function is:

[0118] MAX (length against the wall + distance to the original fire hydrant × distance weight);

[0119] If the door does not collide with the parking space when opened, a bonus equal to 200 wall lengths is added, then:

[0120] MAX (length against the wall + distance to the original fire hydrant × distance weight + bonus);

[0121] The higher the evaluation function value, the better the placement. The evaluation function can be used to accurately calculate the placement position.

[0122] In detail, the entity collision check includes hard collision check and allowed collision check. The hard collision check includes the overall outer frame occlusion check, the door opening occlusion check and whether the generated block is smaller than the search distance; the allowed collision check includes the longest wall length, whether there is a parking space in the door opening range and the moving distance comparison.

[0123] To sum up, the principle of this embodiment is: by pre-inputting the surrounding environment into the computer to generate a surrounding environment model, determining the approximate placement of the fire hydrant and fire extinguisher, and then obtaining the physical and virtual obstacle data, and searching the surrounding environment according to the movement range given by the user, generating the placement model of the fire hydrant and fire extinguisher and performing collision detection, and finally selecting the position with the highest priority as the final placement position of the fire hydrant based on the collision detection results.

[0124] The specific embodiments described herein are merely illustrative of the spirit of the present invention. Persons skilled in the art may make various modifications, additions, or substitutions to the described specific embodiments without departing from the spirit of the present invention or exceeding the scope of the appended claims.

Claims

1. A method for optimizing the placement of fire hydrants and fire extinguishers, characterized in that: This method comprises the following steps: S1. Search the surrounding environment of the fire hydrant according to the search range value given by the user; S2. Determine the approximate placement of fire hydrants; S3, preset placement priority; S4, generating a placement model and performing entity collision detection; S5. Select the location with the highest priority as the final placement location of the fire hydrant based on the detailed results of the entity collision detection; Step S1 is mainly divided into the following steps: S11. Set a circular area where the fire hydrant can be placed with the center of the fire hydrant frame as the center and the movement range specified by the user; S12. Use the set circular area to search for entities and virtual entities within the movement range given by the user; S13, classifying and processing the search results of the circular area; The placement priority is: The first priority is the corner: That is, the concave corner of the wall surface in step S13 is preferentially searched as a possible placement position. If the placement model generated by the corner meets the collision test in step S4, it is directly used as the final placement position; The second priority is when there is only a single column within the range: For fire extinguishers, find the left, center, and right points of the circumference of a single column; For fire hydrants, first sort the distances from each side of the individual columns to the fire hydrants, and prioritize the side closest to the fire hydrant for testing; Secondly, the current locking direction is determined based on the individual pillars and parking spaces. A rectangular frame is preset outward from the locking edge to select parking spaces within the set range. The area ratio of the rectangular frame and the parking space is detected using the current locking edge and the back-facing edge. If the locking edge is larger than the back-facing edge, the locking edge is considered the inner edge. If the locking edge is smaller than the back-facing edge, the back-facing edge is considered the inner edge. Finally, a placement model is generated based on collision testing and selection priorities; The third priority is when there are columns and walls within the range: find the projection points of the line segment from the fire hydrant to the nearby wall, and use the starting point, midpoint, and end point as the possible placement positions to generate a placement model; When the priority of each level is determined, repeat steps S4 and S5; In step S4, the placement model includes a fire hydrant placement model, an actual placement type of a fire hydrant, a fire extinguisher placement model, and an actual placement type of a fire extinguisher; during the entity collision detection process, the entity is subjected to collision verification, the possibility of position placement is screened, and detection is performed based on door opening collision.

2. The method for optimizing the placement of fire hydrants and fire extinguishers according to claim 1, characterized in that: In step S12, the entities represent: walls, columns, rooms, doors, fire shutters, other risers and real obstacles; the virtual entities represent: driveways, parking spaces, and water collection wells that are not above the ground but also pose obstacles in the planned locations of buildings.

3. The method for optimizing the placement of fire hydrants and fire extinguishers according to claim 2, characterized in that: In step S13, the search results of the circular area classified are mainly divided into the following two parts: A. When a room is found in the circular area, the intersection of the circular area and the found room is used as the overlap area. One overlap area corresponds to one room. A1. When a fire hydrant is within an overlapping area found in the circular area search, the overlapping area is directly used as the placement range; A2. If the fire hydrant is not within a certain overlapping area found in the circular area search, the circular area is directly used as the room body. The entities found in the circular area are interpolated to obtain a new area and step A is repeated. B. When no room is found in the circular area, the circular area is used as the moving range frame given by the user. All entities in the circular area are subtracted from the circular area to obtain a new area, and step A is repeated.

4. The method for optimizing the placement of fire hydrants and fire extinguishers according to claim 3, characterized in that: In step S2, the approximate placement location of the fire hydrant is determined based on the search result of step S13.

5. The method for optimizing the placement of fire hydrants and fire extinguishers according to claim 1, characterized in that: Select the model with the highest detail priority among the collision-checked placement models, where: First priority, corner: Fire hydrants and fire extinguishers are used uniformly: a. Length against the wall; b. Distance from the original fire extinguisher; Second priority, a separate column: Fire hydrant priority: c. Compare the overlap area between the door opening and the parking space in the collision test model and select the minimum value. If there is no parking space, select a random one. Fire Extinguisher Priority: d. Length against the wall, e. Distance from the original fire extinguisher; Third priority, walls and columns: Fire hydrant priority: f. For walls with priority, an evaluation function is used to determine the placement location between the wall and the column; Fire Extinguisher Priority: g. Length against the wall, h. Distance from the original fire extinguisher.

6. The method for optimizing the placement of fire hydrants and fire extinguishers according to claim 5, characterized in that: The evaluation function is: MAX (length against the wall + distance to the original fire hydrant × distance weight); If the door does not collide with the parking space when opened, a bonus equal to 200 wall lengths is added, then: MAX (length against the wall + distance to the original fire hydrant × distance weight + bonus); Among them, the higher the evaluation function value, the better the placement position.

7. The method for optimizing the placement of fire hydrants and fire extinguishers according to claim 6, characterized in that: The collision check for the entity includes hard collision check and allowed collision check, among which the hard collision check includes the overall outer frame occlusion check, the door opening occlusion check and whether the generated block is smaller than the search distance; the allowed collision check includes the longest wall length, whether there is a parking space in the door opening range and the moving distance comparison.

Citation Information

Patent Citations

  • Fire detection system-method for automatically placing fire equipment

    CN110895863A

  • Layout rationality detection method based on VR, multi-camera and robot linkage

    CN114091150A