Multibody™ examples that illustrate modeling, control, and simulation
of real-world multibody systems.
A wing landing gear mechanism that can deploy and retract based on the input deploy signal. The mechanism consists of the main column that houses the wheel assembly and the locking mechanism that is used to lock the landing gear in the deployed position.
A hydraulically actuated backhoe model with closed-loop PID control. The mechanism consists of a fixed vehicle model with a base mounting bracket. The bracket allows the backhoe arm to swivel left and right. Additionally, this arm has three rotational degrees of freedom for controlling the position of the bucket relative to the base swivel point.
Models a cable driven space manipulator. The manipulator comprises of 2 links connected via a system of revolute joints. Each link consists of belt-cable circuits which drive the movements of the manipulator. It also consists of a spring-damper system which provides different stiffness requirements. A space application is shown in this example where the objective of the manipulators is to capture a small satellite. The manipulators start from folded states and then perform necessary maneuvers to extend and reach the desired position. The pulleys are motion actuated from which necessary belt-cable kinematics are computed.
Models a Cartesian 3D printer. The model allows you to specify the rotational motion of the motor on each axis to define a printing path. In this example, the printing head moves along the edges of two letters, S and M, using the predefined rotational motions.
Illustrates a double wishbone front wheel automotive suspension. The suspension is mounted on two platforms that can independently move up and down to simulate a road profile on each wheel. For a given pair of road profiles, the resultant roll and bounce of the chassis can be studied and the suspension parameters tuned for optimal performance. The inputs to the two platforms are the road profile and its derivative. The platforms have a PD controller that controls the vertical position of the platform to mimic the input road profile. See "Road Profiles Generator" block dialog for details on the test road profiles.
Models an elevator system in Simscape Multibody™. The system comprises of belt-cable pulley circuits which control the movement of the elevator and the door mechanism. The cable is approximated to be extensible by using high stiffness springs between the belt cable ends and the elevator. The motor pulley is motion actuated based on the necessary elevator kinematics computed from the Floor Number inputs. Effects of people entering and leaving the elevator are modeled using general variable mass blocks.
A fairground carousel ride. A torque applied to the wheel causes the carousel to rotate and a hydraulic actuator provides the force to lift the arm. The cabs are free to rotate about an axis approximately tangential to the wheel radius. When the wheel is near vertical, the centrifugal acceleration acting on the cabs (caused by the rotation of the wheel) ensures that the cabs are close to a near vertical position. Consequently, the riders are close to 'up-side-down' at the top of the rotation.
Models a forklift which uses the hydraulic and pulley mechanisms to perform the lift action. The tilting of masts is also controlled by hydraulic cylinders. The forklift comprises of 3 masts, namely main mast, top mast and fork mast. The main mast is connected to the chassis by revolute joints and its tilting is governed by the hydraulic tilt cylinders. The top mast slides over the main mast and its motion is governed by the hydraulic lift cylinders. The fork mast slides on the top mast and hangs through belt-cable circuits which drives the movement of the fork mast. A common warehouse application is shown in this example where the objective of the forklift is to grab a box, pass over a bump and place the box in the racks. Spatial Contact Force blocks are used at all contact locations to model the contact between the bodies. The contact between the ground surface and the wheels are modeled using infinite plane block and the contact between the forks and the box are modeled using the point blocks.
Models a passenger vehicle on a four-post testrig. The posts move up and down to replicate the vertical movement of the wheels as it travels along a road. The simulation results and animation show the response of the vehicle body and suspension as it is subjected to the motions from the testrig. The roll and pitch of the vehicle body can be observed, and by varying the inputs wheel hop frequencies can be determined. The vehicle model can be configured to use different suspension types for the front suspension with different linkage combinations.
Includes templates for three common types of automotive independent suspension systems: double wishbone, MacPherson, and pushrod. Tires attached to the suspension systems are mounted on platforms that can independently move up and down. Each platform has a PD controller that allows it to simulate a desired road profile. For a given pair of road profiles, the resultant roll and bounce of the chassis can be studied and the suspension parameters can be tuned for optimal performance.
Model an inverted double pendulum mounted on a sliding cart using Simscape™ Multibody™. It also illustrates the use of a controller to balance the pendulum in the upright position. Make any changes to the system and click on the blue box to generate linearized model for the system before running the simulation. The control gains are computed using the linearized model. The pole placement technique is used to compute the control gains from the linearized model. The controller keeps the double pendulum vertical in the presence of a random disturbance force. See the files sm_cart_dpen_linearize.m and sm_cart_dpen_control_gains.m for details.
Interesting wave patterns that emerge among an array of simple pendulums with carefully chosen lengths. It is based on the physical system that can be viewed at www.youtube.com/watch?v=yVkdfJ9PkRQ
Models a ratchet lifter and demonstrates how to use contact proxies for contact problems that involve complex geometries.
A Stewart platform manipulator that can track a parameterized reference trajectory. The shape, size, and kinematics of the manipulator are highly configurable.
Models a 3-Roll robotic wrist mechanism based on the Cincinnati-Milacron 3-roll wrist mechanism. The mechanism uses three bevel gear pairs to rotate the tool about 3 independent axes. The tip of the tool moves along the surface of a sphere and can be rotated about an axis that passes through the center of that sphere (drilling action). In this example, precomputed torques are applied to the three drive shafts to achieve a certain trajectory (on the surface of the sphere) of the tool tip. Drilling is performed at different points along the trajectory.
Model a humanoid robot using Simscape Multibody™ and train it using either a genetic algorithm (which requires a Global Optimization Toolbox license) or reinforcement learning (which requires Deep Learning Toolbox™ and Reinforcement Learning Toolbox™ licenses).
Models a tower crane with a trolley and a hoist. The hoist can raise and lower a load, and the trolley moves the load towards and away from the tower. Blocks from the belts and cables library are used to model the pulleys that control lifting the load and moving the trolley.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office