Write fixed-point DSP code.
With total ease-of-use driven by an intuitive interface, the F2806x Target module lets you run efficient simulations and get reliable and fast results. Test and troubleshoot control algorithms, generate ready-to-run C code automatically and take advantage of real-time control and waveform display with the DSP Oscilloscope. Use PSIM’s F2806x module to automatically check variables for overflow – no more manual checks.
With SimCoder and the F2806x Target Module, debug and validate a control algorithm thoroughly in PSIM, and from the control schematic, generate ready-to-run C code automatically for Texas Instruments’ F2806x series fixed-point DSP. IQmath resolution can be checked for overflow automatically through simulation instead of manual trial and error.
The target module will allow you to spend your time testing and troubleshooting control algorithms and hardware instead of studying datasheets to determine things like which bits in a register need to be set so that your ADC is triggered at the beginning of a PWM duty cycle.
The generated code will work with any DSP hardware board as long as the board uses the F2806x series DSP.
Texas Instruments InstaSPIN is now fully supported in PSIM, both in simulation only and in SimCoder with code generation. For more details on this exciting new PIL feature, click here.
Features & Benefits
New features for F2806x Target Module in version 10.0.6
- Peak current mode control.
- Support for a scaling factor of larger than 3.
- Digital Output Initial State – Function to define the initial state of the digital output added.
- ISR Time Measurement – Measure time using a physical oscilloscope or through SCI using PSIM’s DSP Oscilloscope.
Target Library, Scaling and Overflow Check
The F2806x library includes elements for the following DSP functions:
- A/D converter
- Digital inputs and outputs
- PWM generator
- Encoder and counter
- SCI interface
- SPI interface
- Interupts including trip-zone, comparator, and capture.
- Clock frequency selection
Scaling and overflow check
Because of the limited numerical range, a fixed-point variable needs to have the proper data format in order to ensure good numerical accuracy and at the same time avoid overflow. TI’s F2806x processor line utilizes IQmath to perform floating-point and advanced math calculations with the fixed-point F2806x core. However, the DSP process variables need to be assigned an IQmath resolution and this needs to be checked for overflow. This double check is often done manually, requiring a lot of work and trial-and-error.
In PSIM, value range check of all fixed-point IQmath variables can be done automatically through simulation, as shown in the dialog window below.
The dialog window clearly indicates which variables are close to the limit or over the limit. This greatly simplifies the process of range check and variable data format definition
Easily test, debug and modify the DSP code in a non-disruptive and non-intrusive way.
Based on the F2806x SCI interface, PSIM provides the DSP Oscilloscope function that can display the real-time waveforms of the variables inside the DSP. The DSP Oscilloscope also provides the capability to modify the value of DSP runtime variables during real-time system operation of the physical hardware.
DSP Oscilloscope and C-Code Generation
Use the DSP oscilloscope to identify internal process variables of the DSP to be monitored in the PSIM schematic. When the control schematic is translated into c-code using PSIM, the necessary code will be automatically setup so that these variables can be monitored using the DSP Oscilloscope interface in real-time.
Simply select and trigger on the signals as you would in a standard oscilloscope.
F2806x Target Resources
See what you can achieve with the F2806x Target module. Find more inspiration here.
"“Great product! I have been using PSIM for many years to perform power electronics systems and circuit-level design. The ease of circuit entry, the speed of processing circuits, and the flexibility to…" Read More ›