2. What`s 20-SIM!?
mechateronic.wikispaces.com
2
20-sim is a modeling and simulation program for mechatronic systems. With 20-sim you
can enter model graphically, similar to drawing an engineering scheme.
With these models you can simulate and analyze the behavior of multi-domain dynamic
systems and create control systems.
You can even generate C-code and run this code on hardware for rapid prototyping and
HIL-simulation.
20-sim provides you with tools that allow you to create models very quickly and
intuitively.
You can create models using equations, block diagrams, physical components and
bond graphs.
Various tool boxes help you to build your models, simulate them and analyze their
performance.
Download the free viewer here and learn by doing.
3. 20-SIM Models
mechateronic.wikispaces.com
3
Systems can be modeled in 20-sim,
using equations, state space descriptions,
bond graphs block diagrams,
and components or iconic diagrams.
These descriptions can be fully coupled to
create mixed models.
20-sim models are stored in files.
All 20-sim models are open!
You can drag and drop them from the
Windows Explorer to the 20-sim Editor
and change them.
You are allowed to store the original and
changed models in separate folders to
create your own library of models.
9. What`s 20-sim 4C!?
9
20-sim 4C helps you to run c-code on hardware to
control machines and systems and do measurements
The package is an extension to the modeling and
simulation package 20-sim.
In model based design, control engineers use
simulation models to test their controller designs.
20-sim is a modeling and simulation package that is
designed specially to support controller design.
Models in 20-sim can be exported to 20-sim 4C as
c-code automatically.
20-sim 4C supports a wide variety of hardware.
You can choose between hardware with open source
real-time Linux or a closed source OS.
• TS-7300 (ARM9): This is the TS-7300 board of Technologic Systems.
• PC: A Standard PC with extension cards for inputs and outputs.
• PC104: Embedded PC with extension boards for inputs and outputs.
• Bachmann M1
mechateronic.wikispaces.com
10. Adding 20-sim 4C
to 20-sim 4.6
20-sim 4C does not yet recognise 20-sim 4.6. As a consequence, 20-sim 4C
does not appear in the list with C-code generation targets.You can add 20-sim
4C 2.x manually to this list using the following steps:
1)Start 20-sim 4.6
2)Open from the menu: "Tools" -> "Options". This will show the "20-sim General
Properties" window
3)Select the "Folders" tab
4)Click the "C-code Folders" button. this will show the "Folders" window.
5)Click "Add"
6)Browse to: "C:Program Files (x86)20-sim 4C 2.xsource20-sim" (or
C:Program Files20-sim 4C 2.xsource20-sim on 32-bit systems) and click
"Ok"
10
mechateronic.wikispaces.com