WOLFRAM SYSTEM MODELER

NoControl

Model of a LEGO Segway without a controller keeping it upright.

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.ElectricalEngineering.LEGOSegway.NoControl"]
Out[1]:=

Information

 

LEGO Segway: Controlling an Inverted Pendulum

 

Introduction

This model is of a LEGO Segway with disturbances, but without any kind of controller to keep it upright. For the model with a controller, open LEGOSegway.LQControl.

View the model diagram for this model.

 

Simulation

To simulate the LEGO Segway and view a 3D animation of it, follow the steps below:

  • Click the simCenter button in the top-right corner.
  • When the build is finished, click the Simulate button simulate.
  • Click the Animate button animate.
 

Parts of this example require the Wolfram Language. Open the accompanying notebook LEGOSegway.nb for those scenarios.

 

Parameters (2)

uMax

Value: 8.5

Type: Voltage (V)

fMax

Value: 0.31

Type: Force (N)

Connectors (1)

angle

Type: RealOutput

Components (8)

segway

Type: LEGOSegwayModel

force

Type: WorldForce

pulsex

Type: Pulse

pulsey

Type: Pulse

pulsez

Type: Pulse

world

Type: World

LeftMotorVoltage

Type: TimeTable

RightMotorVoltage

Type: TimeTable