Abstract

This paper presents the research platform for real-time digital simulation applications which replaces the requirement for full-scale or partial-scale validation of physical systems. To illustrate this, a three-phase AC-DC-AC converter topology has been used consists of diode rectifier, DC link, and an IGBT inverter with inductive load. In this topology, rectifier as well as inverter decoupled and solved separately using decoupled method, which results in the reduced order system so that it is easy to solve the state equation. This method utilizes an analytical approach to formulate the state equations, and interpolation methods have been implemented to rectify the zero-crossing errors, with fixed step size of 100 μsec is used. The proposed algorithm and the model have been validated using MATLAB simulation as m-file program and also in real-time DSP controller domain. The performance of the real-time system model is evaluated based on accuracy, zero crossing, and step size.

1. Introduction

The ever growing complexity and size of electric drives and their related mechanical loads [1] represent an important challenge for those responsible for their testing and verification. The considerations highlight the need for a thorough and exhaustive testing of the controls under conditions that are realistic [2]. For these reasons, it is customary that all controllers for high-power electric drives be tested in controlled laboratory conditions [2].

A recent alternative way of testing that is fast becoming quite popular is to use fully real-time digital simulation. These simulations can also be interfaced with industrial controllers, thus saving a lot of the investment cost and allowing an economic tool for drive controller testing and offering the flexibility needed to simulate machines in all power ranges [2]. The use of virtual system enables relatively easier interface of the drive systems to the computer, and it allows faster “online data and signal processing for analysis purposes.” Earlier hardware has been replaced by equivalent simulation model, and the same has been tested using controller, the so-called HIL. Recently, systems tested in real time fully digital simulation with controller as well as hardware using a simulation model [3].

Simulating a drive in real time starts with the problem of modelling the drive, and various works have been made in developing models of drives, most notably those in [1, 2, 4]. The authors of [4] have proposed an interesting alternative to modelling the drives using a state-space model that can easily be implemented using MATLAB, and the parameters can be found from standard theories and tests [4]. Many researchers are doing this research work and found various approximate and optimistic solution approach methods and tested the same. Based on their past experience, a simple method to form state equations involves switching function method [5]. This method involves mathematical modelling of a system rather than a circuit-based modeling and hence does not have the problems mentioned like in PSpice, PSIM [57]. Also, this method is defined by its function related to its state rather than its generalized equation. But coupled method suffers from numerical error due to higher order system equations. So, in this work, decoupled method is used which is very simple and allows developing the analytical equations suitable for any power electronic system by decoupling rectifier and inverter. This also gives exact solution, and error is almost reduced.

In this paper, decoupled method for a simple three-phase DC link inverter fed induction machine is proposed. The topology of the converter considered in this paper comprises diode rectifier, capacitive DC link PWM IGBT inverter, and induction motor as load. Decoupled analytical method is used to solve all the state variables of the earlier test circuit (source current, DC link voltage, and load current) for accurate results. Decoupling is implemented to reduce the system equation order so as to achieve fast calculation and easier to get an analytical expression from solution to state-space equations of the two converters. Performance parameters of the drive system have been validated using MATLAB scripts (m-file) and also on DSP platform. This method has advantages like reduced system order, simplified solution, easier calculation, exact zero crossing, and less data storage due to large step size comparing coupled method.

2. Methodology

Figure 1 represents the topology of the power converter to be modelled with decoupled algorithm with zero crossing. In every sampling period of the discrete model, two circuits are considered. The first part of the circuit consists of an AC voltage source having an internal impedance connected to a diode rectifier with a DC link capacitor. The second part is having a constant voltage source in DC link, PWM inverter, and an IM load. At the end of every sampling period, DC link voltage is computed by integrating the difference in rectifier and inverter currents.

The proposed decoupled algorithm to solve the state-space equation of the electric drive system is given later.

Step 1. Initialization parameters of the selected system.

Step 2. Decouple the diode bridge rectifier and inverter fed induction motor circuit.

Step 3. Define different cases with an equivalent circuit for two decoupled circuits.

Step 4. Assume that is a known value (initial value = 0).

Step 5. Solve state-space equation of the diode bridge rectifier, and find rectifier side DC link current using analytical/numerical method based on its switching states/function.

Step 6. Solve state-space equation of inverter fed induction motor, and find inverter side DC links current using analytical/numerical method based on its switching states/function (see Figure 2).

Step 7. Find capacitor current using rectifier and inverter side DC link currents from Steps 5 and 6, respectively.

Step 8. Solve the differential equation of DC link current, and find using analytical/numerical method.

Step 9. Repeat the iteration for all cases up to stop time.

Step 10. Compare with offline simulation results using Simulink/Simulation tool:

The equation for diode rectifier side DC link current component is obtained by using individual diode currents shown in (1), where   is rectifier side DC component of current at  sample and, and  areth sample of source side currents of Phase, (), (), and (), respectively, in Inverter.

The equation for inverter side DC link current component is obtained by using individual switch currents and diode currents shown in (2), where   is inverter side DC Component of DC link current at  th sample, , and  are th sample of upper switch currents, and ,  and  are th sample of lower switch currents of phases (), (), and (), respectively, in Inverter:

where is capacitor current at sample.

From (3), DC link voltage of th sample can be calculated as.

This sample is used to formulate the four different cases and its switching logic for an inverter circuit explained in Section 3 for identifying all these parameters for next iteration or time step.

3. Modelling of IGBT-Diode Inverter and Induction Machine

Consider the IGBT-diode inverter circuit as in Figure 3 with induction machine load. Assume that two DC link voltages are equal (/2 each). Then, voltage at the DC link midpoint is at zero potential. Similarly, , , and are considered to be back emf of induction machine in each phase, and “” is the neutral point of the induction machine stator windings. Let us assume that , , and   are the pole voltages of each phase leg.

Consider only that phases leg A and , are the PWM pulses to upper () and lower () IGBT switches. If we define modes of operation for the phase leg A alone by considering its state variables and PWM sequences, we arrive at four different examples as given in what follows.

Case 1. ; upper IGBT switches on condition

Case 2. lower IGBT switches on condition

Case 3. shorted leg mode

Case 4. diode bridge mode IGBT switches off condition.
Case  4.1. If
Case  4.2. If
Case  4.3. If where is PWM pulse to upper switch; is PWM pulse to lower switch; are phases (), (), and (); and is induction machine current in (), (), and () reference frames.

The logic for two IGBT switches in phase “” is given in what follows based on the conditions given previously as per four different cases:

Similar logic for other two phases () and () is obtained by replacing the subscript “” in earlier two equations by “” and “." Switching logic for the diode is explained in detail in [8] and hence has not been given here. Similarly, switching function logic for IGBT-diode combination from individual IGBT logic and Diode logic is given later for all the switches in upper legs and lower legs.

Phase leg A top switches on (either IGBT or diode):

Phase leg B top switches on (either IGBT or diode):

Phase leg C top switches on (either IGBT or diode):

Phase to DC link midpoint voltage is given by

Machine side of each phase voltage is given by

Voltages ,  , and  ,  in the previously equation are used as an input stator voltage for induction motor. In order to find the various electrical and mechanical parameters like speed, flux, and current through stator terminals, a simplified or reduced order model has to be developed which has been explained in detail later.

While modelling induction machine, the order of the system plays an important role in real-time simulation [9]. In general, induction machine is modelled in two-phase reference frame. Sometimes this leads to more state matrix parameters and more computation time. At the same time, if it is modelled as the lowest order system, then the state variables may deviate from its actual values; this leads to poor accuracy and instability. In order to compromise between accuracy and computation time, the induction machine is modelled in stationary two-phase reference frame which satisfies the previous criteria. This model has advantages like fewer matrix parameters calculation, preservation of symmetry of the induction machine model state matrix, and minimization of computation time [9, 10].

Induction machine model in   reference frame is as follows: where the input vector is chosen to be the reference stator voltages, is the stator and rotor flux state vector (input), is the stator and rotor current output vector (output), and ,, andare state matrix, input matrix, and output matrix, respectively.

As per the reference from [9, 10], induction machine equation in is expressed in complete form as shown in what follows: where , no. of pole pairs in a machine, and speed in rad/s.

In order to find back emf set and .  Then ,   where , are the state and input matrix coefficients of the stationary reference frame model of induction machine. At every sampling time, stator currents have been calculated using stator voltages, and finally back emf of each phase has been calculated as per (19). Current sample of back emf has been used for the next iteration to identify the mode of operation of inverter given in Section 3. With these equations, a generalized model of the complete electrical drive system has been developed and validated with offline Simulink-PLECS model given later.

4. Simulation Results

Input parameters for proposed model as well as for Simulink-PLECS (REF) offline simulation are shown in Table 1.

4.1. Offline Results versus Real-Time Digital Simulator

In this case, simulations are carried out with both rectifier and inverter now decoupled at DC link. Both circuits are treated as separate circuits, and rectifier current with DC link and inverter current with DC link are calculated separately. At the end of the iteration, DC link voltage will be updated using the rectifier and inverter currents.

In Figures 4, 5, 6, 7, 8, 9, and 10, red trace is from Simulink-PLECS reference results which are overplotted on that of RTDS-decoupled solution. From Figures 410, it is very clear that proposed real-time model and offline Simulink results are matching each other in terms of accuracy as well as with larger step size of 100  proposed model with the 1  Simulink reference model.

Table 2 shows that at a particular time of sample, electrical and mechanical parameters of real-time electrical drive system model utilizing AC-DC-AC topology listed previously are closely matched with its Simulink reference offline results.

5. Real-Time Implementation Using DSP

The given system model is implemented in MATLAB m-file coding and also in real-time hardware setup using the DSP-MATLAB interface. PWM are pulses for hardware and MATLAB model generated using DSP processor 2. ePWM module is used to generate six pulses at a time from ePWM pins of DSP. These pulses are being fed to optocoupler TLP 250 which boosts up the voltage level to an extent at which IGBT switches can be triggered. At the same time, another processor is used to run the mathematical model of drive system as per decoupled method.

Figure 11 represents the block diagram of the hardware setup. As per specifications given in Appendix A, two Semikron make IGBT IPM module-based inverters used for this purpose, one acts as a rectifier and the other is used as an inverter to drive induction motor. Pulses from DSP2 are given to the Semikron inverter module 2 through the optoisolator ICs in order to strengthen the gate drive signal. The PWM logic is developed in Simulink model, and Figure 12 shows the logic generation of bipolar PWM for three-phase inverter. Comparative results are obtained for the input ph-ph voltage of diode rectifier and input phase current as shown in Figures 13(a) and 14(a). Figures 13(b) and 14(b) show DC link voltage and current waveforms.

The PWM pulses generated at the output of the optoisolator are shown in Figure 14(c) and those from the simulation are shown in Figure 13(c). In Figure 14, all voltage waveforms are phase-phase voltages with the multiplier setting of 200, and all current waveforms are phase A current waveforms with the probe setting at 10 mV/A. Figures 13 and 14(d) reveal that the output voltage between two phases and phase currents is closely matched with that of the offline simulation results. As per analytical calculations as well as simulation and hardware results, the output RMS voltage obtained across the load is 85 V. All the parameters are matched except for the grid voltage and current, since it has been assumed as the ideal source in simulation model, and real grid conditions in the laboratory are ignored. But in practical situations, the grid could be connected to transformers and many other loads in the laboratory building.

6. Conclusion

A new research platform for power electronics and drive system modelling using decoupled analytical method has been verified both in offline simulation and in real-time hardware. The m-file program developed for state-space method-based electrical drive model accurately matching with hardware model. The same model has been validated using eZdsp processors with one as plant and the other as a controller. Decoupled method makes it easier with better accuracy and less calculation time which results in fast execution speed. This can be further extended to test the same with reduced order induction motor model, and results can be compared with existing results in order to further improvise the real-time model accuracy and its execution time. The results obtained from this work suggest that the developed models using the proposed method can be used as a research platform and extended to any complex power electronic applications. The obtained model is flexible and it can be extended to any system with different size (system order). These models can be used as user defined/function blocks to test with real-time processor/controller for future research work.

Appendices

A. Three-Phase IGBT-Based Inverter (Semikron Make)

IGBT module used: SKM75GB123DDC link capacitor: 4700 µFGate driver: SKYPER 32 PRO input: 800 (V) output: 415 (V) output: 20 (A)Output frequency: 50 HzSwitching frequency: 10 kHzType of cooling: force air cooledTemp: 35°CDuty class: class I.

B.

For more details see Table 3.