All-weather multi-scene patrol robot target tracking method and system
By collecting and broadcasting local thermal gradient direction vectors, multiple robots fit the global heat source location and form a companion relationship, solving the problems of limited field of view and collaborative tracking of patrol robots in all-weather environments, and achieving efficient and reliable multi-robot collaborative tracking.
Patent Information
- Application Number
- CN202611494137.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-23
- Publication Date
- 2026-11-27
AI Technical Summary
Existing patrol robots struggle to achieve effective target detection and tracking in all weather conditions, especially at night, in heavy fog, rain, or snow. The limited field of vision of a single robot and the lack of effective collaborative formations and dynamic flanking mechanisms in multi-robot collaborative tracking schemes result in low tracking success rates and slow response times.
By collecting and broadcasting local thermal gradient direction vectors, multiple robots fit the global heat source location, automatically form a companion relationship, and use the companion robots' visual sensors to maintain mutual visibility, calibrate thermal gradient measurements in real time, and form a vertical line flanking formation to track intruders.
It achieves all-weather adaptability and multi-machine collaborative robustness, improves tracking accuracy and response speed, reduces computing and communication burden, and is suitable for patrol robot platforms with limited costs.
Smart Images

Figure CN123177440A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of robotics and intelligent security, and particularly relates to a method and system for target tracking of all-weather, multi-scenario patrol robots. Background Technology
[0002] With the rapid development of robotics and artificial intelligence, patrol robots have been widely used in industrial parks, border areas, warehousing and logistics, residential communities, and security for large-scale events. Traditional patrol robots mostly rely on single sensors, such as visible light cameras, LiDAR, or millimeter-wave radar, for environmental perception and target detection. Under good daylight and clear weather conditions, vision-based target recognition and tracking technologies can achieve good results. However, actual patrol environments are complex and varied, including all-weather scenarios such as nighttime darkness, rain, snow, fog, haze, strong backlight, sandstorms, and transitions between indoor and outdoor environments. Furthermore, patrol areas are often vast, and a single robot, limited by its field of vision and mobility, struggles to achieve effective coverage and continuous tracking over a large area. Therefore, the industry has begun exploring multi-robot collaborative tracking solutions, expanding the monitoring range and improving tracking reliability by having multiple robots share sensory information.
[0003] Existing technologies render visible light cameras completely ineffective in adverse weather conditions such as nighttime, heavy fog, rain, snow, and sandstorms, or in completely dark environments. LiDAR and millimeter-wave radar have limited detection capabilities for static human targets and are costly. Centralized architectures rely on a central server and stable communication links; once communication is interrupted or the server fails, the entire tracking system collapses. Furthermore, the large amount of data transmission consumes bandwidth, making real-time performance difficult to guarantee. Visual-based collaborative methods require the target to always be within the main robot's field of vision; when the target is obscured or enters a corner, it is easily lost. While single-robot thermal imaging tracking does not rely on visible light, a single robot cannot obtain the target's absolute position and can only move along the thermal gradient direction, easily deviating from its course when the target moves or the robot itself moves. The lack of effective collaborative formations and dynamic flanking mechanisms among multiple robots typically results in independent tracking or simple following, failing to create an encirclement of intruders, leading to low tracking success rates and slow response times. Existing technologies struggle to simultaneously meet the three core requirements of all-weather adaptability, multi-robot collaborative robustness, and efficient dynamic flanking. Summary of the Invention
[0004] The purpose of this invention is to provide a target tracking method for all-weather, multi-scenario patrol robots, aiming to solve the technical problems existing in the prior art as identified in the background section.
[0005] This invention is implemented as follows: a target tracking method for all-weather, multi-scenario patrol robots, the method comprising:
[0006] Collect the local thermal gradient direction vectors of the locations of at least two patrol robots within the patrol area, and broadcast the local thermal gradient direction vectors to other patrol robots via wireless communication;
[0007] Each patrol robot collects the local thermal gradient direction vectors broadcast by all other patrol robots and fits the location of the global heat source.
[0008] The patrol robots automatically pair up based on their distance from each other. Each pair of patrol robots establishes a companion relationship. Each patrol robot moves towards the global heat source location while controlling its own movement to ensure that the image of its companion patrol robot is always in the center of its own visual sensor's field of view. The midpoint of the line connecting each pair of patrol robots moves along the radial line towards the global heat source location.
[0009] During the movement toward the global heat source location, each patrol robot continuously collects local thermal gradient direction vectors and broadcasts them via wireless communication to refit and update the global heat source location. At the same time, it uses the relative distance and azimuth angle of the companion patrol robot to calibrate the measured values of the local thermal gradient direction vectors it collects.
[0010] When any patrol robot detects an intruder, it defines itself as the discoverer and sends the polar coordinates of the intruder relative to the discoverer to its companion patrol robot.
[0011] The companion patrol robot, by combining its relative position with the discoverer, calculates the displacement vector required to position the intruder on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot, and moves to the target position according to the displacement vector.
[0012] The discoverer and its companion patrol robot keep the intruder on the vertical line connecting them, and simultaneously approach the intruder from both sides while tracking its real-time location.
[0013] As a further aspect of the present invention, the local thermal gradient direction vector is acquired and broadcast, specifically including:
[0014] Each patrol robot collects infrared radiation intensity values within a 360-degree range around its location at a fixed sampling frequency of 10 times per second, and stores the collected infrared radiation intensity values discretely in one direction at 5-degree intervals.
[0015] The discretized infrared radiation intensity values are differentially calculated between adjacent directions to obtain the rate of change of radiation in each direction. The direction with the largest rate of change is taken as the local thermal gradient direction vector of the patrol robot's own location.
[0016] Each robot encapsulates its unique identification number and local thermal gradient direction vector into a data packet, which is then broadcast to all other patrol robots within the patrol area via a wireless ad hoc network communication protocol.
[0017] As a further aspect of the present invention, the fitting of the global heat source location specifically includes:
[0018] A vector list is established in the local memory of the patrol robot. Whenever a local thermal gradient direction vector data packet broadcast by another patrol robot is received, the identification number and the local thermal gradient direction vector are parsed from the data packet, and the local thermal gradient direction vector is stored in the vector list according to the identification number.
[0019] The robot obtains its own geographic location coordinates and simultaneously obtains the geographic location coordinates of each other patrol robot in the vector list via wireless communication. Each local thermal gradient direction vector is regarded as a straight line pointing from the geographic location coordinates of the corresponding patrol robot to the global heat source.
[0020] The least squares method is used to solve for the coordinate points, such that the sum of the squares of the perpendicular distances of all straight lines pointing to the global heat source is minimized, and the coordinate points are used as the fitted global heat source location.
[0021] As a further embodiment of the present invention, the step of moving the midpoint of the line connecting each pair of patrol robots along a radial line towards the global heat source location specifically includes:
[0022] The patrol robot broadcasts its current geographic coordinates via wireless communication and receives the geographic coordinates of all other patrol robots. It calculates the Euclidean distance between itself and each other patrol robot and selects the patrol robot with the smallest Euclidean distance as a candidate companion.
[0023] If two patrol robots select each other as candidate partners, they establish a partnership, store each other's identification numbers locally, and begin to perform cooperative motion control. The remaining patrol robots then repeat the candidate partner selection process.
[0024] After establishing a companion relationship, the robot obtains the currently fitted global heat source location and moves towards the global heat source location from its current position. It also adjusts its orientation and movement direction in real time to ensure that the image of the companion patrol robot is always located in the center of its own visual sensor's field of view.
[0025] The system calculates the coordinates of the midpoint of the line connecting itself and its companion patrol robot in real time, and controls its own motion speed vector to move the midpoint of the line along a radial line pointing to the location of the global heat source, while maintaining the relative distance between itself and its companion patrol robot within a preset coordination range.
[0026] As a further aspect of the present invention, the refitting and updating of the global heat source location specifically includes:
[0027] During the movement toward the global heat source, the robot re-acquires the local thermal gradient direction vector of its current location at a frequency of 5 times per second, and broadcasts the re-acquired local thermal gradient direction vector to all other patrol robots via wireless communication.
[0028] After receiving the re-collected local thermal gradient direction vector, other patrol robots refit the updated global heat source location and replace the local global heat source location storage value.
[0029] Extract the azimuth angle of the companion patrol robot relative to the patrol robot itself, use the azimuth angle as a known reference direction, compare the newly acquired local thermal gradient direction vector with the reference direction, and calculate the angle deviation.
[0030] The included angle deviation is used as a correction factor and applied to the measured direction angle of the local thermal gradient direction vector to eliminate system bias.
[0031] As a further aspect of the present invention, sending the polar coordinates information of the intruder relative to the discoverer to the companion patrol robot specifically includes:
[0032] As the patrol robot moves toward the global heat source, it continuously scans and detects the fan-shaped field of view in front of it.
[0033] When a hot spot with a temperature higher than the ambient temperature threshold and a continuous area larger than the preset minimum hot spot area of the human body is detected, and the outline of the hot spot matches the pre-stored human thermal feature template by more than 80%, it is determined that an intruder has been detected.
[0034] Define the patrol robot that detects the intruder as the discoverer, measure the straight-line distance between the intruder and the discoverer, and calculate the horizontal azimuth angle of the intruder relative to the front of the discoverer. Combine the straight-line distance and the horizontal azimuth angle to form polar coordinate information.
[0035] The discoverer transmits its polar coordinates and its own identification number to a companion patrol robot with which it has established a partnership via wireless communication.
[0036] As a further embodiment of the present invention, the step of moving to the target position according to the displacement vector specifically includes:
[0037] Receive polar coordinate information and discoverer identification number sent by the discoverer, extract the relative distance and relative azimuth angle between the companion patrol robot and the discoverer, and obtain the relative position vector between the discoverer and the companion patrol robot;
[0038] Using the discoverer's geographical location as the origin, the polar coordinate information is converted into the intruder's coordinates in a rectangular coordinate system, and then the relative position vector is superimposed to calculate the intruder's position coordinates;
[0039] Based on the intruder's position coordinates and the relative position vector between the discoverer and the companion patrol robot, solve for the target position coordinates that make the intruder exactly located on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot.
[0040] The system generates a displacement vector by pointing from the current position of the companion patrol robot to the target position coordinates, and then drives the companion patrol robot to move to the target position.
[0041] As a further aspect of the present invention, the step of simultaneously approaching the intruder from both sides and tracking the intruder's real-time position specifically includes:
[0042] The discoverer and its companion patrol robot each use visual servo control to keep the other's image in the center of their field of vision, while maintaining a continuous wireless communication link and obtaining their own real-time geographical location.
[0043] The discoverer continuously tracks the intruder's movement trajectory, measuring the updated polar coordinates of the intruder relative to the discoverer every 0.5 seconds, and transmitting the updated information to the companion patrol robot in real time via wireless communication.
[0044] Each time the companion patrol robot receives updated polar coordinate information, it repeatedly and dynamically adjusts its own position so that the intruder is always located on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot.
[0045] The discoverer and its companion patrol robot approach the intruder synchronously at the same linear speed along a direction perpendicular to the line connecting them, while each keeps the intruder in the center of its own field of vision. When the distance between the discoverer and the intruder, and the distance between the companion patrol robot and the intruder, are both less than 1 meter, the pincer attack is considered complete, and the intruder's real-time position is continuously tracked.
[0046] Another object of the present invention is to provide an all-weather, multi-scenario patrol robot target tracking system, the system comprising:
[0047] The thermal gradient acquisition module is used to acquire the local thermal gradient direction vectors of the positions of at least two patrol robots within the patrol area, and broadcast the local thermal gradient direction vectors to other patrol robots via wireless communication.
[0048] The global heat source fitting module is used by each patrol robot to collect the local thermal gradient direction vectors broadcast by all other patrol robots and fit the global heat source location.
[0049] The companion relationship establishment module is used to automatically pair up patrol robots based on their distance from each other. Each pair of patrol robots establishes a companion relationship, and each patrol robot moves towards the global heat source location while controlling its own movement to ensure that the image of its companion patrol robot is always located in the center of its own visual sensor's field of view, and to make the midpoint of the line connecting each pair of patrol robots move towards the global heat source location along the radial line.
[0050] The thermal gradient update and calibration module is used to continuously collect local thermal gradient direction vectors and broadcast them wirelessly during the movement towards the global heat source location. It then refits and updates the global heat source location and uses the relative distance and azimuth angle of the companion patrol robot to calibrate the measured values of the local thermal gradient direction vectors collected by itself.
[0051] The intruder detection module is used to define itself as the discoverer when any patrol robot detects an intruder, and send the polar coordinate information of the intruder relative to the discoverer to the companion patrol robot.
[0052] The displacement calculation module is used to calculate the displacement vector required to position the intruder on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot, based on the relative position between the companion patrol robot and the discoverer, and to move the intruder to the target position according to the displacement vector.
[0053] The synchronous approach and tracking module is used by the discoverer and companion patrol robot to keep the intruder on the vertical line connecting the discoverer and companion patrol robot, and to synchronously approach the intruder from both sides and track the intruder's real-time position.
[0054] The beneficial effects of this invention are:
[0055] This invention collects and broadcasts local thermal gradient direction vectors, enabling each robot to obtain directional information pointing to the heat source using only differential operations, without the need for visible light illumination. It can still work stably in adverse weather conditions such as night, fog, rain, and snow, truly achieving all-weather and multi-scene adaptability.
[0056] Multiple robots independently collect and broadcast thermal gradient directions, obtaining the global heat source location through least-squares fitting. This fuses local directional information into absolute coordinates, avoiding the single-point-of-failure risk of centralized architectures and suppressing errors from individual sensors through redundant measurements, significantly improving the robustness of multi-robot collaborative tracking. Robots automatically form companion pairs based on real-time Euclidean distance and control the midpoint of the connection line to move radially while maintaining mutual visibility, allowing the formation to naturally approach the heat source. This eliminates the need for global path planning or complex formation control algorithms, greatly reducing computational overhead and communication burden.
[0057] During the approach process, the thermal gradient is continuously reacquired at high frequency and broadcast for updates. At the same time, the thermal gradient measurement value is calibrated in real time using the companion's visual azimuth angle, which effectively eliminates system deviations caused by sensor installation errors, temperature drift and electromagnetic interference, and ensures tracking accuracy under long-term operation.
[0058] When an intruder is detected, the discoverer sends only a small amount of polar coordinate information. Based on this, the companion robot quickly calculates the target's position on the perpendicular bisector and moves to form a symmetrical pincer formation. It then approaches synchronously at the same speed, keeping the intruder surrounded and unable to escape.
[0059] The entire method forms a closed loop from heat source localization, collaborative approximation, dynamic calibration to pinch tracking. Each step is closely linked and data is reused. It does not rely on expensive high-precision sensors or high-performance processors, making it suitable for deployment on cost-constrained patrol robot platforms. It provides an efficient and reliable solution for security patrols in all weather and multiple scenarios. Attached Figure Description
[0060] Figure 1 A flowchart of the all-weather, multi-scenario patrol robot target tracking method provided in this embodiment of the invention;
[0061] Figure 2 A flowchart for acquiring and broadcasting local thermal gradient direction vectors provided in an embodiment of the present invention;
[0062] Figure 3 This is a flowchart for fitting the global heat source location provided in an embodiment of the present invention;
[0063] Figure 4 A flowchart provided for an embodiment of the present invention, showing how the midpoint of the line connecting each pair of patrol robots moves along a radial line toward the global heat source location;
[0064] Figure 5 A flowchart for refitting and updating the global heat source location provided in an embodiment of the present invention;
[0065] Figure 6 This is a flowchart illustrating the process of sending polar coordinate information of an intruder relative to a discoverer to a companion patrol robot, as provided in an embodiment of the present invention.
[0066] Figure 7 A flowchart illustrating the movement to a target position based on a displacement vector, provided in an embodiment of the present invention;
[0067] Figure 8 A flowchart illustrating the synchronous approach to an intruder from both sides and the tracking of the intruder's real-time location provided in this embodiment of the invention;
[0068] Figure 9This is a structural block diagram of the all-weather, multi-scenario patrol robot target tracking system provided in an embodiment of the present invention. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0070] Figure 1 The flowchart of the all-weather, multi-scenario patrol robot target tracking method provided in the embodiments of the present invention is as follows: Figure 1 As shown, the method includes:
[0071] S100 collects the local thermal gradient direction vectors of the positions of at least two patrol robots within the patrol area and broadcasts the local thermal gradient direction vectors to other patrol robots via wireless communication.
[0072] At least two patrol robots are each equipped with an uncooled infrared thermal imaging sensor, which collects infrared radiation intensity values within a 360-degree radius around the robot at a fixed sampling frequency of 10 times per second. The robots discretize and store the collected infrared radiation intensity values in 5-degree intervals for each direction, obtaining infrared radiation data in a total of 72 directions.
[0073] Because of the temperature difference between intruders such as humans or vehicles and the surrounding environment, the infrared radiation intensity in the direction of the intruder is significantly higher than in other directions, thus forming a thermal gradient in the surrounding space from the low-temperature zone to the high-temperature zone. The robot calculates the difference in infrared radiation intensity between adjacent directions to obtain the rate of change of radiation in each direction. The direction with the largest rate of change is the local thermal gradient direction vector from the robot's current position to the intruder. Each robot encapsulates its own identification number and this local thermal gradient direction vector into a data packet, which is then broadcast to all other robots in the patrol area via a wireless ad hoc network communication protocol.
[0074] By using thermal gradient direction rather than absolute temperature values to locate heat sources, the robot can automatically adapt to various climatic conditions, from cold winter nights to hot summer days, without needing prior knowledge of the ambient background temperature. Meanwhile, 360-degree omnidirectional data acquisition ensures that the robot can obtain directional information without knowing the intruder's location beforehand, while the 5-degree discretization interval strikes a balance between computational accuracy and the computational load of the embedded processor.
[0075] S200: Each patrol robot collects the local thermal gradient direction vectors broadcast by all other patrol robots and fits the location of the global heat source.
[0076] Each patrol robot establishes a vector list in its local memory. Whenever it receives a local thermal gradient direction vector data packet broadcast by another patrol robot, it parses the identification number and the local thermal gradient direction vector from the data packet and stores the local thermal gradient direction vector into the vector list according to the identification number.
[0077] The patrol robot acquires its own geographic coordinates and simultaneously obtains the geographic coordinates of each other patrol robot in the vector list via wireless communication. Each local thermal gradient direction vector is considered as a straight line pointing from the corresponding patrol robot's geographic coordinates to the global heat source.
[0078] Since a single robot can only perceive the local gradient direction of its own location and cannot directly determine the absolute location of the heat source, multiple robots dispersed in different locations each provide a straight line pointing to the heat source. Theoretically, these lines should intersect at the global heat source location. However, due to sensor measurement errors, environmental thermal noise, and robot positioning errors, these lines often do not intersect precisely at a single point in practice. Therefore, each patrol robot uses the least squares method to solve for a coordinate point that minimizes the sum of the squared perpendicular distances from that point to all lines. This coordinate point is then used as the fitted global heat source location. The local, directed thermal gradient information is transformed into global, absolute heat source coordinates through geometric fusion, thus providing a clear target point for subsequent cooperative approximation.
[0079] S300: The patrol robots automatically pair up according to the distance between them. Each pair of patrol robots establishes a companion relationship. Each patrol robot moves towards the global heat source location while controlling its own movement so that the image of its companion patrol robot is always in the center of its own visual sensor's field of view. The midpoint of the line connecting each pair of patrol robots moves along the radial line towards the global heat source location.
[0080] The patrol robot broadcasts its current geographic coordinates wirelessly and receives the geographic coordinates of all other patrol robots. It calculates the Euclidean distance between itself and each other patrol robot and selects the patrol robot with the smallest Euclidean distance as a candidate companion.
[0081] If two patrol robots select each other as candidate partners, they establish a partnership, store each other's identification numbers locally, and begin cooperative movement control. The remaining patrol robots then repeat the candidate partner selection process to form other pairs. After establishing a partnership, each patrol robot obtains the currently fitted global heat source location and moves towards the global heat source location from its current position.
[0082] During movement, the robot adjusts its orientation and direction of movement in real time to ensure that the image of its companion patrol robot remains centered in the field of view of its visual sensor. Simultaneously, the robot calculates the coordinates of the midpoint of the line connecting itself and its companion patrol robot and controls its own velocity vector to move this midpoint along a radial line pointing towards the global heat source, while maintaining a relative distance from its companion patrol robot within a preset coordination range.
[0083] Multiple dispersed patrol robots are paired up to form several collaborative units. Within each group, the two robots move as a whole towards the heat source while maintaining mutual visibility. By controlling the movement of the midpoint of the connecting line along a radial line, it is ensured that the two robots always approach the heat source with a symmetrical geometric relationship, while the constraint of mutual visibility between partners ensures that a flanking formation can be immediately switched upon detecting an intruder.
[0084] In the process of moving towards the global heat source location, each patrol robot continuously collects the local thermal gradient direction vector and broadcasts it through wireless communication to refit and update the global heat source location. At the same time, it uses the relative distance and azimuth angle of the companion patrol robot to calibrate the measured value of the local thermal gradient direction vector collected by itself.
[0085] As the patrol robot moves toward the global heat source, it re-acquires the local thermal gradient direction vector of its current location five times per second and broadcasts the re-acquired vector wirelessly to all other patrol robots. Upon receiving these updated vectors, the other patrol robots refit the updated global heat source location and replace their locally stored global heat source location value. Simultaneously, each patrol robot extracts the azimuth angle of its companion robot relative to itself, uses this azimuth angle as a known reference direction, compares the re-acquired local thermal gradient direction vector with this reference direction, calculates the angular deviation between the two, and applies this angular deviation as a correction to the subsequent azimuth angle measurements of the local thermal gradient direction vector, thereby eliminating system bias.
[0086] Because intruders may move, and the patrol robot itself is also moving, the initially fitted global heat source location will become invalid over time, requiring continuous updates at a high frequency to ensure the accuracy of the approximation direction. Simultaneously, factors such as sensor installation errors, temperature drift, and electromagnetic interference can cause systematic shifts in the thermal gradient direction measurement. These shifts result in a constant error in the pointing of all robots, causing the fitted heat source location to deviate from its true location. The azimuth angle obtained by the companion robot through visual servoing is a relatively accurate reference direction. Using this reference direction for real-time calibration of the thermal gradient measurement values can effectively suppress the accumulation of systematic biases.
[0087] S500: When any patrol robot detects an intruder, it defines itself as the discoverer and sends the polar coordinates of the intruder relative to the discoverer to its companion patrol robot.
[0088] As the patrol robot moves towards the global heat source, it continuously scans its frontal fan-shaped field of view. Each robot is equipped with a long-wave infrared thermal imaging sensor and a visible light visual recognition module. When the thermal imaging sensor detects a hot spot with a temperature higher than the ambient temperature threshold and a continuous area larger than the preset minimum human body hot spot area, and the outline of this hot spot matches a pre-stored human thermal feature template with a high degree of accuracy, an intruder is detected. Alternatively, when lighting conditions permit, the visible light visual recognition module can use a background subtraction algorithm to extract the outline of the moving human figure as an auxiliary determination.
[0089] Once an intruder is detected, the patrol robot defines itself as the discoverer and immediately activates its laser rangefinder or binocular vision to measure the straight-line distance between the intruder and the discoverer. At the same time, it calculates the horizontal azimuth angle of the intruder relative to the front of the discoverer, and constructs polar coordinate information from the straight-line distance and the horizontal azimuth angle. This polar coordinate information, along with the discoverer's own identification number, is then sent wirelessly to the companion patrol robot that has established a partnership with the discoverer.
[0090] S600, the companion patrol robot, by combining its relative position with the discoverer, calculates the displacement vector required to position the intruder on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot, and moves to the target position according to the displacement vector.
[0091] After receiving the polar coordinates and the discoverer's identification number from the discoverer, the companion patrol robot extracts the relative distance and relative azimuth angle between the companion patrol robot and the discoverer from the locally stored visual servo control data, thus obtaining the relative position vector between the two. The companion robot then uses the discoverer's geographical location as the origin to convert the received polar coordinates into the intruder's coordinates in a Cartesian coordinate system, and then superimposes this relative position vector to calculate the intruder's position coordinates in a coordinate system with itself as the origin.
[0092] Based on the intruder's position coordinates and the relative position vector between the discoverer and the companion robot, the companion robot calculates its own target position coordinates so that the intruder is precisely located on the perpendicular bisector of the line connecting the discoverer and the companion robot. The solution process utilizes the property of the perpendicular bisector to establish a system of equations, yielding two possible solutions. The solution closer to the companion robot's current position is selected as the final target position. Subsequently, a displacement vector is generated from the companion robot's current position to the target position coordinates, driving the companion robot to move to the target position.
[0093] This step integrates the local information about the intruder provided by the discoverer with the relative geometric relationship perceived by the partner robot itself, accurately calculating the ideal pincer movement position the partner should move to. The perpendicular bisector position ensures that the distances from the discoverer and partner robots to the intruder are equal. When both approach synchronously from both sides, the intruder cannot avoid being pincered from two directions simultaneously, significantly improving the capture success rate.
[0094] The S700, with its discoverer and companion patrol robot, keeps the intruder on the vertical line connecting the discoverer and companion patrol robot, and simultaneously approaches the intruder from both sides and tracks the intruder's real-time position.
[0095] The discoverer and its companion patrol robot each use visual servo control to keep the other's image centered in the field of view of their respective visual sensors, while maintaining a continuous wireless communication link and acquiring their own real-time geographical location. The discoverer continuously tracks the intruder's movement trajectory using its own thermal imaging sensor or visible light visual recognition module, measuring the intruder's updated polar coordinates relative to the discoverer at regular intervals and transmitting this updated information to the companion patrol robot in real time via wireless communication.
[0096] Each time the companion patrol robot receives updated polar coordinate information, it dynamically adjusts its position to ensure the intruder remains on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot. The discoverer and the companion patrol robot approach the intruder synchronously at the same linear velocity along a direction perpendicular to their line of sight, while each maintaining the intruder at the center of its own field of vision. When the distance between the discoverer and the intruder, and the distance between the companion patrol robot and the intruder, are both less than preset thresholds, the pincer movement is considered complete, and the robot continues to track the intruder's real-time position until it is handed over or captured.
[0097] Utilizing the geometric properties of the perpendicular bisector, two robots maintain an equidistant distance from the intruder and approach synchronously in a symmetrical manner, creating an inescapable pincer movement. The discoverer continuously updates the intruder's polar coordinates, and the companion robot adjusts its position accordingly to maintain the perpendicular bisector condition. Even if the intruder moves or changes direction, the pincer formation can follow in real time. Visual servo control ensures that the two robots are visible to each other during the approach, preventing formation disintegration due to loss of vision.
[0098] like Figure 2 As shown, the local thermal gradient direction vector is collected and broadcast, specifically including:
[0099] S110: Each patrol robot collects the infrared radiation intensity value within a 360-degree range around its own location at a fixed sampling frequency of 10 times per second, and stores the collected infrared radiation intensity value in a discrete manner at 5-degree intervals in each direction.
[0100] The 5-degree interval provides resolution in 72 directions, which fully meets the accuracy requirements of thermal gradient direction measurement, while the computational load is extremely small, making it suitable for real-time processing by embedded processors.
[0101] S120: Perform differential calculation on the discretized infrared radiation intensity values between adjacent directions to obtain the radiation change rate in each direction, and take the direction with the largest change rate as the local thermal gradient direction vector of the patrol robot's own position.
[0102] ;
[0103] ;
[0104] in, For the first Infrared radiation intensity values in discrete directions, For discrete direction indices, For the first The rate of change of radiation intensity in one direction and the next adjacent direction. The direction angle is the direction vector of the local thermal gradient at the location of the patrol robot.
[0105] The S130 encapsulates its unique identification number and local thermal gradient direction vector into a data packet, which is then broadcast to all other patrol robots within the patrol area via a wireless ad hoc network communication protocol.
[0106] like Figure 3 As shown, the fitting of the global heat source location specifically includes:
[0107] S210, a vector list is established in the local memory of the patrol robot. Whenever a local thermal gradient direction vector data packet broadcast by another patrol robot is received, the identification number and the local thermal gradient direction vector are parsed from the data packet, and the local thermal gradient direction vector is stored in the vector list according to the identification number.
[0108] S220: Obtain the geographical coordinates of the patrol robot itself, and at the same time obtain the geographical coordinates of each other patrol robot in the vector list through wireless communication. Treat each local thermal gradient direction vector as a straight line pointing from the geographical coordinates of the corresponding patrol robot to the global heat source.
[0109] S230. Using the least squares method, the coordinate points are solved to minimize the sum of the squares of the perpendicular distances of all straight lines pointing to the global heat source. The coordinate points are then used as the fitted global heat source locations.
[0110] ;
[0111] ;
[0112] in, The total number of patrol robots participating in the fitting. Index for patrol robots, , For the first The geographical coordinates of the patrol robot in Taiwan For the first The local thermal gradient direction angle of the patrol robot in Taiwan. For all straight lines pointing to the heat source to the point The sum of squares of the vertical distances, , The coordinates of the global heat source location obtained through fitting.
[0113] like Figure 4 As shown, the step of moving the midpoint of the line connecting each pair of patrol robots along the radial line towards the global heat source location specifically includes:
[0114] S310, the patrol robot broadcasts its current geographic coordinates via wireless communication and receives the geographic coordinates of all other patrol robots. It calculates the Euclidean distance between itself and each other patrol robot and selects the patrol robot with the smallest Euclidean distance as a candidate companion.
[0115] ;
[0116] in, For oneself and the first The Euclidean distance between other patrol robots in Taiwan , For its own geographical coordinates, , For the first The geographical coordinates of other patrol robots in Taiwan.
[0117] S320, if two patrol robots select each other as candidate partners, the two patrol robots establish a partnership, store each other's identification number locally, and begin to execute cooperative motion control. The remaining patrol robots repeat the candidate partner selection process.
[0118] S330, after establishing a companion relationship, obtains the currently fitted global heat source position, and moves towards the global heat source position from the patrol robot's current position, while adjusting its own orientation and movement direction in real time, so that the image of the companion patrol robot is always located in the center of its own visual sensor's field of view.
[0119] S340 calculates the coordinates of the midpoint of the line connecting itself and the companion patrol robot in real time, and controls its own motion speed vector so that the midpoint of the line moves along the radial line pointing to the location of the global heat source, while keeping the relative distance with the companion patrol robot within the preset coordination range.
[0120] For the coordinates of the midpoint: ;
[0121] in, , The coordinates of the midpoint of the line connecting itself and its partner patrol robot. , The geographic coordinates of the companion patrol robot.
[0122] Setting a preset coordination range ensures stable wireless communication links, preventing communication interruptions or excessive delays due to excessive distance. It also guarantees the effectiveness of visual servo control, preventing companion robots from exceeding the field of view of the vision sensors and avoiding collisions caused by robots being too close together, while preventing coordination failure due to excessive distance. Upon detecting an intruder, a pincer formation can be quickly formed, significantly reducing approach time.
[0123] like Figure 5 As shown, the refitting and updating of the global heat source location specifically includes:
[0124] S410, while moving toward the global heat source, re-acquires the local thermal gradient direction vector of its current location at a frequency of 5 times per second, and broadcasts the re-acquired local thermal gradient direction vector to all other patrol robots via wireless communication.
[0125] A frequency of 5 updates per second allows for timely tracking of changes in heat source location without placing excessive burden on the processor and wireless communication. The patrol robot's typical movement speed is 1-2 m / s, and this update frequency of 5 updates per second ensures timely updates of the thermal gradient measurements, preventing significant lag in the fitting of the global heat source location.
[0126] S420: After receiving the re-collected local thermal gradient direction vector, other patrol robots refit the updated global heat source position and replace the local global heat source position storage value.
[0127] S430, extract the azimuth angle of the companion patrol robot relative to the patrol robot itself, use the azimuth angle as a known reference direction, compare the newly acquired local thermal gradient direction vector with the reference direction, and calculate the angle deviation.
[0128] ;
[0129] in, For the included angle deviation, These are uncorrected measurements of the local thermal gradient direction angle. The azimuth angle of the companion patrol robot relative to itself.
[0130] S440 applies the included angle deviation as a correction to the measured direction angle of the local thermal gradient direction vector, thereby eliminating system bias.
[0131] ;
[0132] in, This is the corrected local thermal gradient direction angle.
[0133] Systematic bias is a fixed or slowly varying error caused by factors such as sensor installation errors, temperature drift, and electromagnetic interference, which leads to a constant shift in the measured thermal gradient direction. If these biases are not eliminated, systematic errors will occur in the fitting of the global heat source location, guiding the robot in the wrong direction and ultimately causing target loss. Correction using the companion robot's reference direction can control the systematic error in the thermal gradient direction measurement to within 1 degree, significantly improving tracking reliability.
[0134] like Figure 6 As shown, sending the polar coordinates of the intruder relative to the discoverer to the companion patrol robot specifically includes:
[0135] The S510 patrol robot continuously scans and detects the fan-shaped field of view in front of it as it moves toward the global heat source.
[0136] S520: When a hot spot with a temperature higher than the ambient temperature threshold and a continuous area larger than the preset minimum hot spot area of the human body is detected, and the outline of the hot spot matches the pre-stored human thermal feature template by more than 80%, it is determined that an intruder has been detected.
[0137] An 80% matching threshold can effectively filter out other heat sources in the environment, significantly reducing false alarms; at the same time, it will not cause real intruders to be missed due to an excessively high threshold. The thermal profile of the human body has obvious head, torso, and limb features, which are significantly different from other heat sources. 80% matching is the optimal threshold verified by a large number of field experiments.
[0138] S530 defines the patrol robot that detects the intruder as the discoverer, measures the straight-line distance between the intruder and the discoverer, and calculates the horizontal azimuth angle of the intruder relative to the front of the discoverer. The straight-line distance and the horizontal azimuth angle are combined to form polar coordinate information.
[0139] ;
[0140] ;
[0141] in, The straight-line distance between the intruder and the discoverer. The horizontal azimuth angle of the intruder relative to the front of the discoverer. The depth value of the intruder measured by the visual sensor. Let x be the x-pixel coordinate of the intruder in the image. The x-pixel coordinates of the image center. This is the equivalent focal length of the vision sensor in the x-direction.
[0142] S540: The discoverer transmits its polar coordinates and its own identification number to the companion patrol robot with which it has established a partnership via wireless communication.
[0143] like Figure 7 As shown, the step of moving to the target position according to the displacement vector specifically includes:
[0144] S610 receives the polar coordinate information and the discoverer's identification number sent by the discoverer, extracts the relative distance and relative azimuth angle between the companion patrol robot and the discoverer, and obtains the relative position vector between the discoverer and the companion patrol robot.
[0145] S620 uses the discoverer's geographical location as the origin, converts the polar coordinate information into the intruder's coordinates in a rectangular coordinate system, and then superimposes the relative position vector to calculate the intruder's position coordinates;
[0146] ;
[0147] in, , The coordinates of the intruder in the discoverer's coordinate system are the rectangular coordinates.
[0148] S630, based on the intruder's position coordinates and the relative position vector between the discoverer and the companion patrol robot, solve for the target position coordinates that make the intruder exactly located on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot.
[0149] ;
[0150] in: , The target location coordinates for the companion patrol robot. , The global geographic coordinates of the intruder. , Let represent the geographical coordinates of the discoverer. Solving the above system of equations yields two solutions; choose the one closest to the partner's current location. The closer solution is taken as the final target location.
[0151] S640 generates a displacement vector from the current position of the companion patrol robot to the target position coordinates, and drives the companion patrol robot to move to the target position.
[0152] like Figure 8 As shown, the simultaneous approach to the intruder from both sides and tracking the intruder's real-time location specifically includes:
[0153] In the S710, the discoverer and its companion patrol robot each use visual servo control to keep the other's image in the center of their field of vision, while maintaining a continuous wireless communication link and obtaining their own real-time geographical location.
[0154] S720: The discoverer continuously tracks the intruder's movement trajectory, measuring the updated polar coordinates of the intruder relative to the discoverer every 0.5 seconds, and transmitting them to the companion patrol robot in real time via wireless communication.
[0155] S730: Each time the companion patrol robot receives updated polar coordinate information, it repeatedly and dynamically adjusts its own position so that the intruder is always located on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot.
[0156] S740: The discoverer and its companion patrol robot approach the intruder synchronously at the same linear speed along a direction perpendicular to the line connecting them, while each keeps the intruder in the center of its own field of vision. When the distance between the discoverer and the intruder and the distance between the companion patrol robot and the intruder are both less than 1 meter, the pincer attack is considered complete, and the intruder's real-time position is continuously tracked.
[0157] Figure 9 This is a structural block diagram of the all-weather, multi-scenario patrol robot target tracking system provided in an embodiment of the present invention, as shown below. Figure 9 As shown, the system includes:
[0158] The thermal gradient acquisition module 100 is used to acquire the local thermal gradient direction vectors of the positions of at least two patrol robots within the patrol area, and broadcast the local thermal gradient direction vectors to other patrol robots via wireless communication.
[0159] The global heat source fitting module 200 is used by each patrol robot to collect the local thermal gradient direction vectors broadcast by all other patrol robots and fit the global heat source location.
[0160] The companion relationship establishment module 300 is used for patrol robots to automatically form pairs based on the distance between them. Each pair of patrol robots establishes a companion relationship, and each patrol robot moves towards the global heat source location. At the same time, it controls its own movement so that the image of its companion patrol robot is always located in the center of its own visual sensor's field of view, and moves the midpoint of the line connecting each pair of patrol robots along the radial line towards the global heat source location.
[0161] The thermal gradient update and calibration module 400 is used to continuously collect local thermal gradient direction vectors and broadcast them wirelessly during the movement towards the global heat source location. It refits and updates the global heat source location and uses the relative distance and azimuth angle of the companion patrol robot to calibrate the measured values of the local thermal gradient direction vectors collected by itself.
[0162] The intruder detection module 500 is used to define itself as the discoverer when any patrol robot detects an intruder, and send the polar coordinate information of the intruder relative to the discoverer to the companion patrol robot.
[0163] The displacement calculation module 600 is used to calculate the displacement vector required to position the intruder on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot, based on the relative position between the companion patrol robot and the discoverer, and to move to the target position according to the displacement vector.
[0164] The synchronous approach and tracking module 700 is used by the discoverer and companion patrol robot to keep the intruder on the vertical line connecting the discoverer and companion patrol robot, and to synchronously approach the intruder from both sides and track the intruder's real-time position.
[0165] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0166] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
[0167] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A target tracking method for all-weather, multi-scenario patrol robots, characterized in that, The method includes: Collect the local thermal gradient direction vectors of the locations of at least two patrol robots within the patrol area, and broadcast the local thermal gradient direction vectors to other patrol robots via wireless communication; Each patrol robot collects the local thermal gradient direction vectors broadcast by all other patrol robots and fits the location of the global heat source. The patrol robots automatically pair up based on their distance from each other. Each pair of patrol robots establishes a companion relationship. Each patrol robot moves towards the global heat source location while controlling its own movement to ensure that the image of its companion patrol robot is always in the center of its own visual sensor's field of view. The midpoint of the line connecting each pair of patrol robots moves along the radial line towards the global heat source location. During the movement toward the global heat source location, each patrol robot continuously collects local thermal gradient direction vectors and broadcasts them via wireless communication to refit and update the global heat source location. At the same time, it uses the relative distance and azimuth angle of the companion patrol robot to calibrate the measured values of the local thermal gradient direction vectors it collects. When any patrol robot detects an intruder, it defines itself as the discoverer and sends the polar coordinates of the intruder relative to the discoverer to its companion patrol robot. The companion patrol robot, by combining its relative position with the discoverer, calculates the displacement vector required to position the intruder on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot, and moves to the target position according to the displacement vector. The discoverer and its companion patrol robot keep the intruder on the vertical line connecting them, and simultaneously approach the intruder from both sides while tracking its real-time location.
2. The method according to claim 1, characterized in that, Acquire and broadcast the local thermal gradient direction vector, specifically including: Each patrol robot collects infrared radiation intensity values within a 360-degree range around its location at a fixed sampling frequency of 10 times per second, and stores the collected infrared radiation intensity values discretely in one direction at 5-degree intervals. The discretized infrared radiation intensity values are differentially calculated between adjacent directions to obtain the rate of change of radiation in each direction. The direction with the largest rate of change is taken as the local thermal gradient direction vector of the patrol robot's own location. Each robot encapsulates its unique identification number and local thermal gradient direction vector into a data packet, which is then broadcast to all other patrol robots within the patrol area via a wireless ad hoc network communication protocol.
3. The method according to claim 2, characterized in that, The process of fitting the global heat source location specifically includes: A vector list is established in the local memory of the patrol robot. Whenever a local thermal gradient direction vector data packet broadcast by another patrol robot is received, the identification number and the local thermal gradient direction vector are parsed from the data packet, and the local thermal gradient direction vector is stored in the vector list according to the identification number. The robot obtains its own geographic location coordinates and simultaneously obtains the geographic location coordinates of each other patrol robot in the vector list via wireless communication. Each local thermal gradient direction vector is regarded as a straight line pointing from the geographic location coordinates of the corresponding patrol robot to the global heat source. The least squares method is used to solve for the coordinate points, such that the sum of the squares of the perpendicular distances of all straight lines pointing to the global heat source is minimized, and the coordinate points are used as the fitted global heat source location.
4. The method according to claim 3, characterized in that, The step of moving the midpoint of the line connecting each pair of patrol robots along the radial line towards the global heat source location specifically includes: The patrol robot broadcasts its current geographic coordinates via wireless communication and receives the geographic coordinates of all other patrol robots. It calculates the Euclidean distance between itself and each other patrol robot and selects the patrol robot with the smallest Euclidean distance as a candidate companion. If two patrol robots select each other as candidate partners, they establish a partnership, store each other's identification numbers locally, and begin to perform cooperative motion control. The remaining patrol robots then repeat the candidate partner selection process. After establishing a companion relationship, the robot obtains the currently fitted global heat source location and moves towards the global heat source location from its current position. It also adjusts its orientation and movement direction in real time to ensure that the image of the companion patrol robot is always located in the center of its own visual sensor's field of view. The system calculates the coordinates of the midpoint of the line connecting itself and its companion patrol robot in real time, and controls its own motion speed vector to move the midpoint of the line along a radial line pointing to the location of the global heat source, while maintaining the relative distance between itself and its companion patrol robot within a preset coordination range.
5. The method according to claim 4, characterized in that, The refitting and updating of the global heat source location specifically includes: During the movement toward the global heat source, the robot re-acquires the local thermal gradient direction vector of its current location at a frequency of 5 times per second, and broadcasts the re-acquired local thermal gradient direction vector to all other patrol robots via wireless communication. After receiving the re-collected local thermal gradient direction vector, other patrol robots refit the updated global heat source location and replace the local global heat source location storage value. Extract the azimuth angle of the companion patrol robot relative to the patrol robot itself, use the azimuth angle as a known reference direction, compare the newly acquired local thermal gradient direction vector with the reference direction, and calculate the angle deviation. The included angle deviation is used as a correction factor and applied to the measured direction angle of the local thermal gradient direction vector to eliminate system bias.
6. The method according to claim 5, characterized in that, Sending the polar coordinates of the intruder relative to the discoverer to the companion patrol robot specifically includes: As the patrol robot moves toward the global heat source, it continuously scans and detects the fan-shaped field of view in front of it. When a hot spot with a temperature higher than the ambient temperature threshold and a continuous area larger than the preset minimum hot spot area of the human body is detected, and the outline of the hot spot matches the pre-stored human thermal feature template by more than 80%, it is determined that an intruder has been detected. Define the patrol robot that detects the intruder as the discoverer, measure the straight-line distance between the intruder and the discoverer, and calculate the horizontal azimuth angle of the intruder relative to the front of the discoverer. Combine the straight-line distance and the horizontal azimuth angle to form polar coordinate information. The discoverer transmits its polar coordinates and its own identification number to a companion patrol robot with which it has established a partnership via wireless communication.
7. The method according to claim 6, characterized in that, The process of moving to the target position based on the displacement vector specifically includes: Receive polar coordinate information and discoverer identification number sent by the discoverer, extract the relative distance and relative azimuth angle between the companion patrol robot and the discoverer, and obtain the relative position vector between the discoverer and the companion patrol robot; Using the discoverer's geographical location as the origin, the polar coordinate information is converted into the intruder's coordinates in a rectangular coordinate system, and then the relative position vector is superimposed to calculate the intruder's position coordinates; Based on the intruder's position coordinates and the relative position vector between the discoverer and the companion patrol robot, solve for the target position coordinates that make the intruder exactly located on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot. The system generates a displacement vector by pointing from the current position of the companion patrol robot to the target position coordinates, and then drives the companion patrol robot to move to the target position.
8. The method according to claim 7, characterized in that, The process of simultaneously approaching the intruder from both sides and tracking the intruder's real-time location specifically includes: The discoverer and its companion patrol robot each use visual servo control to keep the other's image in the center of their field of vision, while maintaining a continuous wireless communication link and obtaining their own real-time geographical location. The discoverer continuously tracks the intruder's movement trajectory, measuring the updated polar coordinates of the intruder relative to the discoverer every 0.5 seconds, and transmitting the updated information to the companion patrol robot in real time via wireless communication. Each time the companion patrol robot receives updated polar coordinate information, it repeatedly and dynamically adjusts its own position so that the intruder is always located on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot. The discoverer and its companion patrol robot approach the intruder synchronously at the same linear speed along a direction perpendicular to the line connecting them, while each keeps the intruder in the center of its own field of vision. When the distance between the discoverer and the intruder, and the distance between the companion patrol robot and the intruder, are both less than 1 meter, the pincer attack is considered complete, and the intruder's real-time position is continuously tracked.
9. An all-weather, multi-scenario patrol robot target tracking system, characterized in that: The system includes: The thermal gradient acquisition module is used to acquire the local thermal gradient direction vectors of the positions of at least two patrol robots within the patrol area, and broadcast the local thermal gradient direction vectors to other patrol robots via wireless communication. The global heat source fitting module is used by each patrol robot to collect the local thermal gradient direction vectors broadcast by all other patrol robots and fit the global heat source location. The companion relationship establishment module is used to automatically pair up patrol robots based on their distance from each other. Each pair of patrol robots establishes a companion relationship, and each patrol robot moves towards the global heat source location while controlling its own movement to ensure that the image of its companion patrol robot is always located in the center of its own visual sensor's field of view, and to make the midpoint of the line connecting each pair of patrol robots move towards the global heat source location along the radial line. The thermal gradient update and calibration module is used to continuously collect local thermal gradient direction vectors and broadcast them wirelessly during the movement towards the global heat source location. It then refits and updates the global heat source location and uses the relative distance and azimuth angle of the companion patrol robot to calibrate the measured values of the local thermal gradient direction vectors collected by itself. The intruder detection module is used to define itself as the discoverer when any patrol robot detects an intruder, and send the polar coordinate information of the intruder relative to the discoverer to the companion patrol robot. The displacement calculation module is used to calculate the displacement vector required to position the intruder on the perpendicular bisector of the line connecting the discoverer and the companion patrol robot, based on the relative position between the companion patrol robot and the discoverer, and to move the intruder to the target position according to the displacement vector. The synchronous approach and tracking module is used by the discoverer and companion patrol robot to keep the intruder on the vertical line connecting the discoverer and companion patrol robot, and to synchronously approach the intruder from both sides and track the intruder's real-time position.
