# stm32_foc_2 **Repository Path**: flyinglab/stm32_foc_2 ## Basic Information - **Project Name**: stm32_foc_2 - **Description**: stm32_foc_2:stm32_foc的软件工程实践优化版 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 9 - **Created**: 2025-12-25 - **Last Updated**: 2025-12-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 【编译时请至少开启O2优化等级。】 本工程为stm32_foc的软件工程实践优化版,stm32_foc仓库地址:https://gitee.com/best_pureer/stm32_foc 在软件工程实践上stm32_foc_2具有更加合理高效的计算架构。最大转速提升20%,大幅降低旋转噪音,明显改善低速性能,纯速度环即可实现**超低速0.1RPM**(每10分钟转1圈,每秒转0.1弧度)。(低速需切换pid参数)。 必须先搞懂stm32_foc,然后再看stm32_foc_2,stm32_foc_2不再进行代码逐步实现的解答。 文档: https://blog.csdn.net/qq570437459/category_12672491 适配硬件: https://item.taobao.com/item.htm?ft=t&id=839302894720 ![适配硬件](https://img.alicdn.com/imgextra/i2/1814409322/O1CN01u60kVA2IjX94sPwtE_!!1814409322.png)foc 板子不提供5V输出,防止损坏电脑USB口,供电方式为DC12V、右侧5V(若搭配本项目daplink,插typec即可供电5V)。