Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

PSIM SIMULATION SOFTWARE

TUTORIAL How to add new devices and their curves for loss calculation

The objective of this tutorial is to help you use the device database editor to add, edit and manage devices.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

An image of the database editor is shown below (from PSIM go to [utilities] -> [device database editor]):

On the left are the device database files that are loaded into the database editor, and the list of the devices. The devices can be displayed based on either Device Type or Manufacturer. Also, the device list can be sorted by Part Number, Voltage rating, or Current rating, by clicking on the title bars of the list. On the right is the information of each device. In general, the following information is defined for the device: - Manufacturer and Part Number - Package type - Absolute maximum ratings - Electrical characteristics - Thermal characteristics - Dimension and weight To create a new device file, choose File -> New Device File. To load a device files into the editor, choose File -> Open Device File. To unload a device file from the editor, choose File -> Close Device File. Three types of devices can be added to a device files: diode, IGBT, and MOSFET. To create a new device, go to the Device menu, and choose either New Diode, New IGBT, New IGBT-Diode, or New MOSFET.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

Adding a Device to the database: To illustrate how to add a device to a database file, below is the step-by-step procedure to add the Powerex discrete diode CS240650 (600V, 50A) into the device database file "diode_new.dev". 1. Launch PcdEditor.exe. Go to File -> New Device File, and create a file called "diode_new.dev". This file will be placed in the device sub-folder under the PSIM program folder by default. 2. With the file name "diode_new" highlighted in the "File Name" list, Choose Device -> New Diode. A diode will be added to the database file with Manufacturer as "New" and Part Number as "New".

3. Obtain the datasheet of Powerex diode CS240650 from the web site www.pwrx.com. Show the PDF file of the datasheet on the screen. 4. By referring to the information from the datasheet, in the database editor, enter the following information for this device: Manufacturer: Powerex Part Number: CS240650 Package: Discrete and under Absolute Maximum Ratings: Vrrm,max (V): 600 IF,max (A): 50 Tj,max (oC): 150 5. Define the forward voltage characteristics Vd v.s. IF under Electrical Characteristics by clicking on the Edit button on top of the Vd v.s. IF graph area.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

The following dialog window will appear. The dialog window has two pages: Graph and Conditions.

The Graph page contains thee x and y axis settings as well as the data points and the graph. In this case, the y axis is the conduction voltage drop Vd, and the x axis is the forward current IF. The x and y axis can have multiplying factors (such as m for 10-3, u for 10-6, etc.). The Conditions page contains the conditions under which the graph is obtained.

There are two ways to define the graph. One is to enter the graph data points manually. Another is to use the Graph Wizard to capture the graph directly from the datasheet image. Defining the graph manually is preferred if there is only one data point or there are just a few data points. However, if the graph image is available, it is easier with the Graph Wizard.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

To Define the Graph Manually: Refer to the "Maximum On-State Characteristics" graph of the datasheet, and enter the values for the x/y axis settings as follows:
X0: 1 Xmax: 1000 Y0: 0.6 Ymax: 2.6 X in log: checked

Visually inspect the graph, and select a few data points. Enter the data points in the data area as follows: (1,0.7) (10,1.05) (100,1.8) (200,2.2) (300,2.4) Then click on the Refresh button to display the graph. Click on the Conditions tab and enter the Junction Temperature as 25 C. Alternatively, the graph can be defined in this case using the Graph Wizard.

To Define the Graph Using the Graph Wizard:

Click on the forward wizard icon

to start the Graph Wizard.

Display the graph of the datasheet on the screen as follows:

Then press the Print Screen key (the key is labeled as "Prt Scr" on the keyboard) to copy the screen image to the clipboard.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

Click on the forward wizard icon to paste the screen image into the graph window in the database editor. Position the graph image properly in the graph window by dragging the left mouse so that the complete graph is displayed within the window. If the graph image is either too large or too small, go back to the previous step by clicking on the backward wizard icon .Then resize the image of the graph in the Adobe Acrobat, and copy the screen image to the clipboard again.

The graph dialog window should look something like follows.

Click on the forward wizard icon

to move on to the next step.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

In this step, the border of the graph area is defined by first left clicking at the origin of the graph (usually the lower left corner), then left clicking again at the opposite corner of the origin (usually the upper right corner). Note that the graph origin does not have to be the lower left corner, and it can be any one of the four corners. To locate the origin of the corner more accurately, right mouse click to zoom in, and press the Esc (escape) key to exit the zoom. After this, a blue rectangle will appear around the border of the graph, and the dialog window will appear as follows.

Then click on the forward wizard icon

to move on to the next step.

In this step, the x and y axis settings will be defined. Enter the settings as follows :
X0: 1 Xmax: 1000 Y0: 0.6 Ymax: 2.6 X in log: checked Click on the forward wizard icon to move on to the next step.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

Left click on top of the graph to capture the data points. In this case, for example, four data points at the current values of around 1A, 10A, 100A, and 300A are captured. Again, right click to zoom in.

As data points are captured, red lines will appear that will connect the data points.

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

Then click on the forward wizard icon to complete the data capture process. The final graph dialog window should appear as follows.

To see the x and y axis values of a particular data point on the graph, place the cursor inside the graph area. The cursor image will change to a cross image, and the x and y coordinates of the cursor will be displayed at the upper right corner of the dialog window. Place the cursor on top of the curve to read the x and y axis readings. With the same process, define the reverse recovery characteristics trr v.s. IF, Irr v.s. IF, and Qrr v.s. IF. Enter the Thermal Characteristics as: Rth(j-c): 0.6 Rth(c-s): 0.4 Enter the Dimension and Weight as: Length (mm): 53 Width (mm): 36 Height (mm): 29

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

Choose Device -> Save Device to save the device information. This completes the process of adding the diode into the database.

Example: Diode Loss Calculation Now we will build a thermal circuit using the Powerex CS240650 device that we have just added in the database. Chose a diode from the Thermal module:

-Double click on the Diode -Click on the red box below -Choose the Powerex CS240650 device from the device database

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

The circuit below shows a sample circuit that uses the Powerexs discrete diode CS240650 (600V, 50A). The conduction losses (Pd) and the switching losses (Psw) are measured through two ammeters. Once the information of the losses is available, by building the thermal equivalent circuit, the device junction temperature can be calculated. The circuit shows a thermal circuit without considering the thermal transient.

Below are the curves with the losses values:

Remark: this example and many others are available in the example folder of your PSIM version: [example] -> [thermal]

POWERSYS - Les Jardins de l'Entreprise - 13610 Le Puy-Sainte-Rparade - FRANCE - Tel : +33 (0)4 42 61 02 29

www.powersys-solutions.com

You might also like