蓝猫淘气

BLDC driver based on GD32

 
Overview

A brushless motor may seem like a simple thing, but it can be very complex to drive. As an electronics enthusiast, I just tried it with the spirit of a newborn calf who is not afraid of tigers. It doesn't take long either. So the things I make only have one look, and I hope you won’t criticize them.

LEDs, buttons, timers, PWM, and ADC. Everything else went smoothly except for the PA6 ADC which was very strange. The op amp output cannot be brought up. Connect to power and ground. The ADC value has changed again. Don’t manage it yet. Let the thing run before talking. Add a piece of code. Use simple AC,,,,CA. Try it first. It runs normally like a short video. However, the noise and jitter are relatively large. The speed cannot be adjusted at will.
As can be seen from the figure below, the H-bridge output is basically adjusted through PWM, and then the voltage and current are continuously sampled to determine the output status, thus forming a feedback loop to allow the motor to run stably. It seems as simple as that, just do it.

参考设计图片
×

Blockdiagram

 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-18 22:25:03

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号