2021-09-10 19:18:43 索煒達(dá)電子 2874
項目編號:E1021
文件大小:9.2M
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述:
(1) 掌握基于 PROTEUS 和 KEIL 的仿真調(diào)試方法。
(2) 掌握 uCOS-II 的移植,并采用多任務(wù)編程、調(diào)試。
(3) 熟悉電機(jī)的工作原理和功能,并掌握電機(jī)的應(yīng)用和驅(qū)動方法。
內(nèi)容
(1) 基本功能:本任務(wù)通過輸出脈沖控制步進(jìn)電機(jī)的停止、運(yùn)動、方向。使用 兩個按鍵分別控制步進(jìn)電機(jī)的正轉(zhuǎn)和反轉(zhuǎn),再次按下這兩個按鍵,步進(jìn)電機(jī)停止, 同時 LCD 顯示電機(jī)狀態(tài)信息。
(2) 擴(kuò)展功能:加入一個轉(zhuǎn)速閾值設(shè)置功能,由電位器充當(dāng)閾值設(shè)置器,可設(shè) 置目標(biāo)轉(zhuǎn)速并使電機(jī)接近設(shè)置的轉(zhuǎn)速。
系統(tǒng)硬件設(shè)計
總體框架設(shè)計
硬件原理圖
目錄│文件列表:
│ 電機(jī)轉(zhuǎn)速檢測系統(tǒng)設(shè)計與實現(xiàn)v2.0.pdf
├ Proteus
│ └ Proteus
│ │ Backup Of BLDC.pdsbak
│ │ BLDC.pdsprj
│ │ BLDC.pdsprj.DESKTOP-4JFGV7C.Administrator.workspace
│ │ BLDC.pdsprj.DESKTOP-B01EQSC.xuhe.workspace
│ │ Last Loaded BLDC.pdsbak
│ │ uCos_ii_Demo.hex
│ └ uCos_ii_Demo.hex.asm
└ uCos_ii_Demo
│ .mxproject
│ uCos_ii_Demo.ioc
├ Drivers
│ ├ CMSIS
│ │ ├ Core
│ │ │ ├ Include
│ │ │ │ │ cmsis_armcc.h
│ │ │ │ │ cmsis_armclang.h
│ │ │ │ │ cmsis_compiler.h
│ │ │ │ │ cmsis_gcc.h
│ │ │ │ │ cmsis_iccarm.h
│ │ │ │ │ cmsis_version.h
│ │ │ │ │ core_armv8mbl.h
│ │ │ │ │ core_armv8mml.h
│ │ │ │ │ core_cm0.h
│ │ │ │ │ core_cm0plus.h
│ │ │ │ │ core_cm1.h
│ │ │ │ │ core_cm23.h
│ │ │ │ │ core_cm3.h
│ │ │ │ │ core_cm33.h
│ │ │ │ │ core_cm4.h
│ │ │ │ │ core_cm7.h
│ │ │ │ │ core_sc000.h
│ │ │ │ │ core_sc300.h
│ │ │ │ │ mpu_armv7.h
│ │ │ │ │ mpu_armv8.h
│ │ │ │ └ tz_context.h
│ │ │ └ Template
│ │ │ └ ARMv8-M
│ │ │ │ main_s.c
│ │ │ └ tz_context.c
│ │ ├ Core_A
│ │ │ ├ Include
│ │ │ │ │ cmsis_armcc.h
│ │ │ │ │ cmsis_armclang.h
│ │ │ │ │ cmsis_compiler.h
│ │ │ │ │ cmsis_cp15.h
│ │ │ │ │ cmsis_gcc.h
│ │ │ │ │ cmsis_iccarm.h
│ │ │ │ │ core_ca.h
│ │ │ │ └ irq_ctrl.h
│ │ │ └ Source
│ │ │ └ irq_ctrl_gic.c
│ │ ├ Device
│ │ │ └ ST
│ │ │ └ STM32F1xx
│ │ │ ├ Include
│ │ │ │ │ stm32f100xb.h
│ │ │ │ │ stm32f100xe.h
│ │ │ │ │ stm32f101x6.h
│ │ │ │ │ stm32f101xb.h
│ │ │ │ │ stm32f101xe.h
│ │ │ │ │ stm32f101xg.h
│ │ │ │ │ stm32f102x6.h
│ │ │ │ │ stm32f102xb.h
│ │ │ │ │ stm32f103x6.h
│ │ │ │ │ stm32f103xb.h
│ │ │ │ │ stm32f103xe.h
│ │ │ │ │ stm32f103xg.h
│ │ │ │ │ stm32f105xc.h
│ │ │ │ │ stm32f107xc.h
│ │ │ │ │ stm32f1xx.h
│ │ │ │ └ system_stm32f1xx.h
│ │ │ └ Source
│ │ │ └ Templates
│ │ │ │ system_stm32f1xx.c
│ │ │ ├ arm
│ │ │ │ │ startup_stm32f100xb.s
│ │ │ │ │ startup_stm32f100xe.s
│ │ │ │ │ startup_stm32f101x6.s
│ │ │ │ │ startup_stm32f101xb.s
│ │ │ │ │ startup_stm32f101xe.s
│ │ │ │ │ startup_stm32f101xg.s
│ │ │ │ │ startup_stm32f102x6.s
│ │ │ │ │ startup_stm32f102xb.s
│ │ │ │ │ startup_stm32f103x6.s
│ │ │ │ │ startup_stm32f103xb.s
│ │ │ │ │ startup_stm32f103xe.s
│ │ │ │ │ startup_stm32f103xg.s
│ │ │ │ │ startup_stm32f105xc.s
│ │ │ │ └ startup_stm32f107xc.s
│ │ │ ├ gcc
│ │ │ │ │ startup_stm32f100xb.s
│ │ │ │ │ startup_stm32f100xe.s
│ │ │ │ │ startup_stm32f101x6.s
│ │ │ │ │ startup_stm32f101xb.s
│ │ │ │ │ startup_stm32f101xe.s
│ │ │ │ │ startup_stm32f101xg.s
│ │ │ │ │ startup_stm32f102x6.s
│ │ │ │ │ startup_stm32f102xb.s
│ │ │ │ │ startup_stm32f103x6.s
│ │ │ │ │ startup_stm32f103xb.s
│ │ │ │ │ startup_stm32f103xe.s
│ │ │ │ │ startup_stm32f103xg.s
│ │ │ │ │ startup_stm32f105xc.s
│ │ │ │ └ startup_stm32f107xc.s
│ │ │ └ iar
│ │ │ │ startup_stm32f100xb.s
│ │ │ │ startup_stm32f100xe.s
│ │ │ │ startup_stm32f101x6.s
│ │ │ │ startup_stm32f101xb.s
│ │ │ │ startup_stm32f101xe.s
│ │ │ │ startup_stm32f101xg.s
│ │ │ │ startup_stm32f102x6.s
│ │ │ │ startup_stm32f102xb.s
│ │ │ │ startup_stm32f103x6.s
│ │ │ │ startup_stm32f103xb.s
│ │ │ │ startup_stm32f103xe.s
│ │ │ │ startup_stm32f103xg.s
│ │ │ │ startup_stm32f105xc.s
│ │ │ │ startup_stm32f107xc.s
│ │ │ └ linker
│ │ │ │ stm32f100xb_flash.icf
│ │ │ │ stm32f100xb_sram.icf
│ │ │ │ stm32f100xe_flash.icf
│ │ │ │ stm32f100xe_sram.icf
│ │ │ │ stm32f101x6_flash.icf
│ │ │ │ stm32f101x6_sram.icf
│ │ │ │ stm32f101xb_flash.icf
│ │ │ │ stm32f101xb_sram.icf
│ │ │ │ stm32f101xe_flash.icf
│ │ │ │ stm32f101xe_sram.icf
│ │ │ │ stm32f101xg_flash.icf
│ │ │ │ stm32f101xg_sram.icf
│ │ │ │ stm32f102x6_flash.icf
│ │ │ │ stm32f102x6_sram.icf
│ │ │ │ stm32f102xb_flash.icf
│ │ │ │ stm32f102xb_sram.icf
│ │ │ │ stm32f103x6_flash.icf
│ │ │ │ stm32f103x6_sram.icf
│ │ │ │ stm32f103xb_flash.icf
│ │ │ │ stm32f103xb_sram.icf
│ │ │ │ stm32f103xe_flash.icf
│ │ │ │ stm32f103xe_sram.icf
│ │ │ │ stm32f103xg_flash.icf
│ │ │ │ stm32f103xg_sram.icf
│ │ │ │ stm32f105xc_flash.icf
│ │ │ │ stm32f105xc_sram.icf
│ │ │ │ stm32f107xc_flash.icf
│ │ │ └ stm32f107xc_sram.icf
│ │ ├ DSP
│ │ │ ├ DSP_Lib_TestSuite
│ │ │ │ ├ Common
│ │ │ │ │ ├ inc
│ │ │ │ │ │ │ all_tests.h
│ │ │ │ │ │ │ math_helper.h
│ │ │ │ │ │ │ type_abbrev.h
│ │ │ │ │ │ ├ basic_math_tests
│ │ │ │ │ │ │ │ basic_math_templates.h
│ │ │ │ │ │ │ │ basic_math_tests.h
│ │ │ │ │ │ │ │ basic_math_test_data.h
│ │ │ │ │ │ │ └ basic_math_test_group.h
│ │ │ │ │ │ ├ complex_math_tests
│ │ │ │ │ │ │ │ complex_math_templates.h
│ │ │ │ │ │ │ │ complex_math_tests.h
│ │ │ │ │ │ │ │ complex_math_test_data.h
│ │ │ │ │ │ │ └ complex_math_test_group.h
│ │ │ │ │ │ ├ controller_tests
│ │ │ │ │ │ │ │ controller_templates.h
│ │ │ │ │ │ │ │ controller_tests.h
│ │ │ │ │ │ │ │ controller_test_data.h
│ │ │ │ │ │ │ └ controller_test_group.h
│ │ │ │ │ │ ├ fast_math_tests
│ │ │ │ │ │ │ │ fast_math_templates.h
│ │ │ │ │ │ │ │ fast_math_test_data.h
│ │ │ │ │ │ │ └ fast_math_test_group.h
│ │ │ │ │ │ ├ filtering_tests
│ │ │ │ │ │ │ │ filtering_templates.h
│ │ │ │ │ │ │ │ filtering_tests.h
│ │ │ │ │ │ │ │ filtering_test_data.h
│ │ │ │ │ │ │ └ filtering_test_group.h
│ │ │ │ │ │ ├ intrinsics_tests
│ │ │ │ │ │ │ │ intrinsics_templates.h
│ │ │ │ │ │ │ │ intrinsics_test_data.h
│ │ │ │ │ │ │ └ intrinsics_test_group.h
│ │ │ │ │ │ ├ matrix_tests
│ │ │ │ │ │ │ │ matrix_templates.h
│ │ │ │ │ │ │ │ matrix_tests.h
│ │ │ │ │ │ │ │ matrix_test_data.h
│ │ │ │ │ │ │ └ matrix_test_group.h
│ │ │ │ │ │ ├ statistics_tests
│ │ │ │ │ │ │ │ statistics_templates.h
│ │ │ │ │ │ │ │ statistics_tests.h
│ │ │ │ │ │ │ │ statistics_test_data.h
│ │ │ │ │ │ │ └ statistics_test_group.h
│ │ │ │ │ │ ├ support_tests
│ │ │ │ │ │ │ │ support_templates.h
│ │ │ │ │ │ │ │ support_tests.h
│ │ │ │ │ │ │ │ support_test_data.h
│ │ │ │ │ │ │ └ support_test_group.h
│ │ │ │ │ │ ├ templates
│ │ │ │ │ │ │ │ template.h
│ │ │ │ │ │ │ └ test_templates.h
│ │ │ │ │ │ └ transform_tests
│ │ │ │ │ │ │ transform_templates.h
│ │ │ │ │ │ │ transform_tests.h
│ │ │ │ │ │ │ transform_test_data.h
│ │ │ │ │ │ └ transform_test_group.h
│ │ │ │ │ ├ JTest
│ │ │ │ │ │ ├ inc
│ │ │ │ │ │ │ │ jtest.h
│ │ │ │ │ │ │ │ jtest_cycle.h
│ │ │ │ │ │ │ │ jtest_define.h
│ │ │ │ │ │ │ │ jtest_fw.h
│ │ │ │ │ │ │ │ jtest_group.h
│ │ │ │ │ │ │ │ jtest_group_call.h
│ │ │ │ │ │ │ │ jtest_group_define.h