Magnetic Levitation Model for Real-Time Windows Target
In addition to the vrmaglev example, the
vrmaglev_rtwin example works directly with the actual
CE 152 scale model hardware in real time.
We created this model to work with Real Time Workshop, Real Time Windows Target,
and the HUMUSOFT AD 512 data acquisition board.
However, you can adapt this model for other targets and acquisition boards.
A digital IIR filter, from the Signal Processing Toolbox, filters the physical system output.
You can bypass the physical system by using the built-in plant model.
Running this model in real time is an example showing the capabilities of Simulink in control systems design and rapid prototyping.
Note that after enabling the remote view in the VR Sink block dialog box, you can control the Simulink model even from a remote client computer. This can be useful for distributing the computing power between a real-time Simulink model running on one machine and the rendering of a virtual reality world on another machine.
Note: This demo requires the following software and hardware components: