储能科学与技术 ›› 2022, Vol. 11 ›› Issue (7): 2386-2397.doi: 10.19799/j.cnki.2095-4239.2021.0723

• 储能教育 • 上一篇    下一篇

基于Simulink和低代码控制器的储能控制实验教学方法

董树锋1(), 刘灵冲1,2, 唐坤杰1, 赵海祺1,2, 徐成司1, 林立亨1   

  1. 1.浙江大学电气工程学院,浙江 杭州 310027
    2.浙江大学工程师学院,浙江 杭州 310015
  • 收稿日期:2021-12-31 修回日期:2022-01-13 出版日期:2022-07-05 发布日期:2022-06-29
  • 通讯作者: 董树锋 E-mail:dongshufeng@zju.edu.cn
  • 作者简介:董树锋(1982—),男,博士后,副教授、博导,研究方向为综合能源系统优化控制,E-mail:dongshufeng@zju.edu.cn
  • 基金资助:
    国家自然科学基金面上项目(52077193)

The teaching method of energy storage control experiment based on Simulink and low-code controller

Shufeng DONG1(), Lingchong LIU1,2, Kunjie TANG1, Haiqi ZHAO1,2, Chengsi XU1, Liheng LIN1   

  1. 1.College of Electrical Engineering, Zhejiang University, Hangzhou 310027, Zhejiang, China
    2.Polytechnic Institute, Zhejiang University, Hangzhou 310015, Zhejiang, China
  • Received:2021-12-31 Revised:2022-01-13 Online:2022-07-05 Published:2022-06-29
  • Contact: Shufeng DONG E-mail:dongshufeng@zju.edu.cn

摘要:

针对储能学科实验教学存在的问题,本文利用硬件在环(hardware-in-the-loop,HIL)仿真技术,将具体的实际工程项目融入到实验教学当中,使用Simulink对储能被控对象建模,采用自主设计制作的低代码控制器进行控制,提出基于Simulink和低代码控制器的储能控制实验教学方法。该方法具体流程为:在实验准备阶段,教师提前向学生布置了解实验背景的任务;实验进行中按照控制策略设计、被控对象模型搭建、控制策略实现和运行结果分析四部分进行引导教学;实验结束后鼓励学生发散思维,将所学知识拓展延伸应用到其他控制策略中。然后引入所用的实验设备低代码控制器,并对其需使用的配置文件进行了详细说明,学生只需填写相应EXCEL配置文件即可实现控制策略,降低了对学生编程能力的要求,从而抓住实验课程的重要目标更透彻地理解控制策略本身。最后以储能功率分配优化控制为案例设计实验,从整体认知、重点强化、难点分析和深度启发四个方面具体展开,完成储能电池组充放电实时仿真,实现了储能功率分配的控制目标,验证了硬件在环仿真技术的仿真精度和所提出的储能控制实验教学方法的有效性。

关键词: 硬件在环, 储能, 低代码控制器, AOE网络, 控制策略

Abstract:

Aiming at the problems in the experimental teaching of energy storage, this paper uses hardware-in-the-loop simulation technology to incorporate specific actual engineering projects into the experimental teaching. The authors use Simulink to model the energy storage controlled object, use the designed low-code controller for control, and propose an experimental teaching method for energy storage control based on Simulink and low-code controller. The specific process of the method is as follows: in the preparation phase of the experiment, the teacher assigns the students the task of understanding the background of the experiment in advance. During the experiment, it is divided into four parts: control strategy design, controlled object model construction, control strategy realization and result analysis. After the experiment, students are encouraged to deep thinking and extend to other control strategies. Then authors introduce the low-code controller and explain the configuration files in detail. Students only need to fill in the corresponding EXCEL configuration file to realize the control strategy, which reduces the requirements for programming ability and helps them understand the control strategy more thoroughly. Finally, taking the optimization control of energy storage power allocation as an example, it is carried out from four aspects: overall cognition, key enhancement, difficulty analysis and in-depth enlightenment. It completes the real-time simulation of energy storage battery pack charging and discharging, realizes the control goal of energy storage power distribution, verifies the accuracy of hardware-in-the-loop simulation technology and the validity of the proposed energy storage control experiment teaching method.

Key words: hardware-in-the-loop, energy storage, low-code controller, AOE network, control strategy

中图分类号: