【E287】基于STM32F103的三相电机控制程序

2021-08-18 08:14:18      索炜达电子      414     

项目编号:E287

文件大小:39M

源码说明:带中文注释

开发环境:C编译器

简要概述:

本工程师基于STM32**官方2.0电机库**基础上适配BLDC电机的无霍尔控制程序,

使用TIM1的六路互补PWM输出控制,控制方式为正弦波控制,相比于方波控制输出更加平稳,但是输出功率没有方波高,适用于对稳定性要求较高的BLDC控制应用,

程序使用三相电流采样、反电势换相、电流电压保护,按键调节转速等参数,PID、过压、过流等参数的修改请参照官方2.0电机库修改相应的宏定义即可,手册也在文件中!

目录│文件列表:

 └ No_Hall_Bldc_FOC_Stm32

    │ readme.md

    │ 电机库用户手册.pdf

    └ BLDC PMSM2 - 1

       │ PARK231.fhg

       ├ BLDC PMSM2

       │  │ 42JSF630.fhg

       │  │ comment.em

       │  │ stm32f10x_conf.h

       │  │ stm32f10x_it.c

       │  │ stm32f10x_it.h

       │  │ Untitled Project.IAB

       │  │ Untitled Project.IAD

       │  │ Untitled Project.IMB

       │  │ Untitled Project.IMD

       │  │ Untitled Project.PFI

       │  │ Untitled Project.PO

       │  │ Untitled Project.PR

       │  │ Untitled Project.PRI

       │  │ Untitled Project.PS

       │  │ Untitled Project.SearchResults

       │  │ Untitled Project.WK3

       │  │ version.txt

       │  ├ EWARM

       │  │  │ cortexm3_macro.s

       │  │  │ STM32F10x_FLASH.icf

       │  │  │ stm32f10x_flash_extsram.icf

       │  │  │ stm32f10x_nor.icf

       │  │  │ stm32f10x_ram.icf

       │  │  │ stm32f10x_vector.c

       │  │  │ STM32_FOC_PMSM.ewd

       │  │  │ STM32_FOC_PMSM.ewp

       │  │  │ STM32_FOC_PMSM.eww

       │  │  ├ EWARM 5_11

       │  │  │  │ cortexm3_macro.s

       │  │  │  │ STM32F10x_FLASH.icf

       │  │  │  │ stm32f10x_flash_extsram.icf

       │  │  │  │ stm32f10x_nor.icf

       │  │  │  │ stm32f10x_ram.icf

       │  │  │  │ stm32f10x_vector.c

       │  │  │  │ STM32_FOC_PMSM.ewd

       │  │  │  │ STM32_FOC_PMSM.ewp

       │  │  │  │ STM32_FOC_PMSM.eww

       │  │  │  └ LIB

       │  │  │     │ MC_FOC_Methods.o

       │  │  │     └ MC_State_Observer_lib.o

       │  │  └ LIB

       │  │     │ MC_FOC_Methods.o

       │  │     └ MC_State_Observer.o

       │  ├ Head

       │  │  │ Ram.h

       │  │  │ STM103REG.h

       │  │  └ TYPESTRUCT.h

       │  ├ inc

       │  │  │ BuildLog.xml

       │  │  │ cortexm3_macro.h

       │  │  │ fonts.h

       │  │  │ ili2302lcd.h

       │  │  │ MC_Clarke_Park.h

       │  │  │ MC_const.h

       │  │  │ MC_Control_Param--.h

       │  │  │ MC_Control_Param.h

       │  │  │ MC_Display.h

       │  │  │ MC_encoder_param.h

       │  │  │ MC_FOC_Drive.h

       │  │  │ MC_FOC_Methods.h

       │  │  │ MC_Globals.h

       │  │  │ MC_hall_prm.h

       │  │  │ MC_Keys.h

       │  │  │ MC_MotorControl_Layer.h

       │  │  │ MC_PID_regulators.h

       │  │  │ MC_PMSM_motor_param.h

       │  │  │ MC_PMSM_motor_param_.h

       │  │  │ MC_pwm_1shunt_prm.h

       │  │  │ MC_pwm_3shunt_prm.h

       │  │  │ MC_pwm_ics_prm.h

       │  │  │ MC_State_Observer.h

       │  │  │ MC_State_Observer_Interface.h

       │  │  │ MC_State_Observer_param.h

       │  │  │ MC_type.h

       │  │  │ stm32f10x_adc.h

       │  │  │ stm32f10x_bkp.h

       │  │  │ stm32f10x_can.h

       │  │  │ stm32f10x_crc.h

       │  │  │ stm32f10x_dac.h

       │  │  │ stm32f10x_dbgmcu.h

       │  │  │ stm32f10x_dma.h

       │  │  │ stm32f10x_encoder.h

       │  │  │ stm32f10x_exti.h

       │  │  │ stm32f10x_flash.h

       │  │  │ stm32f10x_fsmc.h

TAG三相电机
  • 7 次
  • 1 分