e transfer function (A1.3) relates variations of the inverter voltage VOC to the…
- User
e transfer function (A1.3) relates variations of the inverter voltage VOC to the consequent variations of the output current IO . e relation has been derived under no restrictive hy- pothesis, meaning that it has a general validity. In particular, (A1.3) can be used to relate variations of the average values of VOC and IO , where by average of any given variable v we mean the following quantity: 翻译
- Assistant
转移函数(A1.3)将逆变器电压VOC的变化与输出电流IO的相应变化联系起来。该关系是在没有限制性假设的情况下推导出来的,这意味着它具有普遍的有效性。特别地,(A1.3)可用于将VOC和IO的平均值的变化联系起来,其中平均值是指任何给定变量v的以下数量:
- User
where TS is our observation and averaging interval. In the particular case of PWM con- trol, the definition (A1.4) is well posed once the averaging period TS is taken equal to the modulation period.
- Assistant
其中TS是我们的观察和平均时间间隔。在PWM控制的特殊情况下,定义(A1.4)被明确定义为平均周期TS等于调制周期。
- User
Perturbation of (A1.5) yields
- Assistant
扰动(A1.5)得到
- User
where VDC is assumed to be constant. In the assumption of small perturbations around any given operating point, the transfer function between duty-cycle and load current can be ob- tained substituting (A1.6) into (A1.3). We find
- Assistant
其中假设VDC保持不变。在围绕任何给定操作点进行小幅扰动的假设下,可以通过将(A1.6)代入(A1.3)来获得占空比和负载电流之间的传递函数。我们得到:
- User
In general, we will see how the removal of such switching noise from the control signals, that is essential for the proper operation of any digital controller, is fairly easy to achieve, even without using further low pass filters in the control loop. In the following sections, we will see how a current controller can be designed. e purpose of the current controller will be to automatically generate signal m.t / based on the desired load current trajectory, that will be designated as the current reference signal. Before we move to digital PWM and current control design, there is a final issue to con- sider, related to the dynamic response of the PWM modulator [7, 8, 9, 10, 11]. Considering the circuit in Fig. 2.3, it is possible to see that a sudden change in the modulating signal am- plitude always implies an immediate, i.e., within the current modulation period, adjustment of the resulting duty-cycle. is means that the analog implementation of PWM guarantees the minimum delay between modulating signal and duty-cycle. is intuitive representation of the modulator operation can be actually corroborated by a more formal, mathematical analysis. In- deed, the derivation of an equivalent modulator transfer function, in magnitude and phase, has been studied and obtained since the early 1980’s. e modulator transfer function has been deter- mined using small-signal approximations [7], where the modulating signal m.t/ is decomposed in a DC component M and a small-signal perturbation Qm (i.e., m.t/ D M C Qm.t /). Under these assumptions, in [7], the author demonstrates that the phase lag of the naturally sampled modula- tor is actually zero, concluding that the analog PWM modulator delay can always be considered negligible. Quite differently, we will see in the following section how the discrete time or digi- tal implementations of the pulse width modulator [8], that necessarily imply the introduction of sample-and-hold effects, determine an appreciable, not at all negligible, delay effect.
- Assistant
一般来说,我们将看到如何从控制信号中去除这样的开关噪声,这对于任何数字控制器的正常操作都是必不可少的,即使在控制环路中不使用进一步的低通滤波器也很容易实现。 在接下来的章节中,我们将看到如何设计电流控制器。电流控制器的目的是根据所需的负载电流轨迹自动生成信号m.t/,该信号将被指定为电流参考信号。 在我们转向数字PWM和电流控制设计之前,还有一个最终问题要考虑,与PWM调制器的动态响应有关[7、8、9、10、11]。考虑图2.3中的电路,可以看到调制信号幅度的突然变化总是意味着结果占空比的立即调整,即在当前调制时间内调整。这意味着PWM的模拟实现保证了调制信号和占空比之间的最小延迟。这种调制器操作的直观表示可以通过更正式的数学分析得到证实。事实上,从1980年代初起,就研究和获得了等效调制器传递函数的幅值和相位[7]。当调制信号m.t/被分解为DC分量M和小信号扰动Qm (即m.t/ D M C Qm.t /)时,用小信号近似法确定了调制器的传递函数。在这些假设下,在[7]中,作者证明了自然采样调制器的相位滞后实际上是零,从而得出模拟PWM调制器延迟总是可以忽略的结论。相反,我们将在下一节中看到,脉宽调制器的离散时间或数字实现 [8]必然意味着引入采样保持效应,从而决定了一个显著的,绝不可忽略的延迟效应。
- User
e basic principles described in Section 2.2.1 apply also to the digital implementation of the PWM modulator. In the more direct implementation, also known as “uniformly sampled PWM,” each analog block is replaced by a digital one. e analog comparator function is replaced by a digital comparator, the carrier generator is replaced by a binary counter and so forth. We can see the typical hardware organization of a digital PWM, of the type we can find inside several microcontrollers and digital signal processors, either as a dedicated peripheral unit or as a special, programmable function of the general purpose timer, in Fig. 2.5.
- Assistant
2.2.1节中描述的基本原理也适用于PWM调制器的数字实现。在更直接的实现中,也称为“均匀采样PWM”,每个模拟块都被数字块所取代。模拟比较器功能被数字比较器所取代,载波发生器被二进制计数器所取代,等等。我们可以在图2.5中看到数字PWM的典型硬件组织,这种PWM可以在几个微控制器和数字信号处理器中找到,无论是作为专用外设单元还是通用计时器的特殊可编程功能。
- User
e principle of operation is straightforward: the counter is incremented at every clock pulse; any time the binary counter value is equal to the programmed duty-cycle (match condition), the binary comparator sets the gate signal low and, if so programmed, triggers an interrupt to the microprocessor. e gate signal is set high at the beginning of each counting (i.e., modulation) period, where another interrupt is typically generated for synchronization purposes. e counter and comparator have a given number of bits, n, which is often 16, but can be as low as 8, when a very simple microcontroller is used. Actually, depending on the ratio between the durations of the modulation period and the counter clock period, a lower number of bits, Ne , could be
- Assistant
used for the counter, where Ne < n. In this case, the output pulse width resolution is decreased, but the counter can run faster, with timing accuracies that can still match the most stringent application requirements.
In addition to the uniformly sampled PWM, several alternative approaches have been pro- posed in the open literature, which can optimize the trade-off between implementation complexity and accuracy, or achieve some particular characteristics in transient and steady state. Nevertheless, uniformly sampled PWM is still the most popular and widely used due to its simplicity, flexibility and acceptable accuracy.
- User
翻译
- Assistant
运行原理很简单:计数器在每个时钟脉冲上增加一次;当二进制计数器的值等于程序设定的占空比(匹配条件)时,二进制比较器将门信号设置为低电平,并且如果编程时这样设置,则触发微处理器中断。在每个计数(即调制)周期开始时,门信号被设置为高电平,在这里通常会为同步目的生成另一个中断。计数器和比较器具有给定的位数n,通常为16,但当使用非常简单的微控制器时,可以低至8。实际上,根据调制周期和计数器时钟周期之间的比率,可以使用较低位数的计数器,其中Ne<n。在这种情况下,输出脉冲宽度分辨率降低,但计数器可以运行得更快,计时精度仍然可以匹配最严格的应用要求。
除了均匀采样PWM之外,开放文献中还提出了几种替代方法,可以优化实现复杂性和精度之间的权衡,或在瞬态和稳态中实现一些特定特性。尽管如此,均匀采样PWM仍然是最受欢迎和广泛使用的,因为它简单、灵活且精度可接受。
- User
available to represent the duty-cycle. e Ne parameter is also important to determine the duty- cycle quantization step, that can have a significant impact on the generation of limit cycles, as we will explain in the following chapter. For now it is enough to say that, with this type of modulator, the number Ne of bits needed to represent the duty-cycle is given by the following relation:
- Assistant
可用于表示占空比的位数Ne。参数Ne也很重要,以确定占空比量化步长,这可能会对极限环的生成产生显着影响,我们将在下一章中进行解释。就目前而言,仅需说明,在这种类型的调制器中,表示占空比所需的位数Ne由以下关系确定:
- User
fclock are in the few tens of MHz range, while modulation frequencies can be as high as a few hundreds of kHz. erefore, when the desired modulation period is short, the number of bits, Ne , given by (2.4) will be much lower than the number bits, n, available in the comparator and counter circuits, unless a very high clock frequency is possible.
- Assistant
时钟频率通常在几十MHz范围内,而调制频率可以高达几百kHz。因此,当所需的调制周期很短时,由公式(2.4)给出的位数Ne将远低于比较器和计数电路中可用的位数n,除非可以使用非常高的时钟频率。
- User
Figure 2.5 allows us to discuss another interesting issue about digital PWM, that is the dynamic response delay of the modulator. In the considered case, it is immediate to see that the modulating signal update is performed only at the beginning of each modulation period. We can model this mode of operation as a sample and hold effect. We can observe that, if we neglect the digital counter and binary comparator operation assuming infinite resolution, the digital modulator works exactly as an analog one, where the modulating signal m.t/ is sampled at the beginning of each modulation period and the sampled value held constant for the whole period. It is now evident that, because of the sample and hold effect, the response of the modulator to any disturbance, e.g., to one requiring a step change in the programmed duty-cycle value, can take place only during the modulation period following the one where the disturbance actually takes place. Please note that this delay effect amounts to a dramatic difference with respect to the analog modulator implementation, where the response could take place already during the current modulation period, i.e., with negligible delay. erefore, even if our signal processing were fully analog, without any calculation or sampling delay, passing from an analog to a digital PWM implementation would imply an increase in the system response delay. We will see how this simple fact implies a significant reduction of the system’s phase margin with respect to the analog case, that often compels the designer to adopt a more conservative regulator design and to accept a lower-closed loop system bandwidth. Since these issues can be considered fundamental for all the following discussions, from the intuitive considerations reported above, we can now move to a precise small-signal Laplace- domain analysis, that might be very useful for a clear understanding of control limitations and delay effects implied by the uniformly sampled PWM. An equivalent model of the uniformly sampled PWM process is represented in Fig. 2.6(a). As can be seen, the schematic diagram adopts the typical continuous time model of a sampled data system, where an ideal sampler is followed by a zero-order-hold (ZOH). e quantization effect that is associated, in the physical implementation of the modulator of Fig. 2.5, to the dig- ital counter and binary comparator operation, is neglected, being irrelevant from the dynamic response delay standpoint. Accordingly, in the model of Fig. 2.6(a), after the modulating signal m.t/ is processed by the ZOH, the PWM waveform is generated by an ideal analog comparator, that compares the ZOH output signal ms .t/ and the carrier waveform c.t /.
- Assistant
图2.5使我们能够讨论数字PWM的另一个有趣问题,即调制器的动态响应延迟。在考虑的情况下,很容易看出调制信号的更新仅在每个调制周期的开始时执行。我们可以将此操作模拟为一个采样保持效应。可以观察到,如果我们假设数码计数器和二进制比较器具有无限分辨率,则数字调制器正是像模拟调制器一样,即在每个调制周期的开始时对调制信号m.t/进行采样,并将采样值保持整个周期恒定。
现在很明显,由于采样保持效应,调制器对任何干扰的响应(例如,对需要在程序设定的占空比值中进行阶跃变化的干扰)只能在干扰实际发生后的下一个调制周期内发生。请注意,这种延迟效应相对于模拟调制器实现而言具有戏剧性的差异,后者的响应可以在当前调制周期内发生,即具有可以忽略的延迟。因此,即使我们的信号处理完全是模拟的,没有任何计算或采样延迟,从模拟到数字PWM实现的过渡也将导致系统响应延迟的增加。我们将看到,这个简单事实意味着系统的相位裕度相对于模拟情况下显著降低,这通常迫使设计师采用更保守的调节器设计,并接受较低的闭环系统带宽。
由于这些问题可以被认为是所有随后讨论的基础,因此从上面的直观考虑出发,我们现在可以转向精确的小信号Laplace域分析,这可能对于清晰地理解调