AMIS30621C6213RG ON Semiconductor, AMIS30621C6213RG Datasheet
AMIS30621C6213RG
Specifications of AMIS30621C6213RG
Available stocks
Related parts for AMIS30621C6213RG
AMIS30621C6213RG Summary of contents
Page 1
AMIS-30621 Micro-Stepping Motor Driver INTRODUCTION The AMIS−30621 is a single−chip micro−stepping motor driver with position controller and control/diagnostic interface ready to build dedicated mechatronics solutions connected remotely with a LIN master. The chip receives positioning instructions through the ...
Page 2
... Target markets include: automotive (headlamp alignment, HVAC, idle control, cruise control), industrial equipment (lighting, fluid control, labeling, process control, XYZ tables, robots...) and building automation (HVAC, Table 1. ORDERING INFORMATION Part No. Peak Current AMIS30621C6213G 800 mA AMIS30621C6213RG 800 mA AMIS30621C6216G 800 mA AMIS30621C6216RG 800 mA AMIS30621C6217G** 800 mA AMIS30621C6217RG** 800 mA † ...
Page 3
Table of Contents General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . Product Features . . . . . ...
Page 4
HW0 1 HW1 2 VDD 3 4 GND TST 5 LIN 6 GND 7 HW2 8 CPN 9 CPP 10 SOIC−20 Table 4. PIN DESCRIPTION Pin Name HW0 Bit 0 of LIN−ADD HW1 Bit 1 of LIN−ADD V Internal supply ...
Page 5
The AMIS−30621 is available in SOIC−20 and optimized NQFP32 packages. For cooling optimizations, the NQFP has an exposed thermal pad which has to be soldered to the PCB ground plane. The ground plane needs thermal vias to conduct the head ...
Page 6
The DC parameters are guaranteed over temperature and V currents flowing into the circuit are defined as positive. Table 5. DC PARAMETERS Symbol Pins Parameter MOTORDRIVER I Max current through motor MSmax,Peak coil in normal operation I Max RMS Current ...
Page 7
Table 5. DC PARAMETERS Symbol Pins Parameter SWITCH INPUT AND HARDWIRE ADDRESS INPUT Rt_ Switch OPEN Resistance OFF (Note 13) Rt_ Switch ON Resistance ON SWI HW2 (Note 13 range for guaranteed BB_sw BB operation of SWI and ...
Page 8
The AC parameters are guaranteed for temperature and V The LIN transmitter and receiver physical layer parameters are compliant to LIN rev. 2.0 & 2.1. Table 6. AC PARAMETERS Symbol Pins Parameter POWERUP T Powerup Time pu INTERNAL OSCILLATOR f ...
Page 9
TxD LIN TH Rec(max) TH Dom(max) TH Rec(min) TH Dom(min) RxD (receiver 2) Figure 5. Timing Diagram for AC Characteristics According to LIN 2.0 & 2.1 V BAT 100 nF 100 mF VDD ...
Page 10
Stepping Modes One of four possible stepping modes can be programmed: • Half−stepping • 1/4 micro−stepping • 1/8 micro−stepping • 1/16 micro−stepping Table 7. MAXIMUM VELOCITY SELECTION TABLE Vmax index Vmax Hex Dec (full step/ ...
Page 11
Minimum Velocity Once the maximum velocity is chosen, 16 possible values can be programmed for the minimum velocity Vmin. The table below provides the obtainable values in full−step/s. The accuracy of Vmin is derived from the internal oscillator. Table 8. ...
Page 12
Acceleration and Deceleration Sixteen possible values can be programmed for Acc (acceleration and deceleration between Vmin and Vmax). The table below provides the obtainable values in 2 full−step/s . One observes restrictions Table 9. ACCELERATION AND DECELERATION SELECTION TABLE Vmax ...
Page 13
Position Ranges A position is coded by using the binary two’s complement format. According to the positioning commands used and to the chosen stepping mode, the position range will be as shown in the following table. Table 11. POSITION RANGE ...
Page 14
The charge pump to allow driving of the H−bridges’ high side transistors. • Two pre−scale 4−bit DAC’s to set the maximum magnitude of the current through X and Y. • Two DAC’s to set the correct current ratio through ...
Page 15
Table 13. POSITION RELATED PARAMETERS Parameter Pmax – Pmin Zero Speed Hold Current Maximum Current Acceleration and Deceleration Vmin Vmax Different positioning examples are shown in the table below. Table 14. POSITIONING EXAMPLES Short motion. New positioning command in same ...
Page 16
Dual Positioning A SetDualPosition command allows the user to perform a positioning using two different velocities. The first motion is done with the specified Vmin and Vmax velocities in the SetDualPosition command, with the acceleration (deceleration) parameter already in RAM, ...
Page 17
Position Periodicity Depending on the stepping mode the position can range from –4096 to +4095 in half−step to –32768 to +32767 in th 1/16 micro−stepping mode. One can project all these positions lying on a circle. When executing the command ...
Page 18
Table 15. STATE DIAGRAM OF THE HW2 COMPARATOR Previous State DriveLS DriveHS Float 1 0 Float 1 0 Float 0 1 Float 0 1 Low 1 0 Low 1 0 Low 0 1 Low 0 1 High 1 0 High ...
Page 19
Condition R2 VBAT Tsw = 1024 ms DriveLS Tsw_on = 64 ms DriveHS “R”−Comp R th HW2_Cmp State Figure 11. Timing Diagram Showing the Change in States for HW2 Comparator R2VBAT A resistor is connected between VBAT and HW2. Every ...
Page 20
R2GND 2 = R2VBAT 3 = OPEN Figure 12. Simplified Schematic Diagram of the SWI Comparator As illustrated in the drawing above, a change in state is always synchronized with DriveHS or DriveLS. ...
Page 21
DriveHS DriveLS “R”−Comp R th SWI_Cmp ESW ActPos Figure 13. Simplified Timing Diagram Showing the Change in States for SWI Comparator Main Control and Register, OTP memory + ROM Power−up Phase Power up phase of the AMIS−30621 will not exceed ...
Page 22
Thermal Shutdown Mode When thermal shutdown occurs, the circuit performs a <SoftStop> command and goes to motor shutdown mode (see Figure 14). Temperature Management The AMIS−30621 monitors temperature by means of two thresholds and one shutdown level, as illustrated in ...
Page 23
T shutdown level T T warning level T <tw> bit T < T getstatus or getfullstatus T <tsd> bit Figure 15. Illustration of Thermal Management Situation Battery Voltage Management The AMIS−30621 monitors the battery voltage by means of one threshold ...
Page 24
In Stop mode 1 the motor is put in shutdown state. The <UV2> flag is set. In case V > UV1, AMIS−30621 BB accepts updates of the target position by means of the reception of SetPosition, SetPositionShort and GotoSecurePosition commands, ...
Page 25
Irun[3:0] Current amplitude value to be fed to each coil of the stepper−motor. The table below provides the 16 possible values for <IRUN>. Index Irun Run Current (mA ...
Page 26
Vmax[3:0] Maximum velocity. Index Vmax Vmax(full step/ ...
Page 27
Table 19. RAM REGISTERS Length (bit) Register Mnemonic Actual position ActPos 16 Last programmed Pos/ 16/11 TagPos Position Acceleration AccShape 1 shape Coil peak current Irun 4 Coil hold current Ihold 4 Minimum Velocity Vmin 4 Maximum Velocity Vmax 4 ...
Page 28
Table 20. FLAGS TABLE Length (bit) Flag Mnemonic Charge pump CPFail 1 failure Electrical defect ElDef 1 External switch ESW 1 status Electrical flag HS 1 Motion status Motion 3 Over current in OVC1 1 coil X Over current in ...
Page 29
Priority Encoder The table below describes the simplified state management performed by the main control block. Table 21. PRIORITY ENCODER State " Stopped Command Motor Stopped, Motor Motion On- ↓ Ihold in Coils GetActualPos LIN in−frame response GetOTPparam OTP refresh; ...
Page 30
Leaving sleep state is equivalent to POR. 27. After POR, the shutdown state is entered. The shutdown state can only be left after GetFullStatus command (so that the master could read the <V Reset> flag). DD 28. A DualPosition ...
Page 31
Motordriver Current Waveforms in the Coils Figure 18 below illustrates the current fed to the motor coils by the motor driver in half−step mode Coil Y Figure 18. Current Waveforms in Motor Coils X and Y in Halfstep ...
Page 32
Motor Stopping Phase At the end of the deceleration phase, the currents are maintained in the coils at their actual DC level (hence keeping the sine/cosine ratio between coils) during the stabilization time t (see AC Table). The currents are ...
Page 33
Table 23. EXAMPLE OF POSSIBLE SEQUENCE USED TO DETECT AND DETERMINE CAUSE OF MOTOR SHUTDOWN T w Tsd UV2 or BB <ElDef> = ‘1’ or SetPosition <CPFail> = ‘1’ O − The circuit is driven in ...
Page 34
Slave Operational Range for Proper Self Synchronization The LIN interface will synchronize properly in the following conditions: • Vbat 7 • Ground shift between master node and slave node < ...
Page 35
Physical Address of the Circuit The circuit must be provided with a physical address in order to discriminate it from other ones on the LIN bus. This address is coded on 7 bits, yielding the theoretical possibility of 128 different ...
Page 36
Writing Frames The LIN master sends commands and/or information to the slave nodes by means of a writing frame. According to the LIN specification, identifiers are to be used to determine Identifier Byte ID0 ID1 ID2 ID3 ID4 ID5 ID6 ...
Page 37
Reading Frames A reading frame uses an in−frame response mechanism. That is: the master initiates the frame (synchronization field + identifier field), and one slave sends back the data field together with the check field. Hence, two types of identifiers ...
Page 38
Table 25. PREPARING FRAME #7 Bit 7 Byte Content 0 Identifier * 1 Data Data Checksum Where: (*) According to parity computation Type #8: eight data bytes preparing frame with 0x3C identifier. Table 26. ...
Page 39
Table 27. DYNAMIC IDENTIFIERS WRITING FRAME Bit 7 Byte Content 0 Identifier 1 AppCMD 2 CMD 1 3 Address Broad 4 Data 5 Data DynID_2[1:0] 6 Data 7 Data ROMp_4[1:0] 8 Data 9 Checksum Where: CMD[6:0]: 0x11, corresponding to dynamic ...
Page 40
Commands Table Table 28. LIN COMMANDS WITH CORRESPONDING ROM POINTER Command Mmnemonic GetActualPos GetFullStatus GetOTPparam GetStatus GotoSecurePosition HardStop ResetPosition ResetToDefault SetDualPosition SetMotorParam SetOTPparam SetPosition (16−bit) SetPositionShort (1 motor) SetPositionShort (2 motors) SetPositionShort (4 motors) Sleep SoftStop Dynamic ID assignment General ...
Page 41
LIN Lost Behavior Introduction When the LIN communication is broken for a duration of 25000 consecutive frames (= 1. 19200 kbit/s) AMIS−30621 sets an internal flag called “LIN lost”. Dependant on the contents of RAM register SecPos[10:0] a ...
Page 42
Introduction The LIN Master will have to use commands to manage the different application tasks the AMIS−30621 can feature. The commands summary is given in Table 29 below. Table 29. COMMANDS SUMMARY Command Mnemonic Code READING COMMAND 0x00 GetActualPos 0x01 ...
Page 43
Usually, the AMIS−30621 makes use of dynamic identifiers for general−purpose two, four or eight bytes writing frames. If dynamic identifiers are used for other purposes, this is acknowledged. Some frames implement a <Broad> bit that allows addressing a command to ...
Page 44
Table 32. GetActualPos READING FRAME TYPE #6 Bit 7 Byte Content 0 Identifier 0 1 Data 1 ESW 2 Data 2 3 Data 3 4 Data 4 V DDReset 5 Data 5 6 Data 6 7 Data 7 8 Data ...
Page 45
GetFullStatus This command is provided to the circuit by the LIN master to get a complete status of the circuit and the stepper−motor. Refer to RAM Registers and Flags Table to see the meaning of the parameters sent to the ...
Page 46
The master sends a type #8 preparing frame. After the type#8 preparing frame, the master sends a reading frame type#6 to retrieve the circuit’s in−frame response. Table 38. GetFullStatus PREPARING FRAME TYPE#8 Bit 7 Byte Content 0 Identifier 0 ...
Page 47
GetOTPparam This command is provided to the circuit by the LIN master after a preparing frame (see Preparing frames), to read the GetOTPparam corresponds to a LIN in−frame response with 0x3D indirect ID. 1. The master sends a type #7 ...
Page 48
Table 43. GetOTPparam PREPARING FRAME TYPE #8 Bit 7 Byte Content 0 Identifier 0 1 Data 1 2 Data Data Data 4 5 Data 5 6 Data 6 7 Data 7 8 Data 8 ...
Page 49
GetStatus corresponds data bytes LIN in−frame response with a direct ID (type #5). Table 45. GetStatus READING FRAME TYPE #5 Bit 7 Byte Content 0 Identifier * 1 Data 1 ESW 2 Data 2 V DDReset 3 ...
Page 50
A hardstop command can also be issued by the LIN master for some safety reasons. It corresponds then to the following two data bytes LIN writing frame (type #1). Table 47. HardStop WRITING FRAME TYPE #1 Bit 7 Byte Content ...
Page 51
ResetToDefault will correspond to the following LIN writing frames (type #1). Table 49. ResetToDefault WRITING FRAME TYPE #1 Bit 7 Byte Content 0 Identifier * 1 Data Data 2 Broad 3 Checksum Where: (*) According to parity ...
Page 52
SetMotorParam This command is provided to the circuit by the LIN master to set the values for the stepper motor parameters (listed below) in RAM. Refer to RAM Registers to see the meaning of the parameters sent by the LIN ...
Page 53
SetPosition This command is provided to the circuit by the LIN master to drive one or two motors to a given absolute position. See Positioning for more details. SetPosition corresponds to the following LIN write frames. 1. Two (2) Data ...
Page 54
Table 55. SetPosition WRITING FRAME TYPE #4 Bit 7 Byte Content 0 Identifier 0 1 Data 1 2 Data Data Data 4 5 Data 5 6 Data Data 7 8 Data ...
Page 55
Four (4) data bytes frame for two (2) motors, with specific identifier (type # 2) Table 57. SetPositionShort WRITING FRAME TYPE #2 Byte Content Bit 7 0 Identifier * 1 Data 1 2 Data 2 3 Data 3 4 ...
Page 56
Table 59. Sleep WRITING FRAME Bit 7 Byte Content 0 Identifier 0 1 Data 1 2 Data 2 3 Checksum SoftStop If a SoftStop command occurs during a motion of the stepper motor, it provokes an immediate deceleration to Vmin ...
Page 57
PACKAGE DIMENSIONS SOIC 20 W CASE 751AQ−01 ISSUE O http://onsemi.com 57 ...
Page 58
PACKAGE DIMENSIONS NQFP−32, 7x7 CASE 560AA−01 ISSUE O http://onsemi.com 58 ...
Page 59
... Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. PUBLICATION ORDERING INFORMATION LITERATURE FULFILLMENT: Literature Distribution Center for ON Semiconductor P.O. Box 5163, Denver, Colorado 80217 USA Phone: 303−675−2175 or 800−344−3860 Toll Free USA/Canada Fax: 303− ...