Study Report for Brushless DC (BLDC) Motors

Slides:



Advertisements
Similar presentations
MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
Advertisements

Lizard Labs Peripheral Reflex System
Sensors Interfacing.
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
Drives & Control June 2003 A. Jansen 1 Brushless DC Motor Control with C868 and CAPCOM6.
Introduction of Holtek HT-46 series MCU
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Department of Electrical Engineering Southern Taiwan University of Science and Technology Robot and Servo Drive Lab. 2015/7/2 Digital Control Strategy.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the different.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Week 8.
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
AT91 Embedded Peripherals
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose This course provides an overview of the standard peripheral.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
Components of a typical full-featured microcontroller.
ADC 1 Analog to Digital Converter. ADC 2 ADC Features n General Features -Supports 8 or 10-bit resolution Modes, -Track period fully programmable up to.
ME6405 The George W. Woodruff School of Mechanical Engineering ME 4447/ME6405 Microprocessor Control of Manufacturing Systems/Introduction to Mechatronics.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Application Case Study Christmas Lights Controller
Introduction to Microcontroller Technology
RASH DRIVING WARNING SYSTEM FOR HIGHWAY POLICE
Lizard Labs Peripheral Reflex System
Lecture 10: Programmable Logic Controllers
16F877A.
Why are Timer Functions Important?
PIC CONTROLLED DYNAMIC TIME BASED CITY TRAFFIC SIGNAL
COURSE OUTCOMES OF Microprocessor and programming
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
DTMF BASED REMOTE INDUSTRIAL LOAD AND/OR AGRICULTURAL PUMP CONTROL
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
An FPGA Implementation of a Brushless DC Motor Speed Controller
555 Timer EEE DEPARTMENT KUMPAVAT HARPAL( )
Timer and Interrupts.
Microcontroller Applications
ECE 353 Introduction to Microprocessor Systems
UNIT – Microcontroller.
Predefined Speed Control of BLDC Motor
DENSITY BASED TRAFFIC LIGHT TIMING CONTROL
ARDUINO LINE FOLLOWER ROBOT
1 Input-Output Organization Computer Organization Computer Architectures Lab Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes.
Reset Sources and Watchdog Timer
E3165 DIGITAL ELECTRONIC SYSTEM
FCM8531QY MCU Embedded & 3-Phase PMSM/BLDC Motor Controller BLDC PL
Introduction to Microprocessors and Microcontrollers
AT91 Memory Interface This training module describes the External Bus Interface (EBI), which generatesthe signals that control the access to the external.
PLC’s Are ... Similar to a Microcontroller: Microprocessor Based
UNIT 19 PWM 로봇 SW 교육원 조용수.
Programmable Data Communication Blocks
AVR – ATmega103(ATMEL) Architecture & Summary
Lecture 12 Multi-Function Timer Pulse Unit 2 (MTU2a)
8051 Micro Controller.
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
Timer/Counter Timer/Counter 0 Timer/Counter 1 Timer/Counter 2 8 bit
EUT 1040 Lecture 10: Programmable Logic Controllers Unrestricted.
Presentation transcript:

Study Report for Brushless DC (BLDC) Motors DRAFT By Dean Hu 3/21/2014

Introductions to Motors Types of Motors AC Motors INDUCTION MOTOR SYNCHRONOUS MOTOR DC Motors Various wound field motors Permanent Magnet (PMDC) MOTOR Brushed DC (BDC) Motors Brushless DC (BLDC) Motors Sensored & Sensorless

BLDC Motors Typical Block Diagram

BLDC Motors Sensorless & Sensored Control

BLDC Motors Detailed Block Diagram

BLDC Motor Controller HOLTEK HT66FM5240 – Block Diagram

BLDC Motor Controller HT66FM5240 – Application Circuits

BLDC Motor Controller HT66FM5240 – Features VDD/AVDD: 4.5V ~ 5.5V Package types: 20/28-pin SSOP Logic (CPU/Peripheral) fSYS = 32kHz (LIRC) ~ 20MHz (HIRC) by Internal Oscillators Multi-mode operations: NORMAL, SLOW, IDLE & SLEEP Flash (program) / RAM (data) / EEPROM (data) Memories Watchdog Timer & 16-bit/10-bit Periodic Type Timer Modules (PTM) 16-bit Capture Timer Module (CAPTM) for Motor Protection 3-channel 10-bit PWM w/ Complementary Outputs Bidirectional I/O pins, UART I/F, & I2C I/F Pin-shared External Interrupts / Time-Based Interrupt

BLDC Motor Controllers HT66FM5240 Features Analog 8-channel 12-bit A/D Converter (ADC) One (1) OPAmp for Current Detection 4 Comparators - Comparator 0 has interrupt function One (1) D/A Converter (DAC) Low Voltage Reset (LVR) Low Voltage Detect (LVD)

HD66FM5240 D.C. Characteristics

HT66FM5240 A.C. Characteristics

HT66FM5240 / Analog A/D Converter (ADC), AVDD = 5V (Typ.) Characteristics

HT66FM5240 - ADC ADC Structure ADC Operation There are two ways to initiate an A/D Converter conversion cycle: using the ADSTS bit, and use the PWM interrupt signal Limitation: the minimum value of permissible 12-bit A/D converter clock period, tADCK, is 0.8ms

HT66FM5240 - ADC A/D Conversion Timing Diagram

HT66FM5240 / Analog D/A Converter (DAC): VDD = VLVR (3.15V) ~ 5.5V Characteristics

HT66FM5240 / Analog Operational Amplifier (OPAmp/OPA): VDD = 3.3V (Typ.) Characteristics

HT66FM5240 / Analog Comparator: VDD = 5V (Typ.) Electrical Characteristics

HT66FM5240 Low Voltage Detector (LVD) - monitor the power supply voltage, VDD LVD Operation Low Voltage Detector function operates by comparing VDD with a pre-specified voltage level VLVD, namely, 3.6V, stored in the LVDC register

HT66FM5240 Power on Reset (POR) Electrical Characteristics

HT66FM5240 Operating Modes and System Clocks – HIRC & LIRC

HT66FM5240 Watchdog Timer Timer Module (TM) To prevent program malfunctions or sequences from jumping to unknown locations, due to certain uncontrollable external events such as electrical noise Timer Module (TM) Multi-purpose timing units Periodic Type TM (PTM) 5 OP Modes/Functions

HT66FM5240 - PTM Block Diagram (for n=0)

HT66FM5240 Capture Timer Module (CAPTM) To detect and measure input signals’ pulse widths and periods, used for Motor Control purposes 2 modes: Compare Mode and Capture Mode Block Diagram

HT66FM5240 - CAPTM Noise Filters for H1/H2/H3/CTIN input signals Typical Waveforms for CAPNFT=0 & CATNFS = 0 (CAPTC1 Register b4 & b3)

HT66FM5240 Noise filter for NFIN input pin, source of 16-bit PTM, TM0, capture circuit

HT66FM5240 BLDC Motor Control Circuit PWMO (output of PWM counter): adjusts PWM duty to control the output motor power thus controlling the motor speed Mask circuit: determines which PWM modulation signals are enabled or disabled for motor speed control Dead-Time Insertion circuit: ensures the upper and lower Gate Driver Transistor Pairs are not enabled simultaneously Staggered circuit: forces all the outputs to off status if the software detects an error condition Motor Protect circuit: includes functions for motor stall condition, over current protection, external edge triggered Pause pin, external level trigger Fault pin, etc. Hall Sensor Decoder circuit: is a six-step system which can be used to control the motor direction; the motor forward, backward, brake and free functions are controlled by the HDCD/HDCR registers

HT66FM5240 BLDC Motor Control Block Diagram

HT66FM5240 – BLDC Control PWM Counter Control Circuit PWM Block & Timing Diagrams

HT66FM5240 – BLDC Control Block Diagram for Mask, Dead Time, Staggered, and Polarity Functions

HT66FM5240 – BLDC Control Mask Function 3 modes: Normal / Brake / Motor Protect Normal Mode: motor speed control method is determined by the PWMS/MPWE bits in the MCF register H/W Mask Mode S/W Mask Mode Brake Mode: the Brake Mode has the highest priority. When activated, the external Gate Driver Transistor Pair Top arm will be off and the Bottom arm will be on Motor Protect Mode: when activated, the external Gate Driver Transistor Pair can select the brake, where the top arm is off and the bottom arm is on, or select free running where the top and bottom arm are both off

HT66FM5240 – BLDC Control Dead Time Function The actual dead time value can be setup to be within a value from 0.3μs to 5μs, which is selected by the application program Timing Diagram

HT66FM5240 – BLDC Control Staggered Function BLDC motor control circuit is designed for default N-type transistor pairs: a "1" value will switch the transistor on and a "0"value will switch it off Polarity Function – Controlled by PLC register Default of output pins GAT/GAB/GBT/GBB/GCT/GCB is high impedance

HT66FM5240 – BLDC Control Hall Sensor Decoder Interfaces to the Hall Sensors in the BLDC motor for directional and speed control Noise Filter, Delay Function, & Motor Control Drive Signals Block Diagram

HT66FM5240 – BLDC Control Hall Sensor Noise Filter Filters out the effects of noise generated by the large switching currents of the motor driver Block Diagram

HT66FM5240 – BLDC Control Hall Sensor Delay Function Implement a signal phase forward or phase backward operation Block Diagram

HT66FM5240 – BLDC Control Delay Function Timing

HT66FM5240 – BLDC Control Motor Control Drive Signals Controlled using the HDCR, HDCD registers and a series of HDCT registers, namely, HDCT0 ~ HDCT11 HDCR: direction is determined using FRS bit while brake can be controlled using BRKE bit HDCT0 ~ HDCT5 (6 bits) registers are used for the Motor Forward table HDCT6 ~ HDCT11 (6 bits) registers are used for the Motor Backward table

HT66FM5240 – BLDC Control Motor Drive Signal Timing Diagram – Forward Direction

HT66FM5240 – BLDC Control Motor Drive Signal Timing Diagram – Backward Direction

HT66FM5240 – BLDC Control Motor Protection Function Motors need to be protected from the problems of excessive drive currents, motor stalling, etc to reduce motor damage or for safety reasons Over Current Protection, Stall Detection, Turn Off Motor using Software Block Diagram

HT66FM5240 – BLDC Control Motor Protection Function Protection Function Control

HT66FM5240 – BLDC Control Motor Protection Over Current Protection Internal OPA with a gain of 10, high speed (2ms) 10-bit ADC, 8-bit DAC, and a Comparator To avoid false triggering by noise amplified by OPA, the Fault Mode is needed. Motor Stall Detection For 3-phase BLDC applications with Hall Sensors, the 16-bit CAPTM can be used to monitor INT0A, INT0B and INT0C for rotor speed detection Stall detect mechanism use the Pause Mode

HT66FM5240 Over Current Detection (OCD) Block Diagram

HT66FM5240 - OCD The over-current functional block includes an OPA, 12-bit ADC, 8-bit DAC, and Comparator If an over-current situation is detected then the motor external drive circuit can be switched off immediately to prevent damage to the motor Two kinds of interrupts are generated for OCD A/D Converter interrupt - Int_AHL_Lim Comparator 0 interrupt - Int_Is

HT66FM5240 I2C Interface Block Diagram

HT66FM5240 UART Interface Features Full-duplex, asynchronous communication 8 or 9 bits character length Even, odd or no parity options One or two stop bits Baud rate generator with 8-bit prescaler Parity, framing, noise and overrun error detection 2-byte deep FIFO Receive Data Buffer Transmit and receive interrupts

HT66FM5240 Interrupts External Interrupt 0/1 Noise Filtered Input Interrupt Comparator Interrupt Time Base Interrupt Multi-function Interrupt: 7 Multi-function interrupts from Hall Sensor interrupts, A/D interrupts, PWM Module interrupts, CAPTM Interrupts, TM Interrupts A/D Converter Interrupt PWM Module Interrupts CAPTM Module Interrupt TM Module Interrupt EEPROM Interrupt LVD Interrupt I2C Interrupt UART Interrupt Interrupt Wake-up Function

HT66FM5240 I/O Pin Structures Generic Input/Output Structure

HT66FM5240 – I/O Pins A/D Input/Output Structure

Some Thoughts on HT66FM5240 Single supply: 5V Internal LDO for 3.3V => OPAmp & Logic (?) OPAmp is capable of driving 600W and 100pF, input offset can be reduced to ±2mV by calibration Voltage Reference, such as bandgap Trimming capability for HIRC & LIRC (embedded oscillators) ADC might be 12-bit SAR, or using SD ADC for higher resolution (?) DAC might be R-2R (HT66FM5230 uses R-2R DAC) Comparators have hysteresis