Download pdf - PSIM_Simcoder_TIF28335

Transcript
Page 1: PSIM_Simcoder_TIF28335

POWERSYS - Exclusive Distributor of PSIM Softwarewww.psim-europe.com - [email protected] - Tel: +33 (0)4 42 61 02 29

SimCoder & TI-F28335 HardwareTarget ModulesFor Automatic Code Generation

SIMCODER MODULE

TI-F28335 HARDWARE TARGET MODULE

AUTOMATIC CODE GENERATIONThe SimCoder Module is an add-on option to the PSIM software forautomatic code generation.SimCoder provides the capability to generate C code automatically fromthe PSIM schematic. With SimCoder, users can simulate a system inPSIM first, then generate C code for specific DSP hardware.The automatic code generation provides a seamless integrationbetween simulation and hardware implementation, and greatly speedsup the development and design process.

At the present, SimCoder supports three hardware targets: • TI-F28335 Hardware Target• PE-Expert3 Target• General Hardware Target

With the TI-F28335 Hardware Target, the generated code can rundirectly, without any changes, on any Texas Instruments' floating-pointDSP F28335.With PE-Expert3 Target, the generated code can run directly, withoutany changes, on PE-Expert3 DSP development platform (with TexasInstruments TMS320C6713 floating-point DSP) from Myway Co(www.myway.co.jp).With the General Hardware Target, code can be generated for generic-type hardware. Users can make changes to the code and adopt the codefor their own specific hardware.More hardware targets will be supported in the future.

EVENT CONTROLEvent control is part of SimCoder. It allows users to define multiplestates, and the sequence control between the states.

For example, the system beside shows two states, S1 and S2, and thetransition between the states. One advantage of the event control inPSIM is that it is very easy to use. Unlike in some software where thestates and system schematics are separately defined, in PSIM, thedefinition of states and the corresponding schematic are all in the sameenvironment.This makes very easy to create and edit a system with multiple states.

The SimCoder allows you to generate C code out of the PSIM controlschematic. The generated code, however, will not run on DSPhardware as it is. In order to generate the code that can run on aparticular DSP hardware, you need a hardware target.

With the TI-F28335 Hardware Target, you will be able to generatecode that is ready to run on DSP boards that use TI's F28335 floating-point DSP.Beside shows a screenshot of SimCoder with TI-F28335 HardwareTarget. The image shows a 2-ch DC/DC Buck Converter Kit(TMDSDCDC2KIT), and inside the F28335 DSP. More hardware targetswill be supported in the future.

Induction motor drive system

Portion of the generated code

Event control

TI-F28335 Target