856 views|3 replies

250

Posts

5

Resources
The OP
 

[DigiKey "Smart Manufacturing, Non-stop Happiness" Creative Competition] + Stepper Motor Closed-loop Controller Based on STM32H7B3I-DK [Copy link]

 

Stepper motor closed-loop controller based on STM32H7B3I-DK

Author: Popular Technology

1. Introduction

In this competition, I chose the STM32H7B3I-DK development board as the basic board to conduct research on the closed-loop controller of the stepper motor. There are many open source solutions at present. Most of them are directly equipped with a separate board behind the stepper motor. The functions on the board are all done. You only need to control it like an ordinary stepper motor controller. It can complete closed-loop control internally. Such a board is suitable for direct use in finished products. This time I want to make a test board. The core boards are the same and different test boards can be connected externally. This is not only limited to the closed-loop control of stepper motors, but also can be used for closed-loop control of brushless motors.

2. System Block Diagram

The hardware part is mainly the driver board, which is connected through the Arduino interface. The UI interface function uses the RGB screen that comes with the development board.

The overall software process is as above, mainly including peripheral initialization, sensor parameter reading, motor line sequence calibration, position calibration, and finally closed-loop control.

3. Functional description of each part

The driver board of the stepper motor mainly consists of a driver part, a sensor part, and the rest are interfaces.

This is the expansion part of our board. Later, we can match different expansion boards to realize different motor drives.

This is the main control panel.

4. Source Code

https://download.eeworld.com.cn/detail/%E6%B5%81%E8%A1%8C%E7%A7%91%E6%8A%80/630819

5. Demonstration video of the work’s functions

https://training.eeworld.com.cn/video/39093

6. Project Summary

At present, my idea is to verify a series of motor drive controls through a board. The initial stepper motor can be realized, and the closed-loop control of the brushless motor can be expanded later. The expansion interface of this H7 board is quite rich and can meet the requirements. At the same time, the onboard resources are rich, and the graphical interface can be run. It is matched with the LVGL graphical interface to facilitate human-computer interaction. Later, I hope to add the input method part to make debugging more convenient.

other

LVGL experience of STM32H7B3I-DK https://en.eeworld.com/bbs/thread-1269028-1-1.html

STM32H7B3I-DK uses GUI Guider designer https://en.eeworld.com/bbs/thread-1269534-1-1.html

基于STM32H7B3I-DK的步进电机闭环控制器.doc (1.06 MB, downloads: 6)

STM32H7B3I-MOTOR.zip (25.39 MB, downloads: 1)

This post is from DigiKey Technology Zone

Latest reply

Paired with a graphical interface like LVGL, it facilitates human-computer interaction and is a very excellent work.   Details Published on 2024-1-15 14:10
 
 

6570

Posts

0

Resources
2
 

LVGL is a cool graphical interface.

This post is from DigiKey Technology Zone
 
 
 

6830

Posts

11

Resources
3
 

Paired with a graphical interface like LVGL, it facilitates human-computer interaction and is a very excellent work.

This post is from DigiKey Technology Zone
 
 
 

250

Posts

5

Resources
4
 
STM32H7B3I-MOTOR.zip (25.39 MB, downloads: 3)

This post is from DigiKey Technology Zone
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list