Patrol track acquisition method and device
Through geographically specific analysis of historical patrol trajectory data in the factory area and robot patrol simulation, low visibility and high visibility strategies are generated, which solves the problem of signal interference and low efficiency in patrol trajectory acquisition in complex environments, and improves patrol tasks. security and accuracy.
Patent Information
- Application Number
- CN202410560276.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-08
AI Technical Summary
Existing patrol trajectory acquisition methods have problems with signal interference and low efficiency in complex environments. Especially in areas with dense metal or concrete buildings, RFID signals are prone to interference and require frequent replacement and management.
By obtaining historical patrol trajectory data in the factory area, we perform geographical specific analysis, reconstruct the road network data, and use robot patrol simulation and field of view visibility analysis to generate low-visibility and high-visibility strategy data, design obstacle avoidance and exception handling strategies, and upload them to The robot controls the device to perform patrol tasks.
It improves the efficiency, safety, and trajectory accuracy and reliability of patrol tasks, ensuring that the robot can effectively perform patrol tasks in different environments and avoid signal interference and human errors.
Smart Images

Figure CN118550976A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer graphics, and in particular to a method and device for acquiring a patrol trajectory. Background Art
[0002] The earliest method of obtaining patrol tracks was to manually record the location information of patrol personnel. Patrol personnel would arrive at the designated patrol point at a specific time and manually mark the time and location on the record sheet. This method is easy to implement, but there are problems with human factors and inaccurate records, and it requires manpower and material resources, and is inefficient. With the advancement of technology, the magnetic card patrol system was introduced. Although the magnetic card patrol system eliminates the inaccuracy of manual records, it still requires patrol personnel to actively swipe the card, and there are cases of missed swipes or card swipe errors. In addition, magnetic cards are easily damaged or lost, and need to be replaced and managed regularly. The development of RFID technology has promoted further improvements in the method of obtaining patrol tracks. RFID reading and writing devices are installed at patrol points, and patrol personnel carry devices with RFID tags. When patrol personnel approach the patrol point, the device communicates with the reading and writing device to record the time and location information. Although RFID technology improves the real-time and accuracy of patrol data, RFID signals are easily interfered in complex environments, such as areas with dense metal or concrete buildings. Summary of the invention
[0003] Based on this, it is necessary to provide a patrol trajectory acquisition method and device to solve at least one of the above technical problems.
[0004] To achieve the above purpose, a patrol track acquisition method includes the following steps:
[0005] Step S1: Acquire historical patrol trajectory data of the factory area; perform geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain geographical feature data of the factory area; perform road network reconstruction on the historical patrol trajectory data based on the geographical feature data of the factory area to generate patrol road network data;
[0006] Step S2: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to generate expected patrol data; obtaining patrol field data; performing field visibility analysis on patrol field data to obtain visibility result data;
[0007] Step S3: When the visibility result data is low visibility data, trajectory geographic inference is performed on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data; when the visibility result data is high visibility data, trajectory vision inference is performed on the patrol vision data and the expected patrol data based on the high visibility data to generate high visibility strategy data;
[0008] Step S4: Design an obstacle avoidance strategy for the patrol field of view data to obtain obstacle avoidance strategy data; construct an exception handling scheme for the patrol field of view data to generate exception handling strategy data; upload the obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data and high visibility strategy data to the robot control device to execute the robot patrol task.
[0009] The present invention can obtain the geographical feature data of the plant area by performing geographic specificity analysis on the historical patrol trajectory data of the plant area, and reconstruct the road network based on this data. In this way, the patrol road network data can be established more accurately, and a more accurate basis can be provided for subsequent patrol simulation and trajectory speculation. The patrol road network data is simulated by the robot patrol using the plant area geographical feature data to generate expected patrol data. In this way, the patrol behavior of the robot can be simulated in a virtual environment, providing a reference for subsequent visibility analysis and strategy generation. The patrol field data is analyzed for field visibility, and the trajectory geographic speculation or trajectory field speculation is performed according to the visibility result data to generate low visibility strategy data and high visibility strategy data. In this way, corresponding strategies can be formulated for the robot's patrol tasks according to different visibility conditions to improve the efficiency and accuracy of the patrol. Obstacle avoidance strategy design and exception handling solution construction are performed for the patrol field data. By analyzing and processing the patrol field data, obstacle avoidance strategy and exception handling strategy can be provided for the robot's patrol tasks to improve the safety and stability of the patrol. The obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data and high visibility strategy data are uploaded to the robot control device to execute the robot patrol task. By combining the strategy data with the robot control system, the patrol task can be automated, and the strategy can be adjusted and optimized accordingly according to different situations. Therefore, the present invention combines the key steps of geographic specificity analysis, patrol simulation, visibility analysis, trajectory speculation, strategy generation and robot control, and provides a method for obtaining patrol trajectories using robot patrols, which comprehensively considers the geographical features, patrol vision and strategy design method, and improves the efficiency and safety of patrol tasks and the accuracy and reliability of patrol trajectories.
[0010] In this specification, a patrol track acquisition device is provided, which is used to execute the patrol track acquisition method as described above, including:
[0011] The road reconstruction module is used to obtain the historical patrol trajectory data of the factory area; perform geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain the geographical feature data of the factory area; perform road network reconstruction on the historical patrol trajectory data based on the geographical feature data of the factory area to generate patrol road network data;
[0012] The vision acquisition module is used to simulate the patrol road network data of the robot according to the geographical feature data of the factory area, generate the expected patrol data; obtain the patrol vision data; perform the vision visibility analysis on the patrol vision data, and obtain the visibility result data;
[0013] The adaptive trajectory acquisition module is used to perform trajectory geographic inference on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data when the visibility result data is low visibility data; and to perform trajectory vision inference on the patrol vision data and the expected patrol vision data based on the high visibility data to generate high visibility strategy data when the visibility result data is high visibility data;
[0014] The intelligent control module is used to design an obstacle avoidance strategy for the patrol field of view data to obtain obstacle avoidance strategy data; construct an exception handling plan for the patrol field of view data to generate exception handling strategy data; upload the obstacle avoidance strategy data, exception handling strategy data, low-visibility strategy data and high-visibility strategy data to the robot control device to execute the robot patrol task.
[0015] The invention is beneficial in that by analyzing the historical patrol trajectory data, the conventional patrol routes and patrol frequencies in the factory area can be understood, so as to better plan the patrol path of the robot. The analysis of the geographic feature data can help identify the terrain, buildings and other geographic features in the factory area, which is helpful to optimize the design of the robot patrol route and the formulation of the obstacle avoidance strategy. The road network reconstruction of the historical patrol trajectory data based on the geographic feature data can generate more accurate patrol road network data, which is helpful for the robot to plan the patrol path more effectively. By simulating the robot patrol process, the effects of different routes and strategies can be evaluated, the patrol plan can be optimized, and preparations can be made for subsequent actual patrol tasks. Analyzing the visibility of the patrol field can help determine the observation range of the robot under different environmental conditions, help adjust the patrol strategy to cope with different visibility conditions, and formulate different strategies to deal with low visibility and high visibility conditions according to the visibility result data, so as to ensure that the robot can effectively perform patrol tasks in various environments. The design of the obstacle avoidance strategy can help the robot avoid collision with obstacles during the patrol process, and ensure the smooth execution of the patrol task. The formulation of the abnormal handling strategy can help the robot make the correct response when encountering abnormal situations, and ensure the safety and effectiveness of the patrol task. Uploading various strategy data to the robot's control device can enable the robot to make timely decisions according to the real-time environmental conditions, thereby improving the execution efficiency and success rate of patrol tasks. Therefore, the present invention combines the key steps of geographic specificity analysis, patrol simulation, visibility analysis, trajectory speculation, strategy generation and robot control, and provides a method for obtaining patrol trajectories using robot patrols, which comprehensively considers geographical features, patrol vision and strategy design, and improves the efficiency and safety of patrol tasks and the accuracy and reliability of patrol trajectories. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of the steps of a patrol track acquisition method and device;
[0017] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;
[0018] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0019] Figure 4 for Figure 1 Detailed implementation steps of step S4 in FIG.
[0020] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0021] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0022] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0023] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0024] To achieve this, please refer to Figures 1 to 4 , a patrol trajectory acquisition method, comprising the following steps:
[0025] Step S1: Acquire historical patrol trajectory data of the factory area; perform geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain geographical feature data of the factory area; perform road network reconstruction on the historical patrol trajectory data based on the geographical feature data of the factory area to generate patrol road network data;
[0026] Step S2: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to generate expected patrol data; obtaining patrol field data; performing field visibility analysis on patrol field data to obtain visibility result data;
[0027] Step S3: When the visibility result data is low visibility data, trajectory geographic inference is performed on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data; when the visibility result data is high visibility data, trajectory vision inference is performed on the patrol vision data and the expected patrol data based on the high visibility data to generate high visibility strategy data;
[0028] Step S4: Design an obstacle avoidance strategy for the patrol field of view data to obtain obstacle avoidance strategy data; construct an exception handling scheme for the patrol field of view data to generate exception handling strategy data; upload the obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data and high visibility strategy data to the robot control device to execute the robot patrol task.
[0029] The present invention can obtain the geographical feature data of the plant area by performing geographic specificity analysis on the historical patrol trajectory data of the plant area, and reconstruct the road network based on this data. In this way, the patrol road network data can be established more accurately, and a more accurate basis can be provided for subsequent patrol simulation and trajectory speculation. The patrol road network data is simulated by the robot patrol using the plant area geographical feature data to generate expected patrol data. In this way, the patrol behavior of the robot can be simulated in a virtual environment, providing a reference for subsequent visibility analysis and strategy generation. The patrol field data is analyzed for field visibility, and the trajectory geographic speculation or trajectory field speculation is performed according to the visibility result data to generate low visibility strategy data and high visibility strategy data. In this way, corresponding strategies can be formulated for the robot's patrol tasks according to different visibility conditions to improve the efficiency and accuracy of the patrol. Obstacle avoidance strategy design and exception handling solution construction are performed for the patrol field data. By analyzing and processing the patrol field data, obstacle avoidance strategy and exception handling strategy can be provided for the robot's patrol tasks to improve the safety and stability of the patrol. The obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data and high visibility strategy data are uploaded to the robot control device to execute the robot patrol task. By combining the strategy data with the robot control system, the patrol task can be automated, and the strategy can be adjusted and optimized accordingly according to different situations. Therefore, the present invention combines the key steps of geographic specificity analysis, patrol simulation, visibility analysis, trajectory speculation, strategy generation and robot control, and provides a method for obtaining patrol trajectories using robot patrols, which comprehensively considers the geographical features, patrol vision and strategy design method, and improves the efficiency and safety of patrol tasks and the accuracy and reliability of patrol trajectories.
[0030] In the embodiment of the present invention, reference Figure 1 The above is a schematic diagram of the steps of a patrol track acquisition method of the present invention. In this example, the patrol track acquisition method includes the following steps:
[0031] Step S1: Acquire historical patrol trajectory data of the factory area; perform geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain geographical feature data of the factory area; perform road network reconstruction on the historical patrol trajectory data based on the geographical feature data of the factory area to generate patrol road network data;
[0032] In an embodiment of the present invention, historical patrol records of the factory area are collected, including patrol locations and timestamp information. The historical patrol trajectory data is analyzed using geographic information system (GIS) tools or related software to identify and extract geographic features within the factory area, such as buildings, roads, and regional boundaries. The analysis results are converted into a geographic feature data set, including geographic coordinates, terrain information, and feature classification. The historical patrol trajectory data is converted into road network data using geographic information system software or a network reconstruction algorithm. The geographic feature data is combined with the historical patrol trajectory data to reconstruct the road network structure within the factory area. Based on the road network reconstruction results, a patrol road network data set is generated, including road sections, intersections, and road attribute information.
[0033] Step S2: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to generate expected patrol data; obtaining patrol field data; performing field visibility analysis on patrol field data to obtain visibility result data;
[0034] In an embodiment of the present invention, the plant area geographic feature data and patrol road network data are used to establish a robot patrol simulation environment, set the robot's starting point, end point, patrol path, and speed parameters, and use a simulation algorithm to simulate the robot's patrol behavior in the plant area to generate expected patrol data. During the simulation process, the robot's field of view and field of view angle at different positions are recorded, and the robot's real-time field of view data is obtained through sensors, cameras and other equipment. Using the obtained patrol field of view data, the visibility of each position in the plant area is analyzed, and the visibility of the robot's field of view at different positions is analyzed using a line of sight occlusion algorithm or ray tracing technology. The visibility of each position is evaluated and the visibility result data is recorded. The result data of the visibility analysis is sorted and counted to generate a visibility chart or a visualization map of each position in the plant area to facilitate analysis and understanding, and to extract key visibility information, such as blind spot positions and line of sight blocking points.
[0035] Step S3: When the visibility result data is low visibility data, trajectory geographic inference is performed on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data; when the visibility result data is high visibility data, trajectory vision inference is performed on the patrol vision data and the expected patrol data based on the high visibility data to generate high visibility strategy data;
[0036] In an embodiment of the present invention, low-visibility data, such as meteorological data, sensor data, etc., as well as patrol field data and factory area geographic feature data are collected. The data is preprocessed, including removing noise, filling missing values, analyzing low-visibility data, determining its influencing factors and degree, such as rain and fog density, smoke concentration, etc., and its distribution in the factory area. Combined with the patrol field data and the factory area geographic feature data, the patrol path of the robot under low-visibility conditions and the terrain, buildings, and obstacles encountered are inferred using geographic information system (GIS) tools. Low-visibility strategy data is generated based on the results of trajectory geography inference. This includes adjusting the patrol path, adding safety checkpoints, and optimizing patrol strategies. High-visibility data, such as camera monitoring data, meteorological data, etc., as well as patrol field data and expected patrol data are collected. The data is preprocessed to ensure its quality and availability, and the high-visibility data is analyzed to determine its features such as line of sight clarity and visible range. Considering weather conditions and light intensity, combined with the patrol field data and expected patrol data, the patrol path and field of view of the robot under high-visibility conditions are inferred using data analysis and simulation methods. Based on the results of trajectory vision inference, high-visibility strategy data is generated. This includes optimizing patrol routes, adjusting patrol strategies, and early warning of safety risks to improve patrol efficiency and safety.
[0037] Step S4: Design an obstacle avoidance strategy for the patrol field of view data to obtain obstacle avoidance strategy data; construct an exception handling scheme for the patrol field of view data to generate exception handling strategy data; upload the obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data and high visibility strategy data to the robot control device to execute the robot patrol task.
[0038] In the embodiment of the present invention, patrol vision data, including sensor data and camera data, are collected to detect obstacles in the robot's surrounding environment. Computer vision technology or sensor data processing algorithms are used to detect and analyze obstacles in the vision data to determine the location, size, shape and other characteristics of the obstacles. According to the characteristics of the obstacles and the robot's motion ability, obstacle avoidance strategies are designed, including avoidance path planning, speed adjustment, and steering control. The patrol vision data is analyzed to identify abnormal situations, such as sudden obstacles and abnormal behaviors. The identified abnormal situations are classified and analyzed to determine the type, cause and impact of the abnormalities. According to different abnormal situations, corresponding processing plans are formulated, including emergency parking, alarm notification, and dispatch personnel processing. The designed obstacle avoidance strategy data, abnormal handling strategy data, low visibility strategy data, and high visibility strategy data are integrated into a unified data format, and the integrated data is uploaded to the robot's control device through the network or other means to ensure that the robot can obtain and execute the latest task strategy in real time. After the upload is completed, the robot is verified and debugged to ensure that it can correctly identify obstacles, handle abnormal situations, and execute corresponding strategies according to different visibility conditions.
[0039] Preferably, step S1 comprises the following steps:
[0040] Step S11: Check the factory historical patrol task log data to obtain the factory historical patrol trajectory data;
[0041] Step S12: performing a trajectory curvature analysis on the historical patrol trajectory data of the factory area to obtain patrol trajectory curvature data;
[0042] Step S13: Performing geographic feature evaluation on the patrol trajectory curvature data to generate factory area geographic feature data;
[0043] Step S14: clustering similar trajectory segments of historical patrol trajectory data to obtain similar trajectory segment clustering data;
[0044] Step S15: Perform spatial mapping on the factory area geographic feature data and similar trajectory segment clustering data to generate patrol road network data.
[0045] By consulting historical patrol task log data and performing curvature analysis on trajectory data, the present invention can gain an in-depth understanding of patrol activity paths, frequencies, and characteristics within the factory area, which helps optimize patrol plans and resource allocation. Geographic feature evaluation of patrol trajectory curvature data can provide important information about the factory area's terrain and road structure, which helps identify potential safety hazards and improve patrol paths. Through cluster analysis of similar trajectory segments, patrol behavior patterns and trends in different regions or time periods can be discovered, providing a reference for formulating patrol strategies and improving safety management. Spatial mapping of geographic feature data and clustering data of similar trajectory segments can generate patrol road network data, which helps visualize patrol paths, optimize route planning, and improve the management and monitoring efficiency of patrol activities. It can effectively analyze the trajectory characteristics and geographical environment of factory patrol activities, providing important support for improving safety management and resource utilization efficiency.
[0046] In an embodiment of the present invention, the historical patrol task log data of the factory area stored in the database or log file is obtained, the data is cleaned and formatted to ensure the accuracy and consistency of the data, and the patrol trajectory data, including timestamp and location coordinate information, is extracted from the historical patrol task log data. The extracted patrol trajectory data is prepared, including the location coordinate information, and the curvature of each trajectory point is calculated using a mathematical method or algorithm to analyze the curvature and changes of the trajectory. The calculated trajectory curvature data is sorted for subsequent geographic feature evaluation and analysis. Based on the curvature data and location information, the geographic feature data of the factory area is extracted, such as the curvature of the road and the number of corners. The extracted geographic feature data is analyzed to understand the terrain characteristics of different areas in the factory area and the characteristics of the patrol path. The analyzed geographic feature data is sorted into a data set or report form for subsequent spatial mapping and strategy formulation. Divide the historical patrol trajectory data into multiple trajectory segments, usually based on time intervals or location information, use clustering algorithms (such as K-means clustering) to perform similarity analysis and clustering on the trajectory segments, obtain similar trajectory segment clustering data, analyze the clustering results, understand patrol trajectory segments of different types or characteristics, and extract representative trajectory segments as the basis for subsequent analysis. Integrate the plant area geographic feature data and similar trajectory segment clustering data into a spatial data set, use geographic information system (GIS) software or spatial data analysis tools to map and analyze the integrated data, and generate patrol road network data during the spatial mapping process, including road nodes, road segments, connection relationships, etc., as well as information related to geographic features and trajectory clustering.
[0047] Preferably, step S2 comprises the following steps:
[0048] Step S21: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to obtain initial patrol simulation data;
[0049] Step S22: simulating the initial patrol simulation data to generate the expected patrol data;
[0050] Step S23: installing a field of view camera on the robot to obtain patrol field of view data;
[0051] Step S24: performing perspective distortion correction on the patrol visual field data to obtain corrected patrol visual field data;
[0052] Step S25: Performing a visibility analysis on the corrected patrol visual field data based on the expected patrol data to obtain visibility result data.
[0053] The present invention can simulate the patrol path and behavior of the robot in the actual environment by simulating the patrol road network data, evaluate the feasibility and effect of the robot patrol, and provide a reference for subsequent optimization and improvement. Based on the initial patrol simulation data, the expected patrol data simulation is performed, and the expected patrol path and patrol task plan can be generated according to the actual situation and needs, thereby improving the planning and execution efficiency of patrol activities. By installing a field of view camera and correcting the perspective distortion of the patrol field of view data, more accurate patrol field of view data can be obtained, providing a reliable basis for subsequent visibility analysis and monitoring. Based on the expected patrol data, the field of view visibility analysis of the corrected patrol field of view data can evaluate the coverage and visibility of the field of view during the robot patrol process, thereby determining blind spots and improving patrol strategies. It helps to improve the practicality and effectiveness of the robot patrol system, promote the development of intelligent patrol management, and provide more comprehensive and accurate support for factory safety management and monitoring.
[0054] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:
[0055] Step S21: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to obtain initial patrol simulation data;
[0056] In an embodiment of the present invention, geographic feature data of a factory area is collected, including information on buildings, roads, and obstacles. This can be obtained through on-site surveys and map data acquisition methods. In a geographic information system (GIS) software, road network data of the factory area is created based on the collected geographic feature data. This includes drawing and connecting road and intersection elements in the GIS software to form a complete road network. The relevant parameters of the robot patrol are determined, including patrol speed, patrol frequency, and patrol path planning algorithm. The simulation function provided by the GIS software is used to perform robot patrol simulation on the road network data according to the determined patrol simulation parameters. During the simulation process, the robot's position, speed, travel path and other data are recorded to form initial patrol simulation data. The obtained initial patrol simulation data is evaluated, including analyzing the coverage of the simulation path, patrol efficiency, obstacles encountered, and the like. Based on the evaluation results, further adjustments and optimizations can be made.
[0057] Step S22: simulating the initial patrol simulation data to generate the expected patrol data;
[0058] In an embodiment of the present invention, the initial patrol simulation data is deeply understood, including data structure, feature meaning, and data distribution, and a model for generating expected patrol data is determined. A rule-based generation model, a statistical method-based generation model, or a deep learning model can be selected. The selected generation model is trained so that patrol data that meets expectations can be generated. During the training process, the model will learn the characteristics and patterns of the original data and use them for subsequent data generation. The patrol data is simulated and generated using the trained generation model. The simulation process includes simulating the robot position, movement path, behavior pattern, etc. to generate the expected patrol data. The generated expected patrol data needs to be verified to ensure that the generated data meets expectations and can be used for subsequent analysis and application. It can be compared with the original simulation data to evaluate the quality and accuracy of the generated data. According to the verification results, the generation model is adjusted and optimized to improve the quality and fidelity of the generated data. The generated expected patrol data can be used for simulation testing, algorithm verification, and system optimization for analysis and prediction to improve patrol plans and robot behavior.
[0059] Step S23: installing a field of view camera on the robot to obtain patrol field of view data;
[0060] In an embodiment of the present invention, a suitable position for installing a camera is selected on the robot. This is usually in front of the robot, ensuring that the camera can clearly capture the scene in front of the robot, and selecting a suitable camera type as needed. Considering the characteristics of the patrol task, a camera with a higher resolution and a wide-angle field of view is usually selected so that a wider area can be covered. Install a camera bracket or support structure to fix the camera and adjust its direction and angle. Ensure that the bracket is stable and reliable, and the camera's field of view will not be disturbed or shaken, and connect the camera's power cord and data cable to the corresponding interface of the robot. Ensure that the connection is firm and leave enough margin to allow the robot to move freely without restriction, adjust the angle and focal length of the camera to ensure that it can capture the required field of view and the image is clear and visible. Use fixing screws or other fixing devices to fix the camera in place to prevent displacement or shaking during the movement of the robot, start the robot, let it start the patrol task, and record the field of view data captured by the camera.
[0061] Step S24: performing perspective distortion correction on the patrol visual field data to obtain corrected patrol visual field data;
[0062] In an embodiment of the present invention, the internal and external parameters of the camera are calibrated. This includes the determination of focal length, principal point coordinates, and distortion coefficient parameters. Computer vision technology is used to detect key points in the image, such as corner points or straight line endpoints in the scene. These key points will be used for subsequent perspective transformation calculations, and the perspective transformation matrix is calculated based on the camera parameters and the detected key points. This matrix describes how to map points in the original image to positions in the corrected image. Using the calculated perspective transformation matrix, the original image is perspective transformed. This process will correct the perspective distortion in the image so that the straight line remains a straight line in the corrected image. When performing the perspective transformation, the interpolation method is used to fill in the blank pixels and maintain the smoothness of the image. After the perspective distortion correction is completed, the corrected patrol field of view data is output.
[0063] Step S25: Performing a visibility analysis on the corrected patrol visual field data based on the expected patrol data to obtain visibility result data.
[0064] In an embodiment of the present invention, data of expected patrols are prepared, which includes location information of target points, area ranges or other objects of interest, and the field of view of the camera or sensor is determined based on the corrected patrol field of view data. This range will be used for subsequent visibility analysis, and the visibility of each target or area within the field of view is calculated using the prepared expected patrol data and the corrected patrol field of view data. This process involves calculations such as projection, occlusion, and identification of obstructions. Based on the calculated visibility, visibility result data is generated. These data include the degree of visibility of each target or area, such as fully visible, partially visible or invisible, and information such as the confidence of visibility. The visibility result data can be presented through visualization tools, such as generating heat maps, scatter plots or histograms to intuitively display the visibility of different areas. The visibility result data is analyzed to identify areas with blind spots or insufficient coverage, and suggestions for improvement are made, such as adjusting the camera position, adding additional sensors or optimizing the layout.
[0065] Preferably, step S25 comprises the following steps:
[0066] Step S251: extracting expected visual field data from the expected patrol data to obtain expected patrol visual field data;
[0067] Step S252: performing data row alignment on the expected patrol vision data and the corrected patrol vision data to obtain row-aligned patrol vision image data;
[0068] Step S253: performing single-view stereo matching on the row-aligned patrol field image data to generate single-view stereo matching depth data;
[0069] Step S254: performing three-dimensional reconstruction simulation on the corrected patrol field of view data according to the single-view stereo matching depth data to obtain three-dimensional field of view geometric simulation data;
[0070] Step S255: Estimating the visibility of the corrected patrol field of view data based on the field of view three-dimensional geometric simulation data to generate visibility result data.
[0071] The present invention determines the expected monitoring area by extracting the expected patrol data, and provides basic data for subsequent analysis. The expected patrol field of view data is aligned with the corrected patrol field of view data to ensure the accuracy and consistency of the subsequent processing steps. The depth data is obtained by using the single-view stereo matching technology, thereby realizing the acquisition of three-dimensional information of the monitoring area, providing important data support for the subsequent visibility estimation. Based on the single-view stereo matching depth data, the corrected patrol field of view data is three-dimensionally reconstructed and simulated, so that the spatial structure of the field of view can be simulated, providing a more realistic and accurate data basis for visibility estimation. Visibility estimation is performed on the corrected patrol field of view data using the three-dimensional geometric simulation data of the field of view, and the final visibility result data is generated, which provides a strong basis for the optimization and improvement of the monitoring system. The original monitoring requirements are converted into specific data processing and analysis steps. Through the processing and calculation of multiple links, a comprehensive evaluation and visibility analysis of the monitoring area are realized, providing a scientific basis and technical support for the design, optimization and improvement of the monitoring system.
[0072] In the embodiment of the present invention, the expected patrol data is processed by using image processing or computer vision technology, the area or target related to the patrol is identified, and the expected patrol field of view data is extracted. The expected patrol field of view data and the corrected patrol field of view data are prepared to ensure that the data format and quality meet the requirements. The expected patrol field of view data and the corrected patrol field of view data are aligned by using image registration technology to ensure that they are consistent in space. The two sets of data are visually consistent by adjusting the position, angle or scale of the data. Using the information of the monocular or single-view image, a stereo matching algorithm is used to calculate the depth information of the object in the image. According to the matching result, a single-view stereo matching depth data is generated to represent the depth value of each pixel in the image. Using the single-view stereo matching depth data, the corrected patrol field of view data is three-dimensionally reconstructed to restore the three-dimensional structure and geometric information of the scene. According to the reconstruction result, the field of view three-dimensional geometric simulation data is generated, including information such as the position, shape and size of the object in the scene. Based on the field of view three-dimensional geometric simulation data, the position of the object in the scene and the field of view of the camera are analyzed, the visibility of different areas is evaluated, and the visibility result data is generated according to the evaluation result.
[0073] Preferably, step S253 includes the following steps:
[0074] Step S2531: Calculate the grayscale difference cost of the row-aligned patrol field image data to obtain matching cost data;
[0075] Step S2532: performing pixel cost aggregation on the row-aligned patrol view image data according to the matching cost data to obtain parallax minimum energy data;
[0076] Step S2533: performing time difference estimation on the parallax minimum energy data to obtain the minimum cost parallax value;
[0077] Step S2534: converting the minimum cost disparity value into depth information to obtain single-view stereo matching depth data.
[0078] The present invention can evaluate the similarity between pixels in the image by calculating the grayscale difference between the row-aligned patrol vision image data, thereby obtaining matching cost data. This step can capture the structural information and texture features in the image, providing an important reference for subsequent stereo matching. Using the matching cost data, the pixels in the image are cost aggregated to determine the minimum disparity energy of each pixel. This step can find the best match in the local range, reduce the matching error, and improve the accuracy of depth estimation. Based on the disparity minimum energy data, time difference estimation is performed to obtain the minimum cost disparity value. Time difference estimation is one of the key steps in stereo matching. By optimizing the disparity energy function, the most appropriate disparity value is determined, thereby improving the accuracy of depth estimation. According to the minimum cost disparity value, it is converted into depth information to obtain single-view stereo matching depth data. This step can convert the disparity information into the depth information of objects in the actual scene, providing basic data for subsequent three-dimensional reconstruction and simulation. The depth estimation of the row-aligned patrol vision image data can be realized, thereby realizing the three-dimensional perception of the scene, providing a reliable basis for subsequent monitoring, analysis and application.
[0079] In an embodiment of the present invention, the row-aligned patrol vision image data is processed to ensure the quality and consistency of the image, and for each pair of matched pixels of the row-aligned patrol vision image data, the grayscale difference between the two is calculated. The degree of difference between pixels can be measured by, for example, absolute difference or square difference. A matching cost matrix can be obtained, in which each element represents the degree of difference between two pixels. The obtained grayscale difference is stored as matching cost data to form a matching cost matrix. The row-aligned patrol vision image data is aggregated with pixel costs using the matching cost data, and for each pixel in the image, the pixel cost of each pixel in the image is aggregated using the matching cost data. This is usually achieved by calculating the weighted average of the matching costs of each pixel and its surrounding pixels. The weighted average can use a Gaussian kernel or other kernel function to ensure that the contribution of the surrounding pixels is properly weighed to reduce the impact of noise. In this way, a matrix of parallax minimum energy data is obtained, in which each element represents the parallax energy of the pixel, and each pixel represents the parallax energy of the pixel. Time difference estimation is performed using the parallax minimum energy data, and time difference estimation is performed using the parallax minimum energy data. This is achieved by applying dynamic programming or other methods to minimize energy functions. In this process, a minimum energy path is found from the left to the right side of the image, and the pixel position passed by this path corresponds to the minimum disparity value. Thus, a disparity map is obtained, in which each pixel represents its corresponding disparity value. The minimum cost disparity value is used to convert the depth information, and the disparity value in the disparity map is converted into depth information. Correction and calculation are performed by using camera parameters and scene geometry. Based on the principle of stereo geometry, the disparity value can be converted into pixel distance, thereby obtaining single-view stereo matching depth data, which represents the depth value of each pixel in the image.
[0080] Preferably, step S3 comprises the following steps:
[0081] Step S31: when the visibility result data is low visibility data, extracting the ground vision data from the patrol vision data based on the low visibility data to obtain the ground vision data;
[0082] Step S32: performing real-time geographic feature analysis on the ground view data to obtain real-time geographic feature data;
[0083] Step S33: Designing a geographic trajectory strategy for the real-time geographic feature data based on the plant area geographic feature data to generate low-visibility strategy data;
[0084] Step S34: when the visibility result data is high visibility data, continuously extract frames of the patrol vision data based on the high visibility data to obtain patrol vision extracted frame image data;
[0085] Step S35: Designing a visual field trajectory strategy for the patrol visual field frame image data based on the expected patrol data to generate high visibility strategy data.
[0086] The present invention can select different processing methods according to different visibility conditions, such as ground view extraction and real-time geographic feature analysis for low visibility data, and continuous frame extraction and view trajectory strategy design for high visibility data. This flexibility enables the system to maintain efficient operation in various environments, and provides an accurate understanding of environmental characteristics by performing real-time geographic feature analysis on ground view data. This helps to generate more accurate and effective low visibility strategy data and geographic trajectory strategy design. By combining the plant area geographic feature data and real-time geographic feature data for geographic trajectory strategy design, the system can formulate effective strategies for the actual situation of the plant area, thereby improving patrol efficiency and safety. Based on the expected patrol data, the view trajectory strategy design is performed to generate high visibility strategy data. This method can adjust the patrol strategy according to the expected goals, improve the adaptability and accuracy of the system in a high visibility environment, and by adopting different strategies (ground view extraction or continuous frame extraction) under different visibility conditions, the system can patrol more effectively to ensure comprehensive monitoring and rapid response of key areas. The combination of low visibility strategy data and high visibility strategy data optimizes the safety and efficiency of patrols. This comprehensive strategy design helps to better monitor the environment and discover potential problems in a timely manner. By combining low-visibility and high-visibility data processing strategies, using real-time geographic feature analysis and expected patrol data, the patrol process is optimized and the efficiency and adaptability of the system under different environmental conditions are improved.
[0087] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:
[0088] Step S31: when the visibility result data is low visibility data, extracting the ground vision data from the patrol vision data based on the low visibility data to obtain the ground vision data;
[0089] In an embodiment of the present invention, the patrol field of view data with low visibility is preprocessed to reduce noise, enhance image contrast, etc. This may include operations such as denoising and histogram equalization to improve the effect of subsequent processing. On the preprocessed image, the system needs to identify and extract ground features. These features may include ground objects such as roads, buildings, and landmarks. Common ground feature extraction methods include edge detection, region segmentation, and feature matching. Through ground feature extraction, the system obtains relevant information about the ground area. Next, these ground areas need to be calibrated to determine their position and range in the image. Based on the calibration information of the ground area, the system can extract the ground-related parts from the original patrol field of view data to form ground field of view data. These data are obtained by cropping, rotating or other transformations to ensure that only information about the ground area is contained. The generated ground field of view data is output for use in subsequent steps.
[0090] Step S32: performing real-time geographic feature analysis on the ground view data to obtain real-time geographic feature data;
[0091] In an embodiment of the present invention, various geographic features are identified and extracted on the ground vision data, including but not limited to roads, buildings, water bodies, and green belts, which are achieved through image processing and computer vision technology, such as edge detection, object recognition, and target detection algorithms. The extracted geographic features need to be classified and labeled so that the system can understand and use this information. For example, different types of geographic features such as roads, buildings, and water bodies are classified separately. After the geographic features are extracted and classified, the system can perform further geographic feature analysis. This includes statistical analysis of the number, distribution, shape, etc. of specific types of geographic features, as well as correlation analysis with other data (such as map data, sensor data, etc.) to extract deeper geographic information. The generated real-time geographic feature data is output in the form of a data stream for use by other systems or applications, and can also be displayed or visualized on a user interface.
[0092] Step S33: Designing a geographic trajectory strategy for the real-time geographic feature data based on the plant area geographic feature data to generate low-visibility strategy data;
[0093] In an embodiment of the present invention, based on the plant area geographic feature data and real-time geographic feature data, geographic trajectory design is performed, including determining the optimal path or trajectory of the robot under low visibility conditions to ensure safety and efficiency. While designing the geographic trajectory, the system also needs to consider special circumstances under low visibility conditions, such as weather conditions such as fog, rain, and snow. The system needs to generate corresponding strategy data based on real-time geographic feature data and low visibility conditions, which includes measures such as adjusting speed, changing paths, and issuing warnings. After generating the low visibility strategy data, the system optimizes and verifies to ensure the effectiveness and reliability of the strategy. Since the environment and conditions change at any time, the system needs to be able to update and adjust the generated low visibility strategy data in real time to cope with different situations and needs.
[0094] Step S34: when the visibility result data is high visibility data, continuously extract frames of the patrol vision data based on the high visibility data to obtain patrol vision extracted frame image data;
[0095] In an embodiment of the present invention, a continuous frame extraction operation is performed on high-visibility data, that is, frames are extracted from a continuous video stream or image sequence at a certain interval. This interval can be determined according to specific needs and application scenarios. For example, frame extraction is performed every few seconds or every few frames, and each extracted frame image is preprocessed to ensure image quality and usability. This includes operations such as denoising, contrast enhancement, and image restoration to improve the effect of subsequent processing. The preprocessed image data is saved as patrol field frame extraction image data. These data can be saved as image files or processed in the form of data streams in memory. The specific form depends on the subsequent processing requirements and system architecture.
[0096] Step S35: Designing a visual field trajectory strategy for the patrol visual field frame image data based on the expected patrol data to generate high visibility strategy data.
[0097] In the embodiment of the present invention, the field of view trajectory is designed using the expected patrol data and the patrol field of view frame image data. This includes determining the field of view range and direction at each patrol point or area, as well as the continuous change law of the field of view on the entire patrol path. While designing the field of view trajectory, the system needs to consider special circumstances under high visibility conditions, such as light intensity, obstructions and other factors. According to the designed field of view trajectory, the corresponding high visibility strategy data is generated to ensure that the field of view always maintains good visibility. After the high visibility strategy data is generated, the effect of the strategy is simulated and verified on the spot to ensure the effectiveness and reliability of the strategy under different conditions.
[0098] Preferably, step S33 includes the following steps:
[0099] Step S331: reconstructing the surface features of the real-time geographic feature data to obtain ground elevation information data;
[0100] Step S332: Positioning and matching the ground elevation information data based on the plant area geographic feature data to generate real-time positioning data;
[0101] Step S333: performing trajectory filtering on the real-time positioning data to obtain low-visibility patrol trajectory data;
[0102] Step S334: Enumerate feasible roads for the real-time geographic feature data based on the plant area geographic feature data to generate feasible road data;
[0103] Step S335: performing a traffic risk assessment on the feasible road data to obtain road risk data;
[0104] Step S336: Design a safety plan for feasible road data based on the road risk data and generate low-visibility strategy data.
[0105] The present invention can accurately obtain real-time geographic location information through surface feature reconstruction and positioning matching, providing an accurate positioning basis for subsequent patrol tasks. Trajectory filtering of real-time positioning data can remove existing noise or outliers, thereby obtaining smoother and more reliable patrol trajectory data, improving the accuracy and reliability of patrol tasks. Enumerating feasible roads based on factory area geographic feature data can effectively determine the paths and areas available for patrols, avoiding wasting time and resources in complex terrain or inaccessible areas. By conducting traffic risk assessment and safety plan design on feasible road data, potential safety risks can be effectively identified and responded to, improving the safety and controllability of patrol tasks. A comprehensive and systematic low-visibility patrol task processing process is constructed, from positioning to path planning to safety considerations, which comprehensively improves the execution efficiency and safety of patrol tasks.
[0106] In the embodiment of the present invention, the surface feature data is used to reconstruct the surface features, and computer vision and image processing technology are used to process and analyze the collected data to extract ground features, such as buildings, roads, etc., and infer the ground elevation information based on this. The real-time acquired geographic feature data is matched with the pre-collected plant area geographic feature data, such as road intersections and building outlines, to determine the current position, and accurately locate it in combination with the ground elevation information. The real-time positioning data is processed using a filtering algorithm, such as a Kalman filter or a moving average filter, to eliminate the uncertainty introduced by sensor errors or other interference factors, and obtain more accurate trajectory data. The plant area geographic feature data, such as road layout and building location, is used to plan and analyze the path, determine the range of feasible roads, avoid obstacles and inaccessible areas, and generate feasible road data. The safety assessment algorithm and model are used to analyze the potential risk factors in the feasible road data, such as road conditions, traffic flow, and visibility, assess the passage risk, and generate corresponding road risk data. Design safety plans based on road risk data and patrol mission requirements, including route planning, patrol frequency, safety equipment configuration, etc., to ensure the safety and effectiveness of patrol missions under low visibility conditions.
[0107] Preferably, step S35 includes the following steps:
[0108] Step S351: extracting the visible area of the patrol field frame image data to obtain visible area data;
[0109] Step S352: performing regional environment matching on the expected patrol data based on the visible area data to obtain matching environment area data;
[0110] Step S353: marking the area point information of the matching environment area data to generate marked area point data;
[0111] Step S354: performing mark point concatenation on the marked area point data to obtain high-visibility patrol track data;
[0112] Step S355: acquiring the expected inspection target for the expected patrol data to obtain the expected inspection target data;
[0113] Step S356: Perform path topology on the marked area point data according to the expected inspection target data to obtain patrol road data;
[0114] Step S357: construct an extreme coverage inspection strategy for the patrol road data to generate high visibility strategy data.
[0115] The present invention can identify and extract the visible area of patrol personnel from complex scenes by extracting the visible area of patrol field frame image data, thereby improving the visibility of the patrol environment. Based on the visible area data, the expected patrol data is matched with the regional environment to ensure that the actual working environment of the patrol personnel matches the expected environment, thereby improving the execution accuracy of the patrol task. By marking the regional point information of the matching environment regional data, the key points and features of the patrol task can be accurately determined, helping the patrol personnel to better locate and execute the task. The marked regional point data is connected in series to obtain high-visibility patrol trajectory data, which optimizes the planning and execution process of the patrol trajectory and improves the efficiency and accuracy of the patrol. The expected inspection target acquisition of the expected patrol data is helpful to identify and plan the inspection target in advance, ensuring that the patrol personnel will not miss important inspection content during the task execution process. The marked regional point data is subjected to path topology according to the expected inspection target data to obtain patrol road data, which helps to optimize the inspection route and task allocation and improve the efficiency of the patrol task. By constructing an extreme coverage inspection strategy for patrol road data, the optimal inspection strategy can be designed according to the expected goals and actual environmental characteristics, improving the coverage and execution efficiency of patrol work. It improves the visualization, accuracy and planning of patrol tasks, helps optimize the patrol process, improves work efficiency, and ensures the safety and integrity of patrol tasks.
[0116] In the embodiment of the present invention, image processing technology is used to process the patrol field frame image data to identify the visible area, that is, the area that the patrol personnel can see, which is achieved by calculating the pixel value in the image, edge detection, object recognition and other methods. Based on the visible area data and the expected patrol data, a data matching algorithm is used to determine the degree of matching between the actual environment and the expected environment, which involves image feature matching, pattern recognition or deep learning technology to ensure that the actual patrol environment is consistent with the expected environment. The matching environment area data is further processed to mark the key points or feature points, including manual annotation or automated algorithms to identify important points in the environment, such as building corners, doorways, and passages. The marked area point data is connected to form a patrol track for track recording, which is achieved by simple line segment connection or complex path planning algorithm to ensure that all marked points are covered and the walking route is optimized. The expected patrol data is analyzed to determine the target or area that needs to be inspected, including specifying specific inspection points, equipment, areas, etc., to ensure the comprehensiveness and accuracy of the patrol task. According to the expected inspection target data and the marked area point data, path planning is carried out to ensure the optimal connectivity between the inspection targets. This is achieved through graph theory algorithms or path search algorithms to find the shortest, fastest or optimal inspection path. Based on the patrol road data, a set of high-coverage and high-efficiency inspection strategies is designed to ensure that all expected inspection targets can be effectively inspected. This involves optimization algorithms, coverage calculations, and path planning techniques to find the best inspection strategy.
[0117] Preferably, step S4 comprises the following steps:
[0118] Step S41: performing obstacle identification on the patrol vision data to obtain travel obstacle data;
[0119] Step S42: Formulate an avoidance strategy instruction for the traveling obstacle data to obtain obstacle avoidance strategy data;
[0120] Step S43: performing target monitoring on the patrol field data based on the preset key patrol object data to obtain target monitoring data;
[0121] Step S44: performing an abnormality analysis on the target monitoring data to obtain target abnormal monitoring data;
[0122] Step S45: constructing processing instructions for target abnormal monitoring data to generate abnormal processing strategy data;
[0123] Step S46: performing strategy fusion on the obstacle avoidance strategy data, the exception handling strategy data, the low visibility strategy data or the high visibility strategy data to obtain the robot execution strategy data; uploading the robot execution strategy data to the robot control device to execute the robot patrol task.
[0124] By identifying obstacles in the path of travel, the robot can adjust the path of travel in time to avoid collision or obstruction. The avoidance strategy can enable the robot to quickly and safely bypass obstacles when encountering them, thereby ensuring the continuity and integrity of the task. Target monitoring can help the robot identify key objects in the patrol area, such as safety hazards or abnormal situations. The abnormal analysis and processing instruction construction can enable the robot to take corresponding measures in time when abnormal situations are found, such as alarming, notifying relevant personnel, or executing specific response strategies. After integrating various strategy data, the robot can comprehensively consider factors such as obstacle avoidance, abnormal handling, low visibility and high visibility according to actual conditions, and formulate the optimal patrol execution strategy, which can improve the robot's response ability in complex environments and ensure the efficient completion of patrol tasks. The intelligence level and adaptability of the robot's patrol tasks are improved, so that it can better cope with various complex situations and ensure the smooth progress and safe completion of patrol tasks.
[0125] As an example of the present invention, refer to Figure 4 As shown, in this example, step S4 includes:
[0126] Step S41: performing obstacle identification on the patrol vision data to obtain travel obstacle data;
[0127] In an embodiment of the present invention, features representing obstacles are extracted through specific algorithms or techniques. These features can be information such as edges, colors, textures, etc. in an image, or features such as clustering and density in a point cloud. Based on the extracted features, obstacles are identified using machine learning algorithms, computer vision techniques, or deep learning models. This involves tasks such as classification, segmentation, and detection to determine which parts of an image or point cloud are obstacles. Obstacles are identified, and their location, shape, size, type, and other information are marked, and converted into travel obstacle data. These data can be further used to formulate avoidance strategies to ensure that the robot can safely bypass obstacles and continue its patrol mission, and the identified and marked travel obstacle data is output for use in subsequent steps.
[0128] Step S42: Formulate an avoidance strategy instruction for the traveling obstacle data to obtain obstacle avoidance strategy data;
[0129] In the embodiment of the present invention, the characteristics of the robot's environment, such as terrain, space limitations, other moving objects, etc., are comprehensively considered to more accurately evaluate the impact of obstacles on the robot's movement. According to the location and characteristics of the obstacles and the results of environmental perception, the best path for the robot to bypass the obstacles is determined. This involves using a planning algorithm, such as the Dijkstra algorithm, to find a path that can safely bypass the obstacles. Based on the results of path planning, a specific obstacle avoidance strategy is formulated, including control instructions such as steering angle and speed adjustment. These strategies should ensure that the robot safely bypasses obstacles while maintaining the efficiency of the task. The obstacle avoidance strategy is converted into an instruction form that the robot can understand and execute, such as parameters such as speed and steering angle, and the generated obstacle avoidance instructions are transmitted to the robot control system to monitor the process of the robot executing the obstacle avoidance strategy. During the execution process, the environmental information is continuously updated, and the obstacle avoidance strategy is adjusted as needed to cope with changes and new obstacles.
[0130] Step S43: performing target monitoring on the patrol field data based on the preset key patrol object data to obtain target monitoring data;
[0131] In an embodiment of the present invention, data of key inspection objects are collected and established, including information such as the characteristics, location, and behavior patterns of the objects. Features include color, shape, size, motion pattern, and temperature. The field of view data is preprocessed, including data cleaning, noise removal, and data standardization. Ensure that the data quality meets the requirements of subsequent target monitoring. Extract features from the preprocessed field of view data, such as using computer vision technology to extract features such as color and shape from images; use machine learning models to extract features such as behavior patterns from sensor data. Match the extracted features with the preset key inspection object data, such as rule-based matching and machine learning models. Through the matching results, identify the target that matches the preset key inspection object. In this process, a threshold can be set to judge the credibility of the matching result, and the identified target can be tracked to continuously monitor its position and behavior. This includes the use of tracking algorithms such as Kalman filtering and Mean-Shift. Output the target monitoring data in an appropriate form, such as the position, speed, and direction information of the target.
[0132] Step S44: performing an abnormality analysis on the target monitoring data to obtain target abnormal monitoring data;
[0133] In an embodiment of the present invention, target monitoring data is collected, including information such as the position, speed, direction, etc. of the target, as well as data related to the environment, such as temperature and humidity. Features are extracted from the target monitoring data, such as the target's motion pattern, speed change, and dwell time. Based on historical data or domain knowledge, a benchmark model is established to describe the normal behavior pattern of the target. The target monitoring data is analyzed using an anomaly detection algorithm to identify abnormal situations that do not conform to the benchmark model. Commonly used anomaly detection methods include statistical-based methods (such as Z-score, box plots), and machine learning methods (such as clustering, support vector machines, and random forests). The detected abnormal situations are marked in the target monitoring data for subsequent analysis and processing, and the detected abnormal situations are analyzed in detail, including the type, cause, and impact of the abnormality.
[0134] Step S45: constructing processing instructions for target abnormal monitoring data to generate abnormal processing strategy data;
[0135] In the embodiment of the present invention, the abnormal monitoring data is analyzed in detail to determine the type, frequency, duration and impact range of the abnormality. According to the analysis results of the abnormal data, a processing plan for each abnormal situation is formulated. These plans include adjusting equipment parameters, taking temporary measures, and starting the backup system. The abnormal handling plan is converted into a specific processing instruction. The instruction should include clear operating steps, execution conditions, risk assessment, and related notification and reporting requirements. The constructed processing instructions are submitted to the relevant departments or personnel for verification and approval. Ensure the rationality, operability and safety of the processing instructions. Once the processing instructions are verified and approved, they are issued to the executors. Ensure that each executor clearly understands his or her responsibilities and operating procedures. According to the requirements and operating procedures of the processing instructions, the corresponding abnormal handling plan is executed. Ensure that the abnormal situation is responded to in a timely and accurate manner, and take appropriate measures to handle it. The abnormal handling process is recorded and summarized, including the description of the abnormal situation, the execution of the processing instructions, and the evaluation of the processing effect.
[0136] Step S46: performing strategy fusion on the obstacle avoidance strategy data, the exception handling strategy data, the low visibility strategy data or the high visibility strategy data to obtain the robot execution strategy data; uploading the robot execution strategy data to the robot control device to execute the robot patrol task.
[0137] In an embodiment of the present invention, obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data or high visibility strategy data are collected, and the collected strategy data are preprocessed, including data cleaning, format unification, and missing value processing, to ensure the accuracy and consistency of the data. The obstacle avoidance strategy data, exception handling strategy data, low visibility strategy data or high visibility strategy data are fused, that is, there are two situations. The first situation is: when the field of view visibility is low, the obtained strategy is low visibility strategy data, that is, the obstacle avoidance strategy data, exception handling strategy data and low visibility strategy data are fused; the second situation is: when the field of view visibility is high, the obtained strategy is high visibility strategy data, that is, the obstacle avoidance strategy data, exception handling strategy data and high visibility strategy data are fused. The data is integrated according to weight allocation and priority sorting. According to the fused data, the robot execution strategy data is generated. These data should include the action plan, priority, and action instructions of the robot in different situations. The generated robot execution strategy data is uploaded to the robot control device, the robot control device is started, and the patrol task is performed. The robot will follow the corresponding action plan and instructions during the patrol process according to the uploaded execution strategy data. During the robot's patrol task, the robot's status and execution status are monitored in real time. As needed, the execution strategy data is adjusted in a timely manner to deal with emergencies or optimize the task execution effect. The relevant data of the robot's patrol task execution, including the execution path, problems encountered, and processing results, is recorded, and the execution status is fed back to the relevant departments or personnel in a timely manner.
[0138] In this specification, a patrol track acquisition device is provided, which is used to execute the patrol track acquisition method as described above, including:
[0139] The road reconstruction module is used to obtain the historical patrol trajectory data of the factory area; perform geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain the geographical feature data of the factory area; perform road network reconstruction on the historical patrol trajectory data based on the geographical feature data of the factory area to generate patrol road network data;
[0140] The vision acquisition module is used to simulate the patrol road network data of the robot according to the geographical feature data of the factory area, generate the expected patrol data; obtain the patrol vision data; perform the vision visibility analysis on the patrol vision data, and obtain the visibility result data;
[0141] The adaptive trajectory acquisition module is used to perform trajectory geographic inference on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data when the visibility result data is low visibility data; and to perform trajectory vision inference on the patrol vision data and the expected patrol vision data based on the high visibility data to generate high visibility strategy data when the visibility result data is high visibility data;
[0142] The intelligent control module is used to design an obstacle avoidance strategy for the patrol field of view data to obtain obstacle avoidance strategy data; construct an exception handling plan for the patrol field of view data to generate exception handling strategy data; upload the obstacle avoidance strategy data, exception handling strategy data, low-visibility strategy data and high-visibility strategy data to the robot control device to execute the robot patrol task.
[0143] The invention is beneficial in that by analyzing the historical patrol trajectory data, the conventional patrol routes and patrol frequencies in the factory area can be understood, so as to better plan the patrol path of the robot. The analysis of the geographic feature data can help identify the terrain, buildings and other geographic features in the factory area, which is helpful to optimize the design of the robot patrol route and the formulation of the obstacle avoidance strategy. The road network reconstruction of the historical patrol trajectory data based on the geographic feature data can generate more accurate patrol road network data, which is helpful for the robot to plan the patrol path more effectively. By simulating the robot patrol process, the effects of different routes and strategies can be evaluated, the patrol plan can be optimized, and preparations can be made for subsequent actual patrol tasks. Analyzing the visibility of the patrol field can help determine the observation range of the robot under different environmental conditions, help adjust the patrol strategy to cope with different visibility conditions, and formulate different strategies to deal with low visibility and high visibility conditions according to the visibility result data, so as to ensure that the robot can effectively perform patrol tasks in various environments. The design of the obstacle avoidance strategy can help the robot avoid collision with obstacles during the patrol process, and ensure the smooth execution of the patrol task. The formulation of the abnormal handling strategy can help the robot make the correct response when encountering abnormal situations, and ensure the safety and effectiveness of the patrol task. Uploading various strategy data to the robot's control device can enable the robot to make timely decisions according to the real-time environmental conditions, thereby improving the execution efficiency and success rate of patrol tasks. Therefore, the present invention combines the key steps of geographic specificity analysis, patrol simulation, visibility analysis, trajectory speculation, strategy generation and robot control, and provides a method for obtaining patrol trajectories using robot patrols, which comprehensively considers geographical features, patrol vision and strategy design, and improves the efficiency and safety of patrol tasks and the accuracy and reliability of patrol trajectories.
[0144] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0145] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A patrol trajectory acquisition method, characterized in that: The following steps are involved: Step S1: Obtaining historical patrol trajectory data of the factory area; Conduct geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain the geographical feature data of the factory area; Reconstruct the road network of historical patrol trajectory data based on the factory area's geographic feature data to generate patrol road network data; Step S2: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to generate expected patrol data; obtaining patrol field data; performing field visibility analysis on patrol field data to obtain visibility result data; Step S3: When the visibility result data is low visibility data, trajectory geographic inference is performed on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data; when the visibility result data is high visibility data, trajectory vision inference is performed on the patrol vision data and the expected patrol data based on the high visibility data to generate high visibility strategy data; Step S4: Designing an obstacle avoidance strategy for the patrol vision data to obtain obstacle avoidance strategy data; Construct an exception handling plan for patrol vision data and generate exception handling strategy data; The obstacle avoidance strategy data, the exception handling strategy data, the low visibility strategy data or the high visibility strategy data are uploaded to the robot control device to execute the robot patrol task.
2. The patrol trajectory acquisition method according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: Check the factory historical patrol task log data to obtain the factory historical patrol trajectory data; Step S12: performing a trajectory curvature analysis on the historical patrol trajectory data of the factory area to obtain patrol trajectory curvature data; Step S13: Performing geographic feature evaluation on the patrol trajectory curvature data to generate factory area geographic feature data; Step S14: clustering similar trajectory segments of historical patrol trajectory data to obtain similar trajectory segment clustering data; Step S15: Perform spatial mapping on the factory area geographic feature data and similar trajectory segment clustering data to generate patrol road network data.
3. The patrol trajectory acquisition method according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: performing robot patrol simulation on patrol road network data according to factory area geographic feature data to obtain initial patrol simulation data; Step S22: simulating the initial patrol simulation data to generate the expected patrol data; Step S23: installing a field of view camera on the robot to obtain patrol field of view data; Step S24: performing perspective distortion correction on the patrol visual field data to obtain corrected patrol visual field data; Step S25: Performing a visibility analysis on the corrected patrol visual field data based on the expected patrol data to obtain visibility result data.
4. The patrol trajectory acquisition method according to claim 3 is characterized in that: Step S25 includes the following steps: Step S251: extracting expected visual field data from the expected patrol data to obtain expected patrol visual field data; Step S252: performing data row alignment on the expected patrol vision data and the corrected patrol vision data to obtain row-aligned patrol vision image data; Step S253: performing single-view stereo matching on the row-aligned patrol field image data to generate single-view stereo matching depth data; Step S254: performing three-dimensional reconstruction simulation on the corrected patrol field of view data according to the single-view stereo matching depth data to obtain three-dimensional field of view geometric simulation data; Step S255: Estimating the visibility of the corrected patrol field of view data based on the field of view three-dimensional geometric simulation data to generate visibility result data.
5. The patrol trajectory acquisition method according to claim 4 is characterized in that: Step S253 includes the following steps: Step S2531: Calculate the grayscale difference cost of the row-aligned patrol field image data to obtain matching cost data; Step S2532: performing pixel cost aggregation on the row-aligned patrol view image data according to the matching cost data to obtain parallax minimum energy data; Step S2533: performing time difference estimation on the parallax minimum energy data to obtain the minimum cost parallax value; Step S2534: converting the minimum cost disparity value into depth information to obtain single-view stereo matching depth data.
6. The patrol trajectory acquisition method according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: when the visibility result data is low visibility data, extracting the ground vision data from the patrol vision data based on the low visibility data to obtain the ground vision data; Step S32: performing real-time geographic feature analysis on the ground view data to obtain real-time geographic feature data; Step S33: Designing a geographic trajectory strategy for the real-time geographic feature data based on the plant area geographic feature data to generate low-visibility strategy data; Step S34: when the visibility result data is high visibility data, continuously extract frames of the patrol vision data based on the high visibility data to obtain patrol vision extracted frame image data; Step S35: Designing a visual field trajectory strategy for the patrol visual field frame image data based on the expected patrol data to generate high visibility strategy data.
7. The patrol trajectory acquisition method according to claim 6, characterized in that: Step S33 includes the following steps: Step S331: reconstructing the surface features of the real-time geographic feature data to obtain ground elevation information data; Step S332: Positioning and matching the ground elevation information data based on the plant area geographic feature data to generate real-time positioning data; Step S333: performing trajectory filtering on the real-time positioning data to obtain low-visibility patrol trajectory data; Step S334: Enumerate feasible roads for the real-time geographic feature data based on the plant area geographic feature data to generate feasible road data; Step S335: performing a traffic risk assessment on the feasible road data to obtain road risk data; Step S336: Design a safety plan for feasible road data based on the road risk data and generate low-visibility strategy data.
8. The patrol trajectory acquisition method according to claim 6, characterized in that: Step S35 includes the following steps: Step S351: extracting the visible area of the patrol field frame image data to obtain visible area data; Step S352: performing regional environment matching on the expected patrol data based on the visible area data to obtain matching environment area data; Step S353: marking the area point information of the matching environment area data to generate marked area point data; Step S354: performing mark point concatenation on the marked area point data to obtain high-visibility patrol track data; Step S355: acquiring the expected inspection target for the expected patrol data to obtain the expected inspection target data; Step S356: Perform path topology on the marked area point data according to the expected inspection target data to obtain patrol road data; Step S357: construct an extreme coverage inspection strategy for the patrol road data to generate high visibility strategy data.
9. The patrol trajectory acquisition method according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: performing obstacle identification on the patrol vision data to obtain travel obstacle data; Step S42: Formulate an avoidance strategy instruction for the traveling obstacle data to obtain obstacle avoidance strategy data; Step S43: performing target monitoring on the patrol field data based on the preset key patrol object data to obtain target monitoring data; Step S44: performing an abnormality analysis on the target monitoring data to obtain target abnormal monitoring data; Step S45: constructing processing instructions for target abnormal monitoring data to generate abnormal processing strategy data; Step S46: performing strategy fusion on the obstacle avoidance strategy data, the exception handling strategy data, the low visibility strategy data or the high visibility strategy data to obtain the robot execution strategy data; uploading the robot execution strategy data to the robot control device to execute the robot patrol task.
10. A patrol track acquisition device, characterized in that: Used to execute the patrol track acquisition method as claimed in claim 1, the patrol track acquisition device comprises: The road reconstruction module is used to obtain the historical patrol trajectory data of the factory area; perform geographic specificity analysis on the historical patrol trajectory data of the factory area to obtain the geographical feature data of the factory area; perform road network reconstruction on the historical patrol trajectory data based on the geographical feature data of the factory area to generate patrol road network data; The vision acquisition module is used to simulate the patrol road network data of the robot according to the geographical feature data of the factory area, generate the expected patrol data; obtain the patrol vision data; perform the vision visibility analysis on the patrol vision data, and obtain the visibility result data; The adaptive trajectory acquisition module is used to perform trajectory geographic inference on the patrol vision data and the factory geographic feature data based on the low visibility data to generate low visibility strategy data when the visibility result data is low visibility data; and to perform trajectory vision inference on the patrol vision data and the expected patrol vision data based on the high visibility data to generate high visibility strategy data when the visibility result data is high visibility data; The intelligent control module is used to design an obstacle avoidance strategy for the patrol field of view data to obtain obstacle avoidance strategy data; construct an exception handling plan for the patrol field of view data to generate exception handling strategy data; upload the obstacle avoidance strategy data, exception handling strategy data, low-visibility strategy data and high-visibility strategy data to the robot control device to execute the robot patrol task.
Citation Information
Patent Citations
Night patrol track obtaining method and device
CN106294724A
Field inspection method, device and equipment and storage medium
CN111508097A
Substation inspection robot obstacle avoidance method based on digital twinborn technology
CN114022798A
Road patrol quantitative examination system and method based on GPS track positioning
CN115630056A
Multi-scene robot intelligent inspection method
CN117311369A
Cited By
AGV material circulation scheduling system of 12-axis PCB drilling machine
CN120181536A
