| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Micro-Stepping Motor Driver AMIS-30623 single-chip micro-stepping
Top Searches for this datasheetAMIS-30623 Micro-Stepping Motor Driver AMIS-30623 single-chip micro-stepping motor driver with position controller control/diagnostic interface. ready build dedicated mechatronics solutions connected remotely with master. chip receives positioning instructions through subsequently drives motor coils desired position. on-chip position controller configurable (OTP RAM) different motor types, positioning ranges parameters speed, acceleration deceleration. advanced motion qualification mode enables verification complete mechanical system function selected motion parameters. AMIS-30623 acts slave master fetch specific status information like actual position, error flags, etc. from each individual slave node. integrated sensorless step-loss detection prevents positioner from loosing steps stops motor when running into stall. This enables silent, accurate position calibrations during referencing allows semi-closed loop operation when approaching mechanical end-stops. chip implemented I2T100 technology, enabling both high voltage analog circuitry digital functionality same chip. AMIS-30623 fully compatible with automotive voltage requirements. Product Features Motor Driver Micro-stepping technology Sensorless step-loss detection Peak current 800mA Fixed frequency current-control Automatic selection fast slow decay mode external fly-back diodes required 14V/24V compliant Motion qualification mode Controller with Memory Position controller Configurable speeds, acceleration Input connect optional motion switch Interface Both physical data-link layers (conform rev. 1.3) Field-programmable node addresses Dynamically allocated identifiers Full diagnostics status information Protection Over-current protection Under-voltage management Open circuit detection High-temp warning management Low-temp flag short-circuit protection supply ground Lost safe operation ©2008 SCILLC. rights reserved. June 2008 Rev. Publication Order Number: AMIS30623/D AMIS-30623 Power Saving Power-down supply current 100µA regulator with wake-up activity Compatibility integrated slope control outputs with slope control Applications AMIS-30623 ideally suited small positioning applications. Target markets include: automotive (headlamp alignment, HVAC, idle control, cruise control), industrial equipment (lighting, fluid control, labeling, process control, tables, robots) building automation (HVAC, surveillance, satellite dish, renewable energy systems). Suitable applications typically have multiple axes require mechatronic solutions with driver chip mounted directly motor. Ordering Information Table Ordering information Part Number AMIS30623C6239G AMIS30623C6239RG AMIS30623C623AG AMIS30623C623ARG Package SOIC-20 SOIC-20 NQFP-32 NQFP-32 Shipping Configuration Tube/Tray Tape Reel Tube/Tray Tape Reel Peak Current Temperature Range -40°C.125°C -40°C.125°C -40°C.125°C -40°C.125°C Stop Voltage Threshold Typ. 8.5V Typ. 7.5V Typ. 8.5V Typ. 7.5V Quick Reference Data Table Absolute Maximum Ratings Parameter Vlin Tamb Vesd Min. -0.3 Max. Unit Supply voltage input voltage Ambient temperature under bias Storage temperature Electrostatic discharge voltage Electrostatic discharge voltage other pins +150 +160 Notes: limited time <0.5s circuit functionality guaranteed. Human body model (100 according std. 883E, method 3015.7) Table Operating Ranges Parameter Supply voltage Operating temperature range Min. Max. +125 Unit Rev. Page www.onsemi.com AMIS-30623 Block Diagram AMIS-30623 Interface Position Controller HW[2:0] Controller regulator I-sense MOTXP MOTXN Decoder Main Control Registers Sinewave Table DAC's Motion detection Vref Temp sense Oscillator regulator Charge Pump I-sense MOTYP MOTYN Voltage Regulator Figure Block Diagram Rev. Page www.onsemi.com AMIS-30623 MOTXP MOTXN MOTYP MOTYN Table Description Name Description MOTYN MOTYP MOTXN MOTXP LIN-ADD LIN-ADD Internal supply (needs external decoupling capacitor) Ground, heat sink Test tied ground normal operation) LIN-bus connection LIN-ADD Negative connection pump capacitor (charge pump) Positive connection pump-capacitor (charge pump) Charge-pump filter-capacitor Battery voltage supply Negative phase coil Positive phase coil Negative phase coil Positive phase coil Switch input connected tied ground) tied AMIS-30623 AMIS-30623 PC20051118.1 view NQ32 Figure SOIC NQFP-32 pin-out PC20051123.1 SOIC-20 4,7,14,17 12,19 NQFP-32 Rev. Page www.onsemi.com AMIS-30623 Package Thermal Resistance SOIC-20 lower junction-to-ambient thermal resistance, recommended connect ground leads ground plane layout illustrated Figure junction-to-case thermal resistance depending copper area, copper thickness, thickness number copper layers. Calculating with total area mm2, 35µm copper thickness, 1.6mm thickness 1layer, thermal resistance 28°C/W, leading junction-ambient thermal resistance 63°C/W, Figure Ground Plane Layout Condition SOIC-20 PC20041128.1 NQFP-32 NQFP designed provide superior thermal performance. Using exposed bottom surface package, partly contributing this. order take full advantage this, must have features conduct heat away from package. thermal grounded with thermal vias achieve this. With layout shown Figure thermal resistance junction ambient brought down level 25°C/W. NQFP-32 PC20041128.2 Figure Ground Plane Layout Condition Rev. Page www.onsemi.com AMIS-30623 Parameters parameters given temperature their operating ranges. Convention: currents flowing circuit defined positive. Table Parameters Symbol Pin(s) Parameter Motor Driver IMSmax,Peak IMSmax,RMS IMSabs IMSrel MOTXP MOTXN MOTYP MOTYN current through motor coil normal operation current through coil normal operation Absolute error coil current Error current ratio Icoilx Icoily 12V, resistance each motor (including bond wire) IMSmax 12V, IMSL Transmitter Ibus_on Ibus_off Ibus_off Ibus_lim Rslave Receiver Vbus_dom Vbus_rec Vbus_hys Test Conditions Min. Typ. Max. Unit 0.50 0.55 0.70 0.85 RDSon Pull down current Dominant state, driver Dominant state, driver Recessive state, driver Current limitation Pull-up resistance Receiver dominant state Receiver recessive state Receiver hysteresis Thermal warning Thermal shutdown temperature warning Nominal operating supply range Supply voltage zapping Total current consumption Sleep mode current consumption Internal regulated output mode Vbus 1.4V Vbus Vbus Vbat 0.05 *Vbb 10.0 3.50 4.75 10.0 5.50 Thermal Warning Shutdown Tlow Supply Voltage Regulator VbbOTP Ibat Ibat_s IddStop VddReset IddLim Rt_OFF Rt_ON Vbb_sw Vmax_sw Unloaded outputs Digital current consumption Digital supply reset level power down Current limitation Switch resistance shorted ground Switch Input Hardwire Address Input Switch resistance range guaranteed operation Maximum voltage Current limitation Switch Vbat, Short Vbat Switch Input Hardwire Address Input Ilim_sw Rev. Page www.onsemi.com AMIS-30623 Symbol Vlow Vhigh HWhyst Pin(s) Parameter Test Conditions Min. 0.075 Vbb+10 TestBemf command Service mode command Service mode command 4,85 0,50 Vbb+12.5 Vbb+15 Typ. Max. Unit Hardwired Address Inputs Test Input level high Input level Hysteresis Charge Pump Cbuffer Cpump Output voltage External buffer capacitor External pump capacitor Motion Qualification Mode Output VOUT Output voltage swing ROUT Output impedance Gain VSWI VBEMF Notes: more than cumulated hours life time above Ttsd. Thermal shutdown temperature warning derived from thermal warning. buffer capacitor between minimum needed. Short connections power supply recommended. must used external supply content will altered above this voltage. External resistance value seen from HW2, including series resistor. Table Limits Different Version Symbol Pin(s) Parameter Supply Thresholds AMIS-30623A Stop voltage high threshold Stop voltage threshold Stop voltage high threshold Stop voltage threshold Test Conditions Min. Typ. Max. Unit Supply Thresholds AMIS-30623B Rev. Page www.onsemi.com AMIS-30623 10.0 Parameters parameters given temperature their operating ranges. transmitter/receiver parameters conform Protocol Specification Revision 1.3. Unless otherwise specified 18V, Load propagation delay Load slope definitions [L1] [L2] 6.8nF [L3] 10nF 510. Table Parameters Symbol Pin(s) Power-up Internal Oscillator fosc Transmitter T_slope_F/R T_slope_Sym T_tr_F T_tr_R Tsym_tr Receiver T_rec_F T_rec_R Tsym_rec Twake Tsw_on Motor Driver Fpwm Fjit_depth Tbrise Tbfall Tstab Charge Pump Charge pump frequency Parameter Power-up time Frequency internal oscillator Test Conditions Guaranteed design Min. Typ. Max. Unit Extrapolated between Vbus_dom T_slope_F T_slope_R Slope time falling rising edge Slope time symmetry 22.5 Propagation delay Propagation delay high Transmitter delay symmetry T_tr_F T_tr_R Propagation delay dominant Propagation delay recessive high Receiver delay symmetry T_rec_F T_rec_R Wake-up delay time Scan pulse period µsµs 1024 Switch Input Hardwire Address Input Scan pulse duration PWMfreq PWMfreq PWMJen Between 20.6 41,2 frequency MOTxx 22.8 45,6 25.0 50,0 jitter modulation depth Turn-on transient time Turn-off transient time current stabilization time Notes: loads [L1] [L2] Derived from internal oscillator SetMotorParam regulator Rev. Page www.onsemi.com AMIS-30623 T_tr_F T_rec_F T_rec_R PC20051123.2 T_tr_R Figure Delay Measurement VBUSrec VBUSdom T_slope_F T_slope_R PC20051123.3 Figure Slope Measurement Rev. Page www.onsemi.com AMIS-30623 11.0 Typical Application VBAT Connect VBAT MOTXP MOTXN MOTYP MOTYN Connect VBAT AMIS-30623 Figure Typical Application Diagram PC20051118.1 Notes: resistors minimum value 2.7nF, maximum value 10nF Depending application, value working voltage must carefully chosen must close pins must close possible pins CPN, CPP, VCP, reduce radiation must ceramic capacitor assure 12.0 Positioning Parameters 12.1 Stepping Modes four possible stepping modes programmed: Half-stepping micro-stepping micro-stepping 1/16 micro-stepping Rev. Page www.onsemi.com AMIS-30623 12.2 Maximum Velocity each stepping mode, maximum velocity Vmax programmed possible values given Table accuracy Vmax derived from internal oscillator. Under special circumstances possible change Vmax parameter while motion ongoing. entries Vmax parameter divided into four groups. When changing Vmax during motion application must take care that Vmax parameter stays within same group. Table Maximum Velocity Selection Table Vmax Index Vmax Group (ull step/s) Stepping Mode Micro-stepping Micro-stepping (micro-step/s) (micro-step/s) Half-stepping (half-step/s) 1/16 Micro-stepping (micro-step/s) 1091 1457 1945 1091 1213 1335 1457 1579 1823 2182 2914 3891 1091 1335 1579 1701 1823 1945 2182 2426 2670 2914 3159 3647 4364 5829 7782 1579 2182 2670 3159 3403 3647 3891 4364 4852 5341 5829 6317 7294 8728 11658 15564 12.3 Minimum Velocity Once maximum velocity chosen, possible values programmed minimum velocity Vmin. Table provides obtainable values full-step/s. accuracy Vmin derived from internal oscillator. Table Obtainable Values Full-step/s Minimum Velocity Vmin Index Vmax Factor Vmax (Full-step/s) 1/32 2/32 3/32 4/32 5/32 6/32 7/32 8/32 9/32 10/32 11/32 12/32 13/32 14/32 15/32 Notes: Vmax factor approximation. case motion without acceleration (AccShape length steps 1/Vmin. case accelerated motion (AccShape length first step shorter than 1/Vmin depending Vmin, Vmax Acc. Rev. Page www.onsemi.com AMIS-30623 12.4 Acceleration Deceleration Sixteen possible values programmed (acceleration deceleration between Vmin Vmax). Table provides obtainable values observes restrictions some combination acceleration index maximum speed (gray cells). accuracy derived from internal oscillator. Table Acceleration Deceleration Selection Table Vmax (FS/s) Index 14785 Acceleration 1004 3609 6228 8848 11409 13970 16531 19092 21886 24447 27008 29570 34925 40047 29570 formula compute number equivalent full-step during acceleration phase Nstep Vmax Vmin 12.5 Positioning position programmed commands SetPosition SetPositionShort given number (micro)steps. According chosen stepping mode, position words must aligned described Table When using command SetPositionShort GotoSecurePosition, data automatically aligned. Table Position Word Alignment Stepping Mode 1/16 Half-stepping PositionShort SecurePosition Notes: LSB: Least Significant Sign Position Word: Pos[15:0] Shift shift 1-bit left 2-bit left 3-bit left shift shift Rev. Page www.onsemi.com AMIS-30623 12.5.1. Position Ranges position coded using binary two's complement format. According positioning commands used chosen stepping mode, position range will shown Table Table Position Range Command SetPosition SetPositionShort Stepping Mode Half-stepping micro-stepping micro-stepping 1/16 micro-stepping Half-stepping Position Range -4096 +4095 -8192 +8191 -16384 +16383 -32768 +32767 -1024 +1023 Full Range Excursion 8192 half-steps 16384 micro-steps 32768 micro-steps 65536 micro-steps 2048 half-steps Number Bits When using command SetPosition, although coded bits, position word will have shifted left certain number bits, according stepping mode. 12.5.2. Secure Position secure position programmed. coded 11-bits, thus having lower resolution than normal positions, shown Table also command GotoSecurePosition lost behavior. Table Secure Position Stepping Mode Half-stepping micro-stepping micro-stepping 1/16 micro-stepping Secure Position Resolution half-steps micro-steps (1/4 micro-steps (1/8 micro-steps (1/16 Important Note secure position disabled case programmed value reserved code "10000000000" (0x400 most negative position). resolution secure position limited start-up. register copied illustrated below. SecPos1 SecPos0 SecPos10 SecPos9 SecPos8 SecPos2 SecPos1 SecPos0 SecPos10 SecPos9 SecPos8 SecPos2 FailSafe SleepEn 12.5.3. Shaft shaft which programmed with command SetMotorParam, defines whether positive motion clockwise counter-clockwise rotation outer inner motion linear actuators): Shaft MOTXP used positive coil, while MOTXN negative one. Shaft opposite situation Rev. Page www.onsemi.com AMIS-30623 13.0 Structural Description Figure 13.1 Stepper Motor Driver motor driver receives control signals from control logic. main features are: H-bridges designed drive stepper motor with separated coils. Each coil driven H-bridge, driver controls currents flowing through coils. rotational position rotor, unloaded condition, defined ratio current flowing torque stepper motor when unloaded controlled magnitude currents control block H-bridges including control, synchronous rectification, internal current sensing circuitry. charge pump allow driving H-bridges' high side transistors. pre-scale 4-bit DAC's maximum magnitude current through DAC's correct current ratio through Battery voltage monitoring also performed this block, which provides needed information control logic part. same applies detection reporting electrical problem that could occur coils charge pump. 13.2 Control Logic (Position Controller Main control) control logic block stores information provided interface memory) digitally controls positioning stepper motor terms speed acceleration, feeding right signals motor driver state machine. will take into account successive positioning commands properly initiate stop stepper motor order reach point minimum time. also receives feedback from motor driver part order manage possible problems decide internal actions reporting interface. 13.3 Motion Detection Motion detection based back generated internally running motor. When motor blocked e.g. when hits end-position, velocity result also generated back emf, disturbed. AMIS-30623 senses back emf, calculates moving average compares value with independent threshold levels. back disturbance bigger than threshold, running motor stopped. 13.4 Interface interface implements physical layer layers according reference model. provides gets information from control logic block, order drive stepper motor, configure this motor must driven, information such actual position diagnosis (temperature, battery voltage, electrical status.) pass master node. 13.5 Miscellaneous AMIS-30623 also contains following: internal oscillator, needed protocol handler well control logic control motor driver. internal trimmed voltage source precise referencing. protection block featuring thermal shutdown power-on-reset circuit. regulator (from battery supply) supply internal logic circuitry. Rev. Page www.onsemi.com AMIS-30623 14.0 Functions Description This chapter describes following functional blocks more detail: Position controller Main control register, memory Motor driver Motion detection controller discussed separate chapters. 14.1 Position Controller 14.1.1. Positioning Motion Control positioning command will produce motion illustrated Figure motion starts with acceleration phase from minimum velocity (Vmin) maximum velocity (Vmax), ends with symmetrical deceleration. This defined control logic according position required application parameters programmed application during configuration phase. current coils also programmable. Acceleration range Velocity Deceleration range Zero speed Hold current Vmax Zero speed Hold current Vmin Position Pstart Pmin Optional zero switch Pstop Pmax Figure Positioning Motion Control Table Position Related Parameters Parameter Pmax Pmin Zero speed Hold Current Maximum current Acceleration deceleration Vmin Vmax Reference Positioning Ihold Irun Acceleration Deceleration Minimum Velocity Maximum Velocity Rev. Page www.onsemi.com AMIS-30623 Different positioning examples shown table below. Table Positioning Examples Positioning Examples Velocity Short motion time Velocity positioning command same direction, shorter longer, while motion running maximum velocity time Velocity positioning command same direction while deceleration phase Note: there wait time between deceleration phase acceleration phase. Velocity time positioning command reverse direction while motion running maximum velocity time Velocity positioning command reverse direction while deceleration phase time Velocity velocity programming while motion running time Rev. Page www.onsemi.com AMIS-30623 14.1.2. Dual Positioning SetDualPosition command allows user perform positioning using different velocities. first motion done with specified Vmin Vmax velocities SetDualPosition command, with acceleration (deceleration) parameter already RAM, position Pos1[15:0] also specified SetDualPosition. Then second relative motion position Pos1[15:0] Pos2[15:0] done specified Vmin velocity SetDualPosition command acceleration). Once second motion achieved, ActPos register reset zero, whereas TagPos register changed. Velocity otion 26.6 otion Reset ActPos 26.6 Figure Dual Positioning Remark: This operation cannot interrupted influenced further command unless occurrence conditions driving motor shutdown HardStop command. Sending SetDualPosition command while motion already ongoing recommended. Notes priority encoder describing management states commands. notes below considered illustrative. last SetPosition(Short) command issued during DualPosition sequence will kept memory executed afterwards. This applies also commands Sleep SetMotorParam GotoSecurePosition. Commands such GetActualPos GetStatus will executed while Dual Positioning running. This applies also dynamic assignment frame DualPosition sequence starts setting TagPos register SecPos value, provided secure position enabled otherwise TagPos reset zero. acceleration/deceleration value applied during DualPosition sequence stored before SetDualPosition command sent. same applies Shaft bit, Irun, Ihold StepMode, which changed during Dual Positioning sequence. Pos1, Pos2, Vmax Vmin values programmed SetDualPosition command apply only this sequence. further positioning will parameters stored (programmed instance former SetMotorParam command). Commands ResetPosition, SetDualPosition, SoftStop will ignored while DualPosition sequence ongoing, will executed afterwards. SetMotorParam command should sent during SetDualPosition sequence. some reason ActPos equals Pos1[15:0] moment SetDualPosition command issued, circuit will enter deadlock state. Therefore, application should check actual position GetPosition GetFullStatus command prior send SetDualPosition command. 14.1.3. Position Periodicity Depending stepping mode position range from -4096 +4095 half-step -32768 +32767 1/16th micro-stepping mode. project these positions lying circle. When executing command SetPosition, position controller will movement direction such that traveled distance minimum. figure below illustrates that moving direction going from ActPos +30000 TagPos -30000 clockwise. counter clockwise motion required this example, several consecutive SetPosition commands used. could also larger movements command <RunVelocity>. Rev. Page www.onsemi.com AMIS-30623 +10000 +20000 ActPos +30000 Motion direction TagPos -30000 -10000 -20000 Figure Motion Direction Function Difference between ActPos TagPos 14.1.4. Hardwired Address Figure simplified schematic diagram shown comparator circuit. sensed switches. DriveHS DriveLS control lines alternatively closing bottom switch connecting with current resistor converter. Closing STOP (DriveHS will sense current GND. that case convertor output low, closed passing switch SPASS_T this signal comparator which output HW2_Cmp high. Closing bottom switch SBOT (DriveLS will sense current VBAT. corresponding converter output SPASS_B comparator. output HW2_Cmp will high. SPASS_T State STOP SBOT DriveHS LOGIC DriveLS "R"-Comp Debouncer High Float R2GND R2VBAT OPEN SPASS_B COMP Debouncer HW2_Cmp Figure Simplified Schematic Diagram Comparator Three cases distinguished (see also Figure 11): connected ground: R2GND drawing connected VBAT: R2VBAT drawing floating: OPEN drawing Rev. Page www.onsemi.com AMIS-30623 Table State Diagram Comparator Previous State DriveLS DriveHS Float Float Float Float High High High High HW2_Cmp State Float High Float High Float Float High High Condition R2GND OPEN R2VBAT R2VBAT OPEN R2GND R2GND OPEN R2VBAT R2VBAT OPEN R2GND R2GND OPEN R2VBAT R2VBAT OPEN R2GND Drawing logic controlling correct sequence closing switches interpreting debounced HW2_Cmp output accordingly. output this small state-machine corresponding High address address Floating illustrated Table state depending previous state, condition switch controls (DriveLS DriveHS) output HW2_Cmp. Figure showing example practical case where connection VBAT interrupted. Condition R2VBAT DriveHS 1024 OPEN R2VBAT R2GND DriveLS Tsw_on "R"-Comp HW2_Cmp State Float Float Float Float High High High High High High High High Figure Timing Diagram Showing Change States Comparator R2VBAT resistor connected between VBAT HW2. Every 1024 SBOT closed current sensed, output converter HW2_Cmp output high. Assuming previous state floating, internal LOGIC will interpret this change Rev. Page www.onsemi.com AMIS-30623 state state will High. (see Table 16). next time SBOT closed same conditions observed. previous state High, based Table state remains unchanged. This high state will interpreted address OPEN case connection lost (broken wire, contact connector) next time SBOT closed this will sensed. There will current, output corresponding converter High HW2_Cmp will low. previous state High. Based Table that state changes float. This will trigger motion secure position after debounce time This prevents false triggering case false micro interruptions power supply. also Electrical transient conduction along supply lines. R2GND resistor connected between GND, current sensed every 1024 whet STOP closed. output converter result HW2_Cmp output switches High. Again based stated diagram Table that state will change Low. This state will interpreted address Rev. Page www.onsemi.com AMIS-30623 14.1.5. External Switch illustrated Figure comparator almost identical HW2. major difference limited number states. Only open closed recognised leading respectively SPASS_T State STOP SBOT DriveHS LOGIC DriveLS "R"-Comp Closed Open R2GND R2VBAT OPEN SPASS_B COMP Debouncer SWI_Cmp Figure Simplified Schematic Diagram Comparator illustrated Figure change state always synchronised with DriveHS DriveLS. same synchronisation valid updating internal position register. This means that after every current pulse closing STOP SBOT) state position switch together with corresponding position memorised. Using GetActualPos commands reads back ActPos register status ESW. this master node synchronous information about state switch together with position motor. Figure below: Byte Content Identifier Data Data Data Data VddReset Reading Frame Structure AD[6:0] ActPos[15:8] ActPos[7:0] StepLoss ElDef Tinfo[1:0] Figure GetActualPos commando Important remark. Every 512s this information refreshed. Rev. Page www.onsemi.com AMIS-30623 DriveHS =1024 DriveLS Tsw_on "R"-Comp SWI_Cmp ActPos ActPos ActPos ActPos ActPos Figure Timing Diagram Showing Change States comparator 14.2 Main Control Register, Memory 14.2.1. Power-up Phase Power phase AMIS-30623 will exceed 10ms. After this phase, AMIS-30623 shutdown mode, ready receive messages execute associated commands. After power-up, registers flags reset state, some them being loaded with memory content (see Table 19). 14.2.2. Reset State After power-up, after reset occurrence (e.g. micro made below VddReset level), H-bridges will high impedance mode, registers flags will predetermined position. This documented Table Table 14.2.3. Soft Stop soft stop immediate interruption motion, with deceleration phase. this action, register TagPos loaded with value contained register ActPos avoid attempt circuit achieve motion (see Table 19). circuit then ready execute positioning command, provided thermal electrical conditions allow Rev. Page www.onsemi.com AMIS-30623 14.2.4. Sleep Mode When entering sleep mode, stepper-motor driven secure position. After which, circuit completely powered down, apart from receiver, which remains active detect dominant state bus. case sleep mode entered while motion ongoing, transition will occur towards secure position described Positioning Motion Control provided SecPos enabled. Otherwise, SoftStop performed. Sleep mode entered following cases: circuit receives frame with identifier 0x3C first data byte containing 0x00, required specification 1.3. Sleep case SleepEn remains inactive lost) during more than 25000 time slots (1.30s 19.2kbit/s), time-out signal switches circuit sleep mode. also circuit will return normal mode valid frame received while entering sleep mode (this valid frame addressed another slave). 14.2.5. Thermal Shutdown Mode When thermal shutdown occurs, circuit performs SoftStop command goes Motor shutdown mode (see below). 14.2.6. Temperature Management AMIS-30623 monitors temperature means thresholds shutdown level, illustrated state diagram below. only condition reset flags <TW> <TSD> (respectively thermal warning thermal shutdown) temperature lower than occurrence GetStatus GetFullStatus frame. Normal Temp. <Tinfo> "00" <TW> <TSD> Thermal warning <Tinfo> "10" <TW> <TSD> Ttsd Thermal shutdown <Tinfo> "11" <TW> <TSD> SoftStop motion ongoing Motor shutdown (motion disabled) frame: GetStatus GetFullStatus Post thermal warning <Tinfo> "00" <TW> <TSD> Ttsd Ttsd Tlow Post thermal shutdown Tlow Post thermal shutdown <Tinfo> "00" <TW> <TSD> Motor shutdown (motion disabled) Temp. <Tinfo> "01" <TW> <TSD> <Tinfo> "10" <TW> <TSD> Motor shutdown (motion disabled) Figure State Diagram Temperature Management Rev. Page www.onsemi.com AMIS-30623 14.2.7. Autarkic Functionality Under-voltage Condition 14.2.7.1. Battery Voltage Management AMIS-30623 monitors battery voltage means threshold shutdown level, illustrated state diagram below. only condition reset flags <UV2> <StepLoss> recover battery voltage higher than receive GetStatus GetFullStatus command. Normal voltage StepLoss motion) motion ongoin frame: GetStatus GetFullStatus Stop mode Stop mode StepLoss Motor shutdown (motion disabled) StepLoss HardStop Motor shutdown (motion disabled) Figure State Diagram Battery Voltage Management 14.2.7.2. Autarkic Function Stop mode motor shutdown state. <UV2> flag set. case AMIS-30623 accepts updates target position means reception SetPosition, SetPositionShort, SetPosParam GotoSecurePosition commands, even <UV2> flag prior cleared. Stop mode motor stopped immediately shutdown state. <UV2> <Steploss> flags set. case AMIS-30623 autonomously resumes motion original target position using stored motor parameters (minimum maximum velocity, acceleration, step-mode, run- hold current) case reset occurred. flags only cleared after receiving GetStatus GetFullStatus command. Updates target position means reception SetPosition, SetPositionShort, SetPosParam GotoSecurePosition commands accepted, even <UV2> <Steploss> flags prior cleared. Important notes: case Stop mode care needs taken because accumulated steploss cause significant deviation between physical stored actual position. SetDualPosition command will only executed after clearing <UV2> <Steploss> flags. reset occurs when VddReset (digital Power Reset level) Autarkic function remains active long VddReset 14.2.7.3. Logical Implementation Autarkic Function logic uses <UV2>, <CPFail> <Steploss> signal state. state clock after signal would therefore slow down reaction time. Also state only cleared after GetStatus GetFullStatus command which prevents autonomous function. Only <UV2> <CPFail> applicable finishing motion original target position: <UV2> needs cleared leave Shutdown State <CPFail> needs cleared avoid HardStop after entering GotoPos state <StepLoss> signal used block successive motions. Also this signal will cleared after UV1, making updates TagPos possible. Rev. Page www.onsemi.com AMIS-30623 implementation illustrated state diagram below. (UV2SIG, OVC1, OVC2, CPFail, UV2SIG THEN TagPos ActPos ELSE copy TagPos ActPos GotoPos HardStop Stopped ShutDown Positioner GetStatus GetFullStatus disabled Motor TagPos ActPos Figure State Diagram Autarkic Under-voltage Handling Stop mode AMIS-30623 Stopped state. Because enters ShutDown state. Once Stopped state will entered again. Stop mode AMIS-30623 GotoPos state. Because UV2SIG HardStop state entered. After hardstop motion finished Positioner) enters Stopped state. UV2SIG TagPos copied Actpos, shutdown stated entered. Once Stopped state will entered again because TagPos Actpos C623 moves GotoPos again. <UV2SIG>, <CPFail> <Steploss> cleared when HardStop entered again. 14.2.8. register 14.2.8.1. Memory Structure table below shows parameters stored memory located. Table Memory Structure Address 0x00 OSC3 0x01 EnableLIN 0x02 AbsThr3 0x03 Irun3 0x04 Vmax3 0x05 SecPos10 0x06 SecPos7 0x07 DelThr3 OSC2 TSD2 AbsThr2 Irun2 Vmax2 SecPos9 SecPos6 DelThr2 OSC1 TSD1 AbsThr1 Irun1 Vmax1 SecPos8 SecPos5 DelThr1 OSC0 TSD0 AbsThr0 Irun0 Vmax0 Shaft SecPos4 DelThr0 IREF3 Ihold3 Vmin3 Acc3 SecPos3 StepMode1 IREF2 Ihold2 Vmin2 Acc2 SecPos2 StepMode0 IREF1 Ihold1 Vmin1 Acc1 Failsafe LOCKBT IREF0 Ihold0 Vmin0 Acc0 SleepEn LOCKBG Parameters stored address 0x00 0x01 LOCKBT already programmed memory circuit delivery. They correspond calibration circuit just documented here indication. Each when zapped. Zapping will `1'. Thus only bits having must zapped. Zapping already disabled. Each byte will programmed separately (see command SetOTPparam). Once programming completed, LOCKBG zapped, disable future zapping, otherwise could still zapped using SetOTPparam command. Rev. Page www.onsemi.com AMIS-30623 Table Overwrite Protection LOCKBT LOCKBG Lock (factory zapped before delivery) Protected Bytes 0x00 0x01 0x00 0x07 command used load application parameters prior Memory programming SetMotorParam. This allows functional verification before using SetOTPparam command program separately memory byte. GetOTPparam command issued after each SetOTPparam command allows verify correct byte zapping. Note: zapped bits will really "active" after GetOTPparam ResetToDefault command after power-up. 14.2.8.2. Application Parameters Stored Memory Except physical address PA[3:0] these parameters, although programmed non-volatile memory still overridden writing operation. PA[3:0] combination with HW[2:0] forms physical address AD[6:0]of stepper-motor. Stepper-motors theoretically connected same Absolute Relative threshold used motion detection Index AbsThr AbsThr Level Disable AbsThr[3:0] DelThr[3:0] Absolute Relative threshold used motion detection Index DelThr DelThr Level Disable 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 3.00 3.25 3.50 3.75 Rev. Page www.onsemi.com AMIS-30623 Irun[3:0] Current amplitude value each coil stepper-motor. table below provides possible values IRUN. Index Irun Current (mA) Ihold[3:0] Hold current each coil stepper motor. table below provides possible values IHOLD. Index Ihold Hold Current (mA) StepMode Indicator stepping mode used. Step Mode Step Mode stepping stepping stepping 1/16 stepping Shaft Indicator Reference Position. Shaft `0', reference position maximum inner position, whereas Shaft `1', reference position maximum outer position. SecPos[10:0]Secure Position stepper-motor. This position which motor driven case communication loss when error counter overflows. SecPos[10:0] "100 0000 0000", this means that Secure Position disabled, e.g. stepper-motor will kept position occupied moment these events occur. Secure Position coded bits only, providing actually most significant bits position, coded least significant bits being `0'. Rev. Page www.onsemi.com AMIS-30623 Vmax[3:0] Maximum velocity Index Vmax Vmax (full step/s) Group Vmin[3:0] Minimum velocity Index Vmin Vmax Factor 1/32 2/32 3/32 4/32 5/32 6/32 7/32 8/32 9/32 10/32 11/32 12/32 13/32 14/32 15/32 Acc[3:0] Acceleration deceleration between Vmax Vmin. Index Acceleration 1004 3609 6228 8848 11409 13970 16531 19092 21886 24447 27008 29570 34925 40047 restriction speed SleepEn SleepEn=1 AMIS-30623 always low-power sleep mode incase timeout. SleepEn=0 there more automatic transition low-current sleep mode (i.e. stay stop mode with applied hold current, unless there failures). FailSafe FailSafe=1 case lost start motion safe position FailSafe motion case lost Rev. Page www.onsemi.com AMIS-30623 14.2.9. Registers Table Registers Register Mnemonic ActPos Length (bit) Related Commands GetActualPos GetFullStatus GotoSecurePos ResetPosition GetFullStatus GotoSecurePos ResetPosition SetPosition SetPositionShort GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetMotorParam GetFullStatus SetStallParam GetFullStatus SetStallParam GetFullStatus SetStallParam SetOTPParam SetOTPParam Comment Reset State Actual position 16-bit signed 16-bit signed 11-bit signed half stepping (see Positioning) normal acceleration from Vmin Vmax motion Vmin without acceleration Operating current look-up table Irun Standstill current look-up table Ihold Section 13.3 Minimum Velocity look-up table Vmin Section 13.2 Maximum Velocity look-up table Vmax Direction movement positive velocity Section 13.4 Acceleration look-up table Target position when connection fails; MSBs 16-bit position (LSBs fixed `0') Section 13.1 Stepping Modes look-up table StepMode Note Last programmed position Acceleration shape Coil peak current Coil hold current Minimum Velocity Maximum Velocity Shaft Acceleration/ deceleration Secure Position Stepping mode Stall detection absolute threshold Stall detection delta threshold Sleep Enable Fail Safe Stall detection delay Stall detection sampling Jitter 100% duty cycle Stall Disable frequency Pos/ TagPos 16/11 AccShape Irun Ihold Vmin Vmax Shaft SecPos StepMode AbsThr DelThr SleepEn FailSafe FS2StallEn MinSamples PWMJEn DC100SDis PWMFreq From memory Enables entering sleep mode after lost also 16.8 lost behavior Triggers autonomous motion after lost also 16.8 lost behavior Delays stall detection after acceleration `000' `000' means jitter added means stall detection disabled case regulator runs 100% GetFullStatus SetStallParam GetFullStatus SetStallParam GetFullStatus SetStallParam GetFullStatus SetStallParam GetFullStatus SetMotorParam Note ResetToDefault command will reset content, except ActPos TagPos registers that modified. Therefore, application should send ResetToDefault during motion, avoid unwanted change parameter. Rev. Page www.onsemi.com AMIS-30623 14.2.10. Flags Table Table Flags Table Flag Mnemonic CPFail Length (bit) Related Commands GetFullStatus GetActualPos GetStatus GetFullStatus GetActualPos GetStatus GetFullStatus Comment Reset State Charge pump failure Electrical defect External switch status Electrical flag ElDef charge pump charge pump failure reset only after GetFullStatus <OVC1> <OVC2> <open circuit <open circuit <CPFail> resets only after Get(Full)Status open close <CPFail> <UV2> <ElDef> <VDDreset> "x00" Stop "001" inner motion acceleration "010" inner motion deceleration "011" inner motion max. speed "101" outer motion acceleration "110" outer motion deceleration "111" outer motion max. speed over current reset only after GetFullStatus over current reset only after GetFullStatus SecPos "100 0000 0000" otherwise Sleep mode reset command Internal Motion status Motion GetFullStatus "000" Over current coil Over current coil OVC1 OVC2 GetFullStatus GetFullStatus n.a. Secure position enabled SecEn Circuit going Sleep Sleep mode Step loss Delta High Stall Delta Stall Absolute Stall Stall Motor stop Temperature info StepLoss DelStallHi DelStallLo AbsStall Stall Stop Tinfo Internal Internal GetActualPos GetStatus GetFullStatus GetFullStatus GetFullStatus GetFullStatus GetFullStatus GetStatus Internal GetActualPos GetStatus GetFullStatus GetActualPos GetStatus GetFullStatus GetActualPos GetStatus GetFullStatus GetActualPos GetStatus GetFullStatus step loss under voltage, over current open circuit Vbemf bemf DeltaThr Vbemf bemf DeltaThr Vbemf AbsThr Thermal shutdown Thermal warning Battery stop voltage Digital supply reset VddReset GetActualPos GetStatus GetFullStatus "00" normal temperature range "01" temperature warning "10" high temperature warning "11" motor shutdown shutdown. 155°C typ.) reset only after Get(Full)Status <Tinfo> "00" over temp. 145°C) reset only after Get(Full)Status <Tinfo> "00" reset only after Get(Full)Status after power-up circuit. this supply micro-cut, warns that contents have been lost; reset with GetStatus GetFullStatus command. "00" 14.2.10.1. Priority Encoder table below describes state management performed main control block. Rev. Page www.onsemi.com AMIS-30623 Table Priority Encoder State Command GetActualPos Stopped Motor Stopped, Ihold Coils GotoPos Motor Motion Ongoing DualPosition Influence TagPos SoftStop Motor Decelerating HardStop ShutDown Sleep Motor Forced Motor Stopped, Power Stop H-bridges (note Hi-Z in-frame response refresh; in-frame response in-frame response in-frame response refresh; in-frame response in-frame response in-frame response refresh; in-frame response in-frame response refresh; RAM; AccShape reset (note update in-frame response refresh; in-frame response in-frame response in-frame response refresh; in-frame response in-frame response in-frame response refresh; in-frame response in-frame response; (<TSD> <HS>) then Stopped refresh; RAM; AccShape reset update TagPos ActPos reset GetOTPparam GetFullStatus GetStatus attempt clear <TSD> <HS> flags ResetToDefault ActPos TagPos altered SetMotorParam Master takes care about proper update ResetPosition SetPosition refresh; RAM; AccShape reset update TagPos ActPos reset refresh; RAM; AccShape reset update refresh; RAM; AccShape reset update refresh; RAM; AccShape reset update TagPos updated; TagPos updated GotoPos TagPos updated TagPos updated SetPositionShort TagPos updated; TagPos updated half-step mode only) GotoPos GotoSecPosition <SecEn> then TagPos SecPos; GotoPos DualPosition <SecEn> then TagPos SecPos <SecEn> then TagPos SecPos DualPosition HardStop SoftStop Sleep timeout <Sleep> `1', reset command received later HardStop (<CPFail> <UV2> <ElDef>) <HS> HardStop; HardStop; HardStop; <StepLoss> <StepLoss> <StepLoss> SoftStop note <SecEn> then TagPos SecPos else SoftStop <SecEn> action; action; then TagPos <Sleep> flag will <Sleep> flag will SecPos; evaluated evaluated will evaluated when motor stops when motor stops after DualPosition HardStop HardStop Sleep Shutdown HardStop Thermal shutdown <TSD> Motion finished Shutdown SoftStop Stopped SoftStop Stopped Stopped; Stopped; TagPos =ActPos TagPos =ActPos n.a. n.a. n.a. With following color code: Command ignored Transition another state Master responsible proper update (see note Rev. Page www.onsemi.com AMIS-30623 Notes: Leaving sleep state equivalent power-on-reset. After power-on-reset, shutdown state entered. shutdown state only left after GetFullStatus command that master could read <VddReset> flag). DualPosition sequence runs with separate registers. parameters that specified DualPosition command loaded with values stored moment DualPosition sequence starts. AccShape forced during second motion even ResetToDefault command issued during DualPosition sequence, which case AccShape will taken into account after DualPosition sequence. GetFullStatus command will return default parameters Vmax Vmin stored RAM. <Sleep> flag when timeout Sleep command occurs. reset next command (<Sleep> cancelled activated yet). Shutdown state left only when <TSD> <HS> flags reset. Flags reset only after master could read them GetStatus GetFullStatus command, provided physical conditions allow (normal temperature, correct battery voltage electrical charge pump defect). SetMotorParam command sent while motion ongoing (state GotoPos) should attempt modify Vmin values. This done during DualPosition sequence since this motion uses parameters, parameters will taken into account next SetPosition SetPositionShort command. Some transitions like GotoPos Sleep actually done several states: GotoPos SoftStop Stopped Sleep (see diagram below). transitions possible from state Stopped when <Sleep> `1': Transition state Sleep (<SecEn> `0') ((<SecEn> `1') (ActPos SecPos)) <Stop> Otherwise transition state GotoPos, with TagPos SecPos <SecEn> when register SecPos loaded with value different from most negative value (i.e. different from 0x400 "100 0000 0000") <Stop> flag allows distinguish whether state stopped entered after HardStop/SoftStop not. <Stop> when leaving state HardStop SoftStop reset during first clock edge occurring state Stopped. Command dynamic assignment decoded states except sleep effect current state While state stopped, ActPos TagPos there transition state GotoPos. This transition lowest priority, meaning that <Sleep>, <Stop>, <TSD>, etc. first evaluated possible transitions. <StepLoss> active, then SetPosition, SetPositionShort GotoSecurePosition commands ignored (they will modify TagPos register whatever state), motion secure position forbidden after Sleep command timeout (the circuit will into Sleep state immediately, without positioning secure position). Other command like DualPosition ResetPosition will executed allowed current state. <StepLoss> only cleared GetStatus GetFullStatus command. RunInit Thermal Shutdown SoftStop HardStop HardStop RunInit Motion finished HardStop HardStop Thermal ShutDown SoftStop HardStop Thermal Shutdown Motion Finished GotoSecPos ShutDown Stopped SetPosition Motion Finished GotoPos <Sleep> timeout command Priorities Motion Finished Sleep <Sleep> (not<SecEn> <SecEn> ActPos SecPos <Stop>) Figure State Diagram Remark: "SleepEn"=0, then arrow from stopped state sleep state does exist. Rev. Page www.onsemi.com AMIS-30623 14.3 Motor Driver 14.3.1. Current Waveforms Coils figure below illustrates current motor coils motor driver half-step mode. Coil Coil PC20051205.1 Figure Current Waveforms Motorcoils Halfstep Mode Whereas figure below shows current coil 1/16 micro stepping electrical period). Coil Coil PC20051123.4 Figure Current Waveforms Motorcoils 1/16th Microstep Mode 14.3.2. Regulation order force given current (determined Irun Ihold current position rotor) through motor coil while ensuring high energy transfer efficiency, regulation based principle used. regulation loop performs comparison sensed Rev. Page www.onsemi.com AMIS-30623 output current internal reference, features digital regulation generating signal that drives output switches. zoom over micro-step figure above shows circuit performs this regulation. reduce current ripple, higher frequency should selectable. register PWMfreq used this (Bit Data SetMotorParam). Table Frequency Selection PWMfreq Applied Frequency 22.8 45.6 14.3.3. Jitter lower power spectrum fundamental higher harmonics frequency, jitter added clock. register PWMJEn used this. (Bit Data SetStallParam). Readout with GetFullStatus (Bit Data Table Jitter Selection PWMJEn Status Single frequency Added jitter frequency 14.3.4. Motor Starting Phase motion start, currents coils directly switched from Ihold Irun with sine/cosine ratio corresponding first half micro) step motion. 14.3.5. Motor Stopping Phase deceleration phase, currents maintained coils their actual level (hence keeping sine/cosine ratio between coils) during stabilization time tstab(see Table). currents then hold values, respectively Ihold sin(TagPos) Ihold cos(TagPos) illustrated below. positioning order then executed. tstab Figure Motor Stopping Phase PC20051123.5 14.3.6. Charge Pump Monitoring charge pump voltage sufficient driving high side transistors (due failure), internal HardStop command issued. This acknowledged master raising flag <CPFail> (available with command GetFullStatus). case this failure occurs while motion ongoing, flag <StepLoss> also raised. Rev. Page www.onsemi.com AMIS-30623 14.3.7. Electrical Defect Coils, Detection Confirmation principle relies detection voltage drop least transistor H-bridge. Then decision taken open transistors defective bridge. This allow detect following short circuits: External coil short circuit Short between terminal coil Vbat cannot detect internal short motor Open circuits detected 100% duty cycle value during long time Table Electrical Defect Detection Pins Fault Mode Short circuit Short circuit Vbat Open Short circuited Short circuited Short circuited Rev. Page www.onsemi.com AMIS-30623 14.3.8. Motor Shutdown Mode motor shutdown occurs when: chip temperature rises above thermal shutdown threshold Ttsd (see Thermal Shutdown Mode) battery voltage goes below (see Battery voltage management) Flag <ElDef> `1', meaning electrical problem detected both coils, e.g. short circuit. Flag <CPFail> `1', meaning there charge pump failure motor shutdown leads following: H-bridges high impedance mode TagPos register loaded with ActPos avoid motion after leaving motor shutdown mode) interface remains active, being able receive orders send status. conditions motor shutdown mode are: Reception GetStatus GetFullStatus command four above causes more detected Which leads H-bridges Ihold mode. Hence, circuit ready execute positioning command. This illustrated following sequence given application tip. master check whether there problem decide which application strategy adopt. <ElDef> <CpFail> SetPosition frame GetFullStatus GetStatus frame GetFullStatus GetStatus frame circuit driven motor shutdown mode application aware this position set-point updated Master Motor shutdown mode motion application still unaware application Possible confirmation aware problem problem Reset <TW> <TSD> <UV2> <StepLoss> <ElDef> <CPFail> application Possible detection over temperature voltage electrical problem Circuit sets <TW> <TSD> <UV2> <StepLoss> <ElDef> <CPFail> again Figure Example Possible Sequence used Detect Determine Cause Motor Shutdown Important: While shutdown mode, since there hold current coils, mechanical load cause step loss, which indeed cannot flagged AMIS-30623. Warning: application should limit number consecutive GetStatus GetFullStatus commands AMIS30623 shutdown mode when this proves unsuccessful, e.g. there permanent defect. reliability circuit could altered since Get(Full)Status attempts disable protection H-bridges. Notes Priority Encoder describing management states commands. note below considered illustrative. communication lost while shutdown mode, circuit enters sleep mode immediately Rev. Page www.onsemi.com AMIS-30623 14.4 Motion Detection Motion detection based back generated internally running motor. When motor blocked e.g. when hits end-position, velocity result also generated back emf, disturbed. AMIS-30623 senses back emf, calculates moving average compares value with independent threshold levels: Absolute threshold (AbsThr[3:0] Delta threshold (DelThr[3:0]). Instructions correct these levels combination with three additional parameters (MinSamples, FS2StallEn DC100SDis) outside scope this datasheet. Detailed information available dedicated white paper "Robust Motion Control with AMIS-3062x Stepper Motor Drivers", available http://www.amis.com/. motor accelerated pulling propelling force resulting back increases above Delta threshold THR), then <DelStallHi> set. When motor slowing down resulting back decreases below Delta threshold THR), then <DelStallLo> set. When motor blocked velocity zero after acceleration phase, back zero. When this value below Absolute threshold, <AbsStall> set. <Stall> flag function <DelStallLo> <DelStallHi> <AbsStall>. Velocity Vbemf Vmax Motor speed Vmin Vbemf Vbemf Vbemf DeltaStallHi VABSTH Back AbsStall DeltaStallLo Figure 24:Triggering Stall Flags Function Measured Back Threshold Levels Table Truth Table Condition Vbemf Average DelThr Vbemf Average DelThr Vbemf AbsThr <DelStallLo> <DelStallHi> <AbsStall> <Stall> motion will only detected when motor running maximum velocity, during acceleration deceleration. motor positioning when Stall detected, (internal) hardstop motor generated <StepLoss> <Stall> flags set. These flags only reset sending GetFullStatus command. Stall appears during DualPosition then first phase cancelled (via internal Hardstop) after timeout (26.6 second phase vmin starts. When <Stall> flag position controller will generate internal HardStop. consequence also Steploss flag will set. position internal counter will copied ActPos register. flags read with GetStatus GetFullStatus command. Important remark: Using GetFullStatus will read clear following flags: <Steploss>, <Stall>, <AbsStall>, <DelStallLo>, <DelStallHi>. positioning possible ActPos register will further updated. Using GetStatus will read clear ONLY <Steploss> flag. <Stall>, <AbsStall>, <DelStallLo>, <DelStallHi> flags cleared. positioning possible ActPos register will further updated. Rev. Page www.onsemi.com AMIS-30623 Motion detection disabled when registers AbsThr[3:0] DelThr[3:0] empty zero. Both levels programmed using command SetStallParam registers AbsThr[3:0] DelThr[3:0]. Also register AbsThr[3:0] DelThr[3:0] using command SetOTPParam. These values copied registers during power reset. Value Table: Table Absolute Threshold Settings AbsThr Index AbsThr Level Disable Table Delta Threshold Settings DelThr Index DelThr Level Disable 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 2.50 2.75 3.00 3.25 3.50 3.75 MinSamples MinSamples[2:0] Bemf sampling delay time expressed number cycles, more information please refer white paper "Robust Motion Control with AMIS-3062x Stepper Motor Drivers", Table Back Sample Delay Time Index MinSamples[2:0] tDELAY PWMfreq PWMfreq FS2StallEn AbsThr DelThr (i.e. motion detection enabled), then stall detection will activated AFTER acceleration ramp additional number full-steps, according following table: Table Activation Delay Motion Detection Index FS2StallEn[2:0] Delay (Full Steps) more information please refer white paper "Robust Motion Control with AMIS-3062x Stepper Motor Drivers", DC100SDis When motor with large bemf operated high speed supply voltage, then duty cycle high 100%. This indicates that supply generate required torque might also result erroneously triggering stall detection. "DC100SDis" disables stall detection when duty cycle 100%. more information please refer white paper "Robust Motion Control with AMIS-3062x Stepper Motor Drivers", Rev. Page www.onsemi.com AMIS-30623 Motion Qualification Mode This mode useful debug motion parameters verify stability stepper motor systems. motion qualification mode entered means command TestBemf. will converted into analogue output which Bemf integrator output measured. Once activated, only stopped after POR. During Back observation, reading state internally forbidden. More information available white paper "Robust Motion Control with AMIS-3062x Stepper Motor Drivers". Rev. Page www.onsemi.com AMIS-30623 15.0 Controller 15.1 General Description (local interconnect network) serial communications protocol that efficiently supports control mechatronic nodes distributed automotive applications. interface implemented AMIS-30623 compliant with rev. specifications. features slave node, thus allowing for: Single-master multiple-slave communication Self synchronization without quartz ceramics resonator slave nodes Guaranteed latency times signal transmission Single-wire communication Transmission speed 19.2 kbit/s Selectable length Message Frame: bytes Configuration flexibility Data checksum security error detection; Detection defective nodes network. includes analog physical layer digital protocol handler. analog circuitry implements side driver with pull-up resistor transmitter, resistive divider with comparator receiver. specification line driver/receiver follows 9141 standard with some enhancements regarding behavior. control block protocol handler Filter Slope Control address from PC20051124.1 Figure Interface 15.2 Slave Operational Range Proper Self Synchronization interface will synchronize properly following conditions: Ground shift between master node slave node highly recommended same type reverse battery voltage protection diode Master Slave nodes. Rev. Page www.onsemi.com AMIS-30623 15.3 Functional Description 15.3.1. Analog Part transmitter low-side driver with pull-up resistor slope control. Figure shows characteristics transmitted signal, including delay between internal signal. Parameters timing values. receiver mainly consists comparator with threshold equal Vbb/2. Figure also shows delay between received signal internal signal. also Parameters timing values. 15.3.2. Protocol Handler This block implements: synchronization timing layer layer supervisor 15.3.3. Electromagnetic Compatibility behavior fulfills requirements defined specification, rev. 1.3. 15.4 Error Status Register interface implements register containing error status communication. This register follows: Table Error Register used used used used Time error Data error Flag Header error Flag error Flag With: Time error: Data error flag Checksum error StopBit error Length error Header error flag Parity SynchField error error flag GetFullStatus frame will reset error status register. 15.5 Physical Address Circuit circuit must provided with physical address order discriminate this circuit from other ones bus. This address coded bits, yielding theoretical possibility different circuits same bus. combination memory bits hardwired address bits (pins HW[2:0]). However maximum number nodes network also limited physical properties line. recommended limit number nodes network exceed Otherwise reduced network impedance prohibit fault free communication under worst case conditions. Every additional node lowers network impedance approximately Physical address memory Hardwired bits Note: Pins digital inputs, whereas compliant with level, e.g. connected Vbat terminal PCB. provide cleaning current this terminal, system used also implemented (see Hardwired Address HW2). Rev. Page www.onsemi.com AMIS-30623 15.6 Frames frames divided writing reading frames. frame composed 8-bit Identifier followed data-bytes. Writing frames will used Program Memory; Configure component with stepper-motor parameters (current, speed, stepping-mode, etc.); Provide set-point position stepper-motor. Whereas reading frames will used actual position stepper-motor; status information such error flags; Verify right programming configuration component. 15.6.1. Writing Frames writing frame sent master send commands and/or information slave nodes. According specification, identifiers used determine specific action. physical addressing needed, then some bits data field dedicated this, illustrated example below. Identifier byte Data byte phys. address Data byte command parameters (e.g. position) Another possibility determine specific action within data field order less identifiers. example reserved identifier 0x3C take advantage byte data field provide physical address, command needed parameters action, illustrated example below. 0x3C Data1 Data2 command Data3 physical address Data4 Data5 Data6 parameters Data7 Data8 AppCmd Note: byte Data1 must since specification requires that contents from 0x00 0x7F must reserved broadcast messages (0x00 being "Sleep" message). also command Sleep writing frames used with AMIS-30623 following: Type General purpose data bytes writing frame with dynamically assigned identifier. This type dedicated short writing actions when load issue. They used provide direct command (Broad `1') slave nodes (Broad `0'). Broad `1', physical address slave node provided remaining bits DATA2. DATA1 will contain command code (see Dynamic assignment Identifiers), while, present, DATA3 DATA4 will contain command parameters, shown below. Data1 command Data2 Physical address Broad Data3. parameters. Type data bytes writing frame with identifier dynamically assigned application command, regardless physical address circuit. Type data bytes writing frame with identifier dynamically assigned particular slave node together with application command. This type frame requires that there many dynamically assigned identifiers there AMIS-30623 circuits using this command connected bus. Type data bytes writing frame with 0x3C identifier. Rev. Page www.onsemi.com AMIS-30623 15.6.2. Reading Frames reading frame uses in-frame response mechanism. That master initiates frame (synchronization field identifier field), slave sends back data field together with check field. Hence, types identifiers used reading frame: Direct which points particular slave node, indicating same time which kind information awaited from this slave node, thus triggering specific command. This provides fastest access read command forbidden other action. Indirect which only specifies reading command, physical address slave node that must answer having been passed previous writing frame, called preparing frame. Indirect gives more flexibility than direct one, provides slower access read command. Notes reading frame with indirect must always consecutive preparing frame. will otherwise taken into account. reading frame will always return physical address answering slave node order ensure robustness communication. reading frames used with AMIS-30623 following: Type Data bytes reading frame with direct identifier dynamically assigned particular slave node together with application command. preparing frame needed. Type Data bytes reading frame with 0x3D identifier. This intrinsically indirect type, needing therefore preparation frame. advantage reserved identifier. 15.6.3. Preparing Frames preparing frame writing frame that warns particular slave node that will have answer next frame (hence reading frame). preparing frame needed when reading frame does dynamically assigned direct Preparing reading frames must consecutive. preparing frame will contain physical address slave node that must answer reading frame, will also contain command indicating which kind information awaited from slave. preparing frames used with AMIS-30623 type type described below. Type data bytes writing frame with dynamically assigned identifier. Byte Content Identifier Data Data Preparing Frame Structure CMD[6:0] AD[6:0] Where: According parity computation Type eight data bytes writing frame with 0x3C identifier. Byte Content Identifier Data Data Data Data Data Data Data Data SetDualPositioning Writing Frame Structure AppCMD 0x80 CMD[6:0] AD[6:0] Data4[7:0] Data5[7:0] Data6[7:0] Data7[7:0] Data8[7:0] Where: AppCMD: CMD[6:0]: AD[6:0]: Datan[7:0]: `0x80' this indicates that Data contains application command Application Command "byte" Slave node physical address Data transmitted Rev. Page www.onsemi.com AMIS-30623 15.6.4. Dynamic Assignment Identifiers identifier field datagram denotes content message. identifier bits parity bits used represent content. identifiers 0x3C 0x3F reserved command frames extended frames. Slave nodes need very flexible adapt itself given network order avoid conflicts with slave nodes from different manufacturers. Dynamic assignment identifiers will fulfill this requirement writing identifiers into circuits RAM. pointers linking commands dynamic identifiers together. writing frame with identifier 0x3C issued master will write dynamic identifiers into RAM. writing frame able assign identifiers, therefore frames needed assign identifiers. Each pointer ROMp_x [3:0] place corresponding dynamic identifier Dyn_ID_x [5:0] correct place (see Table Dynamic Identifiers Writing Frame). When setting <BROAD> zero broadcasting active each slave will store same dynamic identifiers, otherwise only slave with corresponding slave address programmed. Byte Content Identifier AppCmnd Address Data Data Data Data Data Dynamic Identifiers Writing Frame Structure 0x3C 0x80 0x11 Broad DynID_1[3:0] ROMp_1[3:0] DynID_2[1:0] ROMp_2[3:0] DynID_1[5:4] ROMp_3[3:0] DynID_2[5:2] ROMp_4[2:0] DynID_3[5:0] DynID_4[5:0] ROMp_4[3:2] Where: 0x11, corresponding dynamic assignment four identifiers broad circuits connected will share same dynamically assigned identifiers. DynID_x[5:0]: Dynamically assigned identifier application command which pointer ROMp_x[3:0] frame allows only assign four identifiers. Therefore, additional frames could needed order assign more identifiers (maximum three AMIS-30623). Dynamic User Defined User Defined User Defined User Defined User Defined User Defined User Defined User Defined User Defined User Defined pointer 0010 0011 0100 0101 0110 0111 0000 0001 1000 1001 Application Command GetActualPos GetStatus SetPosition SetPositionShort SetPositionShort SetPositionShort GeneralPurpose bytes GeneralPurpose 4bytes Preparation Frame SetPosParam CMD[6:0]: Broad: Command assignement done start-up Command assignement Dynamic during operation Figure Principle Dynamic Command Assignment Rev. Page www.onsemi.com AMIS-30623 15.7 Commands Table Table Commands with Corresponding Pointer Command Mnemonic GetActualPos GetFullStatus GetOTPparam GetStatus GotoSecurePosition HardStop ResetPosition ResetToDefault RunVelocity SetDualPosition SetMotorParam SetOTPparam SetStallparam SetPosition (16-bit) SetPositionShort motor) SetPositionShort motors) SetPositionShort motors) SetPosParam Sleep SoftStop TestBemf Command Byte (CMD) Dynamic (example) Pointer 000000 000001 000010 000011 000100 000101 000110 000111 010111 001000 001001 010000 010110 001011 001100 001101 001110 n.a. 001111 011111 010001 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 100xxx n.a. n.a. 000xxx n.a. n.a. n.a. n.a. n.a. n.a. n.a. n.a. n.a. 010xxx 001001 101001 111001 n.a. 0010 0011 0x17 0x08 0x09 0x10 0x16 0x0B 0x0C 0x0D 0x0E 0100 0101 0110 0111 1001 0x0F 0x1F 0x11 n.a. n.a. n.a. 011000 101000 011010 0000 0001 1000 Dynamic assignment General purpose Data bytes General purpose Data bytes Preparation frame allows address physically slave node. Therefore, these dynamic cannot used more than eight stepper motors. Only pointers needed AMIS-30623. 15.8 Lost Behavior 15.8.1. Introduction When communication broken duration 25000 consecutive frames 1,30 19200 kbit/s) AMIS-30623 sets internal flag called "LIN lost". functional behavior depends state bits <SleepEn> <FailSafe>, this loss communication occurred before) power reset normal powered operation. 15.8.2. Sleep Enable <SleepEn> enables disables entering low-power sleep mode case time-out. Default entering sleep-mode disabled. Table Sleep Enable Selection <SleepEn> Behavior Entering low-power sleepmode lost DISABLED Entering low-power sleepmode lost ENABLED Rev. Page www.onsemi.com AMIS-30623 15.8.3. Fail Safe Motion <FailSafe> enables disables automatic motion predefined safe position. also Autonomous Motion. Table Fail Safe Enable Selection <FailSafe> Behavior motion case lost ENABLES motion safe position case lost 15.8.4. Autonomous Motion AMIS-30623 able perform Autonomous Motion preferred position. This positioning starts after detection lost communication case: <FailSafe> register SecPos[10:0] 0x400 functional behavior depends communication lost during normal operation (see Figure case before) start-up (See Figure case Power content copied GetFullStatus (LIN communication Figure Flow chart power-up AMIS-30623. cases illustrated; Case lost during operation Case lost start-up 15.8.4.1. Lost During Normal Operation communication lost during normal operation, assumed that AMIS-30623 referenced. other words ActPos register contains "real" actual position. lost absolute positioning stored secure position SecPos done. This further called Secure Positioning. Following sequence will followed. Figure "SecPos[10:0]" from register will used. This different from register earlier master communication updated this. also Secure Position command SetMotorParam. communication lost FailSafe there will secure positioning. Depending SleepEn AMIS-30623 will enter STOP state SLEEP state. Table communication lost FailSafe there possibilities: SecPos[10:0] 0x400: Secure Positioning will performed Depending SleepEn AMIS-30623 will enter STOP state SLEEP state. Table SecPos[10:0] 0x400: Perform Secure Positioning. This absolute positioning (slave knows ActPos. SecPos[10:0] will copied TagPos) Rev. Page www.onsemi.com AMIS-30623 Important remarks: Secure Position resolution Same behavior case float lost address). also Hardwired Address SetMotorParam (RAM content overwritten) FailSafe SecPos 0x400 SleepEn Normal Function Secure Positioning TagPos SLEEP STOP Figure Case Lost During Normal Operation 15.8.4.2. Lost Before Power-on communication lost before power ActPos register does reflect "real" actual position. lost referencing started using DualPositioning. first negative motion half positioner range initiated until stall position reached. motion parameters stored will used this. After this mechanical position reached ActPos will reset zero. second motion will start Secure Position also stored OTP. More details given below. Rev. Page www.onsemi.com AMIS-30623 FailSafe First motion DualPosition Half position range Negative direction Stall ActPos '0000' SecPos 0x400 Secure Positioning SecPos stored SleepEn STOP SLEEP STOP Figure Case Lost During Start-up lost before power following sequence will followed. also Figure communication lost FailSafe there will secure positioning. Depending SleepEn AMIS-30623 will enter STOP state SLEEP state. Table communication lost FailSafe referencing started using DualPositioning. negative motion half positioner range initiated until stall position reached. motion parameters stored will used this. After this mechanical position reached ActPos will reset zero. direction motion given Shaft bit. SecPos[10:0] 0x400: Second Motion will performed. Depending SleepEn AMIS-30623 will enter STOP state SLEEP state. Table SecPos[10:0] 0x400: second motion SecPos performed. direction given SecPos[10] combination with Shaft. Motion done with parameters from OTP. Important remarks: Secure Position only resolution because only MSB's will copied from RAM. also Secure Position motion direction SecPos given Shaft Same behavior case float lost address). also Hardwired Address Rev. Page www.onsemi.com AMIS-30623 16.0 Application Commands 16.1 Introduction Master will have commands manage different application tasks AMIS-30623 feature. commands summary given table below. Table Commands Summary Command Mnemonic Reading Command GetActualPos GetFullStatus GetOTPparam GetStatus Writing Commands GotoSecurePosition HardStop ResetPosition ResetToDefault RunVelocity SetDualPosition SetMotorParam SetOTPparam SetStallparam SetPosition SetPositionShort SetPositionShort SetPositionShort SetPosParam Service Commands Sleep SoftStop TestBemf Code Prep Frames Read Write Description 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x17 0x08 0x09 0x10 0x16 0x0B 0x0C 0x0D 0x0E 0x2F Returns actual position motor Returns complete status circuit Returns memory content Returns short status circuit Drives motor secure position Immediate motor stop Actual position becomes zero position content reset Drives motor continuously Drives motor different positions with different speeds Programs motion parameters values current motor's coils Programs (and zaps) selected byte memory Programs motion detection parameters Drives motor given position Drives motor given position (half step mode only) Drives motors given positions (half step only) Drives four motors given positions (half step only) Drives motor given position programs some motion parameters. Drives circuit into sleep mode Motor stopping with deceleration phase Outputs Bemf voltage 0x0F 0x1F These commands described hereafter, with their corresponding frames. Refer Frames more details frames, particularly what concerns dynamic assignment identifiers. color coding used distinguish between master slave parts within frames highlight dynamic identifiers. example shown below. Light Blue master Byte Content GetStatus Reading Frame Structure Identifier AD[6:0] Data VddReset StepLoss ElDef Tinfo[1:0] Data White slave in-frame response Yellow dynamic identifier Figure Color Code Used Definition Frames Rev. Page www.onsemi.com AMIS-30623 Usually, AMIS-30623 makes dynamic identifiers general-purpose bytes writing frames. dynamic identifiers used other purpose, this acknowledged. Some frames implement Broad that allows address command AMIS-30623 circuits connected same bus. Broad active when `0', which case physical address provided frame thus taken into account slave nodes. 16.2 Application Commands GetActualPos This command provided circuit master actual position stepper-motor. This position (ActPos[15:0]) returned signed two's complement 16-bit format. should note that according programmed stepping mode, LSBs ActPos[15:0] have meaning should assumed `0', described Position Ranges. GetActualPos also provides quick status circuit stepper-motor, identical that obtained command GetStatus (see further). Note: GetActualPosition command will attempt reset flag. GetActualPos corresponds following reading frames. data bytes in-frame response with direct (type Byte Content Identifier Data Data Data Data Reading Frame Structure AD[6:0] ActPos[15:8] ActPos[7:0] StepLoss ElDef VddReset Tinfo[1:0] Where: ID[5:0]: According parity computation Dynamically allocated direct identifier. There should many dedicated identifiers this GetActualPos command there stepper-motors connected bus. preparing frame prior data bytes in-frame response with 0x3D indirect Byte Byte Content Identifier Data Data Content Identifier Data Data Data Data Data Data Data Data Preparing Frame Structure CMD[6:0] 0x00 AD[6:0] Reading Frame Structure AD[6:0] ActPos[15:8] ActPos[7:0] StepLoss ElDef 0xFF 0xFF 0xFF 0xFF VddReset Tinfo[1:0] Where: According parity computation Rev. Page www.onsemi.com AMIS-30623 GetFullStatus This command provided circuit master complete status circuit stepper-motor. Refer Registers Flags Table meaning parameters sent master. Note: GetFullStatus command will attempt reset flags <TW>, <TSD>, <UV2>, <ElDef>, <StepLoss>, <CPFail>, <OVC1>, <OVC2> <VddReset>. GetFullStatus corresponds successive in-frame responses with 0x3D indirect Byte Byte Byte Content Identifier Data Data Content Identifier Data Data Data Data Data Data Data Data Content Identifier Data Data Data Data Data Data Data Data Preparing Frame Structure CMD[6:0] 0x01 AD[6:0] Reading Frame Structure AD[6:0] Irun[3:0] Vmax[3:0] AccShape StepMode[1:0] Shaft VddReset StepLoss ElDef Motion[2:0] OVC1 TimeE AbsThr[3:0] Ihold[3:0] Vmin[3:0] Acc[3:0] Tinfo[1:0] OVC2 Stall CPFail DataE HeadE BitE DelThr[3:0] Reading Frame Structure AD[6:0] ActPos[15:8] ActPos[7:0] TagPos[15:8] TagPos[7:0] SecPos[7:0] MinZCross[2:0] DC100 SecPos[10:8] DelStallLo DelStallHi DC100StEn AbsStall MinSamples[2:0] PWMJEn According parity computation Where: Important: mandatory master initiate second in-frame response ActPos, TagPos SecPos needed application. GetOTPparam This command provided circuit master after preparation frame (see Preparing frames) issued, read content memory segment which address specified preparation frame. GetOTPparam corresponds in-frame response with 0x3D indirect Byte Content Identifier Data Preparing Frame Structure CMD[6:0] 0x02 Rev. Page www.onsemi.com AMIS-30623 Byte Data Content Identifier Data Data Data Data Data Data Data Data AD[6:0] Reading Frame Structure byte @0x00 byte @0x01 byte @0x02 byte @0x03 byte @0x04 byte @0x05 byte @0x06 byte @0x07 Where: According parity computation GetStatus This command provided circuit master quick status (compared that GetFullStatus command) circuit stepper-motor. Refer Table meaning parameters sent master. Note: GetStatus command will attempt reset flags <TW>, <TSD>, <UV2>, <ElDef>, <StepLoss> <VddReset>. GetStatus corresponds data bytes in-frame response with direct (type #5). Byte Content Identifier Data Data VddReset GetStatus Reading Frame Structure AD[6:0] StepLoss ElDef Tinfo[1:0] Where: ID[5:0]: According parity computation Dynamically allocated direct identifier. There should many dedicated identifiers this GetStatus command there stepper-motors connected bus. GotoSecurePosition This command provided master stepper-motors move secure position SecPos[10:0]. also internally triggered communication lost, after initialization phase, prior going into sleep mode. priority encoder description more details. priority encoder table also acknowledges cases where GotoSecurePosition command will ignored. GotoSecurePosition corresponds following writing frame (type #1). Byte Content Identifier Data Data GotoSecurePosition Writing Frame Structure CMD[6:0] 0x04 Broad AD[6:0] Where: Broad: according parity computation Broad stepper motors connected will reach their secure position Rev. Page www.onsemi.com AMIS-30623 HardStop This command will internally triggered when electrical problem detected both coils, leading shutdown mode. this occurs while motor moving, <StepLoss> flag raised allow warning master next GetStatus command that steps have been lost. Once motor stopped, ActPos register copied into TagPos register ensure keeping stop position. hardstop command also issued master some safety reasons. corresponds then following data bytes writing frame (type #1). Byte Content Identifier Data Data HardStop Writing Frame Structure CMD[6:0] 0x05 Broad AD[6:0] Where: Broad: according parity computation broad stepper motors connected will stop ResetPosition This command provided circuit master reset ActPos TagPos registers zero. This helpful prepare instance relative positioning. ResetPosition corresponds following writing frames (type #1). Byte Content Identifier Data Data ResetPosition Writing Frame Structure CMD[6:0] 0x06 Broad AD[6:0] Where: Broad: according parity computation broad circuits connected will reset their ActPos TagPos registers ResetToDefault This command provided circuit master order reset whole slave node into initial state. ResetToDefault will, instance, overwrite with reset state registers parameters (See Registers). This another master initialize slave node case emergency, simply refresh content. Note: ActPos TagPos modified ResetToDefault command. Important: Care should taken send ResetToDefault command while motion ongoing, since this could modify motion parameters forbidden position controller. ResetToDefault corresponds following writing frames (type #1). Byte Content Identifier Data Data ResetPosition Writing Frame Structure CMD[6:0] 0x07 Broad AD[6:0] Where: Broad: according parity computation broad circuits connected will reset default Rev. Page www.onsemi.com AMIS-30623 RunVelocity This command provided circuit Master order motor continuous motion state. Note: Continuous communication required. Lost detected autonomous motion will start. also lost behavior. RunVelocity corresponds following writing frames (type #1). Byte Content Identifier Data Data RunVelocity Writing Frame Structure CMD[6:0] 0x17 Broad AD[6:0] Where: Broad: according parity computation broad stepper motors connected will start continuous motion. SetDualPosition This command provided circuit master order perform positioning motor using different velocities. Section Dual Positioning. Note1 This sequence cannot interrupted another positioning command. Important: some reason ActPos equals Pos1[15:0] moment SetDualPosition command issued, circuit will enter deadlock state. Therefore, application should check actual position GetPosition GetFullStatus command prior start dual positioning. Another solution consist programming value stepper motor range Pos1[15:0]. same reason Pos2[15:0] should equal Pos1[15:0]. SetDualPosition corresponds following writing frame with 0x3C identifier (type #4). Byte Content Identifier Data Data Data Data Data Data Data Data SetDualPositioning Writing Frame Structure AppCMD 0x80 CMD[6:0] 0x08 Broad AD[6:0] Vmax[3:0] Vmin[3:0] Pos1[15:8] Pos1[7:0] Pos2[15:8] Pos2[7:0] Where: Broad: Vmax[3:0]: Vmin[3:0]: Pos1[15:0]: Pos2[15:0]: broad circuits connected will dual positioning velocity first motion velocity first motion velocity second motion First position reached during first motion Relative position second motion SetStallParam() This commands sets Motion Detection parameters, related Stepper Motor parameters such minimum maximum velocity, run- hold current, acceleration stepmode Motion detection meaning parameters sent Master SetStallParam corresponds 0x3C command Rev. Page www.onsemi.com AMIS-30623 Byte Content Identifier Data Data Data Data Data Data Data Data SetStallParam Writing Frame Structure AppCMD 0x80 CMD[6:0] 0x16 Broad AD[6:0] Irun[3:0] Ihold[3:0] Vmax[3:0] Vmin[3:0] MinSamples[2:0] Shaft Acc[3:0] AbsThr[3:0] RelThr[3:0] AccShape MinZCross[2:0] StepMode[1:0] DC100StEn PWMJEn Where: Broad: Broad circuits connected will parameters their RAMs requested SetMotorParam() This command provided circuit master values stepper motor parameters (listed below) RAM. Refer Registers meaning parameters sent master. Important: SetMotorParam occurs while motion ongoing, will modify once motion parameters (see Position Controller). Therefore application should change other parameters than Vmax Vmin while motion running, otherwise correct positioning cannot guaranteed. SetMotorParam corresponds following writing frame with 0x3C identifier (type #4). Byte Content Identifier Data Data Data Data Data Data Data Data SetMotorParam Writing Frame Structure AppCMD 0x80 CMD[6:0] 0x09 Broad AD[6:0] Irun[3:0] Ihold[3:0] Vmax[3:0] Vmin[3:0] SecPos[10:8] Shaft Acc[3:0] SecPos[7:0] AccShape PWMfreq StepMode[1:0] PWMJEn Where: Broad: Broad circuits connected will parameters their RAMs requested SetOTPparam() This command provided circuit master program content D[7:0] memory byte OTPA[2:0], Important: This command must sent under specific voltage value. parameter VbbOTP Parameters. This mandatory condition ensure reliable zapping. SetMotorParam corresponds 0x3C writing frames (type #4). Rev. Page www.onsemi.com AMIS-30623 Byte Content Identifier Data Data Data Data Data Data Data Data HardStop Writing Frame Structure AppCMD 0x80 CMD[6:0] 0x10 Broad AD[6:0] OTPA[2:0] D[7:0] 0xFF 0xFF 0xFF Where: Broad: Broad circuits connected will parameters their memories requested SetPosition() This command provided circuit master drive motors given absolute position. Positioning more details. priority encoder table (See Priority Encoder) acknowledges cases where SetPosition command will ignored. SetPosition corresponds following write frames. Data bytes frame with direct (type Byte Content Identifier Data Data SetPosition Writing Frame Structure Pos[15 Pos[7 Where: ID[5:0]: According parity computation Dynamically allocated direct identifier. There should many dedicated identifiers this SetPosition command there stepper-motors connected bus. Four Data bytes frame with general purpose identifier (type Byte Content Identifier Data Data Data Data SetPosition Writing Frame Structure CMD[6:0] 0x0B Broad AD[6:0] Pos[15:8] Pos[7:0] Where: Broad: According parity computation broad stepper motors connected will must Pos[15:0]. Rev. Page www.onsemi.com AMIS-30623 motors positioning frame with 0x3C identifier (type Byte Content Identifier Data Data Data Data Data Data Data Data SetPosition Writing Frame Structure AppCMD 0x80 CMD[6:0] 0x0B AD1[6:0] Pos1[15:8] Pos1[7:0] AD2[6:0] Pos2[15:8] Pos2[7:0] Where: Adn[6:0] Motor physical address [1,2]). Posn[15:0] Signed 16-bit position set-point motor SetPositionShort() This command provided circuit Master drive one, four motors given absolute position. applies only half stepping mode (StepMode[1:0] "00") ignored when other stepping modes. Positioning. more details. physical address coded bits, hence SetPositionShort only used with network implementing maximum slave nodes. These bits corresponding bits PA[3:0] memory (address 0x02) Physical Address Circuit priority encoder table (See Priority Encoder) acknowledges cases where SetPositionShort command will ignored. SetPositionShort corresponds following writing frames data bytes frame motor, with specific identifier (type Byte Content Identifier Data Data SetPositionShort Writing Frame Structure Pos[10:8] Broad [7:0] [3:0] Where: Broad: ID[5:0]: According parity computation broad stepper motors connected will Pos[10:0]. Dynamically allocated identifier data bytes SetPositionShort command. Four data bytes frame motors, with specific identifier (type Byte Content Identifier Data Data Data Data SetPositionShort Writing Frame Structure Pos1[10:8] Pos1[7:0] Pos2[10:8] Pos2[7:0] AD1[3:0] AD2[3:0] Where: ID[5:0]: Adn[3:0]: Posn[10:0]: according parity computation Dynamically allocated identifier four data bytes SetPositionShort command. Motor physical address least significant bits [1,2]). Signed 11-bit position point Motor (see Registers) Rev. Page www.onsemi.com AMIS-30623 Eight data bytes frame four motors, with specific identifier (type Byte Content Identifier Data Data Data Data Data Data Data Data SetPositionShort Writing Frame Structure Pos1[10:8] Pos1[7:0] Pos2[10:8] Pos2[7:0] Pos3[10:8] Pos3[7 Pos4[10 Pos4[7:0] AD1[3:0] AD2[3:0] AD3[3:0] AD4[3:0] Where: ID[5:0]: Adn[3:0]: Posn[10:0]: according parity computation Dynamically allocated identifier eight data bytes SetPositionShort command. Motor physical address least significant bits [1,4]). Signed 11-bit position point Motor (see Registers) SetPosParam() This command provided circuit Master drive motor given absolute position. also sets some values stepper motor parameters such minimum maximum velocity. SetPosParam corresponds Four Data bytes writing frame with specific dynamically assigned identifier (type SoftPosParam Writing Frame Structure Pos[15:8] Pos[7:0] Vmax[3:0] AbsThr[3:0] Byte Content Identifier Data Data Data Data Vmin[3:0] Acc[3:0] Where: Broad: ID[5:0]: [15:0] according parity computation broad stepper motors connected will stop with deceleration. Dynamically allocated direct identifier Data bytes SetPosParam command. There should many dedicated identifiers this SetPosition command there stepper-motors connected bus. Signed 16-bit position set-point. Sleep This command provided circuit master slave nodes connected into sleep mode. this command occurs during motion motor, TagPos reprogrammed SecPos (provided SecPos different from "100 0000 0000"), SoftStop executed before going sleep mode. specification Sleep Mode. corresponding frame master request command frame (identifier 0x3C) with data byte containing 0x00 while followings contain 0xFF. Byte Content Identifier Data Data Sleep Writing Frame Structure 0x00 0xFF Rev. Page www.onsemi.com AMIS-30623 SoftStop SoftStop command occurs during motion stepper motor, provokes immediate deceleration Vmin (see Minimum Velocity) followed stop, regardless position reached. Once motor stopped, TagPos register overwritten with value ActPos register ensure keeping stop position. Note: SoftStop command occurring during DualPosition sequence taken into account. Command SoftStop occurs following cases: chip temperature rises above thermal shutdown threshold (see Parameters Temperature Management); master requests SoftStop. Hence SoftStop will correspond following data bytes writing frame (type #1). Byte Content Identifier Data Data SoftStop Writing Frame Structure CMD[6:0] 0x0F Broad AD[6:0] Where: Broad: according parity computation broad stepper motors connected will stop with deceleration. TestBemf This command provided circuit Master order output Bemf integrator output output chip. Once activated, stopped only after POR. During Bemf observation, reading state internally forbidden. TestBemf corresponds following writing frames (type #1). Byte Content Identifier Data Data TestBemf Writing Frame Structure CMD[6:0] 0x1F Broad AD[6:0] Where: Broad: according parity computation broad stepper motors connected will affected. Rev. Page www.onsemi.com AMIS-30623 17.0 Resistance Electrical Electromagnetic Disturbances 17.1 Electrostatic Discharges Table Absolute Maximum Ratings Parameter Vesd Min. Max. Unit Electrostatic discharge voltage Electrostatic discharge voltage other pins Note: Human body model (100 according std. 883E, method 3015.7) 17.2 Electrical Transient Conduction Along Supply Lines Test pulses applied power supply wires equipment implementing AMIS-30623 (see application schematic), according 7637-1 document. Operating Classes defined 7637-2. Table Test Pulses Test Levels According 7637-1 Pulse Amplitude Rise Time Pulse Duration (load dump) -100V +100V -150V (from +13.5V) +100V (from +13.5V) +21.5V (from +13.5V) Operating Class 50µs 100ns (burst) 100ns (burst) 400ms 10ms 17.3 Bulk current injection (BCI), according 11452-4. Operating Classes defined 7637-2. Table Bulk Current Injection Operation Classes Current Operating Class 60mA envelope 100mA envelope 200mA envelope 17.4 Power Supply Micro-interruptions According 16750-2 Table Immunity Power Supply Micro-interruptions Test Operating Class 10µs micro-interruptions 100µs micro-interruptions micro-interruptions 50ms micro-interruptions 300ms micro-interruptions Rev. Page www.onsemi.com AMIS-30623 18.0 Package Outline 18.1 SOIC-20: Plastic small outline; leads; body width 300mil. AMIS reference: SOIC300 300G Rev. Page www.onsemi.com AMIS-30623 18.2 NQFP-32: lead Quad Flat Pack; pins; body size AMIS reference: NQFP-32 Dimensions: 0.576 0.25 0.24 5.37 5.37 0.35 2.185 0.02 0.615 0.203 0.42 6.75 6.75 0.65 5.47 5.47 0.05 0.654 0.35 5.57 5.57 0.45 2.385 Unit Degree Notes Dimensions applies plated terminal measured between 0.25 from terminal tip. indication must placed surface package using indentation mark other feature package body. Exact shape size this feature optional Applied exposed terminals. Exclude embedding part exposed from measuring. Applied only terminals Exact shape each corner optional NQFP Rev. Page www.onsemi.com AMIS-30623 19.0 Soldering 19.1 Introduction Soldering Surface Mount Packages This text gives very brief insight complex technology. more in-depth account soldering found AMIS "Data Handbook IC26; Integrated Circuit Packages" (document order number 9398 90011). There soldering method that ideal surface mount packages. Wave soldering always suitable surface mount ICs, printed-circuit boards with high population densities. these situations reflow soldering often used. 19.2 Re-flow Soldering Re-flow soldering requires solder paste suspension fine solder particles, flux binding agent) applied printed-circuit board screen printing, stencilling pressure-syringe dispensing before package placement. Several methods exist reflowing; example, infrared/convection heating conveyor type oven. Throughput times (preheating, soldering cooling) vary between seconds depending heating method. Typical re-flow peak temperatures range from 250°C. top-surface temperature packages should preferably kept below 230°C. 19.3 Wave Soldering Conventional single wave soldering recommended surface mount devices (SMDs) printed-circuit boards with high component density, solder bridging non-wetting present major problems. overcome these problems double-wave soldering method specifically developed. wave soldering used following conditions must observed optimal results: double-wave soldering method comprising turbulent wave with high upward pressure followed smooth laminar wave. packages with leads sides pitch (e): Larger than equal 1.27mm, footprint longitudinal axis preferred parallel transport direction printed-circuit board; Smaller than 1.27mm, footprint longitudinal axis must parallel transport direction printed-circuit board. footprint must incorporate solder thieves downstream end. packages with leads four sides, footprint must placed angle transport direction printedcircuit board. footprint must incorporate solder thieves downstream side corners. During placement before soldering, package must fixed with droplet adhesive. adhesive applied screen printing, transfer syringe dispensing. package soldered after adhesive cured. Typical dwell time four seconds 250°C. mildly-activated flux will eliminate need removal corrosive residues most applications. 19.4 Manual Soldering component first soldering diagonally-opposite leads. voltage (24V less) soldering iron applied flat part lead. Contact time must limited seconds 300°C. When using dedicated tool, other leads soldered operation within five seconds between 320°C. Rev. Page www.onsemi.com AMIS-30623 Table Soldering Process Package Soldering Method Wave Re-flow BGA, SQFP HLQFP, HSQFP, HSOP, HTSSOP, PLCC suitable suitable Suitable recommended recommended (3)(4) Suitable Suitable Suitable Suitable Suitable LQFP, QFP, TQFP SSOP, TSSOP, Notes: surface mount (SMD) packages moisture sensitive. Depending upon moisture content, maximum temperature (with respect time) body size package, there risk that internal external package cracks occur vaporization moisture them (the called popcorn effect). details, refer drypack information "Data Handbook IC26; Integrated Circuit Packages; Section: Packing Methods." These packages suitable wave soldering solder joint between printed-circuit board heatsink bottom version) achieved, solder stick heatsink version). wave soldering considered, then package must placed angle solder wave direction. package footprint must incorporate solder thieves downstream side corners. Wave soldering only suitable LQFP, TQFP packages with pitch equal larger than 0.8mm; definitely suitable packages with pitch equal smaller than 0.65mm. Wave soldering only suitable SSOP TSSOP packages with pitch equal larger than 0.65mm; definitely suitable packages with pitch equal smaller than 0.5mm. Rev. Page www.onsemi.com AMIS-30623 20.0 Company Product Inquiries more information about Semiconductor's products services visit site http://onsemi.com. 21.0 Document History Table Document history Version Date July 2002 December 2005 June 2006 June 2008 Modifications/Additions First non-preliminary issue Complete review Public release Move content Semiconductor template; update table Semiconductor registered trademarks Semiconductor Components Industries, (SCILLC). SCILLC reserves right make changes without further notice products herein. SCILLC makes warranty, representation guarantee regarding suitability products particular purpose, does SCILLC assume liability arising application product circuit, specifically disclaims liability, including without limitation special, consequential incidental damages. "Typical" parameters which provided SCILLC data sheets and/or specifications vary different applications actual performance vary over time. operating parameters, including "Typicals" must validated each customer application customer's technical experts. SCILLC does convey license under patent rights rights others. SCILLC products designed, intended, authorized components systems intended surgical implant into body, other applications intended support sustain life, other application which failure SCILLC product could create situation where personal injury death occur. Should Buyer purchase SCILLC products such unintended unauthorized application, Buyer shall indemnify hold SCILLC officers, employees, subsidiaries, affiliates, distributors harmless against claims, costs, damages, expenses, reasonable attorney fees arising directly indirectly, claim personal injury death associated with such unintended unauthorized use, even such claim alleges that SCILLC negligent regarding design manufacture part. SCILLC Equal Opportunity/Affirmative Action Employer. This literature subject applicable copyright laws resale manner. PUBLICATION ORDERING INFORMATION LITERATURE FULFILLMENT: Literature Distribution Center Semiconductor P.O. 5163, Denver, Colorado 80217 Phone: 303-675-2175 800-344-3860 Toll Free USA/Canada Fax: 303-675-2176 800-344-3867 Toll Free USA/Canada Email: orderlit@onsemi.com American Technical Support: 800-282-9855 Toll Free USA/Canada Europe, Middle East Africa Technical Support: Phone: 2910 Japan Customer Focus Center Phone: 81-3-5773-3850 Semiconductor Website: www.onsemi.com Order Literature: http://www.onsemi.com/orderlit additional information, please contact your local Sales Representative Rev. Page www.onsemi.com Other recent searchesUL497A - UL497A UL497A Datasheet MSS0907 - MSS0907 MSS0907 Datasheet MS0780 - MS0780 MS0780 Datasheet KL3N14 - KL3N14 KL3N14 Datasheet HT82K96A - HT82K96A HT82K96A Datasheet HER801 - HER801 HER801 Datasheet HER806 - HER806 HER806 Datasheet DS07-16506-1E - DS07-16506-1E DS07-16506-1E Datasheet
Privacy Policy | Disclaimer |