
Proprietary
21
DMOC445 Manual and Operating Instructions
5. Finite State Machines (FSM)
Most of the DMOC modes of operation are handled by finite state machines (FSM). The states of the
individual FSM are represented by variables which can be viewed using ccShell. FSMs exist both at the
core level and the application level. Please refer to the application specific documentation for information
regarding the application FSM. At the core level, two FSMs are the most noteworthy: the Relay FSM and
the Power stage FSM.
The Relay FSM handles the pre-charge of the DMOC (if present).
FSM Variable:
ISR2RelayState
State Name
Description
0 RELAY_OFF
Relay
open
1
RELAY_CLOSING
Relay closing and debouncing
2 RELAY_ON
Relay
is
closed
3
RELAY_FAULT
Low 12/24V supply or mechanical problem
The Power stage FSM handles the enabling and disabling of the power switches (IGBTs). During regular
operation the power stage state should be either disabled or enabled.
FSM Variable:
ISR2PowerStageState
State Name
Description
0
POWER_STAGE_POWERUP
Power stage is off
1
POWER_STAGE_DISABLED
Power stage is disabled, but ready to operate
2
POWER_STAGE_ENABLED
Power stage is enabled and IGBTs are switching
3 POWER_STAGE_FAULT
Power stage faulted and will stay in this state until
fault is acknowledged by system controller
4 POWER_STAGE_FAULT_ACKN
Temporary
state after fault has been acknowledged
5 POWER_STAGE_CRITICAL_FAULT
Power stage is in critical fault state (which can not
be cleared by software)
Содержание DMOC445
Страница 10: ...Proprietary 10 DMOC445 Manual and Operating Instructions 1 FIGURE 2 FIGURE...
Страница 11: ...Proprietary 11 DMOC445 Manual and Operating Instructions 3 FIGURE 4 FIGURE...
Страница 12: ...Proprietary 12 DMOC445 Manual and Operating Instructions 5 FIGURE 6 FIGURE...
Страница 13: ...Proprietary 13 DMOC445 Manual and Operating Instructions 7 FIGURE...