Download Low Voltage Motor Driver Board (MDB_LV45G_V1.1)
Transcript
User’s Manual, V 1 .2, Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Microcontrollers N e v e r s t o p t h i n k i n g . Edition Sep. 2006 Published by Infineon Technologies AG, St.-Martin-Strasse 53, 81669 München, Germany © Infineon Technologies AG 2006. All Rights Reserved. Attention please! The information herein is given to describe certain components and shall not be considered as a guarantee of characteristics. Terms of delivery and rights to technical change reserved. We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. 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. User’s Manual, V 1 .2, Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Microcontrollers N e v e r s t o p t h i n k i n g . Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Revision History: Sep. 2006 Previous Version: none Page Subjects (major changes since last revision) 25 Hardware Update 26 Function Setting 13 Auxiliary Supply 15 Electrical Properties 21 Hardware Schematics V 1.2 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: [email protected] Low Voltage Motor Driver Board (MDB_LV45G_V1.1) 1 1.1 1.2 1.3 1.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . About this Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Measures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intended Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2.1 2.2 Low Voltage Motor Driver System Overview . . . . . . . . . . . . . . . . . . . . . 4 LV-MDB System Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Motor Driver System Architecture and BLDC Control Block Diagram . . . . . 6 3 3.1 3.2 3.3 3.3.1 3.3.2 3.4 3.5 Low Voltage Motor Driver Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 System Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Motor Driver System Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Power Stage and Overcurrent Protection . . . . . . . . . . . . . . . . . . . . . . . . . 10 Power Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Over-current Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Auxiliary Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Thermal Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 4.1 4.2 4.3 Hardware Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electrical Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware Pinning Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 15 15 21 5 5.1 5.1.1 5.1.2 5.1.3 Hardware Installation Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware Installation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electrical Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step-by-Step DC Power Installation Guide . . . . . . . . . . . . . . . . . . . . . . Step-by-Step Motor Setup Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 22 22 23 23 6 6.1 Hardware Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Current Sensor Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7 Function Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 8 Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 User’s Manual 1 2 2 2 2 3 V 1.2, Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) User’s Manual <Mod_Name>, <Mod_Version> 2 V 1.2, Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Disclaimer Whilst every effort has been made to ensure that the information contained in this manual is accurate and complete, no liability will be accepted for any errors and/or omissions made. The Infineon Technologies AG reserves the right to make changes and improvements to the specifications an1)d features of the hardware, software and firmware of the products described in this document without notice. Reproduction, transfer, distribution or storage of part or all the contents in this document in any form is prohibited without prior written permission to the Infineon Technologies AG. The Infineon Technologies AG does not warrant damages for corrupted data or lost data due to mistaken operation or malfunction of the hardware, software, firmware, accessories, personal computers and any other peripheral devices and adapters. 1) User’s Manual 1 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Introduction 1 Introduction This User’s Manual describes the Mechanical and Electrical Hardware features, quick setup pertaining to XC866 8 bits Microcontroller and the usage of the Low Voltage Motor Driver Board. 1.1 About this Document This document is designed to be read primarily by System Engineers and Hardware Engineers who need a detail setup description of the Low Voltage Motor Driver Board. Detail technical guidelines, characteristics of the board and installation procedures are given to the users needed to operate and care for the Motor Driver Board. For long and trouble-free use, users are encourage to read it carefully and follow the instructions. This is a low-power motor drive system, and the know how knowledge in power-electronics and technology is essential to install the system. 1.2 Terminology Terms that are used throughout the document are defined in Table 1-1. Table 1-1 Common Terms and Their Definitions Term Definition BLDC Brushless DC LV-MDB Low Voltage Motor Driver Board EMI Electromagetic Interference BEMF Back-Electromotive Force CAPCOM Capture/Compare Unit AD Analog-Digital 1.3 Safety Measures • All system ports are not galvanically isolated. Do not touch any part of the system when it is still connected to the main line, and while the DC-Link capacitors are still charged. • Do not dissemble or alter any part of the Motor Driver Board except where expressly described by this manual. Non-expert handling of the device may damage it or caused a high-voltage electrical shock. • Do not operate the equipment if it emits smoke or noxious fumes. Unplug the power cord immediately. User’s Manual 2 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Introduction • Do not allow the equipment to come into contact with , or become immersed in, water or other liquids. • Do not drop, knock or shake the Motor Driver Board. Rough handling can damage the electronics of the Board. • Do not store the Motor Driver Board in humid or dusty areas. Storage in such areas could result in electrical shock or other damage. • Do not expose the Motor Driver Board to ambient temperatures above 80 degree celsius since this will damage the components or reduce their lifetime considerably. • Do not use any ordinary oscillscope probe for any voltage or current measurement on the Motor Driver Board. A differential probe is to be used at all time when measuring the Gate potential difference; U, V, W. 1.4 Intended Use The Low Voltage Motor Driver Board is used as a generic Motor Drive Demonstration Kit or Evaluation Board. In case of installation in machineries, commissioning of the Evaluation Board for Industrial usage is strictly prohibited. Infineon Technologies AG holds no responsibilities to any damages due to the above-mentioned installation. The technical data as well as information concerning the supply conditions shall be taken from the documentation and must be strictly observed. User’s Manual 3 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver System Overview 2 Low Voltage Motor Driver System Overview The Low Voltage Motor Driver Board development provides the user with a basic Generic Motor Control System application solution. It allows user to understand the functionality of all newly developed Infineon Microcontrollers and to evaluate their features and performance on motor drive control. Based on the provided design and development environment, the user can develop a prototype after knowing the requirement of the application in a shorter time frame. 2.1 LV-MDB System Features The LV-MDB System configuration includes the Infineon Microcontrollers, Hardware compatibility interface, components and features • Compatible Infineon Microcontrollers – 8-bits Microcontroller – C868 – XC866 – XC866C – XC886/8CLM – 16-bits Microcontroller (Easy-Kit) – XC164-16 Note: Depending on the Microcontroller Starter-kits design, the LV-MCB supports all Infineon Microcontrollers. • SPB80N08S2-07 Infineon OptiMOS Power-Transistor – N-Channel – Enhancement mode – 175 °C operating temperature – Avalance rated – dv/dt rated – Vds = 75V – Rds = 7.1 mΩ – Id = 80A • Individual phase current sensing • Shunt for DC bus current sensing • 3-Phase Bridge Driver • Single power source supply to the Starter-kit and LV-MCB • Adjustable Input Voltage Reference with respect to the Main Input Supply • BEMF voltage sensing and zero crossing detection circuitry • Support BLDC control; Hall effect sensor and sensorless control • Support Encoder, Resolver, Tachometer, PMSM Note: A mathematical calculation model is required in the user application code for the PMSM Control. User’s Manual 4 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver System Overview • • • • Infineon Microcontroller Interface Motor Speed and Direction Control Interface Generic Motor Interface Microcontroller Design Tool (DAVE) User’s Manual 5 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver System Overview 2.2 Motor Driver System Architecture and BLDC Control Block Diagram IFX MCU D RIV E R LV-MDB A+ B+ C+ A- B- C- V DC 3 Phase Inverter ctrap H2 Hall Sensor inputs N S H1 H0 BLDC Motor Figure 2-1 User’s Manual LV-MDB BLDC System Architecture 6 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board 3 Low Voltage Motor Driver Board 3.1 System Hardware Overview The Motor Driver Board, with a power rating of 350W, has a high level of usage flexibility underlines by its modular assembly and is built primarily for the 8 bits Infineon Microcontroller operation of Brushless DC motor in the E-bike Motor Control System Development. The secondary usage of LV-MDB board includes the operation of BLDC sensorless, Resolver, Tachometer, Encoder and PMSM control methodology without the need of any add-on hardware. As an Evaluation Board, this drive inverter is not a certified inverter. It does not have a protection housing and galvanic isolation. In case of improper use, wrongful installation or misuse, there is a danger of serious physical injury and damage to the property. Direct contact to the voltage links, hot surfaces and any part of the system must be avoided when the motor is running. A differential probe must be used when measuring the gate voltage; Vu, Vv, Vw. When connecting the Motor Driver Board to the isolating line transformer, copper wires with a cross-section of at least 0.75mm2 (AWG 20) must be used. For continuous operation, a heatsink with a better thermal performance is needed, which depend on the maximum ambient temperature, and mounting proposals for the use of thermal grease and other interfacing materials. The BEMF circuitry is not populated on the Motor Driver Board. It is implemented when the microcontrollers other than the Infineon Technologies microcontorllers without the ADC peripherals are used. The user is recommended to use LM339D comparator for the BEMF circuitry. All operations serving transport, installation and commissioning as well as maintenance are to be carried out by skilled personnel. For the purpose of safety, “Skilled personnel” is referred to Engineers who are familiar with the installation, mounting, commissioning and operation of the Motor Driver Board. A protection housing is required if the Motor Driver Board is operated in areas where it is accessible by unskilled operators. User’s Manual 7 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board CCU Interface LV-MDB IFX MOSFET G a te D riv e r w it h B o o ts tra p XC866 Starter-Kit Hall-Sensor Mode Interface Selection Jumpers VI є [18, 35]V GND U V W Auxiliary Supply ANx Encoder Interface Interface Figure 3-1 User’s Manual XC866 Starter-kit and Motor Driver Board 8 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board 3.2 Motor Driver System Block Diagram BLDC Motor IF X M O S F E T S Hall-Sensor Signals (Hu, Hv, Hw) Auxiliary Supply VI є [18, 35]Vdc Figure 3-2 User’s Manual 5V VI є [18, 35]Vdc Motor Driver System Block Diagram 9 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board 3.3 Power Stage and Overcurrent Protection 3.3.1 Power Stage The power stage includes the Infineon Technologies OptiMOS Power-Transistor modules, SPB80N08S2-07, the gate driver IC and a shunt-resistor for current measurement and over-current protection. The minus potential of the Terminal Block , N-, is the Reference ground for the entire control circuitry. With that the polarity of the shunt signal fits to the pins of the gate driver IC, no additional signal inverter is needed in the over-current protection path. However, special attention is needed when ploting the PCB layout with this configuration. The ground tracks of the Microcontroller section (VSSP), the current signal amplifier (VAGND) and the power ground (N-) are connected in star configuration at the minus potiential of the Terminal Block, at the side of the current measurement shunt. They must be kept strictly separated before converging to the common reference point. The bootstrap buffer capacitor (C16) must be connected to the common reference trace (N2X) of the low-side MOSFETs with an individual copper trace. Note: Do not connect the bootstrap buffer capacitor (C16) to the signal ground. The high peak current in the bootstrap current loop will cause ground noises and it is often the main reason for the unstable performance and operation of the board. The current amplifier (U3) is connected to the AD input, P2.3 (AN3), of the Microcontroller via Jumper JP13 to enable easy software current control loop implementation. 3.3.2 Over-current Protection A shunt resistor is placed at the minus potential path of the Terminal Block for overcurrent and short-circuit protection purpose. This is the most inexpensive solution which provides a full proteciton against over-current causes by an overloaded motor or a shortcircuit between the three motor phases; Vu, Vv, Vw. However, a short-circuit between the three motor outputs (U,V,W), the minus potential of the Terminal Block and at any of the metallic parts which are connected to the Reference Ground (RG) cannot be readily detected. It can destroy the Motor Driver Board immediately. The voltage across the shunt resistor (R28) is filtered by R19, R29 and C14 and fed to the over-current comparator of the gate driver IC (ITRIP). This is to turn-off and pulldown all MOSFETs gates when the voltage at this comparator exceeds the internal reference voltage. User’s Manual 10 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board Figure 3-3 Over-current and Short-circuit protection circuit. The ITRIP input specification of driver IC IR2136S is stated in Table 3-1: Table 3-1 Datasheet sheet of the Driver IR2136S Symbol Definition VIT,TH+ ITRIP positive going threshold VIT,HYS ITRIP input hysteresis ITRIP+ “high” ITRIP input bias current ITRIP- “low” ITRIP inpur bias current tITRIP ITRIP to output shutdown propagation delay tFLT ITRIP to fault propagation delay Min. Typ. Max. Unit. 0,37 0,46 0,55 V 0,07 --- V 30 100 uA 0 1 uA 500 750 1000 nS 400 600 800 nS The static over-current threshold Isc,th is calculated from Equation [3.1]: User’s Manual 11 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board : I sc, th = V IT, TH ⋅ ( ( R 19 + R 29 ) ⁄ ( R 28 ⋅ R 19 ) ) [3.1] With the chosen values, the Static Over-current Threshold is shown in Table 3-2: Table 3-2 Static Over-current Threshold Isc,th Min. Typ. Max. Unit. 16.1 20.1 24 A The noise filter capacitor C14 causes non-negligible signal (turn-off) delay, which can be calculated from Equation [3.2]: t d, sc = –C 14 ⋅ R ⋅ R ⁄ R + R ⋅ ln 1 – V ⁄ I ⋅ R ⋅ R + R ⁄ R 19 29 19 IT, TH sc 28 19 29 29 19 [3.2] where Isc is the actual short-circuit or over-load current. User’s Manual 12 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board 3.4 Auxiliary Supply Figure 3-4 Auxiliary Supply Circuitry In order to have one power supply source to the boards, an auxiliary supply circuitry is included into the LV-MDB. When the power source is plugged in, the auxiliary supply circuitry implemented on the LV-MDB provides a voltage supply, VS = 15Vdc, to the Starter-kit via the header CN2 Pin 4. A reverse supply of VDDP from the Start-kit is supplied to the LV-MDB via the header CN2 Pin 2. Note: If input Voltage P+ > 35V, remove C1, and you may add an additional resistor at R88 to reduce the power dissipation on U1; if P+ > 45V, remove the auxiliary supply circuitry. +15V is supplied separately via CN2 Pin 4 either from the external source or the Starter-Kit independent supply. Note: During the testing and implementation stage, it is advisable to power the Starter-kit and LV-MDB separately. User’s Manual 13 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Low Voltage Motor Driver Board 3.5 Thermal Management If high output power is required, a better thermal resistance heatsink with a better cooling behaviour is needed. User’s Manual 14 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters 4 Hardware Parameters 4.1 Electrical Properties Table 4-1 Absolut Maximum Ratings Symbol Parameter Iin,rms Line input current (rms) Vin Line input voltage Condition Min. Typ. Vin=15 to 45 Vdc, Tamb<60oC 15 20 Max. Unit. 10 A 45 V IUVW Vin=15 to 35 Vac, Tamb<60oC TBD A Vpot+ Voltage referred to Vpot- 0 5 V Vdig Voltage referred to GND 0 5 V Tamb -20 60 oC Tcase -20 60 oC Is,15V Current from Auxiliary TBD Suppy mA Note: The parameters given in Table 4-1 must be strictly observed and within the absolut maximum rating under all operation conditions. 4.2 Hardware Pinning Configuration • Signals at 3 Pin Power Connector P1 Table 4-2 Definition Pin Definitions for Power Line Input Signal Pin P+ Line Input (15 to 35V) 1 N- Line Input (GND) 2 • Signals at 3-Phase Motor Output Connector P2 User’s Manual 15 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters Table 4-3 Pin Definitions for 3-Phase Motor Output Connector Definition Signal Pin W Motor Phase Output ( V W ) 1 V Motor Phase Output ( V V ) 2 U Motor Phase Output ( V U ) 3 • Signals at Analog Input Header11 JP1 Table 4-4 Pin Definitions for Header JP1 Definition Signal Pin P2.7 GPIO/AN7 1 P2.6 GPIO/AN6 2 P2.5 GPIO/AN5 3 P2.4 GPIO/AN4 4 P2.3 GPIO/AN3 5 P2.2 GPIO/AN2/CCPOS2_0 6 P2.1 GPIO/AN1/CCPOS1_0 7 P2.0 GPIO/AN0/CCPOS0_0 8 P1.7 GPIO/CCPOS2_1 9 P1.6 GPIO/CCPOS1_1 10 P1.5 GPIO/CCPOS0_1 11 • Signals at Motor Signals Input Header3 JP2 Table 4-5 Pin Definitions for Motor Signals Input Header3 JP2 Definition Signal Pin P1.5 GPIO/CCPOS0_1 1 ENC_A ENCODER INPUT SIGNAL (A) 2 P2.0 GPIO/AN0/CCPOS0_0/RESOLVER_1 INPUT SIGNAL 3 User’s Manual 16 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters • Signals at Motor Signals Input Header3 JP3 Table 4-6 Pin Definitions for Motor Signals Input Header3 JP3 Definition Signal Pin P1.5 GPIO/CCPOS0_1 1 Hall_U HALL INPUT SIGNAL ( H U ) 2 P2.0 GPIO/AN0/CCPOS0_0 3 • Signals at Motor Signals Input Header3 JP4 Table 4-7 Pin Definitions for Motor Signals Input Header3 JP4 Definition Signal Pin BEMF_U BEMF INPUT SIGNAL ( B U ) 1 P2.0 GPIO/AN0/CCPOS0_0 2 ADC_U ANALOG INPUT SIGNAL 3 • Signals at Motor Signals Input Header3 JP5 Table 4-8 Pin Definitions for Motor Signals Input Header3 JP5 Definition Signal Pin P1.6 GPIO/CCPOS1_1 1 ENC_B ENCODER INPUT SIGNAL (B) 2 P2.1 GPIO/AN1/CCPOS1_0/RESOLVER_2 INPUT SIGNAL 3 • Signals at Motor Signals Input Header3 JP6 Table 4-9 Pin Definitions for Motor Signals Input Header3 JP6 Definition Signal Pin P1.6 GPIO/CCPOS1_1 1 Hall_V HALL INPUT SIGNAL ( H V ) 2 P2.1 GPIO/AN1/CCPOS1_0 3 • Signals at Motor Signals Input Header3 JP7 User’s Manual 17 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters Table 4-10 Pin Definitions for Motor Signals Input Header3 JP7 Definition Signal Pin BEMF_V BEMF INPUT SIGNAL ( B V ) 1 P2.1 GPIO/AN1/CCPOS1_0 2 ADC_V ANALOG INPUT SIGNAL 3 • Signals at Motor Signals Input Header3 JP8 Table 4-11 Pin Definitions for Motor Signals Input Header3 JP8 Definition Signal Pin P1.7 GPIO/CCPOS2_1 1 ENC_I ENCODER INPUT SIGNAL (INDEX) 2 P2.2 GPIO/AN2/CCPOS2_0/TACHOMETER SIGNAL INPUT 3 • Signals at Motor Signals Input Header2X2 JP9 Table 4-12 Definition Pin Definitions for Analog Input Control Connector Signal Pin Signal Definition POT2+ External Potentiometer 2 1 3 External Potentiometer 2 POT2- POT1+ External Potentiometer 1 2 4 External Potentiometer 1 POT1- • Signals at Motor Signals Input Header3 JP10 Table 4-13 Pin Definitions for Motor Signals Input Header3 JP10 Definition Signal Pin P+_VAREF ANALOG REFERENCE VOLTAGE P+ 1 VAREF ANALOG REFERENCE VOLTAGE 2 VDDP VDDP INPUT VOLTAGE 3 • Signals at Motor Signals Input Header3 JP11 User’s Manual 18 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters Table 4-14 Pin Definitions for Motor Signals Input Header3 JP11 Definition Signal Pin P1.7 GPIO/CCPOS2_1 1 Hall_W HALL INPUT SIGNAL ( H W ) 2 P2.2 GPIO/AN2/CCPOS2_0 3 • Signals at Motor Signals Input Header3 JP12 Table 4-15 Pin Definitions for Motor Signals Input Header3 JP12 Definition Signal Pin BEMF_W BEMF INPUT SIGNAL ( B W ) 1 P2.2 GPIO/AN2/CCPOS2_0 2 ADC_W ANALOG INPUT SIGNAL (W) 3 • Signals at Motor Signals Input Header2 JP13 Table 4-16 Pin Definitions for Motor Signals Input Header3 JP13 Definition Signal Pin Current_Sensor CURRENT SENSOR INPUT 1 P2.3 GPIO/AN3 2 • Signals at Motor Signals Input Con5a JP1A and JP1B Table 4-17 Pin Definitons for Motor Signals Input Con5a JP1A and JP1B Definition Signal JP1A Pin Signal JP1B Definition Hall_U HALL INPUT SIGNAL(U) 1 1 ENCODER INPUT SIGNAL (A) ENC_A Hall_V HALL INPUT SIGNAL(V) 2 2 ENCODER INPUT SIGNAL (B) ENC_B Hall_W HALL INPUT SIGNAL(W) 3 3 ENCODER INPUT SIGNAL (INDEX) ENC_I VDDP VDDP INPUT VOLTAGE 4 4 VDDP INPUT VOLTAGE VDDP GND GND 5 GND User’s Manual 5 19 GND V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters • Signals at Motor Signals Input Header8X2 CN1 Table 4-18 Pin Definitons for Motor Signals Input Header8X2 CN1 Definition Signal Pin AL (CC60_0) OUTPUT SIGNAL 1 2 NC NC P3.1/COUT60_0 AH (COUT60_0) OUTPUT SIGNAL 3 4 NC NC P3.2/CC61_0 5 6 NC NC P3.3/COUT61_0 BH (COUT61_0) OUTPUT SIGNAL 7 8 NC NC P3.4/CC62_0 9 10 NC NC P3.5/COUT62_0 CH (COUT62_0) OUTPUT SIGNAL 11 12 NC NC P3.6/CTRAP_0 13 14 NC NC 15 16 NC NC P3.0/CC60_0 BL (CC61_0) OUTPUT SIGNAL CL (CC62_0) OUTPUT SIGNAL STOP (CTRAP_0) P3.7/COUT63_0 COUT3 (COUT63_0) Signal Definition • Signals at Motor Signals Input Header8X2 CN2 Table 4-19 Pin Definitons for Motor Signals Input Header8X2 CN2 Definition Signal Pin Signal Definition P2.7 GPIO/AN7 1 2 VDDP INPUT VOLTAGE (+5V) P2.6 GPIO/AN6 3 4 +15V (VS) OUTPUT VOLTAGE (+15V) P2.5 GPIO/AN5 5 6 VSSP DIGITAL GROUND P2.4 GPIO/AN4 7 8 VAGND ANALOG GROUND P2.3 GPIO/AN3 9 10 VAREF P2.2 GPIO/AN2/CCPOS2_0 11 12 P1.7 GPIO/CCPOS2_1 P2.1 GPIO/AN1/CCPOS1_0 13 14 P1.6 GPIO/CCPOS1_1 P2.0 GPIO/AN0/CCPOS0_0 15 16 P1.5 GPIO/CCPOS0_1 User’s Manual 20 REFERENCE VOLTAGE V 1.2 Sep. 2006 D C P1A R88 TERMINAL BLOCK + P1B N- + P3.7/COUT63_0 P3.0/CC60_0 P3.1/COUT60_0 P3.2/CC61_0 P3.3/COUT61_0 P3.4/CC62_0 P3.5/COUT62_0 VDDP Hall_W Vin U1 LM317HVT 2 4 6 8 10 12 14 16 Hall_V R2 15K Hall_U 1 2 3 4 5 1 2 3 4 5 2 4 6 8 10 12 14 16 HEADER 8X2 1 3 5 7 9 11 13 15 CN2 C11 10nF +15V ENC_A ENC_B C12 10nF R15 15K P1.7 P1.6 P1.5 C15 10nF VDDP R18 15K 3 2 1 VB1 HO1 VS3 HO3 VB3 VS2 NC V- VAREF VDDP +15V DNA R23 15K P2.0 (AN0) P1.5 R28 R29 120R 1/4W R27 2K JP5 3 2 1 0.1uF 0.1uF C22 0.1uF C21 VSSP VAGND VSSP C23 DNA Resolver_2 BAV74 BAV74 R36 10R MF 1/4W JP8 1 2 3 P2.7 (AN7) P2.6 (AN6) P2.5 (AN5) P2.4 (AN4) P2.3 (AN3) P2.2 (AN2) P2.1 (AN1) P2.0 (AN0) P1.7 P1.6 P1.5 0R R85 10R MF 1/4W 18R MF 1/4W D9 R41 3 R40 10R MF 1/4W 18R MF 1/4W D8 R39 3 R38 10R MF 1/4W HEADER 11 1 2 3 4 5 6 7 8 9 10 11 JP1 Tachometer 1 2 3 HEADER 3 ADC_V JP7 BEMF_V P2.2 (AN2) P1.7 R44 HEADER 3 ADC_W 1 2 3 JP12 BEMF_W HEADER 3 1 2 3 C32 DNA 1 1 1 1 1 1 2 4 POT2- POT2+ 150R R49 POT2POT1- M6 SPB80N08 M5 SPB80N08 M4 SPB80N08 M3 SPB80N08 M2 SPB80N08 150R R50 6 P2A P2B P2C C33 0.1uF Direction_C R51 10K HEADER 2 1 2 R52 0R_opt P2.4 (AN4) Current_Sensor P2.3 (AN3) JP13 TERMINAL BLOCK U TERMINAL BLOCK V TERMINAL BLOCK W VAREF P+ M1 SPB80N08 D13 BZV55-C5V1 HEADER 3 1 2 3 JP10 HEADER 2X2 1 3 JP9 P+_VAREF VAREF VDDP POT2+ POT1+ R48 C31 DNA R47 15K MF 1/4W R46 15K MF 1/4W C30 DNA JP11 5 R45 15K MF 1/4W 15K MF 1/4W C29 DNA C28 DNA C27 DNA R43 1 2 1 2 1 2 1 2 1 2 1 2 VSSP N2X BAV74 BAV74 BAV74 BAV74 18R MF 1/4W D11 R35 3 R34 10R MF 1/4W 18R MF 1/4W D7 R37 3 1 2 3 HEADER 3 ADC_U R32 D12 HEADER 3 HEADER 3 1 2 P2.1 (AN1) 3 P1.6 3 10R MF 1/4W 18R MF 1/4WD10 R33 3 VAGND JP6 R31 18R MF 1/4W R42 4 JP4 BEMF_U R30 2K C26 10uF/35V C25 10uF/35V C24 10uF/35V 0R033 1W C20 16 15 14 18 19 20 HEADER 3 HEADER 3 1 2 3 JP3 VDDP VAREF +15V 1 2 3 4 IR2136(3)S LO1 LO2 COM LO3 VSS RCIN EN ITRIP FLT 22 23 24 26 27 28 3R3 MF 1/4W 3R3 MF 1/4W R26 3R3 MF 1/4W R25 R24 HIN3 VS1 HIN2 HIN1 LIN3 LIN2 VB2 LIN1 HO2 VCC U2 LMH6645MA NC V+ OP Resolver_1 HEADER 3 JP2 R84 0R R83 0R 13 NC U3 DNA DNA R22 R21 C19 8 7 6 5 N2X 12 11 10 9 8 4 3 2 7 6 5 1 MURS160T3 C18 10uF/16V VDDP R82 0R VSSP VAGND ENC_I C10 10nF R14 15K R19 270R 4K7 VDDP C17 0.1uF R20 N- C14 0.1uF C13 0.1uF R16 100K MF 1/4W N2X Hall_U ENC_A CON5A CON5A JP1B JP1A P2.7 (AN7) P2.6 (AN6) P2.5 (AN5) P2.4 (AN4) P2.3 (AN3) P2.2 (AN2) P2.1 (AN1) P2.0 (AN0) C8 10uF/25V PRLL4002 D15 N- C9 0.1uF R13 2K2 R11 1K2 MF 1/4W Current_Sensor R12 8K2 R10 8K2 R9 8K2 MURS160T3 D6 10R MF 1/4W C16 150uF/35V + MURS160T3 D5 R17 3 Hall_V ENC_B C5 10nF R4 15K C6 10nF HEADER 8X2 1 3 5 7 9 11 13 15 CN1 2 R8 8K2 R6 13K MF 1/4W Vout PRLL4002 D2 D1 LED C7 10nF R7 8K2 +15V D4 Hall_W ENC_I C3 10nF R1 15K 3 R3 1K5 R5 8K2 2 PRLL4002 VDDP C4 470uF/50V TERMINAL BLOCK N- ADDED R88 C1 1uF/35V P+ R86 0R B C2 220uF/16V +15V P3.5/COUT62_0 P3.3/COUT61_0 P3.1/COUT60_0 P3.4/CC62_0 P3.2/CC61_0 P3.0/CC60_0 VDDP VSSP P3.6/CTRAP_0 R87 0R_opt GND 1 21 P3.6/CTRAP_0 D3 POT1- POT1+ R55 36K R57 36K Date: File: A3 Size Title 150R R54 8 9 4 5 6 7 R68 0R_opt C39 0.1uF P2.5 (AN5) R70 R71 C38 6K8_optDNA DNA 7/24/2006 C:\Project\..\RDH1906.SCHDOC LVM_MCB - V1.0 POWER BOARD C37 0.1uF P+ R69 47K_opt Speed_C R67 10K VAREF R63 DNA 0R_opt R66 R62 DNA 0R_opt R65 R61 DNA 0R_opt R64 Number BZV55-C5V1 150R D14 R60 C36 12K 1nF R59 36K W R58 C35 12K 1nF V R56 C34 12K 1nF R53 ADC_W ADC_V ADC_U U 7 C40 2 DNA Sheet of Drawn By: R76 12K R75 36K P+ Revision R78 DNA P+_VAREF R77 0R__opt P2.6 (AN6) BEMF_W R81 1K_opt VDDP LM339D_opt 14 DNA U4C C42 BEMF_V R80 1K_opt VDDP C43 0.1uF VDDP BEMF_U R79 1K_opt VDDP LM339D_opt U4B DNA R74 DNA C41 R73 8 LM339D_opt 1 DNA DNA U4A VDDP R72 3 12 2 3 2 3 2 3 2 3 2 User’s Manual 3 Figure 4-1 2 D C B A 4.3 3 A 1 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Parameters Hardware Schematics ENC_I ENC_B ENC_A Hall_U Hall_V Hall_W Schematic Motor Driver Board V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Installation Guide 5 Hardware Installation Guide This system comprises Infineon XC866 Microcontrollers Starter-kit and Motor Driver Board. 5.1 Hardware Installation Overview The installation and cooling of the appliances shall be in accordance with the specification in the relevant documentation. The Motor Driver Board must be protected against excessive strains. No components must be bent or isolating distances altered in the course of transportation or handling. The Motor Driver Board contains electrostatic sensitive components which are liable to damage through improper use or handling. Electric components must not be mechanically damaged or destroyed (potiential health risks). 5.1.1 Electrical Connection The Motor Driver Board is tuned to power up with an input voltage supply of 20V. Installation which include the XC866 Starter-kit and Motor Driver Board shall be equipped with additional control and protective devices in accordance with the relevant application safety requirements, e.g. accident prevention rules etc. Changes to the Motor Driver Board by means of the Operating Software is admissible. The electrical installation must be carried out in accordance with the relevant requirements(e.g. cross-sectional areas of conductors, fusing, PE connection). Observance of the limit values required by EMC laws is in the responsibility of the user. After disconnection of Motor Driver Board from the voltage supply, live appliance parts and power terminals must not be touched immediately because of possibly charged capacitors. The capacitor C1 must be removed if the input voltage is greater than 35V. If the input voltage is greater than 45v, the auxiliary supply circuitry must be removed from the Motor Driver Board. Note: The maximum voltage rating of board is limited by the voltage regulator LM317HVT. The maximum voltage rating of the MOSFETs is 75V. The resistors values of R55, R56, R57, R58, R59, R60, R75 and R76 must be recalculated should the input voltage deviate from the normal operating input voltage, P+ = 20V. Note: The mentioned resistors must be verified and change accordingly before increasing the input voltage, P+. The reference voltage, ADC and P+_VAREF, which has a voltage limit of 5V increases with P+. The incremental reference voltage will damage the microcontroller when it exceeds the microcontroller’s port voltage tolerant. User’s Manual 22 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Installation Guide 5.1.2 Step-by-Step DC Power Installation Guide • Power up the DC power supply and adjust the voltage supply to 20Vdc. Limit the current supply to 500mA. • Connect the DC power supply to Terminal Block P1. The connection polarity is important here. • When the power connection is correctly done, the auxiliary power LED D1 will illuminate. 5.1.3 Step-by-Step Motor Setup Guide • • • • Connect the 3-Phase BLDC Motor wires to the Connector P2. Polarity orientation is important here and is subjective to the motors used. Connect the Hall sensor wires to JP 1A. Set the Jumpers of JP3, JP6 and JP11 to Hall-sensor mode. (Place the Jumpers to Pin 2 and 3 of JP3, JP6 and JP11). • Hold on to the reset button on the Starter-kit before powering up the boards. Release the reset button when the board is power up. • The BLDC motor will spin when the connection is down correctly. Note: The software need to be modified to accomodate to different motors used. Figure 5-1 User’s Manual BLDC Motor Driver Board Hardware Setup 23 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Installation Guide Figure 5-2 BLDC Motor Signals Output • The Yellow Signal is V U , Green Signal is V V and the Purple Signal is V W . • The D 0 , D 1 and D 2 are the Hall-Sensor signals. • The above wavesignals could be obtained when the hardware is correctly setup. User’s Manual 24 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Hardware Update 6 Hardware Update 6.1 Current Sensor Modification Figure 6-1 Current Sensor Comparator Hardware modification The original hardware connection will result in having a negative signal output from the comparator U3. Therefore one end of the resistor R27 is to connect to the high side of the shunt resistor R28 and the low side of the shunt resistor is to be connected to the other end of resistor R30. User’s Manual 25 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Function Setting 7 Function Setting Table 7-1 Function Setting Hall Sensors Encoder BEMF ADC JP2/JP3 (1-2)/(2-3) (3-2)/(1-2) X X JP5/JP6 (1-2)/(2-3) (3-2)/(1-2) X X JP8/JP11 (1-2)/(1-2) (2-3)/(2-3) X X JP4 X X (1-2) (2-3) JP7 X X (1-2) (2-3) JP12 X X (1-2) (2-3) • The “X” represents non-connection. • “(1-2)” represents placing a jumper at pin 1 and pin 2 to the respective jumper. User’s Manual 26 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Reference 8 Reference The following reference links are directed to the Infineon tool-partners. • KEIL Software User’s Manual 27 V 1.2 Sep. 2006 Low Voltage Motor Driver Board (MDB_LV45G_V1.1) Reference User’s Manual 28 V 1.2 Sep. 2006 w w w . i n f i n e o n . c o m Published by Infineon Technologies AG