Train inspection robot inspection control method, device, robot and storage medium
Through point cloud registration and obstacle avoidance path planning technology, the problem of positioning errors in the navigation and robotic arm movement of the non-rail train bottom inspection robot is solved, and the precise positioning and safe movement of the robotic arm are achieved, improving work efficiency and flexibility.
Patent Information
- Application Number
- CN202211728231.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-12-29
AI Technical Summary
Existing non-rail train inspection robots have positioning errors in navigation and robotic arm motion path planning, which results in the inability to accurately reach the parking point and may cause the robotic arm to collide with the environment.
By setting the preset parking point and the preset collection and photographing point of the robotic arm, the point cloud registration algorithm is used to obtain the spatial transformation matrix RT, and the tunnel and vehicle bottom models are loaded into the planning space of the robotic arm to generate a model based on obstacle avoidance. the optimal planned path.
It improves the flexibility and work efficiency of the robot, reduces manual intervention, ensures the safe and free movement of the robotic arm in complex environments, and reduces labor and time costs.
Smart Images

Figure CN116079722B
Abstract
Description
Technical Field
[0001] The present application relates to the field of robot control technology, and in particular, to a train inspection robot inspection control method, device, robot and storage medium. Background Art
[0002] Currently, the inspection of the bottom of the train is generally carried out through manual inspection, inspection by rail-type train bottom inspection robots or inspection by non-rail-type train bottom inspection robots, etc. Among them, the inspection environment of the bottom inspection robot is to inspect the train in the tunnel under the train.
[0003] The non-track train inspection robot uses distance sensors to build real-time maps and navigate to the designated parking point. The robot is manually controlled to reach the inspection position at the bottom of the train, and the distance between the current chassis position and the front of the train is recorded through the bottom magnetic strip. Then, through the teaching method of the robotic arm, the movement trajectory of the robotic arm is recorded to generate a work file. When the train arrives at the inspection point again, since the position where the train stops on the track is different each time, the inspection robot must first be manually moved to the head of the train, and then the chassis of the inspection robot is moved to the designated position through the pre-recorded inspection parking point. The robotic arm executes the pre-taught motion trajectory work file, performs motion collection of the points that need to be photographed, saves the 2D pictures and 3D point cloud information of the corresponding points, and transmits them to the algorithm for unqualified train inspection.
[0004] For non-track robots, since the navigation algorithm relies on external devices such as IMU odometers and laser radars, the final parking point is still offset by the calibration error of the positioning device, the influence of the environment, the uneven surface of the pit road, and the calculation error of the car chassis itself, and cannot guarantee accurate arrival at the parking point. If the robot arm is operated according to the manual teaching method, the environment around the robot arm caused by the error is inconsistent with the environment of the manual teaching path, and a collision is very likely to occur. Summary of the invention
[0005] In order to solve one of the above-mentioned technical defects, the embodiments of the present application provide a train inspection robot inspection control method, device, robot and storage medium.
[0006] According to a first aspect of an embodiment of the present application, a train inspection robot bottom inspection control method is provided, the method comprising:
[0007] Setting a preset parking position of the inspection robot and a preset collection and photographing position of the robot arm of the inspection robot at the preset parking position;
[0008] When the bottom inspection robot arrives at the preset parking point, it collects the current tunnel information and the current vehicle bottom information, and aligns them with the pre-collected tunnel model and vehicle bottom model through the point cloud registration algorithm to obtain the spatial transformation matrix RT of the tunnel and vehicle bottom where the robot arm is currently located;
[0009] The tunnel model and the vehicle bottom model are loaded into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid to obtain the optimal planning path of the robot arm based on obstacle avoidance;
[0010] Carry out a thorough inspection of the train based on the preset photo collection points and the optimal planned route.
[0011] In an optional embodiment of the present application, the method further comprises the step of loading the tunnel model and the vehicle bottom model into the planning space of the robot arm via the space transformation matrix RT and in the form of a three-dimensional space grid to obtain the optimal planning path of the robot arm based on obstacle avoidance:
[0012] The vehicle bottom model is expanded through the expansion algorithm, and the tunnel model and the expanded vehicle bottom model are loaded into the planning space of the robot arm through the space transformation matrix RT and the three-dimensional space grid form.
[0013] In an optional embodiment of the present application, the step of expanding the vehicle bottom model by using an expansion algorithm in the method further includes:
[0014] The point cloud of the vehicle bottom model is traversed, and each point is voxel filtered. For each point, the point is taken as the center of the sphere and the preset expansion safety distance is taken as the radius. The point cloud within the sphere with the radius is calculated to see whether it meets the preset expansion requirements. If not, a point cloud is randomly generated to meet the preset expansion requirements.
[0015] In an optional embodiment of the present application, the method further comprises the step of loading the tunnel model and the vehicle bottom model into the planning space of the robot arm via the space transformation matrix RT and in the form of a three-dimensional space grid to obtain the optimal planning path of the robot arm based on obstacle avoidance:
[0016] In the planning space of the robot arm, determine the location of the non-obstacle area, generate a random point, and grow it;
[0017] Growth includes:
[0018] Taking the random point as the target, traverse the existing nodes on the growth tree, calculate the distance from each existing node to the random point, and filter out the nearest point;
[0019] Take the line connecting the nearest point and the random point as the growth direction, grow from the nearest point to the target point and generate a growth point, and judge whether the growth point collides with the obstacle; if no collision occurs, add the growth point to the growth tree; if a collision occurs, remove the growth point;
[0020] After the addition or removal of growth points is completed, new random points are generated and growth is performed based on the new random points to obtain the optimal planning path.
[0021] In an optional embodiment of the present application, the method further includes: the growth step size is a fixed value.
[0022] In an optional embodiment of the present application, the method further comprises the steps of collecting current tunnel information and current vehicle bottom information, and registering them with the pre-collected tunnel model and vehicle bottom model through a point cloud registration algorithm:
[0023] The correspondence between the two pairs of point clouds, namely the current tunnel information and the tunnel model, and the current vehicle bottom information and the vehicle bottom model, is found in a greedy manner, and the rotation relationship parameter R and the translation relationship parameter t are further calculated. Point cloud registration is performed based on the rotation relationship parameter R and the translation relationship parameter t.
[0024] In an optional embodiment of the present application, the step of setting a preset parking position of the inspection robot and a preset collection and photographing position of the mechanical arm of the inspection robot at the preset parking position in the method further includes:
[0025] When setting the preset parking position of the inspection robot, the position of the chassis of the inspection robot relative to the charging pile of the inspection robot is recorded to set the preset parking position.
[0026] According to a second aspect of the embodiment of the present application, a train inspection robot inspection control device is provided, the device comprising a preset point setting module, a point cloud registration module, an obstacle avoidance path planning module and an inspection module; wherein,
[0027] A preset point setting module is used to set a preset parking point of the inspection robot and a preset collection and photographing point of the mechanical arm of the inspection robot under the preset parking point;
[0028] The point cloud registration module is used to collect the current tunnel information and the current vehicle bottom information when the bottom inspection robot arrives at the preset parking point, and register them with the pre-collected tunnel model and vehicle bottom model through the point cloud registration algorithm to obtain the spatial transformation matrix RT of the tunnel and vehicle bottom where the robot arm is currently located;
[0029] The obstacle avoidance path planning module is used to load the tunnel model and the vehicle bottom model into the planning space of the robot arm through the space transformation matrix RT and the three-dimensional space grid form to obtain the optimal planning path of the robot arm based on obstacle avoidance;
[0030] The basic inspection module is used to conduct basic inspections on trains based on preset photo collection points and the optimal planned path.
[0031] According to the third aspect of the embodiment of the present application, a bottom inspection robot is provided, comprising: a memory; a processor; and a computer program; wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the steps of any method as in the first aspect of the embodiment of the present application.
[0032] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored; the computer program is executed by a processor to implement the steps of any method of the first aspect of the embodiment of the present application.
[0033] The train inspection robot inspection control method provided in the embodiment of the present application has the following beneficial effects:
[0034] 1. Through the method of this application, for non-track robots, there is no need to manually move the robots in the later collection process, the flexibility of the robots is greatly improved, and the range of activities is no longer limited by the rails. In theory, they can operate in the entire workshop. This greatly improves work efficiency, time cost and subsequent maintenance cost;
[0035] 2. Through the method of the present application, non-track robots can work at a safe distance in complex environments, and the robot arm can move safely and freely in complex environments. No human intervention is required, which greatly reduces labor costs and time costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] Figure 1 A flow chart of a train inspection robot control method provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of the expansion of the vehicle bottom model provided in an embodiment of the present application;
[0039] Figure 3 Schematic diagram of the path planning provided in the embodiment of the present application Figure 1 ;
[0040] Figure 4 Schematic diagram of the path planning provided in the embodiment of the present application Figure 2 ;
[0041] Figure 5 Schematic diagram of the path planning provided in the embodiment of the present application Figure 3 ;
[0042] Figure 6Schematic diagram of the path planning provided in the embodiment of the present application Figure 4 ;
[0043] Figure 7 Schematic diagram of the path planning provided in the embodiment of the present application Figure 5 ;
[0044] Figure 8 A structural diagram of a train inspection robot control device provided in an embodiment of the present application;
[0045] Fig. 9 A schematic diagram of the internal structure of a bottom inspection robot provided in one embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0047] Currently, the inspection of the bottom of the train is generally carried out through manual inspection, inspection by rail-type train bottom inspection robots, or inspection by non-rail-type train bottom inspection robots.
[0048] The non-track train inspection robot uses distance sensors to build real-time maps and navigate to the designated parking point. The robot is manually controlled to reach the inspection position at the bottom of the train, and the distance between the current chassis position and the front of the train is recorded through the bottom magnetic strip. Then, through the teaching method of the robotic arm, the movement trajectory of the robotic arm is recorded to generate a work file. When the train arrives at the inspection point again, since the position where the train stops on the track is different each time, the inspection robot must first be manually moved to the head of the train, and then the chassis of the inspection robot is moved to the designated position through the pre-recorded inspection parking point. The robotic arm executes the pre-taught motion trajectory work file, performs motion collection of the points that need to be photographed, saves the 2D pictures and 3D point cloud information of the corresponding points, and transmits them to the algorithm for unqualified train inspection.
[0049] For non-track robots, since the navigation algorithm relies on external devices such as IMU odometers and laser radars, the final parking point is still offset by the calibration error of the positioning device, the influence of the environment, the uneven surface of the pit road, and the calculation error of the car chassis itself, and cannot guarantee accurate arrival at the parking point. If the robot arm is operated according to the manual teaching method, the environment around the robot arm caused by the error is inconsistent with the environment of the manual teaching path, and a collision is very likely to occur.
[0050] Please see Figure 1 Steps shown:
[0051] S1: Set a preset parking position of the inspection robot and a preset collection and photographing position of the robot arm of the inspection robot under the preset parking position. Optionally, when setting the preset parking position of the inspection robot, the position of the chassis of the inspection robot relative to the charging pile of the inspection robot is recorded to set the preset parking position.
[0052] In the specific implementation, the bogie and tunnel at the bottom of the train (the embodiment of the present application takes the motor vehicle as an example) are first modeled by a handheld 3D scanning device to generate a 3D model of the bottom of the car and the tunnel. Then the teaching is carried out, and the bottom inspection robot is moved to the bottom of the car that needs to be inspected. At the same time, the position of the chassis of the bottom inspection robot relative to the charging pile of the bottom inspection robot is recorded by navigation, odometer and other data at this time, which is used as the basis for the preset parking point. Further, the mechanical arm is moved to the designated collection point by manual dragging for recording. Finally, the preset parking point of the bottom inspection robot and the preset collection and photography points of all the mechanical arms under the preset parking point are obtained. When the actual maintenance is started later, the bottom inspection robot will directly reach the preset parking point to stop, and the mechanical arm will collect and take pictures according to the preset collection and photography points.
[0053] S2: When the bottom inspection robot arrives at the preset parking point, it collects the current tunnel information and the current vehicle bottom information, and aligns them with the pre-collected tunnel model and vehicle bottom model through the point cloud registration algorithm to obtain the spatial transformation matrix RT of the tunnel and vehicle bottom where the robot arm is currently located.
[0054] Specifically, the correspondence between the two pairs of point clouds, namely, the current tunnel information and the tunnel model, and the current vehicle bottom information and the vehicle bottom model, is found in a greedy manner, and the rotation relationship parameter R and the translation relationship parameter t are further calculated, and the point cloud is registered according to the rotation relationship parameter R and the translation relationship parameter t.
[0055] In the specific implementation, when the bottom inspection robot performs automatic collection, it will first reach the designated preset parking point through navigation algorithms and SLAM positioning. Due to errors caused by navigation algorithms and changes in the surrounding environment, it cannot be guaranteed that the preset parking point reached at this time based on the position relative to the bottom inspection robot charging pile and the parking point relative to the bottom of the vehicle during teaching are completely matched. Therefore, when the bottom inspection robot arrives at the parking point, it first collects the current bottom of the vehicle and tunnel information respectively through distance sensors (lidar and depth camera), and matches it with the tunnel model and bottom of the vehicle model collected in advance, that is, the 3D model of the bottom of the vehicle and the tunnel described in step S1 through an algorithm, and finally obtains the position information of the robot arm under the vehicle and the tunnel.
[0056] In some embodiments of the present application, a point cloud registration algorithm is used for registration to obtain the spatial transformation matrix RT of the tunnel where the robot arm is currently located and the bottom of the vehicle. The point cloud registration problem of the embodiment of the present application is described as:
[0057]
[0058] Where P s and P t are corresponding points in the source and target point clouds.
[0059] In the specific implementation, the correspondence between the points on the two point clouds is found in a greedy way. Optionally, the closest point can be found as the corresponding point. Based on this, after finding the correspondence between the points on the two point clouds, the R,t parameter is solved by LeastSquares;
[0060] The above steps are repeated alternately and the calculation is performed iteratively until convergence.
[0061] S3: The tunnel model and the vehicle bottom model are loaded into the planning space of the robot arm through the space transformation matrix RT and the three-dimensional space grid form to obtain the optimal planning path of the robot arm based on obstacle avoidance.
[0062] Optionally, the vehicle bottom model is expanded by an expansion algorithm, and the tunnel model and the expanded vehicle bottom model are loaded into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid. Specifically, the point cloud of the vehicle bottom model is traversed, and each point is subjected to point cloud voxel filtering. For each point, the point is taken as the center of the sphere, and the preset expansion safety distance is taken as the radius. It is calculated whether the point cloud within the sphere of the radius meets the preset expansion requirements. If not, a point cloud is randomly generated to meet the preset expansion requirements.
[0063] In the specific implementation, after performing the registration in step S2, the spatial position information of the tunnel and the bottom of the vehicle where the current robot arm is located (i.e., the spatial transformation matrix RT) can be obtained. The tunnel and bottom of the vehicle model collected in advance are loaded into the working space of the robot arm through the RT spatial transformation matrix.
[0064] In some embodiments of the present application, in order to ensure that the robot arm has a safe distance from the bottom of the vehicle and the wall of the tunnel and avoid errors caused by matching, the model can be expanded to add a safe working distance for the robot arm. Specifically, traverse the point cloud and perform the following operations on each point:
[0065] (1) Point cloud preprocessing: voxel filtering of point clouds;
[0066] (2) Find each point, take the point as the center of the sphere, set the expansion safety distance as the radius, and calculate whether the point cloud within the sphere of the radius meets the requirements;
[0067] (3) If not satisfied, a corresponding number of point clouds are randomly generated to meet the expansion requirements.
[0068] Figure 2 The expansion diagram of the vehicle bottom model provided in the embodiment of the present application is as follows: Figure 2 As shown, in the specific implementation, the expansion algorithm is used to Figure 2 The bottom model on the left side of the center is expanded by 10 cm to obtain the following Figure 2 The inflated underbody model is shown on the right.
[0069] In a specific implementation, the expanded model is subjected to spatial transformation of the registration result RT and then loaded into the planning space of the robot arm in the form of a three-dimensional space grid. The robot arm completes the obstacle avoidance function during the motion planning process.
[0070] Specifically, in some embodiments of the present application, in the planning space of the robot arm, the position of the non-obstruction area is determined, a random point is generated, and growth is performed;
[0071] Growth includes:
[0072] Taking the random point as the target, traverse the existing nodes on the growth tree, calculate the distance from each existing node to the random point, and filter out the nearest point;
[0073] Take the line connecting the nearest point and the random point as the growth direction, grow from the nearest point to the target point and generate a growth point, and judge whether the growth point collides with the obstacle; if no collision occurs, add the growth point to the growth tree; if a collision occurs, remove the growth point;
[0074] After the addition or removal of growth points is completed, new random points are generated and growth is performed based on the new random points to obtain the optimal planning path.
[0075] In the specific implementation, Figure 3 As shown, the figure shows the starting point (left point) and end point (right point) of the end axis of the robot arm in the planning space of the robot arm, and the obstacles are represented by black elliptical parts.
[0076] like Figure 4 As shown in the figure, in the planning space of the robot arm, the position of the non-obstacle area is determined, and a random point (a "cross" point) is randomly generated. Taking the random point just generated as the target, traverse the existing nodes on the growth tree, calculate the distance from each node to the random point, and select the node with the smallest distance as the closest point. Specifically, at this time, there is only the starting point on the tree, so the starting point is directly selected as the closest point.
[0077] like Figure 5As shown in the figure, the line connecting the nearest point and the random point is the growth direction. The growth from the nearest point to the target is called the step length. Specifically, the step length of each growth is fixed and is set according to the situation. A growth point of one step length is generated along the growth direction from the nearest point at that time, which is the starting point. It is determined whether the growth point collides with the obstacle. If not, the growth point is added to the tree. If a collision occurs, it is removed.
[0078] like Figure 6-7 As shown, random points are generated again and the above steps are repeated to select the optimal planning path.
[0079] Please continue to see Figure 1 :
[0080] S4: Perform a basic inspection of the train based on the preset photo collection points and the optimal planned path.
[0081] In the specific implementation, the robot arm completes motion planning and collision detection through the aforementioned steps, teaches a collision-free and time-optimal motion trajectory for the previously taught collection points, and performs collection and bottom inspection.
[0082] To summarize, the present application proposes a train inspection robot undercover control method, which abandons the previous method of recording the robot arm's motion path to generate a work file through manual teaching, and repeatedly executing the work file. Instead, it records the joint posture of the robot arm at each point that needs to be photographed through manual teaching. When the undercover inspection robot reaches the designated position again, the robot arm first obtains the surrounding tunnel and vehicle bottom information through environmental perception, and adds these three-dimensional point cloud information in the form of a three-dimensional grid to the planning environment of the robot arm. The robot arm plans an optimal motion path without collision through collision detection and motion planning, and sends it to the robot arm control system for control, and reaches the designated point to collect data.
[0083] Furthermore, in a specific implementation, the inspection of the track-type train bottom inspection robot refers to laying a rail with a magnetic strip at the bottom of the train, and moving the robot chassis to the designated position. The robot is manually controlled to reach the inspection position at the bottom of the train, and the distance between the current chassis position and the front of the train is recorded through the bottom magnetic strip. Then, through the teaching method of the robotic arm, the motion trajectory of the robotic arm is recorded to generate a work file. When the train arrives at the inspection point again, since the position where the train stops on the rails is different each time, the bottom inspection robot must first be manually moved to the head of the train, and then the bottom inspection robot chassis is moved to the designated position through the pre-recorded inspection stop position. The robotic arm executes the pre-taught motion trajectory work file, performs motion acquisition of the points that need to be photographed, saves the 2D images and 3D point cloud information of the corresponding points, and transmits them to the algorithm for unqualified train inspection.
[0084] In specific implementation, for the inspection and maintenance method of rail-type train inspection robots, during each collection process, due to the different parking positions of the train each time, it is necessary to move the inspection robot to the front position in a human-assisted manner in order to execute the previously taught work file. However, since the position to reach the front of the train is manually determined, there is an error in the arrival of the inspection robot at the designated work position. If the error is too large, it will cause the robot arm to collide when running the taught work file. In addition, the robot arm must run the trajectory in the manner of manual teaching, which means that the optimal path of the robot arm needs to be manually judged during the manual teaching process. The optimal movement path and movement time of the robot arm cannot be guaranteed. And the robot arm must collect all taught points, and cannot selectively collect some points.
[0085] The control method for the maintenance of non-track-type train underbody inspection robots has been shown in one of the aforementioned embodiments of the present application. The present application continues to provide another embodiment to further illustrate the applicability of the present application to the maintenance of track-type train underbody inspection robots.
[0086] In this embodiment, the bogie and tunnel at the bottom of the train (in this embodiment, the motor vehicle is used as an example) are first modeled by a handheld 3D scanning device to generate a 3D model of the bottom of the vehicle and the tunnel. Then, a teaching is performed by moving the bottom inspection robot through the track to the bottom of the vehicle that needs to be inspected, and at the same time, the position of the chassis of the bottom inspection robot relative to a preset starting point is recorded by the odometer and other data at this time, which is used as the basis for the preset parking point. Further, the mechanical arm is moved to the designated collection point by manual dragging for recording. Finally, the preset parking point of the bottom inspection robot and the preset collection and photography points of all the mechanical arms under the preset parking point are obtained. When the actual maintenance is started later, the bottom inspection robot will directly reach the preset parking point to stop, and the mechanical arm will collect and take pictures according to the preset collection and photography points.
[0087] When the bottom inspection robot performs automatic collection, it will first reach the designated preset parking point through the track according to the previously recorded position of the bottom inspection robot's chassis relative to a preset starting point. Due to errors caused by changes in the surrounding environment, it cannot be guaranteed that the preset parking point reached at this time based on the position relative to the bottom inspection robot's charging pile will completely match the parking point during teaching. Therefore, when the bottom inspection robot arrives at the parking point, it first collects the current vehicle bottom and tunnel information through distance sensors (lidar and depth camera), and aligns it with the previously collected tunnel model and vehicle bottom model through the point cloud registration algorithm, and finally obtains the position information of the robot arm under the vehicle and in the tunnel.
[0088] After registration, the spatial position information of the tunnel and the bottom of the vehicle where the current robot is located (i.e., the spatial transformation matrix RT) can be obtained. The tunnel and bottom of the vehicle model collected in advance are loaded into the workspace of the robot through the RT spatial transformation matrix.
[0089] In order to ensure that the robot arm has a safe distance from the vehicle bottom and the tunnel wall in the tunnel and avoid errors caused by matching, the model can be expanded to add a safe working distance for the robot arm. After the expanded model is transformed in space by the registration result RT, it is loaded into the planning space of the robot arm in the form of a three-dimensional space grid. The robot arm completes the obstacle avoidance function during the motion planning process.
[0090] The robot arm completes motion planning and collision detection through the aforementioned steps, teaches a collision-free and time-optimal motion trajectory for the previously taught collection points, and performs collection and bottom inspection.
[0091] For the specific description of the above-mentioned track-type inspection robot's bottom inspection control method, please refer to the above definition of the non-track-type bottom inspection robot's bottom inspection control method, which will not be repeated here.
[0092] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0093] See also Figure 8 An embodiment of the present application provides a train inspection robot inspection control device, including a preset point setting module 10, a point cloud registration module 20, an obstacle avoidance path planning module 30 and a train inspection module 40; wherein,
[0094] The preset point setting module 10 is used to set the preset parking point of the inspection robot and the preset collection and photographing point of the mechanical arm of the inspection robot under the preset parking point;
[0095] The point cloud registration module 20 is used to collect the current tunnel information and the current vehicle bottom information when the bottom inspection robot arrives at the preset parking point, and register them with the pre-collected tunnel model and vehicle bottom model through the point cloud registration algorithm to obtain the spatial transformation matrix RT of the tunnel and vehicle bottom where the robot arm is currently located;
[0096] The obstacle avoidance path planning module 30 is used to load the tunnel model and the vehicle bottom model into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid, so as to obtain the optimal planning path of the robot arm based on obstacle avoidance;
[0097] The basic inspection module 40 is used to perform a basic inspection of the train according to preset photo collection points and the optimal planned path.
[0098] For the specific definition of the above-mentioned train inspection robot inspection control device, please refer to the definition of the train inspection robot inspection control method above, which will not be repeated here. Each module in the above-mentioned train inspection robot inspection control device can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the inspection robot in the form of hardware, or can be stored in the memory of the inspection robot in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0099] In one embodiment, a robot for inspection is provided. The robot for inspection may be a non-track type train inspection robot or a track type train inspection robot. Specifically, the internal structure of the robot for inspection may be as follows: Fig. 9 As shown. The inspection robot includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the inspection robot is used to provide computing and control capabilities. The memory of the inspection robot includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the inspection robot is used to store data. The network interface of the inspection robot is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for controlling the inspection of a train inspection robot as described above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the method for controlling the inspection of a train inspection robot as described above is implemented.
[0100] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above-mentioned train inspection robot undercarriage inspection control method can be implemented.
[0101] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, C language, VHDL language, Verilog language, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0102] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0105] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0106] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A train inspection robot inspection control method, characterized in that: include: Setting a preset parking position of the inspection robot and a preset collection and photographing position of the mechanical arm of the inspection robot under the preset parking position; When the bottom inspection robot arrives at the preset parking point, the current tunnel information and the current vehicle bottom information are collected, and the pre-collected tunnel model and vehicle bottom model are registered through a point cloud registration algorithm to obtain the spatial transformation matrix RT of the tunnel and the vehicle bottom where the robot arm is currently located; further comprising: finding the correspondence between the two pairs of point clouds of the current tunnel information and the tunnel model, and the current vehicle bottom information and the vehicle bottom model in a greedy manner, and further calculating the rotation relationship parameter R and the translation relationship parameter t, and performing point cloud registration according to the rotation relationship parameter R and the translation relationship parameter t; The tunnel model and the vehicle bottom model are loaded into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid, so as to obtain the optimal planning path of the robot arm based on obstacle avoidance; further comprising: expanding the vehicle bottom model through an expansion algorithm, and loading the tunnel model and the expanded vehicle bottom model into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid; A basic inspection of the train is performed according to the preset photo collection points and the optimal planned path.
2. The train inspection robot inspection control method according to claim 1, characterized in that: The step of expanding the vehicle bottom model by an expansion algorithm further comprises: The point cloud of the vehicle bottom model is traversed, and after performing point cloud voxel filtering on each point, for each point, the point is taken as the center of a sphere and a preset expansion safety distance is taken as the radius, and it is calculated whether the point cloud within the sphere of the radius meets the preset expansion requirement. If not, a point cloud is randomly generated to meet the preset expansion requirement.
3. The train inspection robot inspection control method according to any one of claims 1-2, characterized in that: The step of loading the tunnel model and the vehicle bottom model into the planning space of the robot arm via the space transformation matrix RT and in the form of a three-dimensional space grid to obtain the optimal planning path of the robot arm based on obstacle avoidance further includes: In the planning space of the robot arm, determine the position of the non-obstacle area, generate a random point, and grow it; The growth includes: Taking the random point as the target, traverse the existing nodes on the growth tree, and calculate the distance from each existing node to the random point to screen out the nearest point; Taking the line connecting the nearest point and the random point as the growth direction, growing from the nearest point to the target point and generating a growth point, judging whether the growth point collides with an obstacle; if no collision occurs, adding the growth point to the growth tree; if a collision occurs, removing the growth point; After the addition or removal of the growth points is completed, new random points are generated, and the growth is performed according to the new random points to obtain the optimal planning path.
4. The train inspection robot inspection control method according to claim 3 is characterized in that: The growing further includes: a step size of the growing is a fixed value.
5. The train inspection robot inspection control method according to claim 1, characterized in that: The step of setting a preset parking position of the inspection robot and a preset collection and photographing position of the mechanical arm of the inspection robot under the preset parking position further includes: When setting the preset parking position of the inspection robot, the position of the chassis of the inspection robot relative to the charging pile of the inspection robot is recorded to set the preset parking position.
6. A train inspection robot undercarriage inspection control device, characterized in that: It includes preset point setting module, point cloud registration module, obstacle avoidance path planning module and bottom inspection module; among them, A preset point setting module, used to set a preset parking point of the inspection robot and a preset collection and photographing point of the mechanical arm of the inspection robot under the preset parking point; A point cloud registration module is used to collect current tunnel information and current vehicle bottom information when the bottom inspection robot arrives at the preset parking point, and to register with the pre-collected tunnel model and vehicle bottom model through a point cloud registration algorithm to obtain the spatial transformation matrix RT of the tunnel and vehicle bottom where the robot arm is currently located; further comprising: finding the correspondence between the two pairs of point clouds of the current tunnel information and the tunnel model, and the current vehicle bottom information and the vehicle bottom model in a greedy manner, and further calculating the rotation relationship parameter R and the translation relationship parameter t, and performing point cloud registration according to the rotation relationship parameter R and the translation relationship parameter t; The obstacle avoidance path planning module is used to load the tunnel model and the vehicle bottom model into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid, so as to obtain the optimal planning path of the robot arm based on obstacle avoidance; further comprising: expanding the vehicle bottom model through an expansion algorithm, and loading the tunnel model and the expanded vehicle bottom model into the planning space of the robot arm through the space transformation matrix RT and in the form of a three-dimensional space grid; The basic inspection module is used to perform a basic inspection of the train according to the preset photo collection points and the optimal planned path.
7. A bottom inspection robot, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon; the computer program is executed by a processor to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Control method and device for robot active obstacle avoidance and storage medium
CN111015656A
Cross-station track maintenance method, device and system, control center and storage medium
CN112706798A
Automatic driving path planning method and device, equipment and storage medium
CN113819917A
Complex curved surface structure part pose determination method
CN115100277A
Systems, methods, and media for remote trauma assessment
US20200194117A1
