A VR follow-up control system suitable for mobile robots
Through the VR follow-up control system, the visual inertial odometer and the follow-up controller are used to realize remote follow-up control of the human body position and head posture to the mobile robot system, which solves the problems of complex operation and inconvenience in the existing technology, and improves the efficiency Operational experience and flexibility.
Patent Information
- Application Number
- CN202210818033.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-07-12
AI Technical Summary
In the existing VR mobile control system, the operation is complicated and requires a remote control, which makes it inconvenient to use. It cannot directly control the position change of the mobile robot without the handheld remote control, and lacks comfort and flexibility.
A VR follow-up control system adapted to mobile robots is designed. It remotely controls the position of the mobile robot system and the two-degree-of-freedom pan-tilt posture through changes in human body position and head posture. It uses a visual inertial odometer and a follow-up controller. , combined with ROS middleware, realizes the operator's body information data processing and motion control instruction generation, and directly controls the movement of the mobile platform and PTZ.
Getting rid of the remote control, the operator can directly control the mobile platform and gimbal by adjusting his or her position, which improves the operating experience and immersion. The operation method is more in line with human intuition, and the operation is more flexible and comprehensive.
Smart Images

Figure CN115175119B
Abstract
Description
Technical Field
[0001] The invention relates to a VR follow-up control system suitable for a mobile robot, belonging to the technical field of VR interactive control. Background Art
[0002] Virtual reality head-mounted display devices, namely VR (Virtual Reality) glasses, can connect to mobile robots, receive surrounding image information captured by the mobile robot's camera, and present the mobile robot's first-person perspective image in real time. They are mostly used in dangerous places or scenes that are difficult for people to reach, such as aerial photography, rescue and military. Currently, the most common VR mobile control application is the real-time image display of drones. Wearing VR glasses, you can see the environment where the drone is located, as if you are there.
[0003] In order to make it easier to adjust the viewing angle, patent number CN107168182A proposes a VR follow-up pan-tilt device that can adjust the movement of the pan-tilt according to the head posture of the person, and is used to observe the indoor environment. However, there are problems such as the fixed position of the pan-tilt and the limited viewing angle. Therefore, it is proposed to combine the mobile robot and the pan-tilt to change the observation position and adjust the viewing angle, so that the problem can be effectively solved. However, the existing solution is to control by remote control, and the addition of the remote control will also bring problems. The first is the complexity of operation. It is difficult for untrained personnel to complete the motion control of the robot's position and posture at the same time. In addition, the volume and weight of the entire system are increased, the transportation cost is increased, and it brings inconvenience to people's use. At present, in the field of VR technology, there are no comfortable VR products for mobile robot control. Most of them can only watch the picture, and cannot directly control the position change of the mobile robot without a handheld remote control. Summary of the invention
[0004] The purpose of the present invention is to provide a VR follow-up control system suitable for mobile robots, which can remotely follow the position of the mobile platform of the mobile robot system and the posture of the two-degree-of-freedom pan / tilt on the mobile platform through changes in the position of the human body and the posture of the head, so as to realize remote follow-up observation of the surrounding environment.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is:
[0006] A VR follow-up control system adapted to a mobile robot, comprising a mobile robot system, a base station and a local follow-up control system;
[0007] The mobile robot system includes a mobile platform, a two-degree-of-freedom gimbal, a mobile robot wireless communication module, a motion control module, a power module and a camera module; the mobile platform is the carrier of the mobile robot system, and the position switching is controlled by the local servo control system; the two-degree-of-freedom gimbal is arranged on the mobile platform, and can adjust the posture according to the control signal of the motion control module; the mobile robot wireless communication module receives the base station signal, sends it to the motion control module, and sends the relevant information of the mobile robot system; the motion control module is installed on the mobile platform, and is used to parse the motion control instructions, process the sensor signals, and close-loop control the mobile platform and the two-degree-of-freedom gimbal; the power module provides different levels of current for different modules; the camera module is a drive-free high-definition binocular camera, which is installed on the tray of the two-degree-of-freedom gimbal, and the video image collected by the camera module is compressed and encoded and transmitted to the local servo control system through the mobile robot wireless communication module and the base station;
[0008] The base station transmits information between the mobile robot system and the local follow-up system;
[0009] The local follow-up control system includes VR glasses, a visual inertial odometer, a follow-up controller and a local network communication module; the VR glasses are worn on the operator's eyes, and include an optical imaging module and an image receiving module. The image receiving module receives the video image stream processed by the follow-up controller, and presents the real-time video image of the camera module through the optical imaging module; the visual inertial odometer is installed on the VR glasses, and includes a visual odometer and an inertial measurement unit, which can accurately obtain changes in human body position and head posture; the follow-up controller is carried by the operator, decodes the video image, converts the image format, and corrects the video image before projecting it onto the VR glasses for display, processes the operator's body information data, generates motion control instructions, and transmits them to the motion control module through the local network communication module, the base station, and the mobile robot wireless communication module.
[0010] The further improvement of the technical solution of the present invention is that: the processing steps of the visual inertial odometer are as follows: first, the measurement data processing part is responsible for feature extraction and tracking of the video image collected by the camera module and the collection of the inertial measurement unit data, and pre-integration processing of the inertial measurement unit; then, the SFM is used for visual initialization, the external parameters between the inertial measurement unit and the camera are estimated, and the gravity acceleration is used to determine the bias and initial velocity of the world coordinate system and the inertial measurement unit, and the world coordinate system and the camera coordinate system are aligned; at the same time, the data timestamps of the IMU and the camera module are synchronized, the feature information of the video image is added to the information increment of two adjacent frames of the inertial measurement unit, the two are tightly coupled, and the posture estimation and joint optimization are performed to obtain the posture angle, velocity and acceleration information; when a new key frame is added to the sliding window, the old key frame is marginalized, and the prior information and the residual of the inertial measurement unit are updated; finally, the local optimization result is looped, the key frame involved in the loop is extracted, and the global posture graph is optimized using the Ceres optimizer.
[0011] A further improvement of the technical solution of the present invention is that the motion control algorithm of the follow-up controller is specifically:
[0012] Establish a kinematic model of the mobile platform; discretize the model into a differential model using the forward Euler method; obtain the current state of the mobile platform through sensor perception, determine the control and prediction time domain size, and obtain the prediction model; use cubic spline interpolation to smooth the human body's movement path, send the obtained smoothed path data to the mobile robot system, and calculate the error amount of the relevant state; adjust the weights of different error amounts while considering the kinematic constraints of the mobile platform; design the objective function; finally, call the optimization solver to solve the next system input; repeat the cycle to achieve stable and accurate tracking of the human body's movement trajectory by the mobile platform.
[0013] A further improvement of the technical solution of the present invention is that the operation steps of the VR follow-up control system are as follows:
[0014] Step 1: The operator wears VR glasses and a follow-up controller; starts the system, establishes a network connection between the follow-up controller and the mobile robot system, and if a confirmation message is sent successfully, continues the next work; if a failure occurs, the message is recorded and the operator is prompted;
[0015] Step 2: The camera module on the two-degree-of-freedom gimbal collects video images, which are compressed and encoded, transmitted to the follow-up controller through the mobile robot wireless communication module, the base station and the local network communication module, and displayed on the VR glasses after decoding;
[0016] Step 3: The visual inertial odometer obtains the operator's body information data, wherein the information data includes the operator's head posture and body position;
[0017] Step 4: The information data acquired in step 3 is transmitted to the follow-up controller via the sensor, and processed by the follow-up controller to generate a control reference, and a motion control instruction is generated through a model predictive control algorithm. The motion control instruction is transmitted to the motion control module of the mobile robot system through a local network communication module, a base station and a mobile robot wireless communication module. The motion control module solves the control instruction according to the kinematic model of the mobile platform, generates a control reference, controls the movement of the mobile platform and the two-degree-of-freedom gimbal, and thus realizes the follow-up control of the position and posture of the camera module;
[0018] Step 5: The operator controls the position of the mobile platform and the posture of the two-degree-of-freedom gimbal by adjusting his or her own body information data to achieve remote follow-up observation of the surrounding environment.
[0019] A further improvement of the technical solution of the present invention is that the specific process of step 4 is:
[0020] The motion control is implemented using ROS installed on the follow-up controller as the middleware. After obtaining the data of the head posture and human body position change of the visual inertial odometer, it is divided into two parts for processing. On the one hand, the posture control is to publish the pitch angle and yaw angle to the ROS node in the form of a topic. The mobile robot system subscribes to the node through the mobile robot wireless communication module, thereby receiving the command, inputting it into the motion control module, generating the control input of the two-degree-of-freedom gimbal, and controlling the two brushless motors to adjust it to the angle consistent with the human head. At this time, the posture control of the mobile platform has two modes. One is the gimbal following mode, that is, the mobile platform will rotate to the same yaw angle with the gimbal. This mode is added mainly to take into account the possible delay in the picture, which will lead to a deviation between the human perception and the actual direction of the mobile platform, so as to avoid the situation where the gimbal has rotated to the ideal deflection angle, but the mobile platform has not reached the ideal direction when the person is moving; the second is the command mode. In the case where the operator's moving direction is inconsistent with the head deflection direction, the mobile platform is directly controlled by the follow-up controller. At this time, the posture control of the two-degree-of-freedom gimbal and the direction control of the mobile platform are independent of each other; on the other hand, the position control of the mobile platform is carried out, and its process is as follows:
[0021] The visual inertial odometer senses the operator's real-time position of the body and obtains the body's movement speed and direction at every sampling time. It accumulates 0.5s to obtain multiple sampling points and performs cubic spline curve fitting to obtain the body's position change trajectory. The operator's body information data is transmitted to the follow-up controller through the sensor. The follow-up controller records this trajectory and then maps the state considering the kinematic model and input-output constraints of the mobile platform. The motion control instructions are generated through the control algorithm and published in the form of topics. After the mobile robot system receives the instructions, it performs kinematic solution based on the kinematic model of the mobile platform, generates control quantities, and accurately controls the position of the mobile platform.
[0022] A further improvement of the technical solution of the present invention is that the local network communication module, base station and mobile robot wireless communication module all support high-frequency wireless networks and can use the TCP network communication protocol to transmit information.
[0023] Due to the adoption of the above technical solution, the technical effects achieved by the present invention are as follows:
[0024] The present invention does away with the remote control, and the operator can directly control the position of the mobile platform and the posture of the two-degree-of-freedom pan-tilt head by adjusting his or her own body position, which greatly improves the operator's usage experience, makes the operation more immersive, and the operation method is more in line with human intuition.
[0025] The human body posture collection of the present invention uses VIO technology, so that the operator can not only see the environment around the mobile platform from a first-person perspective, but also see the environment in which he is located through the follow-up controller, and the operation is more flexible and comprehensive. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a structural principle diagram of the present invention;
[0027] Figure 2 It is a work flow chart of the present invention;
[0028] Figure 3 is a flow chart of the VIO processing of the present invention;
[0029] Figure 4 It is a schematic diagram of the structure of the present invention;
[0030] Among them, 101, camera module, 102, two-degree-of-freedom gimbal, 103, mobile platform, 104, motion control module, 105, mobile robot wireless communication module, 106, base station, 107, local network communication module 107, 108, follow-up controller, 109, VR glasses, 110, visual inertial odometer. DETAILED DESCRIPTION
[0031] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0032] A VR follow-up control system suitable for mobile robots, such as Figure 1 , 4 As shown, it includes a mobile robot system, a base station 106 and a local follow-up control system.
[0033] The mobile robot system includes a mobile platform 103 , a two-degree-of-freedom pan-tilt platform 102 , a mobile robot wireless communication module 105 , a motion control module 104 , a power module and a camera module 101 .
[0034] The two-degree-of-freedom gimbal 102 is arranged on the mobile platform 103, has two degrees of freedom of pitch and yaw, and is driven by a brushless motor. The brushless motor is connected to the motion control module 104, and completes the posture adjustment of the two-degree-of-freedom gimbal 102 equipped with the camera module 101 according to the control signal of the motion control module 104; the power module provides different levels of current for different modules; the mobile robot wireless communication module 105 receives the motion control instruction sent by the local follow-up control system, and transmits the motion control instruction to the motion control module 104 through the serial port. The motion control module 104 performs motion calculation on the motion control instruction according to the kinematic model of the mobile platform, obtains the linear velocity and angular velocity that the mobile platform 103 should have at the corresponding moment, and generates a control reference to control the movement of the mobile platform 103; at the same time, the sensor collects the state information of the mobile platform 103, obtains the linear velocity and angular velocity at the current moment through processing, realizes the closed-loop control of the motion of the mobile platform 103 through feedback, and realizes the follow-up control of the mobile platform 103 by the operator.
[0035] The camera module 101 is a driver-free high-definition binocular camera, which is installed on the tray of the two-degree-of-freedom gimbal 102. The video image collected by the camera module 101 is compressed and encoded and then transmitted to the local follow-up control system through the mobile robot wireless communication module 105 and the base station 106.
[0036] The local follow-up control system includes VR glasses 109 , a visual inertial odometer 110 , a follow-up controller 108 and a local network communication module 107 .
[0037] The VR glasses 109 are worn on the operator's eyes, and include an optical imaging module and an image receiving module. The image receiving module receives the video image stream processed by the follow-up controller 108, and presents the real-time video image of the camera module 101 through the optical imaging module. Considering the different vision of people's binocular vision, the object distance can be adjusted according to the operator's situation to ensure that the operator sees a clear image; considering that people cannot see the current environment when they are moving, the image of the operator's surrounding environment can be switched by pressing a button.
[0038] The visual inertial odometry 110 is installed on the VR glasses 109, and includes a visual odometry (VO) and an inertial measurement unit (IMU). The two technologies complement each other, and their information is integrated and complemented to form a visual inertial odometry (VIO) 110 that can accurately obtain changes in human body position and head posture. Through VIO, low-latency, high-speed, and stable state tracking can be achieved.
[0039] The visual inertial odometer 110 of the present invention uses a binocular camera and a BM1055 model IMU to measure the head posture angle and human body position information. Figure 3 As shown in the figure, VIO processing is roughly divided into four parts: system initialization, measurement data preprocessing, sliding window local pose optimization, loop detection and global local pose optimization. First, the measurement data processing part is responsible for feature extraction and tracking of the video image collected by the camera module 101 and data collection of the IMU, and pre-integration processing of the IMU; the system initialization is for the binocular camera module 101. Due to the depth information, the difficulty of initialization is lower than that of the monocular camera. It mainly uses SFM (Structure from Motion Recovery) to perform visual initialization, estimate the external parameters between the IMU and the camera, use gravity acceleration to determine the bias and initial velocity of the world coordinate system and the IMU, and align the world coordinate system and the camera coordinate system. Initialization is generally performed only once, the purpose is to determine the initial state of the VIO system. At the same time, the data timestamps of the IMU and the camera need to be synchronized, and the feature information needs to be added to the information increment of the two adjacent frames of the IMU image, and the two are tightly coupled to perform pose estimation and joint optimization to obtain information such as attitude angle, velocity and acceleration. The sliding window local pose optimization is to marginalize the old keyframes when a new keyframe is added to the sliding window, and update the prior information and the residual of the IMU. Finally, the local optimization results are looped, the keyframes involved in the loop are extracted, and the global pose graph is optimized using the Ceres optimizer. In general, the front end continuously extracts features, and the back end performs optimization processing, and the two are cyclically operated to accurately obtain the operator's position and head posture.
[0040] The follow-up controller 108 is carried by the operator. The local network communication module 107 receives the video image information collected by the camera module 101 and transmits it to the follow-up controller 108. The follow-up controller 108 decodes the video image, converts the image format, corrects it, and finally projects the video to the VR glasses 109 for display. The operator's body information data obtained by the visual inertial odometer 110 is transmitted to the follow-up controller 108 via the sensor. The follow-up controller 108 processes the operator's body information data, generates motion control instructions, and transmits them to the motion control module 104 through the local network communication module 107, the base station 106, and the mobile robot wireless communication module 105.
[0041] The motion control algorithm of the servo controller 108 is as follows: establish a kinematic model of the mobile platform 103; discretize the model into a differential model using the forward Euler method; obtain the current state of the mobile platform 103 through sensor perception, determine the control and prediction time domain size, and obtain a prediction model; use cubic spline interpolation to smooth the human body's movement path, send the obtained smoothed path data to the mobile robot system end, and calculate the error amount of the relevant state; adjust the weights of different error amounts, while considering the kinematic constraints of the mobile platform 103; design the objective function; and finally call the optimization solver to solve the input of the next system. Repeat the cycle to achieve stable and accurate tracking of the human body's movement trajectory by the mobile platform 103.
[0042] The local network communication module 107, the base station 106 and the mobile robot wireless communication module 105 all support high-frequency wireless networks and can use the TCP network communication protocol to transmit information.
[0043] like Figure 2 As shown, the specific operation steps of the system are as follows:
[0044] Step 1: The operator wears VR glasses 109 and follow-up controller 108; starts the system, establishes a network connection between the follow-up controller 108 and the mobile robot system, and if a confirmation message is sent successfully, continues the next work; if it fails, a record is recorded to prompt the operator;
[0045] Step 2: The camera module 101 on the two-degree-of-freedom gimbal 102 collects video images, which are compressed and encoded, and then transmitted to the follow-up controller 108 through the mobile robot wireless communication module 105, the base station 106 and the local network communication module 107, and then displayed on the VR glasses 109 after decoding processing;
[0046] Step 3: The visual inertial odometer 110 obtains the operator's body information data, wherein the information data includes the operator's head posture and body position;
[0047] Step 4: The information data acquired in the step 3 is transmitted to the follow-up controller 108 via the sensor, and processed by the follow-up controller 108 to generate a control reference, and a motion control instruction is generated through the model predictive control algorithm. The motion control instruction is transmitted to the motion control module 104 of the mobile robot system through the local network communication module 107, the base station 106 and the mobile robot wireless communication module 105. The motion control module 104 solves the control instruction according to the kinematic model of the mobile platform 103, generates a control reference, controls the movement of the mobile platform 103 and the two-degree-of-freedom gimbal 102, and thus realizes the follow-up control of the position and posture of the camera module 101;
[0048] Step 5: The operator controls the position of the mobile platform and the posture of the two-degree-of-freedom gimbal by adjusting his or her own body information data to achieve remote follow-up observation of the surrounding environment.
[0049] like Figure 1 As shown, the VR follow-up control system adapted to the mobile robot mainly includes two aspects: image transmission and motion control.
[0050] The image transmission process is as follows: the video image data collected by the camera module 101 is transmitted to the base station 106 through the mobile robot wireless communication module 105, and then transmitted to the follow-up controller 108 through the local network communication module 107. The follow-up controller 108 decodes and processes the video image data and projects it onto the VR glasses 109. In order to facilitate the user to clearly see the first-person perspective image of the current mobile robot, button controls are integrated on the VR glasses 109, which can adjust the appropriate camera focus, exposure, color saturation and other parameters to obtain a better visual experience.
[0051] The process of motion control is as follows:
[0052] The motion control is implemented using the ROS (Robotic Operation System) on the servo controller as the middleware. After obtaining the data of the head posture and human body position change of the visual inertial odometer 110, it is divided into two parts for processing. On the one hand, it is the control of the posture. The pitch angle and yaw angle are published to the ROS node of the servo controller in the form of a topic. The mobile robot system receives the instruction through the subscription node through the mobile robot wireless communication module 105, and inputs it to the motion control module 104 to generate the control input of the two-degree-of-freedom gimbal 102, and control the two brushless motors to adjust to the angle consistent with the human head. At this time, the posture control of the mobile platform 103 has two modes. One is the gimbal following mode, that is, the mobile platform will rotate to the same yaw angle with the gimbal. This mode is added mainly to take into account the possible delay in the picture, which leads to the deviation between the human perception and the actual direction of the mobile platform 103, so as to avoid the situation that the gimbal has rotated to the ideal deflection angle, but the mobile platform 103 has not reached the ideal direction when the person is moving. The second is the command mode, which is aimed at the situation that the operator's moving direction is inconsistent with the head deflection direction. The mobile platform 103 is directly controlled by the follow-up controller 108. At this time, the attitude control of the two-degree-of-freedom pan / tilt 102 and the direction control of the mobile platform 103 are independent of each other. On the other hand, the position control of the mobile platform 103 is as follows:
[0053] The visual inertial odometer 110 senses the real-time position of the operator's body and obtains the body's movement speed and direction every sampling time. It accumulates 0.5s to obtain multiple sampling points and performs cubic spline curve fitting to obtain the body's position change trajectory. The operator's body information data is transmitted to the follow-up controller 108 through the sensor. The follow-up controller 108 records this trajectory and then maps the state by considering the kinematic model and input-output constraints of the mobile platform 103. The motion control instructions are generated through the control algorithm and published in the form of topics. The mobile robot system receives the instructions and performs kinematic solution according to the kinematic model of the mobile platform 103 to generate control quantities and accurately control the position of the mobile platform 103. There are restrictions on structures with special kinematic constraints, such as the Ackerman structure mobile platform 103, which does not allow side sliding and has a turning radius, so adjustments need to be made to maintain the effectiveness of trajectory following. The following is a detailed description of the control algorithm process using a bicycle model as an example:
[0054] First, obtain the parameters of the mobile platform 103 and establish a kinematic model:
[0055]
[0056] Discretize the continuous model into a difference model with a difference interval of dt:
[0057]
[0058] Among them, x k ,y k represents the position of the mobile platform 103 in the x-axis and y-axis directions in the world coordinate system at time k, v k , a k represents the velocity and acceleration of the mobile platform 103 at time k, θ k represents the heading angle of the mobile platform 103 in the world coordinate system at time k, δ k The wheel steering angle of the mobile platform 103 at time k, L represents the distance between the front and rear wheel centers, and ye k ,∈ k It represents the lateral tracking error and the longitudinal tracking error of the human body's moving trajectory f(x) and the moving trajectory of the mobile platform 103 at time k.
[0059] The lateral tracking error and the longitudinal tracking error are calculated according to the position of the mobile platform 103 and the reference trajectory:
[0060]
[0061] For the model predictive control algorithm with a prediction step size of N, the objective function is:
[0062]
[0063] Among them, ω represents the weight of the corresponding physical quantity, v ref represents the artificially given reference speed, ω da ,ω dδ Respectively represent the weights of the steering angle and the acceleration rate of change, which limit the input of the mobile platform 103 to produce sudden behavior. The objective function also needs to satisfy the constraints of the kinematic model and the constraints of the actuator input a∈[a min ,a max ],δ∈[δ min ,δ max ].
[0064] The optimization problem is solved by the IPOPT solver to obtain the optimal control output sequence in the control time domain, and the first one is selected as the input of the actual actuator. This process is repeated continuously, so that the mobile platform 103 can accurately and stably track the movement trajectory of the human body.
[0065] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A VR follow-up control system suitable for a mobile robot, characterized in that: It includes a mobile robot system, a base station and a local follow-up control system; The mobile robot system includes a mobile platform, a two-degree-of-freedom gimbal, a mobile robot wireless communication module, a motion control module, a power module and a camera module; the mobile platform is the carrier of the mobile robot system, and the position switching is controlled by the local servo control system; the two-degree-of-freedom gimbal is arranged on the mobile platform, and can adjust the posture according to the control signal of the motion control module; the mobile robot wireless communication module receives the base station signal, sends it to the motion control module, and sends the relevant information of the mobile robot system; the motion control module is installed on the mobile platform, and is used to parse the motion control instructions, process the sensor signals, and close-loop control the mobile platform and the two-degree-of-freedom gimbal; the power module provides different levels of current for different modules; the camera module is a drive-free high-definition binocular camera, which is installed on the tray of the two-degree-of-freedom gimbal, and the video image collected by the camera module is compressed and encoded and transmitted to the local servo control system through the mobile robot wireless communication module and the base station; The base station transmits information between the mobile robot system and the local follow-up system; The local follow-up control system includes VR glasses, a visual inertial odometer, a follow-up controller and a local network communication module; the VR glasses are worn on the operator's eyes, and include an optical imaging module and an image receiving module. The image receiving module receives the video image stream processed by the follow-up controller, and presents the real-time video image of the camera module through the optical imaging module; the visual inertial odometer is installed on the VR glasses, and includes a visual odometer and an inertial measurement unit, which can accurately obtain changes in human body position and head posture; the follow-up controller is carried by the operator, decodes the video image, converts the image format, and corrects the video image before projecting it onto the VR glasses for display, processes the operator's body information data, generates motion control instructions, and transmits them to the motion control module through the local network communication module, the base station, and the mobile robot wireless communication module.
2. A VR follow-up control system adapted to a mobile robot according to claim 1, characterized in that: The processing steps of the visual inertial odometer are as follows: first, the measurement data processing part is responsible for feature extraction and tracking of the video image collected by the camera module and the collection of inertial measurement unit data, and performs pre-integration processing of the inertial measurement unit; Then, SFM is used for visual initialization, and the external parameters between the inertial measurement unit and the camera are estimated. The gravity acceleration is used to determine the bias and initial velocity of the world coordinate system and the inertial measurement unit, and to align the world coordinate system and the camera coordinate system. At the same time, the data timestamps of the IMU and camera modules are synchronized, and the feature information of the video image is added to the information increment of two adjacent frames of the inertial measurement unit. The two are tightly coupled, and pose estimation and joint optimization are performed to obtain the attitude angle, velocity and acceleration information. When a new key frame is added to the sliding window, the old key frame is marginalized, and the prior information and the residual of the inertial measurement unit are updated. Finally, loop detection is performed on the results of local optimization, the key frames involved in the loop are extracted, and the global pose graph is optimized using the Ceres optimizer.
3. The VR follow-up control system adapted to a mobile robot according to claim 1, characterized in that: The motion control algorithm of the follow-up controller is specifically: Establish a kinematic model of the mobile platform; discretize the model into a differential model using the forward Euler method; obtain the current state of the mobile platform through sensor perception, determine the control and prediction time domain size, and obtain the prediction model; use cubic spline interpolation to smooth the human body's movement path, send the obtained smoothed path data to the mobile robot system, and calculate the error amount of the relevant state; adjust the weights of different error amounts while considering the kinematic constraints of the mobile platform; design the objective function; finally, call the optimization solver to solve the next system input; repeat the cycle to achieve stable and accurate tracking of the human body's movement trajectory by the mobile platform.
4. The VR follow-up control system adapted to a mobile robot according to claim 1, characterized in that: The operation steps of the VR follow-up control system are as follows: Step 1: The operator wears VR glasses and a follow-up controller; starts the system, establishes a network connection between the follow-up controller and the mobile robot system, and if a confirmation message is sent successfully, continues the next work; if a failure occurs, the message is recorded and the operator is prompted; Step 2: The camera module on the two-degree-of-freedom gimbal collects video images, which are compressed and encoded, transmitted to the follow-up controller through the mobile robot wireless communication module, the base station and the local network communication module, and displayed on the VR glasses after decoding; Step 3: The visual inertial odometer obtains the operator's body information data, wherein the information data includes the operator's head posture and body position; Step 4: The information data acquired in step 3 is transmitted to the follow-up controller via the sensor, and processed by the follow-up controller to generate a control reference, and a motion control instruction is generated through a model predictive control algorithm. The motion control instruction is transmitted to the motion control module of the mobile robot system through a local network communication module, a base station and a mobile robot wireless communication module. The motion control module solves the control instruction according to the kinematic model of the mobile platform, generates a control reference, controls the movement of the mobile platform and the two-degree-of-freedom gimbal, and thus realizes the follow-up control of the position and posture of the camera module; Step 5: The operator controls the position of the mobile platform and the posture of the two-degree-of-freedom gimbal by adjusting his or her own body information data to achieve remote follow-up observation of the surrounding environment.
5. A VR follow-up control system adapted to a mobile robot according to claim 4, characterized in that: The specific process of step 4 is as follows: The motion control is implemented using ROS installed on the follow-up controller as the middleware. After obtaining the data of the head posture and human body position change of the visual inertial odometer, it is divided into two parts for processing. On the one hand, the posture control is to publish the pitch angle and yaw angle to the ROS node in the form of a topic. The mobile robot system subscribes to the node through the mobile robot wireless communication module, thereby receiving the command, inputting it into the motion control module, generating the control input of the two-degree-of-freedom gimbal, and controlling the two brushless motors to adjust it to the angle consistent with the human head. At this time, the posture control of the mobile platform has two modes. One is the gimbal follow mode, that is, the mobile platform will rotate to the same yaw angle with the gimbal. This mode is added mainly to take into account the possible delay in the picture, which will lead to a deviation between the human perception and the actual direction of the mobile platform, so as to avoid the situation where the gimbal has rotated to the ideal deflection angle, but the mobile platform has not reached the ideal direction when the person is moving; the second is the command mode. In the case where the operator's moving direction is inconsistent with the head deflection direction, the mobile platform is directly controlled by the follow-up controller. At this time, the posture control of the two-degree-of-freedom gimbal and the direction control of the mobile platform are independent of each other; on the other hand, the position control of the mobile platform is carried out, and its process is as follows: The visual inertial odometer senses the operator's real-time position of the body and obtains the body's movement speed and direction at every sampling time. It accumulates 0.5s to obtain multiple sampling points and performs cubic spline curve fitting to obtain the body's position change trajectory. The operator's body information data is transmitted to the follow-up controller through the sensor. The follow-up controller records this trajectory and then maps the state considering the kinematic model and input-output constraints of the mobile platform. The motion control instructions are generated through the control algorithm and published in the form of topics. After the mobile robot system receives the instructions, it performs kinematic solution based on the kinematic model of the mobile platform, generates control quantities, and accurately controls the position of the mobile platform.
6. The VR follow-up control system adapted to a mobile robot according to claim 1, characterized in that: The local network communication module, base station and mobile robot wireless communication module all support high-frequency wireless networks and can use the TCP network communication protocol to transmit information.
