VisSim/Embedded
Controls Developer Personal Edition
NEW:
VisSim ECD now supports the ADI 21061/2 target
A Smarter, Faster Way for Embedded
Control Design
The VisSim/Embedded Controls Developer Personal Edition is an integrated
software program for the rapid prototyping of embedded controllers/filters
targeted for implementation on the Texas Instruments C2000 family of
Digital Signal Processors (DSPs). It is a custom version of VisSim,
funded by Texas Instruments under a software development agreement between
Visual Solutions and Texas Instruments, and an entry-level implementation
of the full VisSim/Embedded
Controls Developer. The VisSim/Embedded Controls Developer Personal
Edition software supports the TI F243 and LF2407 evaluation modules
(EVMs) and the LF2407 eZdsp.
The VisSim/Embedded Controls Developer
Personal Edition includes:
-
VisSim PE:
a block diagram based modelling and simulation environment.
-
VisSim/Fixed
Point: fixed-point blocks and design tools for simulating
the behaviour of fixed-point algorithms.
-
TI C2000 Digital Motor Control (DMC) Block Set
-
VisSim-Code Composer Studio (CCS) plug-in
-
Automatic C-code generation to TI C2000 DSP target
and CCS; automatic programming of the TI DMC block set and automatic
programming of analogue & digital I/O for the F243/ LF 2407/ LF2407
eZdsp.
-
TI C2000 CAN Bus Support
-
Serial LCD Support
-
A trial version of VisSim/Motion,
an optional block set that includes over 40 pre-built motor, amplifier,
sensor, encoder, dynamic load and PID models.
The Rapid Prototyping Process
The first step in the rapid prototyping process is to develop a model
of the system including the controller or filter (algorithm) that is
targeted for the DSP. The user constructs the model by selecting pre-built
blocks from a block library and simply wires (graphically connects)
the blocks into a diagram (see representation below right; click
on image for larger version). Once the system model is
completed, a simulation is run to validate the behaviour of the algorithm
with the results of the simulation being displayed in the form of a
plot block.
The
next step is to validate the behaviour of the "simulated"
algorithm on the target DSP. The user then selects the block(s) representing
the controller or filter - VisSim automatically generates ANSI C code
and automatically compiles, links and downloads the algorithm to the
target DSP. The results of the two simulations can then be easily compared
to ensure that their behaviour is identical. It is important to note
that VisSim also automatically programs the analogue and digital I/O
for the TI F243, F2407 EVMs & LF2407 eZdsp (a time consuming, tedious
task).
The VisSim GUI is retained
while the algorithm executes on the DSP to enable the user to validate
the performance of the algorithm on the target. For example, the user
could visualise plot responses of position, current and velocity or
view the effects of changing gain values.
Once the algorithm has been
validated on the target DSP, the ANSI C code can be generated directly
to a Code Composer Studio project - allowing the code to be integrated
with other user-developed code.
See the VisSim/Embedded
Controls Developer Personal Edition in action - view our movies here!
Detailed Descriptions:
-
The TI C2000 Digital Motor Control (DMC) Block Set
consists of C equivalent (for use in a software only simulation) and
C-callable versions (for use in DSP-in-the-loop simulation) of the
TI C2000 DMC assembly routine library. The DMC assembly library includes
blocks such as a PI Regulator, PWM Drivers, a Space Vector Generator
and a Volts-to-Hertz Profile. The DMC routines will be automatically
programmed by the VisSim/Embedded Controls Developer Personal Edition
- NO ASSEMBLY PROGRAMMING REQUIRED.
-
The VisSim-CCS plug-in provides the option of creating
a Code Composer Studio (CCS) project of the code targeted for the
TI C2000 DSP. The VisSim-CCS plug-in creates a project that includes
the generated .c file as well as the necessary VisSim support libraries
or alternatively generates code to an existing CCS project.
Screenshot
on right: Sample dialogue box of the PI Regulator from the TI C2000
DMC Block set. The user simply inputs parameters and the assembly
routine will be automatically programmed. Click on image for larger
version.
Software for the Rapid Prototyping of Controllers Targeted for TI
C2000 DSPs
-
CAN Bus Support: supports all 6 CAN mailboxes on the
TI C2000 series. Baud rates to 2 megabits are supported. Mailboxes
are configurable from 0 to 8-byte data packet size. User configurable
addressing can be 11 bits or 23 bit extended. Remote frame requests
and auto-answer are also supported.
-
Serial LCD Support: LCD blocks support up to 4 line
by 20 column serial interfaced LCDs. Users can compose text prompts,
numeric formatting, field placement, and page address for each block.
Additionally runtime paging commands are also supported. Serial baud
rate, serial protocol, and LCD vendor format are user configurable.
-
Fixed-Point Production Code: Example of Automatic
Fixed-Point Code Generation.
Screenshot on right: Automatic C-code generation from the VisSim-CCS
Plug into a C2000 Code Composer Project set. Click on image for
larger version.
Highlights:
-
Automatic programming of TI C2000 DMC assembly routines
-
Automatic C-code generation; automatic compile-link-download
of algorithm to the target
-
Automatic programming of analogue and digital I/O
for TI F243, F2407 EVMs & LF2407 eZdsp
-
High quality, efficient fixed-point production code
(10-12k footprint for sample controller)
-
Retention of the VisSim GUI while algorithm executes
on DSP (e.g., to visualise plot responses of position, current and
velocity or to view effects of changing gains)
-
JTAG implementation for downloading and real time
communication
Product Add-Ons (Options)
VisSim
Motion - a motion specific block set that includes over 40 pre-built
motor, amplifier, sensor, encoder, dynamic load and PID models.
VisSim/Analyze - linearizes
non-linear systems; performs Bode, root locus and Nyquist analysis of
continuous and discrete systems; provides pole placement control design.
VisSim/C-Code (for other
than TI C2000 target) - automatically generates customisable ANSI C
code directly from a VisSim diagram. The C code can be compiled and
run on any platform that supports an ANSI C compiler. Compiled code
can increase the speed of simulations up to 10 times.
Upgrade to VisSim Professional
version - expands block count from 100 blocks to an unlimited number
and provides support for User Function block (create custom VisSim blocks
from existing code).
Screenshot
on right: Upper arrow shows automatic comments and full variable
names consistent with those used in block diagram that make code very
readable and portable. Lower arrow shows Fixed-Point operations implemented
as in-line macros and shift operations resulting in fast execution speed
and small footprint. Click on image for larger version.
|