multilevel inverter operation animation
Active In SP
Joined: Jul 2010
27-07-2010, 11:25 AM
i need basic operation of multilevel inverter operation animation
project report helper|
Active In SP
Joined: Sep 2010
18-09-2010, 12:45 PM
More Info About multilevel inverter operation animation
Animation of Power Electronics and Electrical Drives.
Peter J. van Duijsen
P. O. Box 397, NL-2400 AJ,
Alphen aan den Rijn, The Netherlands
Tel: +31 172 492353, Fax: +31 172 492477
Politehnica University TimiÅŸoara
Faculty of Electronics and Telecommunications,
Bd. Vasile PÃ¢rvan 2, 1900 TimiÅŸoara, Romania
Phone: 0040-56-204332, ext. 642, Fax: 0040-56-190608,
In this paper a new multilevel simulation/animation tool CaspocÂ®, [Simulation Research, 2001] is described, which during simulation animates the power electronic circuit. The user sees the level of the node-voltages, the level of the branch currents and most important, he can see the current path in the circuit. The simulation tool can animate any power electronic circuit or electrical drive.
Examples of power electronic and electrical drive animations are given, which show the advantage of animation.
Animation, modeling, simulation, power electronics, electrical drives, teaching
Teaching and understanding Power Electronics and Electrical Drives have been done with the use of books and the blackboard. Many of us will remember the times drawing the basic waveforms of converter operation on paper while keeping the state of the converter in mind.
Simulation made a change here, because it gave us the possibility to use a computer for drawing while keeping our attention to the operation of the converter. Simulation enabled us to study the behavior for different parameters and conditions. Still the user has to keep the converter in mind and he has to make an interpretation of the simulation results.
The next logical step is to present the operation of the converter as a result of the simulation. Accustomed as we are to cartoons, this logical step is called animation. During the simulation the converter operation is presented as a cartoon. The resulting animation gives the user an insight in the converter operation, which was not possible with books and blackboard. Even a real operating converter does not show so many operating details as during animation, simply, because of the high switching frequencies. For example, even in a 50Hz rectifier, the step by step operation goes too fast to follow by the human brain and we use a scope to store the waveforms during the operation.
In animation you can actually see the converter switching, see how integrators in controllers build up charge and how motors start to rotate.
In section 2, an introduction is given in the mathematical methods, which are used in simulation programs for Power Electronics and Electrical Drives. The importance of simulation for education is briefly described in section 3. A short discussion on modeling of components is presented in section 4. In section 5 the visualization of simulation results is discussed. The fact that animation is not just a toy is described in section 6 and the impact of the animation on the simulation speed is discussed in section 7. The examples in this paper will focus on the animation of power electronic circuits and electrical drives. The user has the possibility to define his own motion control models in a high-level programming or a block-diagram, enabling him to model, for example, a field oriented controller or controls for application specific drives, such as fans, pumps and automotive applications. Various examples of animation, for example the Vienna-Rectifier, conclude this paper in section 8 to 13, with final concluding remarks in section 14.
2. Modeling and Simulation methods
Simulation starts to become an accepted tool for the design of power electronics and electrical drives. Over the last 30 years there have been remarkable advances in tools for the simulation of power electronics and electrical drives. Not only advances in the user interface of the programs, but also advances in the underlying methods on which these simulation tools are based.
For power electronics and motion control industries, various modeling and simulation packages are available. The integration of modeling and simulation for both motion control and power electronics into one package is not so wide spread.
For the modeling of electric circuits and dynamic systems, there are generally three methods.
The State-Space approach, [Schwarz, 1987] is used in Block-diagram oriented programs, such as Simulink. The advantages of the state-space model are simplicity and simulation speed. The disadvantage is the difficulty to derive the state space equations from a circuit.
The Modified Nodal Analysis (MNA) method, [Ho, 1975], is used in Spice-based programs. The advantage is the easy mathematical model generation from a circuit. The disadvantages are the convergence problems caused by semiconductor models.
Figure 1 : Complexity of models.
The modeling of a component in a Power Conversion System (PCS) is not unique. Depending on the need of the user, a model can be either simple, detailed, or can contain just enough details to model the time-domain behavior satisfactory.
The complexity of the mathematical model is not necessarily related to the complexity of the model of the component. As shown in figure 1, a simple model can contain a (non-linear) acausal mathematical relation and therefore a Differential Algebraic Equation DAE, [Schwarz, 1987], has to be used for the mathematical model:
The DAE describes the non-linear, possible acausal, relations among the time-varying state variables x(t), their time-derivative (t), the variables y(t) and the input variables u(t) of a PCS.
On the other side, if a more detailed model doesn't contain any acausal relations, it can be described by a Ordinary Differential Equation ODE:
Equation (2) is used in Block-diagram programs such as Simulink.
The SPICEÂ® program is based on the MNA method. Suppose a model can be formulated as:
The parameters of the matrix A are dependent on the variables and state variables in the vector x(t). Vector b(t) stores the values of the independent sources. The time derivative of x(t) is replaced by a numerical integration approximation, where the parameter h is the step size of the numerical integration
Multilevel modeling [Franz, 1990], [Duijsen, 1994] is a technique where different mathematical model descriptions, such as DAE, MNA and ODE, can be combined. A multilevel simulation is based on the total mathematical model of the multilevel model. A multilevel model can contain different types of models. The multilevel modeling technique is advantageous compared to other modeling techniques for two major reasons.
1. Efficient modeling, because each part of the implementation like the power electronic circuit, the load or the control is described by its most efficient modeling technique. This allows a straightforward description without, for example, modeling an inverter in a block diagram or modeling a control algorithm by lumped circuit elements.
2. The simulation time can be decreased, because each part of the implementation can be solved more efficiently.
3. Modeling and simulation for education
Modeling and simulation is a valuable tool in the area of education and training. Especially in the field of power electronics and drives, simulation is a more save method to teach. Faults and mistakes made during a simulation cause no damages or risks. To be more precisely, you can learn much more when you can simulate critical events, which are impossible to perform in reality. Take for example the maximum current through an expensive GTO. Destroying a GTO in a simulation is harmless compared to a real destruction of a GTO. Performing only simulations implies no hazardous damages to the surrounding, no replacements, no soldering, no stock of expensive GTOs.
Important for education is the availability of a library with examples. Nearly all large vendors provide examples for their simulation tools. For SpiceÂ® and SimulinkÂ® tutorials and libraries with examples for power electronics and drives can bought from third-party vendors. For CaspocÂ® a tutorial especially with power electronics and drive examples is available.
Simulation speed is even for education an important factor. However simulation examples can be structured such that a short simulation time is achieved by either simplifying the example or generalized modeling. Simulation speeds achieved with SpiceÂ® and SimulinkÂ® are satisfactory, with CaspocÂ® shorter simulation times can be achieved because of the multilevel modeling. Also of importance is the convergence of the simulation. Here SpiceÂ® has a bad performance, which can lead to a struggle with the model. In many cases the effort to make a SpiceÂ® simulation, goes mainly to including tricks in the model to enhance convergence. This leads to a waste of time for education, because students should learn how to build models, not to prevent convergence failures. SimulinkÂ® and CaspocÂ® have no convergence problems as known with SpiceÂ®.
For the simulation of Power Electronics basic models are required, which do not exist in standard simulation programs, such as the early Spice-based programs. Recent Spice-based simulation programs have a library of sub-circuits for Power Electronic components such as the SCR, GTO, Mosfet, IGBT and, for example, electrical machines.
The complexity of the model is a very important aspect in modeling. For most simulations a basic switching behavior is satisfactory. For example, the basic switching behavior of a diode, SCR or GTO, is in many cases satisfactory to model a three-phase rectifier. A linear inductance modeled at the input is enough to simulate the commutation between the diodes in a rectifier. The produced harmonics are basically only depending on the line impedance of the input of the rectifier.
For calculating the efficiency of a SMPS, also the energy that is required to control the Mosfet is important. Here the non-linear gate capacitance has a large influence on the efficiency of the SMPS. In this case a model where the gate charge of a Mosfet is modeled is required. Multilevel modeling simplifies the modeling process for these various components.
5. Visualizing simulation results.
The early simulation programs produced a long list with numerical results. Nowadays most simulation programs offer the presentation of simulation results in graphical windows. The user has the ability to examine these graphical results by using a mouse, to obtain the numerical value at each point in time.
The next step is the visualization of the simulation. Most important in power electronics is the current-path. For example, freewheeling of diodes becomes clear, when the user sees the current-path changing from switches to freewheeling diodes.
The following visualization guidelines are used:
â€¢ The intensity of the voltage, current or signal is given by the color, which varies from black to red, as defined by a rainbow of colors.
â€¢ The color of a node in the electric circuit is dependent on the voltage level of that node.
â€¢ The color of an electric circuit component is dependent on the level of the current through that component.
â€¢ The color of an electric circuit wire is dependent on the level of the current through that wire.
â€¢ The color of a wire in the block-diagram is dependent on the level of the signal on that wire.
â€¢ Certain components animate depending on an event, taking place in the component, such as opening or closing of switches.
6. Importance of animation.
Animation of electric circuit may look like a toy. This is however absolutely wrong. Animation is a viable tool for teaching, gaining insight, checking the behavior, or searching for failure modes.
The advantages for teaching are clear. Students, for example, can see the current-paths in rectifiers or understand the freewheeling and discontinuous mode in SMPS.
For complex topologies, such as the Vienna-Rectifier [Kolar, 1994], animation can be very helpful to understand and verify the principle of the converter. During animation, it becomes clear to the user how the converter is behaving.
During animation, failure modes are detected. Even those failure modes, the user was not aware of. During failure analysis without animation it requires a lot of time to check each component. With animation, each failure is directly displayed, for example a switch is opened or closed at a wrong interval. Or some voltage levels are too high.
7. Practical implementation.
Animation costs time. A simulation should be as fast as possible. Animation slows down the simulation. Therefore the user should have the ability to turn the animation on or off.
If a circuit is animated, the simulation in most cases has to be slowed down, in order to follow the behavior of the system. Therefore the time-consumption of animation is in many cases not a problem.
In order to speed up the animation it is not always necessary to show each simulation step. For example, if a small time step is required for the simulation but the animation is slow varying, compared to the time step, not each time step has to be displayed. This can be achieved by not displaying each time step in the animation. Figure 2 shows a typical dialog box for animation properties.
To visualize the values of voltage and current, two different levels are required. For example a SMPS operating at the AC-mains can have current levels of only up to 1 Ampere. Also the control signals can vary in value from the voltage and current level. Typical control signals can range between 0 and 1, where the on-status of a control signal is clearly signaled by a red color and the off-status is signaled by a black color.
Figure 2: Animation properties.
To prevent that the schematic starts blinking like a Christmas tree, the user should have the possibility to turn on or off various animation effects. For example, the constant display of numerical values at each node can make the schematic very crowded and therefore the user should have the possibility to turn it off.
8. Example Vienna-Rectifier
In figure 3 the Vienna-Rectifier [Kolar, 1994] is displayed. The current-path, which is colored during the animation, is shown thick in this figure. One can see clearly that the complexity of the current-path gives valuable information on the functioning of the converter.
Figure 3: Current-path in the Vienna-Rectifier.
9. Example Buck converter
In figure 4 the animation of a buck converter is shown. In the figure the freewheeling of the diode is shown. The level of the output voltage and the level of the current through the inductance L1 is displayed by two analog meters, which during the animation show the actual value.
Figure 4: Buck converter with analog meters.
10. Example DC shunt machine with crane
In figure 5 the animation of a DC shunt machine with crane is shown. The DC shunt machine is controlled by a controlled voltage source, which is regulated by a library-block 'Crane Control'. Also a controlled rectifier could have been used here. The library-block modeling the crane includes an object-block, which models the visualization of the crane. Depending on the angle of the axis of the DC shunt machine, the load is lifted by the crane.
Figure 5: DC shunt machine with crane.
11. Example Switched Reluctance Machine
The model for the Switched Reluctance Machine (SRM) contains a non-linear inductance, which is depending on the position of the rotor and the saturation in the stator. The non-linear inductance is modeled per phase by a function or via a 2-dimensional table.
Figure 6: Switched Reluctance Machine with current control.
In figure 6 the model for a SRM is shown. The SRM is modeled inside the library block SRM46, which contains the model for a 6-stator and 4-rotor pole machine. On the left side the electrical connection to the converter is made. The inductances of the machine are connected to the converter via the nodes L1A-L1B, L2A-L2B and L3A-L3B. The parameters for the machine are supplied via a .model database as shown below:
.model srm68_1 user br=0.436 bs=0.349 jr=0 lmax=110m lmin=10m nr=6 ns=8 r=50
.model srm68_2 user br=0.436 bs=0.349 jr=0 lmax=210m lmin=10m nr=6 ns=8 r=20
.model srm64 user br=0.581 bs=0.465 jr=0 lmax=2.84m lmin=0.284m nr=4 NS=6 r=0.8
The name of the .model has to be specified in the block MName. The parameters for the machine are supplied at the bottom of the model.
On the right side a mechanical load is connected to the SRM. The load has an inertia of 54Kg.m2 and the torque Tload from the load equals 13.5*N, where N is the number of revolutions per min. In the scope at the right side of the Load block the speed of the rotor is displayed.
At the top side of the SRM the control signals and the currents through the inductances are exported. With a current regulator the current through each inductance is limited between 870 and 890 Ampere, using two comparators, a Flip-Flop and an AND-gate. The IGBT's are only closed if the position of a rotor pole is in front of a stator pole and is indicated by the nodes C1, C2 and C3.
During the animation the rotor is rotating and the value of L1 is displayed in a scope. The dependence of the inductance on the position of the rotor is visualized during the animation.
12. Example stepper motor with half step control
In figure 7 a bipolair stepper motor with half step control is displayed. The current through the inductances La and Lb is measured and in the block STBERBIP, the torque produced by the machine is calculated. On the right side of the machine, a Load block is connected modeling a linear mechanical load. The rotor speed and the produced torque are displayed in scope 2. The torque pulses are clearly visible.
Depending on the position and speed of the rotor, the back-emf (EA and EB) is calculated in the block STBERBIP and is modeled in series with the inductances LA and LB, where also the resistance (R=100Ohm) is modeled.
The position of the rotor is exported on the node H1 at the top of the block for the stepper motor. This node is connected to the block Object where using the parameter p1 the animation object for the stepper motor is defined. Depending on the value of H1, which varies from 0 to 2*Ï€, the rotor is rotating during the animation.
Figure 7: Stepper motor with half step control.
The block STUNIHALF, which produces a fixed pulse pattern for the Mosfet's, regulates the stepper motor. As can be seen in the animation, the currents through La and LB in figure 7 are positive and therefore the rotor is positioned as shown in figure 7. In figure 7 the Mosfet's where the gates GA1 and GB1 are positive are conducting. The position of the fixed pulse pattern is given by the value of A which is varying from 0 to 2*Ï€.
13. Example brushless DC machine with 6-pulse control
In figure 8 the Brushless DC machine with 6-pulse control and IGBT inverter is displayed. The block BLDCM models the brushless machine, where on the left side the block is connected to the inverter and on the right side, the mechanical load is connected.
Figure 8: Brushless DC machine with 6-pulse control.
At the bottom the parameters for the brushless machine are defined, being the back-emf constant K and the inertia of the rotor. Other parameters for the machine are fixed inside the block, so the example runs also under the, in nodes limited, freeware version of Caspoc. At the top the angle of the rotor is exported, which is required for a simple control of the IGBT's. The node A indicates the angle of the rotor in radians and is connected to the left side of the block GATECTRL, which fires the IGBT's as function of the angle A. In scope 3 the currents during start-up are shown.
Animation gives valuable information about the simulation of Power Electronics and Electrical Drives. Displaying current-paths gives insight in the behavior of the circuit and can reveal failure modes. It reveals more insight in the circuit operation then only displaying simulation results in graphs. If animation is based on simulation, also complex circuits can be animated. This makes animation a practical tool for designing power electronics and electrical drives.
For power electronic circuits the values of nodal voltages and branch currents can be visualized during the simulation and the conducting semiconductors can be identified. The different modes of operation can be identified and the animation gives an overview of current distribution among the switches.
The example of the Vienna-Rectifier shows that complex current paths can be visualized to gain a better understanding of the operation of the rectifier.
For electrical drives, the moving or rotating objects can be visualized. In the case of a SRM, the dependency of the inductance on the rotor position can be displayed, giving insight in the correctness of the functioning of the model. The example of the crane with DC machine visualizes the operation of a total system, where the control of such systems can be displayed. If the machine would not stop at the desired length of the crane cable, this is clearly visible in the animation.
Animation is not a toy, it can give valuable information to the designer not only on how his design is operating but can also show the fault conditions arising during the normal operation.
 Ho C-W, Ruehli A.E., Brennan P.A., The modified nodal approach to network analysis, IEEE Transactions on Circuits and Systems, Vol CAS-22, No 6, pp. 504-509, june 1975.
 Schwarz A.F., Computer-aided design of microelectronic circuits and systems, Vol 1, Academic press 1987.
 Franz G.A., Multilevel simulation tools for power converters, IEEE APEC CH2853-0/90/0000-0629, 1990.
 Duijsen P.J. van, Multilevel modeling and simulation of power electronic converters and drive systems, Proceedings Power Conversion and Intelligent Motion (PCIM), 1994.
 Kolar J.W., and Zach, F.C., A Novel Three-Phase Three-Switch Three-Level PWM Rectifier. Proceedings of the 28th Power Conversion Conference, Nuremberg, June 28-30, pp. 125-138 (1994).
 Simulation Research, Caspoc 2001; A simulation Odyssey, caspoc.com , 2001
Active In SP
Joined: Jun 2010
16-10-2010, 01:00 PM
howto.doc (Size: 2.41 MB / Downloads: 151)
Simulation and Animation of Power Electronics and Electrical Drives
The applications notes in this book will guide you through the process of modeling and simulation in Caspoc
Their sole purpose is to guide you on your way exploring the possibilities of the program. You can read them to get a general overview of the possibilities of Caspoc or use them as a reference during your own simulation project and implimentations.
Each chapter is written to stand on its own. We recommend you to first read or follow our “Getting Started” guide, to get acquainted with the program.
This will take you about 15-30 minutes, but covers most of the topics. The topics on these chapters are advanced topics, which could be useful during your won modeling and simulation project and implimentations.
Also the FAQ list on caspoc.com gives answers to many of your questions.
The very basics
Although explained in the “Getting Started” guide, we will give a brief resume of the basic operations in Caspoc
Both the circuit and the block-diagram are drawn in the same schematic. So your model contains the electric circuit, the control, the electrical load or electrical machine, plus an eventually mechanical system in one workspace.
The difference between the electric circuit and the block-diagram models is indicated by the appearance of the nodes.
In the electric circuit you can model your power circuit and calculate voltages over components or between nodes and currents through components. The nodes are indicated by round dots.
One node should be assigned to be the reference ground node, which always has a voltage level of 0 volts. Caspoc automatically inserts a ground label, which you can replace afterwards. By clicking the node with the right-mouse button, a dialog box pops up where you can type the label of the node. For a ground reference label type “0” or “ground”. To remove the label, press the [DEL] key.
In the block-diagram you can model a dynamic system by using blocks which perform an operation on the inputs of the block. For example, an “ADD” block would add the signals at the two inputs and the result is available at the output. Block-diagram blocks are always operating from the inputs to the output and are automatically sorted by Caspoc. The nodes in the block-diagram are indicated by square dots.
Connection between the circuit and the block-diagram
You can measure voltages and currents from the electric circuit using the blocks “VOLTAGE” and “CURRENT” or one of the probes from the library.
Using the controlled voltage source “B” or controlled current source “A” a signal from the block diagram is used a current or voltage in the electric circuit.
Use the “Scope” block to display any voltage, current, or block-diagram signal. You can insert a “Scope” in by clicking the first button on the bottom button bar.
Multiple simulations with parameter variations
Suppose we want to make a simulation where we are interested in the dependence of the system on one or more parameters. Instead of changing the parameter and restarting the simulation manually, we use the “Multiple Simulation” option.
In a multiple simulation project and implimentation, you use the block “Multisim” where the output indicates the number of the simulation.
If wewant the multiple simulation to run 5 times, the output of the block “Multisim” will be equal to 0, 1, 2, .. 5, depending on the number of the simulation. Using the block-daigram, any parameter value can be constructed from the output of the block “Multisim”.
In the dialog box “Multiple Simulation Parameters”, which you open by selecting Simulation/Multiple Simulation Parameters you can specify the number of simulations.
The results from each simulation are stored in the “Scopes”. In the following example, the transient response for various values of the resistor in the circuit is simulated. Create the RLC circuit using the components V=1volt, L=1mH, C=100uF, R=10ohm and one Scope. Place a scope at the output node of the RLC circuit as indicated in the figure below.
Joined: Jul 2011
23-01-2012, 11:31 AM
to get information about the topic multilevel inverter basics full report,ppt, related topic refer the link bellow
Thinking To Register
15-11-2012, 02:15 PM
sir i need animation of multilevel inverter, not for commercial purposes,for