Application Note. 3-Phase Brushless DC Motor Control with Hall Sensors AN-CM-244

Similar documents
Application Note. Brushless DC Motor Control AN-1114

Application Note. Servo Overload Protection AN-CM-247

Application Note. PWM Control for PC Fans AN-CM-248

Application Note. External Oscillator Solutions with GreenPAK AN-CM-233

Application Note. Customized Glucometer using GreenPAK AN-CM-222

Application Note. Low Power DC/DC Converter AN-CM-232

Application Note. Over Current Latch with Low Side Sense AN-CM-223

Application Note. Smart LED Dimmer Controlled via Bluetooth AN-CM-225

iw3627 Off-Line Digital Constant-Voltage LED Driver with Power Factor Correction 1 Description 2 Features 3 Applications

iw1815 Product Summary

Reference Design EBC iw1760b-00 for 15W Dual Output Home Appliance Switched Mode Power Supply Design

AN3134 Application note

F²MC-8FX/16LX/16FX/FR FAMILY BLDC DRIVE WITH THE PPG

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

unit: mm 4130 Parameter Symbol Conditions Ratings Unit Maximum supply voltage 1 V CC 1 max No input signal 50 V Maximum supply voltage 2 V CC

Electronic Speed Controls and RC Motors

AVR42778: Core Independent Brushless DC Fan Control Using Configurable Custom Logic on ATtiny817. Features. Introduction. AVR 8-bit Microcontroller

AN2170. AN2170 PSoC 1 - Sensored BLDC Motor Control using Hall Effect Sensors. Application Note Abstract. Introduction

AVR443: Sensor-based control of three phase Brushless DC motor. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AN Industrial Stepper Motor Driver. Application Note Abstract. Introduction. Stepper Motor Control Method

AVR443: Sensorbased control of three phase Brushless DC motor. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Micromouse Meeting #3 Lecture #2. Power Motors Encoders

Speed Control of BLDC Motor Using FPGA

Dead-Time Compensation Method for Vector-Controlled VSI Drives Based on Qorivva Family

Overview of the STM32F103xx ACIM and PMSM motor control software libraries release 2.0

Speed control of sensorless BLDC motor with two side chopping PWM

Application Note, V1.0, Oct 2006 AP08019 XC866. Sensorless Brushless DC Motor Control Using Infineon 8-bit XC866 Microcontroller.

This Application Note demonstrates how to use a PSoC to control a 3-phase Brushless Direct Current (BLDC) motor utilizing Hall-effect sensors.

AN457 APPLICATION NOTE

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

AN2581 Application note

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

Feedback Devices. By John Mazurkiewicz. Baldor Electric

CURRENT FOLLOWER APPROACH BASED PI AND FUZZY LOGIC CONTROLLERS FOR BLDC MOTOR DRIVE SYSTEM FED FROM CUK CONVERTER

Brushless 5 click. PID: MIKROE 3032 Weight: 25 g

Hardware Design Considerations using the MC34929

A COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR

STEVAL-ISA005V1. 1.8W buck topology power supply evaluation board with VIPer12AS. Features. Description. ST Components

Improving feedback current accuracy when using H-Bridges for closed loop motor control

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

EVAL6235N. Demonstration board for L6235 DMOS driver for 3-phase brushless DC motor. Description. Features

AN3332 Application note

Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control.

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

Introduction to Relays. ECE/CS 5780/6780: Embedded System Design. Various Relay Configurations. Types of Relays. Drawing of an EM Relay

L6234. Three phase motor driver. Features. Description

Sensorless control of BLDC motor based on Hysteresis comparator with PI control for speed regulation

Counters/Delay Generators. FILTER_0/Prog. Delay Combination Function Macrocells Pin 3. Preliminary

MATHEMATICAL MODELS OF GEAR TOOTH SPEED SENSORS WITH DUAL OUTPUTS

Implementation of Brushless DC motor speed control on STM32F407 Cortex M4

AN2446 Application note

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

Open Loop Speed Control of Brushless DC Motor

Application Information

Sensorless Drive for High-Speed Brushless DC Motor Based on the Virtual Neutral Voltage

AN1756 Application note

SPEED CONTROL OF BRUSHLES DC MOTOR

Design of double loop-locked system for brush-less DC motor based on DSP

AN2385 Application note

SINGLE PHASE HALL EFFECT LATCH SMART FAN MOTOR CONTROLLER

Driving LEDs with a PIC Microcontroller Application Note

STK E. Overview. Applications. Features. Thick-Film Hybrid IC 3-Phase Stepping Motor Driver

AH5792 SINGLE PHASE HALL EFFECT LATCH SMART FAN MOTOR CONTROLLER. Description. Pin Assignments. Features. Applications

AN2333 Application note

Variateur analogique courant continu série AZ et AZB

USING THE L6204, A BIPOLAR STEPPER AND DC MOTOR DRIVER IN BCD TECHNOLOGY

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

Sensors and Sensing Motors, Encoders and Motor Control

Experiment#6: Speaker Control

SIMULATION AND IMPLEMENTATION OF CURRENT CONTROL OF BLDC MOTOR BASED ON A COMMON DC SIGNAL

1.2 A 15 V H-Bridge Motor Driver IC

AN4564 Application note

ElectroCraft CompletePower Plus Universal Servo Drives

Page ENSC387 - Introduction to Electro-Mechanical Sensors and Actuators: Simon Fraser University Engineering Science

Migrate PWM from MC56F8013 to MC How to set up the PWM peripheral on the MC56F8247 using the setting of the PWM on the MC56F8013

AN1489 Application note

UG Student, Department of Electrical Engineering, Gurunanak Institute of Engineering & Technology, Nagpur

TRACK VOLTAGE APPROACH USING CONVENTIONAL PI AND FUZZY LOGIC CONTROLLER FOR PERFORMANCE COMPARISON OF BLDC MOTOR DRIVE SYSTEM FED BY CUK CONVERTER

CHAPTER 6 FABRICATION OF PROTOTYPE: PERFORMANCE RESULTS AND DISCUSSIONS

1.2 A 15 V H-Bridge Motor Driver IC

AN2837 Application note

The STK SL-E is a hybrid IC for use as a unipolar, 2-phase stepping motor driver with PWM current control.

FILTER_0/Prog. Delay Combination Function Macrocells Pin 3 GPIO RC Oscillator. 2-bit LUT2_0 or DFF0. 3bit LUT3_0 or DFF2

IMPORTANT NOTICE. use

SPEED CONTROL OF INDUCTION MOTOR WITHOUT SPEED SENSOR AT LOW SPEED OPERATIONS

PULSE CONTROLLED INVERTER

MSK4310 Demonstration

Design of A Closed Loop Speed Control For BLDC Motor

Rotational Absolute Magnetic Kit Encoder Version 33 LP and HP Displacement Sensor

Rotational Position Sensor, Kit Type, Hall Effect Technology

ES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder)

6.111 Lecture # 19. Controlling Position. Some General Features of Servos: Servomechanisms are of this form:

PEMD48; PUMD48. NPN/PNP resistor-equipped transistors; R1 = 47 kω, R2 = 47 kω and R1 = 2.2 kω, R2 = 47 kω

DC motor control using arduino

Temperature Monitoring and Fan Control with Platform Manager 2

CHAPTER 4 FUZZY BASED DYNAMIC PWM CONTROL

ams AG austriamicrosystems AG is now The technical content of this austriamicrosystems application note is still valid. Contact information:

How to Use GDU Module in MC9S08SU16

A Practical Primer On Motor Drives (Part 13): Motor Drive Control Architectures And Algorithms

MDC V, 2A Brushless Controller. User s Guide E. Landon Drive Anaheim, CA

Transcription:

Application Note 3-Phase Brushless DC Motor Control with Hall AN-CM-244 Abstract This application note describes how to control a 3-phase brushless DC motor using a GreenPAK. This application note comes complete with design files which can be found in the References section.

Contents Abstract...1 Contents...2 Figures...2 1 Terms and Definitions...3 2 References...3 3 Introduction...4 4 Construction and Operating Principle...4 5 Design...5 6 Conclusion...9 Revision History... 10 Figures Figure 1: BLDC Motor Construction...4 Figure 2: Hall Sensor Based Motor Commutation Sequence Timing Diagram...5 Figure 3: Block Diagram...5 Figure 4: Typical Application Circuit...6 Figure 5: Design View...7 Figure 6: BLDC Motor Operation Scope Shot...9 2 of 11 2018 Dialog Semiconductor

1 Terms and Definitions AC BLDC BOM DC ECMs PWM 2 References Alternating current Brushless direct current electric motor Bill of materials Direct current Electronically commutated motors Pulse Width Modulation For related documents and software, please visit: https://www.dialog-semiconductor.com/configurable-mixed-signal. Download our free GreenPAK Designer software [1] to open the.gp files [2] and view the proposed circuit design. Use the GreenPAK development tools [3] to freeze the design into your own customized IC in a matter of minutes. Dialog Semiconductor provides a complete library of application notes [4] featuring design examples as well as explanations of features and blocks within the Dialog IC. [1] GreenPAK Designer Software, Software Download and User Guide, Dialog Semiconductor [2] AN-CM-244.gp, GreenPAK Design File, Dialog Semiconductor [3] GreenPAK Development Tools, GreenPAK Development Tools Webpage, Dialog Semiconductor [4] GreenPAK Application Notes, GreenPAK Application Notes Webpage, Dialog Semiconductor 3 of 11 2018 Dialog Semiconductor

3 Introduction Brushless DC electric motors (BLDC), also known as electronically commutated motors (ECMs, EC motors) or synchronous DC motors, are synchronous motors powered by DC electricity via an inverter or switching power supply, which produces an AC electric current to drive each phase of the motor via a closed loop controller. The controller provides pulses of current to the motor windings that control the speed and torque of the motor. The advantages of a brushless motor over a brushed motor are the high power to weight ratio, high speed, and electronic control. Brushless motors find applications in such places as computer peripherals (disk drives, printers), hand-held power tools, and vehicles that range from model aircrafts to automobiles. This application note describes how to control a 3-phase brushless DC motor using a GreenPAK. 4 Construction and Operating Principle A BLDC motor s construction and operation are very similar to AC induction motors and brushed DC motors. Like all other motors, BLDC motors also consist of a rotor and a stator (Figure 1). Figure 1: BLDC Motor Construction The BLDC motor stator is made from laminated steel stacked up to carry the windings. Windings in a stator can be arranged in two patterns - star pattern (Y) or delta pattern ( ). The major difference between the two patterns is that the Y pattern gives high torque at low RPM and the pattern gives low torque at low RPM. This is because in the configuration, half of the voltage is applied across the winding that is not driven, thus increasing losses and, in turn, efficiency and torque. BLDC motors are controlled using electrical cycles. One electrical cycle has 6 states. The Hall sensor-based motor commutation sequence is showed in Figure 2. 4 of 11 2018 Dialog Semiconductor

Figure 2: Hall Sensor Based Motor Commutation Sequence Timing Diagram The underlying principles for the operation of a BLDC motor are the same as with a brushed DC motor. In the case of a brushed DC motor, feedback is implemented using a mechanical commutator and brushes. In a BLDC motor, feedback is achieved using multiple feedback sensors. The most commonly used sensors are Hall sensors and optical encoders. Within a 3-phase BLDC the number of teeth (poles) is a multiple of 3 and the number of magnets is a multiple of 2. Depending upon the number of magnets and teeth each motor has a different number of cogging (i.e. magnetic attractions between rotors and stators) steps per turn. To calculate the number of steps (N) we need to know how many teeth and how many magnets are used in the motor. The motor used in this application note has 12 teeth (poles) and 16 magnets. magnets N = poles GCD(poles, magnets) So, to make 1 turn we need to generate 48 electrical steps. 5 Design The main block diagram and typical application circuit are shown in Figure 3 and Figure 4 respectively. Figure 3: Block Diagram 5 of 11 2018 Dialog Semiconductor

Figure 4: Typical Application Circuit This design has 2 inputs to control motor speed and direction. PIN#8 controls direction; a HIGH level on Pin#8 indicates the motor rotation is clockwise and a LOW level indicates that it s counterclockwise. PIN#2 is used to control speed via an input frequency. Absence of the frequency signal on this pin will turn off the driver and the motor will stop. Applying frequency to this pin will start the motor during the first 500ms. Using an input frequency allows us to control the motor speed very precisely. To calculate RPM we need to know how many electrical steps a motor contains: Input frequency RPM_speed = 60s electrical steps per turn The motor within this application has 48 steps, so at a frequency of 5kHz the motor will run at 6250 RPM. The design can be divided into 4 parts (Figure 5): The Hall sensors processing block, a gate driver block, a PWM control or speed control block, and a protection block. 6 of 11 2018 Dialog Semiconductor

Figure 5: Design View 7 of 11 2018 Dialog Semiconductor

The Hall sensors processing block includes ACMPs (ACMP0, ACMP3, ACMP4), deglitch filters (DLY1, DLY5, DLY6) and DFFs (DFF6, DFF7, DFF8). The Hall sensors used in this project have 4 pins; VDD, GND and 2 differential outputs which are connected to IN+ and IN- inputs of the ACMPs. An internal Vref component, set at 1.2 V, is used as a VDD for the Hall sensors. Filtered signals from the ACMPs go into the D inputs of DFFs. The input frequency clocks these DFFs and sets the rotation speed. Signals from these DFFs go to the gate driver and 3-bit LUT14, which is configured as an XNOR. The result is that the output alternates in level each time any Hall sensor changes its polarity. Both edge detectors generate the actual speed frequency (Hall frequency) which is compared with input frequency to generate a PWM signal to control the speed of rotation. The gate driver block includes 12 3-bit LUTs, which commutate external transistors depending upon the Hall sensors feedback. 6 of the LUTs (3-bit LUT8 3-bit LUT13) are used for the CW direction and another 6 (3-bit LUT1 3-bit LUT6) are used for switching to the CCW direction. This block also includes 3 2-bit LUTs (2-bit LUT4, 2-bit LUT5 and 2-bit LUT6) to mix signals for PMOS transistors of each phase with a PWM to ensure rotational speed is independent to the load. The PWM control includes the PWM2 component, counter CNT8, finite-state machine FSM1, 3-bit LUT15, 2 DFFs (DFF0 and DFF1), rising edge detector PDLY0, and inverter INV0. DFF0 and DFF1 together operate as a frequency comparator; DFF0 nq output goes LOW when the input frequency is higher than the Hall frequency and DFF1 nq output goes LOW when the input frequency is lower than the Hall frequency. At a LOW level on the + input the PWM2 OUT+ output will generate a PWM signal with a duty cycle that ranges from 256/256 down to 1/256. At a LOW level on the - input, PWM2 OUT+ will generate PWM with a changing duty cycle from 1/256 up to 256/256. The PWM frequency is ~100 khz and the IC s duty cycle is set to 0% at startup. The motor is stopped until the input frequency to PIN2 is applied. After applying a frequency to PIN2, DFF0 nq output will go LOW and PWM will increase the duty cycle from 0 to 99.6%. The motor will continue to spin until the Hall sensors exceed the input frequency. At this point the DFF0 nq output will go HIGH and the DFF1 nq output will go LOW. This inversion causes the PWM duty cycle to decrease to an acceptable value at the immediate VDD and load seen at the motor. This system will constantly work to balance the PWM duty cycle. The functionality of FSM1, CNT8, 3-bit LUT15 and PWM2 are described in more detail in application note AN-1052. The protection block includes 2 delays (DLY2 and DLY9), counter CNT0, and 2-bit LUT0 configured as an XOR gate. This part of the design is used to protect the motor and external FETs from burning out. If a motor is stuck or cannot start Hall sensors will not be able to give the feedback necessary to turn off the motor. If no feedback is received after 100ms DLY2 output will turn LOW and 2-bit LUT0 turns off the motor. If this occurs CNT0 and DLY9 tries to start the motor every 500ms for a period of 8ms. This period is sufficient to start a motor but is not long enough to cause damage to the motor. 8 of 11 2018 Dialog Semiconductor

Figure 6: BLDC Motor Operation Scope Shot 6 Conclusion This application note describes how to control a 3-phase brushless DC motor using a SLG46620 GreenPAK CMIC and Hall effect sensors. The SLG46620 also contains other features that can be used for this project. For example, the ADC within the GreenPAK can interpret an input DC voltage and generate a PWM pulse from the value, rather than using an input frequency. Previously, if a designer wished to control a BLDC motor they would be constrained by both the electrical specs and the features of dedicated off-the-shelf IC solutions. This forced designers to choose a fixed-function and potentially overkill or expensive solution that would often restrict their system s IO. The Dialog GreenPAK reverses this design process by bringing configurability back into the designer s hands. By using this GreenPAK application as a universally-applicable (though also uniquely configurable) 3-phase BLDC motor control scheme, the designer can choose the pinout and external FETs that address the unique electrical specs of their project. Additionally, even considering the external FETs, the Dialog GreenPAK solution is still low cost and small enough that the system design and BOM cost are extremely competitive when compared to dedicated ICs. 9 of 11 2018 Dialog Semiconductor

Revision History Revision Date Description 1.0 27-Jun-2018 Initial Version 10 of 11 2018 Dialog Semiconductor

Status Definitions Status DRAFT APPROVED or unmarked Definition The content of this document is under review and subject to formal approval, which may result in modifications or additions. The content of this document has been approved for publication. Disclaimer Inf ormation in this document is believed to be accurate and reliable. However, Dialog Semiconductor does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information. Dialog Semiconductor furthermore takes no responsibility whatsoever for the content in this document if provided by any information source outside of Dialog Semiconductor. Dialog Semiconductor reserves the right to change without notice the information published in this document, including without limitation the specif ication and the design of the related semiconductor products, software and applications. Applications, software, and semiconductor products described in this document are for illustrative purposes only. Dialog Semiconductor makes no representation or warranty that such applications, software and semiconductor products will be suitable for the specified use without further testing or modification. Unless otherwise agreed in writing, such testing or modification is the sole responsibility of the c ustomer and Dialog Semiconductor excludes all liability in this respect. Customer notes that nothing in this document may be construed as a license for customer to use the Dialog Semiconductor products, software and applications referred to in this document. Such license must be separately sought by customer with Dialog Semiconductor. All use of Dialog Semiconductor products, software and applications referred to in this document are subject to Dialog Semiconductor s Standard Terms and Conditions of Sale, available on the company website (www.dialog-semiconductor.com) unless otherwise stated. Dialog and the Dialog logo are trademarks of Dialog Semiconductor plc or its subsidiaries. All other product or service names are the property of their respective owners. 2018 Dialog Semiconductor. All rights reserved. Contacting Dialog Semiconductor United Kingdom (Headquarters) Dialog Semiconductor (UK) LTD Phone: +44 1793 757700 Germany Dialog Semiconductor GmbH Phone: +49 7021 805-0 The Netherlands Dialog Semiconductor B.V. Phone: +31 73 640 8822 Email: enquiry @diasemi.com North America Dialog Semiconductor Inc. Phone: +1 408 845 8500 Japan Dialog Semiconductor K. K. Phone: +81 3 5769 5100 Taiwan Dialog Semiconductor Taiwan Phone: +886 281 786 222 Web site: www.dialog-semiconductor.com Hong Kong Dialog Semiconductor Hong Kong Phone: +852 2607 4271 Korea Dialog Semiconductor Korea Phone: +82 2 3469 8200 China (Shenzhen) Dialog Semiconductor China Phone: +86 755 2981 3669 China (Shanghai) Dialog Semiconductor China Phone: +86 21 5424 9058 11 of 11 2018 Dialog Semiconductor