首页> 外国专利> METHOD FOR THE REALISTIC ESTIMATION OF FUNCTION RUN TIMES IN PIL SIMULATION

METHOD FOR THE REALISTIC ESTIMATION OF FUNCTION RUN TIMES IN PIL SIMULATION

机译:桩仿真中功能运行时间的真实估计方法

摘要

The invention relates to a method and device for determining a run time that is needed by a function of a control program for a control unit in a real-time system, executed on a target processor in a processor-in-the-loop (PIL) simulation, wherein the method includes the creation or loading of a graphical development model of the control unit in(to) a development environment, wherein the graphical development model maps the functionality of the control unit using function blocks or function symbols in the graphical development model; selection of at least one function block or function symbol within the graphical development model, particularly selection of a function block or function symbol via a graphical user interface; and automatic generation of the control program for execution on the target processor in accordance with the graphical development model, wherein the control program includes the function which maps the functionality of the selected function block or function symbol. Furthermore, a first run time measuring point associated with the start of the function and a second run time measuring point associated with the end of the function in the control program are inserted into the control program, and the cache of the target processor used for executing the function is put into a predetermined state directly prior to the first run time measuring point, and run time values from which the run time is determined are measured during the execution of the control program on the target processor at the first and second run time measuring points.
机译:本发明涉及一种用于确定实时系统中的控制单元的控制程序的功能所需的运行时间的方法和设备,该运行时间在循环中处理器(PIL)的目标处理器上执行)仿真,其中该方法包括在开发环境中创建或加载控制单元的图形开发模型,其中图形开发模型使用图形开发中的功能块或功能符号来映射控制单元的功能模型;在图形开发模型内选择至少一个功能块或功能符号,特别是通过图形用户界面选择功能块或功能符号;以及根据图形开发模型自动生成用于在目标处理器上执行的控制程序,其中,控制程序包括映射所选择的功能块或功能符号的功能的功能。此外,在控制程序中插入与功能的开始相关的第一运行时间测量点和与功能的结束相关的第二运行时间测量点,并且目标处理器的高速缓存用于执行该功能直接在第一运行时间测量点之前进入预定状态,并在目标处理器上执行控制程序时,在第一和第二运行时间测量时测量确定运行时间的运行时间值点。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号