ZHCSUG4A January 2024 – May 2024 MCF8315C-Q1
PRODUCTION DATA
表 7-29 列出了 Internal_Algorithm_Configuration 寄存器的存储器映射寄存器。表 7-29中未列出的所有寄存器偏移地址都应视为保留的位置,并且不应修改寄存器内容。
复杂的位访问类型经过编码可适应小型表单元。表 7-30 展示了适用于此部分中访问类型的代码。
访问类型 | 代码 | 说明 |
---|---|---|
读取类型 | ||
R | R | 读取 |
写入类型 | ||
W | W | 写入 |
复位或默认值 | ||
-n | 复位后的值或默认值 |
图 7-23 展示了 INT_ALGO_1,表 7-31 中对此进行了介绍。
返回到表 7-29。
用于配置内部算法参数的寄存器 1
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | ACTIVE_BRAKE_SPEED__DELTA_LIMIT_EXIT | SPEED_PIN_GLITCH_FILTER | FAST_ISD_EN | ISD_STOP_TIME | |||
R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
ISD_RUN_TIME | ISD_TIMEOUT | AUTO_HANDOFF_MIN_BEMF | BRAKE_CURRENT_PERSIST | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
BRAKE_CURRENT_PERSIST | MPET_IPD_CURRENT_LIMIT | MPET_IPD_FREQ | MPET_OPEN_LOOP_CURRENT_REF | ||||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
MPET_OPEN_LOOP_SPEED_REF | MPET_OPEN_LOOP_SLEW_RATE | REV_DRV_OPEN_LOOP_DEC | |||||
R/W-0h | R/W-0h | R/W-0h | |||||
位 | 字段 | 类型 | 复位 | 说明 |
---|---|---|---|---|
31 | RESERVED | R | 0h | 保留 |
30-29 | ACTIVE_BRAKE_SPEED__DELTA_LIMIT_EXIT | R/W | 0h | 最终速度和当前速度之间的差值,低于该差值将停止主动制动 0h = 2.5% 1h = 5% 2h = 7.5% 3h = 10% |
28-27 | SPEED_PIN_GLITCH_FILTER | R/W | 0h | 应用于速度引脚输入的干扰滤波器 0h = 无干扰滤波器 1h = 0.2µs 2h = 0.5µs 3h = 1.0µs |
26 | FAST_ISD_EN | R/W | 0h | 在 ISD 期间启用快速速度检测 0h = 禁用快速 ISD 1h = 启用快速 ISD |
25-24 | ISD_STOP_TIME | R/W | 0h | 声明电机已停止的持续时间 0h = 1ms 1h = 5ms 2h = 50ms 3h = 100ms |
23-22 | ISD_RUN_TIME | R/W | 0h | 声明电机正在运行的持续时间 0h = 1ms 1h = 5ms 2h = 50ms 3h = 100ms |
21-20 | ISD_TIMEOUT | R/W | 0h | ISD 无法可靠地检测速度或方向时的超时 0h = 500ms 1h = 750ms 2h = 1000ms 3h = 2000ms |
19-17 | AUTO_HANDOFF_MIN_BEMF | R/W | 0h | 切换的最小 BEMF 0h = 0mV 1h = 50mV 2h = 100mV 3h = 250mV 4h = 500mV 5h = 1000mV 6h = 1250mV 7h = 1500mV |
16-15 | BRAKE_CURRENT_PERSIST | R/W | 0h | 低侧制动期间电流低于阈值的持续时间 0h = 50ms 1h = 100ms 2h = 250ms 3h = 500ms |
14-13 | MPET_IPD_CURRENT_LIMIT | R/W | 0h | MPET 的 IPD 电流限制 0h = 0.0625A 1h = 0.3125A 2h = 0.625A 3h = 1.25A |
12-11 | MPET_IPD_FREQ | R/W | 0h | 针对 MPET 执行 IPD 的次数 0h = 1 1h = 2 2h = 4 3h = 8 |
10-8 | MPET_OPEN_LOOP_CURRENT_REF | R/W | 0h | MPET 开环电流基准 0h = 0.625A 1h = 1.25A 2h = 1.875A 3h = 2.5A 4h = 3.125A 5h = 3.75A 6h = 4.375A 7h = 5A |
7-6 | MPET_OPEN_LOOP_SPEED_REF | R/W | 0h | MPET 开环速度基准(占 MAX_SPEED 的百分比) 0h = 15% 1h = 25% 2h = 35% 3h = 50% |
5-3 | MPET_OPEN_LOOP_SLEW_RATE | R/W | 0h | MPET 开环压摆率 0h = 0.1Hz/s 1h = 0.5Hz/s 2h = 1Hz/s 3h = 2Hz/s 4h = 3Hz/s 5h = 5Hz/s 6h = 10Hz/s 7h = 20Hz/s |
2-0 | REV_DRV_OPEN_LOOP_DEC | R/W | 0h | 在反向驱动开环减速期间要应用的开环加速度百分比 0h = 50% 1h = 60% 2h = 70% 3h = 80% 4h = 90% 5h = 100% 6h = 125% 7h = 150% |
图 7-24 展示了 INT_ALGO_2,表 7-32 中对此进行了介绍。
返回到表 7-29。
用于配置内部算法参数的寄存器 2
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | RESERVED | ||||||
R-0h | R-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | CL_SLOW_ACC | ||||||
R-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CL_SLOW_ACC | ACTIVE_BRAKE_BUS_CURRENT_SLEW_RATE | MPET_IPD_SELECT | MPET_KE_MEAS_PARAMETER_SELECT | IPD_HIGH_RESOLUTION_EN | |||
R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
位 | 字段 | 类型 | 复位 | 说明 |
---|---|---|---|---|
31 | RESERVED | R | 0h | 保留 |
30-10 | RESERVED | R | 0h | 保留 |
9-6 | CL_SLOW_ACC | R/W | 0h | 估算器尚未完全对齐时的闭环加速 0h = 0.1Hz/s 1h = 1Hz/s 2h = 2Hz/s 3h = 3Hz/s 4h = 5Hz/s 5h = 10Hz/s 6h = 20Hz/s 7h = 30Hz/s 8h = 40Hz/s 9h = 50Hz/s Ah = 100Hz/s Bh = 200Hz/s Ch = 500Hz/s Dh = 750Hz/s Eh = 1000Hz/s Fh = 2000Hz/s |
5-3 | ACTIVE_BRAKE_BUS_CURRENT_SLEW_RATE | R/W | 0h | 主动制动期间的总线电流压摆率 0h = 10A/s 1h = 50A/s 2h = 100A/s 3h = 250A/s 4h = 500A/s 5h = 1000A/s 6h = 5000A/s 7h = 无限制 |
2 | MPET_IPD_SELECT | R/W | 0h | 在用于 IPD 电流限制的 MPET_IPD_CURRENT_LIMIT、用于 IPD 重复的 MPET_IPD_FREQ 或用于 IPD 电流限制的 IPD_CURR_THR、用于 IPD 重复的 IPD_REPEAT 之间进行选择 0h = 为电机正常运行配置的参数 1h = 特定于 MPET 的参数 |
1 | MPET_KE_MEAS_PARAMETER_SELECT | R/W | 0h | 在用于压摆率的 MPET_OPEN_LOOP_SLEW_RATE、用于电流基准的 MPET_OPEN_LOOP_CURR_REF、用于速度基准的 MPET_OPEN_LOOP_SPEED_REF 或用于压摆率的 OL_ACC_A1、OL_ACC_A2、用于电流基准的开环电流基准和用于速度基准的开环到闭环速度阈值之间进行选择 0h = 为电机正常运行配置的参数 1h = 特定于 MPET 的参数 |
0 | IPD_HIGH_RESOLUTION_EN | R/W | 0h | 启用 IPD 高分辨率 0h = 禁用 1h = 启用 |