고객사례

Murata Manufacturing Reduces Development Time for Energy Management System Control Software by More Than 50% with Model-Based Design

Challenge

减少公司首次能源管理系统产品试验的市场上市

Solution

Use Model-Based Design with Simulink to model the controller and power electronics, run simulations, and generate production code

Results

  • Control software development time reduced by more than 50%
  • 生成的无缺陷代码
  • 项目加速时间缩短

“我们在将Simulink中的模拟中检查认证所需的所有要求,然后再在真实电路上验证它,并且因为我们使用嵌入式编码器直接从模型中生成代码,因此我万博1manbetx们的模拟与真实嵌入式软件之间没有差距。”

Dr. Yue Ma, Murata Manufacturing Co., Ltd.
Murata柔性三相能量管理系统,带有锂离子电池。

Murata柔性三相能量管理系统,带有锂离子电池。


As part of its smart home/office/factory initiative, Murata Manufacturing is developing an energy management system (EMS) that combines a solar panel, a battery controller, a grid-tied inverter, and an intelligent control system to optimize energy usage. When the solar panel produces more power than the user needs, the control system either uses the excess energy to charge the battery or feeds it back into the grid. Conversely, when the user needs more power than is being produced by the solar panel, the control system either discharges the battery or accesses power from the grid.

Murata engineers used Model-Based Design with Simulink®为了加快新EMS产品系列的嵌入式控制软件的开发。

“EMS was a new market for us, and we needed to minimize risk,” says Dr. Yue Ma, energy technology development department manager at Murata. “Model-Based Design with Simulink enabled us to reduce time-to-market, which was a significant advantage for us. Because we were not expert programmers, modeling and simulating our control design and then generating quality C code from our models was essential to produce a working system as quickly as possible.”

Challenge

Because Murata had not previously developed an EMS product, the engineering team had to start from scratch. They needed a way to simulate the inverters, converters, and other power electronics hardware in the EMS in order to evaluate various hardware topologies. Since it would be difficult and costly to test the system with real hardware, they needed to model the control system and run simulations using a system model with a power grid model to verify the design under normal operating conditions as well as under abnormal and hard-to-test conditions such as grid power outages and surges.

由于竞争对手已经引入了EMS产品,因此Murata希望通过自己的产品快速进入市场。s manbetx 845为了缩短控制系统的开发时间,工程团队希望直接从其模型中生成控制代码。由于团队中的工程师不超过三名工程师,而且以前的编程经验很少,因此他们认为手工编写和调试控制代码将花费太长时间,并导致质量差。

Solution

Murata工程师使用基于模型的设计来设计和实施EMS嵌入式控制软件。

在开始项目之前,马博士参加了刺ee-day MathWorks training course on the fundamentals of Model-Based Design and code generation.

Ma博士和他的团队创建了一些主要系统组件的植物模型,包括太阳能转换器,电池DC-DC转换器和使用SIMSCAPE Electrical™的三相网格式逆变器。该模型可调节,以便他们可以测试不同的硬件拓扑。

在添加测量块以计算关键信号的总谐波失真(THD)和根平方(RMS)之后,团队进行了模拟,以检查这些指标是否在可接受的范围内,并比较不同控制策略和硬件的性能拓扑。

Working in Simulink, the team modeled the system’s PI controller and then ran closed-loop simulations with the controller and the transfer function counterpart of the plant, using Simulink Control Design™ to tune control parameters.

Additional closed-loop simulations were performed to assess the design’s response to abnormal situations, including blackouts and phase unbalance of the grid, as well as some grid-tied requirements, including fault ride through (FRT) and maximum power point tracking (MPPT) for solar.

使用状态流®,他们创建了状态过渡图,以建模EMS启动,关闭和异常序列以及系统的各种操作模式的状态转换。

To implement the control logic on the micro-controller, they converted the floating-point design to fixed point using auto-scaling and other time-saving tools in Fixed-Point Designer.

接下来,他们使用嵌入式编码器从控制器模型中生成C代码和代码COMPOSER Studio™项目®。最后,他们将其部署到Piccolo™和Delfino™由Ti制造的32位微控制器。

团队通过运行开环测试来执行基本检查并验证系统闭环控制器和状态过渡,一起测试了微控制器和EMS电路,以使用生产硬件来验证代码。

Murata has completed both the EMS project and a photovoltaic inverter project using Model-Based Design. The company is applying for JET certification for the grid connectivity, and the engineering team is preparing for long-term reliability testing.

Results

  • Control software development time reduced by more than 50%.MA博士说:“我们在大约六个月内完成了控制软件,只有三名工程师。”“如果没有基于模型的设计,它将花费两到三倍的时间,否则我们将需要聘请其他软件工程师。”
  • 生成的无缺陷代码。MA博士说:“因为我们的编程经验有限,所以我希望如果我们手工编码了控制器,那将会有更多的错误。”“生成100%的代码保证可靠性。我们读取输出,并在使用嵌入式编码器生成的代码中发现零错误。”
  • 项目加速时间缩短。马博士说:“在数学培训课上,我学到了很多实践技能和技术,然后与团队的其他成员分享了这些技能和技巧。”“这与我们在遇到问题时从数学工人那里得到的强有力的支持结合在一起万博1manbetx,帮助我们完成了整个项目。”