发明名称 基于FPGA实现的电子节气门模型预测控制系统
摘要 一种基于FPGA实现的电子节气门模型预测控制系统,属于汽车电子技术领域。本发明的目的是提供一种不仅可以很好地满足节气门的控制需求,而且还能够在线灵活裁减、扩充、升级,克服了目前现有电子节气门电控系统不足的基于FPGA实现的电子节气门模型预测控制系统。本发明的步骤是:模型预测控制器的设计、控制系统的FPGA实现。本发明设计了节气门的先进模型预测控制器,约束优化问题的成功描述解决了节气门快速准确跟踪的多目标约束控制问题,达到了很好的控制效果。基于FPGA实现的模型预测控制系统,能够方便的在线进行升级、扩充、维护,延长了产品生命周期,降低了开发、维护成本,且相对于单片机等实现的控制系统,FPGA实现的控制系统抗干扰能力更强,且更容易产品化,完成专用的控制芯片的设计。
申请公布号 CN105114189A 申请公布日期 2015.12.02
申请号 CN201510310726.X 申请日期 2015.06.09
申请人 吉林大学 发明人 许芳;梅钦;季冬冬;陈虹;许月亭
分类号 F02D9/08(2006.01)I 主分类号 F02D9/08(2006.01)I
代理机构 吉林长春新纪元专利代理有限责任公司 22100 代理人 白冬冬
主权项 一种基于FPGA实现的电子节气门模型预测控制系统,其特征在于:a、模型预测控制器的设计:(1)预测模型:根据电子节气门机械结构建立节气门数学模型的状态方程如下所示:<img file="450914dest_path_image001.GIF" wi="613" he="184" /><img file="675222dest_path_image002.GIF" wi="480" he="88" />(1)式中<img file="563151dest_path_image003.GIF" wi="30" he="45" />、<img file="847501dest_path_image004.GIF" wi="41" he="36" />表示的是节气门开度,<img file="322345dest_path_image005.GIF" wi="24" he="41" />为节气门转速,<img file="84765dest_path_image006.GIF" wi="27" he="41" />为电机扭矩常数,<img file="328664dest_path_image007.GIF" wi="39" he="42" />为电源电压,<img file="783916dest_path_image008.GIF" wi="27" he="30" />为减速齿轮组传动比,<img file="746056dest_path_image009.GIF" wi="33" he="41" />为折算到电机侧的转动惯量,<img file="312167dest_path_image010.GIF" wi="33" he="45" />为电机电阻,<img file="912038dest_path_image011.GIF" wi="33" he="54" />为弹簧弹性系数,<img file="538191dest_path_image012.GIF" wi="27" he="45" />为节气门静态开度,<img file="987627dest_path_image013.GIF" wi="53" he="48" />为弹簧预紧力矩系数,<img file="91849dest_path_image014.GIF" wi="39" he="33" />为滑动摩擦系数,<img file="310341dest_path_image015.GIF" wi="35" he="53" />为电机扭矩常数,<img file="169712dest_path_image016.GIF" wi="27" he="45" />为电机反电动势常数,<img file="778548dest_path_image017.GIF" wi="36" he="44" />为库伦摩擦系数;将电子节气门的数学模型转换为线性的增量模型如下所示:<img file="512893dest_path_image018.GIF" wi="552" he="201" />(2);定义模型的控制时域为<i>m</i>,预测时域为<i>p</i>,同时满足<img file="523574dest_path_image019.GIF" wi="83" he="36" />,可以推导出系统未来<i>p</i>步的输出预测方程:<img file="491530dest_path_image020.GIF" wi="528" he="36" />(3)其中<img file="649979dest_path_image021.GIF" wi="33" he="51" />,<img file="96004dest_path_image022.GIF" wi="29" he="30" />,<img file="289088dest_path_image023.GIF" wi="24" he="32" />,<img file="427945dest_path_image024.GIF" wi="27" he="44" />是相应维数的系统预测常值矩阵;(2)优化问题描述:电子节气门位置跟踪控制的问题描述为如下的约束优化问题:<img file="11373dest_path_image025.GIF" wi="598" he="75" /><img file="323406dest_path_image026.GIF" wi="455" he="80" />(4)满足约束条件<img file="308679dest_path_image027.GIF" wi="361" he="184" />(5)上式(4)中等式右边第一项是对保证节气门开度<i>y</i>快速地跟踪上期望给定值<i>r</i>的数学描述;(4)式中等式右边第二项是确保控制动作的平顺性希望控制动作的变化率<img file="182220dest_path_image028.GIF" wi="48" he="32" />不要过大的数学描述,属于软约束,T<i><sub>y</sub></i>和T<i><sub>u</sub></i>为加权矩阵;式(5)是节气门的物理约束的数学描述,属于硬约束;(3)优化问题求解:MPC的优化问题式(4)、式(5)转换成如下形式的QP问题进行求解:<img file="252944dest_path_image029.GIF" wi="565" he="65" />(6)满足<img file="368667dest_path_image030.GIF" wi="358" he="71" />(7)(4)内点法的求解步骤为:①选取初始点<img file="208447dest_path_image031.GIF" wi="132" he="48" />,其中<img file="751424dest_path_image032.GIF" wi="156" he="42" />,取小于1且接近1的正数<img file="43865dest_path_image033.GIF" wi="14" he="12" />和<img file="963280dest_path_image034.GIF" wi="140" he="42" />;②计算下式:<img file="657566dest_path_image035.GIF" wi="528" he="105" />(8)得到<img file="309127dest_path_image036.GIF" wi="135" he="32" />;③解方程<img file="915296dest_path_image037.GIF" wi="516" he="100" />(9)得到<img file="310505dest_path_image038.GIF" wi="87" he="35" />;④计算式子<img file="921615dest_path_image039.GIF" wi="359" he="51" />得到<img file="9657dest_path_image040.GIF" wi="54" he="33" />,由此得到搜索方向<img file="276690dest_path_image041.GIF" wi="255" he="57" />,根据式<img file="272328dest_path_image042.GIF" wi="408" he="102" />得到搜索的步长参数<img file="941207dest_path_image043.GIF" wi="33" he="39" />;⑤令<img file="888565dest_path_image044.GIF" wi="348" he="153" />(10)更新<img file="dest_path_image045.GIF" wi="123" he="36" />的值;⑥计算终值条件<img file="439632dest_path_image046.GIF" wi="185" he="50" />;(5)结合内点算法和预测控制,得到约束预测控制的算法流程:①设置预测时域<i>p</i>及控制时域<i>m</i>,初始化MPC与IPM相关参数;②给定期望轨迹,在<img file="dest_path_image047.GIF" wi="92" he="36" />时刻,得到算法输入值<img file="442223dest_path_image048.GIF" wi="93" he="44" />、<img file="dest_path_image049.GIF" wi="96" he="51" />,<img file="27925dest_path_image050.GIF" wi="71" he="51" />,<img file="dest_path_image051.GIF" wi="92" he="42" />,<img file="753043dest_path_image052.GIF" wi="81" he="57" />,计算<img file="dest_path_image053.GIF" wi="156" he="45" />、<img file="56985dest_path_image054.GIF" wi="158" he="51" />、<img file="dest_path_image055.GIF" wi="138" he="45" />;③通过IPM求解优化问题,得到优化控制序列及控制增量<img file="660005dest_path_image056.GIF" wi="384" he="51" />,并将控制增量作用到系统;④在k+1时刻,令k=k+1,返回第②步;b、控制系统的FPGA实现:采用基于FPGA的硬件实现方案来进行MPC控制系统的设计,其中FPGA选用的是Altera的Stratix Ⅲ系列的EP3SL150F1152C2N;节气门控制系统的FPGA开发流程是:首先在MATLAB中进行MPC算法的离线仿真验证,并对算法耗时计算过程进行分析,然后,将控制系统进行模块划分,时钟模块采用时钟锁相环实现,求解模块借助综合工具生成硬件描述语言,数据处理模块和接口模块手动编写硬件描述语言代码,各个模块设计完成之后,分别进行 ModelSim 功能仿真验证,如果控制器的功能不正确,则对硬件代码进行修改,直至功能正确,验证通过后,通过写一个顶层文件将所有模块集成,然后进行编译综合、布局布线,最后在FPGA中进行控制系统的板级验证。
地址 130012 吉林省长春市人民大街5988号
您可能感兴趣的专利