# Implementation and Control of an AC/DC/AC Converter for Double Wound Flywheel Application

Authors: J. G. Oliveira; H. Schettino; V. Gama; R. Carvalho; H. Bernhoff
Journal: Advances in Power Electronics
 (2012)

---

## Abstract

An all-electric driveline based on a double wound flywheel, connected in series between main energy storage and a wheel motor, is presented. The flywheel works as a power buffer, allowing the battery to deliver optimized power. It also separates electrically the system in two sides, with the battery connected to the low voltage side and the wheel motor connected to the high voltage side. This paper presents the implementation and control of the AC/DC/AC converter, used to connect the flywheel high voltage windings to the wheel motor. The converter general operation and the adopted control strategy are discussed. The implementation of the AC/DC/AC converter has been described from a practical perspective. Results from experimental tests performed in the full-system prototype are presented. The prototype system is running with satisfactory stability during acceleration mode. Good efficiency and unity power factor could be achieved, based on vector control and space vector modulation.


---

## Body

## 1. Introduction

Extensive research has been recently done on Electric Vehicles (EVs) [1, 2]. The development of an efficient and robust propulsion system is essential to the feasibility of EVs [3]. But, even though sophisticated engines and advanced electrical power trains exist, the main issue, the long-term energy storage, has not been resolved.All-electric drivelines based on battery, supercapacitor, flywheel, and combinations of these are being widely discussed and tested, attempting to lower the requirement on power density from the batteries [4, 5].The propulsion system in development at Uppsala University is based upon a double wound flywheel energy storage device [6]. The flywheel under study is physically divided into two voltage levels through the stator winding. The high voltage side of the flywheel is connected to the wheel motor, whereas the low voltage side is connected to the battery, as shown in Figure 1. The system is bidirectional and the power can either flow from the battery to the wheel motor (acceleration mode) or from the wheel-motor to the battery (regenerative braking) [7].Figure 1
All-electric driveline schematics: The power can flow in both directions.In acceleration mode, the flywheel function is basically to provide the variant power requested by the wheel motor, so that the battery delivers a smoother output power. In braking mode, the wheel motor acts as a generator, and the flywheel is responsible for storing the regenerated energy.The system needs a considerable number of power electronics converters and electronic controllers in order to regulate and optimize the power flux between the components [8]. A DC/AC converter is used to connect the battery to the flywheel low voltage side. An AC/DC/AC converter is used to connect the flywheel high voltage side to the wheel motor.This paper presents the implementation and control of the AC/DC/AC converter to link the flywheel high voltage side to the wheel motor. Although it is a bidirectional converter, only the acceleration mode is studied in the present paper. Section2 describes the modeling and general operation of the converter. The adopted control strategy is discussed in details in Section 3. A prototype system is presented in Section 4, and the experimental results are discussed in Section 5.


## 2. The AC/DC/AC Converter

Both the wheel motor and the flywheel machine are three-phase synchronous machines in the present system. The angular speed of synchronous machines is proportional to the applied electric frequency in steady state. The energy stored in the flywheel rotor is related to its angular speed. The wheel motor speed must vary according to the vehicle’s requirements.The AC/DC/AC converter is an electrical way to decouple the two frequencies. Two identical three-phase bridges, one capacitor and inductors compose the power circuit. In acceleration mode, the AC/DC/AC converter can be divided into a rectifier and an inverter, as shown Figure2. This section presents briefly the modeling and functioning of the two modules.Figure 2
The AC/DC/AC converter in acceleration mode.


### 2.1. Rectifier

A forced-commutated three-phase controlled rectifier is required to obtain a desired voltage in the DC-link for different flywheel speeds and different wheel motor loads [9]. A scheme of the forced-commutated rectifier, based on transistors, is shown in Figure 2.The AC/DC converter must behave like a voltage boost in order to work as a forced-commutated rectifier. In other words, the DC-Link voltage must be larger than the peak DC voltage generated by the rectifying diodes in passive mode. The inductanceL performs the boost voltage operation in combination with the capacitor C and acts at the same time as a low-pass filter for the AC line current. Therefore, the choice of L and C values is extremely important for the proper functioning of the rectifier. Since the flywheel has a very small internal inductance, external inductors need to be placed.Assuming that the source (flywheel machine) is a balanced, sinusoidal three-phase voltage supply with frequencyω, the input voltages can be written as(1)ea=-Esin⁡(ωt),eb=-Esin⁡(ωt-2π3),ec=-Esin⁡(ωt+2π3).In the rotatingd-q frame, the input voltage is usually in the quadrature axis [10]. Therefore, the direct component is null(2)ed=0,eq=E.The voltage equation in the rotatingd-q frame is given by(3)0=Ldiddt-ωLiq+Vd,E=Ldiqdt+ωLid+Vq.The active power supplied from the source is(4)P=32(eqiq+edid)=32Eiq.If theid current is controlled to zero, the line current is completely represented by iq component and the active power coming from the source is maximized. Consequently, the input current will be in phase with the input voltage (unity power factor)(5)id*=0.The idea of the proposed control strategy is to control the DC voltage in combination with the input AC currents so that unity power factor is reached. Instantaneous value of the DC voltage, input currents, and flywheel speed must be known to achieve closed loop control. The control strategy adopted is discussed in detail in Section3.


### 2.2. Inverter

The inverter is responsible for driving the wheel motor, controlling its angular speed for different load torques. Since the wheel motor is a synchronous permanent magnetic machine (PMSM), the electromagnetic torque expressed in thed-q rotating frame is given by [11](6)Te=3p2[ψPMiq+iqid(Ld-Lq)],
where p is the number of pole pairs; ψPM  is the flux produced by the permanent magnet; Ld and Lq are, respectively, the direct and quadrature components of the wheel motor inductance.Considering a nonsalient pole machine (smooth air gap),Ld and Lq are the same, and (5) can be written as(7)Te=3p2ψPMiq=Kiq.According to (7), only the iq component can influence the value of the electromagnetic torque produced in the machine. Thus, the maximum torque per ampere occurs when iq is at its maximum value and, consequently, id is equal to zero(8)id*=0.The implementation of the inverter control requires the feedback signals of the line currents and rotor position instantaneous values, as shown Figure4. The details of the control strategy are further explained in Section 3.


## 2.1. Rectifier

A forced-commutated three-phase controlled rectifier is required to obtain a desired voltage in the DC-link for different flywheel speeds and different wheel motor loads [9]. A scheme of the forced-commutated rectifier, based on transistors, is shown in Figure 2.The AC/DC converter must behave like a voltage boost in order to work as a forced-commutated rectifier. In other words, the DC-Link voltage must be larger than the peak DC voltage generated by the rectifying diodes in passive mode. The inductanceL performs the boost voltage operation in combination with the capacitor C and acts at the same time as a low-pass filter for the AC line current. Therefore, the choice of L and C values is extremely important for the proper functioning of the rectifier. Since the flywheel has a very small internal inductance, external inductors need to be placed.Assuming that the source (flywheel machine) is a balanced, sinusoidal three-phase voltage supply with frequencyω, the input voltages can be written as(1)ea=-Esin⁡(ωt),eb=-Esin⁡(ωt-2π3),ec=-Esin⁡(ωt+2π3).In the rotatingd-q frame, the input voltage is usually in the quadrature axis [10]. Therefore, the direct component is null(2)ed=0,eq=E.The voltage equation in the rotatingd-q frame is given by(3)0=Ldiddt-ωLiq+Vd,E=Ldiqdt+ωLid+Vq.The active power supplied from the source is(4)P=32(eqiq+edid)=32Eiq.If theid current is controlled to zero, the line current is completely represented by iq component and the active power coming from the source is maximized. Consequently, the input current will be in phase with the input voltage (unity power factor)(5)id*=0.The idea of the proposed control strategy is to control the DC voltage in combination with the input AC currents so that unity power factor is reached. Instantaneous value of the DC voltage, input currents, and flywheel speed must be known to achieve closed loop control. The control strategy adopted is discussed in detail in Section3.


## 2.2. Inverter

The inverter is responsible for driving the wheel motor, controlling its angular speed for different load torques. Since the wheel motor is a synchronous permanent magnetic machine (PMSM), the electromagnetic torque expressed in thed-q rotating frame is given by [11](6)Te=3p2[ψPMiq+iqid(Ld-Lq)],
where p is the number of pole pairs; ψPM  is the flux produced by the permanent magnet; Ld and Lq are, respectively, the direct and quadrature components of the wheel motor inductance.Considering a nonsalient pole machine (smooth air gap),Ld and Lq are the same, and (5) can be written as(7)Te=3p2ψPMiq=Kiq.According to (7), only the iq component can influence the value of the electromagnetic torque produced in the machine. Thus, the maximum torque per ampere occurs when iq is at its maximum value and, consequently, id is equal to zero(8)id*=0.The implementation of the inverter control requires the feedback signals of the line currents and rotor position instantaneous values, as shown Figure4. The details of the control strategy are further explained in Section 3.


## 3. Control Strategy

### 3.1. DC-Link Control

A simplified diagram of the DC-link control is shown in Figure3. Due to the characteristic of closed loop, it is necessary to measure the stator currents and rotor angular position. These measurements are carried out by two current sensors, and a hall sensor used to calculate the speed and estimate the rotor position. The instantaneous values of stator currents ia and ib are mathematically transformed (Clarke and Park transformations) and then used as the feedback for iq and id control loops.Figure 3
Block diagram of the DC-Link control.Figure 4
Block diagram of the Vector control.An outer loop of voltage is connected to a PID regulator. The output of the voltage controller is the reference of the quadrature currentiq. The reference of the direct current id is set to zero, in order to obtain unity power factor operation. The output of iq and id PID controllers are transformed into α and β components (Inv Park) and modulated by Space Vector modulation, generating the pulses that are inserted into a three-phase bridge rectifier.


### 3.2. Vector Control

The Vector control block diagram is similar to the DC-Link diagram, as shown in Figure4. Current sensors are necessary to capture the instantaneous values of the line currents. In this case, an encoder was used to measure the rotor angular position. The two inner currents loops are maintained in exactly the same way as for the DC-link control. The main difference is in the outer loop, where a speed loop control is implemented. The output of the speed controller is the reference quadrature current iq, which regulates the torque needed to reach the reference speed. The reference of the direct current idis set to zero, in order to obtain maximum torque per ampere in the machine.


## 3.1. DC-Link Control

A simplified diagram of the DC-link control is shown in Figure3. Due to the characteristic of closed loop, it is necessary to measure the stator currents and rotor angular position. These measurements are carried out by two current sensors, and a hall sensor used to calculate the speed and estimate the rotor position. The instantaneous values of stator currents ia and ib are mathematically transformed (Clarke and Park transformations) and then used as the feedback for iq and id control loops.Figure 3
Block diagram of the DC-Link control.Figure 4
Block diagram of the Vector control.An outer loop of voltage is connected to a PID regulator. The output of the voltage controller is the reference of the quadrature currentiq. The reference of the direct current id is set to zero, in order to obtain unity power factor operation. The output of iq and id PID controllers are transformed into α and β components (Inv Park) and modulated by Space Vector modulation, generating the pulses that are inserted into a three-phase bridge rectifier.


## 3.2. Vector Control

The Vector control block diagram is similar to the DC-Link diagram, as shown in Figure4. Current sensors are necessary to capture the instantaneous values of the line currents. In this case, an encoder was used to measure the rotor angular position. The two inner currents loops are maintained in exactly the same way as for the DC-link control. The main difference is in the outer loop, where a speed loop control is implemented. The output of the speed controller is the reference quadrature current iq, which regulates the torque needed to reach the reference speed. The reference of the direct current idis set to zero, in order to obtain maximum torque per ampere in the machine.


## 4. Prototype System

A scaled experimental test setup has been constructed to investigate the properties of the proposed flywheel system [12]. The experiment allows measurements of complete drive cycles to be performed, improving the understanding of the constituting components and optimization of the complete system.A prototype of the described AC/DC/AC converter that connects the high voltage of the flywheel machine to the wheel motor has been implemented.A 3.5 kW/380 V PMSM (manufacturerLeroy Somer) is used as wheel motor. The double wound flywheel machine is a prototype developed at Uppsala University [6]. A DC power supply emulates a battery, connected through a DC/AC converter to the low-voltage side of the flywheel (not shown in the diagram).The high-voltage side of the flywheel is connected to 600μH inductors per phase, required for the functionality of the forced-commutated rectifier. A 20 mF/350 V capacitor is connected in parallel with the DC-Link.Two three-phaseMOSFET bridges were built with discrete DSEI 2130. A snubber circuit was implemented in order to eliminate the rings presented in the MOSFET output.The control of the AC/DC/AC converter has been performed using two MCUs (Microcontrollers) Piccolo TMDSCNCD28035 (manufactured by Texas Instruments) plugged in the TMDSDOCK28035 Experimenter’s Kit.The current setup has two MCU and one computer, which perform real-time debug, through serial communication using a Compact Rio device from National Instruments, as shown in Figure5.Figure 5
Prototype System, the black arrows indicate the sensor signals flux.Two mainboards, one for each module of the converter, contain the driver and sensor circuits. The driver used is an IR2130, fromInternational Rectifier. With the purpose of avoiding damage in the low power system, the driver was electrically isolated from the MCU by digital optocouplers (A4800). The system requires a large number of sensors: four current sensors (HAL50-S), one encoder (ERN423), one voltage sensor (resistive divider), and three hall sensors (A1101). The current sensors are used in both boards to capture the instantaneous values of the line AC currents. The hall sensor (flywheel speed capture) and the voltage sensor (DC-Link voltage capture) are used for the rectifier control strategy. The encoder is used to estimate the wheel motor rotor angle for the inverter board. The black arrows in Figure 5 indicate the sensor signals flux.The rectifier main board with the components indications is shown in Figure6. Small changes are seen in the inverter mainboard due to the different sensors used.Figure 6
Rectifier main circuit board.


## 5. Experimental Results

The experimental waveforms for a 20-second test performed in the full system prototype are shown in Figure7, Figure 8, and Figure 9. A variant torque is applied to the wheel motor up to t=11 s, as seen in Figure 7.Figure 7
Applied torque.Figure 8
Input and output power.Figure 9
Flywheel and wheel motor angular speed.The approximate input and output power curves can be seen in Figure8. The mean input power, measured in the terminals of the DC power supply, is 140 W and the mean output power, measured from voltage and current supplied to the wheel motor, is 125 W.The flywheel speed decreases from 1950 RPM to 1650 RPM in order to supply the power requested by the wheel motor, as seen in Figure9. When the torque is changed to a small constant value (t>11 s), the flywheel speed increases to the initial value (1950 RPM). While the torque is being applied, a stationary error of about 10% compared to the setpoint values occurs in the motor speed control (Figure 9).Additional experimental results are shown in Figures10, 11, and 12.Figure 10
(a) Speed of the flywheel, (b) flywheel output current, (c) DC-link voltage,  and (d) wheel motor current.Figure 11
(a) Speed of the flywheel, (b) voltage over the DC link,  and (c) flywheel output current.Figure 12
Output voltage and current on the high voltage of the flywheel machine for different reference values ofId.Different load current and different reference values for the DC-link voltage were applied to the system in order to verify the controllers’ response. The rotational speed of the flywheel machine varies in order to supply the extra current required on the motor side, as shown in Figure10(a). Different output currents are shown in Figure 10(b). The voltage on the DC-link is kept constant, with some oscillations when the applied load is changed. Small overshoot can be seen when the reference value was changed. These oscillations might indicate that the PID parameters can be further adjusted.The flywheel was disconnected from the battery, and the load was kept the same, so the output current of the DC-link would not vary. The speed of the flywheel decreased as shown in Figure11(a). The voltage in the DC-link was kept constant (80 V) until the speed the flywheel was around 20 rpm, as shown in Figure 11(b). The output current on the flywheel high power side is shown in Figure 11(c). It increased as the speed of the flywheel decreased, to compensate for the falling output voltage.Output voltage and current on the high voltage of the flywheel machine for different reference values ofId is shown in Figure 12. As described in Section 2, unity power factor operation is desired on the rectifier side, and this is achieved by making Id=0 in nonsalient pole machines. The results shown in Figure 12 indicate that the flywheel machine is not purely nonsalient, and due to some small saliency, the required value of Id in order to reach unity power operation is different from zero (the values are given in p.u. in Figure 12).


## 6. Conclusion

An AC/DC/AC converter based on MOSFET modules for double wound flywheel application is presented. The prototype system is running with satisfactory stability in acceleration mode. Some changes in the control system must be implemented in order to achieve regenerative braking. Based on vector control theory and space vector modulation, good efficiency and unity power factor could be achieved.Results have shown some oscillations in the control of the DC-link voltage, which can be suppressed with further adjustment of the PID parameters. However, the control has shown robustness and capability of keeping the DC-link voltage constant for a broad range of input voltages.Small saliency of the flywheel machine has been shown by the results, but unity power factor operation can be reached by slightly adjusting the value ofId in the control system.Future work consists in implementing regenerative braking operation and enlarging the system to a full-scale experimental setup.



---

*Source: 604703-2012-05-22.xml*