首页 | 本学科首页   官方微博 | 高级检索  
     

基于Simulink的硬件嵌入式实时仿真设计及应用
引用本文:闫承志 郭晓丽 陈劲操. 基于Simulink的硬件嵌入式实时仿真设计及应用[J]. 电力自动化设备, 2004, 24(2): 73-75
作者姓名:闫承志 郭晓丽 陈劲操
作者单位:南京理工大学,动力工程学院,江苏,南京,210094;南通工学院,自动化系,江苏,南通,226001
摘    要:为了利用Matlab的强大功能实现在线实时仿真,提出了基于Simulink的硬件嵌入式实时仿真系统。在分析S—Function模块硬件驱动原理的基础上,介绍了用C语言编写S—Function函数,以调用设备驱动程序操作采集卡。论述了调试建立S—Function模块的过程。在仿真模型中该模块作为信源模块,解决了仿真过程中在线实时数据采集的问题,给出基于该模块的IEC推荐的闪变仪的设计模型和实验结果,论证了该仿真系统的可行性。该方法普遍适用于各种数据采集卡。

关 键 词:Simulink  S-Function  设备驱动  硬件嵌入式仿真
文章编号:1006-6047(2004)02-0073-03

Design and application of hardware embedded real-time simulation based on Simulink
YAN Cheng-zhi,GUO Xiao-li,CHEN Jin-cao. Design and application of hardware embedded real-time simulation based on Simulink[J]. Electric Power Automation Equipment, 2004, 24(2): 73-75
Authors:YAN Cheng-zhi  GUO Xiao-li  CHEN Jin-cao
Abstract:To complete the on-line real-time simulation using the powerful functions of Matlab,a hardware embedded real-time simulation block based on Simulink is presented.Based on the analysis of the S- Function block hardware driver,an S-Function written in C language is introduced,which is used to call device driver and manipulate data-acquisition card.The procedure of debugging and constructing S-Function block is also discussed,which is used as a signal source block in the simulation model to carry out the on-line real-time data-acquisition.Based on this block,the flicker instrument model recommended by IEC is designed and its results are presented.The feasibility of this simulation system is proved and the technique adapts to all kinds of data-acquisition card.
Keywords:Simulink  S-Function  device driver  hardware embedded simulation
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《电力自动化设备》浏览原始摘要信息
点击此处可从《电力自动化设备》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号