This is simulation of quadruped robot made in Matlab using Simulink library Simscape Multibody.
Blocks in Simulink inherit parameters from objects defined in quadruped_sim_param.mlx
to make
it easier to modify and duplicate Simulink modified blocks.
Simulation requires following Matlab Toolboxes:
- Simulink Simscape;
- Simulink Simscape Multibody;
- Simscape Multibody Contact Forces Library now replaced with Simulink Simscape Multibody standard blocks for shorter simulation time.
- Motor inertia.
- Robot position measurement.
- Motor angular speed saturation takes value from script.
motor
block is nowactuator
.- Moved blocks connected with
Joint
object tojoint
block. - Updated
leg
blocks inquadruped.slx
.
leg_sim_data_validation.mlx
now runs.
- Leg joint blocks in Simulink inherit after
LegJoint
object. - Motor angular speed saturation.
- Hip height in
single_leg.mlx
leg_sim_data_validation.mlx
with:- Loop testing of different gearbox ratios.
- Total power consumption of simulation.
- Jump height.
- Gearbox wear as integral of absolute value of angular acceleration with threshold value.
- Comparison of different simulation results.
controller
block is now calledmotor
.- Planetary gearbox block is now simple gain.
- Logged data:
- Angular speed of motor is now both in rpm and rad/s.
- Added pure motor torque as an option.
- Simulink Simscape Driveline blocks.
- Leg bodies are now in objects.
- Jump sequence.
- Simulink Simscape Driveline planetary gearbox block.
- Logged data:
- Angular speed of motor is now in rpm.
- Added pure motor torque as an option.
- Added current measurement as an option.
- Single leg inverse kinematics
This simulation is published under GPL v3.0 license.