100us pwm interrupt
1ms pit interrupt
This text file is for TaskControls folder
System flow is like below:
1.ECU STATE --(1)--> 2.System(Motor) State --(2)---|
|
|-Torque_target-->| |
|--Speed_target-->| v
4.Work State-| |--(3)--> 3.PowerStageControl --(6)-->|
|--id/iq_target-->| ^ |
|---6PWM_target-->| | |
--(7)----| |
| |-- 11.& --> PWM Output
5.Torque Monitor-->| | |
6.High Voltage Monitor-->|--(4)--> 8.Fault Detection --(5)-->| | |
7.Heat Monitor-->| | | |
|-- 10.Fault Reaction/Management -->(6)-->|
9.HW Fault Detection --(5)-->|
new:
1.Reset <-----(4)--------|
| | |
(1) |---(2)---> 3.Bootloader Mode
| ^
| |
v (3)
2.System Initialization -----------|
|
| |------(8)----> 7.Fault Mode
(5) | |
| | |-------(9)-----|
v | v
4.Standby Mode & LV Diagnostic ----(10)-----|
^ | ^ |
| (6) | v
(7) | |-----(11)------ 5.Sleep Mode
| v
6.HV_Power Mode & Diagnostic
评论7
最新资源