Chapter 21

Magnetic Parts Editor

Abstract

The Magnetic Parts Editor (MPE) is used for the design of transformers and inductors in switched mode power supply topologies. In particular, the MPE provides a complete transformer design cycle for forward converters, both single and double switch, and a flyback converter operating in discontinuous conduction mode. At the end of the design cycle, the MPE generates a comprehensive data sheet, which manufacturers can use for the fabrication of transformers and inductors. The MPE also generates the inductor and transformer PSpice simulation models. Included with the MPE is a database of commercially available magnetic parts such as wire types, insulation material, bobbins, and magnetic cores. One can add to this database by creating one's own magnetic parts. The design cycle consists of a series of design steps, which are numbered as one progresses through the design. The design steps for a DC-DC converter using the flyback topology is presented in this chapter as an example. The MPE is started from the PSpice Accessories menu.

Keywords

Transformers; Inductors; PSpice; Converter; Magnetic parts; Circuit; Bobbins

The Magnetic Parts Editor (MPE) is used for the design of transformers and inductors in switched mode power supply topologies. In particular, the MPE provides a complete transformer design cycle for forward converters, both single and double switch, and a flyback converter operating in discontinuous conduction mode. At the end of the design cycle, the MPE generates a comprehensive data sheet which manufacturers can use for the fabrication of transformers and inductors. The MPE also generates the inductor and transformer PSpice simulation models.

Included with the MPE is a database of commercially available magnetic parts such as wire types, insulation material, bobbins and magnetic cores. You can add to this database by creating your own magnetic parts.

21.1 Design Cycle

The design cycle consists of a series of design steps which are numbered as you progress through the design. The design steps for a DC-DC converter using the flyback topology will be presented here as an example.

The specifications are

 DC input minimum: 50 V

 DC output 12 V with < 100 mV pk-pk ripple

 DC output 0.5 A with < 5 mA pk-pk ripple

 switching frequency: 40 kHz

 efficiency: 75%

 maximum duty cycle: 45%

The MPE is started from the PSpice Accessories menu.

21.2 Exercises

Exercise 1

Start the MPE from the Start menu. Start > All Programs > Cadence (OrCAD) < release number > PSpice Accessories > Magnetic Parts Editor

Step 1: Component Selection

The first design step in MPE is the selection of one of the components (topologies) to be designed (Fig. 21.1), in this case a flyback converter (discontinuous conduction mode). Select File > New and the Component Selection window will open as shown in Fig. 21.1.

Fig. 21.1
Fig. 21.1 Topology selection.

On the left-hand side of the window are the completed design steps, which allow you to keep track of which step in the design cycle you are at. You can click on any design step at any time to go back to review the parameters entered. On the right-hand side are the available design components (topologies).

Select Flyback Converter and click on Next >>.

Step 2: General Information

The second step is to enter the design specifications (Fig. 21.2) for the transformer. In this case there will be one secondary; the insulation material will be nylon with a current density of 3 A/mm2. The efficiency, from the given specifications, is 75%.

Fig. 21.2
Fig. 21.2 Transformer design parameters.

The maximum number of secondary windings is nine, but for forward converters only one secondary winding is allowed. You have the option to select the transformer insulation, which by default is nylon. The other provided materials are shown in Fig. 21.3.

Fig. 21.3
Fig. 21.3 Insulation materials available in the installed database.

You can enter your own insulation materials: Tools > Data Entry > Insulation in the Enter insulation material window (Fig. 21.4).

Fig. 21.4
Fig. 21.4 Entering new insulation material data.

Enter the design parameters as shown in Fig. 21.2 and click on Next >>.

Step 3: Electrical Parameters

This is where the electrical design parameters from the specifications are entered (Fig. 21.5).

Fig. 21.5
Fig. 21.5 Specifying the electrical parameters.

The secondary voltage and current are root mean square (RMS) values. The voltage isolation is the gap or distance between the primary and secondary windings.

Enter the electrical parameters as shown in Fig. 21.5 and click on Next >>.

Step 4: Core Selection

Selection of the magnetic core for the transformer depends on the shape and material. The physical diagram shown for the core in Fig. 21.6 is updated when you select another shape such as a toroid, EE or UU.

Fig. 21.6
Fig. 21.6 Core specifications.

Change the Vendor name to Ferroxcube and from the Family Name pull-down menu, select Toroid and UU to view the respective geometrical data for the cores. Change the Family Name back to EE.

You can enter other manufacturer's core data by selecting Tools > Data Entry > Core Details > Core (Fig. 21.7).

Fig. 21.7
Fig. 21.7 Creating a magnetic core.

You can also enter core material data by selecting Tools > Data Entry > Core Details > Material (Fig. 21.8).

Fig. 21.8
Fig. 21.8 Creating the magnetic core material.

Initially, you will specify a manufacturer's magnetic core material and then let MPE propose a magnetic core using the specified core material. The MPE will determine whether the coil windings will fit on the core.

The MPE core database includes the Ferroxcube range of magnetic cores. For this design, the Ferroxcube EE low-power (10 W) grade 3C81 material will be used as a starting point. These cores are specified for a 67 kHz switching frequency and an output voltage up to 12 V:

Set the Vendor Name to Ferroxcube.

Set the Family Name to EE.

Set the Material to 3C81.

Click on Propose Part.

The MPE will return a suitable Vendor Part and will show the respective physical dimensions for the core. The pull-down menu for Vendor Part contains a list of other suitable cores from the database that will also meet your specification.

In this example, the core E13_6_6 will have been selected, as shown in Fig. 21.9.

Fig. 21.9
Fig. 21.9 Bobbin and wire properties.

Click on Next >>.

Step 5: Bobbin-Winding Selection

This step selects the bobbin which fits on the core and on which the wire is wound. In Fig. 21.10, the Bobbin Part No. is shown as NO_NAME, which indicates that there are no bobbins in the MPE database. If no bobbin is specified, then a default bobbin wall thickness of 1 mm is used to calculate the bobbin dimensions based on the core dimensions. To create a new bobbin, select Tools > Data Entry > Core Details > Bobbin (Fig. 21.11).

Fig. 21.10
Fig. 21.10 Adding a bobbin.
Fig. 21.11
Fig. 21.11 Creating a new bobbin.

Fig. 21.12 shows the bobbin orientation and dimensions given in core vendor datasheets.

Fig. 21.12
Fig. 21.12 Bobbin Dimensions.

For the bobbin shown in Fig. 21.12, to fit into the core, the calculations are:

bobbin window height = core window height − (2 × bobbin thickness)

bobbin window width = core window width − (1 × bobbin thickness)

bobbin_Lx = core_Lx + (2 × bobbin thickness)

bobbin_Ly = core_Ly + (2 × bobbin thickness)

For this example, the default NO_NAME bobbin will be used, as the core dimensions are not yet finalized.

The Bobbin-Winding Selection window in Fig. 21.10 also shows the proposed wire types (diameters) for the primary and secondary coils. You can also select between the different AWG and SWG wire standards.

Note

You may see a warning message stating that a LITZ winding should be used instead of a single winding. In this case, select the single winding in step 5 (Fig. 21.10).

Click on Next >>.

Step 6: Results View

Fig. 21.13 shows the spreadsheet of results. In order to see the full spreadsheet, turn off the Steps view: View > Steps View.

Fig. 21.13
Fig. 21.13 Spreadsheet of results.

In the spreadsheet, the Design Status reports that there is an error (Fig. 21.14) and the warning message at the bottom of the results spreadsheet indicates that the P0 winding could not fit into the core.

Fig. 21.14
Fig. 21.14 Design has not been successful.

So either the wire diameter for the secondary needs to be reduced or you need to use a different core material or a larger core. You could also reduce the distance between the primary and secondary windings (Voltage isolation in Step 3).

Go back to Step 4: Core selection and select the material as 3C90.

Click on Propose Part.

Select the E19_8_9 core, which has a larger core size, as seen in Fig. 21.15.

Fig. 21.15
Fig. 21.15 Changing the core material and core size.

Click on Next >> and progress to the Results View.

You should see the Design Status reporting Success (Fig. 21.16).

Fig. 21.16
Fig. 21.16 Results view showing success.

Now you need to create the bobbin which will fit in the core and run the calculations again.

Go back to the Core selection (Step 4) and select Tools > Data Entry > Core Details > Bobbin as shown in Fig. 21.17. Select the proposed part, which was the Ferroxcube, EE core 19_8_9. Enter a suitable Bobbin Part No., for example BB01.

Fig. 21.17
Fig. 21.17 Core winding area dimensions.

The core winding area dimensions given in Fig. as 21.15 are shown again in Fig. 21.17.

Referencing Fig. 21.12 and the associated calculations and using a bobbin wall thickness of 1 mm, the required bobbin dimensions are given as:

bobbin window height = 11.38 − 2 = 9.39 mm

bobbin window width = 4.79 − 1 = 3.79 mm

bobbin_Lx = 4.75 + 2 = 6.75 mm

bobbin_Ly = 8.71 + 2 = 10.71 mm

Go back to Step 5 (Bobbin-winding selection) and select Tools > Data Entry > Core Details Bobbin. Name the Bobbin BB01, enter the Bobbin data as shown in Fig. 21.18 and click on Save.

Fig. 21.18
Fig. 21.18 Creating the bobbin.

When you save the new bobbin, a message will appear informing you that the record was entered successfully into the database. Click on OK.

Image 2

Proceed to Step 6 and check that the Design Status is still showing Success.

Save the design, which will generate a flyback .mgd file.

When you save the design, a PSpice model will be created. In this example the flyback.lib file will be created. By selecting the Model View tab at the bottom of the Results Spreadsheet, you can view the PSpice transformer model as shown in Fig. 21.19.

Fig. 21.19
Fig. 21.19 PSpice magnetic core model.

For the flyback topology, the transformer is modeled as a subcircuit with four terminals, V_IN1, V_IN2, V_OUT11 and V_OUT12. The transformer circuit representation is shown in Fig. 21.20.

Fig. 21.20
Fig. 21.20 Flyback transformer model. LIp, leakage inductance referred to primary; Np, number of turns in primary winding; Ns, number of turns in secondary winding; RSp, primary winding resistance; RSs1, secondary winding resistance.

With the Model View open, click on Save again to save the PSpice model.

Using the Model Editor Wizard in the Model Editor, a Capture part can be generated and associated to a transformer symbol as described in Chapter 16.

Exercise 2

Creating a Transformer Model

1. Open the PSpice Model Editor from the Start menu.
Start > All Programs > Cadence (or OrCAD) > PSpice > Simulation Accessories > Model Editor

2. In the Model Editor, select, File > New.

3. Select File > Model Import Wizard.

4. In the Specify Library window (Fig. 21.21), browse to the flyback.lib, accept the Destination Symbol Library as shown and click on Next >.

Fig. 21.21
Fig. 21.21 Enter the flyback.lib PSpice model file.

5. In the Associate/Replace Symbol window (Fig. 21.22), click on Associate Symbol. Select the Flyback model and click on Associate Symbol.

Fig. 21.22
Fig. 21.22 Associating a symbol to the model.

6. In the Select Matching window, click on the icon Image 3 and select the breakout.olb library from the installed folder as < install path > OrCAD (or Cadence) > version xx.x > Tools > Capture > library > pspice > breakout.olb.

7. A list of matching symbols with the same number of pins as the flyback model has will be listed. Select the XFRM_NONLINEAR transformer as shown in Fig. 21.23 and click on Next >.

Fig. 21.23
Fig. 21.23 Select a matching transformer symbol.

8. You have to associate the symbol pins with the model terminals. Select the pins as shown in Fig. 21.24 and then click on Save Symbol. The pins are in the same order as for the subcircuit model (Fig. 21.19).

Fig. 21.24
Fig. 21.24 Associating pins to the symbol.

9. You should see the model name shown with an associated symbol (Fig. 21.25).

Fig. 21.25
Fig. 21.25 The Flyback model now has an associated symbol.

10. Click on Finish and click on No in the sch2cap window. Check there are no error messages in the Summary Status window and click on OK. The Capture part and model are ready to be used.

Exercise 3

The flyback converter will be tested using the circuit in Fig. 21.26.

Fig. 21.26
Fig. 21.26 Flyback converter.

1. Draw the circuit in Fig. 21.26. The voltage-controlled switch is from the analog library, the pulse source is from the source library and the diode is from the diode library. In the Project Manager add the newly created library for the transformer by selecting the library folder, rmb > Add File and browse to the Flyback.olb library. The flyback.olb library will appear in the Place Part menu. Place the transformer as shown in Fig. 21.26.

2. You have to make the flyback.lib PSpice library available for the design. Create a PSpice simulation profile, PSpice > New Simulation Profile, and set up a transient analysis for 10 ms. Select Configuration Files > Library, browse to the flyback.lib file and click on Add to Design (Fig. 21.27).

Fig. 21.27
Fig. 21.27 Adding the flyback.lib model file.

3. Select PSpice > Markers > Voltage > Differential and place the first marker on the out1 net. The second differential marker will appear automatically, which you need to place on the out2 net. The output voltage of the flyback converter is negative; hence the most positive differential marker is placed on out2. Run the simulation.

4. You should see that the output voltage is larger than 12 V (Fig. 21.28). As the maximum duty cycle was specified as 45%, this can be decreased to reduce the output voltage. With a duty cycle of 15% (Ton is 3 μs) the output voltage reduces to just over 12 V with < 100 mV of ripple. The current measured through R1 is just over 510 mA with < 5 mA of ripple (Fig. 21.29).

Fig. 21.28
Fig. 21.28 Output voltage meets specification.
Fig. 21.29
Fig. 21.29 Output current meets specification.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.53.32