고객사례

ITK Engineering Develops IEC 62304–Compliant Controller for Dental Drill Motor with Model-Based Design

挑战

Develop and implement field-oriented controller software for sensorless brushless DC motors for use in dental drills

解决方案

使用基于模型的设计与仿真软件,Stateflow,万博1manbetxnd Embedded Coder to model the controller and plant, run closed-loop simulations, generate production code, and streamline unit testing

结果

  • 发展时间减半
  • 硬件问题很早发现
  • 合同赢了,客户信心建立了

“基于模型的设计具有Simulink,使我们能够通万博1manbetx过早期验证降低成本和项目风险,在IEC 62304认证的系统上缩短推销,并提供了首次正确的高质量生产代码。”

迈克尔·施瓦茨(Michael Schwarz),ITK工程
具有ITK Engineering无传感器无刷电机控制的牙科演习。

无传感器无刷直流(BLDC)电动机非常适合用于牙科演习。它们的磨损比拉丝电动机少,并且更可靠,更安静,更易于维护和消毒。与带有传感器的BLDC电动机相比,无传感器BLDC电动机便宜较低,更紧凑。但是,无传感器控制所需的复杂算法需要开发更多的工程工作。

ITK Engineering saved time and effort by using Model-Based Design to develop and implement a production BLDC motor controller compliant with the IEC 62304 standard for medical device software.

“基于模型的设计,使用Simulink的设计使我们万博1manbetx能够设计和优化控制器,甚至在电动机硬件进行测试之前,然后在使用电动机后为控制器生成生产代码,”医疗控制高级工程师Michael Schwarz博士说。ITK的系统。“如果我们手工编写代码,就不可能按计划完成该项目。”

挑战

Dental drill motors operate at speeds up to 40,000 RPM. The field-oriented control algorithm for such motors needs precise information about the rotor position over a wide speed range. In a sensorless motor, rotor position must be deduced from changes in current in the stator caused by electromagnetic induction from the rotor magnet. ITK engineers needed to design and optimize a rotor position estimator, as well as a sophisticated cascade control for the dental drill motor that would comply with the IEC 62304 standard for medical device software.

当项目开始时,原型电动机不可用。为了满足客户的项目截止日期,ITK必须与电动机硬件并行开发控制器软件。ITK工程师需要创建一个准确的电动机模型,并开发与该模型一起使用的控制器。电动机可用后,他们需要在嵌入式处理器上快速实施和测试其控制软件。

解决方案

ITK engineers designed, optimized, implemented, and tested the sensorless BLDC motor controller with Model-Based Design.

工程师从数据表中工作的现有电动机和客户提供的信息,在Simulink中对BLDC电机(包括其电气和机械组件)进行了建模万博1manbetx®

他们在simulink中开发了一个控制器模型,并使用了状态流万博1manbetx®to model startup, shutdown, and error modes, as well as user-selectable operating modes.

The team ran closed-loop simulations of the plant model and the initial controller model, which relied on a rotor position signal supplied by the plant model.

为了开发转子位置估计器,该团队使用符号数学工具箱™求解代数方程,然后完善估计器,直到其结果与工厂模型的实际转子位置信号匹配。

Using the automatic scaling and data type override capabilities of Fixed-Point Designer™, the engineers converted their floating-point controller design to fixed point. They reran simulations to verify the fixed-point model.

团队开发了MATLAB®对单个模型组件进行批处理单元测试的脚本。他们使用Simulink Coverage™为这些测试生成了模型覆盖报告。万博1manbetx

该团队通过嵌入式编码器从其控制器模型中生成了5000多行的C代码®。他们编译了手臂的代码®Cortex®-M3 processor with a Keil compiler.

工程师在原型板和电动机上测试了控制器,精炼了模型并重新生成代码以优化性能。

ITK将控制器和工厂的Sim万博1manbetxulink模型以及生成的生产代码以及其客户提供。控制器和无传感器BLDC电动机目前正在牙科钻头中进行串联生产。

结果

  • 发展时间减半。“We completed controller development in about four months,” says Schwarz. “Without Model-Based Design it would have taken at least twice as long, because we would have had to wait for hardware, write code by hand, and test more prototypes.”

  • 硬件问题很早发现。ITK系统工程师Alexander Reiss说:“我们的工厂模型准确地反映了运动行为,这使我们能够在开发的早期验证控制器和硬件。”“我们迅速确定了第一个硬件原型上错误的根本原因:在硬件上测量的结果与我们经过验证的Simulink模型产生的结果不符。”万博1manbetx

  • 合同赢了,客户信心建立了。“Our client wanted to start work immediately. Model-Based Design helped us get the contract because it enabled us to begin development before hardware was available,” says Reiss. “Model-Based Design also increased our client’s confidence in our work; we shared our Simulink models and simulations, which they now use to make their own enhancements.”

s manbetx 845使用的产品

귀하의 성공을 소개하십시오.

고객사례공유하기