Application Development
4. With “Fuel Map Export Data” active, save the file as a comma delimited file with the extension <my fuel
map>.csv. This will put the active worksheet into a file that contains only the fuel data separated by commas.
When saving this file as a “.csv”, many warnings will be presented. Most of these warnings will indicate that the
new file format does not support multiple worksheets. Read these warnings and select the option that saves the
active worksheet and continues with the operation.
5. The “.csv” file will need one specific alteration. Open the fuel map <my fuel map>.csv using a text based editor,
such as WordPad. At the end of each row of data, add a comma after the last data value, excluding the last row.
Save the file. The data can now be copied and pasted into the Application Map.c file of the Sea Breeze Emulator
Software in the fuel data array. Choose the array that fits your data type as configured in the map tool and the
application header file.
6. Repeat steps 1 through 5 for spark map data.
Additionally, information regarding the size of the table and the actual values of for each of the load and
RPM values must be put into the Application Map.c file. The same process used for the table data can be
used for the load and RPM values using specific export tabs and above procedure provided. The number
of load and RPM points for the fuel and spark arrays must be put into the Application Map.h file. It is up
to the user to ensure the table is sized properly for the data that is input into the actual map. Errors in the
size of the data tables or the data used for each load or RPM value will result in an improper table look
up procedure, which may result in random data used to create fuel and spark events. Use the demo
application as a guide if there is doubt in your procedure.
4.2.7
24
Working with the Example Application
The demo application is based on a simple application state machine (ASM) for engine control. This state
machine executes in the User_Management() task and can be found in the User_Management.c file. A
combination of user controls and engine operating parameters are used to control the states of the
application. The five states of the ASM are: INIT, STOP, START, RUN, and OVERRUN. A function call is
provided for transitioning to each state. This allows a more controlled engine operating mode when
changing states.
Description of User Management States
INIT
This state provides a known configuration of the User Management task and should be configured as the
initial state using User_Management_Init(). Variables for User Management should be initialized and any
essential activity that is necessary to be performed prior to operating in any other state should be done
in the INIT state. Once this activity completes, the ASM should transition to the STOP state where the
periodic activity begins. Optionally, if a major system error occurred, the user may find it necessary to
return to this state.
STOP
In this state, the engine has been decided to be stopped from rotating or running. System inputs such as
switches would typically cause the application to enter the STOP state. The application should configure
any outputs or controllers to match this request to stop the engine and remain in this state until the inputs
reflect going to an active engine state.
START
As provision for a slowly rotating engine or in preparation for the engine to begin rotating, the START state
allows the application to initialize engine controls for an active mode. This state is maintained as long as
the engine stays below a minimum speed, identified in the User Management header file as the stall
speed. Additionally, the same system inputs that allowed the exit of the STOP state must be present or a
transition to the STOP state would occur.
Freescale Semiconductor
相关PDF资料
KIT33812EKEVBE BOARD EVALUATION FOR MC33812
KIT33879AEKEVBE BOARD EVALUATION FOR MC33879
KIT33880DWBEVB KIT EVAL FOR MC33880 8X SW W/SPI
KIT33886DHEVB KIT EVAL FOR MC33886 H-BRIDGE
KIT33887EKEVBE BOARD EVALUATION FOR MC33887
KIT33887PNBEVB KIT EVAL 33887 5A H-BRIDGE PQFN
KIT33905D5EKEVBE KIT EVALUATION FOR MC33905
KIT33912EVME KIT EVALUATION FOR MC33912
相关代理商/技术参数
KIT33812ECUEVME 制造商:Freescale Semiconductor 功能描述:Small Engine Control Reference Design
KIT33812EKEVBE 功能描述:电源管理IC开发工具 INTEGRATED DUAL LOW & HI RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33813AEEVBE 功能描述:电源管理IC开发工具 2 Cylinder Small Engine RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33814AEEVBE 功能描述:交换机 IC 开发工具 2 Cylinder Small Engine RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:USB Power Switches 工具用于评估:MAX4984E 工作电源电压:2.8 V to 5.5 V
KIT33816AEEVM 功能描述:电源管理IC开发工具 Engine Control Module RoHS:否 制造商:Freescale Semiconductor 产品: 类型: 工具用于评估: 输入电压: 输出电压:
KIT33879AEKEVBE 功能描述:电源管理IC开发工具 CONFIGURABLE OCTAL RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33880DWBEVB 功能描述:电源管理IC开发工具 33880DWB COSS KIT RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V
KIT33883DWEVB 功能描述:KIT EVAL FOR MC33883 PRE-DRIVER RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP