# boost PFC **Repository Path**: hilbertw/boost-pfc ## Basic Information - **Project Name**: boost PFC - **Description**: A classic single-switch boost PFC with a diode-bridge front end - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-22 - **Last Updated**: 2026-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # STM32 Single-Phase Boost PFC Controller A digital control firmware for a single-phase **classic boost Power Factor Correction (PFC)** rectifier, targeting the **STM32F10x** family (STM32F103, Cortex-M3 @ 72 MHz) using the STM32 Standard Peripheral Library. > **⚠️ PROJECT STATUS: DEVELOPMENT — DO NOT DEPLOY** > This firmware compiles but contains known functional and safety defects > (see [Known Issues](#-known-issues--safety-warnings)). It is intended for > bench development and unit testing only. **Do not connect it to mains > or a high-voltage DC bus until the issues in the safety section are > resolved.** --- ## 📖 Overview This project implements a **cascaded control loop** for a boost PFC stage: - **Outer voltage loop** — regulates the 400 V DC bus by producing a current-reference amplitude. - **Inner current loop** — forces the inductor current to track a sinusoidal reference that is phase-locked to the grid voltage. - **Software PLL** — tracks the grid phase and frequency from the sampled input voltage. - **Protection layer** — over-voltage, under-voltage, over-current, and over-temperature monitoring. The converter is a **classic single-switch boost PFC with a diode-bridge front end**, *not* a totem-pole / bridgeless topology. See [Topology](#-topology) below for the reasoning. --- ## ⚡ Topology