Atmel 8-bit AVR Microcontrollers AVR430: MC300 Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro ne Atmel 8-bit AVR Microcontrollers AVR430: MC300. Atmel 8-bit AVR Microcontrollers AVR430: MC300 User guide [en] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 19
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
AVR1607: Brushless DC Motor (BLDC) Control
in Sensor mode using ATxmega128A
1 and
ATAVRMC323
Features
BLDC Motor Basics
Hardware Implementation
Code Example
References
[1] ATxmega128A1 Data sheet
[2] AVR430: MC300 Hardware User Guide
[3] AVR1014: MC303 Hardware User Guide
[4] AVR601: Atmel Modular Evaluation Kits for Motor Control Applications
Glossary
BLDC : Brushless DC
PWM : Pulsed Width Modulation
IGBT : Insulated Gate Bipolar Transistor
AWEX : Advanced Waveform Extension
1 Introduction
This application note describes how to implement a control of Brushless DC motor
(BLDC) in sensor mode using the ATxmega128A1, Atmel
®
AVR
®
microcontroller
and the ATAVRMC323 development kit.
This application note deals only with BLDC motor control application using Hall
effect position sensors to control commutation sequence.
In this document, we will give a short description of brushless DC motor theory of
operations. We will detail how to control a brushless DC motor in sensor mode and
we will also provide a short description of the ATAVRMC303 and ATAVRMC300
boards used in this application note.
Software implementation is also discussed with software control loop using a PID
filter.
8-bit
Microcontrollers
Application Note
Rev. 8311A-AVR-07/10
Zobrazit stránku 0
1 2 3 4 5 6 ... 18 19

Shrnutí obsahu

Strany 1 - 1 Introduction

AVR1607: Brushless DC Motor (BLDC) Control in Sensor mode using ATxmega128A1 and ATAVRMC323 Features • BLDC Motor Basics • Hardware Implementa

Strany 2

10 AVR1607 8311A-AVR-07/10 Table 1-4. ATAVRMC303 jumper settings Jumper Position Comment J15 Open Shunt_neg (Jumpers to be removed to enable JTAG P

Strany 3 - 2.3 Power Stage

AVR1607 118311A-AVR-07/10 4.6.2 Ground and Power Wirings One design its own board has to take care of the ground wiring and power wiring. The power

Strany 4

12 AVR1607 8311A-AVR-07/10 Figure 9. Main flow chart The tasks are scheduled thanks to the g_tick produced each 1.024ms with Timer1.

Strany 5 - 8311A-AVR-07/10

AVR1607 138311A-AVR-07/10 5.2 INIT : Initialisation functions The initialization functions are following 5.2.1 clock_init() • Oscillator : 32MHz RC

Strany 6

14 AVR1607 8311A-AVR-07/10 duty_cycle = mc_control_current(mc_get_potentiometer_value()) 5.4 Commutation The phase commutation has to be achieved ac

Strany 7 - 4 Hardware description

AVR1607 158311A-AVR-07/10 • and secondly, a switch of the power bridge according to next expected position and the direction of the rotation. AWE

Strany 8

16 AVR1607 8311A-AVR-07/10 Table 1-5. List of commands Command Action ru Run motorst Stop Motorhelp Gives helpfw Set direction to Forwardbw Set dir

Strany 9 - J2(VCC) Open Vcc = +5V

AVR1607 178311A-AVR-07/10 7 USB communication Communication can be achieved from PC to USB connector of MC303 board. The AVR1014, MC303 Hardware U

Strany 10 - AVR1607

8311A-AVR-07/10 Disclaimer Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(

Strany 11 - 5 Firmware

Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Atmel: ATAVRMC323

Strany 12

2 AVR1607 8311A-AVR-07/10 2 Brushless DC motor Theory of Operation 2.1 Simplified Model of a BLDC Motor A simplified model of a three phases BLDC mot

Strany 13 - 5.3 Regulation functions

AVR1607 38311A-AVR-07/10 Figure 2. Model of a BLDC Motor with current flows versus rotor positions Figure 3. Commutation sequence Notes : - Open p

Strany 14

4 AVR1607 8311A-AVR-07/10 2.4 Hall sensors For the estimation of the rotor position, the motor is equipped with three hall sensors. These hall senso

Strany 15 - 6.2 PC applications

AVR1607 58311A-AVR-07/10 Reading hall sensors values (HS_xxx variable) indicates which new scheme should be switched.(see following table) Table 1-

Strany 16

6 AVR1607 8311A-AVR-07/10 motor. Then Phase U is unpowered and Phase W is connected to the positive DC bus, resulting in a new stator flux vector ‘St

Strany 17 - 7 USB communication

AVR1607 78311A-AVR-07/10 o 8x4 differential inputs with selectable 1/2/4/8/16/32/64x gain • Four Analog Comparators with Window compare function,

Strany 18 - Headquarters International

8 AVR1607 8311A-AVR-07/10 4.1 Hardware implementation The block diagram of the sensor closed loop is following : Figure 8. System block diagram The

Strany 19 - Mouser Electronics

AVR1607 98311A-AVR-07/10 PA3 98 V_conditioned = V / 6 (Not used) PA4 99 W_conditioned = W / 6 (Not used) PA5 100 Vn_conditioned Neutral vol

Komentáře k této Příručce

Žádné komentáře