// the find
hieunguyenvd/Cascaded-Boost-Converter-and-3-Phase-Drive-Inverter-Control-Design-for-E-bike-application
Embedded C Implementation on C2000 MCU for Multistage Power Converter Control Design for E-bike application including faster inner-loop current and slower outer-loop voltage PI controller for the 1st-stage Boost Converter and DQ torque controller for 2nd-stage 3-Phase Drive Inverter
A TI C2000 (TMS320F28P55x) firmware project for the power stage of an e-bike: a boost converter with a faster inner current loop and a slower outer voltage loop, feeding a 3-phase inverter under DQ torque control. It is most useful to someone building motor-control firmware on C2000 who wants a concrete example of cascaded PI loops.
- Controller logic is split into pi_controller, dq_controller and hall_estimator modules, so each stage of the cascade can be read and reasoned about separately.
- Separate RAM and flash linker command files let the same sources be debugged from RAM and then burned to flash without touching the code.
- A hall_estimator module means rotor position comes from hall sensors, which is an easier first bring-up than a sensorless observer on a new drive.
- Build artifacts are committed: .obj, .d, .map, .out and linkInfo.xml files sit in CPU1_RAM/, and they will drift from the sources the next time anyone builds.
- Several final images (failed_motor_code.out, starter_code_v4_motorcontrol.out, boost_motor_drive.out) sit side by side with no visible marker for the working build. The names read like a lab notebook, not a release.
- The listing shows no README, so the hardware assumptions (PWM frequency, dead time, current sensing, DC bus range) are only recoverable by reading the C. Adopting this without that context will be slow.