Robot action video monitoring method and system
By obtaining the motion trajectory of the robot's fault type and driving the camera to capture the error state, the problem of high cost and large delay in tracking the motion trajectory of the robot's end effector in the existing technology is solved, and a more efficient video monitoring effect is achieved.
Patent Information
- Application Number
- CN202410462806.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, tracking the motion trajectory of the robot's end effector through image recognition methods is costly and delayed, and robot errors cannot be predicted. It is difficult to effectively monitor robot failures with existing methods.
By obtaining the motion trajectory of the robot's fault type, calculating the camera's motion trajectory and driving the camera to capture the error state, the camera pan-tilt and focus control are used to capture the robot error scene to achieve video surveillance.
It achieves more complete robot error context scene capture and error code understanding, reduces monitoring costs and improves monitoring efficiency.
Smart Images

Figure CN118540460A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of video monitoring technology, and in particular to a robot action video monitoring method and system. Background Art
[0002] In the prior art, the motion trajectory of the robot end effector is tracked by image recognition, which is costly, has a large delay, and cannot predict robot errors.
[0003] Patent document CN111531581B (application number: 202010342989.X) discloses a vision-based industrial robot fault motion detection method and system, wherein a vision-based industrial robot fault motion detection method includes the following steps: S1: collect industrial robot standard operation video and establish industrial robot standard operation mode video frame sequence; S2: collect industrial robot operation image in real time and obtain industrial robot real-time action image; S3: match the industrial robot real-time action image with the industrial robot standard operation mode video frame sequence, and determine whether there is an image in the industrial robot standard operation mode video frame sequence that is approximately matched with the industrial robot real-time action image. If so, execute S2, if not, execute S4; S4: control the industrial robot to stop urgently. The invention is to determine whether the robot state is abnormal through visual image analysis, and if abnormal, the robot stops urgently.
[0004] Patent document CN112109078A (application number: 202010563043.6) discloses a monitoring device having a camera that captures the actions of a robot device in video form. The monitoring device has: a camera that captures the actions of the robot device in video form; and an acceleration sensor that detects the operating state of the robot device. The storage control unit of the robot control device performs the following control: control of adding a time to the video captured by the camera to store it in the storage unit, and control of adding a time to the acceleration obtained from the acceleration sensor to store it in the storage unit. When the operating state of the robot device deviates from the reference operating state, the extraction unit extracts the video of the period before the departure from the reference operating state from the storage unit, and stores the extracted video in the storage unit. The patent determines whether the robot has deviated from the reference operating state by detecting whether the acceleration data is abnormal, and extracts the video that has deviated from the reference operating state; the invention determines whether the robot has deviated from the reference operating state by detecting whether the acceleration data is abnormal, and extracts the video that has deviated from the reference operating state. Summary of the invention
[0005] In view of the defects in the prior art, an object of the present invention is to provide a robot motion video monitoring method and system.
[0006] A robot motion video monitoring method provided by the present invention comprises:
[0007] Step S1: according to the robot fault type, obtain the motion trajectory of the robot end effector when the robot fails;
[0008] Step S2: Obtain the camera motion trajectory according to the motion trajectory of the robot end effector;
[0009] Step S3: driving the camera to move according to the camera motion trajectory to capture the error state of the robot.
[0010] Preferably, the step S1 adopts:
[0011] Define robot error code E = {e1,e2,...,e n};
[0012] The motion trajectory of the robot end effector corresponding to the robot error code is P = {p1e1, p2e2, ... p n e n};
[0013] Among them, p n e n Indicates the error code is e n The motion trajectory p n .
[0014] Preferably, the camera includes: camera pan / tilt control supporting up and down or left and right swing; camera focus control supporting focus zoom in or focus zoom out.
[0015] Preferably, the step S2 adopts: performing coordinate system conversion on the motion trajectory of the robot end effector to obtain the camera motion trajectory.
[0016] Preferably, the step S3 adopts: driving the camera to execute p i 'e i = {p′ 水平偏转 , p′ 垂直偏转 , p′ 焦距缩放}, to capture the robot's error state.
[0017] A robot motion video monitoring system provided by the present invention comprises:
[0018] Module M1: According to the robot fault type, obtain the motion trajectory of the robot end effector when the robot fails;
[0019] Module M2: Obtain the camera motion trajectory according to the motion trajectory of the robot end effector;
[0020] Module M3: drives the camera to move according to the camera's motion trajectory and captures the robot's error state.
[0021] Preferably, the module M1 adopts:
[0022] Define robot error code E = {e1,e2,...,e n};
[0023] The motion trajectory of the robot end effector corresponding to the robot error code is P = {p1e1, p2e2, ... p n e n};
[0024] Among them, p n e n Indicates the error code is e n The motion trajectory p n .
[0025] Preferably, the camera includes: camera pan / tilt control supporting up and down or left and right swing; camera focus control supporting focus zoom in or focus zoom out.
[0026] Preferably, the module M2 adopts: performing coordinate system conversion on the motion trajectory of the robot end effector to obtain the motion trajectory of the camera.
[0027] Preferably, the module M3 adopts: driving the camera to execute p i 'e i = {p′ 水平偏转 , p′ 垂直偏转 , p′ 焦距缩放}, to capture the robot's error state.
[0028] Compared with the prior art, the present invention has the following beneficial effects:
[0029] 1. The present invention calculates the complex camera motion trajectory based on the robot error code, and can capture the robot error context scene with more complete information;
[0030] 2. The present invention realizes video monitoring that can understand robot error codes. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0032] Figure 1 Schematic diagram of the robot motion video monitoring system.
[0033] Figure 2 The flowchart of the robot motion video monitoring method. DETAILED DESCRIPTION
[0034] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0035] Example 1
[0036] According to a robot motion video monitoring method provided by the present invention, Figure 1-2 As shown, including:
[0037] Step S1: according to the robot fault type, obtain the motion trajectory of the robot end effector when the robot fails;
[0038] Step S2: Obtain the camera motion trajectory according to the motion trajectory of the robot end effector;
[0039] Step S3: driving the camera to move according to the camera motion trajectory to capture the error state of the robot.
[0040] The camera is used to capture the status of the robot so as to diagnose the cause of the robot's failure, such as human error.
[0041] The motion trajectory of the end effector of the robot of the present invention is pre-programmed and the trajectory is known; there is no need to track the motion trajectory of the end effector of the robot through image recognition methods; the focus of the robot fault analysis of the present invention is not on the judgment of whether a fault occurs, but on the context scene analysis before and after the fault occurs; the context scene analysis that can be used for robot fault diagnosis is based on prior knowledge of fault diagnosis. When a robot fails, the robot program generates different operation error codes, and the camera needs to make different actions to capture different robot operation error scenes.
[0042] The present invention finds the "virtual" motion trajectory executed by the robot end corresponding to the error code according to the robot error code, converts the "virtual" trajectory into a camera motion trajectory, and the camera captures the effective scene video when the robot error occurs;
[0043] Specifically, the step S1 adopts: according to the robot fault, a "virtual" motion trajectory of the robot end effector is defined when the fault occurs; the robot "virtual" action is not the real motion trajectory of the robot, but a motion trajectory used to analyze the robot fault and observe the robot state; if a robot fault is detected, according to the robot error code, the corresponding robot end is extracted to execute the "virtual" motion trajectory;
[0044] Define robot error code E = {e1,e2,...,e n};
[0045] The motion trajectory of the robot end effector corresponding to the robot error code is P = {p1e1, p2e2, ... p n e n};
[0046] Among them, p n e n Indicates the error code is e n The motion trajectory p n .
[0047] Specifically, the camera includes: camera pan / tilt control supports up and down or left and right swing; camera focus control supports focus zoom in or focus zoom out.
[0048] Specifically, the step S2 adopts: performing coordinate system conversion on the motion trajectory of the robot end effector to obtain the motion trajectory of the camera.
[0049] If a robot failure is detected, the corresponding robot end is extracted to execute a "virtual" motion trajectory according to the robot error code;
[0050] Error code detected i , where e i ∈E={e1,e2,...e n};
[0051] Through coordinate system conversion, the "virtual" motion trajectory executed by the robot end is converted into the camera motion trajectory;
[0052] There is a motion trajectory p corresponding to error code e1 i ;
[0053] Among them, p i e i ∈P={p1e1,p2e2,...p n e n ,};
[0054] The p i e i Transform the coordinate system from the robot coordinate system to the camera coordinate system p i e i →p i 'e i ;
[0055] Specifically, the step S3 adopts: driving the camera to execute p i 'e i = {p′ 水平偏转, p′ 垂直偏转 , p′ 焦距缩放}, to capture the robot's error state.
[0056] When the current fault type of the robot is not within the preset defined range, the motion trajectory of the robot's end effector when the robot fails cannot be obtained. In this case, the present invention can control the camera gimbal to swing the camera up and down and left and right; it also supports zooming in and out of the focal length, thereby diagnosing the cause of the robot failure.
[0057] A robot motion video monitoring system provided by the present invention comprises:
[0058] Module M1: According to the robot fault type, obtain the motion trajectory of the robot end effector when the robot fails;
[0059] Module M2: Obtain the camera motion trajectory according to the motion trajectory of the robot end effector;
[0060] Module M3: drives the camera to move according to the camera's motion trajectory and captures the robot's error state.
[0061] The camera is used to capture the status of the robot so as to diagnose the cause of the robot's failure, such as human error.
[0062] The motion trajectory of the end effector of the robot of the present invention is pre-programmed and the trajectory is known; there is no need to track the motion trajectory of the end effector of the robot through image recognition methods; the focus of the robot fault analysis of the present invention is not on the judgment of whether a fault occurs, but on the context scene analysis before and after the fault occurs; the context scene analysis that can be used for robot fault diagnosis is based on prior knowledge of fault diagnosis. When a robot fails, the robot program generates different operation error codes, and the camera needs to make different actions to capture different robot operation error scenes.
[0063] The present invention finds the "virtual" motion trajectory executed by the robot end corresponding to the error code according to the robot error code, converts the "virtual" trajectory into a camera motion trajectory, and the camera captures the effective scene video when the robot error occurs;
[0064] Specifically, the module M1 adopts: according to the robot fault, a "virtual" motion trajectory of the robot end effector is defined when the fault occurs; the robot "virtual" action is not the real motion trajectory of the robot, but a motion trajectory used to analyze the robot fault and observe the robot state; if a robot fault is detected, the corresponding robot end is extracted according to the robot error code to execute the "virtual" motion trajectory;
[0065] Define robot error code E = {e1,e2,...,en};
[0066] The motion trajectory of the robot end effector corresponding to the robot error code is P = {p1e1, p2e2, ... p n e n};
[0067] Among them, p n |e n Indicates the error code is e n The motion trajectory p n .
[0068] Specifically, the camera includes: camera pan / tilt control supports up and down or left and right swing; camera focus control supports focus zoom in or focus zoom out.
[0069] Specifically, the module M2 adopts: converting the motion trajectory of the robot end effector into a coordinate system to obtain the motion trajectory of the camera.
[0070] If a robot failure is detected, the corresponding robot end is extracted to execute a "virtual" motion trajectory according to the robot error code;
[0071] Error code detected i , where e i ∈E={e1,e2,...e n};
[0072] Through coordinate system conversion, the "virtual" motion trajectory executed by the robot end is converted into the camera motion trajectory;
[0073] There is a motion trajectory p corresponding to error code e1 i ;
[0074] Among them, p i e i ∈P={p1e1,p2e2,...p n e n ,};
[0075] The p i e i Transform the coordinate system from the robot coordinate system to the camera coordinate system p i e i →p i 'e i ;
[0076] Specifically, the module M3 adopts: driving the camera to execute p i 'e i = {p′ 水平偏转 , p′ 垂直偏转 , p′ 焦距缩放}, to capture the robot's error state.
[0077] When the current fault type of the robot is not within the preset defined range, the motion trajectory of the robot's end effector when the robot fails cannot be obtained. In this case, the present invention can control the camera gimbal to swing the camera up and down and left and right; it also supports zooming in and out of the focal length, thereby diagnosing the cause of the robot failure.
[0078] Those skilled in the art know that, in addition to implementing the system, device and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be considered as structures within the hardware component; the modules for implementing various functions can also be considered as both software programs for implementing the method and structures within the hardware component.
[0079] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A robot motion video monitoring method, characterized in that: include: Step S1: according to the robot fault type, obtain the motion trajectory of the robot end effector when the robot fails; Step S2: Obtain the camera motion trajectory according to the motion trajectory of the robot end effector; Step S3: driving the camera to move according to the camera motion trajectory to capture the error state of the robot.
2. The robot motion video monitoring method according to claim 1, characterized in that: The step S1 adopts: Define robot error code E = {e1,e2,...,e n }; The motion trajectory of the robot end effector corresponding to the robot error code is P = {p1e1, p2e2, ... p n e n }; Among them, p n e n Indicates the error code is e n The motion trajectory p n .
3. The robot motion video monitoring method according to claim 1, characterized in that: The camera includes: camera pan / tilt control supports up and down or left and right swing; camera focus control supports focus zoom in or focus zoom out.
4. The robot motion video monitoring method according to claim 1, characterized in that: The step S2 adopts: converting the motion trajectory of the robot end effector into a coordinate system to obtain the motion trajectory of the camera.
5. The robot motion video monitoring method according to claim 1, characterized in that: The step S3 adopts: driving the camera to execute p i 'e i = {p′ 水平偏转 , p′ 垂直偏转 , p′ 焦距缩放 }, to capture the robot's error state.
6. A robot motion video monitoring system, characterized in that: include: Module M1: According to the robot fault type, obtain the motion trajectory of the robot end effector when the robot fails; Module M2: Obtain the camera motion trajectory according to the motion trajectory of the robot end effector; Module M3: drives the camera to move according to the camera's motion trajectory and captures the robot's error state.
7. The robot motion video monitoring system according to claim 6, characterized in that: The module M1 adopts: Define robot error code E = {e1,e2,...,e n }; The motion trajectory of the robot end effector corresponding to the robot error code is P = {p1e1, p2e2, ... p n e n }; Among them, p n e n Indicates the error code is e n The motion trajectory p n .
8. The robot motion video monitoring system according to claim 6, characterized in that: The camera includes: camera pan / tilt control supports up and down or left and right swing; camera focus control supports focus zoom in or focus zoom out.
9. The robot motion video monitoring system according to claim 6, characterized in that: The module M2 adopts: converting the motion trajectory of the robot end effector into a coordinate system to obtain the motion trajectory of the camera.
10. The robot motion video monitoring system according to claim 6, characterized in that: The module M3 uses: driving the camera to execute p i 'e i ={p′ 水平偏转 , p′ 垂直偏转 , p′ 焦距缩放 }, to capture the robot's error state.
Citation Information
Patent Citations
A vision-based method and system for detecting faulty actions in industrial robots
CN111531581B
Monitor device provided with camera for capturing motion image of motion of robot device
CN112109078A
