6sGsH5Z

【CW32】Brushless motor driver

 
Overview
    Brushless motor driver based on CW32F030C8T6
Hardware parts
    The hardware engineering is basically drawn according to the routine. The half-bridge driver is changed to an integrated three-half bridge and one, and the three boards of the routine are combined together.
I added EEPROM and CH340 myself to facilitate debugging and subsequent function expansion.
software part
    Since it was my first time to come into contact with brushless motors, I participated in the basic camp of this training camp. I only made physical objects and did not make any innovations (I can’t make any yet, haha).
Coupled with the subsequent exams and internships, there is not much time left for me to study the in-depth control of three-phase brushless motors. At present, it is only the control principle of the software.
I have a general understanding and will learn more when I have time later.
Problems encountered
    When using USB for power supply, I found that the power supply voltage of the microcontroller was actually 4.2V, which shocked me. Could it be that the 3.3V voltage regulator chip is broken and it is still 4.2V after replacing it?
Even if the 0 ohm resistor of the microcontroller power supply is removed, the microcontroller can still work and is still 4.2V. The guess is that the interface of the Hall sensor is pulled up to 5V to power the microcontroller, which affects the voltage of the entire system.
And at this time, the downloader cannot recognize the microcontroller and download the program. Switch to the 3.3V power supply of the downloader and the program can be downloaded normally. After searching for information, I found that the SW protocol used to download the firmware only supports 3.3V working voltage.
Thoughts
    In this training camp, I came into contact with domestic 32-bit microcontrollers for the first time, and I also realized that our domestic microcontrollers are rising step by step. I hope that CW32 can do better and better, and domestic microcontrollers can do better and better.
Thanks to Lichuang, thanks to Xinyuan, and thanks to Youyite.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 14:20:46

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号