elleny

Brushless DC motor driver board QC-DRV-NN_V2.0 copy

 
Overview
Sorry everyone, I've been waiting for a long time.
B station demonstration video link (also at the end of the article): https://www.bilibili.com/video/BV19R4y1L7yW?share_source=copy_web
 
V2.0 version of the previous open source project (previous open source project link: https://oshwhub.com/Beauty_Light/zhi-liu-wu-shua-dian-ji-qu-dong-)
Click to enter to view the relevant introduction. DC brushless motor driver board, as of 20220315, version is V2.0. This board is only for learning and communication.
If nothing unexpected happens, this is the final version.
 
1. Version comparison and parameter introduction
comparison chart:
V1.0:
Power Board 
V2.0:
0OinF19RHV7uf6oboTJvzrLzxR8AYGU8pN6LM9p5.jpegVersion: V2.0 (verified)
Voltage: 9~24V 
Limit voltage: ~40V
Current: 0~4A and can also be exceeded It is not necessary for learning, not to the extent;
recommended power: within 100W With appropriate heat dissipation, it is estimated to reach 300W. I didn't test it carefully, but I got it from experience.
Main components: NMOS is used for both upper and lower bridges, MCU master control is not integrated, ST standard motor interface is used, and sensed Hall, non-sensing square wave, FOC vector control, etc. are supported.
Attachment: ST motor interface definition (picture)
ST motor interface 
Full set of data + driver board + MCU main control board + motor are available on Taobao. If you don't want to toss, you can buy finished products on Taobao, including the main control board with ST standard interface.
Commercial use is prohibited without the author's authorization.
Taobao link:
https://item.taobao.com/item.htm?spm=a213gs.success.result.1.65d67a86CuT6Qk&id=668129776715
 Note: If you buy the finished product, Taobao will give the customer service my open source link to get a discount.
 
2. V2.0 version adds details and improves issues and discussions
Note: The current open source data version is V2.0. It does not mean that there are any major problems with the V1.0 version. If you have any questions, please see this section introduction.
1. In the V1.0 version of LM358, the two network pins ICIV and IBIS are suspended. ICIV and IBIS are the average bus current and the instantaneous bus current (AD value) respectively. In the V2.0 version, ICIV and IBIS will be connected to the 15th and 17th pins of the motor interface respectively. It is used to monitor the running status of the motor. Improved.
2. Add an oscilloscope clamping point (design a GND pad near the GND of 7805).
3. Add a test point to the AD pin of the potentiometer RP1 next to the LM358.
4. Add multiple test points near the LM358 pins.
   The role of adding test points:
   a. It is convenient to detect whether the working status of the board is normal (currently V1.0 is normal)
   b. It is convenient to use an oscilloscope to observe the signal waveforms at various places during learning, or to measure the relevant voltage and current values.
5. Add 1nF capacitor filtering at the Hall sensor interfaces HA, HB, and HC.
   Reason: During the test, it was found that the modulated Hall signal waveform output by some brushless motors itself had a slight problem (motor problem).
6. The order of 5V and GND of the Hall interface has changed (personal habit)
7. tip, the driver chip IR2103 can be replaced with EG3013, it can be replaced directly, but according to the data sheet of EG3013, the diode of the original peripheral circuit can be omitted. EG3013 is cheaper than IR2103 in LiChuang Mall, but the SMT material fee is 10 yuan more expensive.
8. The main capacitor is smaller, the cost is 470uF/50V, which looks better, because it is basically under 24V voltage during use.
9. The potentiometer is welded smaller, because some people use it as a speed potentiometer (that is to set the current).
10. If the current is found to be small during use, see if it is a fuse problem. The schematic diagram shows a 3A fuse, and I welded a 6A one in version 2.0. If the circuit is stable, the fuse strategy can be changed.
11. Both versions of the power supply are protected against reverse connection (I connected the power supply in reverse when testing, but it was fine). In my subsequent open source projects, there will be other solutions for the power input insurance, so stay tuned.
12. The peripheral devices of the MOS bridge circuit are deleted, and the 10R resistor is cancelled outside the driver chip.
13. LM358, the filter capacitor C17 (470nF) at ICIV can be replaced with 1uF (in the actual oscilloscope test, it was found that the wave was not filtered out)
14. Where the power supply LC oscillates, the inductor 680 is a bit small (not a big problem). The power supply output waveform is a bit oscillating on the oscilloscope. It’s okay if it is not replaced.
 
In summary, the improvement idea of ​​2.0 is the icing on the cake of version 1.0.
 
3. 20220217 log: open source project source code (please move to V1.0 attachment for open source code)
The MCU main control is F103RCT6, using the core development board with ST standard motor interface, open-loop debugging:
MCU main control boardI originally wanted to open source this main control board, but the cost of this board is relatively expensive. I will open source a new super cheap alternative within this month.
Why don’t you put the code for closed-loop speed regulation this time? :The code is available, but the closed-loop speed regulation depends on what kind of motor is used (motor parameters such as pole pairs).
The driver board will support back electromotive force and FOC in the future, but it will be more troublesome to do FOC because there is no 3-phase acquisition.
//Original code author information: //u-easytech Cassy//QQ:3119502755 //STM32F1-QC board AD //20151204
The code was written by the company boss in 2015. It was slightly modified and adjusted and can be used immediately. It is
for reference only. If you have any questions, please contact the author. If the boss is too busy, you can contact me on QQ: 1808736089 (Mr. Li)
The company's external technical exchange QQ group: 709772520
My technical exchange group, Q&A group, and bragging group: 823355043 (there will be relevant benefits in the group later)
Ff1T9kKi1UXfRtLfD6dKgXoMfGnUYbXnL7px3hNt.jpegIn addition: The MCU main control board is not yet open source (the information has not been sorted out). If you need relevant information, you can ask the customer service through the Taobao link.
The code here is just an example and can be used on the computer. Beginners can familiarize themselves with the implementation of brushless DC motor drive control according to the code implementation process. It can also be applied to your favorite MCU. Please transplant it by yourself.
For more learning materials or related content, join the group or browse Taobao.
 
Conclusion and update notification:
I am a bit busy, and the open source project link will be gradually improved.
The current version of the driver board is V2.0, which should be the final version if nothing unexpected happens.
Set a flag: A series of content related to brushless motors will be open sourced later:
1. The main control board adapted for this power board
2. High-power motor drive development board with integrated MCU (learning and education kit)
3. Based on the public model, we will open source a product-level motor driver with a wide range of adaptability (expected to be an open source low-cost and low-price solution)
. Welcome to urge for updates
. We welcome mutual learning and exchanges.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-24 11:21:30

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号