WOLFRAM SYSTEM MODELER

BallAndBeamBase

Base model with ball and beam and reference setup

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.Physics.BallAndBeam.Components.BallAndBeamBase"]
Out[1]:=

Information

Ball and beam assembly with an external reference and a feedback block.

Partial model that is used for testing different control methods

Parameters (3)

amplitude

Value: 0.07

Type: Length (m)

Description: Amplitude of the reference pulse.

offset

Value: -0.05

Type: Length (m)

Description: Offset of the reference pulse.

period

Value: 10

Type: Time (s)

Description: Period of the reference pulse.

Connectors (4)

x

Type: RealOutput

Description: Ball position along the beam

v

Type: RealOutput

Description: Ball velocity along the beam

y

Type: RealOutput

Description: Reference signal

u

Type: RealOutput

Description: Input variable for the servo

Components (3)

ballAndBeam

Type: BallAndBeamModel

Description: Ball, beam and base assembly

feedback

Type: Feedback

Description: Output difference between commanded and feedback input

pulse

Type: Pulse

Description: Generate pulse signal of type Real

Extended by (2)

BallAndBeamLQR

EducationExamples.Physics.BallAndBeam

Model of a ball and beam setup controlled by a linear quadratic regulator

BallAndBeamPID

EducationExamples.Physics.BallAndBeam

Model of a ball and beam setup controlled by a PID-controller