The main SW configuration is shown as follows:
- System initialization: The main control MCU powers on and initializes UCC5880, enables SPI communication, sets the chip to configuration mode.
- Parameter configuration: Configure DESAT detection threshold, ADC sampling parameters, fault blanking time and fault latch enable through SPI.
- Detection loop startup: UCC5880 turns on DESAT detection loop, applies weak detection voltage, and waits for voltage signal stabilization.
- Voltage sampling and judgment: The built-in ADC samples DESAT pin voltage and compares it with the preset threshold:
- Sampling voltage > failure threshold: IGBT module is normal.
- Sampling voltage ≤ failure threshold: IGBT module has short-circuit failure.
- Fault handling:
- If normal, exit configuration mode and the system can start normally;
- If failed, latch the fault and upload fault signal.
- Fault reset: If the fault disappears, the MCU sends a reset command through SPI to clear the fault latch and execute the detection process again.