background image

Freescale

User’s Guide

Document Number:

MPC560XBMCBUG

Rev. 0, 08/2012

Contents

© Freescale, Inc., 2012. All rights reserved.

1

About This Book

This document describes the design of the MPC560xB 
Controller Board, which is targeted for rapid 
development of motor control applications.

To locate any published updates for this document, refer 
to the world-wide web at: 

http://www.freescale.com/

.

2

Introduction

The MPC560xB Controller Board is designed to drive a 
3-phase BLDC motor, enabling implementation of motor 
control techniques:

Sensorless:
— Back-EMF signal sensing using an MCU 

ATD converter module

— Back-EMF zero-cross signal monitoring

Sensor based:
— Hall sensor signal monitoring

1

About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1

2

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  1

2.1

Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  2

2.2

MPC560xB Board Architecture. . . . . . . . . . . . . . . . . . . . . . . . . .  3

2.3

Board Jumper Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . .  4

2.4

Board LEDs  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  7

3

Interface Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  8

3.1

Power Supply J700. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  8

3.2

UNI3 Interface J800 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  9

3.3

MC33937A Interface J801  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  10

3.4

Hall Sensor Interface JP600 . . . . . . . . . . . . . . . . . . . . . . . . . . .  11

3.5

LIN Bus Connectors J702 & J703. . . . . . . . . . . . . . . . . . . . . . .  11

3.6

MainCAN and AuxCAN connectors J701 & J900 . . . . . . . . . . .  12

3.7

USB Connectivity J300 & J301. . . . . . . . . . . . . . . . . . . . . . . . .  12

3.8

Header J302 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  13

3.9

Header J303 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  13

3.10

Header J304 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  14

3.11

Headers J305 & J306 Analog Inputs  . . . . . . . . . . . . . . . . . . . .  14

3.12

Header J307 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  16

3.13

Header J802 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  16

4

Design Consideration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  17

4.1

MPC560xB Features  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  17

4.2

Power Supplies and Voltage Reference . . . . . . . . . . . . . . . . . .  20

4.3

Board Fault Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  20

4.4

Hall Sensor Interface  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  21

4.5

Analog Signal Sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  23

4.6

UNI-3 PFC-PWM Signal (Power Factor Correction) . . . . . . . . .  23

4.7

UNI-3 Brake Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  23

4.8

MainCAN and AuxCAN Bus . . . . . . . . . . . . . . . . . . . . . . . . . . .  24

4.9

LIN bus interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24

5

Electrical Characteristics  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24

6

Board Set-up Guide  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24

Appendix A References  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  26
Appendix B Acronyms  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  26
Appendix C MPC560xB Controller Board Schematic . . . . . . . . . . . . . . . . . .  27

MPC560xB Controller Board 
User’s Guide

by: Bretislav Zuczek
Automotive and Industrial Solutions Group

Summary of Contents for MPC560xB

Page 1: ...2 4 Board LEDs 7 3 Interface Description 8 3 1 Power Supply J700 8 3 2 UNI3 Interface J800 9 3 3 MC33937A Interface J801 10 3 4 Hall Sensor Interface JP600 11 3 5 LIN Bus Connectors J702 J703 11 3 6 MainCAN and AuxCAN connectors J701 J900 12 3 7 USB Connectivity J300 J301 12 3 8 Header J302 13 3 9 Header J303 13 3 10 Header J304 14 3 11 Headers J305 J306 Analog Inputs 14 3 12 Header J307 16 3 13 H...

Page 2: ...PC560xB Controller Board features are as follows MPC560xB microcontroller 144 LQFP package JTAG interface for MCU code download and debugging System basis chip MC33905D Motor control interface UNI 3 MC33937A predriver Hall sensors Connectivity interface 2 x LIN 2 x CAN USB interface LEDs Power on indicators Phase A B C PWM control signals Phase A B C zero cross Hall sensor outputs Faults monitorin...

Page 3: ...oard power supply and connectivity Violet Application control Figure 1 MPC560xB Controller Board Block Diagram The board is supplied by VBAT voltage in the range of 8V to 18V The MC33905 provides 5V to the HALL interface The MCU and on board logic are supplied by MCU_5V depending on the assembled SBC version The board is populated with the 5V SBC version by default eTIMER SPI SBC MC33905D HALL HW ...

Page 4: ... the circuitry behaviour see Section 4 3 Board Fault Management The user can control the application using the push buttons and switches USB interface RS232 CAN and LIN buses The JTAG interface is present on board to enable the download and debugging of MCU code For the on board block location see Figure 2 Figure 2 MPC560xB Controller Board Block Location 2 3 Board Jumper Configuration See Table 2...

Page 5: ...nterconnect EMIOS0_CH7 and EMIOS1_CH25 signals closed J202 BOOT selection MPC560xB boot from internal Flash open J301 USB LinFlex6 TxD RxD connection to opto isolated USB interface 1 2 closed 3 4 closed J600 HALL0 ZCA HALL_0 input signal is connected to EMIOS0_CH8 1 2 open UNI 3 BEMFZCA input signal is connected to EMIOS0_CH8 2 3 closed J601 HALL1 ZCB HALL_1 input signal is connected to EMIOS0_CH9...

Page 6: ...GPIO A 12 populated R818 BRAKE UNI 3 Brake output signal is connected to GPIO A 4 populated R819 PFC UNI 3 PFC signal is connected to EMIOS1_CH0 populated R820 PFC_EN UNI 3 PFC Enable signal is connected to GPIO A 13 populated R821 PFC_ZC UNI 3 PFC Zero current signal is connected to EMIOS1_CH1 populated Table 2 MPC560xB Board Configuration continued Jumper Selector Function Connections ...

Page 7: ...560xB Controller Board User s Guide Rev 0 Freescale 7 Figure 3 MPC560xB Controller Board Jumper Position and Default Setting 2 4 Board LEDs The Table 3 displays the on board LEDs For on board LED locations see Figure 2 ...

Page 8: ... MCZ33905 safe pin state ON SBC in safe mode D500 PWM0 Phase A0 top switch signal ON High Level D512 PWM1 Phase B0 bottom switch signal ON High Level D501 PWM2 Phase A1 top switch signal ON High Level D513 PWM3 Phase B1 bottom switch signal ON High Level D502 PWM4 Phase A2 top switch signal ON High Level D514 PWM5 Phase B2 bottom switch signal ON High Level D503 FAULT0 DC bus undervoltage indicato...

Page 9: ...ween the Controller Board and Power Stage The Table 4 defines the UNI 3 pin out and pin assignment to the MCU Table 4 UNI 3 Signal Description Interface Pin Signal Name MCU Signal Description Direction 1 PWM0 EMIOS0_CH 1 Phase A top switch control H Turn OFF Digital output 3 PWM1 EMIOS0_CH 2 Phase A bottom switch control H Turn ON Digital output 5 PWM2 EMIOS0_CH 3 Phase B top switch control H Turn...

Page 10: ...2 Phase A Back EMF zero cross Digital input 35 ZCB EMIOS0_CH 14 Phase B Back EMF zero cross Digital input 36 ZCC EMIOS0_CH 15 Phase C Back EMF zero cross Digital input 38 Back EMF_A ADC0 1_P 4 Phase A Back EMF voltage sensing Analog input 39 Back EMF_B ADC0 1_P 5 Phase B Back EMF voltage sensing Analog input 40 Back EMF_C ADC0 1_P 6 Phase C Back EMF voltage sensing Analog input Table 5 MC33937A Si...

Page 11: ...ble 7 and Table 8 show the LIN connector s pin out and pin assignment to the MCU Table 7 LIN_1 J702 Signal Description Table 6 Hall Signal Description Interface Pin Signal Name MCU Signal Description Direction 1 5Vdc 5V sensor supply voltage 2 GND Ground 3 HALL0 EMIOS0_CH 12 HALL0 sensor output Digital input 4 HALL1 EMIOS0_CH 14 HALL1 sensor output Digital input 5 HALL2 EMIOS0_CH 15 HALL 2 sensor ...

Page 12: ...reescale FreeMASTER tool 3 to control the user application The interface uses a B type connector and it is isolated from the board environment See Table 11 for the pin description and pin assignment to the MCU Header J301 enables USB communication or can be used for LINFlex_6 signals and power supply pins access For more details see Table 12 Table 11 J300 USB Signal Description Interface Pin Signa...

Page 13: ...n in Table 14 3 D LIN 6 RX LIN 6 TX Data Digital bidirectional 4 GND_USB USB Ground Header pins Jumper settings Description 1 2 On default Off Enable SCI transmit Disable SCI transmit 3 4 On default Off Enable SCI receive Disable SCI receive 5 GND Power Supply Ground 6 MCU_5V Power Supply MCU_5V Interface Pin Signal Name MCU Signal Description Direction 1 HDR_LINFL_RX LIN 7 _RX LINFlex Receive Dat...

Page 14: ...ction 1 HRD_PH 8 _MA0 PH 8 MA 0 General purpose pin External MPX channel decoder Digital I O 2 HRD_PH 7 _MA1 PH 7 MA 1 General purpose pin External MPX channel decoder Digital I O 3 HRD_PH 6 _MA2 PH 6 MA 2 General purpose pin External MPX channel decoder Digital I O 4 HRD_PH 5 PH 5 General purpose pin Digital I O 5 HRD_PH 4 PH 4 General purpose pin Digital I O 6 HRD_ANX 3 PB 15 ADC0_X 3 Externally...

Page 15: ...3 Precision channel ADC0 ADC1 Analog input 5 AN4_P DSPI 4 _SCK Precision channel ADC0 ADC1 Analog input 6 AN5_P DSPI 4 _SIN Precision channel ADC0 ADC1 Analog input 7 AN6_P DSPI 4 _SOUT Precision channel ADC0 ADC1 Analog input 8 AN7_P DSPI 4 _CS Precision channel ADC0 ADC1 Analog input 9 AN8_P Precision channel ADC0 ADC1 Analog input 10 AN9_P Precision channel ADC0 ADC1 Analog input 11 AN10_P Prec...

Page 16: ...ice Reset Digital output 3 MC33937_OC PF 11 MC33937 Overcurrent indication Digital input 4 MC33937_INT PF 13 MC33937 Interrupt Digital input 5 MC33937_SCK DSPI 4 _SCK MC33937 Serial Peripheral Interface Clock Digital output 6 MC33937_SIN DSPI 4 _SIN MC33937 Serial Peripheral Interface Input Digital output 7 MC33937_SOUT DSPI 4 _SOUT MC33937 Serial Peripheral Interface Output Digital input 8 MC3393...

Page 17: ...ers high performance processing optimized for low power consumption The availability of up to two Enhanced Modular Input Output Subsystem modules eMIOS with enhanced timer capabilities up to two Analogue to Digital Converters ADC modules and a Cross Triggering Unit CTU makes the MPC560xB microcontrollers suitable for BLDC motor control applications 10 DCBV DC bus voltage DCBI DB bus current GND Gr...

Page 18: ...roller Board User s Guide Rev 0 Design Consideration Freescale 18 SPI DSPI 3 5 IIC 1 CAN FlexCAN 6 Debug JTAG Table 20 Supported MPC560xB device comparison 144 LQFP package Feature Device MPC5604B MPC5605B MPC5606B ...

Page 19: ...is shown in Figure 4 A detailed description of the MCU can be found in the datasheet or reference manual Figure 4 MPC5607B Family Block Diagram 0 1 2 3 14 1 5 2 2 6 7 1 1 7 789 2 2 2 14 22 2 1 1 1 1 A 11 1 A A 0 4 1A 14 2 1 1 1 1 14 A 0 A 1 4 1 14 A 2 1 11 A A 2 A 6 0 6 1 2 6 6 4 0 1 2 14 7 1 7 37 6 9 1 7 ...

Page 20: ...nagement Faults can be processed either by MCU software or by the on board hardware To detect error states very quickly the MPC560xB Controller Board provides two adjustable comparators and a fault logic circuit to force a disconnection of PWM signals from the MCU The FAULT0 signal indicates an undervoltage state on DC bus The error level can be adjusted by trimmer R805 The FAULT1 signal indicates...

Page 21: ... signal noise For a detailed JP600 connector signal description see Table 6 PWM0_OUT PWM1_OUT PWM2_OUT PWM3_OUT PWM4_OUT PWM5_OUT PWM4_IN PWM5_IN PWM0_IN PWM1_IN PWM2_IN PWM3_IN FAULT0 FAULT1 FLT_EN FLT_RESET FLT0_SIG FLT1_SIG 5Vdc GND_D GND_D 5Vdc 5Vdc GND_D GND_D 5Vdc 5Vdc GND_D 5Vdc HI SIDE LOW SIDE Q Q Q Q R1000 10 0K U1001B MC74ACT08DG 4 5 6 U1000C MC74ACT32DG 9 10 8 GND VCC U1000A MC74ACT32D...

Page 22: ...s in BLDC motors divide the electrical revolution into three equal sections of 120 In this so called 120 configuration the Hall states 111 and 000 never occur Based on the Hall sensor signal the BLDC motor commutation table is developed An example is shown in Figure 9 The right hand side of the table shows the Hall sensors signal while the left side the applied phase voltage Figure 8 BLDC Motor Ba...

Page 23: ...dwidth Figure 10 Analog Sensing Circuit 4 6 UNI 3 PFC PWM Signal Power Factor Correction The PFC PWM signal is used to control a power stage circuit such as a PFC or a power DC DC converter when available These signals are connected to the MPC560xB controller For more details see Table 21 4 7 UNI 3 Brake Signal The brake signal output is used to control the DC bus resistor switch It is controlled ...

Page 24: ...3905D with two LIN bus physical interfaces provides an additional possibility for connection Both the LIN_1 and LIN_2 interfaces can be configured as master or slave by jumpers J706 J707 5 Electrical Characteristics The electrical characteristics in Table 22 apply to an operation at 25 C 1 12V power supply MCU without software 6 Board Set up Guide The board is designed to be supplied either by the...

Page 25: ...Board Set up Guide MPC560xB Controller Board User s Guide Rev 0 Freescale 25 Figure 11 3 Phase BLDC Sensor Sensorless Development Kit ...

Page 26: ...ool www freescale com FREEMASTER 4 MPC560xB documentation is available at the Freescale website www freescale com Appendix B Acronyms Table 23 Acronyms Acronyms Description ADC Analog to Digital Converter BEMF Back Electromotive Force BLDC Brushless DC Motor CAN Controller Area Network LIN Local Interconnect Network MCU Microcontroller Unit PC Personal Computer PWM Pulse Width Modulation SBC Syste...

Page 27: ...MPC560xB Controller Board Schematic MPC560xB Controller Board User s Guide Rev 0 Freescale 27 Appendix C MPC560xB Controller Board Schematic ...

Page 28: ...CP FIUO PUBI SCH 27157 PDF SPF 27157 B MPC560XB Controller Board A3 Monday August 29 2011 SCHEMATIC REVISION Bretislav Zuczek Approver Bretislav Zuczek 1 11 ____ X ____ Drawing Title Size Document Number Rev Date Sheet of Page Title Designer Drawn by Approved Freescale Semiconductor RCSC 1 maje 1009 765 61 Roznov p R Czech republic Europe This document contains information proprietary to Freescale...

Page 29: ...ains information proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Classification FCP FIUO PUBI SCH 27157 PDF SPF 27157 B MPC560XB Controller Board A3 Monday August 29 2011 BLOCK DIAGRAM Josef Kramolis Approver Josef Kramolis 1 11 ____ X ____ PSU P...

Page 30: ...UC 1 WKUP 10 40 PB 0 GPIO 16 CAN0TX E0UC 30 LIN0TX0 31 PB 1 GPIO 17 E0UC 31 WKUP 4 CAN0RX LIN0RX 32 PB 2 GPIO 18 LIN0TX SDA E0UC 30 144 PB 3 GPIO 19 E0UC 31 SCL WKUP 11 LIN0RX 1 PB 4 ADC0_P 0 ADC1_P 0 GPIO 20 72 PB 5 ADC0_P 1 ADC1_P 1 GPIO 21 75 PB 6 ADC0_P 2 ADC1_P 2 GPIO 22 76 PB 7 ADC0_P 3 ADC1_P 3 GPIO 23 77 PB 8 GPIO 24 OSC32K_XTAL WKUP 25 ADC0_S 0 ADC1_S 4 53 PB 9 GPIO 25 OSC32K_EXTAL WKUP 2...

Page 31: ...ation proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Classification FCP FIUO PUBI SCH 27157 PDF SPF 27157 B MPC560XB Controller Board A3 Monday August 29 2011 HEADERS Bretislav Zuczek Approver Bretislav Zuczek 1 11 ____ X ____ Drawing Title Size...

Page 32: ...Date Sheet of Page Title Designer Drawn by Approved Freescale Semiconductor RCSC 1 maje 1009 765 61 Roznov p R Czech republic Europe This document contains information proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Classification FCP FIUO PUBI S...

Page 33: ...wing Title Size Document Number Rev Date Sheet of Page Title Designer Drawn by Approved Freescale Semiconductor RCSC 1 maje 1009 765 61 Roznov p R Czech republic Europe This document contains information proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor...

Page 34: ...This document contains information proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Classification FCP FIUO PUBI SCH 27157 PDF SPF 27157 B MPC560XB Controller Board A3 Monday August 29 2011 HALL SENSOR INPUT Bretislav Zuczek Approver Bretislav Zuc...

Page 35: ...ocument Number Rev Date Sheet of Page Title Designer Drawn by Approved Freescale Semiconductor RCSC 1 maje 1009 765 61 Roznov p R Czech republic Europe This document contains information proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Classificat...

Page 36: ... Size Document Number Rev Date Sheet of Page Title Designer Drawn by Approved Freescale Semiconductor RCSC 1 maje 1009 765 61 Roznov p R Czech republic Europe This document contains information proprietary to Freescale Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Clas...

Page 37: ...Semiconductor and shall not be used for engineering design procurement or manufacture in whole or in part without the express written permission of Freescale Semiconductor ICAP Classification FCP FIUO PUBI SCH 27157 PDF SPF 27157 B MPC560XB Controller Board A3 Monday August 29 2011 Auxiliary HS CAN Interface Bretislav Zuczek Josef Kramolis Bretislav Zuczek 1 11 ____ X ____ Drawing Title Size Docum...

Page 38: ...MPC560xB Controller Board User s Guide Rev 0 MPC560xB Controller Board Schematic Freescale 38 ...

Page 39: ...erformance may vary over time All operating parameters including typicals must be validated for each customer application by customer s technical experts Freescale does not convey any license under its patent rights nor the rights of others Freescale sells products pursuant to standard terms and conditions of sale which can be found at the following address http www reg net v2 webservices Freescal...

Reviews: