基于速度规划的多叶光栅直线电机能耗优化方法
穆小飞1,2, 李炳燃1,2, 郜乾桐1,2, 叶佩青1,2, 张辉1,2    
1. 清华大学 机械工程系, 北京 100084;
2. 清华大学 机械工程系, 精密超精密制造装备及控制北京市重点实验室, 北京 100084
摘要:多叶光栅是医用直线加速器的核心部件, 采用两相圆筒形永磁同步直线电机(permanent magnet synchronous tubular linear motor, PMSTLM)作为驱动器时, 电机能耗对部件运行性能有重要影响。该文提出一种基于速度规划的多叶光栅直线电机能耗优化方法。首先, 针对运动学约束不能充分利用电机推力这一问题, 引入动摩擦系数得到电机推力的力矩边界, 基于该力矩边界提出改进指数型加减速速度规划(IESP); 然后, 引入加速距离、减速特性系数作为自变量, 通过分析全行程能耗、电机行程中间位移段切换时间和加速距离、减速特性系数之间的映射关系, 建立能耗—切换时间速度规划优化模型, 使用二代非劣排序遗传算法(NSGA-Ⅱ)进行能耗、切换时间的多目标优化, 得到切换时间不变、全行程能耗相对较小的加减速规划结果。实验结果表明, 本文提出的能耗优化方法相比梯形加减速规划(TSP), 在同样切换时间内能耗降低了21.5%。该方法能够降低PMSTLM运行时的能耗, 满足多叶光栅的正常使用要求。
关键词圆筒形永磁同步直线电机    速度规划    电机能耗    
Energy consumption optimization strategy for linear motors in multi-leaf collimator
MU Xiaofei1,2, LI Bingran1,2, GAO Qiantong1,2, YE Peiqing1,2, ZHANG Hui1,2    
1. Department of Mechanical Engineering, Tsinghua University, Beijing 100084, China;
2. Intelligent CNC System Technology Research, Department of Mechanical Engineering, Tsinghua University, Beijing 100084, China
Abstract: [Objective] Medical linear accelerator is a high-end piece of equipment used in cancer radiotherapy. A key component of this system is the multi-leaf collimator (MLC), which considerably influences the accuracy and efficiency of radiotherapy. This study examines the fast MLC, which employs a two-phase permanent magnet synchronous tubular linear motor (PMSTLM) to directly drive the leaves and enhance the precision of radiation dose distribution. However, factors such as inductance, magnetic chain, and resistance in the PMSTLM are influenced by temperature changes, resulting in parameter changes that affect the current loop's steady-state error. Moreover, drastic fluctuations in current result in increased energy consumption. The heightened energy usage negatively impacts the blade motion accuracy, thus compromising the overall quality of radiotherapy. The objective of this study is to address these challenges by reducing the energy consumption of linear motors used in MLC. [Methods] This study proposes a method for optimizing the energy consumption of linear motors in MLC by improving velocity planning at the instruction level of the control system. To address the issue of kinematic constraints not fully utilizing the motor thrust, a dynamic friction coefficient is introduced to determine the moment boundary of the motor thrust. Based on this boundary, an improved exponential acceleration and deceleration speed planning method is developed. Furthermore, acceleration distance and deceleration characteristic coefficients are introduced as independent variables. The mapping relationship between full-stroke energy consumption, the transition time of the displacement section in the middle of the motor travel, and these coefficients is established. Using this relationship, an optimization model for energy consumption, transition time, and speed planning is formulated. The second-generation non-inferiority sorting genetic algorithm (NSGA-Ⅱ) is employed to perform multi-objective optimization of energy consumption and transition time. The result is utilized as commands for the controller and is validated through experimental testing. [Results] Through the proposed method, this study achieved acceleration and deceleration planning results with constant transition time and relatively low energy consumption for the full stroke. Experimental data indicate that the method reduces energy consumption by 21.5%, compared to trapezoidal acceleration-deceleration planning (TSP) under identical transition time conditions. The proposed method effectively reduces the energy consumption of PMSTLM operation while maintaining the normal functional requirements of the MLC. [Conclusions] The energy consumption optimization method proposed in this paper combines exponential acceleration and deceleration planning, an energy consumption-transition time speed planning model, and the NSGA-Ⅱ algorithm to enhance the performance of MLC. Based on theoretical research and experimental validation, the following conclusions are drawn. The proposed method can optimize the intermediate displacement section corresponding to the transition time by effectively utilizing the velocity peak. This is achieved by choosing appropriate acceleration distances and deceleration characteristic coefficients. Transition time and energy consumption are conflicting optimization objectives. By employing the energy consumption-transition time optimization model, choosing appropriate optimization parameters can considerably reduce energy consumption while ensuring that the transition time meets the performance requirements of the MLC. The experimental results verify the effectiveness of the proposed method. Energy consumption is reduced by 21.5% compared to that of the TSP method.
Key words: permanent magnet synchronous tubular linear motor    speed planning    motor energy consumption    

医用直线加速器(medical linear accelerator,MLA)是对癌症进行放射治疗的高端医疗装备[1],随着全球癌症发病率和死亡率的增加[2],MLA的市场需求越来越大[3]。多叶光栅作为MLA的核心部件,决定着放射治疗的精准度和效率。Li等[4]和Zhang等[5]设计了快速成野多叶光栅(fast multi-leaf collimator, F-MLC),采用两相圆筒形永磁同步直线电机(permanent magnet synchronous tubular linear motor, PMSTLM),通过连杆直接驱动多叶光栅叶片,提高了叶片运行精度和射线剂量分布的精准性[6]。但PMSTLM的电感、磁链、电阻等参数容易受到温度影响产生变化[7],影响电流环稳态误差,电流的剧烈波动又会产生额外的能耗。因此,能耗影响了叶片运动精度和放疗质量的进一步提升。目前学者们主要从速度规划、控制算法、电机结构优化3方面,对电机能耗开展了广泛研究。其中通过速度规划来降低能耗的研究,主要是设计加减速规划来降低永磁同步电机能耗。Lu等[8]采用动态规划算法,得到稳态下的经济运行速度轨迹。Chakraborty等[9]提出了一种基于能量消耗和加速时间优化的舒适性驾驶策略,得出不同速度驾驶舒适性约束下的最优加速度。Vaz等[10]、Li等[11]研究了加速过程中的加速度大小及其变化率和目标车速对电动汽车能耗的影响。Huang等[12]重点研究了一种基于电磁—流体—热模型的PMSTLM的速度规划模型,得到了温度限制下的最优动态性能。还有学者进行降低能耗的控制算法研究,通过构建更精确的电机模型,提升电机的驱动效率。Sun等[13]采用模糊控制自适应算法,提高电机线性化模型的精度,降低能耗。邓国发[14]分析了损耗模型控制和最大转矩电流比控制(MTPA)两种控制算法的优缺点以及dq轴电流最优运行轨迹,提出新型效率优化控制算法。Yang等[15]、Navrapescu[16]、Senjyu[17]在等效电路模型中引入铁耗电阻,建立考虑铁损的损耗模型控制。Zhang等[18]构建非线性功率转换器损耗模型,优化逆变器和电机损耗。学者们针对MTPA进行改进,实现对永磁同步电机的最大转矩控制[19-21]。也有学者采用优化算法针对电机的结构特性进行优化设计,从而降低能耗。Zang等[22]采用响应面模型和非支配排序遗传算法(NSGA-Ⅱ)设计高速永磁同步电机,分析了恒功率最优轨迹。Kalaivani等[23]、Yu等[24]和Guazzelli等[25]在电机结构优化、速度控制模型中使用NSGA-Ⅱ算法求解,得到较好的效果。然而上述研究存在以下局限性:1) 速度规划能耗研究中,PMSTLM梯形速度规划模型仅考虑了梯形加减速过程中铜损的能量消耗,研究内容只涉及加速段的时间比例,且能耗机理研究仅考虑加速段,不适用于全行程;2) 损耗模型研究只考虑永磁同步电机在匀速运转时的能耗优化,对于运行速度快、匀速段行程短的PMSTLM影响较小;3) 最大转矩电流比控制不适用PMSTLM,其dq轴电感差值对转矩影响可以忽略;4) 通过电机结构进行能耗优化只适用于电机研制阶段,当前使用的PMSTLM已经成型。

本文提出了一种基于速度规划的多叶光栅直线电机能耗优化方法。首先基于引入动摩擦系数的力矩边界提出改进指数型加减速规划(IESP);然后引入加速距离、减速特性系数,建立能耗—切换时间速度规划模型,使用NSGA-Ⅱ开展全行程能耗最小和切换时间最短的多目标优化。通过比较该方法和梯形加减速规划(TSP)的实验数据,得出能耗降低21.5%的结论,证明该方法有效。

1 多叶光栅和PMSTLM动力学 1.1 多叶光栅驱动机构

一种MLA具体结构如图 1所示,主要由旋转机架、影像引导设备、治疗头和治疗床等4部分组成。多叶光栅位于治疗头中,能够在X射线照射到肿瘤靶区之前进行射野形状控制,同时对辐照剂量调制,保证最大程度地实现X射线在靶区的累积,从而实现精准放射治疗。

图 1 一种MLA设备整机

本文研究的多叶光栅具体结构如图 2所示,主要分为控制器、钨合金叶片阵列和64个PMSTLM组成的2组电机阵列。在MLA中,对多叶光栅有着严格的体积限制。本文中PMSTLM直径为18 mm,在418 mm×178 mm空间内由32个PMSTLM组成一个电机阵列。狭小空间内,发热严重且散热困难,导致电机产生的热量积聚,降低电机能耗是控制温升的重要手段。

图 2 多叶光栅

本文中多叶光栅的钨合金叶片与PMSTLM通过连杆直接相连,作为整个驱动机构,如图 3a所示。PMSTLM结构见图 3b,由定子外壳、永磁体、霍尔传感器、动子导磁环、线圈绕组5部分组成。其中AB两相环形绕组以90°电角度的间隔依次排布并缠绕在由聚酰亚胺制成的定子骨架上。电机动子由永磁体和动子导磁环构成,永磁体沿轴向充磁,其磁极性沿轴向交替变化并由动子导磁环隔开。图 3b$\varphi$为电机半径,$l_{\mathrm{m}}$为动子长度,$l_{\mathrm{s}}$为定子长度。

图 3 驱动结构示意图

多叶光栅叶片工作要求见图 4,中间位移段的切换时间决定着放疗效率,其中x为动子位移。

图 4 多叶光栅叶片工作要求

1.2 PMSTLM动力学模型

PMSTLM动力学模型是描述电机运行特性的数学模型,能够作为速度规划的依据。永磁同步直线电机dq坐标系下的电压和磁链方程[26]

$ \left\{\begin{array}{l} u_{d}=r_{\mathrm{s}} i_{d}+\frac{\mathrm{d}\left(L_{d} i_{d}+\lambda\right)}{\mathrm{d} t}-\frac{{\rm{\mathsf{π}}} v L_{q} i_{q}}{\sigma}, \\ u_{q}=r_{\mathrm{s}} i_{q}+\frac{\mathrm{d}\left(L_{d} i_{d}+\lambda\right)}{\mathrm{d} t}-\frac{{\rm{\mathsf{π}}} v L_{q} i_{q}}{\sigma} . \end{array}\right. $

其中:$r_{\mathrm{s}}$为动子电阻,$v$为动子速度,$\sigma$为极距,$\lambda$为定子永磁体励磁磁链,$u_{d}$$u_{q}, ~ i_{d}$$i_{q}, ~ L_{d}$$L_{q}$分别为$d$$q$轴动子电压,电流,电感。矢量控制下,电磁推力为

$ F_{\mathrm{e}}=1.5 P\left[\lambda i_{q}+\left(L_{d}-L_{q}\right) i_{d} i_{q}\right] . $ (1)

其中P为极对数。多叶光栅所用的PMSTLM各参数如表 1所示。

表 1 PMSTLM参数
符号 含义
rs 电阻 12
Ω
L 电感 1.5 mH
max(ld-lq) 轴电感差值 0.3 mH
Ψ 磁链 40 mWb
ls 定子长度 110 mm
lm 动子长度 60 mm
φ 电机外径 18 mm

表 1可知,$d, ~ q$轴电感差值在0.3 mH左右,永磁体磁链为$41 \mathrm{mWb}, ~ \max \left(l_{d}-l_{q}\right) i_{d}$的大小约为$\lambda$$7 ‰$,因此式(1)简化为

$ F_{\mathrm{e}}=1.5 P \lambda_{q}=k_{\mathrm{e}} i_{q}. $ (2)

其中$k_{\mathrm{e}}$为电磁推力系数。只考虑驱动机构负载和黏性阻尼,忽略直线电机推力波动对直驱伺服系统动态特性的影响时,运动学模型可简化为

$ F_{\mathrm{e}}=m \ddot{x}-k_{\mathrm{f}} \dot{x}-F_{\mathrm{n}}. $ (3)

其中:$m$为电机动子质量,$k_{\mathrm{f}}$为动摩擦系数,$\dot{x}$为动子速度,$F_{\mathrm{n}}$为其他干扰力。

1.3 PMSTLM力矩边界

在位置控制中,PMSTLM提供给动子的电磁推力与动子运动速度v、加速度a相互耦合。最大速度vmax、加速阶段最大加速度amax、减速阶段最大加速度dmax等单一运动约束不能与电磁推力构成等效对应关系,而力矩边界能够建立速度、加速度与电磁推力之间的线性关系,最大程度发挥PMSTLM的驱动性能。对于PMSTLM而言,电磁推力的边界如式(4)所示,加速阶段、减速阶段运动方程如式(5)所示。

$ -10.5 \mathrm{~N} \leqslant F_{\mathrm{e}} \leqslant 10.5 \mathrm{~N}, $ (4)
$ F_{\mathrm{e}}= \begin{cases}m a+k_{\mathrm{f}} v-F_{\mathrm{n}}, & 0<a ;\\ m a-k_{\mathrm{f}} v-F_{\mathrm{n}}, & a \leqslant 0.\end{cases} $ (5)

PMSTLM工作域是由系统电流约束决定的理论力矩边界,其中$a^{\prime}{ }_{\text {max }}$$v^{\prime}{ }_{\text {max }}$分别为理论力矩边界对应下的最大加速度和最大速度。基于式(4)和(5),力矩约束下速度、加速度关系如图 5所示,可以看出力矩约束下的PMSTLM工作域Ⅰ的面积大于运动学约束对应的工作域Ⅱ的,电机的驱动性能得到进一步发挥。

图 5 恒转矩约束下速度与加速度关系

2 改进指数型加减速规划 2.1 传统指数型加减速规划

传统指数型加减速规划,通过给定行程l、极限速度vc、初速度vs、中止速度veamaxdmax,得到时间常数T1T2、比例系数α、加速段终止时间t1、匀速段终止时间t2、行程总时间t3,确定加速段位移s1、减速段位移s2,当s1+s2l时完成全行程的速度规划。全行程速度方程见式(7),具体规划流程如图 6所示。

$ v= \begin{cases}v_{\mathrm{c}}\left(1-\mathrm{e}^{-t / T_{1}}\right), & 0 \leqslant t<t_{1} ;\\ v_{\mathrm{c}}, & t_{1} \leqslant t<t_{2} ;\\ v_{\mathrm{c}} \mathrm{e}^{-\left(t-t_{2}\right) / T_{2}}, & t_{2} \leqslant t \leqslant t_{3}.\end{cases} $ (6)
图 6 传统指数型加减速规划流程

图 6可知,amaxvcα决定t1s1,该规划方式不能准确将速度波峰定位于中间位移段,即传统指数型加减速规划不能优化电机行程中间位移段切换时间。由式(7)可知,加速段转变为匀速段时,存在速度阶跃。α越大,阶跃越小,但s1随之增加。若在较高vc下控制s1,则需要选取较小的α,速度阶跃过大。因此,各参数之间的强关联性,使该规划方式难以实现PMSTLM特定行程要求。传统指数型加减速规划曲线如图 7所示。可以看出,加速阶段向匀速阶段转变时,加速度变化较小,但是最大速度较小,导致该速度规划不满足切换时间要求;从加速度—速度曲线可以看出,实际力矩边界远小于理论力矩边界,无法充分发挥电机的驱动能力。

图 7 α=5时传统指数型加减速规划曲线

2.2 基于力矩边界的改进指数型加减速规划

为了解决传统指数型加减速规划算法在本文中的局限性,通过PMSTLM力矩边界来改进指数型加减速规划,充分利用电机的驱动性能。基于式(4)和(5),力矩边界为

$ -10.5 \mathrm{~N} \leqslant k_{\mathrm{f}} v+m a \leqslant 10.5 \mathrm{~N} . $ (7)

根据式(7),利用常微分方程求指数型加减速公式,可得到加速阶段运动公式为

$ \left\{\begin{array}{l} v=\frac{F_{\max }}{k_{\mathrm{f}}}\left(1-\mathrm{e}^{-t k_{\mathrm{f}} / m}\right), \\ a=\frac{F_{\max }}{m} \mathrm{e}^{-t k_{\mathrm{f}} / m}. \end{array}\right. $ (8)

减速阶段的运动公式为

$ \left\{\begin{array}{l} v=-\frac{F_{\max }}{k_{\mathrm{f}}}\left(1-\mathrm{e}^{-t k_{\mathrm{f}} / m}\right), \\ a=-\frac{F_{\max }}{m} \mathrm{e}^{-t k_{\mathrm{f}} / m}. \end{array}\right. $ (9)

力矩约束下的指数型加减速曲线如图 8所示。可以看出,在力矩约束下,最大运行速度显著提升,但是加速阶段位移、减速阶段位移依然具有相关性。通过图 8c可知,电机的驱动性能得到提高,但图 8b中位移中间阶段的切换时间未占据速度峰值区间,影响了电机的驱动效率的进一步增加。为了提高PMSTLM的驱动效率,引入加速距离lacc和减速特征参数u。其中u主要影响dmax,二者关系如下:

$ d_{\max }=\frac{F_{\mathrm{e}}}{u m}. $
图 8 力矩约束下的指数型加减速曲线

首先根据力矩约束,利用常微分方程数值求解指数型加减速公式,可以得到加速阶段,减速阶段的运动公式(8)和(9);通过设置$l_{\mathrm{acc}}$反求加速阶段的最大速度,运行时间;进而根据选定的$u$,来确定减速段的速度方程及位移,减速段的运动公式见式(10);通过加减速段位移之和与$l$的比较,来确定匀速段的运动情况,完成全行程速度规划。

$ \left\{\begin{array}{l} v=-\frac{F_{\max }}{k_{\mathrm{f}}}\left(1-\mathrm{e}^{-t k_{\mathrm{f}} / m}\right), \\ a=-\frac{F_{\max }}{u m} \mathrm{e}^{-t k_{\mathrm{f}} / m} \end{array}\right. $ (10)

由此,得到改进指数型加减速规划流程如图 9所示。

图 9 改进指数型加减速规划流程

2.3 能耗、切换时间的速度规划离散模型

为了实现中间位移段尽可能利用速度波峰,引入$l_{\text {acc }}$$u$,通过迭代搜索优化全行程能耗$E$和切换时间$\tau$

$ E(t)=\int_{0}^{t} I^{2} r_{\mathrm{s}} \mathrm{~d} t $

其中$I$为电流。为了定性分析$l_{\mathrm{acc}}$$u$$E$$\tau$之间的逻辑关系,本节建立能耗,切换时间的速度规划离散模型如图 10所示。

图 10 Eτ的速度规划离散模型

离散模型的整体趋势表明,能耗越小,其对应的切换时间越大,能耗与切换时间是一对互相矛盾的优化量。局部范围内,可以通过改变laccu,付出较小的切换时间代价,获得较高的能耗优化。

3 能耗、切换时间速度规划模型的多目标优化 3.1 能耗、切换时间的多目标优化

本文采用第二代非劣排序遗传算法(NSGA-Ⅱ) 对laccu进行求解。NSGA-Ⅱ引入快速非支配排序算法、精英策略和拥挤度比较算子,能够提高种群的多样性和优化结果的准确性。同时具有运行速度快、解集收敛性好等优点,在处理多目标优化问题时具有显著的优势。建立优化数学模型如下:

$ \min E, \tau \text {, } $

使用NSGA-Ⅱ进行优化计算,种群数量取12,进化代数取20,交叉指数取10,变异指数取20,交叉概率取0.95。虽然在全行程能耗中引入laccu降低了各参数的相关性,但是离散模型中往往存在奇点,即给定的一组优化参数不存在符合约束条件的优化结果。如果直接使用NSGA-Ⅱ,在进行迭代寻优时,往往会导致算法中断而失去寻优能力。因此需要建立连续的能耗、切换时间优化模型。

3.2 能耗、切换时间优化模型

本节利用速度规划中$l_{\mathrm{acc}}, ~ u$$E, ~ \tau$之间的映射关系,建立连续的能耗,切换时间优化模型,映射关系表达式如下:

$ \left\{\begin{array}{l} E=f_{1}\left(l_{\mathrm{acc}}, u\right), \\ \tau=f_{2}\left(l_{\mathrm{acc}}, u\right) . \end{array}\right. $ (11)

其中f1f2表示映射函数。根据改进指数加减速规划算法框图可知,该映射函数难以直接求解。因此,本节采用优化拉丁超立方试验设计,在laccu取值范围内抽取1 000组样本点,取其中745组有效值作为代理模型数据,利用最小二乘法拟合,得到能耗、切换时间优化模型。使用决定系数R2和均方根相对误差RMSE验证模型拟合精度。R2越接近1,RMSE越接近0,拟合精度越高。拟合精度结果见图 11,是以系统仿真结果为横坐标,以模型近似结果为纵坐标的样本点散点图。结果表明,R2非常接近于1,RMSE非常接近于0,散点均靠近中间对角线,说明能耗—切换时间速度规划模型拟合精度较高,能准确反映输入和输出之间的映射关系。

图 11 性能评估模型拟合精度

利用式(11),得到能耗、切换时间优化模型参数的近似表达式如式(12)所示;基于式(12),绘制Eτ的函数图像如图 12所示。

$ \left\{\begin{align*} E \approx & 3.14+369 l_{\mathrm{acc}}-8.42 u-1.75 \times 10^{4} l_{\mathrm{acc}}^{2}+10.3 u^{2}-234 l_{\mathrm{acc}} u+7.74 l_{\mathrm{acc}}^{3}-6.40 u^{3}-3.16 \times 10^{3} l_{\mathrm{acc}}^{2} u+ \\ & 211 l_{\mathrm{acc}} u^{2}-2.04 \times 10^{7} l_{\mathrm{acc}}^{4}+1.92 u^{4}+1.86 \times 10^{5} l_{\mathrm{acc}}^{3} u-329 l_{\mathrm{acc}}^{2} u^{2}-74.5 l_{\mathrm{acc}} u^{3}+2.17 \times 10^{8} l_{\mathrm{acc}}^{5}- \\ & 0.219 u^{5}-1.96 \times 10^{6} l_{\mathrm{acc}}^{4} u-2.02 \times 10^{4} l_{\mathrm{acc}}^{3} u^{2}+209 l_{\mathrm{acc}}^{2} u^{3}+9.02 l_{\mathrm{acc}} u^{4}, \\ \tau \approx & 56.2-6.17 \times 10^{3} l_{\mathrm{acc}}-5.35 u-4.52 \times 10^{5} l_{\mathrm{acc}}^{2}+3.59 u^{2}+767 l_{\mathrm{acc}} u-1.77 \times 10^{7} l_{\mathrm{acc}}^{3}-1.19 u^{3}- \\ & 4.13 \times 10^{4} l_{\mathrm{acc}}^{2} u-348 l_{\mathrm{acc}} u^{2}+3.62 \times 10^{8} l_{\mathrm{acc}}^{4}+0.209 u^{4}+1.00 \times 10^{6} l_{\mathrm{acc}}^{3} u+1.11 \times 10^{4} l_{\mathrm{acc}}^{2} u^{2}+ \\ & 65.3 l_{\mathrm{acc}} u^{3}-3.03 \times 10^{9} l_{\mathrm{acc}}^{5}-0.0154 u^{5}-9.28 \times 10^{6} l_{\mathrm{acc}}^{4} u-1.29 \times 10^{5} l_{\mathrm{acc}}^{3} u^{2}-746 l_{\mathrm{acc}}^{2} u^{3}-5.229 l_{\mathrm{acc}} u^{4} . \end{align*}\right. $ (12)
图 12 Eτ函数图像

能耗、切换时间优化模型表明:$l_{\text {acc }}$取越小,$u$取越大,则$E$越小;$l_{\mathrm{acc}}$取越大,$u$取越小,则$\tau$越小。连续的能耗、切换时间优化模型变化趋势基本与离散模型的一致。

3.3 多目标优化结果分析

基于3.2节的能耗、切换时间优化模型,使用NSGA-Ⅱ,得到由82组非劣解组成的Pareto前沿,如图 13所示。

图 13 能耗、切换时间的Pareto前沿

从Pareto前沿中提取4组较优解,如表 2所示。为了保证放疗质量和效率,本文将τ限制为20 ms。经比较,确定组别2作为最优的加减速规划,得到的规划结果如图 14所示。

表 2 Pareto前沿解
编号 lacc/mm u E/J τ/ms
1 21 1.49 1.986 20.013
2 23 2.16 1.821 20.000
3 23 1.97 1.869 19.910
4 25 1.38 2.140 19.662

图 14 最优加减速规划结果

图 14b可知,τ对应的中间位移段有效利用了速度波峰;同时由表 2可知,组别2的E相对较优。

3.4 实验对比验证

组别2的参数为最优加减速规划方式,因此将上述规划结果的位移进行插值后作为控制程序的指令。实验平台见图 15,包括PMSTLM、控制板卡、上位机、电源4部分。驱动器母线电压为48 V;位移传感器采用东芝公司生产的THS119霍尔传感器;控制器芯片为德州仪器公司的TMS320F28335,采样数据通过串口传输至上位机。

图 15 实验平台

实验中分别采用TSP和本文方法进行电机驱动,采样电流如图 16所示。可以看出,采用本文方法的电流波动幅度小于TSP的。

图 16 采样电流曲线

霍尔传感器采集的位移如图 17a所示,速度如图 17b所示。由图 17a可知,2种加减速规划的切换时间相同。由图 17b可以看出,本文方法的加速段和减速段呈现出不同于TSP的变加速趋势。

图 17 位移、速度曲线

全行程能耗值依据2.3节得到,能耗-位移关系曲线如图 18a所示。使用本文方法与TSP能耗之间的差值来定义能耗变化量ΔE,其与位移的关系曲线如图 18b所示。本文方法全行程能耗值为1.02 J,TSP全行程能耗值1.30 J,二者差值为0.28 J,本文方法全行程能耗降低了21.5%。

图 18 能耗、能耗变化量曲线

4 结论

本文提出了一种基于速度规划的多叶光栅直线电机能耗优化方法。首先引入动摩擦系数得到力矩边界,提出改进指数型加减速规划(IESP);然后引入加速距离、减速特性系数,建立能耗、切换时间的速度规划模型,使用NSGA-Ⅱ开展全行程能耗最小和切换时间最短的多目标优化。理论研究和实验验证表明,该方法能够通过选择合适的加速距离、减速特性系数,使得切换时间对应的中间位移段能够更有效地利用速度波峰;基于能耗、切换时间优化模型选择合适的优化参数,能够在保证切换时间满足多叶光栅性能的前提下降低能耗。

参考文献
[1]
ZHENG R S, ZHANG S W, ZENG H M, et al. Cancer incidence and mortality in China, 2016[J]. Journal of the National Cancer Center, 2022, 2(1): 1-9. DOI:10.1016/j.jncc.2022.02.002
[2]
BRAY F, LAVERSANNE M, WEIDERPASS E, et al. The ever-increasing importance of cancer as a leading cause of premature death worldwide[J]. Cancer, 2021, 127(16): 3029-3030. DOI:10.1002/cncr.33587
[3]
陈刘利, 吕军, 朱志强, 等. 医用动态多叶光栅技术的发展概述[J]. 医疗装备, 2023, 36(1): 156-161.
CHEN L L, LV J, ZHU Z Q, et al. A summary of technical development of medical dynamic multi-leaf collimator[J]. Medical Equipment, 2023, 36(1): 156-161. (in Chinese)
[4]
LI F, YE P Q, ZHANG H. Performance evaluation of a high-speed multileaf collimator in real-time IMRT delivery to moving targets[J]. Medical Physics, 2016, 43(3): 1401-1410. DOI:10.1118/1.4941952
[5]
ZHANG X, YE P Q, ZHANG H. Development and performance evaluation of a high-speed multi-leaf collimator[J]. Journal of Applied Clinical Medical Physics, 2017, 18(1): 96-106. DOI:10.1002/acm2.12026
[6]
张春雷. 快速成野光栅伺服系统位置检测及轨迹规划研究[D]. 北京: 清华大学, 2022.
ZHANG C L. Research on position detection and trajectory planning for high-speed multi-leaf collimator[D]. Beijing: Tsinghua University, 2022. (in Chinese)
[7]
张鲁宏. 直线电机驱动多叶光栅位置的冗余检测技术研究[D]. 北京: 清华大学, 2023.
ZHANG L H. Research on redundant detection technology for the position of fast multi-leaf collimator driven by linear motors[D]. Beijing: Tsinghua University, 2023. (in Chinese)
[8]
LU D B, OUYANG M G, GU J, et al. Optimal velocity control for a battery electric vehicle driven by permanent magnet synchronous motors[J]. Mathematical Problems in Engineering, 2014, 2014(1): 193960. DOI:10.1155/2014/193960
[9]
CHAKRABORTY D, VAZ W, NANDI A K. Optimal driving during electric vehicle acceleration using evolutionary algorithms[J]. Applied Soft Computing, 2015, 34: 217-235. DOI:10.1016/j.asoc.2015.04.024
[10]
VAZ W S, NANDI A K, KOYLU U O. A multiobjective approach to find optimal electric-vehicle acceleration: Simultaneous minimization of acceleration duration and energy consumption[J]. IEEE Transactions on Vehicular Technology, 2016, 65(6): 4633-4644. DOI:10.1109/TVT.2015.2497246
[11]
LI L F, LIU Q. Acceleration curve optimization for electric vehicle based on energy consumption and battery life[J]. Energy, 2019, 169: 1039-1053. DOI:10.1016/j.energy.2018.12.065
[12]
HUANG X Z, WANG Z, ZHANG Y W, et al. Temperature rise calculation and velocity planning of permanent magnet linear synchronous motor under trapezoidal speed[J]. CES Transactions on Electrical Machines and Systems, 2022, 6(3): 225-234. DOI:10.30941/CESTEMS.2022.00032
[13]
SUN W S, SI H Q, QIU J X, et al. Research on efficiency of permanent-magnet synchronous motor based on adaptive algorithm of fuzzy control[J]. Sustainability, 2024, 16(3): 1253. DOI:10.3390/su16031253
[14]
邓国发. 基于损耗模型观测器的永磁同步电机效率优化控制[D]. 长沙: 湖南大学, 2020.
DENG G F. Study on efficiency optimization control of PMSM based on loss model observer[D]. Changsha: Hunan University, 2020. (in Chinese)
[15]
YANG H Y, HUANG X Y, SHEN Q D, et al. A loss minimization control method for IPMSM drive system based on improved gradient descent algorithm[J]. IEICE Electronics Express, 2022, 19(7): 20220069. DOI:10.1587/elex.19.20220069
[16]
NAVRAPESCU V, POPESCU M, KISCK D O, et al. Modelling of iron losses in salient pole permanent magnet synchronous motors[C]//Proceedings of the 2007 7th Internatonal Conference on Power Electronics. Daegu, Korea (South): IEEE, 2007: 352-357.
[17]
SENJYU T, SHIMABUKURO T, UEZATO K. Vector control of synchronous permanent magnet motors including stator iron loss[C]//Proceedings of 1995 International Conference on Power Electronics and Drive Systems. Singapore: IEEE, 1995: 309-314.
[18]
ZHANG C M, GUO Q B, LI L Y, et al. System efficiency improvement for electric vehicles adopting a permanent magnet synchronous motor direct drive system[J]. Energies, 2017, 10(12): 2030. DOI:10.3390/en10122030
[19]
ALZAYED M, CHAOUI H, FARAJPOUR Y. Dynamic direct voltage MTPA current sensorless drives for interior PMSM-based electric vehicles[J]. IEEE Transactions on Vehicular Technology, 2023, 72(3): 3175-3185. DOI:10.1109/TVT.2022.3219763
[20]
LI K, WANG Y. Maximum torque per ampere (MTPA) control for IPMSM drives based on a variable-equivalent-parameter MTPA control law[J]. IEEE Transactions on Power Electronics, 2019, 34(7): 7092-7102. DOI:10.1109/TPEL.2018.2877740
[21]
LI C X, ZHANG W J, GAO J, et al. Permanent magnet flux linkage analysis and maximum torque per ampere (MTPA) control of high saturation IPMSM[J]. Energies, 2023, 16(12): 4717. DOI:10.3390/en16124717
[22]
ZANG B Q, CHEN Y G. Multiobjective optimization and multiphysics design of a 5 MW high-speed IPMSM used in FESS based on NSGA-Ⅱ[J]. IEEE Transactions on Energy Conversion, 2023, 38(2): 813-824. DOI:10.1109/TEC.2022.3226872
[23]
KALAIVANI L, SUBBURAJ P, IRUTHAYARAJAN M W. Speed control of switched reluctance motor with torque ripple reduction using non-dominated sorting genetic algorithm (NSGA-Ⅱ)[J]. International Journal of Electrical Power&Energy Systems, 2013, 53: 69-77.
[24]
YU Y Q, PAN Y, CHEN Q P, et al. Cogging torque minimization of surface-mounted permanent magnet synchronous motor based on RSM and NSGA-Ⅱ[J]. Actuators, 2022, 11(12): 379. DOI:10.3390/act11120379
[25]
GUAZZELLI P R U, DE ANDRADE PEREIRA W C, DE OLIVEIRA C M R, et al. Weighting factors optimization of predictive torque control of induction motor by multiobjective genetic algorithm[J]. IEEE Transactions on Power Electronics, 2019, 34(7): 6628-6638. DOI:10.1109/TPEL.2018.2834304
[26]
ZHANG X G, CAO Y H, ZHANG C G, et al. Model predictive control for PMSM based on the elimination of current prediction errors[J]. IEEE Journal of Emerging and Selected Topics in Power Electronics, 2024, 12(3): 2651-2660. DOI:10.1109/JESTPE.2024.3387428