PLECS PIL Based Case Studies

Part of the Power Systems book series (POWSYS)


In the previous three chapters extensive use has been made of VisSim embedded control software to realize sensorless control of three-phase AC machines using the InstaSPIN approach. In all cases a hardware set up as shown in Fig. 7.1 (top part) was used to access the LAUNCHXL-F28069M, whereby a PWM/ADC module was provided for data acquisition/control of the converter via a gate driver. In this chapter the PLECS based ‘processor in the loop’ approach is considered, as shown in Fig. 7.1 (bottom part). This PIL module can replace the ADC input variables (and additional inputs if needed) by those generated by an ‘ADC model’, which in turn is connected to an electrical model of the drive. In addition, the PWM output signals which are normally used to drive the hardware converter are now redirected to a ‘PWM model’ that generates the gate signals for the model converter. A high speed data link ensures that the code running on the actual MCU is tied to the PLECS simulation model. Furthermore, the execution of the simulation and embedded code is fully synchronized. In contrast to earlier chapters the Texas Instruments development environment ‘Code Composer’ is used here, which has access to a series of InstaSPIN MotorWare development laboratories [9]. Specifically two MotorWare development laboratories will be considered in this chapter, given that these are ‘PIL’ prepared, which implies that the necessary additional PLECS code has been added to enable use of the PIL approach discussed in this chapter. A processor board with a F28069M device must be connected via USB, to enable PLECS PIL operation. The key differences with the VisSim PIL approach discussed previously is the use of a switching converter that may contain ideal or non-ideal devices. With the aid of the approach set out in this chapter a user can fully develop a PLECS PIL based software environment that can be tested with a simulated drive, prior to use with the actual hardware. Note however, that this type of development requires a certain amount of C-code literacy.


Current Vector Machine Model Watch Window Induction Machine Shaft Speed 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material (3.2 mb)
Chapter 7 (ZIP 3,249 kb)


  1. 1.
    C2000 Systems and Applications Team (2010) Implementing Sensorless Field Oriented Control of AC Induction Motor with PFC front end running on CLA using C2000 Microcontrollers. Tech. rep., Texas Instruments, location: ControlSUITE installation directory∖development_kits∖HVMotorCtrl+PfcKit_v1.7∖PFC2PhiLCLA+ACI∖˜Docs∖PFC+ ACI_Integration.pdfGoogle Scholar
  2. 2.
    Clearman C (2014) motorware_selecting_user_variables.xlsx. Location: motorware installation directory/docs/labs/Google Scholar
  3. 3.
    Contronics (2015) Comoco intelligent motor control. URL
  4. 4.
    De Doncker R, Pulle DWJ, Veltman A (2011) Advanced Electrical Drives. Power Systems, Springer Netherlands, Dordrecht, URL 10.1007/978-94-007-0181-6
  5. 5.
    De Gusseme K, de Sype DMV, Van Den Bossche AP, Melkebeek JA (2003) Sample correction for digitally controlled boost PFC converters operating in both CCM and DCM. In: Eighteenth Annual IEEE Applied Power Electronics Conference and Exposition, 2003. APEC ’03, IEEE, Miami Beach, Florida, vol 1, pp 389–395, DOI 10.1109/APEC.2003.1179243, URL
  6. 6.
    e-Traction (2015) e-Traction. URL
  7. 7.
    LaunchXL (2015) LAUNCHXL-F28069m. URL
  8. 8.
    LineStream (2015) LineStream Technologies. URL
  9. 9.
    MotorWare (2015) MotorWare Software. URL
  10. 10.
    Plecs (2015) Plecs Simulation Software for Power Electronics. URL
  11. 11.
    Pulle DWJ (2015) Laboratory files for Applied Control of Electrical Drives. URL
  12. 12.
    Thomas E (2015) A2spin LLC. URL
  13. 13.
    TMS320F28027 errata (2008) TMS320f28027, TMS320f28026, TMS320f28023, TMS320f28022, TMS320f28021, TMS320f28020, TMS320f280200, TMS320f280270, TMS320f280260, TMS320f280230, TMS320f280220 Piccolo MCU Silicon Errata. URL
  14. 14.
    Veltman A, Pulle DWJ, De Doncker RW (2007) Fundamentals of electrical drives. Power systems. SpringerGoogle Scholar
  15. 15.
    VisSim (2015) VisSim EmbeddedTM Suite. URL
  16. 16.
    Vostermans (2015) Vostermans Ventilation. URL
  17. 17.
    Walkera (2015) Walkera. URL

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.EMsynergySydneyAustralia
  2. 2.Senior VP Altair EngineeringWestfordUSA
  3. 3.Piak Electronic DesignCulemborgThe Netherlands

Personalised recommendations