Use a microcontroller to design a boost converter

本文介绍了一种使用微控制器实现简单Boost转换器的设计方法。通过将数字与模拟电路相结合,使得设计简易电源供应器变得容易。利用微控制器的编程能力可以灵活地调整电源供应器的工作状态。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Boost converters, like other switchers, have traditionally received their control signals from a dedicated circuit. However, a recent trend is to integrate simple switching-power-supply building blocks into generic devices, such as microcontrollers. An excellent example of this concept is a microcontroller that combines digital and analog circuitry and makes it easier to build simple power supplies. The programming capability of a microcontroller is an added benefit in power-supply designs, especially when you want to experiment with the supplies. Figure 1 illustrates a simple boost-converter design using a microcontroller; the basic boost topology in Figure 1 is a type of flyback circuit. The basic concept is easy to understand. When the MOSFET, Q, turns on, the current flowing through the inductor, L, begins to ramp up linearly (Figure 2), resulting in energy storage in the inductor. The MOSFET turns off before the inductor saturates. At this time, the inductor releases its energy to the storage capacitor, C, and the load.

You can design a simple boost converter with the following conditions: VIN=9V, VOUT=18V, RLOAD= 72Ω, F=1/T=62.5 kHz, η=70%, and ΔVDROP=50 mV, where F is the switching frequency, η is the efficiency, and ΔVDROP is the output ripple voltage. You can calculate the on-time, current, ramp-down time, and the total period in terms of inductance:

 

Note that the design is slightly altered to use readily available components, by using a 33-µH inductor and a 220-µF capacitor. The difference in the inductor value is absorbed in the dead time, as is the power loss.

The control circuit can take many forms, especially if you choose a device such as the PIC16C782 microcontroller. This device integrates a built-in analog peripheral set, diverse analog visibility, and a mixed-signal PWM block. The control circuit in Figure 3demonstrates how the analog and pulse-width modulation is contained within the PIC16C782, with the exception of the FET driver. This control circuit combines analog current control and firmware voltage control. The interesting part is the firmware, which is directly in the voltage-feedback path of the control loop. Through firmware, you can alter the dynamics of the control loop by changing the functions within the program. You may be able to design an adaptive power-control system by adjusting the phase and gain to meet the desired needs of a system.

Firmware placement within the control loop is not the only possibility; you could use a combination of firmware and hardware to monitor the system. Because the analog information is visible and the analog functions are controllable within the PIC16C782 device, you can monitor an active system for performance and function. In essence, the system can have self-diagnostic capabilities to check stability, load, input and output conditions, or anything else a system may require. You can also obtain Information about the system, through a serial port or some other means, by routing the data to a terminal or computer display. Even better, the firmware allows the design to change the functions without changing hardware. This approach eases experimentation; you simply changing firmware rather than spending hours in the lab adding or changing parts.

Figure 4 and Figure 5 are oscilloscope photos from a working example of the boost converter implementing the basic topology in Figure 1 and the control block in Figure 3. The peak current in the inductor is 0.3 mV×0.2Ω=1.5A (Figure 4). The on-time is approximately 5.9 µsec. The output voltage is 18V into a 72Ω load (Figure 5). The efficiency is approximately 90%. These boost-converter design and control ideas are just a few of the many possible ones using a PIC16C782 device.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值