Study on Brushless Dc Motor Control System Based on the Real-time Kernel uC/OS-II
- Author
- TaoYuan
- Advisor
- ZhuWen
- School
- Chongqing University
- Major
- Mechanical and Electronic Engineering
- Classification
- TM33 DC motor
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 219
- Citations
- 0
Abstract
Brushless DC motor uses the electronic commutator to replace the mechanical brush and commutator of traditional DC motor,that avoid sparks, noise and other issues caused by the contact of the mechanical brush and commutator.So,Brushless DC motor integrates the advantages of DC motor and AC motor.BLDC has the following characteristics:low noise,high efficiency,good speed performance,simple structure, reliable operation, easy maintenance , etc.At present, the brushless DC motor has been widely applied to various fields of national economy.As the development of the microelectronics, power electronics and computer application technology,digital control system is used to control motor.As the growing complexity of modern control system functions,relying on a single main program loop detection to complete these tasks make application design becomes complex, development efficiency becomes low, not easy to extend system function and maintain system.The introduction of embedded real-time operating system can make a complex application into several independent tasks to complete,improve system development efficiency , reduce development effort, and facilitate application extensions and maintenance.In this paper, BLDC motor control system is designed based on the embedded real time operating system uC/OS-II and MCU dsPIC30F6010A.First, the structure , principle and operation characteristics of the BLDC motor were described in detail;Study the control technology of BLDC motor,determine the speed and current dual-loop control strategy , analysis five methods to control PWM, compare two ways to detect phase current and introduce digital PID algorithm and digital filter algorithms.The hardware of the BLDC controller uses the 16-bit microcontroller dsPIC30F6010A as the processor,which is specifically designed for embedded motor control applications.The BTS7960 is a fully integrated high current half bridge for motor drive applications.The main circuits of BLDC controller are described.Introduce the embedded real time operating system uC / OS-II,analysis system structure, the composition of the task, the task status, task-ready list and task scheduling.Design the processor-related code in uC/OS-II,and port the code on MCU dsPIC30F6010A.Design the program of BLDC motor controller based on uC/OS-II.The application is decomposed into multiple tasks to complete.The design for the tasks are described in detail.Finally,test the processor-related code in uC/OS-II that are ported on MCU dsPIC30F6010A.Experiments show that it is successful. On this basis,complete the open-loop experiment and the speed closed-loop experiment of BLDC motor,good experimental results are obtained for the follow-up study has laid a good foundation.
Table of contents
Chinese Abstract 3-4
English summary 4-8
1 Introduction 8-12
1.1 research background and significance 8-9
1.2 brushless DC motor applications 9-10
the 1.3 embedded real-time operating system 10-11
the 1.3.1 embedded real-time operating system uC / OS-II Introduction 10-11
the
embedded applications 1.3.2 RTOS benefits
The main content of the research
1.4 11-12
basic principle of permanent magnet brushless DC motor 12-20
2.1 permanent magnet brushless DC motor structure 12-14
2.1.1 motor body 12-13
2.1.2 Hall position sensors 13-14
2.2 permanent magnet brushless DC motor works 14-15
2.2.1 permanent magnet brushless DC motor rotor position detection 14
2.2.2 permanent magnet brushless DC motor drive 14-15
the 2.3 brushless DC motor operating characteristics 15-20
2.3.1 starting characteristics 16-17
2.3.2 Operating Characteristics 17-18
2.3.3 mechanical properties and governor characteristics 18-20
3 brushless motor control technology research 20-28
3.1 brushless DC motor speed current double closed-loop system 20
3.2 brushless DC motor PWM control mode 20-22
3.3 brushless motor current detection technology research 22-24
3.4 brushless motor control system algorithm 24-28
3.4.1 PID algorithm 24-26
3.4.2 digital filtering technology 26-28
The
brushless motor controller hardware to achieve 28-36
4.1 brushless motor controller hardware structure 28-29
4.2 key device selection 29-32
4.2.1 microcontroller unit 29-30
4.2.2 motor power drive unit 30-32
4.3 main circuit module 32-36
the 5 embedded real-time operating system uC / OS-II 36-44
5.1 uC / OS-II system structure 36-37
5.2 the composition of the task and the state 37-38
5.3 task Ready Table 38-39
5.4 task scheduler 39-42
5.5 uC / OS-II interrupted 42-43
5.6 clock beat 43-44
6 uC / OS-II brushless motor control system software design 44-56
6.1 uC / OS-II on the transplant dsPIC30F6010A 44-48
6.1.1 to rewrite OS_CPU.H 44-45
6.1.2 to rewrite OS_CPU_C.C 45-47
6.1.3 to rewrite OS_CPU_A. the ASM 47-48
6.2 uC / OS-II task program design 48-56
6.2.1 task allocation 48-49
6.2.2 task design 49-56
7 Results and analysis 56-66
7.1 test porting code 56-60
7.1.1 verify OSTaskStkInit () and OSStartHighRdy () function 56-57
7.1.2 verify OSCtxSw () function 57-58
7.1.3 verify OSIntCtxSw () and OSTickISR () function 58-60
7.2 brushless DC motor open loop experiments 60-62
7.2.1 rotor position signal detection experiment 60-61
7.2.2 In the case of the duty cycle of the PWM signal for 5096, the motor no-load operation waveform 61-62
7.3 brushless motor closed-loop experiments 62-66
the
a 7.3.1 brushless motor speed closed-loop experiments 62-66
8 Conclusion 66-68
Acknowledgements 68-70
the
References 70-72
Appendix 72
A. laboratory equipment 72
the papers directory published by the B. of study for a degree during 72
Related dissertations
- Research of High Frequencyangular Vibration Turntable Control System
- Adaptive Fuzzy PID Speed Control Algorithm in Brushless DC Motor
- Research on Brushless DC Motor Stepless Speed Regulation System Based on the Fuzzy Adaptive Pi Control
- Research on the Electromagnetic Field Theory and Sensorless Technology of High-speed BLDC Motors
- Four-switch Drive with APFC for BLDCM Control System
- Study on Torque Ripple Suppression Technique of Brushless DC Motor
- The Application of the BP Neural Network in Brushless DC Motor Speed Control System
- The Design and Implementation of Multi-speed Control System for Sensorless BLDCM
- A Study of the Control System of BLDCM
- Reach for Brushless DC Motor Fuzzy Control System Based on ARM
- Fuzzy Control System Design of Brushless DC Motor for Electric Vehicle Based on DSP
- The Design and Realization of the Sensorless Brushless DC Motor Control System
- Direct Torque Control of Sensorless Brushless DC Motor
- Study on Application of Intelligent Algorithm in Control System of Brushless DC Motor
- Study of Direct Torque Control System of Brushless DC Motor
- The Adaptive Fuzzy Control of Brushless DC Motor Based on Genetic Algorithm
- Control of DC Variable Frequency Speed Regulation System Based on DSP
- Applied Research of Brushless Direct Current Motor Based on Piecewise Fuzzy-PI Control
- The Speed Control of Blushless DC Motor Based on Predictive Functional Control
- The EKF Rotor Position Estimates and Variable Structure Control of Brushless DC Motor