基于Simulink/Stateflow模型的LNG加注船控制软件开发  被引量:1

Developing Software of LNG Ship-to-ship Bunkering Control with Simulink/Stateflow

在线阅读下载全文

作  者:朱晶[1] 张兴龙[1] 

机构地区:[1]上海船舶运输科学研究所航运技术与安全国家重点实验室,上海200135

出  处:《上海船舶运输科学研究所学报》2015年第1期73-77,82,共6页Journal of Shanghai Ship and Shipping Research Institute

摘  要:LNG加注是LNG燃料水上供应链中的关键环节,也是推动LNG作为船用燃料必须首先解决的问题;而LNG加注船加注控制逻辑较复杂,安全性要求高,传统的软件开发方法人工编写代码工作量大,且容易出错。基于此,提出一种快速的自动生成嵌入式软件代码的开发方法。首先在Simulink/Stateflow中构建基于有限状态机模型的仿真系统,然后利用Embedded Coder工具箱由模型自动生成C语言代码,再根据LNG加注船项目进行二次开发整合,最终生成优化的加注控制程序软件。经仿真验证,证明了该方法的可行性,在保证软件质量的同时,大大缩短了软件的开发周期。Bunkering is an important part of LNG-fuel supplying on water.It is also the first problem must be solved in promoting the usage of LNG as the fuel for ships.The control logic for LNG ship-to-ship bunkering is complex,and the safety requirement is high.It is a huge job to write the control software manually,and it is not unusual to make mistakes.In view of this problem a method of automatic programming of the control software is put forward.A simulation system based on finitestate machine is built in Simulink/Stateflow.The C language code based on the simulation system is produced automatically by using the Embedded Coder toolbox.The further development integrates the embedded code with the control system.The feasibility of this method is proved by simulation.This method ensures the quality of the code,in the same time,greatly shortens the software development cycle.

关 键 词:LNG加注船加注 LNG加注控制 STATEFLOW EMBEDDED CODER 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象