A fire source location algorithm based on the automatic aiming system of foam water mist turbofan gun
Through video image fire detection and image positioning technology, automatic aiming and precise injection of foam water mist turbofan cannons are realized, which solves the problems of automatic positioning and precise control in the existing technology, and improves fire extinguishing efficiency and operational safety.
Patent Information
- Application Number
- CN202011289618.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-18
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-11-18
AI Technical Summary
Existing foam water mist turbofan cannons lack the function of automatically locating fire sources. Outdoor fire source target recognition is susceptible to environmental interference. Jet trajectory recognition and control are inaccurate and require manual adjustment, resulting in low fire extinguishing efficiency and operator safety risks.
The fire source positioning algorithm based on video image fire detection and image positioning technology is used to achieve automatic aiming and precise injection of foam water mist turbofan cannon through flame detection, target positioning, jet curve correction and target tracking, reducing manual intervention.
It realizes the automatic positioning and precise injection of the foam water mist turbofan cannon, improves the fire extinguishing efficiency, reduces the risk to the operator, and enhances the intelligence and stability of the system.
Smart Images

Figure CN112633060B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of fire source positioning algorithms, and in particular to a fire source positioning algorithm based on an automatic aiming system of a foam fine water mist turbofan gun. Background Art
[0002] Foam water mist turbofan cannon is mainly used for fire fighting and plays an important role in public safety equipment. The existing foam water mist turbofan cannon control modes are on-site control and remote control. Both control modes require firefighters to observe the fire situation and manually adjust the angle of the foam water mist turbofan cannon to implement fire fighting. Manual adjustment is required, and the degree of intelligence is not high. In addition, the existing automatic aiming system of water mist turbofan cannon has the following problems:
[0003] 1. The existing foam water mist turbofan cannon has no automatic fire source positioning function;
[0004] 2. In outdoor environments, fire source identification is easily affected by the environment, and interference source filtering analysis is required to accurately identify and locate the fire source;
[0005] 3. The identification and control of the jet trajectory of the foam fine water mist turbofan gun needs to be based on the positioner calculation feedback to improve the injection accuracy. Summary of the invention
[0006] The purpose of the present invention is to provide a method for automatically locating the fire source and extinguishing the fire in real time by using a foam fine water mist turbofan gun aimer for a converter transformer, without the need for firefighters to manually control the foam fine water mist turbofan gun remotely, which not only improves the fire extinguishing efficiency, but also ensures the life safety of the operator. The system has wide applicability, high stability, strong practical value, and broad market prospects. The automatic aiming system based on the foam fine water mist turbofan gun is realized by the following scheme.
[0007] In order to achieve the above purpose, the technical solution adopted by the present invention is: a fire source positioning algorithm based on the automatic aiming system of the foam fine water mist turbofan gun, characterized in that it includes the following steps:
[0008] 1) Flame detection, 2) Flame target positioning, 3) Jet curve correction, 4) Fire source positioning;
[0009] Flame detection includes flame detection pre-identification and flame precision detection. Flame detection pre-identification is the flame detection of image-type fire detectors during horizontal or vertical movement. After a suspicious target is detected in pre-identification, the foam fine water mist turbofan cannon stops moving and enters the precision identification cycle. Flame targets observed within the field of view can be identified by features such as flame flickering frequency, target shape changes, and target sharp corners.
[0010] The image-based fire detector mainly performs the following operations during its movement: (1) Movement: predicting the change in the position of the target in multiple frames of images. The direction of movement of the target on the image can be known based on the movement direction of the image-based aimer, thus greatly simplifying the difficulty of target tracking; (2) Matching: the aimer identifies the target features in the next frame of the image within the specified search area and can correctly select the target to be tracked from multiple targets;
[0011] Flame target positioning includes target positioning mode 1 and target positioning mode 2;
[0012] Target positioning method 1 is:
[0013]
[0014]
[0015]
[0016] Where H is the height of the image sight, Camera.V is the vertical field of view of the image sight, and Camera.H is the horizontal field of view of the image sight. The ground projection of the image sight on the ground is a trapezoid. The height h of the trapezoid is the vertical field of view height of the image. The upper base a and the lower base b of the trapezoid are the horizontal field of view widths of the perigee and the apogee, respectively. When the vertical field of view angle α1 is small, for the convenience of calculation, it is assumed that the horizontal field of view width of the image sight changes linearly, that is,
[0017] a=b=2*H*tan(Camera.H / 2)
[0018] When the vertical field of view angle α1 gradually increases, target positioning method 2 is adopted:
[0019] Target positioning method 2 is:
[0020]
[0021] Among them, MX is the horizontal coordinate of the target point in the field of view section coordinate system, MY is the vertical coordinate of the target point in the field of view section coordinate system, the straight-line distance between the point (MX, MY) and the image sight is L, and the projection coordinates of the point (MX, MY) on the ground are (RX, RY):
[0022]
[0023] Calculate the horizontal and vertical positioning angles respectively:
[0024] Angle.H=atan(RX / RY)
[0025]
[0026] Among them, the field of view section is the ideal projection imaging surface perpendicular to the optical axis of the image sight. The projection of the field of view section on the ground is the actual field of view range. The physical coordinate system OXY: takes the intersection of the horizontal rotation axis of the small gun and the ground as the origin, and the direction away from the field of view on the ground is the ordinate, and the right is the X coordinate; the field of view section coordinate system: takes the projection of the center point of the image on the section as the origin, faces the direction of the field of view axis, the right is the abscissa, and the upward is the ordinate;
[0027] When the target is successfully set, the jet curve correction is adopted, where the current barrel angle is α2, the horizontal angle between the optical axis of the image sight and the water outlet of the barrel is θ, and the correction angle between the actual projection point of the target object on the ground and the actual jet trajectory is β;
[0028] The horizontal correction angle is:
[0029] When the barrel angle α2>0°, L=tan(α2)
[0030] When α2=0°,
[0031] Among them, |ΔX| and |ΔY| are the horizontal and vertical offsets of the target point from the center of the image respectively;
[0032] Vertical correction: The jet vertical correction is obtained by fitting the experimental measured values;
[0033] Δα=P0·H+P1·(α2) 2 +P2·α2+P3, (P0=0.2519, P1=0.0007361, P2=-0.03008,
[0034] P3=-2.02), after the jet curve is corrected horizontally and vertically, the fire source can be effectively located.
[0035] Furthermore, the matching-based target tracking algorithm first needs to extract effective features of the target, such as contour, shape, area, histogram, etc. The second is similarity measurement, such as Euclidean distance, correlation coefficient, etc.; and finally, the evaluation criteria are defined.
[0036] Furthermore, the target corner includes a spatial feature of being directly above the flame, a temporal feature of the time when the flame appears, and an area feature in which there is a certain ratio between the area of the flame and the size of the flame.
[0037] The technical effect of the present invention is that the automatic aiming system of the foam fine water mist turbofan cannon is based on video image fire detection and image positioning and aiming technology, with video image analysis technology, and adopts image fire recognition algorithm to perform early flame change characteristic analysis on the protected area, filter out environmental interference, and automatically locate and aim at the center area of the fire, and link the foam fine water mist turbofan cannon injection system. According to the water flow parameters of the foam fine water mist turbofan cannon, and according to the flame movement characteristics and the gas-mist two-phase flow characteristics in the fire extinguishing stage, the fire extinguishing system is adjusted in real time to realize accurate identification, precise aiming, effective injection and suppression of commutation fire. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a schematic diagram of the flame trajectory of the present invention;
[0039] Figure 2 This is a schematic diagram of the LED light trajectory of the present invention;
[0040] Figure 3 It is a schematic diagram of the physical field of view when the vertical angle of the image sight of the target positioning mode 1 of the present invention is α;
[0041] Figure 4 It is a schematic diagram of the ground projection formed on the ground by the image sight in target positioning mode 1 of the present invention;
[0042] Figure 5 A schematic diagram of a physical coordinate system for target positioning method 2 of the present invention;
[0043] Figure 6 It is a schematic cross-sectional view of the installation of the turbofan gun and the sight of the present invention;
[0044] Figure 7 It is a schematic diagram of the angle between the optical axis of the image sight of the present invention and the water outlet of the gun barrel;
[0045] Figure 8 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0046] Refer to the attached Figure 8 ,A fire source positioning algorithm based on the automatic aiming system of foam fine water mist turbofan gun, including the following steps: flame detection, flame target positioning, jet curve correction, and fire source positioning;
[0047] Refer to the attached Figure 1-2, the image-type sight is installed on the foam water mist turbofan cannon. At this time, the image-type detector rotates vertically and horizontally with the foam water mist. When we observe anything, we will get different characteristics and results at different angles. Similarly, for the flame in the video image, if the angle of the image-type sight is different, its characteristics are also very different. Therefore, different flame detection algorithms are required for different detection angles. In addition, in order to save the running time of the system, it is also necessary to pre-identify the flame during the movement of the foam water mist turbofan cannon. According to the flame video analysis results collected in the early stage, the detection algorithm is divided into 2 modes, as follows:
[0048] Target positioning method 1: Flame detection by image-type fire detectors (image aimers) during horizontal or vertical movement. This detection algorithm is a pre-identification of flames and is less time-consuming.
[0049] Target positioning method 2: Detection and identification of flames in the transition zone and outside the transition zone radius. In order to ensure that the protection range of the foam water mist turbofan cannon is fully covered in the detection and positioning, there is a certain overlap in the transition zone. For flames in this area, the image-type fire detector (image sight) can observe the front of the flame.
[0050] The specific implementation of this scheme is that in order to save detection and positioning time, it is necessary to add a flame pre-recognition function during the movement of the image-type sight. When a suspected flame is found, the foam fine water mist turbofan cannon is controlled to stop moving for reconfirmation.
[0051] There are two basic issues that must be addressed during mobile aiming: movement and matching.
[0052] (1) Movement: Predict the change in the position of the tracked target in multiple frames of images. The direction of movement of the target on the image can be known based on the movement direction of the image-based aimer, thus greatly simplifying the difficulty of target tracking.
[0053] (2) Matching: The aimer identifies the target features in the next frame of the image within the specified search area and can correctly select the target to be tracked among multiple targets.
[0054] The matching-based target tracking algorithm first needs to extract effective features of the target, such as contour, shape, area, histogram, etc. The second is similarity measurement, such as Euclidean distance, correlation coefficient, etc.; the last is the definition of evaluation criteria, commonly used ones include voting mechanism, multi-feature weighting mechanism, etc.
[0055] Since fire is a non-rigid object, it flickers and changes continuously during the burning process. Figure 1Therefore, a non-rigid target tracking method based on a deformation model is adopted in the algorithm, which mainly uses the shape change and area change characteristics of the target. For rigid objects, such as LED lights, during the movement, their contour features only undergo basic rotation and translation without other changes. However, the shape of the flame target changes dramatically during this process, so it has an obvious classification effect.
[0056] The specific implementation of this scheme is that flame accurate detection:
[0057] After a suspicious target is detected during pre-identification, the foam mist turbofan cannon stops moving and enters a precise identification cycle. The flame target observed within the field of view can be identified by features such as the flame flickering frequency, target shape changes, and target sharp corners.
[0058] Target flicker frequency: This feature has been used in previous flame detection algorithms with good results. This solution intends to add the target's motion direction calculation and introduce flame reflection recognition, which can effectively improve the flame positioning accuracy.
[0059] Target shape change: As the flame burns, its area is constantly changing, and the most violent movement is at the top of the flame. Here, the change characteristics of the top of the flame are used as a basis for judgment. By analyzing the change in the top height of the flame during the burning process, it can be distinguished from some stable light sources.
[0060] Target sharp corner: A large number of experimental video images have verified that the leaping phenomenon of flame burning has certain regularity. This algorithm proposes a flame leaping feature. In order to distinguish it from the sharp corner feature above, we define it as a time sharp corner. The time sharp corner has the following characteristics:
[0061] Spatial characteristics: Mostly located directly above the flame.
[0062] Time characteristics: The flame usually appears for a short time.
[0063] Area characteristics: The area of the flame will not exceed the flame target and is proportional to the size of the flame.
[0064] Through the summary of the above features, this temporal sharp angle feature can be used to achieve semantic description of pattern recognition. First, the targets are divided into two categories, one is suspected flame targets, and the other is instantaneous targets, that is, suspected flame targets. At the same time, the accumulated motion images are marked and segmented to extract the suspected flame targets. Finally, the suspected flame targets are matched with flame features, and the number of flames in the suspected targets is counted as the flame feature.
[0065] The specific implementation of this scheme is flame target positioning:
[0066] Target positioning is to locate the target in the image when the pitch angle of the foam fine water mist turbofan cannon is not 0 degrees. Due to the existence of the pitch angle, and as the pitch angle increases, the physical range that can be observed in the image gradually expands. The simplest imaging model of the image sight is the linear model, or the pinhole model. When the calculation accuracy is required to be high, especially when the lens of the image sight is a wide-angle lens with a short distance, the linear model cannot accurately describe the imaging geometry of the image sight, so a nonlinear model is used. In the actual system, it is necessary to frequently change the installation position and lifting height of the image sight, and the image sight needs to be calibrated one by one after each adjustment, which is unrealistic.
[0067] Therefore, this project uses a progressive approximation positioning method to calculate each positioning angle. As the target moves toward the center of the image, its distortion gradually approaches 0, so the positioning error calculated by the linear model also gradually decreases, and finally a satisfactory result can be achieved.
[0068] The specific implementation of this scheme is as follows: Target positioning method 1: This method does not consider the distortion in the image, and assumes that the real physical coordinates and the projection points in the image are in a linear relationship. The physical field of view when the vertical angle of the image sight is α1 is as follows: Figure 3 As shown in the figure, the field of view of the image sight on the ground is actually a trapezoid, such as Figure 4 As shown, the height h of the trapezoid is the vertical field of view of the image, and the upper base a and lower base b of the trapezoid are the horizontal field widths of the perigee and apogee respectively;
[0069] b=2*H*tan(Camera.H / 2) / cos(α,+Camera.V / 2)
[0070] Where H is the height of the image sight, Camera.V is the vertical field of view of the image sight, and Camera.H is the horizontal field of view of the image sight. When the vertical field of view angle α1 is small, for the convenience of calculation, it is assumed that the horizontal field of view width of the image sight changes linearly, that is,
[0071] a=b=2*H*tan(Camera.H / 2)
[0072] The specific implementation example of this solution is, target positioning method 2:
[0073] When the vertical field of view angle α1 gradually increases, if method 1 is continued to be used for positioning, the error in the horizontal direction will become larger and larger, so the second positioning method is introduced.
[0074] Figure 5is the coordinate system used in this positioning method. Here, the field of view section is introduced, that is, the ideal projection imaging surface perpendicular to the optical axis of the image sight. The projection of the field of view section on the ground, that is, the trapezoid in the figure, is the actual field of view range;
[0075] Physical coordinate system OXY: With the intersection of the cannon's horizontal rotation axis and the ground as the origin, the direction away from the field of view on the ground is the ordinate, and the rightward direction is the X coordinate;
[0076] Field of view section coordinate system: The projection of the image center point on the section is taken as the origin, facing the field of view axis direction, the right is the horizontal coordinate, and the upward is the vertical coordinate.
[0077] Image coordinate system: Figure 5 As shown in the upper left center, the right direction is the increasing direction of the horizontal coordinate, and the upward direction is the positive direction of the vertical coordinate.
[0078] The target positioning mentioned here refers to the horizontal and vertical angles required to move any point in the image to the center of the image. If the target coordinates are known to be (PX, PY), they need to be converted to the physical coordinate system first, and the positioning angle with the projection point of the center of the image is calculated through the physical coordinates.
[0079] Now assume that the coordinates of a point (PX, PY) in the image in the field of view section coordinate system are (MX, MY):
[0080]
[0081] Among them, MX is the horizontal coordinate of the target point in the field of view section coordinate system, MY is the vertical coordinate of the target point in the field of view section coordinate system, the straight-line distance between the point (MX, MY) and the image sight is L, and the projection coordinates of the point (MX, MY) on the ground are (RX, RY):
[0082]
[0083] Calculate the horizontal and vertical positioning angles respectively:
[0084] Angle.H=atan(RX / RY)
[0085]
[0086] The specific implementation of this scheme is that the jet curve is corrected:
[0087] Since the image-type sight and the water outlet of the foam water mist turbofan cannon are not in the same position, there are deviations in both the horizontal and vertical directions. Figure 6This is a cross-sectional diagram of the gun barrel. The image sight is located below the water outlet. If the optical axis of the image sight is on the same vertical line as the center line of the water outlet, only vertical correction is required. However, in fact, there is a horizontal deviation between the image sight and the gun barrel water outlet. Therefore, corrections are required in both horizontal and vertical directions.
[0088] Horizontal correction: After the position is set successfully, the target is at the center of the image. The current barrel angle is α2. Let the horizontal angle between the optical axis of the image sight and the water outlet of the barrel be θ. Figure 7 As shown, the point where the red line falls on the ground represents the actual position of the object, and the blue line represents the actual jet situation. The angle between the two that needs to be corrected is β;
[0089] The horizontal correction angle is:
[0090] When the barrel angle α2>0°, L=tan(α2),
[0091] When α=0°,
[0092] Among them, |ΔX| and |ΔY| are the horizontal offset and vertical offset of the target point from the center point of the image, respectively.
[0093] The horizontal angle θ between the optical axis of the image sight and the water outlet of the gun barrel can be measured. This angle can be calculated by measuring the jet deviation using the above formula. However, due to the large range of the jet falling point, it is difficult to accurately determine a certain point, which brings certain difficulties to the field measurement. Here is a simple estimate. The following formula is an empirical formula fitted based on a large number of field verifications, where Axis.x is the horizontal coordinate of the fixed point.
[0094] θ=-0.0008·x 2 +0.08 x+0.026
[0095] x = Axis.x - img.w / 2
[0096] Vertical correction: The jet vertical correction is obtained by fitting the experimental measurement value.
[0097] Δα=P0·H+P1·(α2) 2 +P2·α2+P3, (P0=0.2519, P1=0.0007361, P2=-0.03008,
[0098] P3=-2.02), after the jet curve is corrected horizontally and vertically, the fire source can be effectively located.
[0099] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A fire source positioning algorithm based on the automatic aiming system of foam water mist turbofan gun, characterized in that: The following steps are involved: 1) Flame detection, 2) Flame target positioning, 3) Jet curve correction, 4) Fire source positioning; Flame detection includes flame detection pre-identification and flame precision detection. Flame detection pre-identification is the flame detection of image-type fire detectors during horizontal or vertical movement. After a suspicious target is detected in pre-identification, the foam fine water mist turbofan cannon stops moving and enters the precision identification cycle. The flame target observed within the field of view is identified by the flame flickering frequency, target shape changes, and target sharp corner features. Among them, the image-based fire detector performs the following operations during the movement process: (1) Movement: predict the change in the position of the tracking target in multiple frames of images. The movement direction of the target on the image can be known based on the movement direction of the image-based aimer, thus greatly simplifying the difficulty of target tracking; (2) Matching: the aimer identifies the target features in the next frame of the image within the specified search area and can correctly select the target to be tracked from multiple targets; Flame target positioning includes target positioning mode 1 and target positioning mode 2; Target positioning method 1 is: h=H*(tan(α1+Camera.V / 2)-tan(α1-Camera.V / 2) a=2*H*tan(Camera.H / 2) / cos(α1-Camera.V / 2) b=2*H*tan(Camera.H / 2) / cos(α1+Camera.V / 2) Where H is the height of the image sight, Camera.V is the vertical field of view of the image sight, and Camera.H is the horizontal field of view of the image sight. The ground projection of the image sight on the ground is a trapezoid. The height h of the trapezoid is the vertical field of view height of the image. The upper base a and the lower base b of the trapezoid are the horizontal field of view widths of the perigee and the apogee, respectively. When the vertical field of view angle α1 is small, for the convenience of calculation, it is assumed that the horizontal field of view width of the image sight changes linearly, that is, a=b=2*H*tan(Camera.H / 2) When the vertical field of view angle α1 gradually increases until the vertical field of view angle α1 gradually increases to 45 degrees or more, target positioning method 2 is adopted: Target positioning method 2 is: Among them, MX is the horizontal coordinate of the target point in the field of view section coordinate system, MY is the vertical coordinate of the target point in the field of view section coordinate system, the straight-line distance between the point (MX, MY) and the image sight is L, and the projection coordinates of the point (MX, MY) on the ground are (RX, RY): Calculate the horizontal and vertical positioning angles respectively: Angle.H=atan(R / RY Among them, the field of view section is the ideal projection imaging surface perpendicular to the optical axis of the image sight. The projection of the field of view section on the ground is the actual field of view range. The physical coordinate system OXY: takes the intersection of the horizontal rotation axis of the small gun and the ground as the origin, the direction away from the field of view on the ground is the ordinate, and the right is the X coordinate; the field of view section coordinate system: takes the projection of the center point of the image on the section as the origin, faces the direction of the field of view axis, the right is the abscissa, and the upward is the ordinate; When the target is successfully set, the jet curve correction is adopted, where the current barrel angle is α2, the horizontal angle between the optical axis of the image sight and the water outlet of the barrel is θ, and the correction angle between the actual projection point of the target object on the ground and the actual jet trajectory is β; The horizontal correction angle is: When the barrel angle α2>0°, L=tan(α2) When α2=0°: Among them, |ΔX| and |ΔY| are the horizontal and vertical offsets of the target point from the center of the image respectively; Vertical correction: The jet vertical correction is obtained by fitting the experimental measured values; Δα=P0·H+P1·(α2) 2 +P2·α2+P3, (P0=0.2519, P1=0.0007361, P2=-0.03008, P3=-2.02); After the jet curve is corrected horizontally and vertically, the fire source can be effectively located.
2. The fire source positioning algorithm based on the foam water mist turbofan gun automatic aiming system according to claim 1 is characterized in that: It also includes that the matching-based target tracking algorithm first needs to extract the effective features of the target, followed by similarity measurement, and finally the evaluation criteria definition.
3. The fire source positioning algorithm based on the foam water mist turbofan gun automatic aiming system according to claim 1 is characterized in that: The target sharp corner includes a spatial feature of being directly above the flame, a temporal feature of the time when the flame appears, and an area feature that there is a certain ratio between the area of the flame and the size of the flame.
