RT-LAB实时仿真技术

合集下载

基于RT-Lab和WiGig的MMC型高压变频器实时在线仿真系统[发明专利]

基于RT-Lab和WiGig的MMC型高压变频器实时在线仿真系统[发明专利]

专利名称:基于RT-Lab和WiGig的MMC型高压变频器实时在线仿真系统
专利类型:发明专利
发明人:韦延方,郑征,王晓卫,孙岩洲,许丹,司纪凯,张国澎,荆鹏辉,杨明,张涛
申请号:CN201510066674.6
申请日:20150202
公开号:CN104635512A
公开日:
20150520
专利内容由知识产权出版社提供
摘要:本发明公开了一种基于RT-Lab和WiGig的MMC型高压变频器实时在线仿真系统,该系统包括上位机、目标机、控制器、MMC型高压变频器、WiGig无线通信模块。

WiGig无线通信模块的通讯规范采用G.hn标准。

通过RT-LAB仿真机采集MMC型高压变频器控制单元输出信号,实现对MMC 型高压变频器整流侧和逆变侧换流器的电容电压平衡控制和调制,实时化的模拟MMC型高压变频器控制单元真实设备之间实时的无线信号交互,实现对MMC型高压变频器的仿真控制。

本发明有效提升了系统内各组成部分间的数据传输速率,为MMC型高压变频器的实时控制提供了大量的技术参考数据,可大大缩短MMC型高压变频器的研发周期和成本。

申请人:河南理工大学
地址:454003 河南省焦作市高新区世纪大道2001号河南理工大学
国籍:CN
更多信息请下载全文后查看。

基于RT-LAB的模拟螺旋桨负载控制系统实时仿真

基于RT-LAB的模拟螺旋桨负载控制系统实时仿真

基于RT-LAB的模拟螺旋桨负载控制系统实时仿真曾宏宇;黎波;龙飞【摘要】Considering the interaction of ship and propeller, this paper builds a mathematical model of the control system of propeller loading by RT-LAB, and uses the technology of automatic code generation in simulink to achieve real-time generation. Based on the data of real ship, the model is loaded to the OP5600 HILBOX to execute. Comparing the real-time simulation result with the actual propeller curve, it shows that real-time simulation is accurate, and it provides the accurate and reliable control system for a hardware-in-the-loop simulation platform of propeller loading.%综合考虑螺旋桨与船体的相互作用,以 RT-LAB 软件为基础建立了螺旋桨负载控制系统模型,并运用simulink代码生成技术实现实时代码的自动生成。

文章根据某型实船数据,借助OP5600实时仿真机进行仿真试验,结果与实际螺旋桨特性基本一致,验证了实时仿真的准确性,为构建模拟螺旋桨负载半物理仿真平台提供了准确、可靠的控制系统。

【期刊名称】《船电技术》【年(卷),期】2016(036)004【总页数】5页(P69-72,76)【关键词】螺旋桨负载;代码生成技术;RT-LAB;实时仿真【作者】曾宏宇;黎波;龙飞【作者单位】武汉船用电力推进装置研究所,武汉 430064;武汉船用电力推进装置研究所,武汉 430064;武汉船用电力推进装置研究所,武汉 430064【正文语种】中文【中图分类】TP391.90 引言随着电力推进逐步成为现代船舶推进方式新的发展方向,开展电力推进系统的研究显得越来越重要。

rtlab 操作手册

rtlab 操作手册

rtlab 操作手册
RT-LAB是一个分布式实时平台,主要用于工程仿真和实时系统动态模型的
建立。

以下是一个简化的RT-LAB操作手册:
1. 连接电源和网络:连接RT-LAB的电源线和网线。

2. 开机启动:按开机键启动RT-LAB。

等待4~5分钟,确保RT-LAB完全
启动。

开机后,不要立即加载程序,需要等待一段时间使其正常工作。

3. IP地址设置:设置上位机的IP地址,并确保与RT-LAB的IP地址在同一网络段内。

使用Ping指令检查网络连接是否正常。

4. 加载程序:在RT-LAB软件中,选择Target -> New Target -> 设置...,然后选择要加载的模型和配置参数。

5. 仿真运行:设置仿真时间、采样间隔等参数,并启动仿真。

观察仿真结果,确保模型运行正常。

6. 数据采集与监视:使用RT-LAB软件的数据采集和监视功能,实时观察仿真结果和系统状态。

7. 模型调试:如果仿真结果不理想,可以对模型进行调试,修改参数或结构,直到达到预期效果。

8. 停止仿真:当仿真完成后,可以选择停止仿真并保存结果。

9. 关闭RT-LAB:在完成所有操作后,关闭RT-LAB软件和电源。

以上是一个简化的RT-LAB操作手册,具体操作可能会因RT-LAB版本和配置的不同而有所差异。

建议参考具体版本的RT-LAB用户手册或在线帮助文档,以获取更详细和准确的信息。

基于RT—LAB的高速动车组牵引传动系统实时仿真

基于RT—LAB的高速动车组牵引传动系统实时仿真
Ab s t r a c t :Ai mi n g a t h o w t o b u i l d t h e s i mu l a t i o n mo d e l o f h a r d wa r e i n t h e l o o p i n a h i g h — s p e e d E MU t r a c t i o n d iv r e s y s t e m a n d r e li a z e t h e r e a l — t i me o n l i n e mo n i t o i r n g o f t h e s e ma p h o r e i n t h e s y s t e m。 t h e R T — L AB r e l~ a t i me s i mu l a t i o n a n d t h e c o n t r o l l e r b a s e d o n t h e
i n v e r t e r t o d i r v e t h e i n d u c t i o n mo t o r s . I n o r d e r t o ma k e t h e w h o l e s y s t e m c l o s e r t o t h e a c t u l a h i g h — s p e e d EMU , t h e t r a i n c o mmu n i c a t i o n
G U C h u n - j i e , WE I We i , H E Y a n
( C o l l e g e o f E l e c t r i c a l E n g i n e e r i n g , Z h e j i a n g U n i v e r s i t y ,H a n g z h o u 3 1 0 0 2 7 , C h i n a )

RT-LAB实时仿真系统在开发WAMPAC的应用

RT-LAB实时仿真系统在开发WAMPAC的应用

通信网络 PMU数 据及其他 状态数据 传送
WAMPAC控制 平台 广域电网的智 能控制
7
基于RT-LAB的智能电网传输实时仿真系统的硬件布局
施威策尔 Relays(含有 PMU功能)
ABB继电器
数据监控计算机
RT-LAB开发计算 机
RT-LAB实时仿真 机
基于RTLAB智能 电网实时 仿真系统 实例的工 程现场硬 件布局
上海科梁信息工程有限公司©2013
10
智能电网实时仿真系统软件实现:模型到数据流
从RT-LAB 实时仿真主 机到控制中 心数据采集 硬件接线图
上海科梁信息工程有限公司©2013
11
RT-LAB实例:继电器过流的PMU辅助保护——仿真与验证
电流过流 算法规则
采样三相电流 (经放大后)
送至Relay模块
Megger SMRT1 放大器
上海科梁信息工程有限公司©2013
8
智能电网传输系统的通信与同步的架构与实现
通信系统在整个系统中起着重 要的作用,它负责数据流与 WAMPAC控制中心的交互。
通信系统的功能: 数据的交互 信号的同步 GPS信号为PMU提供基准时钟
上海科梁信息工程有限公司©2013 9
智能电网的要求: 智能的操作 智能的控制 智能的保护
智能电网的目标: 能够实现自动反馈,自动修复的智能系统
也就是实现电网的智能广域监测,保护和控制(WAMPAC) 为了开发智能电网WAMPAC,基于RT-LAB平台设计一个电网传输 的实时仿真系统: 实时仿真系统应该能够满足各项功能的测试 实时仿真系统还应该考虑信息通信技术(ICT)
14
Hardware-in-the-Loop Validation

SIMULINK、AMESIM、RT-LAB及LABVIEW联合建模的仿真应用技术

SIMULINK、AMESIM、RT-LAB及LABVIEW联合建模的仿真应用技术

图 10 LabView 下监控调参界面
LabView 设计完成的界面控制程序,运行在上位机, 通过界面按钮实现对模型的打开、编译、环境配置、节点 分配、下载、运行控制、数据存储、曲线显示以及数据分 析等各项功能要求。
如图 11 所示。
[参考文献]:
[1]谈琳,罗永红. 实时软件的仿真测试平台的研究[J]. 计算机仿真, 2005年第1期:247-250 [2]黄键. RT-LAB在通用仿真与测试设备中的应用[J]. 工业控制计算 机,2009年第22卷第12期:32-35 [3]巴少男.基于AMESim和Matlab/Simulink联合仿真的模糊PID控制气 动伺服系统研究[J] .科学技术与工程,2010年第10卷第9期:2220-2223 [4] 陈锡辉. LabVIEW 8.20程序设计. 清华大学出版社,2007 [5] AMESim4.0 User Manual[M].IMAGINE S.A.,2OO2 [6] RT_LAB version 8.1 user guilde[Z] OPAL_RT Inc.,2O05
The combinative modeling application in simulation equipment
based on SIMULINK、AMESIM、RT-LAB and LABVIEW
liuyan wangweiying
(AVIC Xi’an Flight Automatic Control Research Institute ,Xi’an 710065,China)
Abstract:The system simulation based on the combination of four application software. By the interactive nesting use of API interface function and software module, a R&D Equipment of simulation and testing platform is developed. It is also a satisfactory synthetical environment for the flight control system modeling,simulating and testing. It supports complex model creation, real-time close-loop simulation, friendly man-machine conversation interface etc. The needs of the equipment user can be satisfied on biggest extent. Keyboards:RT-LAB;Simulink;AMESim;LabView; modeling and simulation;big_scale currency equipment

RT_LAB的相关介绍与应用


31电平的MMC
TS:步长 Tcal:次级系统 运算所需时间 cells):
• 最少:180模拟输出,360模拟输入。 • OPAL-RT定制OP5242 Board:最大64模拟通道,128数字 通道 。如此,则需要3块。
5电平的MMC
RT_LAB最大的特点
分布式计算:RT-LAB可以把复杂的模型划分成 多个可以并行执行的子任务,再把这些子任务分 配到网络中的多个目标机节点上,或者分配到一 台SMP对称多处理目标机系统的多个处理器上, 从而构成一个可伸缩的分布式并行实时仿真系统。 经济性:硬件设备来源广泛 便于扩展 : 支持多种I/O接口:
RT_LAB的相关介绍与应用
什么是RT_LAB?
• RT-LAB是由加拿大Opal-RT Technologies 推出的一套工业级的系统平台软件包。
• 通过应用这种开放的可扩展的实时平台,工 程师可以直接将利用MATLAB/Simulink建 立的动态系统数学模型应用于实时仿真、控 制、测试以及其它相关领域。
• 在电力电子应用方面, RT-LAB是专业的电 力电子实时仿真平台(专业实时化软件+仿 真器硬件),在逆变并网、MMC、HVDC、 FACTS等研究领域有ABB、艾默生等专业 用户,以及大量著名院校。
RT_LAB的系统组成
单节点系统
分布式节点系统 嵌入式目标机
这种配置可以用来开发嵌入式控制器。 利用这种配置,原先设计和测试通过 的控制器模型可以直接下载到嵌入式 目标机,并和外部物理设备一起工作。
RT-lab 作为控制系统
5电平的MMC
RT-lab 作为控制系统
5电平的MMC
与MMC接口所需通道
OPAL-RT定制OP5242 Board

基于RT_LAB的大功率逆变电源实时仿真

基于RT-LAB的大功率逆变电源实时仿真李启呈徐正喜姜波吴浩伟(武汉第二船舶设计研究所,武汉430064)摘要:本文利用RT-LAB对大功率逆变电源进行实时仿真,介绍了SPWM波的捕获技术,搭建IGBT模型,完成主回路的建模。

RT-LAB与控制板的数据交换通过RT-LAB的I/O口完成,最终建立了大功率逆变电源实时仿真系统。

将实时仿真波形与实际试验波形进行比较分析,结果显示实时仿真能准确地反映大功率逆变电源的运行情况。

关键词:大功率逆变电源实时仿真RT-LAB Simulink中图分类号:TM464 文献标识码:A 文章编号:1003-4862 (2009) 05-0016-05Real-time Simulation of High-Power Inverter Based on RT-LABLi Qicheng, Xu Zhengxi, Jiang Bo, Wu Haowei(Wuhan Second Ship Design and Research Institute, Wuhan 430064, China)Abstract: Using RT-LAB, a real-time simulation is made for the high-power inverter source, capture technology of SPWM wave is introduced, IGBT model is built, and the main circuit is set up. The data exchanges between RT-LAB and control board is accomplished through the I/O port of RT-LAB, and the real-time simulation system of the high-power inverter source is finally established. Comparing the real-time simulation wave with the actual experiment result, it shows that real-time simulation can accurately reflect the high-power inverter source operation.Key words: high-power inverter source; real-time simulation; RT-LAB; Simulink1 引言大功率电力电子是一个正不断发展的领域。

基于RTLAB的柔性直流配电网实时仿真研究

基金项目 :国家自然科学基金项目资助项目(51667007),中国南方 电网公司重点科技项目(GZKJQQ00000417)。
等。中压直流部分由模块化多电平换流器及直流变压器构成, 其 中 MMC1#~3#, 额 定 容 量 为 1 MW,MMC4# 及 DCSST 容 量为 500 kW,各设备都连接到 ±10 kV 直流母线。
[关键词]直流配电 ;实时仿真 ;混合式模块化多电平电压源换流器 ;直流变压器 [中图分类号]TM721.1 [文献标志码]A [文章编号]1001–523X(2019)03–0108–03
Real-time Simulation of Flexible Dc-grid Based on Rt-lab
2019年第3期
2019 No.3
电力系统
Electric System
电力系统装备
Electric Power System Equipment
基于RT-LAB的柔性直流配电网实时仿真研究
谢百明1,谈竹奎1,赵宇明2,郭茂派3,徐玉韬1 (1.贵州电力科学研究院,贵州贵阳 550002;2.深圳供电局有限公司,广东深圳 518048;
Xie Bai-ming,Tan Zhu-kui,Zhao Yu-ming,Guo Mao-pai,Xu Yu-tao
[Abstract]The paper introduce real-time simulation for flexible DC-Grid system based on RT-LAB, according to the technical parameters of practical facility, modeling of each device, such as multiple multilevel converter, solid state DC-transformer, wind-power, photovoltaic, were fulfilled, using 104 protocal, manufacturer’s controller were connected with RT-LAB simulators, various experiments regarding control strategy were validated on the platform.

基于Rt-Lab的模块化多电平换流器实时仿真

基于Rt-Lab的模块化多电平换流器实时仿真于飞;张群;刘喜梅【摘要】基于模块化多电平换流器(MMC)的柔性直流输电方式,由于其开关器件的数量是传统两电平或三电平换流器的几百倍,故传统的仿真软件需要花费更长的时间才能得到结果.系统仿真时间的显著增加使得系统仿真的时效性和实用性大大降低.为此引入实时仿真平台RT-Lab,减少系统仿真在柔性直流输电系统开发周期中所占比例.并通过同一种控制算法在RT-Lab和Matlab下的仿真进行了验证,结果表明RT-Lab能够显著地减少系统仿真时间,并保证运行结果的有效性和精确性.%Flexible DC transmission system based on modular multi-level convertor due to its inherent advantages reciving more and more attention . But the number of switching devices is hundreds of times of the traditional two-level or three-level convertor , so the tradional simulation software will take more time to get result. Because of the time of system simulation significantly increased, so the timeliness and practicality of system simulation is greatly reduced. Using the real-time simulation platform RT-LAB to reduce the proportion of system simulation in flexible DC transmission system development cycle. And verified through the same control algorithm simulation in RT-LAB and Matlab, the results show that RT-LAB can significantly reduce the simulation time, and ensure effectiveness and accuracy of the result.【期刊名称】《青岛科技大学学报(自然科学版)》【年(卷),期】2012(033)005【总页数】5页(P541-545)【关键词】MMC;RT-Lab;直接控制;实时【作者】于飞;张群;刘喜梅【作者单位】青岛科技大学自动化与电子工程学院,山东青岛266042;许继集团有限公司直流输电系统公司,河南许昌461000;青岛科技大学自动化与电子工程学院,山东青岛266042【正文语种】中文【中图分类】TP393;TP391.7与传统两三电平拓扑结构相比,多电平换流器技术能够有效的改善输出波形并能够降低开关损耗。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

REAL-TIME PLATFORM FOR THE CONTROL PROTOTYPING AND SIMULATION OF POWER ELECTRONICS AND MOTOR DRIVESSimon Abourida, Jean BelangerOpal-RT Technologies Inc.1751 Richardson #2525Montreal, J4P 1G6, Quebec, CanadaSimon.abourida@ABSTRACTThe paper presents state-of-the-art technologies and platform for real-time simulation and control of motor drives, power converters and power systems.Through its support for Model-Based Design method with Simulink®, its powerful hardware (multi-core processors and FPGAs), and its specialized model libraries and solvers, this real-time simulator (RT-LAB™) enables the engineer and researcher to efficiently implement advanced control strategies on embedded hardware, or to conduct extensive testing of complex power electronics and real-time transient simulation of large power systems.1.INTRODUCTIONOver the years, it has been increasingly acknowledged how important and essential the tools of real-time simulation and testing in all industries are. These tools are no longer a luxury in modern system design, especially in electric motor drives and power electronics, whose applications are found in an ever increasing number in all sectors. As for power systems, it was the sector that pioneered the use of real-time simulators tens of years ago, starting with analog simulator, before the advent of computers and the development of hybrid then fully digital real-time simulators.On other hand, commercial simulation packages such as MATLAB/Simulink™ are now widely used in the industry, education, and research institutions alike. They have become the modeling tools of choice because the many advantages they offer: increase in engineering productivity and efficiency, and accelerated design cycle by relying on the Model Based Design (MBD) methodology, making it possible to go from concept to simulation without ever having to write code, and producing a working prototype very early in the design process.Because of its advantages, the MBD approach has renewed the importance and interest in real-time simulation and its many applications and spread the usage of RT simulation to new fields, because it had greatly facilitated the development of real-time applications and accelerated their design.Before and after the establishment of this MBD process, several real-simulation time tools has been developed, in different sectors: electromechanical systems, aerospace, power systems, electric drives, railway systems, etcMany such tools were proprietary systems or mere research projects that failed to get into maturity. The few others that made it to maturity and had many applications and users have restrained their applications solely to the real-time simulation of the complex electric power systems (RTDS, Hypersim [1]) resulting in high cost for simpler systems like electric drives and industrial power converters; others failed, despite their success in small applications or complex but slow dynamic systems, to address the needs and requirements of real-time simulation of the fast electromagnetic transients of power systems, and the fast dynamics of today’s power converters and electric motor drives, and therefore, their applications stayed confined to systems with relatively slow dynamics (mechanical, hydraulic, aerodynamic systems, etc).A powerful platform for real-time simulation and control of electromechanical and power systems alike that is based on the MBD approach has been developed (RT-LAB) in the mid nineties, pioneering the use of commercial PC processor as the base platform and using Simulink as the visual design environment. In addition to its scalable, distributed processing hardware, RT-LAB integrates on the software level many solvers and model libraries that were designed to solve the problems and challenges of the real-time control and simulation of fast dynamics like those found in electric motor drives, power converters, power grid, renewable energy systems, and other applications.The present paper describes this real-time platform and its architecture, and presents some of its typical applications. It is organized as follows: first an introduction to the methodology of model-based design and its applications is given in section 2; then the RT-LAB platform, its hardware architecture and its software are presented thoroughly in section 3, and some application-driven real-time simulators are presented in section 4; typical applications are shown and discussed in section 5, before concluding.2.MODEL-BASED DESIGN AND REAL-TIMESIMULATIONIn traditional design and test methods of control systems, the actual product or even its prototype become available very late in the design process; and it is only then, as system integration is done toward the end of the design that the designers were able tofind out if the system work well and behave as it was intended to, or to uncover eventual errors in the design, implementation or integration of the system and its components.Model-Based Design process (illustrated on Figure 1) addresses these shortcomings of the traditional development method; it consists of building a mathematical model of the system in a graphical block-diagram environment (like Simulink ™). The entire system model can then be simulated to accurately predict, validate and optimize its performance, and to iteratively refine it until it meets the requirements; this is the model design stage.Figure 1: The process of Model Based DesignThis system model becomes then a specification from which real-time software code is automatically generated for prototyping and implementation, thus avoiding hand coding and reducing the potential for errors (automatic software generation).The software automatically generated from the system-level, graphical block diagram is then uploaded to a real-time platform, and is ready for testing. In fact, verification and validation are conducted throughout the development of the product by integrating tests into the models at any stage. This continuous verification and simulation helps identify errors early, when they are easier and less expensive to fix.This model based design process is more and more used in the development of dynamic systems including motor drives and power electronics systems. In educational institutions, this process is becoming the preferred approach for both research and teaching, because it enables the researchers, engineers and students to focus on their design, algorithms, system topologies and different innovative ideas, rather than dedicating a significant part of their effort and time to the intricacies of writing the real-time code and implementing the software on the real-time platform (microcontroller, DSP, FPGA, etc).3.RT-LAB REAL-TIME PLATFORMRT-LAB is a powerful, modular, distributed, real-time platform that lets the engineer and researcher to quickly implement block diagram Simulink models on PC platform, supporting thus the model-based design method by the use of rapid prototyping and hardware-in-the-loop simulation of complex dynamic systems. The major elements integrated in this real-time platform are: distributed processing architecture; powerful processors, high precision and very fast input/output interface, hard real-time scheduler, and modeling libraries and solvers specifically designed for the highly non-linear motor drives, power electronics, and power systems.3.1.Architecture of RT-LAB platformThe general architecture of RT-LAB is shown on Figure 2. In this host-target architecture, the host is used to develop the model at the design stage, and during runtime, as the user interface, communicating with the target by Ethernet. The target where the real-time computation done, is a PC and has therefore the standard architecture of a PC; one or two processors are dedicated to the simulation of the Simulink model; a PCI (or PCI-Express) bus connects the processors to the rest of the system, and to inputs/outputs (I/O) through an FPGA board; the I/O’s are modular and their number can be configured according to theapplication needs.Figure 2: The architecture of RT-LAB based simulatorIn addition, several targets can be interconnected with FireWire or PCI Express real-time communication links and switches, making the complete system a super-computer of high computational capacity, ideal for the real-time simulation of complex systems (power grids, wind farms, distributed generation systems in large ships, and others)3.1.1.ProcessorRT-LAB uses Intel™ or AMD™ processors as real-time targets; there can be a single or two processors in one target; each processor can be single, dual or quad core, so that a single target box can hold as much as 8 processing cores, communicating by shared memory; and each core simulates a Simulink subsystem; this makes such an RT-LAB target box a very powerful distributed processing simulator that can handle very complex simulation applications.In addition, for applications requiring very small simulation stepin the microsecond range, RT-LAB uses Xilinx FPGA as real-time target; and while this target requires some extra handling in the model by the designer, the design itself is done equally in the form of block diagram in the same Simulink graphical environment by using the Xilinx Blockset, and the VHDL code is then automatically generated from the block diagram, compiled and uploaded to the FPGA; the engineer can then design extremely fast control algorithms or model extremely fast sampling plant models and target them to FPGA without hand coding and without the need of programmable logic chip expertise.3.1.2.Inputs and OutputsIn order to connect the real-time system with real world hardware devices, (controller or physical plant), input/output (I/O) interface is configured through custom blocks, supplied with RT-LAB as a Simulink toolbox (analog, digital, PWM, encoder, serial communication, etc). The engineer drags and drops the I/O blocks to the graphic model, without worrying about low-level driver programming. RT-LAB manages the automatic code generation so to direct the model’s data flow onto the physical I/O cards.RT-LAB platform supports several commercial PCI I/boards; in addition, in order to meet the stringent I/O speed and accuracy requirements of power electronics and drives, it uses digital I/O boards controlled by a 100 MHz FPGA chip yielding a PWM and encoder resolution of ±10 ns, and 16-bits simultaneous fast analog-digital converters.3.1.3.Software and Modeling LibrariesRT-LAB runs either on QNX or RT-Linux real-time operating system; at the heart of the software, there is a hard real-time scheduler that ensures a strict real-time execution of the system code.RT-LAB software automatically handles the real-time communication between processing cores, and processors on different target boxes, as well as the communication with the host station, and it handles the interface between the model code (user actual simulated application) and the I/O devices.On the top of the real-time software, modeling toolboxes and solvers for Simulink has been developed to handle the intricate simulation needs of fast transients found in switching power converters, electromagnetic transients in power grids, and to interface with commercial blocksets designed by third parties addressing special needs for the simulation of motor drives and other electrical related systems. The table given below lists the most important of these toolboxes.Table 1: Model and Solver Libraries for RT-LABModule DescriptionRT-Events Simulink Blockset of control blocks with real-timeinterpolation for power electronics & hybridsystems (dynamic systems with events). RTeDRIVE Simulink Blockset of converter and motor modelsto simulate motor drives in real-time; it includesvoltage-source power converters with real-timeinterpolation techniques.ARTEMIS Simulink solver toolbox to simulate line- or load-commutated drives and AC circuits; it is used torun SimPowerSystems models in real-time. RTeGRID Bundle of ARTEMIS and other models andfunctionalities optimized for the simulation ofpower systemsRTeGRIDpro Bundle of S/W tools to simulate large power gridswith power electronic systems; it includesRTeGRID, RTeDRIVE and RT-EventsRT-LAB.XSG Development and run-time tools to design modelswith Xilinx Blockset and run them on XilinxFPGAXSGeDRIVE Simulink blockset designed with Xilinx blocks tosimulate power electronic drives on FPGART-LAB.JMAG Interface of RT-LAB to JMAG-RT finite elementsuite from the Japanese Research InstituteSolutions, to run high fidelity motor model onCPU targetRT-LAB.JMAG-FPGAJMAG-RT implemented on FPGA target (1 us) 3.2.RT-LAB Based Real-Time Simulators3.2.1.eDRIVEsimeDRIVEsim is an advanced real-time, hardware-in-the-loop (HIL) simulator and control prototyping platform that integrates different libraries in the RT-LAB platform; it is intended for designing advanced control systems or for performing HIL testing of controllers used in high-speed electric motors, power electronics, and other electromechanical systems.Blocks from specialized modeling libraries like RTeDrive™, RT-Events™ and ARTEMIS (with SimPowerSystems®) blocksets can be included by the engineer in the Simulink model to run on the processor target.In addition, eDRIVEsim lets the user incorporate subsystems designed with blocks from the Xilinx Blockset for Simulink into the model. This allows that part of the model to be executed on the eDRIVEsim FPGA allowing testing of fast controllers and protection systems, and achieving a low level of latency unprecedented in the simulation of high speed motors and high switching frequency converters.This is illustrated in Figure 3. In this test, a 3-phase AC motor drive is emulated on the FPGA (with Xilinx blockset for Simulink), and the PWM gate signals of the simulated inverter comes from an external controller. The graph shows the total delay (latency) from the PWM input sent to the FPGA-based simulator to the currents that come out on the digital-to-analog outputs. The test shows a total latency in the order of 1.5 µs; this demonstrates the very high simulation speed of the motor drive emulated on the FPGA.Figure 3: Very small latency & time step with the FPGAreal-time target of RT-LAB simulator3.2.2.eMEGAsimTo answer the real-time electromagnetic simulation needs of power systems, the real-time digital simulator eMEGAsim™ was also developed on the RT-LAB platform.In eMEGAsim, the user develops controller models with Simulink and electrical circuit models with SimPowerSystem [2]. SimPowerSystem is a Simulink toolbox which provides multiple integrated models, all based on electromechanical and electromagnetic equations, for the simulation of power grids and machine drives. ARTEMIS enables SimPowerSystems models to be implemented and run in real-time. With the combination of other Simulink mathematical and physical-domain toolboxes, it is possible to easily model any power system components interconnected with complex mechanical subsystems and associated controls.An EMTP-RV™ [3] interface is also available to facilitate circuit diagram capture and validation of large circuits. The resulting model can be simulated offline using variable-step or fixed step solvers in Simulink and with ARTEMIS third- and fifth-order fixed-step solver, optimized for real-time parallel simulation of models made with SimPowerSystems.With the integration of the above tools, eMEGAsim becomes a powerful real-time digital simulator for the study of FACTS [4][5], in-land and electric ship power grid, wind farm interconnection with the power grid [6], etc.4.RT-LAB APPLICATIONSRT-LAB is used in various projects in industries and institutions, spread among different types of applications.Depending on the part of the system that is simulated (controller or plant), the applications of real-time simulation and of RT-LAB real-time system can be grouped in three major categories. These are explained briefly in the following sections.4.1.Full Real-Time SimulationA control system, is usually made of a controller and a plant connected in closed loop by the means of sensors sending feedback signals from the plant to the controller and actuators to level the signals sent from the controller to the plant (to power switches, breakers, etc).Full real-time simulation consists of converting the Simulink model of the complete system (plant and controller) to real-time software that is uploaded to RT-LAB real-time platform (simulator) to conduct fully digital real-time simulation of the complete system.As an example, the paper in [5][7] describes the use of RT-LAB for the real-time simulation of an induction motor drive with field-oriented speed controller, where [8] presents the use of RT-LAB PC-cluster simulator for real-time simulation of an All Electric Ship integrated power system analysis and optimization. The project described in [9] explains the hardware and software details of RT-LAB real-time digital simulator and its use for power engineering research. It describes its application for the study of 3-level induction motor drive with vector-control and compares the real-time simulation results to offline results from PSCAD/EMTDC.4.2.Rapid Control PrototypingRapid Control Prototyping or RCP consists of quickly generating a functioning prototype of the controller, and to test and iterate this control algorithm on a real-time platform with real input/output devices. Rapid control prototyping differs from HIL in that the control strategy is simulated in real-time and the “plant,” or system under control, is real.The applications of RT-LAB real-time system for rapid control prototyping are numerous; it is found in the development of a biped locomotor applicable to medical and welfare fields [10]; in autonomous control to maneuver a ship along desired paths at different velocities [11], where RT-Lab is used for rapid prototyping of the ship real-time feedback controller; in real-time control of a multilevel converter using the mathematical theory of resultants [12]; and in several research and teaching labs for the control of electric motors; a typical setup using the DriveLab™ experimental kit is shown on Figure 4.Figure 4: RT-LAB motor control prototyping used inDriveLab™4.3.Hardware-In-the-Loop SimulationHardware-In-the-Loop or HILS differs from pure real-time simulation by the use of the “real” controller in the loop (motor drive controller, electronic control unit for automotive, FADEC for aerospace, etc); this controller is connected to the rest of the system that is simulated by input/outputs devices. So unlike RCP, in HILS, it is the plant that is simulated and the controller is real.Hardware-in-the-Loop simulation permits repetition and variation of tests on the actual or prototyped hardware without any risk for people or system. Tests can be performed under realistic and reproducible conditions. They can also be programmed and automatically executed.Several applications in the field of motor drive HIL simulation has taken place in various fields (robotics, industrial, automotive and others).The paper in [13] described the use of RT-LAB simulator of Permanent Magnet Synchronous Motor (PMSM) drive in industrial application (Figure 5), and reported the shortest real-time simulation time step (10 µs) for electric drives with this level of details in modeling the drive circuit, enabling to get very precise drive waveforms compared to actual measurements (Figure 6).The application reported in [14] describes the setup and the results of closed-loop control experiments using a permanent magnet synchronous motor (PMSM) drive emulated on RT-LAB FPGA card connected in a closed loop with a controller implemented on another RT-LAB target computer. The FPGA-based PMSM motor drive is implemented on eDRIVEsim simulator. The simulator implements 2 types of motor drive models: Park (d-q) motor model and another more accurate motor model based on Finite Element Analysis that includes the non-linearities of the motor.Figure 5: Hardware-in-the-loop simulation setup of an ACmotor drive driven by a diode converterFigure 6: Simulated PMSM drive currents in RT-LAB HILsetup, compared to real currents measured in the lab5.CONCLUSIONSThe paper presented the RT-LAB platform for real-time simulation of motor drives, power converters and power systems, and for real-time control of electric motors and mechatronic systems, and described state-of-the-art design methods and technologies used in this platform.Different types of applications in control prototyping and hardware-in-the-loop simulation were portrayed with reference to typical projects.What makes this real-time platform particularly advanced is its powerful hardware (parallel processing, multi-core processors, fast I/O devices, support of FPGA-based computation), and software (scalability, model-driven libraries targeting electric and power electronic systems, real-time interpolation of device switching, and other solver techniques), making it a very useful tool for research, testing and innovation.6.REFERENCES[1]Larose C. ; Guerette S.; Guay F.; Nolet A.; Yamamoto T.;Enomoto H.; Kono Y.; Hasegawa Y.; Taoka H., “A fully digital real-time power system simulator based on PC-cluster”, ELECTRIMACS 2002 International Conference No7, Montréal , Canada, vol. 63, no 3-5[2]Louis-A. Dessaint, Kamal Al-Haddad, Hoang Le-Huy,Gilbert Sybille, and Patrice Brunelle, “A Power SystemSimulation Tool Based on Simulink”, IEEE Transactions onIndustrial Electronics, Vol. 46, No. 6, December 1999[3][4]Majumber R., Pal B.C., Dufour C., Korba P., “Design andReal-Time Implementation of Robust FACTS Controller forDamping Inter-Area Oscillation”, IEEE Transactions on Power Systems, Vol. 21, No. 2, pp. 809-816, May 2006.[5]Dufour C., Bélanger J., "Real-time Simulation of a 48-PulseGTO STATCOM Compensated Power System on a Dual-Xeon PC using RT-LAB," Proceedings of the InternationalConference on Power Systems Transients (IPST 2005), Montréal, Canada, June 19-23, 2005.[6]J.-N. Paquin J.-N., Moyen J., Dumur G., and Lapointe V.,"Real-Time and Offline Simulation of a Detailed Wind FarmModel Connected to a Multi-Bus Network," Proceedings ofthe 2007 IEEE Electrical Power Conference, 8 pp.[7]Ouhrouche M., Beguenane R., Tzynadlowski A.M.,Thongam J.S., Dubé-Dallaire M., “A PC-Cluster-based FullyDigital Real-Time Simulation of a Field-Oriented SpeedController for an Induction Motor”, International Journal ofModeling & Simulation, Vol. 26, Number 3, 2006[8]Xie Y., Seenumani G., Sun J., Liu Y., and Li Z., “A PC-Cluster Based Real-Time Simulator for All-Electric ShipIntegrated Power Systems Analysis and Optimization”, Electric Ship Technologies Symposium, 2007. IEEE Volume ,Issue , 21-23 May 2007 Page(s):396 - 401[9]Pak, L.-F., Faruque, M. O., Nie, X., and Dinavahi, V., “AVersatile Cluster-Based Real-Time Digital Simulator for Power Engineering Research”, IEEE Transactions on PowerSystems, Vol. 21, No. 2, May 2006[10]Hun-ok Lim, Yusuke Sugahara and Atsuo Takanishi,“Development of a Biped Locomotor Applicable to Medicaland Welfare Fields”, Proceedings of the 2003 IEEE/ASMEInternational Conference on Advanced Intelligent Mechatronics (AIM 2003)[11]Skjetne R., Smogeli Ø.N. and Fossen T.I., “A Nonlinear ShipManoeuvering Model: Identification and adaptive controlwith experiments for a model ship”. Journal of Modeling,Identification and Control, 2004, Vol. 25, No. 1, 3–27[12]Chiasson, J., Tolbert, L., McKenzie, K., and Du, Z., “Real-Time Computer Control of a Multilevel Converter using theMathematical Theory of Resultants”, Proceedings of Electrimacs, 2002, Montreal, Canada.[13]Harakawa M., Yamasaki H., Nagano, T., Abourida S.,Christian Dufour C., Bélanger J., “Real-Time Simulation of aComplete PMSM Drive at 10 μs Time Step”, The 2005International Power Electronics Conference[14]Dufour C., Lapointe V., Bélanger J., and Abourida S.,“Hardware-in-the-Loop Closed-Loop Experiments with anFPGA-based Permanent Magnet Synchronous Motor DriveSystem and a Rapidly Prototyped Controller”. The 2008IEEE International Symposium on Industrial Electronics,Cambridge, UK, June 30, July 2, 2008.。

相关文档
最新文档