background image

 2020 Microchip Technology Inc.

DS50002997A-page 23

PLECS MODEL

QUICK START GUIDE

FOR VIENNA PFC

Chapter 7.  Monitoring Signals

In PLECS, a scope or display may be used to monitor signals real-time while the 
simulation is running. Signals are only monitored in the control domain. Signals in the 
electrical, magnetic, thermal, or mechanical domain cannot be monitored directly. 
Instead, meters, such as voltmeter, MMF meter, thermometer, or torque sensor, are 
used to convert the signal from the respective domain to the control domain. An 
alternative to using meters is to use probes. Probes convert physical attributes of a 
component or subsystem to the control domain. Many components in PLECS have 
internal signals associated with them that a probe can monitor. Refer to a specific 
component's documentation to learn what probe signals it includes.

7.1

MULTI-DOMAIN MODEL

Domains are color-coded as shown in 

Figure 7-1

.

FIGURE 7-1:

Color-Coded Components for the Different Domains.

Control domain: 

green

 

 

 

 

 

 

 

 

Electrical domain:  black 

 

 

 

 

 

 

 

Magnetic domain:  

brown

 

 

 

 

 

 

 

 

Thermal domain:  

blue

 

 

 

 

 

 

 

Mechanical domain:  

purple

 

 

 

Summary of Contents for PLECS

Page 1: ...2020 Microchip Technology Inc DS50002997A PLECS Model Quick Start Guide for Vienna PFC...

Page 2: ...may have a right to sue for relief under that Act Trademarks The Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTime BitCloud chipKIT chipKIT logo CryptoMemory...

Page 3: ...5 1 Front End Input 16 5 2 Power Stage 17 5 3 Controller 18 Chapter 6 Modifying Control Parameters and Component Values 20 Chapter 7 Monitoring Signals 7 1 Multi Domain Model 23 7 2 Monitoring a Sign...

Page 4: ...6 Modifying Control Parameters and Component Values Chapter 7 Monitoring Signals Chapter 8 Saving and Exporting Scope Traces Chapter 9 Power Meter NOTICE TO CUSTOMERS All documentation becomes dated...

Page 5: ...dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in angle brackets A key on...

Page 6: ...latest software releases and archived software General Technical Support Frequently Asked Questions FAQs technical support requests online discussion groups Microchip consultant program member listing...

Page 7: ...power electronics circuits and systems Using ideal switches it simulates the dynamic behavior of complex systems quickly and efficiently It uses a multi domain approach to simultaneously simulate the...

Page 8: ...ersions have identical core capabilities and models can be exchanged between the two versions The Vienna PFC Reference Design was modeled using PLECS Standalone For a trial version of PLECS Standalone...

Page 9: ...PIL checkbox to include Processor In the Loop capability as illustrated in Figure 1 2 FIGURE 1 2 Requesting Standalone Trial License For a video walk through of the PLECS Standalone installation see...

Page 10: ...and Component Models The Projects folder contains a subfolder for the Vienna PFC reference design Future reference designs will be added to this folder Within the Vienna PFC folder are subfolders cont...

Page 11: ...ICK START GUIDE FOR VIENNA PFC Chapter 3 PLECS Settings Double click on the model file Vienna PFC rev1 plecs which is found within the Vienna PFC project folder The model and library browser will open...

Page 12: ...shown in the PLECS installation section FIGURE 3 3 PIL License Warning Under File PLECS Preferences in the General tab increase the cache size limit preferably to 4 GBytes but no more than one third...

Page 13: ...PLECS Settings 2020 Microchip Technology Inc DS50002997A page 13 FIGURE 3 5 Adding Paths to the Thermal Descriptions...

Page 14: ...the desired stop time FIGURE 4 1 Simulation Parameter Vienna Stop Time To adjust the line and load settings select the Initialization tab The commands listed in this window below are run once at the...

Page 15: ...e Frequency and Phase offset As shown below the variables defined in the initialization are passed to the voltage source This approach allows the line conditions to be available to the other model blo...

Page 16: ...ns as the default 5 1 FRONT END INPUT The front end input default configuration is an EMI filter This contains the passive elements of the filter as well as voltage and current sensing points Alternat...

Page 17: ...age configurations Power Stage and Power Stage with Thermal Model The thermal model includes Boost inductor core loss Schottky barrier diode conduction loss and temperature MOSFET conduction loss swit...

Page 18: ...e Time Domain Model configuration operates at an update rate of 35 kHz The model includes all the controls features of the Vienna PFC reference design except for the in rush relay control protection a...

Page 19: ...PLECS Model Quick Start Guide for Vienna PFC DS50002997A page 19 2020 Microchip Technology Inc FIGURE 5 6 Controller Subsystem Selection...

Page 20: ...ation tab The variables are available as global variables to components and subsystems It also executes the initialization commands contained in the mask of each subsystem Variables defined in a mask...

Page 21: ...Modifying a Component Value To open a subsystem Double click the subsystem not applicable to configurable subsystems Right click the subsystem select Subsystem Look under mask Select the subsystem wit...

Page 22: ...URE 6 5 Block Parameters Vienna PFC PLECS includes switches that can be operated during the simulation The following subsystem is the third harmonic injection for balancing the voltage on the output c...

Page 23: ...or are used to convert the signal from the respective domain to the control domain An alternative to using meters is to use probes Probes convert physical attributes of a component or subsystem to the...

Page 24: ...owser automatically opens on PLECS start up It also be accessed by selecting Window Library Browser from the menu or by Ctrl L Drag it from the library browser onto the schematic by clicking on the co...

Page 25: ...5 FIGURE 7 4 Voltage Measurement using Voltmeter Next drag a Scope from the library browser to the schematic You can find it under the System or type in scope in the search bar Connect the green termi...

Page 26: ...FIGURE 7 6 Power Meter Run the simulation Simulation Start or Ctrl T Double click the scope to see the signal trace To zoom in on the time axis click on the plot and drag the mouse horizontally To zo...

Page 27: ...ignals 2020 Microchip Technology Inc DS50002997A page 27 FIGURE 7 8 Zoomed in Time Axis Measuring current is done is a similar way except the Ammeter connects inline with the electrical signal FIGURE...

Page 28: ...the number of plots in the Scope Parameters window The scope will have a green terminal for each plot FIGURE 7 10 Multiple Plot Selection FIGURE 7 11 Multi Plot Scope The example below monitors the sw...

Page 29: ...rochip Technology Inc DS50002997A page 29 7 4 MONITORING SIGNALS ON A SINGLE PLOT Multiple signals can be multiplexed together using a Signal Multiplexer FIGURE 7 13 Signal Multiplexer FIGURE 7 14 Sig...

Page 30: ...ponents and some subsystems have signals available that do not require access through a meter Instead it is accessible with the Probe component found in the library browser Place the Probe on the sche...

Page 31: ...e 7 6 MONITORING SUBSYSTEM SIGNALS WITH PROBE To simplify the measurement of various circuits and subsystems the Vienna PFC model includes predefined probes within the power stage and controller schem...

Page 32: ...PLECS Model Quick Start Guide for Vienna PFC DS50002997A page 32 2020 Microchip Technology Inc FIGURE 7 21 Probe Signals Plotted in Scope...

Page 33: ...t can be loaded in subsequent simulation runs using File Load trace data FIGURE 8 1 Saving Scope Traces The plot data can be exported into a pdf bitmap or csv file for reports or further analysis FIGU...

Page 34: ...PLECS Model Quick Start Guide for Vienna PFC DS50002997A page 34 2020 Microchip Technology Inc FIGURE 8 3 Hold Current Trace FIGURE 8 4 Traces Window...

Page 35: ...descriptions of the devices The core losses are based on the core data sheet core loss graph Since the losses are not included in the electrical domain they are added to the input power from the elect...

Page 36: ...PLECS Model Quick Start Guide for Vienna PFC DS50002997A page 36 2020 Microchip Technology Inc FIGURE 9 2 Power Meter Subsystem...

Page 37: ...00 China Xian Tel 86 29 8833 7252 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 ASIA PACIFIC India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91...

Reviews: