2021-08-13 11:28:13 索煒達(dá)電子 1150
項目編號:E36
文件大?。?38K
源碼說明:帶中文注釋
開發(fā)環(huán)境:IAR
簡要概述:
1.下位機(jī)軟件
使用C++開發(fā),基于 IAR Embedded Workbench for Arm
-采用 STM32F103V8 微控制器
-采用 M 法測速,測速周期 5ms
-PI 調(diào)節(jié)器速度閉環(huán)控制
-速度階躍響應(yīng)超調(diào)量小于 5%
-運(yùn)行時調(diào)節(jié) Kp, Ki 參數(shù)
2.上位機(jī)軟件
使用 C# 和 WPF 開發(fā),基于 Visual Studio 2017
-調(diào)整電機(jī)的速度
-顯示電機(jī)轉(zhuǎn)速變化曲線
-實時顯示電機(jī)轉(zhuǎn)速
-調(diào)節(jié)Kp, Ki參數(shù)
文件列表:
目錄│文件列表:
└ 源碼
└ DC-Motor-Controller-System-Based-on-STM32
│ motor.ioc
│ STM32.dep
│ STM32.ewd
│ STM32.ewp
│ STM32.ewt
│ STM32.eww
│ STM32.sln
│ STM32.vcxproj
│ STM32.vcxproj.filters
├ .vscode
│ │ c_cpp_properties.json
│ └ settings.json
├ host
│ └ WpfApp
│ │ App.config
│ │ App.xaml
│ │ App.xaml.cs
│ │ MainWindow.xaml
│ │ MainWindow.xaml.cs
│ │ packages.config
│ │ WpfApp.csproj
│ │ WpfApp.csproj.DotSettings
│ └ Properties
│ │ AssemblyInfo.cs
│ │ Resources.Designer.cs
│ │ Resources.resx
│ │ Settings.Designer.cs
│ └ Settings.settings
├ images
│ └ Screenshot0.png
├ lib
│ ├ 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
├ settings
│ │ STM32.crun
│ │ STM32.dbgdt
│ │ STM32.Debug.cspy.bat
│ │ STM32.Debug.cspy.ps1
│ │ STM32.Debug.driver.xcl
│ │ STM32.Debug.general.xcl
│ │ STM32.dnx
│ │ STM32.Release.cspy.bat
│ │ STM32.Release.cspy.ps1
│ │ STM32.Release.driver.xcl
│ │ STM32.Release.general.xcl
│ └ STM32.wsdt
├ src
│ │ controller.cpp
│ │ controller.h
│ │ encoder.h
│ │ led.h
│ │ main.cpp
│ │ motor.h
│ │ stm32f10x_conf.h
│ │ stm32f10x_it.c
│ │ stm32f10x_it.h
│ │ timer.cpp
│ │ timer.h
│ │ usart.h
│ └ 注釋.zip
└ sys
│ 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
│ stm32f10x.h
│ system_stm32f10x.c
└ system_stm32f10x.h