MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Users Manual MC56F8006DBUM Rev. 0 05/2009 freescale.com Table of Contents Chapter 1 Board Overview 1.1 1.2 1.3 1.4 MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Outline . . . . . . . About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setup Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Board Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 8 8 Chapter 2 Pin Description 2.1 2.2 2.2.1 2.2.2 2.2.3 2.2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Signal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Configuration Header J1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 ADC Configuration Headers J5, J6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 JTAG Header J3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Daughter Board Connectors J3 and J4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Appendix A. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Schematics Appendix B. Bill of Materials Appendix C. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Layouts MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 3 MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 4 Freescale Semiconductor MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Users Manual by:Lukas Osmancik Freescale Semiconductor Czech System Center To provide the most up-to-date information, the revision of our documents on the World Wide Web will be the most current. Your printed copy may be an earlier revision. To verify that you have the latest information available, refer to www.freescale.com The following revision history table summarizes changes contained in this document. For your convenience, the page number designators have been linked to the appropriate location. Revision History Date Revision Level 01/2009 0 Description Initial release Page Number(s) N/A MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 5 MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 6 Freescale Semiconductor Chapter 1 Board Overview 1.1 MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Outline Freescale’s MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, together with a 3-phase BLDC/PMSM Motor Control Drive board, create a single unit for developing BLDC/PMSM motor-control applications. The daughter board is connected via two connectors to the 3-phase BLDC/PMSM Motor Control Drive board. All necessary signals are available to allow a variety of algorithms to control the 3-phase PMSM and BLDC motors. Figure 1-1 is an illustration of the controller daughter board. 1.2 About this Manual Key items are in the following locations in this manual: • • • • Setup instructions — 1.3 Setup Guide. Schematics — Appendix A. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Schematics. Pin assignments — Chapter 2 Pin Description Pin-by-pin description — 2.2 Signal Descriptions. Figure 1-1 MC56F8006 Controller Daughter Board MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 7 Setup Guide 1.3 Setup Guide Setup and connections for the MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive are straightforward. The controller daughter board plugs into the main board via two 20-pin daughter board connectors. The system can be powered by a 12 to 24 V DC power supply. For safety reasons, and ease of making measurements, use a regulated DC supply. Limit power supply to under five amps. Place jumpers to route the required signals to the controller. For jumper settings, visit chapter 2.2.1 Configuration Header J1 and 2.2.2 ADC Configuration Headers J5, J6. A step-by-step setup procedure for the main board is available in the 3-phase BLDC/PMSM Motor Control Drive User Manual. WARNING Check the power supply voltage before plugging in the Controller Daughter Board. If an input voltage higher than 24 V is applied, the controller daughter board can be damaged. 1.4 Board Description The Controller Daughter Board is populated with an MC56F8013 or MC56F8023 digital signal controller (DSC). All the necessary signals are available on two 20-pin Rib-cage connectors, J6 and J7. Headers J1, J2, J4, and J5 are configuration headers and are used for board configuration. For more details, see 2.2.1 Configuration Header J1 and 2.2.2 ADC Configuration Headers J5, J6. JTAG header J3 is used for uploading the program onto the controller. Board schematic is available in Appendix A. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Schematics. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 8 Freescale Semiconductor Chapter 2 Pin Description 2.1 Introduction Inputs and outputs are located on seven connectors and headers available on the board: • Configuration header J1 • ADC configuration headers J5, J6 • JTAG header J2 • Two 20-pin daughter board connectors J3, J4 Pin descriptions for each connector and header are identified in the following information. Figure 2-1 shows the pin assignments for the daughter board connectors J3 and J4. Table 2-5 and Table 2-6 show the signal descriptions. Several configuration headers are used because the MC56F8006 controller in the LQFP32 package doesn’t have enough pins. 2.2 Signal Descriptions Pin descriptions are identified in this subsection. 2.2.1 Configuration Header J1 Configuration header J1 serves for connecting the ENCODER Index/Hall sensor phase C signal or the RxD signal for SCI communication to the controller GPIOB6 pin. Table 2-1 shows the jumper settings for the selected function. Table 2-1 Configuration Header J1 Pins shorted Signal Name 1–2 ENC_Index 2–3 RxD Description ENCODER Index or Hall sensors Phase C input RxD signal for SCI communication MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 9 Signal Descriptions 2.2.2 ADC Configuration Headers J5, J6 Table 2-2 and Table 2-3 show the ADC Configuration Headers pin description. Header J5 selects, if the BEMF voltages or phase currents are routed to the controller ADC inputs. Header J6 selects, if the DCbus current or phase currents are routed to the controller ADC input. Table 2-2 ADC Configuration Header J5 — Signal Descriptions Header # Pins shorted Signal Name Description 1–2 I_sense_A Analog-sense signal that measures current in phase A. 3–4 BEMF_sense_A Analog-sense signal that measures phase A back-EMF. 5–6 I_sense_B Analog-sense signal that measures current in phase B. 7–8 BEMF_sense_B Analog-sense signal that measures phase B back-EMF. 9–10 I_sense_C Analog-sense signal that measures current in phase C. 11–12 BEMF_sense_C Analog-sense signal that measures phase C back-EMF. 5 Table 2-3 ADC Configuration Header J6 — Signal Descriptions Header # Pins shorted Signal Name Description 1–2 I_sense_DCB Analog-sense signal that measures current in phase DC-bus. 2–3 I_sense_A Analog-sense signal that measures current in phase A. 6 2.2.3 JTAG Header J3 This serves for updating the software for the MC56F8006 controller. Signals are described in Table 2-4. Table 2-4 JTAG Header J2 — Signal Descriptions Pin # Signal Name Description 1 TDI Test data input signal 2 GND Digital ground 3 TDO Test data output signal 4 GND Digital ground 5 TCK Test clock input signal 6 GND Digital ground MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 10 Freescale Semiconductor Signal Descriptions Table 2-4 JTAG Header J2 — Signal Descriptions (Continued) Pin # Signal Name Description 7 No Connect 8 No Connect 9 /RESET 10 TMS Test mode select input signal 11 +3.3V Digital +3.3 V power supply 12 No Connect 13 No Connect 14 No Connect RESET signal 2.2.4 Daughter Board Connectors J3 and J4 Signal inputs and outputs for interconnection with the 3-phase BLDC/PMSM LV Motor Control Drive are situated on two 20-pin connectors, located on the board’s bottom-side. Figure 2-1 shows the pin assignments. This figure shows the physical layout of the connectors, assuming that the board is oriented upside down (bottom is up). Table 2-5 and Table 2-6 contain the lists of signal descriptions for connectors J6 and J7. Table 2-5 Daughter Board Connector J3 — Signal Descriptions Pin # Signal Name Description 1 GND Digital and power ground 2 +3.3V Digital +3.3 V power supply 3 NC 4 NC 5 PWM_AT Gate-drive signal for the top half-bridge of phase A. A logic low turns on phase A’s top switch. 6 PWM_AB Gate-drive signal for the bottom half-bridge of phase A. A logic high turns phase A’s bottom switch on. 7 PWM_BT Gate-drive signal for the top half-bridge of phase B. A logic low turns on phase B’s top switch. 8 PWM_BB Gate-drive signal for the bottom half-bridge of phase B. A logic high turns phase B’s bottom switch on. 9 PWM_CT Gate-drive signal for the top half-bridge of phase C. A logic low turns on phase C’s top switch. 10 PWM_CB Gate-drive signal for the bottom half-bridge of phase C. A logic high turns phase C’s bottom switch on. 11 OC Overcurrent signal from the 3-phase bridge driver MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor ‘ 11 Signal Descriptions Table 2-5 Daughter Board Connector J3 — Signal Descriptions (Continued) Pin # Signal Name Description 12 INT Interrupt signal from the 3-phase bridge driver 13 TxD TxD signal between JM60 and the Controller Daughter Board 14 RxD RxD signal between JM60 and the Controller Daughter Board 15 TOGGLE_ SWITCH_ON1 Toggle switch input (switch in position ON1) on the BLDC drive 16 TOGGLE_ SWITCH_ON2 Toggle switch input (switch in position ON2) on the BLDC drive 17 UP_SWITCH 18 DOWN_SWITCH 19 USER_LED 20 /RESET UP switch input DOWN switch input USER LED signal RESET signal Table 2-6 Daughter Board Connector J4 — Signal Descriptions Pin # Signal Name Description 1 GNDA Analog power supply ground 2 +3.3VA Analog +3.3 V power supply 3 I_sense_A Analog-sense signal that measures current in phase A. It is scaled at 50 V per amp of DC-bus current. 4 I_sense_B Analog-sense that measures current in phase B. It is scaled at 0.563 V per amp of DC-bus current. 5 I_sense_C Analog-sense signal that measures current in phase C. It is scaled at 0.563 V per amp of DC-bus current. 6 BEMF_sense_A Analog-sense signal that measures phase A back-EMF. It is scaled at 8.09 mV per volt of DC-bus voltage. 7 BEMF_sense_B Analog-sense signal that measures phase B back-EMF. It is scaled at 8.09 mV per volt of DC-bus voltage. 8 BEMF_sense_C Analog-sense signal that measures phase C back-EMF. It is scaled at 8.09 mV per volt of DC-bus voltage. 9 V_sense_DCB Analog-sense signal that measures bus voltage. It is scaled at 8.09 V per volt of DCbus voltage. 10 V_sense_DCB/2 Analog-sense signal that measures bus voltage. It is scaled at 8.09 V per volt of DCbus voltage. 11 I_sense_DCB Analog-sense signal that measures bus current. It is scaled at 8.09 V per amp of DC-bus current. 12 ENC_PhaseA Encoder or Hall sensor Phase A input pin logic MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 12 Freescale Semiconductor Signal Descriptions Table 2-6 Daughter Board Connector J4 — Signal Descriptions (Continued) Pin # Signal Name 13 ENC_PhaseB 14 ENC_Index 15 DRV_EN 16 /SS 17 MOSI SPI pin Master Out Slave In pin for the 3-phase bridge driver 18 SCLK SPI pin Clock Source pin Input for the 3-phase bridge driver 19 MISO SPI pin Master In Slave Out pin for the 3-phase bridge driver 20 GND Digital and power ground +3.3VA I_sense_B BEMF_sense_A BEMF_sense_C 2 4 6 8 10 12 14 16 18 20 ENC_PhaseA ENC_Index /SS TOGGLE_SWITCH/SCLK GND Description Encoder or Hall sensor Phase B input pin logic Encoder Index or Hall sensor Phase C input pin logic 3-phase bridge gate driver enable signal SPI pin chip select pin for the 3-phase bridge driver 1 3 5 7 9 11 13 15 17 19 GNDA I_sense_A I_sense_C BEMF_sense_B V_sense_DCB I_sense_DCB ENC_PhaseB DRV_EN DOWN_SWITCH/MOSI UP_SWITCH/MISO +3.3V PWM_AB PWM_BB PWM_CB INT RxD TOGGLE_SWITCH_ON2 DOWN_SWITCH /RESET 2 4 6 8 10 12 14 16 18 20 1 3 5 7 9 11 13 15 17 19 GND PWM_AT PWM_BT PWM_CT OC TxD TOGGLE_SWITCH_ON1 UP_SWITCH USER_LED Figure 2-1 J3 and J4 Connector Physical View on Daughter Board MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor ‘ 13 Signal Descriptions MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 14 Freescale Semiconductor Figure A-1 Daughter Board Connectors and Headers Appendix A. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Schematics MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 15 16 Freescale Semiconductor MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Figure A-2 Controller and Headers Appendix B. Bill of Materials Table B-1 Parts List DESIGNATORS C2,C2,C4,C6,C7 C1 C8,C9,C10 J1,J6 QUANTITY 5 1 3 2 DESCRIPTION 820 pF/6.3 V size 0805 2200 pF/ 6.3 V size 0805 100 nF/6.3 V size 0805 HDR 3x1 J2 1 HDR 2x7 J3,J4 2 87022-610 J5 1 HDR 2x6 1 2 1 1 100 Ω Resistor 1/8 W 1 % size 0805 1 kΩ Resistor 1/8 W size 0805 47 kΩ Resistor 1/8 W size 0805 33 kΩ Resistor 1/8 W size 0805 18 kΩ Resistor 1/8 W size 0805 U1 1 digital signal controller/LQFP-32 U2 1 two-input OR gate R1,R2,R3,R4,R6, R9 R5 R7,R8 R10 R11 6 MANUFACTURER ANY ACCEPTABLE ANY ACCEPTABLE ANY ACCEPTABLE MOLEX TYCO ELECTRONICS FCI TYCO ELECTRONICS PART NUMBER — — — 09-65-2038 ANY ACCEPTABLE — 4-103322-2 87022-610LF ANY ACCEPTABLE — ANY ACCEPTABLE — ANY ACCEPTABLE — ANY ACCEPTABLE — FREESCALE MC56F8006VLC SEMICONDUCTOR ON MC74VHC1G32DFT1G SEMICONDUCTOR MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 17 MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 18 Freescale Semiconductor Appendix C. MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive Layouts Figure C-1 Board Top Layer Figure C-2 Board Top Layer Figure C-3 Board Top Layer MC56F8006 Controller Daughter Board for BLDC/PMSM Motor Control Drive, Rev. 0 Freescale Semiconductor 19 How to Reach Us: Home Page: www.freescale.com E-mail: [email protected] USA/Europe or Locations Not Listed: Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 [email protected] Europe, Middle East, and Africa: Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) [email protected] Japan: Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064, Japan 0120 191014 or +81 3 5437 9125 [email protected] Asia/Pacific: Freescale Semiconductor China Ltd. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 [email protected] For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 [email protected] Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals”, must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. The ARM POWERED logo is a registered trademark of ARM Limited. ARM7TDMI-S is a trademark of ARM Limited. Java and all other Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. The Bluetooth trademarks are owned by their proprietor and used by Freescale Semiconductor, Inc. under license. © Freescale Semiconductor, Inc. 2004. All rights reserved. MC56F8006DBUM Rev. 0 05/2009