【嵌入式 - 英飞凌 - Peak Current Control】

EXAMPLE NAME:

BUCK_PCC_FIX_FQ_EXAMPLE_XMC42

OVERVIEW:

This example implements a Buck Converter in Peak Current Control mode with the
BUCK_PCC_FIX_FQ APP for being used together with the XMC Digital Power Explorer kit.

DESCRIPTION:

This example implements a Buck Converter in Peak Current Control mode for being used together with the XMC Digital Power Explorer kit. Visit www.infineon.com/xmc_dp_exp. The project is implemented using XMC4200
digital power control card, housing a 32-bit ARM Cortex M4 based microcontroller with Floating Point Unit. In addition, it also has dedicated control peripherals such as the HRPWM module, including CSG module. CSG is comprised of an analog comparator and an intelligent DAC capable of creating negative ramps for best slope compensation. HRPWM peripheral in XMC4200 also provides the ability to generate high resolution PWM (150 ps resolution). A Versatile Analog-to-Digital (VADC) module for analog signal measurement, is also included making XMC4200 suitable for applications that require fast calculation such as the Peak Current Control mode.
The current Control loop is implemented by a classic 2 poles 2 zeros filter using floating point values.
The provided filter coefficients have been selected to have the following controller characteristics:

  • Switching freq = 200kHz
  • Crossover freq = 10kHz
  • Phase margin = 50 degrees
  • PWM = 80MHz
  • ADC resolution = 12 bits

VADC conversion is being continuously triggered by the Compare Match 2 of the CCU8 (set by default to the maximum, period value).
Once the output voltage has being measured by the VADC, an interrupt is generated.
Inside the ISR, the 2 poles 2 zeros controller is applied and new value for the DAC slope start is set.
在这里插入图片描述
Note: The example BUCK_PCC_DIGITAL_POWER_EXPLORER_XMC42, also available in DAVE server, implements similar functionality for the same hardware (XMC Digital Power Explorer Kit). The main difference is that in the BUCK_PCC_DIGITAL_POWER_EXPLORER_XMC42 project low level APPs are being used for configuring individually the required peripherals. Compared to using the BUCK_PCC_FIX_FQ APPs, the low level APPs approach has advantages like the flexibility or the higher performance for the control loop and disadvantages like the higher complexity in terms of configuration and readability of the code.

REQUIRMENTS:

  • XMC4200 Digital Power Control Card and XMC Digital Power Explorer Kit
  • DAVE Version: 4.2.8

HOW TO CREATE THE PROJECT:

1. Open the DAVE CE and use “Add IDE New Project Wizard” on the toolbar to add a new DAVE Project.

在这里插入图片描述
在这里插入图片描述

2. Use the “Add New App” in the toolbar to add 1 instance of BUCK_PCC_FIX_FQ. Configure the APP instance with the following configurations.

在这里插入图片描述

Views: APP Dependency Tree and APP Dependency

在这里插入图片描述

BUCK_PCC_FIX_FQ_XMC42:

  • Buck Converter Configuration tab :
    在这里插入图片描述
  • PWM Settings tab :
    在这里插入图片描述
  • Control Settings tab :
    在这里插入图片描述
  • Control Configuration tab :
    在这里插入图片描述

ADC_SCAN :

  • General Settings tab :
    在这里插入图片描述

3. Use the “Manual Pin

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

六月悉茗

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值