摘要
给出了一种基于DSP TMS320F2812和MATLAB实时代码生成工具(RTW)的单相整流器锁相环控制系统,介绍了MATLAB实时仿真控制系统的搭建过程和实际系统的硬件结构;并在此防控一体化控制平台上,介绍并改进了一种双坐标反馈方法设计锁相环的算法,首先利用Matlab/Simulink工具建立了算法模型,并给出了其仿真结果,结果显示功率因数基本为1;然后将仿真模型转换成实时代码,并将代码烧写到DSP控制实际系统中给出了实验结果,实验结果显示相位差为-2度左右,电流稳定在一定值,与仿真结果吻合,证明了这种由可视化模型生成代码的方法不仅缩短了开发周期,而且提高了系统的能观能控性。
Presented a MATLAB-based real-time DSP TMS320F2812 and code generation tool (RTW) single-phase rectifier PLL control systems, introduces the hardware structure of MATLAB real-time simulation and process control systems to build the actual system. This platform integrated control and prevention, introduce and improve the design of a dual phase-locked loop feedback approach coordinate algorithm, first using Matlab / Simulink tools to create an algorithm model, and simulation results are given, the results showed that the power factor is 1 ; then the simulation models into the real-time code, and the code into the DSP control system gives the actual results, experimental results show that the phase difference of about -2 degrees, the current stable at a certain value, the result consistent with the simulation results proved that this method of visualization model generated by the code not only shorten the development cycle, but also improve the system controllability and observahility.
出处
《计算机测量与控制》
北大核心
2014年第9期2767-2769,共3页
Computer Measurement &Control
关键词
单相整流器
锁相环
双坐标反馈
实时代码生成
可视化
single-phase rectifier
locked loop
two-coordinate feedback
real-time code generation
visualization