ν
ων
ω
ν
+
==
−−
(5)
3
VREP SIMULATION
EXPERIMENT DESIGN AND
RESULT ANAYLYSIS
A simulation experiment was conducted using
VREP software on the established mobile robot
model. The overall design scheme mainly
includes software design and experimental design.
The software design includes four aspects:
modeling, path planning, adding sensors, and
programming using Lua language. The specific steps
are as follows:
① Establish the body of the mobile robot. Add a
rectangular body with a length of 30cm, a width of
20cm and a height of 10cm into ADD, then add four
cylinders to the body as wheels, and add four
rotating joints to the four wheels, so that the cylinder
can drive the body to move.
② Build a simulation environment and plan the
path of the mobile robot. Click Add path, select the
circular path in the category, and then click Track
Edit to edit the 16 track points. The trajectory should
be as smooth as possible to ensure that the robot
does not encounter positional deadlocks during the
simulation.
③ Add sensors. Select Perspective sensor in the
sensor type to change the sensor position
coordinates. The same method adds two more
sensors and renames them left, center, and right.
Make sure the trajectory is within the detection
range of the sensors.
④ Write the motion program. Use the forward
and inverse kinematics equations of the robot in
Chapter 2 to model the programming. The
experimental design includes the correct connection
between each part of the experiment, reasonable
path curves, correct programming, and good
programming habits to achieve the final simulation
result. Figure 3 shows the simulation of the mobile
robot tracking the path.
Figure 3: Tracking simulation diagram of mobile robot.
In VREP, robot control programs can be written
using LUA scripts to achieve robot path tracking. By
using the grayscale sensors and the odometer multi-
sensor fusion algorithm, different sensor information
can be fused to obtain more accurate and
comprehensive robot environment perception
information, thus improving the robot's autonomous
navigation and obstacle avoidance capabilities.
As shown in Figure 3, the three pictures in the
lower right corner are the information collected by
the three grayscale sensors, that is, the information
of the three sensors on the left, middle and right.
When the robot deviates to the left, it can refer to the
information from the left sensor to move forward
and make corrections.Similarly, the right side is the
same as the left side; When the robot moves forward
with the middle sensor as the reference, it can
maintain a straight trajectory and reach the target
point. Through simulation experiments, this method
can accurately simulate the motion and sensor data
of mobile robots. Specific experimental design
includes robot path planning, motion control and
sensor data acquisition, etc. Ultimately,the robot can
navigate the experimental destination with high
precision and the controller has stable performance.
The experimental results show that the mobile robot
model can improve the accuracy of multi-sensor
fusion data and ensure the motion accuracy of the
simulated robot. Through the above experimental
simulation, the feasibility and effectiveness of the
proposed modeling method are verified.
4
CONCLUSION
This article studies the modeling and simulation
technology of mobile robots based on VREP.
Through the analysis of mobile robot modeling
methods and mobile robot motion analysis, a mobile
robot motion model is established. At the same time,
VREP software is used to simulate its modeling, and
multi-sensor fusion is added to achieve target point
tracking function and improve accuracy. The
ANIT 2023 - The International Seminar on Artificial Intelligence, Networking and Information Technology