Development and Verification of an Autonomous and Controllable Mobile Robot Platform
In this paper, we design a mobile robot platform, which employs a fully autonomous mechanical structure and electrical control system. Two driving wheels realize flexible steering movement with four universal wheels. A variety of sensors are built on the mobile robot platform, including the Inertial Measurement Unit (IMU) used to establish the inertial navigation coordinate system and the Velodyne’s Puck lidar sensor (VLP-16) used to obtain the three-dimensional (3D) point cloud information of the environment. Then, we build a software control architecture based on the Robot Operating System (ROS), using multi-node communication to perform positioning, environment perception, dynamic obstacle avoidance, path planning and motion control. Furthermore, a method of actively exploring the environment and constructing a map is proposed, using multi-path evaluation for real-time path planning and obstacle avoidance. In the end, we conduct autonomous exploration experiments to verify the performance of the designed mobile robot platform in indoor multi-obstacle scenes.
Mobile robot is an important branch of robotics field, which has the characteristics of simple mechanical structure, strong scalability, stable motion control, and easy operation. It can replace humans to perform specific tasks in complex and harsh environments. Mobile robots are widely used in industrial production, home service and other scenarios, such as building patrol, ground cleaning, warehousing, and freight transportation. Autonomous positioning and navigation, path planning, and map construction constitute the core of the mobile robot system, which is the premise for mobile robots to realize intelligence and autonomy , , .
So far, many researchers and institutions have built experimental platforms for mobile robots. National Key Lab of Intelligent Technology and System in Tsinghua University developed an effective and robust high-speed system called THMR-V (Tsinghua Mobile Robot V), which realized automatic control by analyzing lane lines in grayscale images . Nguyen et al.  made Segway Robotic Mobility Platform, which was based on the self-balancing Segway Human Transporter (HT) and capable of about 13km/h indoor. Amsters and Slaets  built a robotics education platform using turtlebot3, which realized autonomous navigation by equipped with a 360° laser scanner. Oltean  made a mobile robot platform commended by Raspberry Pi and Arduino Uno interfaces, which had the ability to move as line follower robot with mapping, navigation, and obstacle avoidance features. Wu et al.  designed an omnidirectional mobile robot platform named Savvy, which was equipped with a variety of unified I/O interfaces and used the ROS framework. Existing mobile robot platforms have poor scalability, which are difficult to meet the various interfaces of sensors on the market. In addition, they are often oriented to fixed scenarios without the advantage of expanding other functions.
Autonomous exploration is an important application of robotics, where robot platforms explore unknown environments actively. Batinovic et al.  proposed a planner based on the detection of a boundary between the explored and unknown part of the environment, which used the properties of the Octree environment representation to cluster the frontier points. Bircher et al.  employed a receding horizon “next-best-vie” scheme in the proposed planner, where it found the best branch in an online computed random tree determined by the amount of unmapped space that can be explored and only the first edge of this branch was executed at every planning step. Selin et al.  used Frontier Exploration planning (FEP) as a global exploration planner to explore a large environment consisting of separate regions with ease and applied Receding Horizon Next-Best-View planning (RH-NBVP) for local exploration to explore individual regions. Dai et al.  presented an exploration strategy for the reduction of map entropy regarding occupancy probabilities, which exploited the implicit grouping of frontier voxels in the underlying octree map representation. Chen et al.  proposed an approach, which combined graph neural networks and deep reinforcement learning, enabling decision-making over graphs containing exploration information to predict a robot’s optimal sensing action in belief space. The above algorithms have high computational complexity and rarely build 3D maps of the indoor environment.
Mobile robot positioning refers to the judgment of its own pose and the position relative to the world coordinate system when the robot is running in the environment. Accurate positioning helps the robot to better perceive the surrounding environment information. Zheng et al.  used nonlinear graph optimization to achieve precise position estimation of the robot by combining lidar, IMU and Global Positioning System (GPS). Based on the Markov positioning algorithm, Wu and David  used sensor data and kinematic models to complete the positioning of mobile robots. Li et al.  proposed a fusion positioning algorithm based on ultra-wideband and lidar, which used a particle filter algorithm to perform complementary fusion calculations on the positioning data of the sensor, achieving good accuracy. At present, most researchers mainly use single-line lidar and cameras for environment perception and robot localization, while there are relatively few research works on multi-line lidar for active exploration in indoor environments.
The main contributions of this paper are summarized as follows:
(1) A mobile robot platform is designed with an autonomously controllable mechanical structure and control system, which is made of iron. The differential speed is controlled by the two driving wheels in the middle, and four universal wheels around are used as supporting weights. We write a set of basic controller algorithms that can achieve more flexible steering movements than other mobile robot platforms.
(2) A map construction method for active exploration of the environment is proposed. Under the premise that the environment is unknown, the robot reaches the artificially set global target point through the multi-path evaluation system. The environment map is constructed from the 3D point cloud data collected during the movement. Effective environment exploration and autonomous obstacle avoidance can be achieved without prior maps.
(3) Based on the designed mobile robot platform, an active exploration physical experiment is carried out to verify the stability of the mechanical structure and control system.
In the rest of this paper, the second chapter introduces the mechanical structure and electrical control system design of the mobile robot platform, the third chapter introduces the software architecture design of the mobile robot platform, and the fourth chapter explains the map construction method for the active exploration of the environment. The fifth chapter shows the active exploration of physical experiments, and the sixth chapter summarizes this paper and proposes prospects.
2. System Design of Mobile Robot Platform
The overall structure of the designed mobile robot platform is shown in Figure 1. The platform consists of two parts, the mobile chassis, and the bracket. The VLP-16 is installed on top of the bracket with the ability to detect a wide range of surrounding environmental areas for obstacle detection and map building. Laptop is placed in the hollow position in the middle of the bracket, which has a good fixing effect and is convenient for connecting various devices. The four corners of the mobile chassis are equipped with universal wheels, which play a supporting role and carry large loads. The two differential drive wheels are installed in the middle of the mobile chassis and pressed against the ground by springs, which enhances the adaptability to the ground and makes the driving more stable. At the same time, the spring structure effectively avoids idling. The mobile chassis shell is a 3D printed part that houses the electrical equipment. The fan is used for ventilation and heat dissipation. Some key parameters of the mobile robot platform are shown in Table 1.
The mobile robot platform has a stronger load bearing capacity. The combination of universal wheels and driving wheels provides the possibility for flexible steering functions. In addition, the setting of the emergency stop switch fully considers the safety factor, allowing people to cut off the power supply in time. Easy expansion of peripherals is another important advantage of the mobile robot platform. It provides a wealth of commonly used interfaces such as Universal Serial Bus (USB), Controller Area Network (CAN), Transistor-transistor logic (TTL), Recommended Standard 232 (RS232), Recommended Standard 485 (RS485) and Ethernet, which are used to add other peripheral devices that may be needed.
Installation height of VLP-16
Maximum travel thrust of drive wheels
Maximum travel speed
In order to facilitate timely debugging, the laptop is directly used to control in the research and development stage. The electrical control system is shown in Figure 2.
The laptop is connected to the motor driver through the RS-485 communication protocol. The motor control mode selection and control parameter configuration are performed through the host computer software. After the configuration is completed, the speed command is sent through the CAN bus to control the two driving wheels, realizing functions such as forward, backward, and differential speed turning. The laptop is connected to VLP-16 through the Ethernet interface, and obtains the original point cloud information, which is used to describe the surrounding environment after digital filtering and coordinate transformation. In addition, the relay module is connected to the laptop through the Ethernet interface, and directly controls the power supply of the motor driver in the form of a switch. When encountering an unexpected situation, the mobile robot platform performs emergency braking by the relay module, avoiding the control delay of the motor driver. The IMU is connected to the laptop through the USB interface to provide the heading angle information of the mobile robot platform. The main control system device parameters used by the mobile robot platform are shown in Table 2.
Lenovo Legion Y7000P 2019 PG0
USB to CAN module
The electrical control system uses a simplified communication protocol conversion module to unify the data transmission protocols required by different peripherals to the USB port, which means that it is friendly to the choice of the main controller. The modular design makes equipment replacement more convenient without affecting the normal operation of other functions.
3. Software Architecture Design of Mobile Robot Platform
The software framework of the system is shown in Figure 3. The laptop sits at the heart, managing all inputs and outputs with extended USB ports and switches. The ROS runs on the laptop to divide the program into different modules and transmit data by publishing and receiving topics, realizing the active exploration and real-time obstacle avoidance of the mobile robot platform. In the algorithm, the environment detection results are obtained periodically to judge the rationality of multiple planned paths. Then, by giving the motion sequence points of the mobile robot platform, the left and right driving wheels are differentially controlled.
The sensing module is divided into two parts, which are used to process the data of IMU and VLP-16 respectively. The base controller module is used for positioning and motion control of the mobile robot platform. The active exploration module sends speed commands to the basic controller module through the related topic, which is used for obstacle detection and path selection. A data packet of the IMU is 14 bytes, and the data transmission is set at a baud rate of 115200, which means that 822 valid data can be transmitted per second. The data of IMU is published to other nodes through its topic. The basic controller module obtains the attitude angle information of the mobile robot platform by subscribing to the topic of the IMU. Then, velocity information is published by the topic of the basic controller module. The dead reckoning method is used to estimate the position of the mobile robot platform, and the attitude information of the robot is released to other nodes through the related topic. The measurement frequency of VLP-16 is 5-20Hz, and the original point cloud information is obtained through the official driver, which is relative to the base coordinate system of VLP-16. We set the starting position of the mobile robot platform as the origin of the world coordinate system. By combining the real-time estimated pose of the mobile robot platform, the original point cloud is transformed into the world coordinate system as the basis for obstacle detection and path selection. The point cloud data during the exploration process is stored for offline mapping.
4. Active Exploration Map Construction Method
The basic principle of relative positioning is to calculate the pose change between adjacent moments through the internal sensor information on the premise that the initial pose of the mobile robot is given, realizing the real-time estimation of the pose. This method is also called dead reckoning, which predicts the trajectory of the robot based on the kinematics model . The internal sensors commonly used in relative positioning methods mainly include odometers, gyroscopes, and inertial sensors. In this paper, our mobile robot platform adopts the IMU. We wrote a set of basic controller algorithms to drive the operation of the mobile robot platform. The code environment adopts C++ and ROS. The algorithm receives velocity and corner information through topics. In the information, the linear velocity in the x direction is always kept as the direction of the vehicle head, and the unit is m/s. The z-axis angular velocity is expressed as the spin angular velocity in rad/s, assuming that the counterclockwise direction is positive. That is, we control the forward, backward and turning of the robot. Assume that the traveling speed is v, the steering angular velocity is ω, and the robot's turning radius is r. Then the left wheel speed vl and the right wheel speed vr on the robot chassis can be expressed as Eq. (1).
After that, the speed command is sent to the motor driver DS20270C through the CAN bus communication protocol, realizing the movement of the mobile robot platform.
In terms of dead reckoning, we use the moment obtained by the ROS timestamp as the integration time reference. Assume that the surrounding environment is in the same horizontal plane, the current pose of the robot is P(x,y,z,rx,ry,rz), the initial pose is P0(x0,y0,z0,rx0,ry0,rz0), the current moment provided by the ROS is tnow, the previous moment is tbefore, the heading angle provided by the IMU in real time is ψ, and the value range is [-π,π]. Then in the algorithm cycle, the robot pose can be estimated Expressed as Eq. (2).
Among them, cx and cy are calibration coefficients respectively, which are generated by system error and measurement error.
The positioning model above is streamlined and has the accuracy to meet the needs of task scenarios. It is undeniable that there will be cumulative errors in the dead reckoning method. However, when the moving speed is relatively fixed and the speed change frequency is low, the cumulative error is also relatively slow. Under the condition of short running time, there is an approximate linear relationship between the cumulative error and the actual distance, so the cumulative error is reduced to a certain extent by the calibration coefficient. We make the mobile robot move arbitrarily within a certain range for a period by means of remote control, and make it return to the initial position to obtain the cumulative error of dead reckoning. During the running process, the total distance change of the mobile robot platform in the x and y directions is recorded at the same time. By comparing the cumulative error with the total distance, the calibration coefficient is obtained.
The proposed method uses multi-path evaluation for active exploration, and the multiple paths generated offline are shown in Figure 4.
The path points contained in it are stored in the form of data packets, which are directly called in the algorithm, saving computing resources greatly. The mobile robot platform obtains the environment point cloud information in real time through the VLP-16. Combined with its own length, width, and height, the mobile robot platform judges whether the planned path to be selected collides with environmental obstacles and obtains one or more effective paths. Then, according to the position of the end point, a path closer to the target is selected. Compared with reference  using intensive small-scale search and reference  using a search scheme based on likelihood estimation, the path adopted in this paper is sparser, which effectively reduce the amount of calculation. In addition, we add multiple paths on the left side of y=x and y=-x, which prevent the mobile robot from getting stuck at local points. The algorithm process is as follows.
Algorithm 1: Active Exploration Method Based on Multi-path Evaluation
1. Initialize multiple communication protocol configurations, mobile robot posture, and parameters of each node
2. Obtain the 3D point cloud, and transform to the world coordinate system after performing voxel grid filtering, obtaining the point cloud set P. The number of points in it is set to Np
3. Read the offline path file and get N pieces of path information, including path number, path point coordinates and tangent slope of the point
4. Obtain artificially set target point information
5. for i = 1 ... N do
6. for j = 1 … Np do
7. According to the position of the path point, the slope of the tangent line at this point, and the length, width, and height of the mobile robot platform, calculate whether the i-th path collides with the j-th environment point, and determine the feasibility of the path
8. end for
9. If the i-th path is feasible, obtain the distance Di between the end position of the path and the target point; if it is not feasible, set Di to a larger number
10. end for
11. According to D1...Dn, select the best path to drive the mobile robot platform to explore
The point cloud set P is the 3D point cloud of the environment after filtering and coordinate transformation, including obstacle information. N represents 25 paths generated offline, and the path information is stored in other arrays. The set D represents the distance between the end point and the end position of the selected path, where we use the Euclidean distance.
In the process of active exploration, whether the environment point cloud accurately reflect the environmental information directly determines the accuracy of path selection in active exploration. Since VLP-16 has a blind area of one meter, the use of real-time environment point cloud for multipath evaluation often ignores important obstacle information. Therefore, in this paper, we unify the coordinates of the environment point cloud into the world coordinate system, and store a frame of environment point cloud at intervals to ensure that the scope of multipath evaluation is the environment information within the previous 3-5 seconds.
During the active exploration process of the mobile robot platform, the 3D point cloud information of the environment is stored to generate an offline data package. Afterwards, the algorithm  is used for offline map building. It combines lidar and IMU data for mapping. By optimizing the ground points, high-precision 3D reconstruction of the environment is achieved. Since lidar data and IMU data are loosely coupled, it is also possible to use only lidar data for mapping. Constructing the environment map offline saves computing resources in the active exploration process of the mobile robot. At the same time, the offline method has the advantage of reviewing the exploration path selected by the mobile robot during operation and providing data support for the subsequent improvement of the algorithm. After the offline map is obtained, the effectiveness of the offline map is verified by measuring the positional relationship between obstacles and comparing it with the obstacle relationship in the real world. In addition, we draw a visual path for easy observation by subscribing to the odometer information.
We conduct an indoor active exploration experiment, as shown in Figure 5.
The starting point of the mobile robot platform is taken as the origin of the world coordinate system called /map. By artificially setting the target point, the mobile robot platform is driven to explore autonomously. The experiment is carried out in a 6m*6m space with multiple obstacles, including chairs and cardboard boxes. They are scattered throughout the environment to ensure that multiple paths are valid, avoiding artificially blocked and unsolvable situations. The 6m*6m space belongs to the small environment experiment scene. Compared with the real environment, the placement of four chairs and two cardboard boxes increases the complexity of the environment, which is more challenging for autonomous exploration.
At the beginning of the experiment, set an exploration target point through artificial estimation. After receiving the coordinates of the target point, the mobile robot platform starts active exploration. The experimental diagram is shown in Figure 6.
After that, we save the point cloud data during the autonomous exploration process and use it to build the environment map. The picture is shown in Figure 7.
After the mobile robot platform starts along the positive direction of the red x-axis, it judges the position of obstacles according to the VLP-16. When it encounters Carton 1 at time 0 second, the mobile robot platform adjusts its course to the left and chooses a path that avoids Chair 1. At time 4 second, the mobile robot platform is in the middle of Chair 1 and Chair 2, choosing to move on. Encountering the obstacle Chair 3 at time 8 second, the mobile robot platform adjusts its course to the right and chooses to avoid the obstacle Chair 4. At time 12 second, it reaches the artificially set target point.
The experimental effect is quantitatively evaluated from two aspects. One is the exploration efficiency, which is evaluated by the number of explorations and the length of the exploration path. The number of explorations indicates how many times the mobile robot needs to choose a path to reach the target position, and the length of the exploration path indicates how much distance the mobile robot needs to travel to reach the target position. In the above experiment, the mobile robot selects a total of 4 paths. The second is information gain, which is mainly manifested in the quantity and quality of point cloud modeled on environmental objects. From the experimental picture, we see that this method has performed high-quality modeling on the surrounding walls and tables, but due to the influence of the sensor field of view, the modeling effect on chairs and cardboard boxes is poor. Only a small number of point cloud is obtained. Therefore, setting the starting point of the mobile robot is an important thing. There should be as few obstacles as possible within a certain range around the starting point, so that the final effect will be better.
In this paper, we design a mobile robot platform with autonomous controllable mechanical structure and control system, which has good mobility and scalability. In addition, we build a software control framework based on the ROS, using multi-node communication to realize the cooperation of various sensor data and control instructions. Finally, we propose an environmental active exploration map construction method, completing an active exploration experiment in the indoor environment by using multi-path evaluation. In the future, we will study active exploration methods that adapt to various complex environments and improve the operating efficiency of the algorithm.
The data supporting our research results are included within the article or supplementary material.
The authors declare no conflict of interest.