You are on page 1of 37

ATAVRMC100

..............................................................................................

Hardware User Guide


Section 1
Introduction ........................................................................................... 1-1

Section 2
Getting Started...................................................................................... 2-4

Section 3
Hardware Description ........................................................................... 3-7

Section 4
Programming ATAVRMC100.............................................................. 4-14

Section 5
Basic Test Program ............................................................................ 5-18

Section 6
Troubleshooting Guide ....................................................................... 6-22

Section 7
Technical Specifications ..................................................................... 7-23

Section 8
Technical Support ............................................................................... 8-24

Section 9
Complete Schematics......................................................................... 9-25

ATAVRMC100 User Manual User Guide 1


7551B–AVR–02/06
Section 1
Introduction

Congratulations on your purchase of the AVR® ATAVRMC100 evaluation kit. This doc-
ument describes the board included in the ATAVRMC100 starter kit dedicated to
AT90PWM3.

1.1 Overview

The ATAVRMC100 is an evaluation kit dedicated to brushless DC motor control, for


both Hall effect sensor control and sensorless control using Back ElectroMotive Force.
The kit includes an evaluation board, a 3-phase BLDC motor and a demonstration soft-
ware. It allows users to quickly evaluate the capability of the AVR® microcontroller
AT90PWM3 to control high speed brushless DC motor applications.
The kit can also serve as a development platform. Low cost AVR development tools
make debugging easier, and source codes, written in C, can be easily re-used by devel-
opers for their own motor control applications.

ATAVRMC100 User Manual 1


7551B –AVR–02/06
Figure 1-1 . ATAVRMC100

1.2 ATAVRMC100 Features

The ATAVRMC100 provides the following features:

„ AT90PWM3-16SQ SO32 device (2.7 - 5.5V)


„ On Board LIN Transceiver Atmel ATA6661
„ Power bridge for BLDC Motors
„ Hall Sensor or Sensorless Configuration
„ Zero Crossing Voltage Detection
„ Hardware Overcurrent DeteCtion
„ Motor Supply Voltage Measurement
„ On-board Voltage Regulator (5V)
„ AVR Studio® Software Interface(1)
„ Power-supply Flagged by Green LED
„ ISP Connector for on-chip In-System-Programming
„ ISP Connector for Debug Wire
„ System Clock: Internal RC Oscillator Only
„ Numerous Access Points for Test
„ Recommended Voltage Operation from 12V to 16V DC (4A)

ATAVRMC100 User Manual 2


7551B–AVR–02/06
„ Operating Temperature Range from 0°C to 70°C
„ Dimension: 75 mm x 55 mm

Notes: 1. The AT90PWM3 is supported by AVR Studio®, version 4.11 Service Pack 3 or higher.
For up-to-date information on this and other AVR tool products, please consult our
web site. The newest version of AVR Studio®, AVR tools and this User Guide can be
found in the AVR section of the Atmel web site, http://www.atmel.com.

ATAVRMC100 User Manual 3


7551B–AVR–02/06
Section 2
Getting Started

2.1 Unpacking the System

Kit contents:
„ 1 ATAVRMC100 evaluation board with AT90PWM3.
„ 1 Brushless DC motor ref : FL42BLS01-001 (3 phases, 8 poles, 12VDC)
„ 1 Getting started note
„ 1 Atmel Motor control CD-ROM with datasheets and demonstrations software
„ 1 AVR CD-ROM software and technical library

2.2 System Requirements

ATAVRMC100 is a stand alone board. For AVR software tools, the minimum hardware
and software PC requirements are:
„ 486 processor (Pentium® is recommended)
„ 16 MB RAM
„ 15 MB free hard disk space (AVR Studio)
„ Windows® 95/98/2000/ME/XP and Windows NT® 4.0 or higher

ATAVRMC100 User Manual 4


7551B –AVR–02/06
2.3 Quick Start

The evaluation board is shipped with a AT90PWM3 microcontroller. The AT90PWM3 is


already programmed with demonstration code. The default jumper settings will allow the
microcontroller to execute a basic program that runs the BLDC motor of the kit. The
demonstration program in the AT90PWM3 is described in Section “Basic Test Pro-
gram”, page 19.
Connect the motor as indicated below, motor phases (3 thick wires on pin 1,2 & 3) and
Hall sensors (5 thin wires on pin 4 to 8) .

Figure 2-1 . Motor Connection on Evaluation Board

Pin 1

3 Thick wires from motor phases

5 Thin wires from Hall sensors

Table 2-1 . J5 Pin Numbers vs Motor Wires

Signals names on
Pin number Motor Wire Remark Schematics

1 Yellow Thick wire PH_A

2 Red Thick wire PH_B

3 Black Thick wire PH_C

4 Red Thin Wire VCC5V

5 Blue Thin Wire HALL_A

6 Green Thin Wire HALL_B

7 White Thin Wire HALL_C

8 Black Thin Wire GND

ATAVRMC100 User Manual 5


7551B–AVR–02/06
Connect the ATAVRMC100 to an external 9 DC - 16V DC power supply as indicated
below. The power supply must be able to deliver up to 4 amps of power.

Figure 2-2 . Supply Connection on ATAVRMC100 Development Board


J1 Power Connector
Pin 1

Power Supply (12V -16 VDC- 4A)

Ground

Table 2-2 . J1 Pin number vs Supply Connection

Pin number Signal Remark

1 Positive Input 12V to 16 VDC

2 NC

3 Ground

The green D6 LED is lit when power is on. At power up, it runs the demonstration pro-
gram stored in the AT90PWM3. It makes the motor run in hall sensor mode.
The Hall sensor jumpers must be set as below on the ATAVRMC100.

Figure 2-3 . Default Hall sensor jumper configuration

ATAVRMC100 User Manual 6


7551B–AVR–02/06
Section 3
Hardware Description

3.1 Block Diagram

Figure 3-1. ATAVRMC100 Block Diagram


IO for users Lin network

12V to 16V DC Power NMOS FETs


Supply IO LIN (3 Half Bridges)

x3 BLDC
Supply Measurement
NMOS FET
Motor
drivers

ISP Zero
Isp (Avr Studio)
Connector Crossing Detection
AT90PWM3
Current Measurement
Low Level Tests Test points &
Over Current
Detection

Hall sensor
connector

3.2 Power Supply

3.2.1 Power Supply

The power supply source must be beetween 12V DC to 16V DC with 4 amps. See Get-
ting Started chapter for power ATAVRMC100 power supply connection

Note: WARNING : There is no protection against inverting power supply polarity.


The “VCC-ON“ D6 LED is always lit when power is applied to ATAVRMC100 .

ATAVRMC100 User Manual 7


7551B –AVR–02/06
Figure 3-2 . “VCC-ON” D6 LED Position

D6 - Led

3.3 ISP Connector

ATAVRMC100 has a six pin ISP connector (J2) allowing to reprogram the part with new
code using standard AVR ISP tools

Figure 3-3 . J2 - ISP Connector Position

ISP Connector

ATAVRMC100 User Manual 8


7551B–AVR–02/06
Pins number Signals

1 MISO

2 VCC 5V

3 SCK

4 MOSI

5 / Reset

6 Ground

For details informations about programming tools using ISP connector, refer to program-
ming chapter.

3.4 EXT DRV Connector

J3 connector is available to connect standart AVR product to power interface of


ATAVRMC100. The following signals are connected to J3.

Pins number Signal

1 H_A

2 L_A

3 H_B

4 L_B

5 H_C

6 L_C

7 V shunt +

8 V shunt -

9 VMOT Half

10 Overcurrent

Notes: 1. AT90PWM3 part should be erased to avoid conflict when using any external AVR
product.
2. PSC0RB, PSC1RB and PSC2RB fuse bits must be unprogrammed (=1) to avoid I/O
conflict.

ATAVRMC100 User Manual 9


7551B–AVR–02/06
3.5 IO Connector

J4 connector is available for ATAVRMC100 users.


The following signals are connected to J4.

Pins number Signal

1 PB3 / AMP0M

2 PB4 / AMP0P

3 PC1 / OC1B / PSCIN1

4 PC2 / TO / PSCOUT22

5 PB5 / ADC6 / INT2

6 PE1 / OCB0 / XTAL1

7 PD3 / LIN TXD-RXD / TXD DALI / OCO / SS / MISO

8 PD4 / ADC1 / RXD DALI / ICP1A / SCK

9 GROUND

10 5V VCC

Figure 3-4 . J4 IO Connector Position

J4 IO Connector

ATAVRMC100 User Manual 10


7551B–AVR–02/06
3.6 LIN network

AT90PWM3 may support a software LIN implementation. The ATAVRMC100 imple-


mesnt an Atmel LIN transceiver (ATA6661). A 3-pin connector assumes the LIN bus
connections. This connector is also the power supply connector.

Figure 3-5 . LIN 3-pin Connector


J1 Power Connector
Pin 1

Power Supply (12V-16 VDC- 4A)

Lin Network
Ground

Pin number Signal Remark

1 Positive Input 12V to 16 VDC

2 LIN Network

3 Ground

3.7 Hall sensor

The ATAVRMC100 board allows to control motors with or without Hall sensors.
When using Hall sensors, jumpers must be connected as below.

Figure 3-6 . Hall Sensors Jumper Configuration

ATAVRMC100 User Manual 11


7551B–AVR–02/06
In sensorless mode jumpers have to be set as shown below

Figure 3-7 . Sensorless Mode Jumper Configuration

ATAVRMC100 User Manual 12


7551B–AVR–02/06
3.8 Test Points

ATAVRMC100 board has test points for debug and engineering development.
The following table summarises all test points, please refer to schematics for detailed
informations.

Test Point Number Signal Name Schematic page Number

TP1 PH_C Page 2/4

TP2 Hall_C Page 2/4

TP3 Hall_B Page 2/4

TP4 Hall_A Page 2/4

TP5 PH_B Page 2/4

TP6 V_Shunt + Page 2/4

TP7 V_Shunt + Page 2/4

TP8 Over_current Page 2/4

TP9 PH_A Page 2/4

TP10 Ground Page 3/4

TP11 BEMF_C Page 4/4

TP12 BEMF_B Page 4/4

TP13 BEMF_A Page 4/4

TP14 Current_Detection Page 2/4

ATAVRMC100 User Manual 13


7551B–AVR–02/06
Figure 3-8 . ATAVRMC100 Test Points Position

ATAVRMC100 User Manual 14


7551B–AVR–02/06
Section 4
Programming ATAVRMC100

4.1 In-System Programming

The AT90PWM3 can be programmed using specific SPI serial links. This section
explains how to connect the programmer.
The Flash, EEPROM memory (and all Fuse and Lock Bit options ISP-programmable)
can be programmed individually or with the sequential automatic programming option.
WARNING: If debugWire fuse is enabled, AVR ISP can’t be used. If debugWire
fuse is disabled, JTAGICE mkII have to be used in ISP mode to enabled debug-
Wire fuse.

4.1.1 Programming with AVR ISP Programmer

The AVR ISP programmer is a compact and easy-to-use In-System Programming tool
for developing applications with AT90PWM3. Due to the small size, it is also an excel-
lent tool for field upgrades of existing applications. It is powered by the ATAVRMC100
and an additional power supply is thus not required.
The AVR ISP programming interface is integrated in AVR Studio.
To program the device using AVR ISP programmer, connect the 6-wire cable on the ISP
connector of the ATAVRMC100 as shown in Figure 4-1.

Note: See AVR Studio on-line Help for information.

ATAVRMC100 User Manual 15


7551B –AVR–02/06
Figure 4-1 . Programming from AVR ISP programmer

MISO 1 2 VCC
SCK 3 4 MOSI
RESET 5 6 GND

ISP CON

4.1.2 Programming with STK500

The AT90PWM3 can be programmed using the serial programming mode in the AVR
Studio STK500 software. The software interface (In-System Programming of an external
target system) is integrated in AVR Studio.
To program the device using ISP from STK500, connect the 6-wire cable between the
ISP6PIN connector of the STK500 board and the ISP connector of the ATAVRMC100
as shown in Figure 4-2.

Note: See AVR Studio on-line Help for information.

ATAVRMC100 User Manual 16


7551B–AVR–02/06
Figure 4-2 . Programming from STK500

The Flash, EEPROM memory (and all Fuse and Lock Bit options ISP-programmable)
can be programmed individually or with the sequential automatic programming option.

4.1.3 Programming using JTAGICE mkII

The AT90PWM3 can also be programmed using the JTAGICE mkII emulator in debug
Wire mode. In this mode, AT90PWM3 starts running code only when JTAGICE is dis-
connected. All software is available in AVR Studio.

ATAVRMC100 User Manual 17


7551B–AVR–02/06
Figure 4-3 . Programming from JTAGICE mkII

4.2 Debugging

AT90PWM3 has embedded On-chip debugWire that allows emulation with


ATAVRMC1OO using JTAGICE mkII only.
WARNING: If debugWire fuse is enabled, AVR ISP can’t be used. If debugWire
fuse is disabled, JTAGICE MKII have to be used in ISP mode to enabled debug-
Wire fuse.

ATAVRMC100 User Manual 18


7551B–AVR–02/06
Section 5
Basic Test Program

The program below is the example of the main routine loaded into
AT90PWM3 on the ATAVRMC100 kit, it allow motor to turn at low speed.

/*********************************************************************
* @file main.c
*
* Copyright (c) 2005 Atmel.
*
* @brief This module provide services to show a simple program for
* AT90PWM3 Only
* @version 1.0 (CVS revision : $Revision: 1.15 $)
* @date $Date: 2005/06/30 09:17:19 $
* @author $Author: gallain $
**********************************************************************/
#include "config.h"

#include "mc_lib.h"
#include "mc_control.h"
#include "mc_drv.h"
#include "serial.h"

#include "adc\adc_drv.h"
#include <stdio.h>
#include "mc_test_procedure.h"

U16 g_regulation_period = 0; //!< Define the sampling period


U16 motor_speed = 0; //!< User Speed Order
extern Bool g_tic; //see mc_drv.c Use for sampling time

//! Main user routine.


//! The main user routine provides an UART control for the motor.
//! The mc_regulation_loop() function is launched every 80ms.
//! '0,1,2,3' are used to set the speed of the motor.
//! '&,é,",(' are used to select the regulation loop (Open loop, speed,
//!current, position).
//! Press 'r' key to start the motor.
//! Press 's' key to stop the motor.
//! Press 'f' and 'b' keys to choose between CW and CCW rotation
//!direction.
//! Press 'v' key to print all motor parameters.
//! Press 'i' key to initialize the motor after Over current detection.
//! Press '-' and '+' keys to decrease or increase motor speed value.
void main(void)
{
// init motor

ATAVRMC100 User Manual 19


7551B –AVR–02/06
mc_motor_init(); // launch initialization of the motor

// init UART
init_uart();

// If PB5 == 1 : Launch the test function.(Only use for Board test)


if(Get_EXT3() == 0)mc_Board_test();

// UART print screen - uncomment for UART use


/*putstring("\033[2J"); // CLS, VT100 ANSI sequence

putstring("ATMEL BLDC Motor Control.");


putstring("\n\r");
sendchar(':');*/

// Start the motor


mc_set_motor_speed(50);
mc_motor_run();

while(1)
{
// UART IHM
// The code below provide an UART control for the motor
// uncomment for UART use
/*if(tstrx()==TRUE)
{
char answ = '\0';
answ = recchar();
sendchar(answ);
putstring("\n\r\0");
switch(answ)
{
case 'r' : // launch the motor
putstring("Run\n\r\0");
mc_set_motor_speed(motor_speed);
mc_reset_Num_Turn();
mc_motor_run();
break;
case 's' : // stop the motor
putstring("Stop\n\r\0");
mc_motor_stop();
break;
case 'f' : // Select forward direction
putstring("CW\n\r\0");
mc_motor_stop();
mc_set_motor_direction(CW);
mc_motor_run();
break;
case 'b' : // Select backward direction
putstring("CCW\n\r\0");
mc_motor_stop();
mc_set_motor_direction(CCW);
mc_motor_run();
break;
case 'v' : // print motor information
putstring("Cmd :");
putint(mc_get_motor_speed());
putstring("\n\r");
putstring("Speed:");
putint(mc_get_motor_measured_speed());
putstring("\n\r");
putstring("Current:");
putint(mc_get_measured_current());
putstring("\n\r");
putstring("Turns:");

ATAVRMC100 User Manual 20


7551B–AVR–02/06
putint(mc_get_Num_Turn());
putstring("\n\r");
break;
case '0' : // No regulation (Open Loop)
motor_speed = 50;
break;
case '1' : // Set speed regulation
motor_speed = 100;
break;
case '2' : // Set current regulation
motor_speed = 150;
break;
case '3' : // Set position regulation
motor_speed = 255;
break;
case '&' : // No regulation (Open Loop)
mc_set_Open_Loop();
break;
case 'é' : // Set speed regulation
mc_set_Speed_Loop();
break;
case '"' : // Set current regulation
mc_set_Current_Loop();
break;
case '(' : // Set position regulation
mc_reset_Num_Turn();
mc_set_Position_Loop();
break;
case '+' : // Set current regulation
motor_speed ++;
break;
case '-' : // Set position regulation
motor_speed --;
break;
case 'i' : // Init PSC, Restart PSC after Over_Current detection
PSC0_Init(255,0,1,0);
PSC1_Init(255,0,1,0);
PSC2_Init(255,0,1,0);
break;
default : putstring("Unknown command\n\r\0"); // Unknow Command
try again
}
sendchar(':');
}*/

// Show PSC state according to the Over Current information


if(PCTL2 & (1<<PRUN2)) switch_OFF_LED();// PSC ON
else switch_ON_LED();//PSC OFF => Over_Current

// Launch regulation loop


// Timer 1 generate an IT (g_tic) all 250us
// Sampling period = n * 250us
if (g_tic == TRUE)
{
g_tic = FALSE;

// Get Current and potentiometer value


mc_ADC_Scheduler();

g_regulation_period += 1;
if ( g_regulation_period >= 320 ) //n * 250us = Te
{
g_regulation_period = 0;
//mc_set_motor_speed(motor_speed); // Set User Speed Command for
an UART control

ATAVRMC100 User Manual 21


7551B–AVR–02/06
mc_set_motor_speed(mc_get_potentiometer_value()); // Set User
Speed Command with potentiometer
mc_regulation_loop(); // launch regulation loop
}
}
}
}

ATAVRMC100 User Manual 22


7551B–AVR–02/06
Section 6
Troubleshooting Guide

Table 6-1 . Troubleshooting Guide


Problem Description Reason Solution
ATAVRMC100 does not work Check the power supply
No power supply
and D6 led is off source

Check Hall sensor jumper


BLDC Motor does not turn Hall sensor disabled
configuration

BLDC Motor turns slowly or Current of the supply is not Check current of your supply
does not turn enought important 4A is the correct value
BLDC Motor starts and stop In rush currrent is to high limit the current of the supply
immediatly at power up with regarding overcurrent
to bypass inrush current
D1 led ON detection

ATAVRMC100 User Manual 23


7551B –AVR–02/06
Section 7
Technical Specifications

„ System Unit
– Physical Dimensions (Board only) ..............................L=75 x W=55 x H=15 mm
– Weight (Board only) ......................................................................................29 g

„ Operating Conditions
– Voltage Supply ......................................................................12V to 16VDC (4A)
– Operating Temperature range ................................................. From 0°C to 70°C

„ Motor unit
– Physical Dimensions ...............................................L=63.1 x W=42 x H=42 mm
– Weight ........................................................................................................250 g

ATAVRMC100 User Manual 24


7551B –AVR–02/06
Section 8
Technical Support

For Technical support, please contact avr@atmel.com. When requesting technical sup-
port, please include the following information:

„ Version number of AVR Studio. This can be found in the AVR Studio help menu.
„ Hardware revision of ATAVRMC100 board (found on PCB).
„ PC operating system and version/build
„ PC processor type and speed
„ A detailed description of the problem

ATAVRMC100 User Manual 25


7551B –AVR–02/06
Section 9
Complete Schematics

On the next pages, the following documents of ATAVRMC100 revision ATAVRMC100B


are shown:
„ Complete schematics
„ Assembly drawing
„ Silkscreen
„ Bill of materials

ATAVRMC100 User Manual 26


7551B –AVR–02/06
5 4 3 2 1

VCC5V

R1
10
U1
R45 1K
H_A H_A 1 32 L_A L_A
D PD0/PSCOUT00/XCK/SS_A PB7/ADC4/PSCOUT01/SCK D
R46 1K
H_B H_B 2 31 L_B L_B
PC0/INT3/PSCOUT10 PB6/ADC7/PSCOUT11/ICP1B
NRES/EXT9 EXT5

ATAVRMC100 User Manual


NRES/EXT9 3 PE0/RESET/OCD PB5/ADC6/INT2 30 EXT5

Over_Current Over_Current 4 29 DAC_OUT DAC_OUT


PD1/PSCIN0/CLKO PC7/D2A

MISO/EXT10 MISO/EXT10 5 28 EXT2 EXT2


PD2/PSCIN2/OC1A/MISO_A PB4/AMP0P
EXT7/MOSI/LIN_TxD/TxD EXT7/MOSI/LIN_TxD/TxD 6 27 EXT1 EXT1 JP2
PD3/TXD/DALI/OC0/SS/MISO_A PB3/AMP0M HallB
HallB 1
VCC5V R48 EXT3 EXT3 7 26 2
C1 PC1/PSCIN1/OC1B PC6/ADC10/ACMP1 C2 BEMF_B
BEMF_B 3
10 8 VCC AREF 25
Sel_Sensor_Sensorless_B
100nF 9 24 AGND 100nF
GND AGND
C EXT4 10 23 C3 100nF C
EXT4 PC2/T0/PSCOUT22 AVCC
LIN_NSLP LIN_NSLP 11 22 V_Shunt+ V_Shunt+
PC3/T1/PSCOUT23 PC5/ADC9/AMP1P C4 1uF
VCC5V R47 1K
H_C H_C 12 21 V_Shunt- V_Shunt-
PB0/MISO/PSCOUT20 PC4/ADC8/AMP1M

L_C L_C 13 20 VMOT VMOT JP1


R2 PB1/MOSI/PSCOUT21 PB2/ADC5/INT1 HallA
HallA 1
4.7K EXT6 EXT6 14 19 2
D1 PE1/OCB0/XTAL1 PD7/ACMP0 BEMF_A
BEMF_A 3
15 18 VMOT_Half VMOT_Half
PE2/ADC0/XTAL2 PD6/ADC3/ACMPM/INT0 Sel_Sensor_Sensorless_A
LED_Green EXT8/SCK/LIN_RxD/RxD/POT 16 17 JP3
PD4/ADC1/RXD/DALI/ICP1A/SCK_A PD5/ADC2/ACMP2 HallC
EXT8/SCK/LIN_RxD/RxD/POT HallC 1
AT90PWM3 2
Figure 9-1 . Schematics, 1 of 4

BEMF_C 3
BEMF_C
VCC5V R3 100K VCC5V Sel_Sensor_Sensorless_C
B B

J2
MISO/EXT10 MISO/EXT10 1 2
EXT8/SCK/LIN_RxD/RxD/POT MISO VCC EXT7/MOSI/LIN_TxD/TxD
EXT8/SCK/LIN_RxD/RxD/POT 3 SCK MOSI 4 EXT7/MOSI/LIN_TxD/TxD
NRES/EXT9 NRES/EXT9 5 6
RST GND
JTAG ISP
J3
H_A H_A 1 2 L_A L_A
H_B H_A L_A L_B
H_B 3 H_B L_B 4 L_B
H_C H_C 5 6 L_C L_C
V_Shunt+ H_C L_C V_Shunt-
V_Shunt+ 7 V+ V- 8 V_Shunt-
VMOT_Half VMOT_Half 9 10 Over_Current Over_Current
Vmot OCur
STK500_CON
J4
A EXT1 EXT1 1 2 EXT2 EXT2 A
EXT3 EXT1 EXT2 EXT2
EXT3 3 EXT3 EXT4 4 EXT4
EXT4 EXT5 5 6 EXT6 EXT6 Title
EXT7/MOSI/LIN_TxD/TxD EXT5 EXT6 EXT8/SCK/LIN_RxD/RxD/POT
7 EXT7 EXT8 8 EXT8/SCK/LIN_RxD/RxD/POT ATAVRMC100 (MicroController)
EXT7/MOSI/LIN_TxD/TxD 9 GND VCC 10
Size Document Number Rev
PORT_COM A4 1.7
CON 2x5 VCC5V
Date: 5 sept 2005 Sheet 1 of 4
5 4 3 2 1

27
7551B–AVR–02/06
5 4 3 2 1

VBUS_D R49 VIR2101


VIR2101

10 C5
D7 VBUS
SMBJ18
100nF D2
BAS21 VCC5V VCC5V
U2
D D
H_C H_C 2 1
L_C HIN VCC C6

ATAVRMC100 User Manual


L_C 3 LIN VB 8
R5 Q1

4.7K
4.7K
4.7K
7 SUD35N05-26L
R4 R9 HO 100nF
VS 6 22
4 5

R6
R7
R8
10K 10K COM LO C7 TP2 TP3 TP4
PH_C
IR2101S J5
TP1 PH_C
100nF 8

HallB
HallA

HallC
R10 Q2 HallC HallC R13 100 HS_C 7
SUD35N05-26L HallB HallB R12 100 HS_B 6
HallA HallA R11 100 HS_A 5
22
VIR2101 4
PH_C PH_C 3
C8 PH_B PH_B 2
PH_A PH_A 1
C C
100nF D3 BLDC Con
BAS21
U3

C9 1nF
H_B 2 1

C10 1nF
H_B C11 1nF
L_B HIN VCC
L_B 3 LIN VB 8
R15 Q3
7 SUD35N05-26L
R16 R14 HO
VS 6 22
4 5 TP6
10K COM LO C12 V_Shunt+
10K PH_B R17 4.7K
IR2101S V_Shunt+ V_Shunt+
TP5 PH_B C13
Figure 9-2 . Schematics, 2 of 4

100nF R18 1nF


R19 Q4 R_Shunt
SUD35N05-26L V_Shunt- V_Shunt-
22
V_Shunt-
B VIR2101 B
TP7
C14
TP14
R20 15K VCC5V C15
100nF D4
BAS21 Cur_Dtc
U4 100nF
5

H_A 2 1 C16 10nF TP8


H_A HIN VCC
L_A L_A 3 8 3 + U5
LIN VB Q5 Over_Current
R23 1 Over_Current
7 SUD35N05-26L DAC_OUT 4 -
Over_Cur
R21 R22 HO
VS 6 22
4 5
2

COM LO C17 LMV7219M5


10K 10K PH_A
IR2101S
TP9 PH_A
100nF
A R24 Q6 A
SUD35N05-26L
Title
22
ATAVRMC100 (POWER BRIDGE)
Size Document Number Rev
A4 1.7

Date: 5 sept 2005 Sheet 2 of 4


5 4 3 2 1

28
7551B–AVR–02/06
5 4 3 2 1

VBUS VBUS_D
U6 MC78M05CDT
D5 R25 10 VCC5V
1 VIN VOUT 2

GND
LL4001 C18 C20 R26 C21 C22 C23
D C19 TP10 D
4.7K

47uF
3

ATAVRMC100 User Manual


100nF 100nF 10nF 100nF 10uF

GND
D6
LED_Green

C C

POWER
VBUS_D

VBUS_D
R27
15K VBUS_D VBUS
R29
Figure 9-3 . Schematics, 3 of 4

10K U7
R28 R30
100K EXT8/SCK/LIN_RxD/RxD/POT EXT8/SCK/LIN_RxD/RxD/POT 1 8 33
RxD INH
J1
LIN_NSLP LIN_NSLP 2 7
B NSLP BAT B
VMOT 1
VMOT
LIN_NWAKE LIN_NWAKE 3 6 LIN 2
NWAKE LIN
3
EXT7/MOSI/LIN_TxD/TxD EXT7/MOSI/LIN_TxD/TxD 4 5
TxD GND
LIN Connector
C25 C26
R31 C24 ATA6661 100nF 220pF
22K 2.2nF

VMOT_Half
VMOT_Half LIN
R32
A 22K C27 A
100nF
Title
ATAVRMC100 (POWER + LIN)
Size Document Number Rev
V measurement A4 1.7

Date: 5 sept 2005 Sheet 3 of 4


5 4 3 2 1

29
7551B–AVR–02/06
5 4 3 2 1

TP11 BEMF_C
BEMF_C

D R33 R34 D
PH_C BEMF_C

ATAVRMC100 User Manual


PH_C
15K 100K

R35
22K

C28 C29

R36 100pF 470pf (Not Mounted)


22K

C TP12 BEMF_B C
BEMF_B

R37 R38
PH_B PH_B BEMF_B
15K 100K

R39
22K

C30 C31

R40 100pF 470pF (Not Mounted)


22K

B B

TP13 BEMF_A
BEMF_A
Figure 9-4 . Schematics, 4 of 4 ATAVR MC100

R42 R43
PH_A PH_A BEMF_A
15K 100K

R41
22K

C32 C33

R44 100pF 470pF (Not Mounted)


22K
A A

Title
ATAVRMC100 (ZCD Detection)
Size Document Number Rev
A4 1.7

Date: 5 sept 2005 Sheet 4 of 4


5 4 3 2 1

30
7551B–AVR–02/06
Figure 9-5 . Assembly drawings component side

Figure 9-6 . Assembly drawings solder side

ATAVRMC100 User Manual 31


7551B–AVR–02/06
Figure 9-7 . Silk Screen Component Side 1

Figure 9-8 . Silkscreen Component Side 2

ATAVRMC100 User Manual 32


7551B–AVR–02/06
9.1 Bill of Materials

Reference Part Part Description Package

C1,C2,C3,C5, 100nF 50V-5% Ceramic Capacitor CASE 0805

C6,C7,C8,C12,

C14,C15,C17,C18,

C20,C22,C25,C27

C4 1uF 16V -20/+80% CASE 0805

C9,C10,C11,C13 1nF 50V-5% Ceramic Capacitor CASE 0805

C16,C21 10nF 50V-5% Ceramic Capacitor CASE 0805

C19 47uF 25V

C23 10uF 6,3V

C24 2.2nF 50V-5% Ceramic Capacitor CASE 0805

C26 220pF 50V-5% Ceramic Capacitor CASE 0805

C28,C30,C32 100pF 50V-5% Ceramic Capacitor CASE 0805

C29,C31,C33 470pF (Not Mounted) 50V-5% Ceramic Capacitor

D1,D6 LED_Green TOPLED LP M670 PLCC-2

BAV21 Rectifier Diode 0,1mA SOT23

D5 LL4001 Rectifier Diode MELF 1A RMELF

Sel_Sensor_Sensorless
JP1 _A Right male bars Step2,54 * 3

Sel_Sensor_Sensorless
JP2 _B Right male bars Step2,54 * 3

Sel_Sensor_Sensorless
JP3 _C Right male bars Step2,54 * 3

J1 LIN Connector Connector block Step3,81 3 Pins

J2 CON 2x3 Right male bars Step2,54 * 3 *2

J3,J4 CON 2x5 Male connector with "detrompeur" 2X5 .

J5 BLDC Con Connector block Step3,81 8 Pins

ATAVRMC100 User Manual 33


7551B–AVR–02/06
Reference Part Part Description Package

Q1,Q2,Q3,Q4,Q5,Q6 SUD35N05-26L Power MOSFET CMS TO-252 (D-pak)

R1,R25, R48 10 1/16W-5% Resistor SMD CASE 0805

R2,R6,R7,R8,R17,R26 4.7K 1/16W-5% Resistor SMD CASE 0805

R3,R28,R34,R38,R43 100K 1/16W-5% Resistor SMD CASE 0805

R4,R9,R14,R16,R21,R22, 10K 1/16W-5% Resistor SMD CASE 0805

R29

R5,R10,R15,R19,R23,R2
4 22 1/16W-5% Resistor SMD CASE 0805

R11,R12,R13 100 1/16W-5% Resistor SMD CASE 0805

R18 R_Shunt CMS POWER resistor 0,1ohm 3W CASE 2512

R20,R27,R33,R37,R42 15K 1/16W-5% Resistor SMD CASE 0805

R30 33 1/16W-5% Resistor SMD CASE 0805

R31,R32,R35,R36,R39,R
40, 22K 1/16W-5% Resistor SMD CASE 0805

R41,R44

TP1,TP2,TP3,TP4,TP5,T
P6, T_POINT Test Point Step2,54

TP7,TP8,TP9,TP10,TP11

TP12,TP13,TP14

U1 AT90PWM3 ATMEL Microcontroller SO32

U2,U3,U4 IR2101S Power Drivers MOSFET/IGBT SOIC8

U5 LMV7219M5 Comparator 7ns rail to rail SOT23-5

U6 MC78M05CDT Regulator SMD Positif FIX 5V SMD DPAK

U7 ATA6661 LIN Transceiver R-SO8

R45, R46, R47 1K 1/16W-5% Resistor SMD CASE 0805

D7 SMBJ18

R49 10 CASE 1206

ATAVRMC100 User Manual 34


7551B–AVR–02/06
Atmel Corporation Atmel Operations
2325 Orchard Parkway Memory RF/Automotive
San Jose, CA 95131 2325 Orchard Parkway Theresienstrasse 2
Tel: 1(408) 441-0311 San Jose, CA 95131 Postfach 3535
Fax: 1(408) 487-2600 Tel: 1(408) 441-0311 74025 Heilbronn, Germany
Fax: 1(408) 436-4314 Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
Regional Headquarters Microcontrollers
Europe 2325 Orchard Parkway 1150 East Cheyenne Mtn. Blvd.
Atmel Sarl San Jose, CA 95131 Colorado Springs, CO 80906
Route des Arsenaux 41 Tel: 1(408) 441-0311 Tel: 1(719) 576-3300
Case Postale 80 Fax: 1(408) 436-4314 Fax: 1(719) 540-1759
CH-1705 Fribourg
Switzerland La Chantrerie Biometrics/Imaging/Hi-Rel MPU/
Tel: (41) 26-426-5555 BP 70602 High Speed Converters/RF Datacom
Fax: (41) 26-426-5500 44306 Nantes Cedex 3, France Avenue de Rochepleine
Tel: (33) 2-40-18-18-18 BP 123
Asia Fax: (33) 2-40-18-19-60 38521 Saint-Egreve Cedex, France
Room 1219 Tel: (33) 4-76-58-30-00
Chinachem Golden Plaza ASIC/ASSP/Smart Cards Fax: (33) 4-76-58-34-80
77 Mody Road Tsimshatsui Zone Industrielle
East Kowloon 13106 Rousset Cedex, France
Hong Kong Tel: (33) 4-42-53-60-00
Tel: (852) 2721-9778 Fax: (33) 4-42-53-60-01
Fax: (852) 2722-1369
1150 East Cheyenne Mtn. Blvd.
Japan Colorado Springs, CO 80906
9F, Tonetsu Shinkawa Bldg. Tel: 1(719) 576-3300
1-24-8 Shinkawa Fax: 1(719) 540-1759
Chuo-ku, Tokyo 104-0033
Japan Scottish Enterprise Technology Park
Tel: (81) 3-3523-3551 Maxwell Building
Fax: (81) 3-3523-7581 East Kilbride G75 0QR, Scotland
Tel: (44) 1355-803-000
Fax: (44) 1355-242-743

e-mail
literature@atmel.com

Web Site
http://www.atmel.com

Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise,to anyintellectu-
alproperty right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-TIONS OF
SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORYWAR-
RANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICU-
LARPURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL
OR INCIDEN-TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMA-
TION) ARISING OUTOF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAM-
AGES. Atmel makes norepresentationsor warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make
changes to specificationsand product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein.
Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended,
authorized, or warranted for useas components in applications intended to support or sustainlife.

© Atmel Corporation 2006. All rights reserved. Atmel®, logo and combinations thereof, are registered trademarks, and Everywhere You Are SM
are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.

/xM
7551B –AVR–02/06

You might also like