基于模型设计的SVPWM嵌入式软件开发
DOI:
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TN773

基金项目:

国家自然基金 (60940018)、山东省自然基金(ZR2018LF008)、山东省本科高校教学改革研究(Z2016M007)项目资助


Embedded software development of SVPWM based on model-based design
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    在电力电子领域,复杂控制算法的应用增加了软件的复杂度,高端DSP的使用也使得开发硬件驱动代码变得繁琐,传统手工编码和测试手段难以高效率地开发控制系统的嵌入式软件。针对这一问题,研究了一种以Simulink为平台、可实现自动代码生成和早期验证的嵌入式软件开发方式——基于模型设计(MBD)。首先介绍MBD基本概念和开发流程,然后针对SVPWM软件的开发,详细给出算法模型的建立过程及模型早期验证和定点化方法,之后进行软件在环测试和算法模型与底层驱动的集成,最后一键式自动生成C代码,并将代码嵌入DSP控制的电机控制系统上进行测试。研究结果表明,通过MBD的规范流程,可高效地实现复杂控制算法的嵌入式软件开发。

    Abstract:

    The complexity of software is enlarged greatly in power electronic field because of complicated control algorithm applied, and the development of hardware drive codes become tedious with advanced DSP used. As a result, the traditional methods of programming and test by manual can’t develop the embedded software of control system efficiently. Aiming at this problem, a kind of embedded software developing method, model based design (MBD), is studied in this paper, by which the embedded codes can be generated automatically and early test can be executed on Simulink platform. Firstly, the basic conception and workflow of MBD are introduced. Secondly, aiming at the software development of SVPWM algorithm, the build process of algorithm model, model early test and means of fixed-point are explained in detail, and after that, software-in-the-loop test and integration of algorithm model and bottom drive are demonstrated clearly. Finally, the C codes are generated automatically by one-click and embed the code on the DSP-controlled motor control system for testing. The study results show that the embedded software of complicated algorithm can be developed efficiently through the standardized processes of MBD.

    参考文献
    相似文献
    引证文献
引用本文

张世垣.基于模型设计的SVPWM嵌入式软件开发[J].电子测量技术,2019,42(3):94-100

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2021-07-20
  • 出版日期:
文章二维码