FM3 Washing Machine Evaluation Board MB9AF110K Series

The following document contains information on Cypress products.
Washing Machine Evaluation Board
32-bit ARM® Cortex®-M3 based Microcontroller
MB9AF110K Series
APPLICATION NOTE
Publication Number MB9AF111K_AN706-00097-E
Revision 1.0
Issue Date February 1, 2015
A P P L I C A T I O N
N O T E
Target products
This application note describes the below products:
Series
MB9AF110K Series
2
Product Number (Not Including Package Suffix)
All products
MB9AF111K_AN706-00097-E, February 1, 2015
A P P L I C A T I O N
N O T E
Table of Contents
1
2
3
4
Introduction ..................................................................................................................................... 4
1.1
Overview ……………………………………………………………………………………………4
1.2
Features ……………………………………………………………………………………………5
Getting Started ............................................................................................................................... 6
2.1
Board Elements ................................................................................................................... 6
2.2
User Interface ...................................................................................................................... 7
2.3
Connection Sequence ......................................................................................................... 8
2.4
System Connection ............................................................................................................. 8
2.5
Pin Assignment of Connector .............................................................................................. 9
2.5.1
UART0 Connector J9 ......................................................................................... 9
2.5.2
UART1 connector J2 .......................................................................................... 9
2.5.3
Hall Sensor Connector J5................................................................................... 9
2.5.4
JTAG Connector J8 ............................................................................................ 9
Hardware ...................................................................................................................................... 10
3.1
Amplifier Circuit for Phase Current .................................................................................... 10
3.2
Over-current Protection Circuit .......................................................................................... 10
Additional Information ................................................................................................................... 12
Figures
Figure 1-1: Block Diagram .......................................................................................................................... 4
Figure 2-1: Top View of the Board. ............................................................................................................. 6
Figure 2-2: User Interfaces ......................................................................................................................... 7
Figure 2-3: System Connection .................................................................................................................. 8
Figure 3-1: Amplifier Circuit ...................................................................................................................... 10
Figure 3-2: Over-Current Projection Circuit .............................................................................................. 10
Tables
Table 2-1: Definition of Connectors ............................................................................................................ 8
Table 2-2: Pin Assignment of J9 ................................................................................................................. 9
Table 2-3: Pins of J2 ................................................................................................................................... 9
Table 2-4: Pins of J5 ................................................................................................................................... 9
Table 2-5: Pins of J8 ................................................................................................................................... 9
February 1, 2015, MB9AF111K_AN706-00097-E
3
A P P L I C A T I O N
N O T E
1 Introduction
1.1 Overview
The Spansion FM3 washing machine board is intended to aid the user in the rapid evaluation and
development of washing machine motor control applications using Spansion FM3 Series MCUs which are
embedded with ARM Cotex-M3 core. This Board is targeted to control Permanent Magnet Synchronous
Motors or BLDC that are widely employed in washing machine.
Hardware version: schematic v0.3.1, board v0.3.1
Figure 1-1 provides the block diagram of the board.
Figure 1-1: Block Diagram
4
MB9AF111K_AN706-00097-E, February 1, 2015
A P P L I C A T I O N
N O T E
1.2 Features
This board is composed of many elements. The key features of the solution board are listed as below:

AC power stage:
220VAC ± 15% input compatible
On-board EMI filter and in-rush limiter
15A/800V rectifier module

Inverter stage:
Three-phase Intelligent Power Module (IPM) with a power rating of 600V/15A
Phase current sense resistor for dual shunt vector control
Over-current protection

Input / Output:
One hall sensor input connector (J5)
Two UART connectors (J2 and J9), share the same UART module

Programming and debug interface:
JTAG via 6- pin connector (J8)
February 1, 2015, MB9AF111K_AN706-00097-E
5
A P P L I C A T I O N
N O T E
2 Getting Started
2.1 Board Elements
The Spansion Washing Machine Board comprises four main parts:

EMI filter and In-rush Limiter
In order to suppress the common mode noise and in-rush current, the board employs EMI filter and in-rush
limiter before rectifier module.

Rectifier Module and Power Module Stage
The rectifier module converts the AC voltage to full wave voltage. Then, it goes through the DC capacitor
and provides DC power to the inverter power module.

SMPS
This board adopts the transformer-less SMPS to provide 5V power to the control unit and 15V power to the
driver unit of power module.

MCU and User Interface
This solution supports Spansion MB9AF110K series MCUs. The board provides some dedicated interfaces
for washing machine application, for example: UART for data communication between drive board and top
board, and hall sensor input interface. The board can be used to drive the washing machine directly.
Figure 2-1: Top View of the Board.
6
MB9AF111K_AN706-00097-E, February 1, 2015
A P P L I C A T I O N
N O T E
2.2 User Interface
This board uses the following components to interact with user. Figure 2-2 shows the position of the related
components.

LED
One LED (DT3) is used to indicate 5V.

Isolated UART port
There are two isolated UART connectors, sharing only one UART port.

Debugging port
The 6-pin connector (J8) is for JTAG connecting.

Hall sensor input port
The board provides a hall sensor input connector (J5). This board supports three-phase hall sensor.

Motor Connectors
Figure 2-2: User Interfaces
February 1, 2015, MB9AF111K_AN706-00097-E
7
A P P L I C A T I O N
N O T E
Table 2-1 collects the connectors.
Table 2-1: Definition of Connectors
Number
Component Designator
Description
1
J9
UART connector
2
J2
Isolated UART connector
3
J5
Hall sensor connector
4
J8
JTAG connector
5
D3
Power supply indicator
6
J1
AC mains connector
2.3 Connection Sequence
The recommended connection sequence is listed below. The user should ensure that the following
sequence is met before connecting the system to the AC mains and a motor.
1.
Connect J1 to the AC mains with a 10A cable.
2.
Connect J5 to the hall sensor connector of the motor.
3.
Connect J2 to the motor phases respectively.
4.
Connect the J-Link to the JTAG port (J8) on board and connect J-Link to host computer via USB cable.
Note:
Please make sure the AC mains power is isolated power if trying to debug with computer!
2.4 System Connection
Figure 2-3 shows the system connection for debugging.
Figure 2-3: System Connection
8
MB9AF111K_AN706-00097-E, February 1, 2015
A P P L I C A T I O N
N O T E
2.5 Pin Assignment of Connector
2.5.1 UART0 Connector J9
Table 2-2 lists pins of J9.
Table 2-2: Pin Assignment of J9
Pin Number
Pin Name
Description
1
2
GND
RX
Ground
Data input
3
4
TX
5V
Data output
Power supply
2.5.2 UART1 connector J2
Table 2-3 lists pins of J2
Table 2-3: Pins of J2
Pin Number
1
Pin Name
HOST_TXD
Description
Isolated data output
2
3
HOST_VCC
NC
Isolated VCC
Not connected
4
5
HOST_GND
HOST_RXD
Isolated Ground
Isolated data input
2.5.3 Hall Sensor Connector J5
Table 2-4 lists pins of J5
Table 2-4: Pins of J5
Pin Number
Pin Name
Description
1
VCC
5V
2
HA
Phase A of Hall sensor
3
HB
Phase B of Hall sensor
4
HC
Phase C of Hall sensor
5
GND
Ground
2.5.4 JTAG Connector J8
Table 2-5 lists pins of J8
Table 2-5: Pins of J8
Pin Number
Pin Name
Description
1
VCC
5V
2
GND
Ground
3
TDI
JTAG data input of target CPU
4
TMS
JTAG mode set input of target CPU
5
TCK
JTAG clock to target CPU
6
TDO
JTAG data from target MCU
February 1, 2015, MB9AF111K_AN706-00097-E
9
A P P L I C A T I O N
N O T E
3 Hardware
3.1 Amplifier Circuit for Phase Current
This solution employs two shunt resistors to measure the phase current of a motor. Accordingly, two channel
of amplifier are needed to extend the range of current waveform and lift the middle point of current waveform
from ground to 2.5V.
Figure 3-1 shows the detail of amplifier circuit.
Figure 3-1: Amplifier Circuit
Compute the voltage of current waveform as follow:
𝑅142
𝑈𝑜𝑢𝑡 = 2.5 + (
) ∗ 𝑈𝑖𝑛
𝑅129
Where:
𝑈𝑜𝑢𝑡 = amplified voltage
𝑈𝑖𝑛 = voltage between shunt resistor
3.2 Over-current Protection Circuit
To prevent the damage to the IPM caused by the unexpected huge current. The system needs over-current
protection circuit (Figure 3-2) to detect the current surge.
Figure 3-2: Over-Current Projection Circuit
Compute the output as follow:
𝑈𝑜𝑢𝑡 =
1
𝑅148
𝑅146
∗(
)∗(
+ 1) ∗ 𝑈𝑛𝑢 (𝑈𝑛𝑣 𝑜𝑟 𝑈𝑛𝑤)
3 𝑅147 + 𝑅148
𝑅145
Where:
𝑈𝑜𝑢𝑡 = voltage to fault pin of IPM
𝑈𝑛𝑢, 𝑈𝑛𝑣, 𝑈𝑛𝑤 = voltage between shunt resisters
10
MB9AF111K_AN706-00097-E, February 1, 2015
A P P L I C A T I O N
N O T E
As mentioned in the specification of IPM, the self-protection function will be trigged if the voltage on the fault
pin is higher than 0.5V. Then, it is easy to calculate and adjust the threshold value that trigs the over-current
protection.
February 1, 2015, MB9AF111K_AN706-00097-E
11
A P P L I C A T I O N
N O T E
4 Additional Information
For more Information on Spansion semiconductor products, visit the following websites:
English version address:
http://www.spansion.com/Products/microcontrollers/
Chinese version address:
http://www.spansion.com/CN/Products/microcontrollers/
Please contact your local support team for any technical question
America: [email protected]
China: [email protected]
Europe: [email protected]
Japan: [email protected]
Other: http://www.spansion.com/Support/SES/Pages/Ask-Spansion.aspx
12
MB9AF111K_AN706-00097-E, February 1, 2015
A P P L I C A T I O N
N O T E
AN706-00097-1v0-E
Spansion  Application note
FM3 Family
32-BIT MICROCONTROLLER
Starter Kit Users Guide
February 2015 Rev. 1.0
Published:
Edited:
Spansion Inc.
Communications
February 1, 2015, MB9AF111K_AN706-00097-E
13
A P P L I C A T I O N
N O T E
Colophon
The products described in this document are designed, developed and manufactured as contemplated for general use,
including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not
designed, developed and manufactured as contemplated (1) for any use that includes fatal risks or dangers that, unless
extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury,
severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control,
mass transport control, medical life support system, missile launch control in weapon system), or (2) for any use where
chance of failure is intolerable (i.e., submersible repeater and artificial satellite). Please note that Spansion will not be liable
to you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such
failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and
prevention of over-current levels and other abnormal operating conditions. If any products described in this document
represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law
of Japan, the US Export Administration Regulations or the applicable laws of any other country, the prior authorization by the
respective government entity will be required for export of those products.
Trademarks and Notice
The contents of this document are subject to change without notice. This document may contain information on a Spansion
product under development by Spansion. Spansion reserves the right to change or discontinue work on any product without
notice. The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy,
completeness, operability, fitness for particular purpose, merchantability, non-infringement of third-party rights, or any other
warranty, express, implied, or statutory. Spansion assumes no liability for any damages of any kind arising out of the use of
the information in this document.
®
®
®
TM
TM
Copyright © 2015 Spansion. All rights reserved. Spansion , the Spansion logo, MirrorBit , MirrorBit Eclipse , ORNAND
and combinations thereof, are trademarks and registered trademarks of Spansion LLC in the United States and other
countries. Other names used are for informational purposes only and may be trademarks of their respective owners.
14
MB9AF111K_AN706-00097-E, February 1, 2015