Digital Control of an Interleaving Operated Buck-Boost Synchronous Converter Used in a Low-Cost Testing System for an Automotive Powertrain

Based on the standardization in the automotive industry, systems require extensive testing, which represents significant costs regarding personnel and equipment. The testing systems must be built in such a way that a bidirectional power flow is possible between the power source and the tested system. Additionally, applied testing systems have to possess high disturbance immunity. Classical current programmed control performed using an analogue approach suffers from low disturbance rejection during switching operation. The digital control of DC–DC converter can solve this problem with the use of digital integration in a measurement chain. The integrals of values are obtained by using a Voltage Control Oscillator (VCO) and appropriate counters. Digital control of an interleaving operated bidirectional buck-boost synchronous converter can be applied in the testing system for automotive powertrains. The voltage and current measurements with the application of an integral-measurement principle act as low-pass filters, which remove the disturbances from the measured values. The digital implementation of a compensation ramp (current mode control) and method for choice of control parameters are described. All the tasks for measurements, as well as current and voltage control, were implemented within the FPGA (Field Programmable Gate Array). The presented converter can operate as a close to ideal voltage or current source, and satisfies the requirements of testing electric motor drive-trains with bidirectional DC–AC converters that are applied in automotive applications. The proposed system was verified by simulation and experiments.


Introduction
In the development of safety-critical applications, testing is an essential part of the development process [1].Industry standards and guidelines emerged, since functional safety of such devices has to be proven.The main standard covering this area is IEC/ISO 61508 [2].It is intended to be a basic standard and is applicable to all industry fields.Additional standards were developed regarding the functional safety in specific industries, for example IEC/ISO 26262 for road vehicles [3].Companies active in the automotive industry are, thus, often, faced with the testing of their products according to industry standards, which can become quite costly from the viewpoint of work intensity and costs of equipment.This is especially true for the Small and Medium Enterprises (SMEs).
Testing of powertrains and auxiliary drives in automotive applications is of special interest.The drive under test is connected to the dynamometer mechanically, which can be torque or speed controlled, emulating the actual load torque that would be present on the motor shaft in the actual application [4][5][6].Some possible setups of the testing system are presented in Figure 1.DM represents a "drive machine", the motor of the powertrain under test, whereas LM is the "load machine", the dynamometer applied to emulate the loading of the tested powertrain when operating.Both drive and dynamometer, are driven by DC-AC converters.The DC-AC inverter of the drive powertrain can be uni-or bidirectional, whereas the dynamometer DC-AC inverter has to be bidirectional.Different kinds of DC-AC converters can be expected to be used in the automotive powertrains.Most applications use the Voltage Source Inverter [7,8], but also multilevel inverters [9,10] and Current Source Inverters [9] are becoming an option.Voltage Source Inverters are the most commonly used inverters.Multilevel Inverters have the advantage of enabling an improved Pulse Width Modulation (PWM) quality and a simple voltage sharing [7], harmonic mitigation is also of interest [11,12].Their disadvantages are the neutral-point voltage balancing that can become difficult and complex control circuits.Current Source Inverters require a current source.For all types of DC-AC converters, the analysis has to be performed regarding harmonic distortion and related issues [13][14][15][16][17]. Well-known testing systems setups are shown in Figure 1 [4][5][6].The setup in Figure 1a features a common DC-link system for vehicle powertrain testing.In such systems, the DC-links of the powertrain and dynamometer are connected, thus enabling four-quadrant operation of the tested powertrain.Only one grid-connected AC-DC converter is used, thus the voltages of the DC-link are the same, which is not practical, since, for the different applications, different voltages are also required, and a dedicated dynamometer converter would be needed for every voltage range.
The setup in Figure 1b would be more appropriate in such cases, using separate bidirectional AC-DC converters for drive and dynamometer.Some functional safety tests require testing of short-cut and open-circuit operation, which can have an undesired effect on the grid.In addition, the price of the high-power connection to the grid is sometimes unacceptable for SMEs.This is also the case for the setup in Figure 1c, where the battery is used to charge the drive under test.During the operation, the battery is discharged and the dynamometer operates as a generator, sending the generated energy directly to the power grid.
In order to avoid all of these "obstacles", the system shown in Figure 1d is suggested, which is somewhat more suitable for testing in SMEs than the previous ones.The interleaving operated multiphase buck and boost converters can be used in the laboratory environments for testing purposes [18][19][20].The grid connection can be "normal" power rated (up to 5 kW), which is an important benefit regarding the grid connection expenses for SMEs.The voltages of the DC-links can be adjusted separately for both the tested drivetrain and dynamometer using bidirectional DC-DC converters.Energy is cycled between the tested powertrain and dynamometer through bidirectional DC-DC converters with the battery only covering losses.Thus, the battery can be used even for long-term testing, only requiring charging relatively rarely, possibly overnight.The bidirectional multiphase DC-DC (BM DC-DC) converters, as used in this setup, are also suitable in the automotive (electric and hybrid vehicle) applications [18].
The control algorithm's digitalization is described in [21][22][23][24][25][26][27][28] where the authors put much enthusiasm in research into FPGA's and DSP's implementation.The authors in [21][22][23] describe the measurement methods based on VCO and authors in [24][25][26][27][28] focus on control.Almost all published algorithms are based mainly on instantaneous current measurements and prediction strategy.In order to perform current-mode control, the inductor current is sampled using A/D converters, as is discussed in [29].Such current measurement method is subject to disturbances that may arise when measuring instantaneous inductor-current signals.Only a few authors, [30] and [31], describe the average current measurement principles by using VCOs, but they did not realise the necessity of transferring the current reference values in the area space.However, disturbances can result in poor control and, thus, can distort the testing results.
The digitalization principle based on the measurement of the voltage and current integral values is explored in the following text.The integral value measurements are performed using VCOs and digital counters.
The operation of the BM DC-DC converter has to be both fast and precise, for which the current mode operation is a very appropriate option.Namely, the testing system should not introduce significant disturbances into the system and should behave as much as possible as an actual source to be connected to the powertrain DC-link and actual load to be applied to the powertrain shaft.Thus, the current control scheme is proposed, with the compensating ramp and dynamic reference, improved with the use of a PI compensator.
The four-leg bidirectional DC-DC converter, featured in Figure 2, is used with the basic control principle presented in Figure 3. Transistors in the same converter leg are switched on and off synchronously, one at a time with the dead-time insertion (both transistors switched off for a short period of time during the transition).Bidirectional power flow is enabled, and the FPGA is used as a control device on which the control featured in Figure 3 is applied.The converter can operate either as a voltage or current source.Cascade control is used, with the inner loop using the current-programmed mode controllers (CPC in Figure 3), which are used to control the inductor currents i L1 , i L2 , i L3 , and i L4 .The reference value of the inductor current i re f is the same for all inductor currents.The outer loop enables improved current control or voltage control in buck or boost operation mode.In the outer control loop, a PI controller (compensator) is used for all modes of operation.In the case of required precise current control, an additional current control loop is used, due to the fact that with using only a current-programmed mode a static error appears.Measurements are performed using VCOs.Bidirectional DC-DC was designed to enable testing of Voltage Source Inverter and Current Source Inverter devices, but it should also be possible to use it for testing of the Multilevel Inverters.Reference values V REF can be set for input voltage V d or output voltage V 0 , whereas current reference I REF can be set for the total inductor current (  The main contribution of the paper is the presented method using VCOs for the measurements of currents and voltages and use of integrals from VCOs for the current reference shaping.Bidirectional control of current and voltage is possible, which enables the operation as voltage or current source.Because the integral measurement method had to be tested and evaluated, the power rate was chosen to be up to 6 kW in order to enable safer experimentation.The presented BM DC-DC setup was used for the proof of concept, whereas the high power real system will be built in the future, based on the obtained results.
The paper is organised as follows.Section 1 gives an introduction of the testing requirements, principles and equipment in the automotive industry.The need for the use of bidirectional multiphase DC-DC converters is presented, as well as some requirements regarding their operation.Section 2 describes the operating principle of the converter, mathematical background of the measurement principle, and mathematical integration using VCO and counter.Frequency characteristics of current and voltage are presented, together with the VCO static characteristics.Dynamic reference calculation is also explained.Simulation and experimental results are presented in Section 3. The experimental setup is presented and the test-bench system with FPGA implementation is described.Control scheme modelling is incorporated in this section in order to give an explanation of the operation, methods and parameters chosen.Modelling is considered based on the PWM switching approach [32][33][34].Much of the analysis performed here is an extension of well-known modelling methods.The control scheme is modelled and transfer functions are presented.The main reason why it is applied is to show that this modelling method is also appropriate for such an organised control approach.The control principle is applied on a four-phase BM DC-DC converter tested up to 6 kW.This section also includes the experimental results for current and voltage control in buck and boost operation.Section 4 concludes the paper.

VCO Measurement Principle and Dynamic Reference Calculation
Six A/D conversions (four for currents and two for voltages) of the measured signals are required for the voltage and current mode control of a BM DC-DC converter, as shown in Figure 2. The measurement chain for inductor currents, input and output voltages is presented in Figure 4, whereas pulse triggering, measurement and dynamic reference are featured in Figure 5. Detailed current and voltage control scheme is presented in Figure 6.The time-based A/D converter uses a VCO where the frequency f vco is controlled by the input voltage V in (Figure 4).The VCO output F (F iLx or F u in Figure 4) is proportional to the time integral of the applied input voltage during the sampling period, and can be described by: where the k vco [Hz/V] and f 0 are VCO gain and free-running frequency when V in = 0 V, respectively (for chosen VCO k vco = 44.1 MHz/V, f 0 = 23.5 MHz).t s1 and t s2 are integration limits representing the limits of the measurement interval.Based on nomenclatures used in Figure 4, voltage V in corresponds with current information V ix = |v ix | and voltage information V u , respectively.i Lx is the representation of the phase current i L1 , i L2 , i L3 or i L4 (in the presented case, the voltage drop on shunt is measured).In the case of voltage measurement, V x represents the input voltage V d or output voltage V 0 .The resulting VCO output is the clock input (cl) of the Counter and integration is started (Counter starts counting) at the time instance of transistor turn-on t s1 .The Counter output is forwarded to the Register at the time instance t s2 , when the information about the calculated area F(t) (integral representing the average value multiplied by sampling time interval T s (T s = 40 µs)) of the inductor current or voltage are available for further utilization.The resolution of the described A/D conversion can be adjusted by choosing the minimal and maximal frequency of VCO.Twelve-bit resolution was selected in the presented case.

Analysis of Current and Voltage-Measurements
The current measurement chain consists of a differential amplifier, absolute value calculator and VCO for analogue signal acquisition (see Figure 4).The power-flow direction is defined by logic signal buck/boost.For example, in the buck mode operation, the current through shunt resistor R sh is positive and the VCO and integration processes (described below) are working properly.Due to the synchronous switch operation (instead of diode, the transistor is switched-on), the conversion is always in the Continuous Current Mode (CCM) of operation, so, during the low current operations, the current also has the negative instantaneous value, and, due to the use of an absolute value calculator, the integration performed by up-down Counter would calculate the wrong integration results.
By appropriate use of the signals up and down, the integral value in the up-down Counter will be correct.As follows from Equation (1) and Figure 4, for the inductor current i Lx , measurement is performed through the voltage drop on the shunt resistor V Lx = R sh i Lx .On the VCO input, the voltage 02 Ω) appears (k iL represents the inductor current VCO gain).The instantaneous VCO frequency ( f vco ) for inductor current ( f ix ) is calculated from: where t 0 and t 1 (shown in Figure 5) correspond with t s1 and t s2 indicated in Equation ( 1), respectively.Presuming that inductor resistance R L can be neglected, the current i Lx can be expressed with: where t 0 = 0, i min = i Lx (t 0 ), and coefficient m 1 , the inductor current slope during the switch-ON state, depends on the circuit parameters, in the case of the buck converter L is the inductor phase inductance.After using Equations ( 1)-( 3), it follows: As has been already mentioned above, the up-down counter is used for the current measurement.Therefore, the input of the VCO, V ix , in this case, is actually the absolute value of the inductor current, and the current sign determines the direction of counting (taking into account the operation mode, buck or boost).
Figure 5a features the measurement of inductor current and dynamic reference shaping.The top graph presents the inductor current (i Lx ) and reference slope i re f .The integral current and its reference in area space are presented in the second graph, the third graph features the trigger signal clk x for VCO counting, whereas the bottom graph presents the state of transistor (Q x ).
Again regarding Equation (1) and Figure 4 for the voltage (output or input, V x = V 0 or V x = V d ) measurement, the instantaneous VCO frequency ( f vco ) for voltages ( f u ) is calculated from: where the input or output voltage The voltage integral is measured during the integration interval T s (T s = t 2 − t 0 , t 0 = 0).Input/output voltage V x can be considered constant (due to the bulk capacitors C d or C 0 ) within the integration interval.For the input voltage, it follows that: By using Equations ( 5) and ( 6), the input voltage integral is evaluated as follows: As indicated in Equation ( 7), the area F u is time dependent, and, at the end of the integration interval, when t = t 2 = T s , it follows that: Following the same procedure, the output voltage can be expressed as: Voltage measurement is presented in Figure 5b.The top graph presents the measured voltage (V 0 or V d ), voltage VCO output (F v0 or F vd ) is presented in the second graph, whereas the third and bottom graphs feature the trigger signal clk for VCO counting and the state of transistor (Q) to which the voltage measurement is aligned, respectively.

Bandwidth of the Current and Voltage Measurement Chain
The bandwidth of analogue acquisition of current and voltage measurement circuits shown in Figure 4 needs to be taken into account.During the development phase, the Hall current sensors have been considered, but, due to their limited bandwidth, the setup using a shunt resistor and differential operational amplifier was chosen [35].In a current measurement-chain, the absolute value is obtained by using the two diode-equipped operational amplifiers' circuit as suggested in [36].According to the proposed differential amplifier scheme shown in Figure 4, the equation to be applied for the current closed-loop frequency characteristics is: where the frequency dependent gain of the internally compensated operational amplifier is: A 0 is the open-loop gain of the amplifier at the frequency f = ω/(2π) = 0 Hz, which is usually a high number (10 4 to 10 6 ), ω t represents the cross-over frequency at unity open-loop gain (|A(jω)| = 1 or 0 dB), and ω b is the frequency where the open-loop gain of the operational amplifier is decreased by 3 dB (ω b = ω t /A 0 ).By performing an analysis using Equations ( 10) and (11), assuming that A 0 R b /R a , the closed-loop frequency characteristic for the inductor current measurement circuit can be evaluated as: where The same procedure can be used for the voltage measurement-chain.The closed-loop frequency characteristics for the voltage measurement circuit are: where G vo = R y /R x represents the closed-loop gain up to frequency f bv ( Corresponding frequency characteristics are shown in Figure 7a, where the bandwidths of current and voltage measurement chain are shown.The operational amplifier LMH6611 [35] was used for the current and voltage measurement circuit.The absolute value calculator (Figure 4) is designed to operate as a proportional amplifier with unity gain (0 dB) and with such a bandwidth that does not interfere with the design process of the controllers (it will be described in Section 3).The next component that appears in a current and voltage measured-chain is the VCO, which is also considered as a proportional gain.The measured static characteristic is shown in Figure 7b.Only the linear part of characteristics is used for the measurement procedure in the described application.The design parameters of analogue acquisition systems satisfy the condition: where L and C represent the inductance and capacitance appearing in the control process.

The Inductor Current Dynamic Reference (DR)
Because the area (integral) F iLx is time dependent, the current reference i re f should also be expressed in the area space as follows: Such current reference enables the control of peak-inductor-current known from the analogue approach [37].The current reference shaping is indicated and performed in block DR (Dynamic Reference; Figure 6).When the peak-inductor-current-programmed control is used, the subharmonic oscillation always appears when the duty-cycle function value δ exceeds 0.5 (average value of δ is ∆ p = T on /T s > 0.5, T on is the duration of the switch-ON state) [34].In order to avoid this instability, a Compensating Ramp (CR) is introduced, as was suggested in [34].This CR is taken into account in DR calculation, as follows: where i c = mt and m is a CR slope (m = I c /T s ), I re f is the reference inductor current (from outer control loop) and the DR is obtained after using Equation ( 15), as follows: As is presented in Figure 6, F irx is calculated for each of the phase currents.
With the use of DR and CR, the peak current mode can be achieved without subharmonic oscillation.The measured inductor current is used in order to achieve the current-programmed control mode of converter operation because the algorithm enables the switching action inside the T s .DR and CR are featured in Figure 5, together with the current measurement.

Simulation and Experimentation
For simulation and experimental purposes, the current-programmed mode control was modelled in s-space (as transfer functions), in order to design the CR slope and current or voltage compensating circuits (PI compensator).Simulations and experiments were performed on the basis of the experimental setup presented in Figure 8.The parameters of the experimental system are featured in Table 1.R 0 and R d represent the load (applied in simulations and experiments) for buck and boost operation, respectively.L 1to4 are the inductances of inductors (L 1 = L 2 = L 3 = L 4 = L), C 0 is the output and C d input inductance (Figure 2).In order to explore the described measurement principle, the parameters for analogue signal acquisition (Section 2.2) must satisfy condition in Equation ( 14), so this simplifies the controller design.Table 1.Simulation and experimental parameters.

Control Scheme Model
In order to apply the current-programmed mode control principle, the appropriate BM DC-DC converter model was investigated as suggested in [32][33][34]37].Figure 9 features the small-signal current programmed model of the applied control scheme [37], where indicates the small-signal value (variation from the average value).v g represents the voltage input, i Lx the current output and v x the voltage output.δ is the duty cycle variation, e the current control error, and i re f is the current reference variation (inner control loop).V re f and I re f represent the reference values' variation for voltage and current (outer control loop), respectively.I re f actually represents the single phase current reference, which is due to the simpler representation of the control design.Current-programmed controller gains F g (input-voltage-to-control gain), F v (output-voltage-to-control gain) and F m (modulation gain) are presented in Table 2, and the transfer functions necessary for control parameter design, G vd (s) (duty-cycle-to-voltage-output transfer function), G id (s) (duty-cycle-to-current-output transfer function), G vg (s) (voltage-input-to-voltage-output transfer function) and G ig (s) (voltage-input-to-current-output transfer function), are presented in Table 3. V d , V 0 and ∆ p in Tables 2 and 3 represent the average values of input voltage, output voltage and duty cycle, respectively (R 0 = 14.6 Ω, R d = 60 Ω, V 0 = 200 V, V d = 400 V).An external control loop can be applied in order to either improve the current control or add the voltage control.PI compensators C i and C v are used for that purpose.C i can be used as an additional current controller, whereas C v can be applied as an input or output voltage controller.
Instantaneous inductor current value is used in current-programmed mode control, which introduces a unique phenomenon, the so-called current mode phenomenon [34].Namely, oscillations can occur at half the switching frequency, which cannot be modeled with an average model.In order to include these properties and, thus, provide an accurate current-programmed mode control model, a high-frequency term has to be considered and included into the feedback loop of inductor current.The second-order approximation of this behaviour (introduced in [34]), which can be derived directly from a discrete-time system representing the modulator feedback, is expressed by transfer function F h f (s) as follows: where Q z = −2/π and ω n = π/T s .This approximation is capable of describing a current-mode phenomenon accurately with constant switching frequency operation up to half the switching frequency.
Based on the formulas in Tables 2 and 3, and the parameters presented in Table 1, the quantitative assessment of current-programmed mode control was performed trough frequency responses.

Current-Programmed Control Transfer Function
The frequency responses of continuous conduction mode operating buck and boost converters were modelled by using Tables 2 and 3 and Figure 9.
The transfer function i Lx (s)/ i re f (s) can be calculated from: where: Based on the parameters given in Table 1, the quantitative evaluation of compensating-ramp slope is done by using the open loop transfer function (G id (s)F(s)F h f (s)) for buck and boost converter operations.The frequency responses are shown in Figure 10a for buck and Figure 10b for boost operation.Magnified cut-outs at the critical frequency f cr are included in order to improve visibility.It is evident from the frequency responses that an instability will occur when CR is not applied (i c = 0 A, red curve, Equation ( 16)), due to the fact that the magnitude is higher than 0 dB when the phase is 180 • (at f cr ).When the CR is added (the applied values are indicated in Figure 10a for buck and b for boost converter operation, blue curve), the magnitude of the frequency responses is reduced and stable operation can be expected (magnitude is lower than 0 dB when the phase is 180 • ). Figure 11a shows the buck converter operations when applying constant peak-inductor-current control.Further analyses were performed when the load changed: R 0 = 14.6 Ω → 9.5 Ω → 14.6 Ω.When the load is R 0 = 14.6 Ω, the output voltage is more than 200 V, thus the subharmonic oscillation in the currents is evident (inductor currents in the second cut-out of Figure 11a).When the load changes to R 0 = 9.5 Ω, converter generates the output voltage lower than 200 V and subharmonic oscillations disappear.It is evident that the subharmonic oscillations appear when the duty-ratio was greater than 0.5.These oscillations were removed from the current responses when CR was applied.Figure 11b (inductor currents in the second cut-out of Figure 11b) demonstrates that the inductor current was stabilised when CR was used.The applied CR is represented by the falling green curve touching the peak value of current i L1 .Simulation analysis for boost converter operation was also performed with changing load, R d = 60 Ω → 30 Ω → 60 Ω. Figure 12a shows the current-programmed mode control response when CR was not applied.The subharmonic oscillations are visible in the current response.When the load is R d = 60 Ω, the output voltage is more than 400 V and subharmonic oscillations in the current appear (Figure 12a).The instability again (like in the buck operation mode) occurs when the duty-ratio exceeds 0.5 (V d > 400 V).After introducing an appropriate compensating-ramp slope, which was designed using the frequency response featured in Figure 10b, the instability in the current response disappeared, as can be seen in Figure 12b.

Current Control with PI Compensator
It can be observed from analysis that the static error appeared in current-programmed mode control.In the case when precise current control is required, the PI compensator can be used (Figure 9, switch S in position 1) [38].
For the PI compensator parameter design, the transfer function i Lx (s)/ I REF (s) for a single phase current was derived by using Table 3 and Figure 9 as follows: where the current controller C i is represented with the transfer function C i (s) = K i sT i +1 sT i .The parameters K i and T i (PI compensator gain and time constant, respectively) were evaluated using the open loop transfer function extracted from Equation (21) as G id (s)F(s)F h f (s) (1 + C i (s)).Because the parameters were calculated for the phase current, the output of the controller or the controller gain had to be divided by the number of phases in the simulations and experiments.The design of the controller was performed using frequency response (Bode plots).Open loop transfer function was used and first the phase margin was chosen.The time constant of the PI compensator was determined from the Bode plot and, finally, the a PI compensator gain was determined.
Figure 13a,b feature the frequency responses for PI compensator parameter design.It can be observed that the open loop transfer function magnitude is lower than 0 dB when the phase is 180 • for both, buck and boost operation mode.The obtained parameters (K i = 0.25, T i = 0.24 ms, for buck and K i = 0.35, T i = 0.24 ms boost operation) were used for simulation and experimentation.The current compensator transfer function is featured on the Bode plots as a reference, to show the impact of the PI compensator on the phase and magnitude.Closed loop frequency response for current control with PI compensator with transfer function featured in Equation ( 21) is presented in Figure 14a,b.It confirms the stable operation for buck and boost operation and features the available control bandwidth.For the reference, the transfer function of the PI compensator is again featured in the Bode plots.
Figure 15.Simulation results, current control with PI compensator, with CR: (a) buck mode; (b) boost mode; voltage V 0 or V d (blue curve), current i L or i d (red curve), i L1 (green curve), i L2 (violet curve), i L3 (cyan curve), and i L4 (dark red curve).
The simulations and experiments were performed under the same conditions as in the case of current-programmed mode control.In buck operation mode (Figure 15a), the startup of the converter and response to the changing load were evaluated.First, the converter was started and desired value of current i L was set from 0 A to 200 A. In the transient, a small overshoot can be observed, which remained within the prescribed range.The changing load response evaluation was performed when the load changed: R 0 = 14.6 Ω → 9.5 Ω → 14.6 Ω.There was only a minor resulting variation of the total inductor current i L in the transient.As it was expected, subharmonic oscillations were not present, since the CR was applied.Simulation analysis for boost converter operation (Figure 15b) was also performed for startup and the changing load.The inductor current i L , which was under control, only changed for a small value in the transient (see inductor currents i L1 ...i L4 ), whereas the current i d changed dependent on load variation, which was performed for: R d = 60 Ω → 30 Ω → 60 Ω.Again, it can be observed that the subharmonic oscillations were not present.The experiments were also performed for startup and changing load for buck and boost operation mode.In buck mode (Figure 16a), some overshoot can be observed on the phase current at startup, whereas, when the load is changed, the phase current variations are small.Regarding Figure 16a, it shall be noted that the i 0 represents the output current, which, due to the presence of the output capacitor, differs from the total inductor current i L .In the boost operation mode, there is no overshoot in the startup (Figure 16b).Again, the inductor currents i L1 ...i L4 remain within limits when the load is changed.Like in the simulation results, the absence of the subharmonic oscillations is evident, as expected.

Voltage Control
In order to perform the output voltage control in the buck and boost operation, the closed loop transfer function v 0 (s)/ v REF (s) or v d (s)/ V REF (s) was derived using Table 3 and Figure 9 as follows: where the voltage controller C v is represented with the transfer function sT v , and v x can be either v 0 or v d , for buck or boost conversion, respectively.The parameters K v and T v represent PI voltage controller gain and time constant, respectively (K v = 2, T v = 2.5 ms, for buck, and K v = 1, T v = 5 ms boost operation).Figure 17a,b show frequency response extracted from Equation (22) as F m (G id (s)F h f (s) + C v (s)G vd (s) + F v G vd (s)) for controller parameter design.With the choice of the parameters K v and T v , it is assured that the open loop transfer function magnitude is lower than 0 dB when the phase is 180 • for both buck and boost operation mode.As it was the case in the current control with the use of the PI compensator C i (s), the transfer function of the voltage controller C v (s) is included in Figure 17a,b as a reference, in order to represent the impact on the closed loop behaviour.
Closed loop frequency response for voltage control with transfer function featured in Equation ( 22) is presented in Figure 18a,b.The stable operation and closed loop bandwidth can be observed.Again the transfer function C v (s) is featured on the Bode plots as a reference.
Figure 19a,b show transient responses, obtained with simulations.The same values of parameters were also used for experimentation (Figure 20a,b).Because the parameters were again calculated for the single phase current, the output of the controller or the controller gain had to be divided by the number of phases in the simulations and experiments.x-axis 1 ms/div, y-axis, V 0 40 V/div (blue curve); i 0 5 A/div (red curve) i L1 to i L4 5 A/div (green curve); (b) boost converter operation; x-axis 1 ms/div, y-axis, V d 100 V/div (blue curve); i d 2 A/div (green curve), i L1 to i L4 2 A/div (red curve).
Simulation results were obtained under the same conditions as for the current-programmed mode control and current control with the use of a PI compensator.For the buck operation, the load changed: R 0 = 14.6 Ω → 9.5 Ω → 14.6 Ω.Only small voltage variation can be observed for the voltage V 0 in Figure 19a.The same observation can be made for the voltage V d in the boost operation mode (load changed: R d = 60 Ω → 30 Ω → 60 Ω, Figure 19b).As was the case in the current control, the absence of the subharmonic oscillations can be observed again.
Experimental results obtained under similar circumstances are presented in Figure 20a,b, where Figure 20a features operation in the buck converter mode, and Figure 20b represents the boost converter operation.The PI compensator parameters and appropriate CR slope were designed as proposed in [33,34].In the buck operation mode, the converter was first started, as it is featured in Figure 20a.The transient without overshoot can be observed for the voltage V 0 , whereas an overshoot is present in the inductor currents i L1 ...i L4 .Again, it is important to note that the output current i 0 is the load current and not the total inductor current i L .When the load is changed (R 0 = 14.6 Ω → 9.5 Ω → 14.6 Ω, like in simulations), a small voltage transient can be observed, which is within the prescribed limits in magnitude and time.The output current i 0 value is load dependent.In the boost operation mode (Figure 20b), the results are presented for the changing load (R d = 60 Ω → 30 Ω → 60 Ω, again the same as in simulations).A small overshoot can be observed in the transient when the load is changed.The value of current i d is load dependent.Again, the subharmonic oscillations are not present.From the simulation and experimental results, it can be observed that the dynamic response of the applied control is fast.Likewise, over voltage and under voltage dynamic errors are low for all the cases, whereas the static error is not present when the PI compensator is applied for the current and voltage control.Thus, the operation of a BM DC-DC converter satisfies the requirements set by the testing setup.

Conclusions
A bidirectional multiphase DC-DC converter to be applied in the testing setup for the testing of powertrains is proposed in this paper.With the application of such converters, the testing site enables testing of a wide variety of electric powertrains with different voltages applied to their power supply (DC-link).The bidirectional structure enables the four-quadrant operation of the drive.As such, it can also be used for the power supply of the dynamometer, providing the loading torque.Additionally, only relatively low power is required to be drawn from the power grid, since only the power losses need to be covered and, thus, the battery does not require constant charging.The multiphase interleaved converter was chosen in order to reduce the current and voltage ripple and, thereby, enable the use of smaller inductors, as well as lower current requirements for the transistors used.The BM DC-DC converter was controlled using a current-programmed mode control algorithm, based on measured integrals of the inductor current, input and output voltage, performed by using VCOs.The current dynamic reference was introduced into the proposed control, in order to achieve the stable current-programmed mode control.Additionally, a PI compensator was applied to eliminate the static error.An analytical analysis was introduced to represent the applicability of the measurement principle, dynamic reference calculation and choice of parameters.The proposed measurement principle is essential for the reaching of requirements of the high-quality testing of powertrains.It was applied in order to increase the rejection of switching disturbances appearing during the measurements because of the switching operations of the transistors in the converter and connected equipment.A small signal analysis was used for the control design, enabling the proper setting of controller bandwidth and other parameters, as well as disturbance rejection.The interaction of the BM DC-DC converter with the DC-AC converter shall result in some problems that are not represented in this paper because the ohmic load was applied (tested by electronic load Chroma 63804).These effects will be the subject of studies in the future research work.Simulation results for the converter operating as either buck or boost, in current or voltage mode control, verified the proposed approach.Experimental results are also included, on a bidirectional multiphase 6 kW DC-DC converter operated in buck and boost mode.Tests were also performed for the minimal and maximal required power, thus proving the operation in the complete power range.

Figure 1 .
Figure 1.Simplified electrical schemes of electric powertrain testing system: (a) common DC-link; (b) separate AC-DC converters for drive and dynamometer; (c) battery-driven drive and grid connected dynamometer; (d) battery and two bidirectional multiphase DC-DC converters.

Figure 5 .
Figure 5. Current-Programmed Control Mode using VCOs; (a) current measurement, dynamic reference and triggering pulse generation; (b) voltage measurement.

Figure 6 .
Figure 6.Detailed current and voltage control scheme; the current modulator with Dynamic Reference and Compensating Ramp.

Figure 7 .
Figure 7. (a) Frequency characteristic of open-loop gain for LMH6611 (black line), inductor current measurement circuit (red line) and voltage measurement chain (blue line); (b) Measured VCO static characteristic.

Figure 9 .
Figure 9. Block diagram of the BM DC-DC converter control scheme.

Figure 10 .
Figure 10.Frequency response, current-programmed mode control, for: (a) buck and (b) boost converter operation, without (red curve) and with (blue curve) compensating ramp.

Figure 15a ,
Figure 15a,b represent the current response obtained by simulation, and Figure 16a,b show the experimental results obtained under similar circumstances.

Figure 17 . 18 .
Figure 17.Frequency response, voltage control,F m (G id (s)F h f (s) + C v (s)G vd (s) + F v G vd (s)) (blue curve) and C v (s) (red curve), for (a) buck and; (b) boost controller design.
frequency of the VCO when V in = 0 V G i (jω) current closed-loop frequency characteristics of measurement circuit G id (s) duty-cycle-to-current-output transfer function G ig (s) voltage-input-to-current-output transfer function G io closed-loop gain of the inductor current measurement circuit up to frequency f bi G v (jω) voltage closed-loop frequency characteristics of measurement circuit G vd (s) duty-cycle-to-voltage-output transfer function G vg (s) voltage-input-to-voltage-output transfer function G vo closed-loop gain of the inductor current measurement circuit up to frequency f bv I REF reference value of total inductor current with compensation (PI compensator) I re f reference value of inductor current without compensation (PI compensator) frequency where the open-loop gain of the operational amplifier is decreased by 3 dB ω bi bandwidth of the current measurement chain [rad/s] ω bv bandwidth of the voltage measurement chain [rad/s] ω t cross-over frequency at unity open-loop gain (|A(jω)| = 1 or 0 [dB])