The sampling behavior within the feedback loop of a peak-current-loop converter can be discovered by way of its inductor current waveform, the central waveform of the converter. To find the inductor current, *i _{L} * (

*t*), and duty-ratio,

*Î´*, which constitute the

*waveform equations*, we depart from pure circuit analysis and apply behavioral analysis instead by

*assuming*that the inductor current has the waveshape of a triangle-wave. With resistance in the circuit, it will actually be an exponential that is close to a ramp. By starting with a waveform common to all the PWM-switch configurations and more, the result is more general than circuit analysis. Its weakness is that because an ideal triangle-wave is assumed for

*i*, it is not as accurate as circuit simulation, though it accomplishes our objectives in converter modeling. The waveform is shown below.

_{L} Using the notational shorthand that *x* (*k* â‹…*T _{s} * ) =

*x*(

*k*) and following standard electrical engineering notation for total and incremental (small-signal) variables, the total current waveform is described by

where up-slope is *m _{U} * during the on-time, down-slope during the off-time is â€“

*m*, and

_{D}*i*is the commanding input to the control loop in the form of a peak current,

_{I}*v*/

_{I}*R*.

_{S}*R*is omitted in this analysis because it is easily reinserted into the loop equations. The index of

_{S}*i*is that of the minimum or valley sample of

_{I}*i*ending cycle

_{L}*k*,

*i*(

_{L}*k*). When input variable

*i*(k) changes, the change affects where the peak of

_{l}*i*occurs, and is the value of the cycle after it changes. The slopes also can change with a change in either input voltage

_{L}*v*or output voltage,

_{G}*v*, so that total

_{O}*m*=

_{X}*M*+

_{x}*m*. For now, they are held constant. The two rightmost expressions of the waveform equations can be solved for

_{x}*i*;

_{L} Then solving for *Î´* ,

and substituting into the first equation,

The incremental waveform equations for *i _{L} * and

*Î´*are found by taking the differential of the above equations:

The incremental change in input, *i _{i} * , is set by

*v*of the Part 1 buck circuit. It is effectively coincident with the beginning of the change in inductor current,

_{Ve }*i*. If the changes in

_{l}*i*and

_{l}*i*each cycle are the same for each variable (

_{i}*i*(k â€“ 1) =

_{l}*i*(k)), then

_{l}*i*=

_{l}*i*. The

_{i}*i*(

_{L}*k*) values in the waveform equations are discrete inductor current sample values at the end of each cycle. These are the minimum or

*valley*points of the waveform cycle, not the average. The current of interest to us is the average current because it is the quantity of current that is most useful in converter performance specification and is the desired output current. For now, the valley current is used for

*i*and refined later to cycle-average current. The other set of rather simple equations that describe the power stage of the converter are the

_{L}*slope equations*. They relate converter inductor current slopes to converter parameters under steady-state operation. On the general assumption that the converter PWM-switch is in steady-state operation and inductor flux is balanced ( Î”

*Î»*=

*L*â‹… Î”

*i*= 0 over

_{L}*T*), the assumptions under which the PWM-switch incremental model was derived, then current slope

_{s} For steady-state response, Î” *i _{L} * = 0 over a switching cycle of period

*T*and

_{s}This balance is maintained by control, by having a stable current loop. The condition of flux balance over a cycle is

where subscript C denotes the switch common terminal in series with the inductor and *v _{L} * is the voltage on the output terminal of the inductor. Then it follows from the above equation that for steady-state operation,

*v*=

_{C}*v*. Flux balance can be expressed as

_{L} Expressing the Î” *Î»* s in PWM-switch terminal voltages,

where A and P are respectively the active and passive PWM-switch terminals. Then solving and for steady-state operation, substituting *v _{C} * =

*v*,

_{L}Applying the basic PWM-switch relationships,

The off-time inductor voltage corresponds with Î” *i _{L} * for the cycle. Then

Returning to the slopes and relating them to PWM-switch voltages,

where total

These slopes are held constant as is between switching times of successive cycles (but not over the cycle). For constant slopes, then *v _{OFF} * =

*v*=

_{off}*v*, a constant inductor voltage. The waveform equations can be expressed in <> instead of

_{ap}*m*and

_{U}*m*by substituting the slope equations;

_{D}, The slope and waveform equations are the foundation for what follows, along with control and general circuit theory. To place in greater perspective where this development is going, it is time to introduce the general block diagram as a converter model, shown below.

Our focus is on the inner current loop with closed-loop transfer function, *T _{c} * . (The voltage control loop wraps around above the bottom loop, along with the effects of varying output and input voltages in

*F*.) Included in the outer loop is the output load,

_{off}*Z*which affects voltage-loop behavior.

_{O}*R*is the current-loop sense resistor (times gain

_{S}*H*if a voltage amplifier follows it). In the forward path of the loop, the PWM block is the main part of the controller. The power stage is broken into two blocks,

_{C}*G*=

_{id}*i*/d and

_{l}*G*=

_{oi}*i*/

_{o}*i*. This is necessary to access

_{l}*i*in the power stage for current-loop feedback. In the next part of this article, the basic equations derived for the inductor current waveform are used to find the loop forward-path (

_{L}*G*) and feedback-path (

*H*) transfer functions. In doing this, the sampling effect appears.

Based on the figure, the below equation is obtained by simply linear equation. iL = iL(k-1) + mu (t/Ts), iL = iL(k-1) – md(t/Ts) + P, where P could be point of intersection in Y coodinate (iL). I am curious how the first equations were derived in the blog. To obtain ii(k), we might need to know point of intersection in X coordinate (t/Ts) corresponding to ii (k) during cycle (k).Â Â Â

DaeJ,

The problem might simply be the

tiny typeof the subscripts, where it is hard to distinguish a lower-caselfrom a lower-casei. The equation you are probably referring to begins withisubl(noti) ofk. If so, then this equation follows from the one forisubLofkby taking the derivative of it. The last term is constant ini sub L(k) and disappears from the differentiated result which is theincrementali sub l(k).