AP CANmotion. Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10. Microcontrollers

Similar documents
AP08023 C504. Important application hints for dead time generation with the Capture/Compare Unit. Microcontrollers. Application Note, V 1.0, Feb.

Edition Published by Infineon Technologies AG Munich, Germany 2010 Infineon Technologies AG All Rights Reserved.

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

3 phase bridge driver IC TLE7183F

Application Note V

Application Note, V 1.0, Feb AP C16xx. Timing, Reading the AC Characteristics. Microcontrollers. Never stop thinking.

D e m o B o a r d U s e r s M a n u a l. Demoboard Rev.1.0, Standard Power

TLE4916-1K. Datasheet. Sense & Control. Low Power Automotive Hall Switch. Rev.1.0,

Application Note AN V1.6 April 2014

Application Note No. 022

Application Note, Rev.1.0, November 2010 TLE8366. The Demoboard. Automotive Power

TLE4976-1K / TLE4976L

Parasitic Turn-on of Power MOSFET How to avoid it?

Triple Voltage Regulator TLE 4471

January 2009 TLE4906K / TLE4906L. High Precision Hall Effect Switch. Data Sheet V 2.0. Sensors

TLE4905G TLE4935G TLE4935-2G TLE4945-2G

Application Note No. 075

HITFET BTS3800SL. Datasheet. Automotive. Smart Low Side Power Switch. Small Protected Automotive Relay Driver Single Channel, 800mΩ

ILD2035. MR16 3 W Control Board with ILD2035. Application Note AN214. Industrial and Multimarket. Revision: 1.0 Date:

Application Note No. 017

TLV4946K, TLV4946-2K. Datasheet. Sense and Control. Value Optimized Hall Effect Latches for Industrial and Consumer Applications. Rev1.

PROFET ITS716G Ω Ω. Green Product (RoHS compliant) Data Sheet 1 Rev. 1.1,

TLV4946-2L. Datasheet. Sense and Control. Value Optimized Hall Effect Latch for Industrial and Consumer Applications. Rev1.

Application Note No. 116

Data Sheet, V 1.1, Oct TLE4906H TLE4906L. High Precision Hall-Effect Switch. Sensors

Applications of 1EDNx550 single-channel lowside EiceDRIVER with truly differential inputs

Application Note No. 158

RX23T inverter ref. kit

Low Drop Voltage Regulator TLE 4274

XC83x AP Application Note. Microcontrollers. intouch Application Kit - Touch Sliders V1.0,

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

Application Note No. 149

TLE5014 Programmer. About this document. Application Note

Low Drop Voltage Regulator TLE

Data Sheet 1 Rev. 1.1, PG-TO

Type Marking Pin Configuration Package BFP520F APs 1=B 2=E 3=C 4=E - - TSFP-4

AP XC866. Optimized Space Vector Modulation and Over-modulation with the XC866. Microcontrollers. Application Note, V 2.0, Sept.

Dual Low Drop Voltage Regulator TLE 4476

BCR450. Driving mid & high power LEDs from 65mA to 700mA with LED controller IC BCR450 with thermal protection

Surface Mount Capacitive Silicon Absolute Pressure Sensor KP120, KP120 Exxxx

Technical Report <TR130>

Type Package Configuration L S (nh) Marking BB814 SOT23 common cathode 1.8 SH1/2*

OPTIREG Linear TLE4262

Application Note No. 127

Application Note No. 067

Low Drop Voltage Regulator TLE 4276

Smart High-Side Power Switch BTS4140N

RC-D Fast : RC-Drives IGBT optimized for high switching frequency

Voltage-Current Regulator TLE 4305

TLS202A1. Demonstration Board Manual. Automotive Power. Demonstration Board Manual. Rev. 1.0,

PCB layout guidelines for MOSFET gate driver

Application Note AN V1.0 May AN MA3L120E07_EVAL Evaluation Adapter Board for EconoPACK TM 4 3-Level Modules in NPC2-Topology

Evaluation Board for DC Motor Control with the IFX9201. This board user manual provides a basic introduction to the hardware of the H-Bridge Kit 2Go.

Inverse Operation Behavior

TMC603EVAL MANUAL Evaluation board for the TMC603 three phase motor driver with BLDC back EMF commutation hallfx

Z V S P h a s e S h i f t F u l l B r i d g e

Smart Multichannel Switches

OPTIREG Linear TLE4263

Step down - LED controller IC for external power stages ILD4001

HITFETs: Smart, Protected MOSFETs Application Note

LOGIC. Datasheet TLE Smart Quad Channel Low-Side Switch

Application Note No. 027

TLE Data Sheet. Automotive Power. Low Drop Voltage Regulator TLE4296-2GV33 TLE4296-2GV50. Rev. 1.13,

BF776. High Performance NPN Bipolar RF Transistor

160W PFC Evaluation Board with DCM PFC controller TDA and CoolMOS

Replacement of HITFET devices

IFX1050G. Data Sheet. Standard Products. High Speed CAN-Transceiver. Rev. 1.0,

n-channel Power MOSFET

ESD (Electrostatic discharge) sensitive device, observe handling precaution!

Data Sheet Explanation

CDM10V programming user manual describes the COOLDIM_PRG_BOARD burner board usage, the UART protocol handling and the fusing details.

Tracking Regulator TLE 4252

TLS202A1. Data Sheet. Automotive Power. Adjustable Linear Voltage Post Regulator TLS202A1MBV. Rev. 1.0,

n-channel Power MOSFET

n-channel Power MOSFET

Evaluation Board for CoolSiC Easy1B half-bridge modules

CoreControl TM Data Sheet TDA21106

1200mA step down - LED controller IC ILD4120

Application Note No. 124

Application Note No. 066

PROFET Operating Modes (Normal, Inverse, Reverse)

5-V Low-Drop Voltage Regulator TLE Bipolar IC

TLE4941plusC. Product Information. Sense & Control. Advanced Differential Speed Sensor. TLE4941plusC. TLE4941plusCB

Application Note No. 014

Type Marking Pin Configuration Package BFR92P GFs 1=B 2=E 3=C SOT23

Driving 2W LEDs with ILD4120

Type Marking Pin Configuration Package BFR193 RCs 1 = B 2 = E 3 = C SOT23

Application Note No. 181

Application Note No. 112

ESD (Electrostatic discharge) sensitive device, observe handling precaution!

Drain Efficiency (%) c262157sh-gr1. Characteristic Symbol Min Typ Max Unit. Gain Gps db. Adjacent Channel Power Ratio ACPR 31.

Application Note, V1.0, Nov 2004 ICE3B2565. SMPS Evaluation Board with CoolSET TM ICE3B2565. Power Management & Supply

Application Note, V1.1, Apr CoolMOS TM. AN-CoolMOS-08 SMPS Topologies Overview. Power Management & Supply. Never stop thinking.

Type Marking Pin Configuration Package BCR08PN WFs 1=E1 2=B1 3=C2 4=E2 5=B2 6=C1 SOT363

STM32 PMSM FOC SDK v3.2. 蒋建国 MCU Application Great China

Motor Control Development Kit

InductionHeatingSeries ReverseconductingIGBTwithmonolithicbodydiode IHW20N120R3. Datasheet. IndustrialPowerControl

MOSFET. CoolMOS C6. Data Sheet. Industrial & Multimarket. Metal Oxide Semiconductor Field Effect Transistor

Metal Oxide Semiconductor Field Effect Transistor. 600V CoolMOS E6 Power Transistor IPx60R600E6. Rev. 2.0, Final

BTS441TG. Data sheet. Automotive Power. Smart Power High-Side-Switch One Channel 20 mω. Rev. 1.21,

Transcription:

Application Note, V1.0, April 2007 AP08060 CANmotion Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10 Microcontrollers

Edition 2007-04 Published by Infineon Technologies AG 81726 München, Germany Infineon Technologies AG 2007. All Rights Reserved. LEGAL DISCLAIMER THE INFORMATION GIVEN IN THIS APPLICATION NOTE IS GIVEN AS A HINT FOR THE IMPLEMENTATION OF THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS APPLICATION NOTE MUST VERIFY ANY FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. INFINEON TECHNOLOGIES HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND LIABILITIES OF ANY KIND (INCLUDING WITHOUT LIMITATION WARRANTIES OF NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS APPLICATION NOTE. Information For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office (www.infineon.com). Warnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered.

CANmotion Revision History: V1.0, 2007-04 Previous Version(s): none Page Subjects (major changes since last revision) We Listen to Your Comments Any information within this document that you feel is wrong, unclear or missing at all? Your feedback will help us to continuously improve the quality of this document. Please send your proposal (including a reference to this document) to: mcdocu.comments@infineon.com Application Note V1.0, 2007-04

Table of Contents Table of Contents 1 Overview................................................... 2 1.1 Key Features of XC886 which enable Field Oriented Control........... 4 2 CANmotion Board Design..................................... 5 2.1 Microcontroller Unit........................................... 5 2.2 On-Chip Debug Support....................................... 6 2.3 Inverter..................................................... 7 2.4 Voltage Measurement......................................... 8 2.5 Current Measurement......................................... 9 2.6 CAN Interface.............................................. 10 2.7 Power Supply............................................... 10 2.8 Two-Layer PCB Layout....................................... 11 3 Motor..................................................... 13 3.1 Motor Data................................................. 13 3.2 Operating Range............................................ 13 3.3 Geometry.................................................. 14 Application Note 1 V1.0, 2007-04

Overview 1 Overview The CANmotion board was designed to provide an easy to use BLDC motor control platform. The board is equipped with a reverse polarity safe power supply with a DC/DC converter for 5 V supply line, a high performance 8 bit microcontroller with 32 kb flash memory, an operational amplifier for the DC-link current measurement, a resistor network for back EMF and DC-link voltage measurement, a CAN interface and of course an inverter with discrete gate driver. 24V DC/DC 5V XC886CM gate driver circuitry U V W CANH CANL CAN I DClink BEMF interface BlockDiagram.emf Figure 1 Block Diagram CANmotion Board Thus, this platform can be used for various motor control schemes supporting DC-link voltage and current measurement as well as back EMF voltage measurement. As a result, sensorless block commutation can be executed as well as sinusoidal commutation schemes like sensorless FOC. The focus of this evaluation platform are sensorless control techniques. In order to provide a comprehensive platform, hall sensor based control techniques can also be taken into account. The bottom side of the PCB is equipped with test points which are directly connected to the dedicated hall sensor inputs of the microcontroller. This application note is intended to describe the CANmotion board in detail in order to serve as a design guideline for low voltage three phase BLDC drivers with XC886C(L)M. Although the design can be used for various control schemes, it is best for sensorless field oriented control. The gate driver is tuned in terms of minimum switching time and the current measurement is provided by a shunt in the DC-link. Please refer to the application note AP08059 for details on how to implement a sensorless FOC algorithm with the XC886/8C(L)M. There are additional application notes available describing sensorless block commutation using the Back-EMF method. Figure 2 shows the CANmotion board mounted with the 24 V BLDC motor. Application Note 2 V1.0, 2007-04

Overview Figure 2 FOC Drive Application Kit Application Note 3 V1.0, 2007-04

Overview 1.1 Key Features of XC886 which enable Field Oriented Control High performance 16-bit vector computer (CORDIC + MDU) Vector rotation and transformations like Park and Clarke transformation Normalizing and scaling Interrupt based operation with minimum CPU load PWM unit for advanced motor control (CapCom6E) 16-bit resolution for high precision space vector PWM generation Dead time control for minimum hardware effort (direct control of MOSFET/IGBT) CTRAP provides hardware overload protection A fast 10-bit A/D Converter (sample time of 0.25 µs) Hardware synchronization to PWM unit reduces CPU load Two out of four result registers to maximize sampling performance Enables single shunt current measurement Fast ADC reduces torque ripple due to minimized blind angle in sensorless FOC Figure 3 Block Diagram of XC886/8CM Application Note 4 V1.0, 2007-04

2 CANmotion Board Design AP08060 CANmotion Board Design This chapter is intended to describe the electrical design of the CANmotion evaluation platform including the circuit diagram and PCB layout. The version described here, which is also printed at the bottom layer of the PCB, is version 2007/10. 2.1 Microcontroller Unit Figure 4 Microcontroller Unit The MCU chosen for the CANmotion evaluation platform is an 8051 compatible XC886CM with 32 kilobyte flash memory. Following signals and peripherals are used for motor control: 10 bit fast ADC Two ADC channels (ch3 & ch4) for current measurement Application Note 5 V1.0, 2007-04

CANmotion Board Design Three ADC channels (ch5, ch6, ch7) for measurement of the inverter s output voltage for Back-EMF measurement One ADC channel (ch2) for DC-link voltage measurement PWM Unit CapCom6E Delivering the input signals for the inverter (CC6x, COUT6x) handling dead time control providing emergency shut-down in overload condition (CTRAP) triggering the ADC measurement by hardware events Supporting hall sensor inputs (HALLx) CAN Interface (one of two CAN nodes) used for flash download and debug communication used for parameter setup like reference speed 2.2 On-Chip Debug Support For flash download and debug purposes, a JTAG connector providing on-chip debug support is available in the design. This connector is not mounted to the board, because debugging a motor control application can easily destroy the inverter or the motor. Imagine the inverter switching and suddenly stopping operation. Stopping means maintaining the latest state as a direct current. Figure 5 OCDS - JTAG Interface The CANmotion evaluation platform provides a CAN interface, described in Chapter 2.6, for debug, parameter setup and download purposes. Application Note 6 V1.0, 2007-04

2.3 Inverter AP08060 CANmotion Board Design The inverter is designed by a discrete driver and MOSFETs. Each of the three channels for motor phase U, V and W are identically designed. In this subsection, channel U represents the design of all output channels. Figure 6 Inverter Design - Output Channel U Note: This discrete MOSFET driver is realized providing no protection at all. Please note that any cross current (activation of high-side and low-side switch simultaneously) will destroy the MOSFETs. Each output of an inverter can be divided in two main parts, the high-side and the lowside part. The high-side part is connected to the positive supply voltage. The low-side part to the negative supply voltage. The high-side and low-side switches can be realized by various concepts. Here, MOSFETs are used as power semiconductors. The gate driver and level shifter is realized by bipolar transistors. A MOSFET is operating in it s R DS(ON) range and showing switching behavior, when the gate-source voltage is high enough compared to the threshold voltage. On the other hand, there is a destructive upper voltage limit for the MOSFET as well. The used MOSFETs (BSO 615 C G) are rated by a maximum gate-source voltage of 20 V, the threshold voltage is less than 2 V. The bipolar transistor pair T2 and T3 are used as collector follower, meaning they provide a current gain in both directions, but almost no voltage gain. As a result, the voltage at the input (base) is almost equal to the voltage at the output (collector). Application Note 7 V1.0, 2007-04

CANmotion Board Design The resistor network to the left of this current amplifier adjusts the voltages in the safe operating range of the gate-source voltage. It is adjusted to a gate-source voltage of about 16 V. The transistor T1 which is a dual NPN transistor is used as level shifter from the 5 V domain of the MCU to the 24 V domain of the inverter. It is part of the gate driver adjustment. The switching time depends on the gate charge of the MOSFETs, the charge and discharge current of the driver and the delay time of the level shifter. Resistor R4 and R5 reduce the base voltage to make sure the level shifter is reacting as fast as possible. The switching time of the MOSFETs are defined in a constant approximation by following equation: Q = C U = I t (1) The gate charge is equal to the multiplication of capacitance and voltage and as well equal to the current flowing to (or from) the gate multiplied by the time. The resistor network defines the charge and discharge current, whereas the collector follower amplifies this charge current. 2.4 Voltage Measurement Figure 7 Back EMF and DC-link Voltage Measurement A resistor divider is available in order to implement a Back EMF based sensorless control scheme. The divided outputs of the inverter are available at ADC channel 5, 6 and 7. Channel 2 supports monitoring of the DC-link voltage. Application Note 8 V1.0, 2007-04

2.5 Current Measurement AP08060 CANmotion Board Design There are two current measurement circuits available. First a current comparator in order to switch off the inverter in case of overload condition via CTRAP input pin. Second a shunt based current measurement with a difference amplifier. Figure 8 Current Measurement The over load current threshold V cth is setup by the reference voltage defined by R16 and R17. R17 V cth = R shunt I max = V AREF ------------------------ R16+R17 (2) The capacitor C1 and the resistor R20 are not mounted. By mounting C1 a delay and spike filter can be implemented, R20 can be used to implement a hysteresis. The current amplification of the differential amplifier is defined as follows: G R14 = ----------, R15 = R13 R13 (3) Application Note 9 V1.0, 2007-04

2.6 CAN Interface AP08060 CANmotion Board Design The XC886CM provides a CAN interface with two CAN nodes. One CAN node is connected to the CAN transceiver TLE 6250 including the terminating resistor R21. Figure 9 CAN Interface The CAN interface can be used for bootstrap download, parameter adjustment and debugging by sending dedicated CAN messages with debug information. 2.7 Power Supply The 5 V power supply for the MCU and the CAN transceiver is built by a DC/DC converter. The current consumption of the components does not necessarily require a DC/DC converter, but by this implementation there is enough current capability available for additional circuitry like LEDs or supply for hall sensors. Figure 10 Power Supply Application Note 10 V1.0, 2007-04

CANmotion Board Design 2.8 Two-Layer PCB Layout Figure 11 PCB Layout TOP Layer Figure 12 PCB Layout BOTTOM Layer Application Note 11 V1.0, 2007-04

CANmotion Board Design Figure 13 PCB Layout Component Names Application Note 12 V1.0, 2007-04

3 Motor AP08060 Motor The CANmotion evaluation platform comes with a BLDC motor mounted ready to use. In this chapter, the motor data (revision April 2006) can be found. Please refer directly to Maxon Motor internet page http://www.maxonmotor.com for the latest information. 3.1 Motor Data Figure 14 Motor Data 3.2 Operating Range Figure 15 Operating Range Application Note 13 V1.0, 2007-04

Motor 3.3 Geometry Figure 16 Geometry Application Note 14 V1.0, 2007-04

www.infineon.com Published by Infineon Technologies AG