2021-09-08 10:55:17 索煒達(dá)電子 889
項(xiàng)目編號(hào):E855
文件大小:1.3M
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡(jiǎn)要概述:
基于STM32驅(qū)動(dòng)永磁同步電機(jī)的項(xiàng)目,F(xiàn)OC磁場(chǎng)矢量控制算法,雙電阻采樣,雙閉環(huán)PI控制
目錄│文件列表:
└ STM32-PMSM
├ Res
│ └ img
│ │ centeralign.png
│ └ iaibidiq.png
└ Source
├ Bin
│ │ arm-elf-objcopy.exe
│ │ axftobin.bat
│ │ cygwin1.dll
│ │ hex2bin.exe
│ └ hextobin.bat
├ Control
│ │ feed_forward.c
│ │ feed_forward.h
│ │ velocity_curve.c
│ └ velocity_curve.h
├ Display
│ │ display_device.c
│ │ display_device.h
│ │ display_driver.c
│ │ display_driver.h
│ └ 新建文本文檔.txt
├ Doc
│ └ pin_map
├ Encoder
│ │ encoder_driver.c
│ └ encoder_driver.h
├ Feedback
│ │ current.c
│ │ current.h
│ │ encoder.c
│ │ encoder.h
│ │ position.c
│ └ position.h
├ Firmware
│ │ STM32F103CB-PMSM.bin
│ │ STM32F103CB-PMSM.hex
│ └ STM32F103CB-PMSM.i64
├ Foc
│ │ foc.c
│ │ foc.h
│ │ motor_control.c
│ └ motor_control.h
├ GwDebug
│ │ gw_log.h
│ │ SDS.c
│ └ SDS.h
├ GwOS
│ │ gw_event.c
│ │ gw_event.h
│ │ gw_fifo.c
│ │ gw_fifo.h
│ │ gw_hal.c
│ │ gw_hal.h
│ │ gw_list.c
│ │ gw_list.h
│ │ gw_msgs.c
│ │ gw_msgs.h
│ │ gw_tasks.c
│ │ gw_tasks.h
│ │ gw_timer.c
│ │ gw_timer.h
│ └ gw_type.h
├ Libraries
│ ├ CMSIS
│ │ │ CMSIS debug support.htm
│ │ │ CMSIS_changes.htm
│ │ │ License.doc
│ │ ├ CM3
│ │ │ ├ CoreSupport
│ │ │ │ │ core_cm3.c
│ │ │ │ └ core_cm3.h
│ │ │ └ DeviceSupport
│ │ │ └ ST
│ │ │ └ STM32F10x
│ │ │ │ Release_Notes.html
│ │ │ │ stm32f10x.h
│ │ │ │ system_stm32f10x.c
│ │ │ │ system_stm32f10x.h
│ │ │ └ startup
│ │ │ ├ arm
│ │ │ │ │ startup_stm32f10x_cl.s
│ │ │ │ │ startup_stm32f10x_hd.s
│ │ │ │ │ startup_stm32f10x_hd_vl.s
│ │ │ │ │ startup_stm32f10x_ld.s
│ │ │ │ │ startup_stm32f10x_ld_vl.s
│ │ │ │ │ startup_stm32f10x_md.s
│ │ │ │ │ startup_stm32f10x_md_vl.s
│ │ │ │ └ startup_stm32f10x_xl.s
│ │ │ ├ gcc_ride7
│ │ │ │ │ startup_stm32f10x_cl.s
│ │ │ │ │ startup_stm32f10x_hd.s
│ │ │ │ │ startup_stm32f10x_hd_vl.s
│ │ │ │ │ startup_stm32f10x_ld.s
│ │ │ │ │ startup_stm32f10x_ld_vl.s
│ │ │ │ │ startup_stm32f10x_md.s
│ │ │ │ │ startup_stm32f10x_md_vl.s
│ │ │ │ └ startup_stm32f10x_xl.s
│ │ │ ├ iar
│ │ │ │ │ startup_stm32f10x_cl.s
│ │ │ │ │ startup_stm32f10x_hd.s
│ │ │ │ │ startup_stm32f10x_hd_vl.s
│ │ │ │ │ startup_stm32f10x_ld.s
│ │ │ │ │ startup_stm32f10x_ld_vl.s
│ │ │ │ │ startup_stm32f10x_md.s
│ │ │ │ │ startup_stm32f10x_md_vl.s
│ │ │ │ └ startup_stm32f10x_xl.s
│ │ │ └ TrueSTUDIO
│ │ │ │ startup_stm32f10x_cl.s
│ │ │ │ startup_stm32f10x_hd.s
│ │ │ │ startup_stm32f10x_hd_vl.s
│ │ │ │ startup_stm32f10x_ld.s
│ │ │ │ startup_stm32f10x_ld_vl.s
│ │ │ │ startup_stm32f10x_md.s
│ │ │ │ startup_stm32f10x_md_vl.s
│ │ │ └ startup_stm32f10x_xl.s
│ │ └ Documentation
│ │ └ CMSIS_Core.htm
│ └ STM32F10x_StdPeriph_Driver
│ │ Release_Notes.html
│ ├ inc
│ │ │ misc.h
│ │ │ stm32f10x_adc.h
│ │ │ stm32f10x_bkp.h
│ │ │ stm32f10x_can.h
│ │ │ stm32f10x_cec.h
│ │ │ stm32f10x_crc.h
│ │ │ stm32f10x_dac.h
│ │ │ stm32f10x_dbgmcu.h
│ │ │ stm32f10x_dma.h
│ │ │ stm32f10x_exti.h
│ │ │ stm32f10x_flash.h
│ │ │ stm32f10x_fsmc.h
│ │ │ stm32f10x_gpio.h
│ │ │ stm32f10x_i2c.h
│ │ │ stm32f10x_iwdg.h
│ │ │ stm32f10x_pwr.h
│ │ │ stm32f10x_rcc.h
│ │ │ stm32f10x_rtc.h
│ │ │ stm32f10x_sdio.h
│ │ │ stm32f10x_spi.h
│ │ │ stm32f10x_tim.h
│ │ │ stm32f10x_usart.h
│ │ └ stm32f10x_wwdg.h
│ └ src
│ │ misc.c
│ │ stm32f10x_adc.c
│ │ stm32f10x_bkp.c
│ │ stm32f10x_can.c
│ │ stm32f10x_cec.c
│ │ stm32f10x_crc.c
│ │ stm32f10x_dac.c
│ │ stm32f10x_dbgmcu.c
│ │ stm32f10x_dma.c
│ │ stm32f10x_exti.c
│ │ stm32f10x_flash.c
│ │ stm32f10x_fsmc.c
│ │ stm32f10x_gpio.c
│ │ stm32f10x_i2c.c
│ │ stm32f10x_iwdg.c
│ │ stm32f10x_pwr.c
│ │ stm32f10x_rcc.c
│ │ stm32f10x_rtc.c
│ │ stm32f10x_sdio.c
│ │ stm32f10x_spi.c
│ │ stm32f10x_tim.c
│ │ stm32f10x_usart.c
│ └ stm32f10x_wwdg.c
├ Math
│ │ svpwm_math.c
│ └ svpwm_math.h
├ Pid
│ │ pid_regulator.c
│ └ pid_regulator.h
├ Project
│ └ MDK
│ ├ ARMCC
│ │ │ EventRecorderStub.scvd
│ │ │ script.bat
│ │ │ STM32F103CB-PMSM-BOOTLOADER.srt
│ │ │ STM32F103CB-PMSM.uvoptx
│ │ │ STM32F103CB-PMSM.uvprojx
│ │ ├ DebugConfig
│ │ │ └ PMSM_STM32F103CB_1.0.0.dbgconf
│ │ └ RTE
│ │ └ _PMSM
│ │ └ RTE_Components.h
│ └ GCC
│ │ EventRecorderStub.scvd
│ │ STM32F103CB-PMSM.uvoptx
│ │ STM32F103CB-PMSM.uvprojx
│ │ STM32F103CB-PMSM_PMSM.dep
│ │ syscalls.c
│ ├ DebugConfig
│ │ └ PMSM_STM32F103CB_1.0.0.dbgconf
│ ├ Ld
│ │ └ STM32F10X_MD.ld
│ └ RTE
│ └ _PMSM
│ └ RTE_Components.h
├ Scripts
│ │ copy_firmware.bat
│ │ copy_firmware.py
│ └ create_bin.bat
├ Statemachine
│ │ state_machine.c
│ └ state_machine.h
├ SVPWM
│ │ svpwm_driver.c
│ │ svpwm_driver.h
│ │ svpwm_module.c
│ └ svpwm_module.h
├ Task
│ │ task_display.c
│ │ task_display.h
│ │ task_key.c
│ │ task_key.h
│ │ task_main.c
│ │ task_main.h
│ │ task_motor_control.c
│ │ task_motor_control.h
│ │ task_open_loop.c
│ │ task_open_loop.h
│ │ task_state_machine.c
│ └ task_state_machine.h
├ Test
│ │ test_dispaly.c
│ │ test_encoder.c
│ │ test_event.c
│ │ test_svpwm.c
│ └ test_usart.c
├ Usart
│ │ usart_driver.c
│ └ usart_driver.h
└ User
│ main.c
│ motor_protocol.c
│ motor_protocol.h
│ Release_Notes.html
│ stm32f10x_conf.h
│ stm32f10x_it.c
│ stm32f10x_it.h
│ user_banner.c
│ user_banner.h
│ user_config.c
│ user_config.h
│ user_flash.c
│ user_flash.h
│ user_state_machine.c
└ user_state_machine.h