KMS Clearable and Nonclearable Faults - The One's We Don't Have Access To

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KMS Clearable and Nonclearable Faults - The One's We Don't Have Access To

828 Views
derekcook
Senior Contributor I

Hello, 

I had a question about a few of the KMS faults I cannot find in the sensored or sensorless velocity projects, and the Reference Manual does not give me a very good description of these faults. I am using my own hardware, not the development kit, so if some of these faults don't apply with my own hardware please let me know. If you could tell me or point me to where to find the threshold for the faults, what the faults are, and are triggered by. I need to test for each of the faults in my system, if possible, and need to know the thresholds for each, and have a good understanding on how each is set.

These are the faults I cannot find in my project that I may need to test for:

  1. motOpenPhaseA - I know these are open phase, but would like to know how that is determined
  2. motOpenPhaseB
  3. motOpenPhaseC
  4. motImbPhaseA - I know these mean imbalanced phase but would like to know how that is determined
  5. motImbPhaseB
  6. motImbPhaseC
  7. motOverTemp - I don't pass this to KMS, so will this be unused?
  8. commsFault - Is this only used with the GUI?
  9. preDriverLowVoltageSupply
  10. preDriverDCBusOverCurrent
  11. preDriverPhaseError
  12. preDriverTemp

Faults I maybe cannot test for, but just would like to know how they are triggered:

  1. fastISRReentered - Is this triggered by maybe a fast ISR overrun case where you reenter the ISR when you still haven't finished the ISR task?
  2. slowIsrReentered - is this another overrun type fault?
  3. ramFault - Not enough ram?
  4. flashFault - Not enough Flash?
  5. regFault
  6. clkFault
  7. isrFault

Thanks for the help!

Labels (1)
0 Kudos
4 Replies

644 Views
linestream-adam
Senior Contributor I

Derek,

All of the faults in KMS are tested for in open code. Most of the faults you have called out are not implemented, the notable exception is the preDriver* faults. They are called out in the header files to reserve the space for future functionality (or if customers want to implemented the fault on their own). 

The preDriver* faults are implemented but only in the TWR projects since it's predriver chip reports that fault information back to KMS. 

644 Views
derekcook
Senior Contributor I

Thanks Adam, so the faults I listed, such as the motor imbalance or open phase are not implemented? 

That is all I was checking.

0 Kudos

644 Views
linestream-adam
Senior Contributor I

The following faults are not implemented:

  • motOpenPhaseA
  • motOpenPhaseB
  • motOpenPhaseC
  • motImbPhaseA
  • motImbPhaseB
  • motImbPhaseC
  • motOverTemp
  • commsFault
  • preDriverLowVoltageSupply (FRDM & HVP only; implemented on TWR)
  • preDriverDCBusOverCurrent (FRDM & HVP only; implemented on TWR)
  • preDriverPhaseError (FRDM & HVP only; implemented on TWR)
  • preDriverTemp (FRDM & HVP only; implemented on TWR)

  • fastISRReentered
  • slowIsrReentered
  • ramFault
  • flashFault
  •  regFault
  •  clkFault
  • isrFault

644 Views
derekcook
Senior Contributor I

Thanks Adam

0 Kudos