2017 PERUN Technologies Overview
2017 PERUN Technologies Overview
2017 PERUN Technologies Overview
Technologies
LARA-100 OVERVIEW
ESSENTIAL INFO ABOUT PERUN'S TECHNOLOGY AND SOLUTIONS
PERUN Technologies
CONTENTS
1 Introduction to LARA Environment ....................................................................................................... 2
1.1 Why LARA-100?............................................................................................................................. 2
1.2 What is LARA-100? ........................................................................................................................ 3
2 Setting up LARA-100 hardware step by step ......................................................................................... 7
3 PERUN PowerDesk software suite ...................................................................................................... 13
3.1 PERUN PowerDesk Features ....................................................................................................... 13
3.2 PERUN PowerDesk (PPD) Standalone version............................................................................. 16
3.3 Automatic Code Generation ....................................................................................................... 18
4 Power Stage Re-configurations ........................................................................................................... 19
4.1 What are LARA-100 Power Stage topology configurations? ....................................................... 19
4.2 LARA-100 configuration examples .............................................................................................. 20
5 What next? .......................................................................................................................................... 27
Control Design Desk which helps user to design the new control algorithm or modify the
existing one
communication with variety of external devices such as encoders, resolvers, PLCs, other LARAs,
etc. through CAN, USB, Ethernet, JTAG and RS485.
LARA-100 Expansion Boards are:
LARA-100 Motherboard as the main component together with -
Application Boards
Communication and
GPIO Boards.
LARA-100 Motherboard has two main functions: the
first one is to enable easy plug-in of controllers (Texas
Instruments C2000 series) and the second one is to
host other Expansion boards based on plug-in
principle. You might think of it in similar way as of PC
motherboard.
The role of LARA-100 Application Boards (APP
Boards) is to extend the LARA-100 system
functionalities and features related to specific power
electronics applications. There are two main types of
PERUN PowerDesk can be utilized as an integral part of LARA-100 system as described above, but also it
can be employed as an standalone software package. In this scenario a user can develop and test a
control code on Texas Instruments C2000 controller using Perun PowerDesk for all mentioned purposes
except for system configuration (since there is no LARA's hardware). What do you need in this case?
Clearly you need some kind of a docking board to plug in controller and a PC with installed PERUN
PowerDesk. You can use either LARA-100 Motherboard or TI's Experimenter's kit in the role of the
docking board.
Automatic code generation (auto-coding) functionality from Matlab Simulink is supported in PERUN
PowerDesk which makes the process of control design much easier and comfortable. Simply, auto-
coding is here to generate user designed algorithm and with PERUN PowerDesk tools proceeds with
evaluation, testing and re-design.
LARA-100 with its HW and SW components presents well rounded and open re-configurable platform
(Figure 3).
Frequently asked questions related to PERUN PowerDesk software suite:
Can I use PERUN PowerDesk without LARA-100 hardware?
The answer is yes. You can use PPD in a standalone version. In that case you can test and debug your
control code for any kind of application. All you need is Texas Instruments C2000 DSP, a PC with
installed PERUN PowerDesk, a docking board for DSP such as TI’s Experimenter Kit or LARA’s
Motherboard
Can I write a control code directly from PERUN PowerDesk?
The answer is no. The writing of control code is performed with the tool which provides controller
manufacturer , for instance Code Composer Studio if you use Texas Instruments Controller or by using
Simulink editor and TI C2000 Support for Embedded Coder toolbox. The role of PERUN PowerDesk is to
assist you in Comfortable higher level debugging and testing through Tag Explorer, Oscilloscope
function and real time signal manipulations and analysis.
What is the difference between PPD Standalone and version which comes with LARA-100?
Both versions have the same key features (PERUN Tag Explorer, Oscilloscope and Signal Analysis Desk.
The version which comes with LARA has a link to LARA HW and therefore enables supervisory control
of LARA configured in one of required Power Electronics applications
Can I use PERUN PowerDesk with arbitrary (not only LARA's) hardware?
In short, the answer is YES. However, we strongly suggest you contact us in this case. Your custom
hardware has to have appropriate communication and firmware support required by PowerDesk.
Physical communication between your custom hardware and PowerDesk application has to be
established by means of FTDI chip converting UART to USB serial communication protocol. Within
control software of your device (DSP or microcontroller) you have to include PowerDesk
Communication Library (Perun Scope library is a small footprint designed for effortless utilization).
Other options may also be possible. Please contact us to discuss.
If you are using Texas Instruments small power kits based on C2000 DSP, since they are equipped with
FTDI communication chip, you can use PerunPowerDesk directly, without any additional customization.
User’s controller
LARA-100
PERUN PowerDesk SW
Industrial Converter
Figure 4: LARA-100 system building components: Industrial converter's power stage (left),
LARA-100 Box components (Center) and custom controller in which desired control code is
to be developed (right)
Procedure of assembling LARA-100 will be illustrated now step by step:
STEP 1: Remove the upper mask of the industrial converter and then remove the controller board. So
obtained “empty” upper mask and power stage are shown in Figure 5.
Figure 5: Original converter's mask without controller stage (left) and converter's power
stage (right)
STEP 2: Plug-in controller (Texas Instruments C2000 series) to the bottom side of LARA-100
Motherboard
Figure 7: Mounting the LARA-100 Motherboard to the down side of converter's mask (left)
and mask's upper side with Motherboard's connectors visible after mounting
Before going to the next step, let us consider briefly important Motherboard connectors visible now on
the converter's mask (Figure 8).
LARA-100 Comm.
Board Connector
LARA-100 Motherboard
Power Supply Connector
LARA-100 App.
Board Connector
Power Stage
Connector
LARA-100 GPIO
Board Connector
Figure 8: Converter's mask with mounted LARA-100 Motherboard (down side) and its
connectors visible from the upper side
STEP 4: Mount the LARA-100 GPIO Board by plugging in to appropriate GPIO connector on LARA-100
Motherboard
Figure 12: Connecting converter's Power Stage and power supply with motherboard,
mounting mask to the power stage (left) and LARA-100 mounted (right)
LARA-100 is now ready to be employed in control development. If we want for instance to use it for
motor drive research, we will go through steps explained above, where in the step 5 appropriate
Application Board will be mounted to support for instance encoder/resolver measurements.
The LARA package which is specialized for motor drive applications is called LARA-100 Motor Drive Box
or LARA MD Box. The structure of this box is depicted on the Figure 4 (center), where the Application
board is dedicated for motor drive control development (MD Application Board). However, if we want
to research and develop control in grid-connected applications such as photovoltaics, active filters,
Power Electronics Research Unified Technologies
www.perun-power.com
11
PERUN Technologies
FACTS, active-grids etc, we will switch MD Application Board with GCC Application Board. LARA
package which is specialized for grid-connected applications is called LARA-100 GCC Box. Finally, if we
want to cover both MD and GCC applications, PERUN Technologies prepared LARA-100 Power Box
which includes both application board types (MD and GCC). Of course, if you have one box, let say
LARA-100 MD and you would like to go for grid-connected research, you need to obtain only a new
LARA-100 GCC board. Other expansion boards such as Motherboard, Communication and GPIO Board
do not change except you want some additional specific communication protocol or customizations of
your standard package. Therefore, combining Expansion Boards, the real hardware setup needed for
dedicated control research is ready within minutes.
One basic LARA configuration for motor drive research is presented by Figure 13. LARA-100 is
connected via USB cable (left) to PC with installed PERUN PowerDesk software suite. An induction
machine is connected to LARA-100.
Figure 13: Connecting LARA-100 with PC through USB cable (left) and assembled setup for
motor drive research (right)
Tag explorer
www.perun-
power.com
Tag Explorer
TagExplorer is used to access individual variables inside controller memory of one or several LARA-100
devices. Variables are accessed by name, and the corresponding address and data-type information are
extracted based on the appropriate compiler generated file.
of available low-pass filters, to compute the power by algebraic manipulations of the obtained
quantities, to compute the spectrum, if needed, and plot a selection of the results on several plots.
Some of the computations may be rather complicated, time and memory consuming. If you already
streatched the limits of your controller too far, it would be impossible to perform the on-line. Even if
your margin is more slack, the introduced modifications could alter the behavior of your control loops,
by affecting timings and task scheduling.
By using PowerDesk, all computations are transferred to the PC side. Your control code remains
unaffected.
Does your controller includes an elaborate state-machine? Are you interested in process behavior
during state transients? Are you interested in behavior of derived variables not directly available for
measurements? If the answer is YES, then PERUN PowerDesk is a right tool for you. Even if you are not
interested in using the entire LARA-100 technology stack.
Finally, let us explain what do you need to provide in order to employ PERUN PowerDesk (except for
PERUN PowerDesk itself). Essentially, you need to have an interface board for interfacing Texas
Instruments DSP and this interface board should host FTDI communication chip. Two obvious choices
appear:
LARA-100's Motherboard or
Texas Instruments' Experimenter Kit
Both solutions provide smooth interfacing between controller and PERUN PowerDesk software suite for
its standalone operation.
Plainly speaking, PPD provides real time signal processing, mathematical manipulations, displaying and
visualization of any group of signals conceived in microcontroller/DSP and procured to PC via FTDI chip.
As such it might be for instance in the role of an extremely convenient extension to Texas Instruments
Code Composer Studio. Furthermore it is completely independent of control code purpose (motor
drives, grid-connected, non-electrical processes...) as soon as you feed it with signals through FTDI.
Following the PPD standalone line of thinking we can easily detect one additional PPD application.
Namely, PPD can be used for real-time simulation of required processes (motor drives, active filters but
generally any kind of process we have a model for). In that case, the process model and control code are
implemented in DSP, while PPD provides real time signal manipulations and displaying as mentioned.
However we would like to emphasize that PPD is not emulation or simulation tool. It can be employed
as such as a result of its flexibility and modular design.
If you want to learn more about PPD standalone possibilities through one interesting example of DC
motor, please refer to the document. We could provide you with the dedicated example accompanied
with this document which gives you a very good possibility of general evaluation of PERUN PowerDesk
software suite.
Such scenario combines flexibility of Simulink control design with LARA-100 hardware configurability
and PERUN PowerDesk functions for real time signal processing, analysis and control design.
Descriptively speaking, you may think of such approach as of extending the Simulink flexibility to the
real hardware thanks to LARA's configurable nature. Furthermore, PERUN PowerDesk offers a broader
frame for system integration while bringing its own powerful tools for comfortable testing and high-
level control design.
LARA-100 system with its hardware part (configurable power converter) and software part (PERUN
PowerDesk) is entirely independent from Simulink and Matlab. It depends on user's preference
whether Simulink or Texas Instruments' Code Composer will be employed for low-level control design.
PERUN PowerDesk
Simulink model
autocoding
LARA-100
download Motherboard
C-code
Power Electronics Research Unified Technologies
www.perun-power.com
18
PERUN Technologies
PD P temp
Th
T1 T2 T3
Pre-charging
D1 D2 D3 circuit I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
N RB
Three-phase DC bus Braking Three-phase
rectifier chopper inverter
Figure 19: The LARA-100 power stage electrical scheme: main components, measured signals
and accessible power terminals
As mentioned before, LARA-100 Power Stage is actually a power stage of an industrial converter with
its three-phase rectifier, pre-charging circuit, DC bus, braking chopper and three-phase inverter.
Accessible power terminals (Figure 20) are: R, S, T, PD, P, N, RB, U, V, W.
R S T PD P N RB U V W
Figure 20: Accessible LARA-100 power stage terminals
Manipulation with this very power nodes enables configuring LARA-100 in various converter topologies,
as it will be demonstrated a bit later. The power stage interface originally provides us with the
following measurements: inverter currents IU, IV, IW, DC bus voltage UDC and temperature temp (given
in red). Additional measurements are provided through LARA's Expansion Boards. However, for the
time being, we will focus on explaining one of the key points: How to configure LARA-100 to make it
operate as a converter we want?
We will answer to this question by demonstrating the solutions for several characteristic cases.
Note that the following examples are not detailed instructions for operation. The intention here is just
to provide you basic ideas how to configure and re-configure the same LARA-100 to emulate various
power converters.
T1 T2 T3
Rp
D1 D2 D3 I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
N RB
Figure 21: Electrical scheme of LARA-100 power stage configured as a single-phase rectifier
The next example is very similar to the first one.
PD P temp
Th
T1 T2 T3
Rp
D1 D2 D3 I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
N RB
Figure 22: Electrical scheme of LARA-100 power stage configured as a three-phase rectifier
BOOST CONVERTER
PD P temp
Th
T1 T2 T3
D1 D2 D3 I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
N RB
Figure 23: Electrical scheme of LARA-100 power stage configured as a boost converter
Boost control is achieved through controller, such as TMS320F28335 which supplies gate drive signals
to the power stage via LARA-100 Motherboard.
INTERLEAVED BOOST
U
V LARA-100 power stage can be configured to
W emulate the following interleaved boost
RB P
topologies: 2 phase, 3 phase and 4 phase. To
E1 E2 E3 E4
emulate 2 phase interleaved topology, we will
connect boost input inductances with two
terminals out of four: U, V, W or RB. Note that
N
we can use breaking chopper (RB terminal) as
the boost stage (phase).
The maximal number of phases is 4 which is illustrated by Figure 24. Interleaved output voltage (UDC)
temperature (temp) and currents of the first three boost phases U, V and W are measured through
power stage interface and LARA-100 Motherboard, while other measurements of interest, such as the
fourth phase current and input voltages could be procured through LARA's Application Board.
Boost control is achieved through controller (e.g. TMS320F28335) which supplies gate drive signals to
IGBTs T4, T5, T6 and T7 through LARA's Motherboard.
PD P temp
Th
T1 T2 T3
D1 D2 D3 I U I V IW
R U
S UDC V
T T7 T4 T5 T6 W
RB
D4 D5 D6
N
Figure 24: Electrical scheme of LARA-100 power stage configured as a 4-phase interleaved
boost
FOUR-QUADRANT CHOPER
PD P temp
Th
T1 T2 T3
D1 D2 D3 I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
Figure 25: Electrical scheme of LARA-100 power stage configured as a 4-quadrant chopper
T1 T2 T3
D1 D2 D3 I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
Figure 26: Electrical scheme of LARA-100 power stage configured as a 1-quadrant and 2-
quadrant (orange) chopper
Power Electronics Research Unified Technologies
www.perun-power.com
25
PERUN Technologies
THREE-PHASE INVERTER
T1 T2 T3
D1 D2 D3 I U I V IW
R U
S UDC V
T T4 T5 T6 W
D4 D5 D6
N RB
Figure 27: Electrical scheme of LARA-100 power stage configured as three-phase inverter
5 WHAT NEXT?
Dear reader, weather you consider or not to employ PERUN Technologies solutions in your Power
Electronics control development, research or education, we would be very honored and grateful for
your kind feedback and your first impressions. Your contribution could help us decisively to improve
our technology to serve better in our joint mission for energy healthier and safer world. We are
sincerely open for all your comments, suggestions and advices.