Allegro A89301 Manuale utente

User Manual
A89301 Application Note
UM-A89301 February 27, 2019
Summary
This application note provides step-by-step instructions on how to use the A89301 Evaluation Board to program the Allegro
A89301 motor controller IC. In addition, this document contains feature descriptions and detailed circuit descriptions that are
not shown in the datasheet.
Table of Contents
Summary ............................................................................ 1
Step-by-Step Instructions ...................................................... 2
Step 1: Evaluation Board Connections................................. 2
Step 2: Launch the GUI ..................................................... 3
Step 3: Load saved parameters, if previously saved .............. 5
Step 4: Configure the basic parameters ............................... 6
Step 5: Start the motor....................................................... 7
Step 6: If motor does not move at all ................................... 8
Step 7: If motor shakes a little and stops.............................. 9
Step 8: If motor spins more than 5 cycles and stops ............ 10
Step 9: While the motor is spinning, go to the Status page;
click ‘Read Status’..........................................................11
Step 10: Adjust the motor inductance ................................ 12
Step 11: Fine tune the general parameters......................... 16
Step 12: PID Parameters ................................................. 17
Step 13: Startup Mode and Startup Settings....................... 18
Step 14: Lock detect parameters....................................... 20
Step 15: Speed control mode ........................................... 21
Step 16: Other settings .................................................... 22
Step 17: MOSFET CISS settings (CISS tab)....................... 25
Step 18: Save the settings and write into the EEPROM ....... 26
Default values of Allegro-only bits ..................................... 27
Note 1. How to determine the number of poles ................... 28
Note 2. Testing the IPD performance ................................. 29
Note 3. Debugging the lock detect feature.......................... 31
Note 4. Testing Motor Startup ........................................... 33
Other Operating Features of A89301 .................................... 34
Motor Operation Status Readback .................................... 34
I2C Hardware Connection ................................................ 35
OCL and OCP ................................................................ 35
OCP Masking Time and Filtering Time ............................... 35
Bus Current vs. Q-Axis Current......................................... 36
Gate Driver .................................................................... 36
Current Limit Level Ramping Up With Speed...................... 36
Charge Pump Capacitor Selection .................................... 37

2
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
STEP-BY-STEP INSTRUCTIONS
Step 1: Evaluation Board Connections.
B. Connect
power cables to
VBBIN and GND
A. Connect USB
cable to computer
C. Set the switch
to U1 PROG E. *Do NOT
connect motor
phases
SA,SB,SC yet
* The default sengs in the A89301 may
not be appropriate, which could cause
damage to the IC or motor. Sengs should
be veried before connecng a motor.
F. Turn on power
(to rated voltage)
D. Set JMP2 to
upper posion

3
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 2: Launch the GUI.

4
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 2: Launch the GUI. (continued)
B. If you see this error message,
install the USB to I2C chip driver
(FTDI D2XX). Check USB cable
connecon.
C. Make sure the power supply is
ON, and the switch is set to ‘U1
PROG’.
D. Try talking to the IC again. (As I2C_SDA
is shared with funconal mode FG pin, it
is possible the rst aempt failed because
the FG is pulled low).
To guarantee this won’t happen again in
the future, disable the FG funcon:

5
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 3: Load saved parameters, if previously saved.
Device parameters can be saved to a file. If a file for this (or similar) application has been created, open that file. Verify the Allegro-
only bits in the file are their default values.
B.
C.
E. F.
A.
D.

6
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 4: Configure the basic parameters.
Note: These numbers do not need to be very accurate; use the best estimation. There is fine tuning later in the process.
The number of pole pairs. For example,
12 pole motor: input 6 pole pairs.
See NOTE 1 to determine the number of poles.
The supply voltage that motor will be
working at. For example:
•Computer fan, 12 V power supply:
input 12 V.
•Supply voltage speed control, range
8 V to 24 V: input 24 V.
•Lithium baery system, voltage
11.1 V to 12.6 V: input 12 V.
Expected motor speed at ‘Rated Voltage’,
normal load condion, and 100% control
demand.
For example, pedestal fan, 1300 rpm with
blades and 1450 rpm without blades:
input approximately 1300 rpm.
Motor operaon current under ‘Rated
Voltage’, with normal load condion.
Rated Voltage, Rated Speed, and Rated
Current must be consistent.
Motor phase to center tap resistance,
measure phase to phase R and divide by
two.*
*Be sure to use an accurate mmeter. A ber oon may be to
apply a current through the motor, measure voltage across it, and
calculate resistance.
In the “Advanced” page, there is a
parameter defining the current sensing
resistor value. Program this value
appropriately.

7
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 5: Start the motor.
A. Connect motor phase A, B, and C.
B. Keep ‘Set speed demand via I2C’ checked.
C. Select the speed demand to 50%, and click Toggle Run/Stop.
The motor should start spinning.
If it does, go to step 9.
If not:
Doesn’t move at all,
go to step 6.
Shook a li�le bit
then stopped, go
to step 7.
Spun more than 5
cycles and stopped,
go to step 8.

8
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 6: If motor does not move at all:
A. Look at the LED indicator
connected to the Fault pin,
and follow the fault table to
determine the root cause.
B. If the LED is o, connect a current probe and
voltage probe to the motor outputs and check
if there is any current / voltage output to the
motor phase. If there is voltage but no current,
check motor phase connecons.
C. If the fault indicator LED is showing the “zero speed demand”, double
check the I2C speed demand seng is correct.
D. Toggle Run/Stop to retry startup.

9
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 7: If motor shakes a little and stops:
B. If it is OCP, check the phase output
wire connecons.
C. Otherwise, it is likely lock
detecon. If so, lower/slow down
the acceleraon seng. Note there
are two acceleraon ranges.
D. Toggle Run/Stop to retry the startup.
A. Look at the LED indicator
connected to the Fault pin,
and follow the fault table to
determine the root cause.

10
Allegro MicroSystems, LLC
955 Perimeter Road
Manchester, NH 03103-3353 U.S.A.
www.allegromicro.com
Step 8: If motor spins more than 5 cycles and stops:
B. The problem is likely lock detec�on. If so,
go to the Standby / Protec�on page and
disable all the lock detect features.
C. Toggle Run/Stop to retry the startup.
A. Look at the LED indicator
connected to the Fault pin,
and follow the fault table to
determine the root cause.
D. One by one, enable each lock detect
feature to determine which is the cause of
the fault and which can be re-enabled.
Indice
Manuali Hardware per computer popolari di altre marche

EMC2
EMC2 VNX Series Manuale del proprietario

Panasonic
Panasonic DV0PM20105 Manuale utente

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 Manuale utente

Gigabyte
Gigabyte B660M DS3H AX DDR4 Manuale utente

Raidon
Raidon iT2300 Manuale utente

National Instruments
National Instruments PXI-8186 Manuale utente











