# Adaptive Control Of Switched Mode Computer Science Essay

**Published:** **Last Edited:**

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

## ABSTRACT:

This paper introduces a novel technique for online system identification. Specific attention is given to the parameter estimation of dc-dc switched mode power converters; however, the proposed method can be applied to many alternative applications where efficient and accurate parameter estimation is required. The proposed technique is computationally efficient, based on a dichotomous coordinate descent algorithm, and uses an infinite impulse response adaptive filter as the plant model. The sys- tem identification technique reduces the computational complexity of existing recursive least squares algorithms. Importantly, the proposed method is also able to identify the parameters quickly and accurately, thus offering an efficient hardware solution

that is well suited to real-time applications. Simulation analysis and validation based on experimental data obtained from a DC-DC buck converter is presented .

## Index Terms-Adaptive filter, dichotomous coordinate descent (DCD), infinite impulse response (IIR) adaptive filter, recursive least squares (RLS), switch mode dc-dc power converter, system identification.

I INTRODUCTION

Many industrial and consumer devices rely on switched- mode power converters (SMPCs) to provide a reliable, Well-regulated, dc power supply. A poorly performing power supply can potentially compromise the characteristic behavior, efficiency, and operating range of the device. To ensure accurate regulation of the SMPC, optimal control of the power converter output is required. However, SMPC uncertainties, such as component tolerances, unpredictable load changes, variation in ambient conditions, and ageing effects, affect the performance of the controller over time . To compensate for these time-varying problems, there is now increasing interest in employing real-time adaptive control techniques in SMPC applications. Here, the controller tuning is based upon online system identification (parameter estimation) techniques and adjusted according to regular parameter updates.

Clearly, for a high performance controller with good dynamic performance, accurate estimation of the system parameters is essential.. However, in SMPC applications, it is also necessary to acquire the system parameters rapidly. The time constants in pulse width modulation (PWM) switched power converters are often very short, and it is not uncommon for abrupt load changes to be observed. Any system identification scheme must be able to respond appropriately to these characteristics. However, achieving improved accuracy and/or speed also implies the need for a faster, more powerful microprocessor platform. This is not always viable in SMPC applications, especially small, high volume systems, where it is essential to keep system costs low and competitive. Therefore, there is a need for computationally light system identification schemes which enable these advanced techniques to be per- formed on lower cost hardware. This paper aims to address this issue by presenting a method of SMPC system identification.

## II. SYSTEM IDENTIFICATION METHODS

When identifying the model of an unknown system, there are two system identification approaches that can be used: parametric and non parametric estimation techniques. Recent research demonstrates several productive parametric and non- parametric system identification techniques for power electronic converter applications. Nonparametric methods often use spectral analysis and correlation analysis to estimate the frequency response or impulse response of the system. The behavior of the system is then estimated from the frequency response without using any parametric modeling [7]-[9]. In SMPC applications, nonparametric methods often consider perturbing the duty cycle with a frequency rich input signal; for example, a pseudo ran- dom binary sequence (PRBS) [9]. Typically, Fourier transform methods are then applied to find the frequency response of the system. Unfortunately, the identification process can take significant amounts of time to complete and may need to process long data sequences [2]. In addition, during the identification process, the system operates in open loop without regulation [10]..

In parametric techniques, a model structure is proposed [9] and the parameters of the model are identified using information extracted from the system [7]. Therefore, in parametric identification, it is necessary to define the order and overall structure of the system model (number of poles, zeros) prior to estimating the plant [8]. The selected candidate model is always application dependent and its complexity is often subject to the approximations which can be made. For example, a dc-dc buck converter can be represented as a second-order infinite impulse response (IIR) filter [5]. This provides an "average model" of the converter and will characterize the basic operation of the system. It will not, however, show the PWM switching frequency component in the output voltage. Provided the switching behavior is not of immediate concern, the second order candidate model will suffice. Once the plant model has been chosen, several approaches can be used to identify the system parameters; for instance, least mean squares, recursive least squares (RLS), maximum likelihood, and subspace methods . Recursive identification methods are a very familiar approach in online applications. However, these methods, and in particular RLS, are not fully exploited in low-cost, low-power SMPCs due to the computational complexity of the identification algorithm, which may require a high specification microprocessor to successfully implement. Clearly, this is not desirable from an industry point of view where minimal cost and low complexity are key design drivers.

Unfortunately, in many of the methods presented, significant signal processing is required to implement these schemes and this ultimately has a cost penalty for the target application. Furthermore, the computational complexity impacts upon time of execution in the microprocessor, and this in turn makes it difficult to adopt in continuous parameter estimation adaptive control applications [8]. For this reason, in this paper an RLS algorithm is implemented using a fast, computationally light, hardware efficient, adaptive algorithm, known as dichotomous coordinate descent (DCD) [4]. This algorithm has previously been developed for use in the field of telecommunications. Here, we adapt the algorithm and apply it for the first time in the system identification of power electronic circuit.

Fig. 1Proposed closed-loop adaptive IIR identification method using DCD- RLS algorithm.

## III. SYSTEM IDENTIFICATION OF DC-DC CONVERTER USING ADAPTIVE IIR/DCD-RLS ALGORITHM

Fig. 1 illustrates a block diagram of the proposed identification scheme. Here, a closed-loop dc-dc buck converter is controlled via a fuzzy logic controller. In addition, a real time system identification algorithm is inserted alongside the controller, continually updating the parameters of a discrete model of the buck converter system on a sample by sample basis. The identification system can be enabled and disabled on demand during operation. For example, it may be applied at start-up, at regular set intervals, or enabled on detection of a system change such as a variation in the system load. Monitoring the voltage loop error is one simple way to detect a system change and enable the system identification process. When enabled, a small high-order excitation signal is injected into the control loop. This is required to improve the convergence time of the adaptive filter; this is the time to obtain optimal filter tap weights for accurate parameter estimation. For all online identification methods, some form of system perturbation is essential for the estimation process [2]. In this scheme, the PRBS is selected. As shown in Fig. 1, the PRBS signal is added to the fuzzy controller output signal, dcomp (n). This creates a control signal d (n) with a superimposed persistent excitation component. Once applied to the PWM, a small disturbance in the output duty cycle c(t) is generated. In this way, the duty cycle command signal at steady state will vary between dco m p (n) Â± Î”PR BS (n). Practically, in order to focus the identification on the frequency range of interest and remove unwanted high-frequency measurement noise, the inputs to the DCD-RLS algorithm require filtering prior to identification.. This can be accomplished by designing a digital low-pass, or band pass, filter. In addition, offset in the input signals must be removed as the RLS algorithm assumes zero mean values in the input signals. In dc-dc SMPC applications, it is easier to remove offsets on a cycle-by-cycle basis from the input signals, where steady-state average values of the regulated output voltage and the average duty-cycle ratio are known. At each time instance, the average value of the input signal is directly subtracted from the excited signal. A low pass filter can also be used to remove the offset from the input signals; however, this will add more computation to the overall system, which is not essential in the online system identification process. Once the samples have been processed, they are passed to the identification algorithm (DCD-RLS block in Fig. 1) to estimate the system parameters and update the discrete IIR filter model of the SMPC.

An adaptive filter can have different structures depending upon its application, which may be noise cancellation, signal prediction, or system identification [10], [12]. In this paper, we employ an adaptive IIR filter for system identification .An adaptive filter may be defined as a "self-designing" filter [11], where the filter coefficients are continuously varying until the objective function is achieved [12]. As shown in Fig. 2, the adaptive filter consists of two key components, the digital filter and the adaptive filter algorithm, which are used to vary the tap-weight coefficients in real time. In system identification, a major concern is minimizing the prediction error signal ep (n). Ideally, we want this signal to equal zero, indicating excellent parameter estimation. However, practical issues such as measurement errors, unwanted noise, quantization, and delay times make this difficult to achieve. By minimizing the prediction error signal ideally, we want this signal to equal zero, indicating excellent parameter estimation. However, practical issues such as measurement errors, unwanted noise, quantization, and delay times make this difficult to achieve. By minimizing the prediction error signal,

Fig.2.Generic adaptivesystem identification block diagram.

The output signal of the filter yË†(n) (estimated signal) approximately equals the output of the unknown system d(n) (desired signal). Here, the desired signal is the sampled output voltage of the dc-dc converter. Based on this, we can write [11]

È³yË†(n)= =wx (1)

w = [ w1 w2 Â·Â·Â· wN ]

x = [ x(n âˆ’ 1) x(n âˆ’ 2) Â·Â·Â·x(n âˆ’ N ) ]T (2)

where the pre filtered input signal x(n) is continuously adapted in response to the filter weight update . The model of the unknown plant system (in this case, the dc-dc converter system) is defined by the transfer function of the adaptive filter.

## IV. DCD AND RLS ALGORITHM THEORY

Least squares estimation techniques are fundamental in adaptive signal processing applications. In real-time applications [12], the solution is normally based on matrix inversion, which is computationally heavy and presents implementation difficulties. The DCD algorithm appears to be a particularly effective method [11], [7], [8]. Attractively, the computation is based on an efficient, fixed-point, iterative approach with no explicit division operations [5]. This makes it very appropriate for real-time hardware implementation. The computational requirement of the DCD algorithm depends mainly upon the number of iterations Nu used to update the parameters. The iteration number also determines the speed and accuracy of the process [7].

## V MODEL EXAMPLE AND SIMULATION RESULTS

Usually, system identification performance is measured using particular metrics such as convergence time, parameter accuracy, and prediction error [7]. These metrics determine how closely the identified model matches the actual system transfer function [6], and they are used to evaluate the proposed method in this paper. To test the concept of the proposed DCD-RLS identification scheme (see Fig. 1), a voltage controlled dc-dc buck SMPC circuit has been simulated using MATLAB/Simulink. The circuit parameters of the buck con- verter are RLo = 100Î©, RL = 10 mÎ©, Rc = 5 Î©, Lc = 1 mH, C = 1Î¼F, Vo = 20 V, Vin = 24 V,. The buck converter is switched at 20 kHz and the output voltage is also sampled at the same switching frequency rate. The simulation diagram for the buck converter is shown in fig.3. The model contains DC voltage source, power switches like MOSFET, pseudo random binary sequence generator and PWM generator to provide pulse signal to the MOSFET. Based on the above values the simulation is verified.

Fig.3 simulation for buck converter

From the above simulation the buck converter are modeled based on the parameter given and the experiment results is validated. Here fuzzy logic controller is used for voltage compensation and an adaptive algorithm DCD-RLS algorithm is used as an control law.

The overall simulation result for the buck converter is shown in fig .4. In this simulation the output is maintained constant while varying the load. The reference voltage is given to the fuzzy controller which compares the set point and the output voltage across the load. Depending on output voltage the PWM is generated and applied to the PWM controller which is given to the PWM controller block.

For the design of the buck converter the input voltage applied is 24V and the output voltage is 20V measured across the load

Voltage in volts

Time in ms

Fig.4. output of the buck converter

## VI CONCLUSION

The disturbances in power electronics such as component tolerance and sudden load change in the output of the DC-DC converter. Most of the case there may be poor regulation of the output. The output of the converter can be maintained constant whatever the load disturbance can be varied. So by using the adaptive control technique the output can be maintained constant. In the parameter estimation least square method like DCD-RLS algorithm which provide the faster convergence and accurate parametric identification. The process is based on error equation IIR filter scheme which is well suited for parameter estimation for SMPC. Therefore proposed method is able to work in closed loop and able to minimize the prediction error.