stm32vfd

所属分类:单片机开发
开发工具:C
文件大小:0KB
下载次数:1
上传日期:2023-08-28 21:53:09
上 传 者sh-1993
说明:  STM32 MCU的变频SVPWM驱动器。,
(Variable frequency SVPWM Driver for STM32 MCUs.,)

文件列表:
CubeMx/ (0, 2023-08-28)
CubeMx/STM32F103C6/ (0, 2023-08-28)
CubeMx/STM32F103C6/Core/ (0, 2023-08-28)
CubeMx/STM32F103C6/Core/Inc/ (0, 2023-08-28)
CubeMx/STM32F103C6/Core/Inc/stm32f1xx_hal_conf.h (15719, 2023-08-28)
CubeMx/STM32F103C6/Core/Inc/stm32f1xx_it.h (1955, 2023-08-28)
CubeMx/STM32F103C6/Core/Src/ (0, 2023-08-28)
CubeMx/STM32F103C6/Core/Src/stm32f1xx_hal_msp.c (6508, 2023-08-28)
CubeMx/STM32F103C6/Core/Src/stm32f1xx_it.c (5721, 2023-08-28)
CubeMx/STM32F103C6/Core/Src/system_stm32f1xx.c (15159, 2023-08-28)
CubeMx/STM32F103C6/Drivers/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/STM32F1xx/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/STM32F1xx/Include/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h (842890, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h (10563, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h (2029, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Device/ST/STM32F1xx/License.md (9838, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/ (0, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/cmsis_armcc.h (28208, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/cmsis_armclang.h (56497, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/cmsis_compiler.h (9014, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/cmsis_gcc.h (62344, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/cmsis_iccarm.h (28414, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/cmsis_version.h (1716, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_armv8mbl.h (97995, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_armv8mml.h (168914, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm0.h (42208, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm0plus.h (50464, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm1.h (43456, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm23.h (104628, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm3.h (111854, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm33.h (175600, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm4.h (123607, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_cm7.h (148588, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_sc000.h (47249, 2023-08-28)
CubeMx/STM32F103C6/Drivers/CMSIS/Include/core_sc300.h (110523, 2023-08-28)
... ...

# Summary Variable frequency SVPWM driver(VFD) prototype for STM32 MCUs. Default values and drivers are designed to run on a blue pill module with STM32F103C8T6. Since the project uses CubeMx HAL drivers, It can easily be ported to other STM32 microprocessors. Default lookup tables are constructed using **0x7FFFh(32.767)** as peak value and **k=0.15** for third harmonic coefficent. | Value | Default Value | Description | | ------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | TIM1 Clock | 72Mhz | | | TIM2 Clock | 72Mhz | | | Prescaler | 2 - 1 | Used for TIM1 and TIM2 | | TIM1 Period | 32767 | Lookup tables need to be adjusted accordingly.
PWM frequency needs to be tweaked for your driver circuit. | | PWM Frequency | ~1KHz | 72MHz / (2 \* 32767) | | TIM2 Period | N/A | Dynamically adjusted using potentiometer. | | LUT_STEP | 1 | Defines how much the pointer will step in single interrupt.
Higher LUT step will result in higher frequencies without touching TIM2 period.
Depending on the value, it can skip some values entirely wasting flash space. | ## Peripherals - **Timer1** with complementary pwm outputs and deadtime support. - **Timer2** Simple timer for sinewave lookup table stepping. - **ADC** Reading frequency input from a potentiometer ## CubeMx Script CubeMx generated folder structure can automatically be imported using the [import.sh script](https://github.com/Berkays/stm32vfd/blob/master/./scripts/import.sh). Generated folder root path must be provided as an argument: `./scripts/import.sh ~/CubeMxWorkSpace/VFD`

近期下载者

相关文件


收藏者