摘要
传统的开关电源数字设计方案大多基于单片机、DSP控制,但在实现PID控制算法的过程中,使用软件设计常会带来程序跑飞的严重后果。FPGA的高速和硬件支持,使得实施PID等控制比软件模拟出来的效果更为优秀,还能克服程序跑飞。设计采用MATLAB-SIMULINK,首先进行软件仿真、分析并测试其可行性,然后利用ALTERA公司的DSP builder将仿真模块生成FPGA硬件描述语言,实现PWM波和PID的设计。在控制方面,定制的NIOS软核起到了MCU的作用。利用VHDL语言实现ADC0809状态机控制。最后设计出各个功能模块的电路以及整个系统图和相关的NIOS控制程序流程图。设计的以EP2C35F672C8为控制核心的开关电源系统,利用软件仿真模型生成硬件代码语言,在FPGA中实现,双重保证了设计的可行性,实现了较理想的闭环控制效果。
Traditional switching power digital design is mostly based on the MCU, DSP control, but using the software design process PID control algorithm is often accompanied by serious consequences runaway. FPGA has the characteristics of high-speed and hardware support, making it out of the implementation of the PID control, the effect is more outstanding, but also to overcome the program running out. This design first used MATLAB-SIMU- LINK software to simulate, analyzed and tested its feasibility, generated the FPGA hardware description language which used the simulation module of DSP builder provided by ALTERA company to achieve the design of the PWM wave and PID. In terms of control, custom NIOS soft-core plays a role of MCU, using the VHDL language to realize the state machine control of ADC0809, finally to design each function module circuit and the system diagram and the flow chart of NIOS control program. This design takes EP2C35F672C8 as the control core of the switching pow- er supply system using software simulation model to generate the hardware code language to be implemented in FP- GA, double guarantee the feasibility of the design to achieve the ideal closed-loop control.
出处
《科学技术与工程》
北大核心
2012年第31期8281-8286,共6页
Science Technology and Engineering