8-bit Microcontroller. Application Note. AVR496: Brushless DC Motor Control using ATtiny861
|
|
|
- Pearl Morris
- 9 years ago
- Views:
Transcription
1 AVR496: Brushless DC Motor Control using ATtiny861 Features BLDC Motor Control in Sensor Mode Timer 1 Waveform Generator Use Hardware Implementation Code Example 8-bit Microcontroller Application Note References [1] ATtiny261/461/861 data sheet [2] AVR449: Sinusoidal driving of 3-phase permanent magnet motor using ATtiny261/461/861 [3] AVR430: MC300 Hardware User Guide [4] AVR469: MC301 Hardware User Guide 1. Introduction This application note describes how to implement a brushless DC motor control in sensor mode using the ATtiny861 AVR microcontroller. The high performance AVR core a long with the Timer 1 of the ATtiny861 allows to design high speed brushless DC motor applications. 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 give a short description of the ATAVRMC301 and ATAVRMC300 boards used in this application note. This application note deals only with BLDC motor control application using Hall effect position sensors to control commutation sequence. 2. Theory of Operations Brushless DC motors are used in a growing number of motor applications as they have many advantages: They have no brushes so they require little or no maintenance. They generate less acoustic and electrical noise than universal brushed DC motors. They can be used in hazardous operation environments (with flammable products). They have a good weight/size to power ratio...
2 Such motors have a little rotor inertia. The coils are attached to the stator. The commutation is controlled by electronics. Commutation times are provided either by position sensors or by coils Back Electromotive Force measurements. In sensor mode, Brushless DC motors usually consist of three main parts: a Stator, a Rotor and Hall Sensors. 2.1 Stator A basic three phases BLDC motor Stator has three coils. In many motors, the number of coils is replicated to have a smaller torque ripple. Figure 2-1 shows the electrical schematic of the stator. It consists of three coils each including three elements in series, an inductance, a resistance and one back electromotive force. Figure 2-1. Stator Electrical Configuration (Three phases, three coils) U L,R Bemf U Bemf W Bemf V W L,R L,R V 2.2 Rotor The rotor in a BLDC motor consists of an even number of permanent magnets. The number of magnetic poles in the rotor also affects the step size and torque ripple of the motor. More poles give smaller steps and less torque ripple. The permanent magnets go from 1 to 5 pairs of poles. In certain cases it can go up to 8 pairs of poles.(figure 2-2). Figure 2-2. Three phase, three coil BLDC motor stator and rotor Stator Stator N S Rotor N S S N Rotor 1 pair of poles 2 pairs of poles 2 AVR496
3 AVR Hall Sensor Hall Sensors are placed every 120. With these sensors, 6 different commutations are possible. Phase commutation depends on Hall Sensor values. Power supply to the coils changes when Hall Sensor values change. With right synchronized commutations, the torque remains nearly constant and high. Hall Sensor signals for CW rotation H1 H2 H3 Coil U +V -V Coil V +V -V +V Coil W -V +V 2.4 Phase Commutations To simplify the explanation of how to operate a three phases BLDC motor, a typical BLDC motor with only three coils is considered. As previously shown, phases commutation depends on the Hall Sensor values. When motor coils are correctly powered, a magnetic field is created and the rotor moves. The most elementary commutation driving method used for BLDC motors is an onoff scheme: a coil is either conducting or not conducting. Only two windings are powered at the same time and the third winding is floating. Connecting the coils to the power and neutral bus induces the current flow. This is referred to as trapezoidal commutation or block commutation. To command brushless DC motors, a power stage made of 3 half bridges is used. Figure 2-4 below shows a 3 half bridge schematic. 3
4 Figure V UH Q1 VH Q3 WH Q5 VDC U V W UL Q2 VL Q4 WL Q6 0 Table 2-1. Hall Sensors Value (H3 H2 H1) Phase Switches 101 U-V Q1 ; Q4 001 U-W Q1 ; Q6 011 V-W Q3 ; Q6 010 V-U Q3 ; Q2 110 W-U Q5 ; Q2 100 W-V Q5 ; Q4 ElectricalFieldRotation = MecanicalRotation P( poles) 2.5 Speed and Torque Control current flow through the coils, the speed and torque of the motor can be adjusted. The most common way to control the current flow is to control the average current flow through the coils. The duty cycle of the PWM(Pulse Width Modulation) outputs are used to adjust the average voltage and thereby the average current, inducing the speed. To give an idea, the PWM frequency is chosen is the range from 10kHz to 200kHz according to the application (maximum of transistor switching frequency, electrical parameters of motors, commutation losses, audible frequency...) 4 AVR496
5 AVR496 Figure 2-5. Hall_H3H2H Step1 110 Step2 Step3 Step4 Step5 Step6 voltage by the switch Q1 and Phase V is connected by the switch Q4, Phase W is unpowered as the others swiches (Q2,Q3,Q5 and Q6) are opened. Two flux vectors are generated by phase U (red arrow) and phase V (blue arrow). The sum of the two vectors give the stator flux vector (green arrow). Then the rotor tries to follow the stator flux. As soon as the rotor reaches a given position, the Hall Sensors gives a new logical state of this position (from 010 to 011 ) and the next voltage pattern is selected and applied to the BLDC motor. Phase V is unpowered and Phase W is connected to the ground, resulting in a new stator flux vector Step2. The switching sequence described in schematic Figure 2-3 and Table 1, shows six different stator flux vectors corresponding to the six commutation steps. The six steps provide one electrical field rotation. 5
6 3. ATtiny861 microcontroller 3.1 Generating PWM signals with dead-time with ATtiny261/461/861 The Timer/Counter1 (TC1) module of the ATtinyX61 family is very well suited for driving threephase motors. It can be run from a 64MHz PLL, and has a resolution of 10 bits. Six PWM outputs can be generated from this timer, grouped into three complementary output pairs with configurable dead-time. The PWM6 mode is perfect for block commutation of brushless DC motors. For a maximum safety, a hardware fault protection unit can disable the PWM drivers without any intervention from the CPU. To control a triple half-bridge driver stage, the Phase and frequency correct PWM mode of TC1 is used. In this mode, three pair of complementary PWM outputs with hardware dead-time insertion can be generated. This is exactly what is needed to generate three-phase sinusoidal drive waveforms with a triple half-bridge driver stage and chosen in the PWM generation. The operation of one of the three complementary output pairs can be seen in Figure 3 2. The counter counts in an up-down counting mode. The OCR1x register specifies the current duty cycle. An intermediate waveform, labeled as OCW1x in the figure, is generated by clearing the output on a compare match when up-counting and setting the output on compare match when down-counting. This intermediate waveform feeds to the dead time generator, which in turn generates two outputs from this waveform. The non-inverted output, OC1x, follows OCW1x, except it will not go high until a specified dead-time period, DT1H, has elapsed after OCW1x goes high. The inverted output, OC1x, follows the inverted OCW1x signal, except it will not go high until a specified dead-time period, DT1L, has elapsed after OCW1x goes low. The result is a pair of complementary outputs with dead-time. To control the duty cycle of one half-bridge, only one register, OCR1x needs to be changed. The average voltage output of the half-bridge will be proportional to this signal. Figure 3-1. TOP Generating PWM signals. OCR1x PWM cycle TCNT1 OCW1x OC1x DT1L DT1H OC1x 6 AVR496
7 AVR PWM base frequency Timer/counter1 clock will be referred to as fclk,t/c1 in the following. The PWM frequency as a function of Timer/Counter1 clock frequency can be calculated from Figure 3-2. Figure 3-2. PWM base frequency as a function of timer clock frequency. f f CLK, T ( C1) PWM = TOP 2 The PWM frequency with a Timer/Counter1 clock frequency of 64 MHz and 10 bit resolution is thus 31,28kHz. 4. Hardware Description Figure 4-1. ATAVRMC301 & ATAVRMC300 connection ATAVRMC301 Processor Board (ATtiny861) ATAVRMC300 Power Board (bridge) The power bridge (Q1 to Q6) is controlled through 6 signals UL, UH, VL, VH, WL, WH which are modulated by the PWM signal to adjust the motor DC voltage.see Speed and Torque Control on page 4. 7
8 Figure 4-2. BLDC Application +12V Potentiometer TWI UL UH VL VH WL WH shunt + shunt - POWER BRIDGE (Q1..Q6) shunt 3 BLDC motor Rotor Position Sensors H1 H2 H3 Figure 4-3. UL PB0/OC1A* PA0/SDA TWI/speed UH PB1/OC1A PA1/ADC1 Speed VL PB2/OC1B* PA2/ADC2/SCL TWI VH PB3/OC1B PA3/AREF/PCINT3 Hall_1 VCC AGND GND AVCC WL PB4/OC1D* PA4/ADC3/ICP0/PCINT4 Hall_2 WH PB5/OC1D PA5/ADC4/AIN2/PCINT5 Hall_3 Fault/Speed PB6/ADC9/INT0(fault) PA6/ADC5/AIN0/PCINT6 Shunt + Debug Wire PB7/RESET/ADC10 PA7/ADC6/AIN1/PCINT7 Shunt - 8 AVR496
9 AVR Software Description 5.1 Preamble And html documentation is delivered with the AVR496 software package. It can be opened thanks to the readme.html file located in the source directory. main.c ushell_task.c USI_TWI_Slave.c 5.2 BLDC Motor Control Implementation Figure 5-1. Duty Cycle PWM Generation Switch Commutation Timer 1 Commutate OC1A OC1A* OC1B OC1B* OC1D OC1D* UH UL VH VL WH WL Power Bridge U V W BLDC Motor H1 H2 H3 ADC5 ADC6 Current Measurement ADC ADC2 Speed Reference commtableforward commtablereverse PCINT3 Speed Measurement timer 0 Pin Change Int PCINT4 PCINT5 9
10 5.3 Function description void main(void): void Commutate(void): void SpeedMeasurement(void): void PLLInit(void): void PWMInit(void): void HallSensorInit(void): void ADCInit(void): void PortsInit(void): void TWInit(void): void MotorSetDutyCycle(uint16_t duty): interrupt void HallChangeISR(): interrupt void ADCISR(): void Timer0Init(void): interrupt void ovfl_timer0(void): CPU & Memory usage All measurements have been realized with Fosc = 8MHz. They also depend on the motor type (numbers of pair of poles). With a motor of 4 pairs of poles, Hall Sensor frequency is four times as high as the motor frequency. All results in Figure 5-1 are obtained with a three-phase BLDC motor with four pairs of poles and a maximum speed of 6600 rpm. (Motor provided with the ATAVRMC300 kit). Microcontroller utilization rate Function Parameters Activation Time Activation Period Ratio CPU % HallChangeISR() Speed = 6600 rpm 10µS 380µS 2.7 ADCISR() Speed = 6600 rpm 4µS 25µS 16 With the same conditions, the microcontroller memory usage is: 1332 bytes of CODE memory (Flash occupation = 17% ). Including communication protocole through TWI 153 bytes of DATA memory (SRAM occupation = 30%). Including stack and communication protocole through TWI 10 AVR496
11 ATAVRMC300 & ATAVRMC301 Configuration and Use Table 6-1. Jumper Position Comment J1(VHa) Pin1 & 2 shorted VHa = +5V J2(VCC) Open Vcc = +5V ATAVRMC301 jumper settings J8 Speed => Potentiometer SCL => TWI Select speed reference J9 All mounted Connect PBO/PB1/PB2 to UL/UH/VL J10 Not mounted J11 SH+ Connect Shunt+ to PA6 J12 SH- Connect Shunt- to PA7 J13 Not mounted J15 H1 Connect H1 to PA1 J16 H2 Connect H2 to PA4 J17 H3 Connect H3 to PA5 J19 See Hardware User Guide Select UVCC for USB stage 7. Conclusion 8. Appendix
12 42BLS Motor Characteristics
13 Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA USA Tel: 1(408) Fax: 1(408) Atmel Asia Unit 1-5 & 16, 19/F BEA Tower, Millennium City Kwun Tong Road Kwun Tong, Kowloon Hong Kong Tel: (852) Fax: (852) Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP Saint-Quentin-en- Yvelines Cedex France Tel: (33) Fax: (33) Atmel Japan 9F, Tonetsu Shinkawa Bldg Shinkawa Chuo-ku, Tokyo Japan Tel: (81) Fax: (81) Product Contact Web Site Technical Support [email protected] Sales Contact Literature Requests Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN- TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life Atmel Corporation. All rights reserved. Atmel, Atmel logo and combinations thereof, AVR and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.
APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.
APPLICATION NOTE Features Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor Less than 5µs response time on Hall sensor output change Theoretical maximum of 1600k RPM Over-current sensing
AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.
AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series 1 Introduction This application note outlines the steps necessary to optimize analog to digital conversions on AT32UC3A0/1,
AVR449: Sinusoidal driving of 3-phase permanent magnet motor using ATtiny261/461/861. 8-bit Microcontrollers. Application Note.
Features AVR449: Sinusoidal driving of 3-phase permanent magnet motor using ATtiny261/461/861 Three-phase sine waves - 192 steps per electrical revolution - 10-bit amplitude resolution Hardware dead-time
AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,
AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS
AVR1309: Using the XMEGA SPI Features Introduction to SPI and the XMEGA SPI module Setup and use of the XMEGA SPI module Implementation of module drivers Polled master Interrupt controlled master Polled
AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32788: AVR 32 How to use the SSC in I2S mode Features I²S protocol overview I²S on the AVR32 I²S sample rate configurations Example of use with AT32UC3A on EVK1105 board 32-bit Microcontrollers Application
AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction
AVR1510: Xplain training - XMEGA USART Prerequisites Required knowledge AVR1500: Xplain training XMEGA Basics AVR1502: Xplain training XMEGA Direct Memory Access Controller Software prerequisites Atmel
AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32701: AVR32AP7 USB Performance Features Linux USB bulk transfer performance ATSTK1000 (32-bit SDRAM bus width) ATNGW100 (16-bit SDRAM bus width) GadgetFS driver and gadgetfs-test application USB performance
8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB
AVR282: USB Firmware Upgrade for AT90USB Features Supported by Atmel FLIP program on all Microsoft O/S from Windows 98SE and later FLIP 3.2.1 or greater supports Linux Default on chip USB bootloader In-System
AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel
AVR115: Data Logging with Atmel File System on ATmega32U4 Microcontrollers 01101010 11010101 01010111 10010101 Application Note 1 Introduction Atmel provides a File System management for AT90USBx and ATmegaxxUx
AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction
AVR1900: Getting started with ATxmega128A1 on STK600 1 Introduction This document contains information about how to get started with the ATxmega128A1 on STK 600. The first three sections contain information
AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors
AVR1600: Using the XMEGA Quadrature Decoder Features Quadrature Decoders 16-bit angular resolution Rotation speed and acceleration 1 Introduction Quadrature encoders are used to determine the position
AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR353: Voltage Reference Calibration and Voltage ADC Usage Features Voltage reference calibration. - 1.100V +/-1mV (typical) and < 90ppm/ C drift from 10 C to +70 C. Interrupt controlled voltage ADC sampling.
Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA
Using CryptoMemory in Full I 2 C Compliant Mode 1. Introduction This application note describes how to communicate with CryptoMemory devices in full I 2 C compliant mode. Full I 2 C compliance permits
Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration
AVR270: USB Mouse Demonstration Features Runs with AT90USB Microcontrollers at 8MHz USB Low Power Bus Powered Device (less then 100mA) Supported by any PC running Windows (98SE or later), Linux or Mac
AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1301: Using the XMEGA DAC Features 12 bit resolution Up to 1 M conversions per second Continuous drive or sample-and-hold output Built-in offset and gain calibration High drive capabilities Driver source
AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1318: Using the XMEGA built-in AES accelerator Features Full compliance with AES (FIPS Publication 197, 2002) - Both encryption and decryption procedures 128-bit Key and State memory XOR load option
AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK 500 Starter Kit and AVR Studio Debugger Creating a New Project Using
AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR287: USB Host HID and Mass Storage Demonstration Features Based on AVR USB OTG Reduced Host Runs on AT90USB647/1287 Support bootable/non-bootable standard USB mouse Support USB Hub feature (Mass Storage
AT91SAM ARM-based Flash MCU. Application Note
Modbus Slave Stack for the Atmel Family of SAM3 Microcontrollers (Free Modbus Stack from Embedded Solutions) 1. Scope This application note provides directions and instructions to application engineers
AVR2006: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna. Application Note. Features.
AVR26: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna Features Radiation pattern Impedance measurements WIPL design files NEC model Application Note 1 Introduction This
Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.
Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2 Features Advantages Implementation differences Integration Migration from stack V1 to stack V2 8-bit Atmel Microcontrollers Application
Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge
AVR272: USB CDC Demonstration UART to USB Bridge Features Supported by Windows 2000 or later No driver installation Virtual COM Port Enumeration USB to RS232 Bridge with dynamic baudrate Bus powered 8-bit
32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2
AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2 1. Introduction The purpose of this application note is to show how to compile any of the application and driver examples
AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR125: ADC of tinyavr in Single Ended Mode Features Up to 10bit resolution Up to 15kSPS Auto triggered and single conversion mode Optional left adjustment for ADC result readout Driver source code included
3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary. Features. Applications. 1. Description
Features Three Selectable Outputs All Outputs Can Be Used Either for Standard (5V) or High Voltage (9V) Maximum Output Current at All Outputs Up to 150 ma On-chip Low-EMI RF Oscillator With Spread-spectrum
Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.
Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures Features Compliance to USB 2.0 - Chapters 8 and 9 - Classes: HID, MSC, CDC, PHDC Interoperability: OS, classes, self- and bus-powered
AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer
How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or
APPLICATION NOTE Atmel AVR32848: Android Accessory Demo 32-bit Atmel Microcontrollers Features Control an accessory from an Android device Send data to and from an Android device to an accessory Supported
APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction
Atmel AVR4903: ASF - USB Device HID Mouse Application Features USB 2.0 compliance - Chapter 9 compliance - HID compliance - Low-speed (1.5Mb/s) and full-speed (12Mb/s) data rates Standard USB HID mouse
AN2680 Application note
Application note Fan speed controller based on STDS75 or STLM75 digital temperature sensor and ST72651AR6 MCU Introduction This application note describes the method of defining the system for regulating
AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR319: Using the USI module for SPI communication Features C-code driver for SPI master and slave Uses the USI module Supports SPI Mode 0 and 1 Introduction The Serial Peripheral Interface (SPI) allows
AVR442: PC Fan Control using ATtiny13. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR442: PC Fan Control using ATtiny13 Features Variable speed based on: - Temperature sensor (NTC). - External PWM input. Stall detection with alarm output. Implementation in C code to ease modification.
General Porting Considerations. Memory EEPROM XRAM
AVR097: Migration between ATmega128 and ATmega2561 Features General Porting Considerations Memory Clock sources Interrupts Power Management BOD WDT Timers/Counters USART & SPI ADC Analog Comparator ATmega103
AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features.
AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC Features Calibration using a 32 khz external crystal Adjustable RC frequency with maximum +/-2% accuracy Tune RC oscillator at any
Application Note. 8-bit Microcontrollers. AVR293: USB Composite Device
AVR293: USB Composite Device Features Combining several USB applications using ONE DEVICE No HUB needed Bus powered 1. Introduction Adding to the flexibility given to the user with the Hot Plug & Play,
AVR447: Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168. 8-bit Microcontrollers. Application Note.
AVR447: Sinusoidal driving of three-phase permanent magnet motor using ATmega48/88/168 Features Three-phase sine waves - 192 steps per electrical revolution - 8-bit amplitude resolution Software dead-time
AVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR245: Code Lock with 4x4 Keypad and I2C LCD Features Application example for code lock - Ideal for low pin count AVRs Uses I/O pins to read 4x4 keypad Uses Timer/Counter to control piezoelectric buzzer
Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.
Atmel AVR1017: XMEGA - USB Hardware Design Recommendations Features USB 2.0 compliance - Signal integrity - Power consumption - Back driver voltage - Inrush current EMC/EMI considerations Layout considerations
256K (32K x 8) Battery-Voltage Parallel EEPROMs AT28BV256
Features Single 2.7V - 3.6V Supply Fast Read Access Time 200 ns Automatic Page Write Operation Internal Address and Data Latches for 64 Bytes Internal Control Timer Fast Write Cycle Times Page Write Cycle
AVR1003: Using the XMEGA Clock System. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1003: Using the XMEGA Clock System Features Internal 32 khz, 2 MHz, and 32 MHz oscillators External crystal oscillator or clock input Internal PLL with multiplication factor 1x to 31x Safe clock source
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time
APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features
APPLICATION NOTE Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver Description Atmel SAMD20 This application note describes a method to connect an Atmel ATSAMD20E microcontroller to an Atmel
AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example
Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations
C51 General Information about Bootloader and In System Programming Overview This document describes the Atmel Bootloaders for 8051 family processors. Abreviations ISP: In-System Programming API : Applications
Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction
Application Note Atmel Authentication Modes Prerequisites Hardware Atmel AT88CK454BLACK Evaluation Board Atmel AT88CK109STK8 Kit Software Atmel Crypto Evaluation Studio (ACES) Overview Understand which
8051 Flash Microcontroller. Application Note. A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller
A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller Features Temperature range -55 C to +125 C in.5 C increments LCD Display RS485 Interface Applicable to any AT89LP Microcontroller C and
APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction
APPLICATION NOTE Atmel LF-RFID Kits Overview Atmel LF-RFID Kit LF-RFID Kit Introduction Atmel offers several design and evaluation kits for a fast and easy way to test the LF-RFID technology but also developing
AVR2004: LC-Balun for AT86RF230. Application Note. Features. 1 Introduction
AVR2004: LC-Balun for AT86RF230 Features Balun for AT86RF230 with lumped elements Simulation results S-Parameter file 1 Introduction In some cases the used balun on the ATAVR RZ502 Radio Boards must be
Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview
Application Note Atmel CryptoAuthentication Product Uses Atmel Abstract Companies are continuously searching for ways to protect property using various security implementations; however, the cost of security
Setup for PWM Tests of BLDC Motor
Setup for PWM Tests of BLDC Motor Author: Arber Nicaj Date: 11/11/13 Abstract This application note examines BLDC motor control and offers a solution for setting up a BLDC motor for PWM testing using Texas
APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description
APPLICATION NOTE Atmel AT259: In House Unit with Bluetooth Low Energy Module Hardware User Guide Features 8-bit Atmel Microcontroller Low power consumption Interface with BLE with UART Bi-direction wake
8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.
AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive
AT88CK490 Evaluation Kit
AT88CK490 Evaluation Kit CryptoAuthentication USB Dongle HARDWARE USER GUIDE Atmel AT88CK490 CryptoAuthentication Evaluation Kit Introduction The Atmel AT88CK490 CryptoAuthentication Evaluation Kit is
APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.
APPLICATION NOTE Features Atmel AT01095: Joystick Game Controller Reference Design 8-/16-bit Atmel Microcontrollers Joystick Game Controller Atmel ATxmega32A4U microcontroller In System Programming (ISP)
AVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR32110: Using the AVR32 Timer/Counter Features Three independent 16 bit Timer/Counter Channels Multiple uses: - Waveform generation - Analysis and measurement support: Frequency and interval measurements
USER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
APPLICATION NOTE. Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK. Atmel AVR 32-bit Microcontroller. Features. Description.
APPLICATION NOTE Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK Atmel AVR 32-bit Microcontroller Features USB-CAN gateway USB CDC class (virtual serial port) provides low level data stream Customized
8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming
AVR910: In-System Programming Features Complete In-System Programming Solution for AVR Microcontrollers Covers All AVR Microcontrollers with In-System Programming Support Reprogram Both Data Flash and
8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter
AVR400: Low Cost A/D Converter Features Interrupt Driven : 23 Words Low Use of External Components Resolution: 6 Bits Measurement Range: 0-2 V Runs on Any AVR Device with 8-bit Timer/Counter and Analog
Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter
APPLICATION NOTE Features Atmel AVR32918: UC3-A3 Xplained Hardware User s Guide Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter I/O One mechanical button
AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE
AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available
64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B
Features Fast Read Access Time 150 ns Automatic Page Write Operation Internal Address and Data Latches for 64 Bytes Fast Write Cycle Times Page Write Cycle Time: 10 ms Maximum (Standard) 2 ms Maximum (Option
3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers
Freescale Semiconductor Application Note AN1916 Rev. 2.0, 11/2005 3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers Leonard N. Elevich Contents 1. Application Benefits...1
AT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features
User Notes 1. Description The CAN bootloader SAM-BA Boot4CAN allows the user to program the different memories and registers of any Atmel AT91SAM product that includes a CAN without removing them from
AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts
Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.
Microcontroller for Variable Speed BLDC Fan Control System T.C. Lun System Engineer, Freescale Semiconductor, Inc. 1 Introduction Portable, feature rich, high-performance and compact in size are typical
8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.
AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,
AVR444: Sensorless control of 3-phase brushless DC motors. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR444: Sensorless control of 3-phase brushless DC motors Features Robust sensorless commutation control. External speed reference. Overcurrent detection/protection. Basic speed controller included. Full
How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board
APPLICATION NOTE Features AT09567: ISM Band PCB Antenna Reference Design Atmel Wireless Compact PCB antennas for 915MHz and 2.4GHz ISM bands Easy to integrate Altium design files and gerber files Return
SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE
SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed
Atmel Norway 2005. XMEGA Introduction
Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K
8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector
AVR182: Zero Cross Detector Features Interrupt Driven Modular C Source Code Size Efficient Code Accurate and Fast Detection A Minimum of External Components Introduction One of the many issues with developing
AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.
AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR Features How to open a new workspace and project in IAR Embedded Workbench Description and option settings for compiling the c-code Setting
3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary
Features Three Selectable Outputs All Outputs Can Be Used Either for Standard (5V) or High Voltage (9V) Maximum Output Current at All Outputs Up to 150 ma On-chip Low-EMI RF Oscillator With Spread-spectrum
AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE
Atmel 8-bit and 32-bit Microcontrollers AVR127: Understanding ADC Parameters APPLICATION NOTE Introduction This application note explains the basic concepts of analog-to-digital converter (ADC) and the
Quick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements
ATADAPCAN01 - STK501 CAN Extension The ATADAPCAN01 - STK501 CAN add-on is an extension to the STK500 and STK501 development boards from Atmel Corporation, adding support for the AVR AT90CAN128 device in
AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE
Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the
Application Note AN-1187
Application Note AN-1187 IR3230 Sensorless BLDC Motor Drive By Alex Lollio Table of Contents Application Note AN-1234... 1 Introduction... 2 Basic Working Principle... 3 Motor Control... 4 Motor Control
AT89LP Flash Data Memory. Application Note. AT89LP Flash Data Memory API. 1. Introduction. 2. Theory of Operation. 2.1 Flash Memory Operation
AT89LP Flash Data Memory API 1. Introduction Many embedded systems rely on nonvolatile parameters that are preserved across reset or power-loss events. In some systems this static information is used to
8-bit Microcontroller. Application Note. AVR314: DTMF Generator
AVR314: DTMF Generator Features Generation of Sine Waves Using PWM (Pulse-Width Modulation) Combine Different Sine Waves to DTMF Signal Assembler and C High-level Language Code STK500 Top-Module Design
AT89C5131A Starter Kit... Software User Guide
AT89C5131A Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3
AVR ONE!... Quick-start Guide. EVK1101 + Windows 32104B AVR ONE! 02/10
AVR ONE!... Quick-start Guide EVK1101 + Windows Table of Contents (Continued) Section 1 Introduction...1-1 1.1 General... 1-1 1.2 Requirements... 1-1 Section 2 Quick-start guide (short version)...2-1 2.1
How To Control A Motor Control On An Hvac Platform
Freescale Semiconductor Document Number:AN4616 Application Note Rev. 0, 10/2012 Flap Motor Control Based On HVAC Platform by: Shawn Shi, Albert Chen, Alex Liu 1 Introduction According to the world market
AN235 Application note
Application note Stepper motor driving By Thomas Hopkins Introduction Dedicated integrated circuits have dramatically simplified stepper motor driving. To apply these ICs, designers need little specific
Step Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction
AVR360: Step Motor Controller Features High-Speed Step Motor Controller Interrupt Driven Compact Code (Only 10 Bytes Interrupt Routine) Very High Speed Low Computing Requirement Supports all AVR Devices
AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE
Atmel AVR 8-bit Microcontrollers AT15007: Differences between ATmega328/P and ATmega328PB APPLICATION NOTE Introduction This application note assists the users of Atmel ATmega328 variants to understand
AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface
Interfacing a PC Card to an AT91RM9200-DK Introduction This Application Note describes the implementation of a PCMCIA interface on an AT91RM9200 Development Kit (DK) using the External Bus Interface (EBI).
USER GUIDE. ZigBit USB Stick User Guide. Introduction
USER GUIDE ZigBit USB Stick User Guide Introduction This user guide describes how to get started with the Atmel ZigBit USB sticks. The ZigBit USB sticks is targeted for evaluating the USB features of the
Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers. 8-bit Atmel Microcontrollers. Application Note.
Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers Features Atmel AVR core and Atmel AVR GCC introduction Tips and tricks to reduce code size Tips and tricks to reduce
CryptoAuth Xplained Pro
CryptoAuth Xplained Pro CryptoAuthentication Xplained Pro Extension Board HARDWARE USER GUIDE Atmel CryptoAuth Xplained Pro Extension Board Introduction The Atmel CryptoAuth Xplained Pro (CAXPro) Evaluation
Introducing a platform to facilitate reliable and highly productive embedded developments
Beyond the IDE Introducing a platform to facilitate reliable and highly productive embedded developments Author: Joerg Bertholdt, Director of Marketing, MCU Tools and Software, Atmel Corporation Beyond
BLDC Motor Control with Hall Effect Sensors Using the 9S08MP
Freescale Semiconductor Application Note Document Number: AN458 Rev., 4/2 BLDC Motor Control with Hall Effect Sensors Using the 9S8MP by: Eduardo Viramontes Systems and Applications Engineering Freescale
8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface
AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface Features Compatible with Philips' I 2 C protocol 2-wire Serial Interface Master Driver for Easy Transmit and Receive Function
8-bit Microcontroller. Application Note. AVR286: LIN Firmware Base for LIN/UART Controller. LIN Features. 1. Atmel LIN/UART Controller
AVR286: LIN Firmware Base for LIN/UART Controller LIN Features The LIN (Local Interconnect Network) is a serial communications protocol which efficiently supports the control of mechatronics nodes in distributed
APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction
APPLICATION NOTE Atmel AVR600: STK600 Expansion, Routing and Socket Boards Introduction Atmel Microcontrollers This application note describes the process of developing new routing, socket and expansion
Tag Tuning/RFID. Application Note. Tag Tuning. Introduction. Antenna Equivalent Circuit
Tag Tuning Introduction RFID tags extract all of their power to both operate and communicate from the reader s magnetic field. Coupling between the tag and reader is via the mutual inductance of the two
Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor
APPLICATION NOTE AVR1925: XMEGA-C3 Xplained Hardware User s Guide Features Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors Ambient light sensor Temperature
AN3332 Application note
Application note Generating PWM signals using STM8S-DISCOVERY Application overview This application user manual provides a short description of how to use the Timer 2 peripheral (TIM2) to generate three
