sigma

CWESC

 
Overview

//------------------------------------------------ -------------------------------------------------- --------------------------------------------------

// 2022-06-10

 

The current version starts smoothly and runs stably. Source code file ''source_cwesc_22-06-10-1.rar''.

 

Supplement and summary of the features of this open source project are as follows:

1. Two-way brushless ESC.
2. PWM signal input, high pulse width range 1000~2000us, greater than 1500 for forward rotation, less than reverse rotation.
3. Complementary PWM output, synchronous freewheeling, and the lower arm generates almost no heat.
4. 75% of the time is when the PWM high level is used to collect back electromotive force, and the data is more accurate at lower levels.
5. With serial port output, two-way data transmission, interrupt sending and receiving. Easy to debug and takes up very little CPU time.
6. Start-up is divided into two stages, and it can start normally even with large load, large torque or reverse rotation.
7. With over-temperature and over-current protection.
8. With phase loss protection.

 

Upload several back electromotive force waveform diagrams. The picture is drawn using the serial port software vofa+, and the ESC sends the data to the host computer.

* pwm_in is the pwm input duty cycle, 430 means 43%.

* Red is the virtual median, and the other three lines are UVW three opposite electromotive forces.

 

 

 

 

//------------------------------------------------ -------------------------------------------------- --------------------------------------------------

// 2022-06-09

Re-adjust the program structure to solve the following problems:

1. If there is too much code in the interrupt program, interrupt deadlock may occur;

2. That is, the current interrupt has not been executed yet, and the next interrupt occurs again;

3. If a pair of half-bridges continues to conduct, there is a risk of burning out the drive tube and motor.

 

 

 

 

//------------------------------------------------ -------------------------------------------------- --------------------------------------------------

// 2022-06-08

1. Correct the PWM frequency to 32k. Reserve enough time for ADC sampling.

2. The ADC sampling time is changed from two to three to increase low-speed accuracy. The lowest speed can be stabilized at 500rpm, 4-pole motor, which is 12kepm.

3. When starting and dragging, the starting torque is significantly increased.

 

 

 

//------------------------------------------------ -------------------------------------------------- --------------------------------------------------

// first version

 

cwesc, brushless and inductive ESC.

1. The main control is cw32f030

2. Power supply in 2~4s

3. Enter pwm

4. With serial port debugging

5. Over-temperature and phase loss protection

6. Synchronous continuous flow

 

Continuing debugging...

 

 

//------------------------------------------------ -------------------------------------------------- --------------------------------------------------

** Video 1 is the first version.

** Video 2 is firmware 220608, with counterweight motor for forward and reverse rotation, high current and high torque.

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 23:36:58

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号