0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
NV705143R1DBGEVB

NV705143R1DBGEVB

  • 厂商:

    ONSEMI(安森美)

  • 封装:

    -

  • 描述:

    NCV70514 - Power Management, Motor Control, Stepper Evaluation Board

  • 数据手册
  • 价格&库存
NV705143R1DBGEVB 数据手册
ON Semiconductor Is Now To learn more about onsemi™, please visit our website at www.onsemi.com onsemi and       and other names, marks, and brands are registered and/or common law trademarks of Semiconductor Components Industries, LLC dba “onsemi” or its affiliates and/or subsidiaries in the United States and/or other countries. onsemi owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of onsemi product/patent coverage may be accessed at www.onsemi.com/site/pdf/Patent-Marking.pdf. onsemi reserves the right to make changes at any time to any products or information herein, without notice. The information herein is provided “as-is” and onsemi makes no warranty, representation or guarantee regarding the accuracy of the information, product features, availability, functionality, or suitability of its products for any particular purpose, nor does onsemi assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. Buyer is responsible for its products and applications using onsemi products, including compliance with all laws, regulations and safety requirements or standards, regardless of any support or applications information provided by onsemi. “Typical” parameters which may be provided in onsemi data sheets and/ or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. onsemi does not convey any license under any of its intellectual property rights nor the rights of others. onsemi products are not designed, intended, or authorized for use as a critical component in life support systems or any FDA Class 3 medical devices or medical devices with a same or similar classification in a foreign jurisdiction or any devices intended for implantation in the human body. Should Buyer purchase or use onsemi products for any such unintended or unauthorized application, Buyer shall indemnify and hold onsemi and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that onsemi was negligent regarding the design or manufacture of the part. onsemi is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. Other names and brands may be claimed as the property of others. Micro-stepping Motor Driver NCV70514 Description The NCV70514 is a micro−stepping stepper motor driver for bipolar stepper motors. The chip is connected through I/O pins and an SPI interface with an external microcontroller. The NCV70514 contains a current−translation table and takes the next micro−step depending on the clock signal on the “NXT” input pin and the status of the “DIR” (= direction) register or input pin. The chip provides an error message if stall, an electrical error, an under−voltage or an elevated junction temperature is detected. It is using a proprietary PWM algorithm for reliable current control. NCV70514 is fully compatible with the automotive voltage requirements and is ideally suited for general−purpose stepper motor applications in the automotive, industrial, medical, and marine environment. Due to the technology, the device is especially suited for use in applications with fluctuating battery supplies. • • • • • 1 1 32 QFN32, 5x5 CASE 488AM N70514−x FAWLYYWW G 32 QFNW32, 5x5 CASE 484AB • Dual H−bridge for 2−phase Stepper Motors • Programmable Peak−current up to 800 mA • Low Temperature Boost Current • • • • • MARKING DIAGRAM 1 Features • • • • • • www.onsemi.com N70514 F A WL YY WW G = Specific Device Code = Fab Location = Assembly Location = Wafer Lot = Year = Work Week = Pb−Free Package (available only for NCV70514MW007 device) On−chip Current Translator SPI Interface with Daisy Chain Capability 7 Step Modes from Full−step up to 32 Micro−steps Fully Integrated Current−sensing and Current−regulation On Chip Stall Detection ORDERING INFORMATION PWM Current Control with Automatic Selection of Fast and Slow See detailed ordering, marking and shipping information in the Decay package dimensions section on page 30 of this data sheet. Fixed PWM Frequency Active Fly−back Diodes Full Output Protection and Diagnosis Thermal Warning and Shutdown Compatible with 3.3 V Microcontrollers, 5 V Tolerant Inputs, 5 V Tolerant Open Drain Outputs Reset Function Overcurrent Protection Enhanced Under Voltage Management Step Mode Selection Inputs These Devices are Pb−Free, Halogen Free/BFR Free and are RoHS Compliant Typical Applications • • • • Small Positioning Applications Automotive (headlamp alignment, HVAC, idle control, cruise control) Industrial Equipment (lighting, fluid control, labeling, process control, XYZ tables, robots) Building Automation (HVAC, surveillance, satellite dish, renewable energy systems) © Semiconductor Components Industries, LLC, 2016 January, 2021 − Rev. 6 1 Publication Order Number: NCV70514/D NCV70514 TYPICAL APPLICATION SCHEMATIC The application schematic below shows typical connections for applications with low axis counts and/or with software SPI implementation. For applications with many stepper motor drivers, some “minimal wiring” examples are shown at the last sections of this datasheet. 100 nF VDD C4 R1 100 nF D1 100 nF C3 VBAT C1 C2 100 uF R2 VDD VBB VBB DIR R3 NXT R4 DO R11 uC MOTXP DI R5 NCV70514 CLK R6 MOTXN C5 CSB R7 MOTYP STEP0 R8 STEP1 R9 MOTYN ERRB R12 M C6 C7 C8 RHB R10 TST1 TST2 GND Figure 1. Typical Application Schematic Table 1. EXTERNAL COMPONENTS Component C1 Function VBB buffer capacitor (Note 1) Typ. Value Max Tolerance Unit 22 ... 100 ±20% mF C2, C3 VBB decoupling capacitor (Note 2) 100 ±20% nF C4 VDD decoupling capacitor (Note 3) 100 ±20% nF 1 ... 3.3 max ±20% nF 1..5 ±10% kW 1 ±10% kW 100 ±10% W C5, C6, C7, C8 R1, R2 Optional EMC filtering capacitor (Note 4) Pull up resistor R3 – R10 Optional resistors R11, R12 Optional resistors (Note 5) D1 Optional reverse protection diode e.g. MURD530 1. Low ESR < 4 W, mounted as close as possible to the NCV70514. Total decoupling capacitance value has to be chosen properly to reduce the supply voltage ripple and to avoid EM emission. 2. C2 and C3 must be close to pins VBB and coupled GND directly. 3. C4 must be a ceramic capacitor to assure low ESR. 4. Optional capacitors for improvement of EMC and system ESD performance. The slope times on motor pins can be longer than specified in the AC table. 5. Value depends on characteristics of mC inputs for DO and ERRB signals. www.onsemi.com 2 NCV70514 VDD Timebase CLK CSB DI VBB Internal voltage regulator 3.3 V STALL EMC T R A N S L A T O R TSD SPI Open/ Short DO NXT Logic & Registers DIR OTP STEP0 P W M I−sense EMC P W M I−sense STEP1 POR RHB UV detect ERRB TST1 TST2 Band− gap Figure 2. Block Diagram www.onsemi.com 3 NCV70514 GND MOTXP MOTXN MOTYP MOTYN NCV70514 PACKAGE AND PIN DESCRIPTION 32 31 30 29 28 27 26 25 GNDP GNDP MOTXN MOTXN MOTYN MOTYN GNDP GNDP 1 MOTXP MOTYP 24 2 MOTXP MOTYP 23 VBB 22 VBB 21 NC 20 STEP0 DIR 19 7 STEP1 RHB 18 8 CSB NXT 17 9 10 11 12 13 14 15 CLK DI 6 TST2 NC TST1 5 QFN32 5x5 GND VBB VDD 4 ERRB VBB DO 3 16 Figure 3. Pin Connections – QFN32 5x5 Table 2. PIN DESCRIPTION Pin No. QFN32 5x5 Pin Name Description Positive end of phase X coil I/O Type 1, 2 MOTXP 3, 4, 21, 22 VBB Battery voltage supply Driver output 5, 20 NC Not Connected 6 STEP0 Step mode selection input 0 Digital Input 7 STEP1 Step mode selection input 1 Digital Input 8 CSB SPI chip select input Digital Input Supply 9 DI SPI data input 10 DO SPI data output (Open Drain) Digital Output Digital Input 11 ERRB Error Output (Open Drain) Digital Output 12 VDD Internal supply (needs external decoupling capacitor) Supply 13 GND Ground Supply 14 TST1 Test pin input (to be tied to ground in normal operation) Digital Input 15 TST2 Test pin input (to be tied to ground in normal operation) Digital Input 16 CLK SPI clock input Digital Input 17 NXT Next micro−step input Digital Input 18 RHB Run/Hold Current selection input Digital Input 19 DIR Direction input Digital Input 23, 24 MOTYP Positive end of phase Y coil Driver output 25, 26, 31, 32 GNDP 27, 28 MOTYN Negative end of phase Y coil Driver output 29, 30 MOTXN Negative end of phase X coil Driver output Ground Supply www.onsemi.com 4 NCV70514 Table 3. ABSOLUTE MAXIMUM RATINGS Characteristic Symbol Min Supply voltage (Note 6) VBB Digital input/outputs voltage VIO Junction temperature range (Note 7) Storage Temperature (Note 8) Max Unit −0.3 +40 V −0.3 +6.0 V Tj −45 +175 °C Tstrg −55 +160 °C HBM Electrostatic discharge voltage (Note 9) Vesd_hbm −2 +2 kV System Electrostatic discharge voltage (Note 10) Vsyst_esd −8 +8 kV Stresses exceeding those listed in the Maximum Ratings table may damage the device. If any of these limits are exceeded, device functionality should not be assumed, damage may occur and reliability may be affected. 6. VBB Max is +43 V for limited time 50% (top regulation) to maintain the requested average current in the coils. This process is |Icoil| Duty Cycle < 50% Duty Cycle > 50% Duty Cycle < 50% Actual value Set value 0 tpwm Bit T/B Bottom reg. Bit T/B = 0 Top reg. Bit T/B = 1 Figure 9. Automatic Duty Cycle Adaptation www.onsemi.com 12 Bottom reg. Bit T/B = 0 NCV70514 Step Translator Step Mode position are set to “0”. This means that the position in the current table moves to the right and in the case that micro−step position of desired new resolution does not overlap the micro−step position of current resolution, the closest value up or down in required column is set depending on the direction of rotation. When the micro−step resolution is increased, then the corresponding least−significant bits of the translator position are added as “0”: the micro−step position moves to the left on the same row. In general any change of SPI bits or STEP0 and STEP1 pins have no effect on current micro−step position without consequent occurrence of NXT pulse or SPI command. (see NXT input timing below). When NXT pulse or SPI command arrives, the motor moves into next micro−step position according to the current SPI bits value and STEP0, STEP1 pins level set. The step translator provides the control of the motor by means of SPI register step mode: SM[2:0], SPI bits DIRP, RHBP and input pins STEP0, STEP1, DIR (direction of rotation), RHB (run/hold of motor) and NXT (next pulse). It is translating consecutive steps in corresponding currents in both motor coils for a given step mode. One out of seven possible stepping modes can be selected through SPI−bits SM[2:0] and pins STEP0, STEP1. Device takes the value from SPI−bits SM[2:0] and increases StepMode value with adding binary information from STEP0, STEP1 pins. After power−on or hard reset, the coil−current translator is set to the default to 1/32 micro−stepping at position ‘16*’. When remaining in the default step mode, subsequent translator positions are all in the same column and increased or decreased with 1. Table 9 lists the output current versus the translator position. When the micro−step resolution is reduced, then the corresponding least−significant bits of the translator www.onsemi.com 13 NCV70514 Table 9. CIRCULAR TRANSLATOR TABLE Step mode SM[2:0] % of Imax 000 001 010 011 100 MSP[6:0] 1/32 1/16 1/8 1/4 1/2 000 0000 0 0 0 0 0 0 000 0001 1 − − − − 000 0010 2 1 − − − 000 0011 3 − − − 000 0100 4 2 1 000 0101 5 − 000 0110 6 Step mode SM[2:0] % of Imax 000 001 010 011 100 MSP[6:0] 1/32 1/16 1/8 1/4 1/2 100 100 0000 64 32 16 8 4 0 −100 4.9 99.9 100 0001 65 − − − − −4.9 −99.9 9.8 99.5 100 0010 66 33 − − − −9.8 −99.5 − 14.7 98.9 100 0011 67 − − − − −14.7 −98.9 − − 19.5 98.1 100 0100 68 34 17 − − −19.5 −98.1 − − − 24.3 97 100 0101 69 − − − − −24.3 −97 3 − − − 29 95.7 100 0110 70 35 − − − −29 −95.7 Coil Y Coil X Coil Y Coil X 000 0111 7 − − − − 33.7 94.2 100 0111 71 − − − − −33.7 −94.2 000 1000 8 4 2 1 − 38.3 92.4 100 1000 72 36 18 9 − −38.3 −92.4 000 1001 9 − − − − 42.8 90.4 100 1001 73 − − − − −42.8 −90.4 000 1010 10 5 − − − 47.1 88.2 100 1010 74 37 − − − −47.1 −88.2 000 1011 11 − − − − 51.4 85.8 100 1011 75 − − − − −51.4 −85.8 000 1100 12 6 3 − − 55.6 83.1 100 1100 76 38 19 − − −55.6 −83.1 000 1101 13 − − − − 59.6 80.3 100 1101 77 − − − − −59.6 −80.3 000 1110 14 7 − − − 63.4 77.3 100 1110 78 39 − − − −63.4 −77.3 000 1111 15 − − − − 67.2 74.1 100 1111 79 − − − − −67.2 −74.1 001 0000 16(*) 8 4 2 1 70.7 70.7 101 0000 80 40 20 10 5 −70.7 −70.7 001 0001 17 − − − − 74.1 67.2 101 0001 81 − − − − −74.1 −67.2 001 0010 18 9 − − − 77.3 63.4 101 0010 82 41 − − − −77.3 −63.4 001 0011 19 − − − − 80.3 59.6 101 0011 83 − − − − −80.3 −59.6 001 0100 20 10 5 − − 83.1 55.6 101 0100 84 42 21 − − −83.1 −55.6 001 0101 21 − − − − 85.8 51.4 101 0101 85 − − − − −85.8 −51.4 001 0110 22 11 − − − 88.2 47.1 101 0110 86 43 − − − −88.2 −47.1 001 0111 23 − − − − 90.4 42.8 101 0111 87 − − − − −90.4 −42.8 001 1000 24 12 6 3 − 92.4 38.3 101 1000 88 44 22 11 − −92.4 −38.3 001 1001 25 − − − − 94.2 33.7 101 1001 89 − − − − −94.2 −33.7 001 1010 26 13 − − − 95.7 29 101 1010 90 45 − − − −95.7 −29 001 1011 27 − − − − 97 24.3 101 1011 91 − − − − −97 −24.3 001 1100 28 14 7 − − 98.1 19.5 101 1100 92 46 23 − − −98.1 −19.5 001 1101 29 − − − − 98.9 14.7 101 1101 93 − − − − −98.9 −14.7 001 1110 30 15 − − − 99.5 9.8 101 1110 94 47 − − − −99.5 −9.8 001 1111 31 − − − − 99.9 4.9 101 1111 95 − − − − −99.9 −4.9 010 0000 32 16 8 4 2 100 0 110 0000 96 48 24 12 6 −100 0 010 0001 33 − − − − 99.9 −4.9 110 0001 97 − − − − −99.9 4.9 010 0010 34 17 − − − 99.5 −9.8 110 0010 98 49 − − − −99.5 9.8 010 0011 35 − − − − 98.9 −14.7 110 0011 99 − − − − −98.9 14.7 010 0100 36 18 9 − − 98.1 −19.5 110 0100 100 50 25 − − −98.1 19.5 010 0101 37 − − − − 97 −24.3 110 0101 101 − − − − −97 24.3 010 0110 38 19 − − − 95.7 −29 110 0110 102 51 − − − −95.7 29 *Default position after reset of the translator position. www.onsemi.com 14 NCV70514 Table 9. CIRCULAR TRANSLATOR TABLE Step mode SM[2:0] % of Imax 000 001 010 011 100 MSP[6:0] 1/32 1/16 1/8 1/4 1/2 010 0111 39 − − − − 94.2 010 1000 40 20 10 5 − 010 1001 41 − − − − 010 1010 42 21 − − 010 1011 43 − − 010 1100 44 22 010 1101 45 010 1110 010 1111 Step mode SM[2:0] % of Imax 000 001 010 011 100 MSP[6:0] 1/32 1/16 1/8 1/4 1/2 Coil Y Coil X −33.7 110 0111 103 − − − − −94.2 33.7 92.4 −38.3 110 1000 104 52 26 13 − −92.4 38.3 90.4 −42.8 110 1001 105 − − − − −90.4 42.8 − 88.2 −47.1 110 1010 106 53 − − − −88.2 47.1 − − 85.8 −51.4 110 1011 107 − − − − −85.8 51.4 11 − − 83.1 −55.6 110 1100 108 54 27 − − −83.1 55.6 − − − − 80.3 −59.6 110 1101 109 − − − − −80.3 59.6 46 23 − − − 77.3 −63.4 110 1110 110 55 − − − −77.3 63.4 47 − − − − 74.1 −67.2 110 1111 111 − − − − −74.1 67.2 011 0000 48 24 12 6 3 70.7 −70.7 111 0000 112 56 28 14 7 −70.7 70.7 011 0001 49 − − − − 67.2 −74.1 111 0001 113 − − − − −67.2 74.1 011 0010 50 25 − − − 63.4 −77.3 111 0010 114 57 − − − −63.4 77.3 011 0011 51 − − − − 59.6 −80.3 111 0011 115 − − − − −59.6 80.3 011 0100 52 26 13 − − 55.6 −83.1 111 0100 116 58 29 − − −55.6 83.1 011 0101 53 − − − − 51.4 −85.8 111 0101 117 − − − − −51.4 85.8 011 0110 54 27 − − − 47.1 −88.2 111 0110 118 59 − − − −47.1 88.2 011 0111 55 − − − − 42.8 −90.4 111 0111 119 − − − − −42.8 90.4 011 1000 56 28 14 7 − 38.3 −92.4 111 1000 120 60 30 15 − −38.3 92.4 011 1001 57 − − − − 33.7 −94.2 111 1001 121 − − − − −33.7 94.2 011 1010 58 29 − − − 29 −95.7 111 1010 122 61 − − − −29 95.7 011 1011 59 − − − − 24.3 −97 111 1011 123 − − − − −24.3 97 011 1100 60 30 15 − − 19.5 −98.1 111 1100 124 62 31 − − −19.5 98.1 011 1101 61 − − − − 14.7 −98.9 111 1101 125 − − − − −14.7 98.9 011 1110 62 31 − − − 9.8 −99.5 111 1110 126 63 − − − −9.8 99.5 011 1111 63 − − − − 4.9 −99.9 111 1111 127 − − − − −4.9 99.9 Coil Y Coil X *Default position after reset of the translator position. modes. Changing from one full step mode to another full step mode will always result in a “45deg step−back or forward” depending on the DIR bit. For example: in the table below, when changing full step mode (positioner is on a particular row and full step column), then the new full step location will be one row above or below in the adjacent “full step column”. The step−back and forward is executed after the NXT pulse. Besides the micro−step modes listed above, also two full step modes are implemented. Full step mode 1 activates always only one coil at a time, whereas mode 2 always keeps 2 coils active. The table below lists the output current versus the translator positions for these cases and Figure 10 shows the projection on a square. Changing between micro−step mode and full step modes follows a similar scheme as changes between micro−step www.onsemi.com 15 NCV70514 Table 10. SQUARE TRANSLATOR TABLE FOR FULL STEP Step mode ( SM[2:0] ) % of Imax 101 or 110 111 MSP[6:0] Full Step1 Full Step2 Coil x Coil y 000 0000 0 − 100 0 001 0000 − 0 71 71 010 0000 1 − 0 100 011 0000 − 1 −71 71 100 0000 2 − −100 0 101 0000 − 2 −71 −71 110 0000 3 − 0 −100 111 0000 − 3 71 −71 Iy Iy Iy 1 3 1 2 0 1 0 Ix 2 0 Ix Ix 2 3 3 th 1/4 Micro −step SM [2:0] = 01 1 Full Step 1 SM [2:0] = 101 Full Step 2 SM [2:0] = 111 Figure 10. Translator Table: Circular and Square Translator Position Positive direction of rotation means counter−clockwise rotation of electrical vector Ix + Iy. Also when the motor is disabled (=0), both the DIR pin and will have an effect on the positioner. The logic state of the DIR pin is visible as a flag in SPI status register. The translator position can be read in the SPI register . This is a 7−bit number equivalent to the 1/32th micro−step from : Circular Translator Table. The translator position is updated immediately following a next micro−step trigger (see below). Next Micro−Step Trigger Positive edges on the NXT input − or activation of the “NXT pushbutton” in the SPI input register − will move the motor current one step up/down in the translator table. The bit in SPI is used to move positioner one (micro−)step by means of only SPI commands. If the bit is set to “1”, it is reset automatically to “0” after having advanced the positioner with one micro−step. NXT Update Translator Position Update Translator Position Figure 11. Translator Position Timing Diagram Trigger “Next micro−step” = (positive edge on NXT−pin) OR (=1) Direction The direction of rotation is selected by means of input pin DIR and its “polarity bit” (SPI register). The polarity bit allows changing the direction of rotation by means of only SPI commands instead of the dedicated input pin. • Also when the motor is disabled (=0), • Direction = DIR−pin EXOR NXT/DIR/RHB functions will move the positioner according to the logic. In order to be sure that both the NXT pin and the SPI command are individually attended, the following non overlapping zone has to be respected. In this case it is guaranteed that both triggers will have effect (2 steps are taken). www.onsemi.com 16 NCV70514 or SPI command only. On the other hand, the SPI bits , and can change state at the same time in the same SPI command: the next micro−step will be applied with the new settings. 0.8 V CC CSB tCSB _LO_WIDTH IRUN, IHOLD and “Run / Not Hold” Mode ÏÏÏÏ ÏÏÏÏ NXT The RHB input pin and it’s “polarity bit” (SPI register) allow to switch the driver between “Run Mode” and “Hold Mode”. 0.2 VCC Figure 12. NXT Input Non Overlapping Zone with the SPI Command t NXT_HI “Run Mode” = NOT(“Hold Mode”) = RHB−pin EXOR • In “Run mode”, the current translator table is stepped t NXT_LO 0.5VCC NXT ÌÌ ÌÌ ÌÌ ÌÌ ÌÌ t DIR_SET t DIR_HOLD DIR VALID STEPx VALID ÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌ Figure 13. NXT Input Timing Diagram For control by means of I/O’s, the NXT pin operation with respect to DIR, STEP0 and STEP1 pins should be in a non−overlapped way. See also the timing diagram below (refer to the AC table for the timing values). The STEP0 and STEP1 pins or SPI bits setting, when changed, is accepted upon the consequent either NXT pin rising edge through based on the “NXT & DIR” commands. The amplitude of the motor current (=Imax) is set by SPI control register . • In “Hold mode”, NXT & DIR will have no effect and the position in the current translator table is maintained. The motor current amplitude is set by SPI control register . By setting bit in NCV70514MW007 device in SPI Control register 4A, the current table will be changed from 800 mA peak current range to 1.1 A peak current range. All currents will scale proportionally according to the following table. The boost function can be activated at temperatures below thermal warning temperature TW. Above thermal warning temperature TW, the boost function is automatically disabled and current is decreased to unboosted level. Status of the boost function can be read in SPI bit. Thermal profile and mission profile must be checked by ON Semiconductor to guarantee the reliability. The run and hold current settings correspond to the following current levels: Table 11. IRUN AND IHOLD VALUES (4BIT) NOTE: Register Value Peak Motor Current IRUN (mA) Iboost = 0 Peak Motor Current IRUN (mA) Iboost = 1 Peak Motor Current IHOLD (mA) Iboost = 0 Peak Motor Current IHOLD (mA) Iboost = 1 0 59 81 0 0 1 71 98 59 81 2 84 116 71 98 3 100 138 84 116 4 119 164 100 138 5 141 194 119 164 6 168 231 141 194 7 200 275 168 231 8 238 327 200 275 9 283 389 238 327 A 336 462 283 389 B 400 550 336 462 C 476 655 400 550 D 566 778 476 655 E 673 925 566 778 F 800 1100 673 925 During hold with a hold current of 0 mA the stall and motion detection and the open coil detection are disabled. The PWM duty cycle registers will present 0% duty cycle. www.onsemi.com 17 NCV70514 Whenever or is changed, the new coil currents will be updated immediately at the next PWM period. In case the motor is disabled (=0), the logic is functional and both RHB pin and bit will have effect on NXT/DIR operation (not on the H−bridges). When the chip is in sleep mode, the logic is not functional and as a result, the RHB pin will have no effect. The logic state of the RHB pin is visible as a flag in SPI status register. Note: The hard−reset function is embedded in the “Hold mode” by means of a special sequence on the DIR pin, see also Hard−Reset Function chapter. Table 12. UV1/2 THRESHOLDS SETTINGS (4BIT) Under−voltage Detection The NCV70514 has three UV threshold levels. Two higher threshold levels are programmable over SPI register UVxThr, third threshold level is fixed. Each UV level has its own flag readable via SPI and can create interrupt to microcontroller when dedicated bit of interrupt enable register is set. All interrupt sources UV’s, BEMF, etc. are grouped into single interrupt line (pin) ERRB. When supply voltage VBB drops under dedicated UVx level, several actions are performed. • UV1 level – no action inside device regarding to H−bridges – only when UV1IntEn interrupt enable bit is set, ERRB pin is pulled down. Microcontroller needs to do action like Soft stop, etc based on this interrupt. • UV2 level – when UV2IntEn interrupt enable bit is set, ERRB pin is pulled down. When UV2MIntEn interrupt enable bit is set, the ERRB pin is pulled down in the moment NXP pulse comes, the device then stops executing NXT pulses and starts counting them in Step loss counter . • UV3 level – device each time disables H−Bridge drivers ( = 0). When UV3IntEn interrupt enable bit is set, ERRB pin is pulled down. When UV3MIntEn interrupt enable bit is set, the ERRB pin is pulled down in the moment NXP pulse comes, the device then stops executing NXT pulses and starts counting them in Step loss counter . UVxThr Index UV1/2 Threshold Level (V) 0 5.98 1 6.31 2 6.65 3 6.98 4 7.31 5 7.64 6 7.97 7 8.31 8 8.64 9 8.97 A 9.3 B 9.63 C 9.97 D 10.3 E 10.63 F 10.96 Stall and Motion Detection Motion detection is based on the Back Electromotive Force (BEMF or back emf) generated into the running motor. When the motor is blocked, e.g. when it hits the end−position, the velocity and as a result also the generated back emf, is disturbed. The NCV70514 measures the back emf during the current zero crossing phase and makes it available in the SPI status register 4. The back emf voltage is measured several times in each PWM cycle during zero crossing phase. Samples taken during PWM ON phase of the switches in the second coil are discarded not to add noise to measurement (see Figure 14). Results are then converted into a 5−bits word with the following formula: BEMF_code(dec) + ǒǓ 5 V_MOT_XorY_diff(V) @ Gain @ 5 @ 2 4 2.41 When the result is ready, it is indicated by bit in status register. When using normal mode of back emf measurement ( = 0), last sample before end of current zero crossing phase becomes available in register (see the red circle on Figure 14). When the enhanced back emf measurement mode is set by bit, all non discarded results are continuously available in register (see red and all black circles on Figure 14). This allows microcontroller Only if the =0 the motor can be enabled again by writing =1 in the control register 1. Note: The change of DIR and step mode will not be taken into account in Step loss counter. Step loss register range is 7 bits => 0 to 127 NXT pulses, no overflow, keeping the counter at maximum value of 127 if more than 127 NXT pulses are received. www.onsemi.com 18 NCV70514 stall bit cleared, the chip reacts on “Next Micro−step Triggers” only after direction has changed its state at least once. An additional feature of the NCV70514 is the detection of uncontrolled motion during Hold. If the stall detection is enabled and the hold position is at full steps (full step mode1, 0°, 90°, 180°, 270°) with only excitation of one coil, the NCV70514 is checking upon back emf voltages higher than or equal to the threshold. If this voltage is detected, it indicates there is a motor movement. The stall bit in the SPI register is set and the ERRB pin is pulled down. The motion detection during hold does not work for IHold 0 A. Notes: 1. Used stall detection is covered by patent US 8,058,894B2 2. As the stall threshold register is 4 bits wide, the 4 MSBs of 5−bit register are taken for comparison. Stall detection and Bemf measurement are performed only when Speed register value is less than or equal to Speed threshold register value . Range and resolution of Speed register and Speed threshold register are 0 to 5100 ms and 20 ms/digit for half stepping mode. Accuracy of speed (time) measurement is given by the accuracy of the internal oscillator. If measured back emf voltage has not expected polarity, the back emf sign flag is set. Motor pin, where lower voltage is expected, is tied to GND by pull down current. Sign is determined by comparator, which compares the polarity of voltage measured over the coil with expected polarity of voltage. (when reading content of the register fast enough) to follow back emf signal and its shape during zero crossing phase and use more complex algorithms to optimize the work of driven stepper motor. I coil X Ideal Coil Current 0 Real Coil Current Current Decay Zero crossing position (0;64) NXT V MXP/MXN MXN MXN V MYP/MYN t NXT Pins MXP/MXN in HiZ state VBB + 0.6 V Voltage Transient MYP MYP MYP MYP MYP MXP MXP MXP VBEMF MYP t t BEMF sampling t Figure 14. Back emf Sampling For slow speed or when a motion ends at a full step position (there is an absence of next NXT trigger), the end of the zero crossing is taking too long or is non−existing. In this case, the back emf voltage is taken the latest at “stall time−out” time and this value is used also for comparison with stall threshold to detect stall situation in run mode or movement in hold mode. The “stall time−out” is set in SPI by means of register and is expressed in counts of 4/fpwm (See AC Table), roughly in steps of 0.2 ms. If = 0, time−out is not active. At the end of the current zero crossing phase the internal circuitry compares measured back emf voltages with register, which determines threshold for stall detection. The last sample of back emf taken before end of zero crossing phase is used for stall detection in normal mode as well as in enhanced back emf mode. When = 0 then stall detection is disabled. When value of is different from 0 and measured back emf signal is lower than threshold for 2 succeeding coil current zero−crossings (including both X and Y coil), then the bit in SPI status register 1 is set, the current translator table goes 135 degrees in opposite direction and the ERRB pin is pulled down, Irun is maintained. The stall bit is cleared by reading the status register 1, also the ERRB pin becomes inactive again. With H-bridge HiZ state VXP VXN V BEMF NXT XN NXT XP 2 mA BEMF polarity Expected polarity XOR Bemfs Figure 15. Back emf Sign Value The last measured back emf value , sign flag and coil where the last back emf sample was taken can be read out via SPI. www.onsemi.com 19 NCV70514 Open & Short circuit Automatic Diagnostic Table 13. STALL THRESHOLDS SETTINGS (4BIT) StThr index StThr Level (V) StThr Level (V) BemfGain = 1 BemfGain = 0 0 Disable Disable 1 0.48 0.24 2 0.96 0.48 3 1.44 0.72 4 1.92 0.96 5 2.4 1.2 6 2.88 1.44 7 3.36 1.68 8 3.84 1.92 9 4.32 2.16 A 4.8 2.4 B 5.28 2.64 C 5.76 2.88 D 6.24 3.12 E 6.72 3.36 F 7.2 3.6 The auto−diagnostic is executed after each power up, or when enabling the H−bridge (=0 → =1) in case the bit would be programmed to one (see SPI table, control register 0x03, bit 6). During the auto−diagnostic sequence, the device makes use of internal pull−ups and pull−downs (see Figure 16) to test the connections at the XP, XN, YP, YN pins with weak currents. This mechanism guarantees a very wide coverage; however, some conditions are reported as multiple failure source detections. This is due to the impossibility to discern between the two cases from electrical point of view. Details of failures combination coverage by the automatic diagnostic for the X coil are shown in Figure 14. The same is applicable for Y coil. Any short circuit detection disables the output H−bridges ( = 0) and does not allow the device to automatically proceed to “normal mode”. To permit entering normal mode, the registers involved must be cleared out by SPI reading and the error condition removed prior enabling again the outputs ( set to “1”). The dead time for automatic diagnostic routine is 2 ms (*). The automatic diagnostic is interrupted when the supply voltage drops below UV3 level. Note: (*): For a controlled start of the automatic diagnostics, the user has to place the motor driver in high impedance state by setting the bit to ‘0’. After setting the bit to ‘1’, there is a need for an additional delay time. This is needed for recirculation of the motor current. An average time of approximately 2 ms is needed. This time has to be taken into account by the user. Warning, Error Detection and Diagnostics Feedback Open & Short Circuit Diagnostic The NCV70514 stepper driver features an enhanced diagnostic detection and feedback, to be read by the external microcontroller unit (MCU). Among the main items of interest for the application and typical failures, are open coil and the short circuit condition, which may be to ground (chassis), or to supply (battery line). To serve this purpose two diagnostic modes are available in the device. The first is called “Automatic Diagnostic” and is executed after each power−up sequence. In addition, by a specific bit setting, it can be enabled after any output (H−bridge) activation. The other mode is defined as “User Diagnostic” or “Normal Mode Diagnostic” and consists in applying activation sequences directly from the MCU and read back the consequent status via the proper device registers. X or Y H-bridge PT P ref. PB NT N NB ref. Figure 16. Automatic Diagnostic www.onsemi.com 20 NCV70514 Table 14. DIAGNOSTICS OPEN/SHORT DETECTION Fault condition SR1[5:4] = {SHORT, OPEN} SR7A[6] = {OPENX,L} SR7A[3] = {SHRTXPB} No short, No open coil – unique detection 0, 0 0 0 0 0 0 Short XP and/or XN top side, no open coil; Short XP and XN top side and open coil 1, 0 0 0 0 1 1 Short XP and/or XN bottom side, no open coil; Short XP and XN bottom side and open coil 1, 1 1 1 1 0 0 No short or short XN bottom side, open coil 1, 1 1 0 1 0 0 Short XP top side, open coil 1, 1 1 0 0 1 0 Short XN top side and short XP bottom side, open coil 1, 1 1 1 0 0 1 Short XN top side, open coil 1, 1 1 0 0 0 1 Open & Short circuit User Diagnostic Table 15. MAXIMUM VELOCITIES FOR OPEN COIL DETECTION Speed [FS/s] for given 00 01 10 Full Step1 200 40 20 5 Full Step2 400 80 40 10 1/2 300 60 30 7.5 1/4 350 70 35 8.8 1/8 375 75 37.5 9.4 1/16 387.5 77.5 38.8 9.7 1/32 393.8 78.8 39.4 9.8 SR7A[0] = {SHRTXNT} H−bridges are disabled (=0) in case of Open coil detection. When bit is set, drivers remain active for both coils independently of bit. The short circuit detection monitors the load current in each activated output stage. The current is measured in terms of voltage drop over the MOSFETS’ RDS(ON). If the load current exceeds the over−current detection threshold, then the over−current flag is set and the drivers are switched off to protect the integrated circuit. Each driver stage has an individual detection bit for the N side and the P side. When short circuit is detected, is set to 0. The positioner, the NXT, RHB, STEP0, STEP1 and DIR stay operational. The flag (result of OR−ing the latched flags: OR OR OR OR OR OR OR ) is reset when the microcontroller reads out the short circuit status flags in status registers 7A and 8A. To enable the motor again after reading out of the status flags, =1 has to be written. Depending on the bit, Automatic diagnostic can be performed after enabling the outputs (H−bridges) prior to going to normal mode operation. Notes: 1. Successive reading of the flags and re−enabling the motor in case of a short circuit condition may lead to damage of the drivers. 2. Example: SHRTXPT means: Short at X coil, Positive output pin, Top transistor. 3. In case of the short from any stepper motor pin to the top side during switching event from bottom to top on motor pin, the flag “short to bottom side” is set instead of the expected “short to top side” flag. When in normal mode, the device will continuously check upon errors with respect to the expected behavior. The open load condition is determined by the fact that the PWM duty cycle keeps 100% value for a time longer than set by register. This is valid of course only for the X/Y coil where the current is supposed to circulate, meaning that in full step positions (MSP[6:0] = {0; 32; 64; 96} (dec)) the open load can be detected only for one of the coil at a time (respectively {X; Y; X; Y}). The same reasoning applies for the short circuits detection. Due to the timeout value set by , the open coil detection is dependent on the motor speed. In more detail, there is a maximum speed at which it can be done. Table 15 specifies these maxima for the different step modes. For practical reasons, all values are given in full steps per second. Step Mode SR7A[2] = SR7A[1] = {SHRTXNB} {SHRTXPT} 11 When Open coil condition is detected, the appropriate bit ( or ) together with bit in the SPI status register are set. Reaction of the H−bridge to Open coil condition depends on the settings of and bits. When both and bits are 0, bit stays in 1 and only H−bridge where open coil is detected is disabled. When bit is set, both Thermal Warning and Shutdown When junction temperature is above Ttw, the thermal warning bit is set (SPI register) and the ERRB pin is www.onsemi.com 21 NCV70514 after a power−on or hard reset and can also be activated by means of SPI bit . In sleep−mode, all analog circuits are suspended in low−power and all digital clocks are stopped: SPI communication is impossible. The motor driver is disabled (even if =1), the content of all logic registers is maintained (including , and ), all logic output pins are disabled (ERRB has no function) and none of the input pins are functional with the exception of pin CSB. Only this pin can wake−up the chip to normal mode (i.e. clear bit ) by means of a “high−to−low voltage” transition. After wake−up, time twu (see AC Table) is needed to restore analog and digital clocks and to bring SPI communication within specification. Notes: • The hard−reset function is disabled in sleep mode. • The thermal shutdown function will be “frozen” during sleep mode and re−activated at wake−up. This is important in case bit =1 was cleared already by the micro and was not “0” yet. • The CSB low pulse width has to be within tcsb_with, (see AC Table) to guarantee a correct wake−up. pulled down (*). If junction temperature increases above thermal shutdown level, then also the flag is set, the ERRB pin is pulled down, the motor is disabled ( = 0) and the hardware reset is disabled. If Tj < Ttw level and bit has been read−out, the status of is cleared and the ERRB pin is released. Only if the ==0, the motor can be enabled again by writing =1 in the control register 1. During the over temperature condition the hardware reset will not work until Tj < Ttw and the readout is done. In this way it is guaranteed that after a =1 event, the die−temperature decreases back to the level of . Note: (*): During the situation the motor is not disabled while the ERRB is pulled down. To be informed about other error situations it is recommended to poll the status registers on a regular base (time base driven by application software in the millisecond domain). SPI Framing Error The SPI transmission is continuously monitored for correct amounts of incoming data bits. If within one frame of data the number of SPI CLK high transitions is not equal to a multiple of 16 (16,32,48,...), then the SPI error bit in the status register is set and the ERRB pin goes low to indicate this error to the micro controller. During this fault condition the incoming data are not loaded into the internal registers and the transmit shift register is not loaded with the requested data. The status of the SPI framing error is reset by an errorless received frame requesting for the motor controller status register 0. This request will reset the SPI error bit and releases the ERRB pin (high). Power−on Reset, Hard−Reset Function After a power−on or a hard−reset, a flag in the SPI status register is set and the ERRB is pulled low. The ERRB stays low during this reset state. The typical power−on reset time is given by thr_err (Table 7 − AC PARAMETERS). After the reset state the device enters sleep mode and the ERRB pin goes high to indicate the motor controller is ready for operation. By means of a specific pattern on the DIR pin during the “Hold Mode”, the complete digital part of driver can be reset without a power−cycle. This hard−reset function is activated when the input pin DIR changes logic state “0 → 1 → 0 → 1” within thr_trig in five consecutive patterns during “Hold Mode”. See figure below and Table 7 − AC PARAMETERS. With the device NCV70514MW007, the DIR change pattern can be alternatively created via the bit in SPI control register 1. The operation of all analog circuits is suspended during the reset state of the digital. Similar as for a normal power−on, the flag is set in the SPI register after a hard−reset and the ERRB pin is pulled low during thr_err (Table 7 − AC PARAMETERS). To enable the motor controller to perform a proper self diagnosis, it is recommended that the motor is in “Hold Mode” before the hard reset is generated. The minimum time (thr_set) between the beginning of “Hold Mode” and the first rising edge of the DIR pin is given in Table 7 − AC PARAMETERS. Error Output This is an open drain output to flag a problem to the external microcontroller. The signal on this output is active low and the logic combination of: NOT(ERRB) = ( OR OR OR OR OR OR OR (BemfIntEn AND BemfRes) OR (UV1IntEn AND UV1) OR (UV2IntEn AND UV2) OR (UV2MIntEn AND UV2M) OR (UV3IntEn AND UV3) OR (UV3MIntEn AND UV3M) OR (*)reset state) AND not (**)sleep mode Note: (*) reset state: After a power−on or a hard−reset, the ERRB is pulled low during thr_err (Table 7 − AC PARAMETERS). Note: (**) sleep mode: In sleep mode the ERRB is always inactive (high). Sleep Mode The motor driver can be put in a low−power consumption mode (sleep mode). The sleep mode is entered automatically www.onsemi.com 22 NCV70514 thr_trig DIR thr_set t hr_dir HOLD MODE RHB thr_err ERRB Figure 17. Hard Reset Timing Diagram SPI INTERFACE DO and DI. The DO signal is the output from the Slave (NCV70514), and the DI signal is the output from the Master. A slave or chip select line (CSB) allows individual selection of a slave SPI device in a time multiplexed multiple−slave system. The CSB line is active low. If an NCV70514 is not selected, DO is in high impedance state and it does not interfere with SPI bus activities. Since the NCV70514 always clocks data out on the falling edge and samples data in on rising edge of clock, the MCU SPI port must be configured to match this operation. The serial peripheral interface (SPI) is used to allow an external microcontroller (MCU) to communicate with the device. NCV70514 acts always as a slave and it cannot initiate any transmission. The operation of the device is configured and controlled by means of SPI registers, which are observable for read and/or write from the master. The NCV70514 SPI transfer size is 16 bits. During an SPI transfer, the data is simultaneously transmitted (shifted out serially) and received (shifted in serially). A serial clock line (CLK) synchronizes shifting and sampling of the information on the two serial data lines: BYTE 1 BYTE 2 DI Data [7:0] DI Addr [3:0] DI Addr [7:4] CS CLK DI MSB 6 5 4 3 2 1 LSB MSB 6 5 4 3 2 1 LSB DO MSB 6 5 4 3 2 1 LSB MSB 6 5 4 3 2 1 LSB Figure 18. SPI Frame Structure The implemented SPI allows connection to multiple slaves by means of both time−multiplexing (CSB per slave) and daisy−chain (CSB per group of slaves). Multi−axis connections schemes are discussed in a separate chapter below. copied in the control register. The contents of the addressed control register will be sent back by the NCV70514 in the next SPI access. • Reading from a control register is accomplished by putting its address in the second half of the address byte. The data byte has no function for this command. • Reading from a status register is accomplished by putting its address either in the first or in the second half of the address byte. The data byte has no function for this command. The response (from DO pin of NCV70514) on these commands is always 2 bytes long. The possible combinations of DI/DO and their use are summarized in the following Table 16. Figure 19 gives examples of the data streaming: SPI Transfer Format and Pin Signals All SPI commands (to DI pin of NCV70514) from the micro controller consist of one “address byte” and one “data byte”. The address byte contains up to two addresses of each 4 bit long. These addresses are pointing to a command or requested action in a SPI slave. Three command−types can be distinguished: “Write to a control register”, “Read from a control register” and “Read from a status register”. • Writing to a control register is accomplished only if the address of the target register appears in the first half of the address byte. The contents of the data−byte will be www.onsemi.com 23 NCV70514 Table 16. SPI COMMAND ADDRESS, DATA AND RESPONSE STRUCTURE DI ADDR[7:4] DI ADDR[3:0] DI DATA[7:0] DO BYTE1 DO BYTE2 Comment on Use ACR1 ACR2 DICR1 DOCR1 DOCR2 Control and Status of CR ACR1 ASR1 DICR1 DOCR1 DOSR1 Control and Status of SR ACR1 Nop DICR1 DOCR1 00h Control and no Status ASR1 ACR1 XXh DOSR1 DOCR1 Status of SR and CR ASR1 ASR2 XXh DOSR1 DOSR2 Status of SR and SR ASR1 Nop XXh DOSR1 00h Status of SR Nop ACR1 XXh 00h DOCR1 Status of CR Nop ASR1 XXh 00h DOSR1 Status of SR Nop Nop XXh 00h 00h Dummy/Placeholder With: ACRx = Address of control register x ASRx = Address of status register x DICRx = Data input of Control Register x DOxy = Data output of corresponding register contents transmitted in the next SPI access Nop = Register address outside range : 0h XXh = any byte CS MASTER −> SLAVE SLAVE −> MASTER This is the data from command before or not valid after power up or reset The written control registers are updated by the NCV70514 at the rising edge of CSB COMMAND DATA ACR1 −−− ACR2 DATA FOR ACR1 PREVIOUS DATA PREVIOUS DATA The contents of the previously addressed registers are copied into the transmission shift registers at the falling edge of CSB NEXT COMMAND NEXT DATA DATA FROM ACR1 DATA FROM ACR2 EXAMPLE 1: WRITE CR1, READ CR1 and CR2 CS COMMAND DATA MASTER −> SLAVE ACR3 −−− ASR5 DATA FOR ACR3 SLAVE −> MASTER PREVIOUS DATA PREVIOUS DATA This is the data from command before or not valid after power up or reset NEXT COMMAND DATA FROM ACR3 NEXT DATA DATA FROM ASR5 EXAMPLE 2: WRITE CR3, READ CR3 and SR5 CS COMMAND DATA MASTER −> SLAVE ASR5 −−− ASR7 DUMMY SLAVE −> MASTER PREVIOUS DATA PREVIOUS DATA This is the data from command before or not valid after power up or reset NEXT COMMAND DATA FROM ASR5 EXAMPLE 3: READ SR5 and SR7 Figure 19. Command and Data Streaming of SPI SPI Control Registers (CR) All SPI control registers have Read/Write access. www.onsemi.com 24 NEXT DATA DATA FROM ASR7 NCV70514 Table 17. SPI CONTROL REGISTERS (CR) 4−bit Address Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default after Reset 01h or 11h (CR1) DIRP RHBP NXTP MOTEN StThr3 StThr2 StThr1 StThr0 0000 0000 02h or 12h (CR2) Ihold3 Ihold2 Ihold1 Ihold0 Irun3 Irun2 Irun1 Irun0 0000 0000 03h or 13h (CR3) EnhBemf En DIAGEN EMC1 EMC0 SLP SM2 SM1 SM0 0010 0000 04h (CR4) StTo7 StTo6 StTo5 StTo4 StTo3 StTo2 StTo1 StTo0 0001 0000 05h or 15h (CR5) SpThr7 SpThr6 SpThr5 SpThr4 SpThr3 SpThr2 SpThr1 SpThr0 0000 0000 06h or 16h (CR6) UV1Thr3 UV1Thr2 UV1Thr1 UV1Thr0 UV2Thr3 UV2Thr2 UV2Thr1 UV2Thr0 0000 0000 07h or 17h (CR7) AD4 BemfGain Bemf ResIntEn UV1IntEn UV2IntEn UV2MIntEn UV3IntEn UV3MIntEn 0000 0000 14h (CR4A) NotUsed NotUsed NotUsed Iboost OpenDet1 OpenDet0 OpenDis OpenHiZ 0000 0100 NCV70514 responds on every incoming byte by shifting out the data stored on the last address sent via the bus. After POR the initial address is unknown, so the first data shifted out are undefined. www.onsemi.com 25 NCV70514 Table 18. BIT DEFINITION Symbol MAP position Description DIRP Bit 7 – ADDR_0x01 or 0x11 (CR1) Polarity of DIR pin, which controls direction status; DIRP = 1 inverts the logic polarity of the DIR pin) RHBP Bit 6 – ADDR_0x01 or 0x11 (CR1) Polarity of RHB pin, which controls RUN/HOLD status; RHBP = 1 inverts logic polarity of the RHB pin (Hold = NOT(RHB XOR )) NXTP Bit 5 – ADDR_0x01 or 0x11 (CR1) Push button pin, generating next step in position table MOTEN Bit 4 – ADDR_0x01 or 0x11 (CR1) Enables the H−bridges (motor activated in RUN or HOLD mode) StThr[3:0] Bits [3:0] – ADDR_0x01 or 0x11 (CR1) Threshold level for stall detection, when “0”, stall detection is disabled Ihold[3:0] Bits [7:4] – ADDR_0x02 or 0x12 (CR2) Current amplitude in HOLD mode Irun[3:0] Bits [3:0] – ADDR_0x02 or 0x12 (CR2) Current amplitude in RUN mode EnhBemfEn Bit 7 – ADDR_0x03 or 0x13 (CR3) Enhanced BEMF measurement functionality is activated when bit is set Enables automatic diagnostic at rising edge of bit DIAGEN Bit 6 – ADDR_0x03 or 0x13 (CR3) EMC[1:0] Bits [5:4] – ADDR_0x03 or 0x13 (CR3) SLP Bit 3 – ADDR_0x03 or 0x13 (CR3) SM[2:0] Bits [2:0] – ADDR_0x03 or 0x13 (CR3) StTo[7:0] Bits [7:0] – ADDR_0x04 (CR4) Max difference between two successive full step next pulse periods (timeout), after this time the BEMF sample is taken to verify stall SpThr[7:0] Bits [7:0] – ADDR_0x05 or 0x15 (CR5) Speed threshold register, BEMF measurement and stall detection is activated when Speed register value is less than or equal to value UV1Thr[3:0] Bits [7:4] – ADDR_0x06 or 0x16 (CR6) Setting of under voltage level UV1. See chapter UV detection UV2Thr[3:0] Bits [3:0] – ADDR_0x06 or 0x16 (CR6) Setting of under voltage level UV2. See chapter UV detection AD4 Bit 7 – ADDR_0x07 or 0x17 (CR7) Address selection bit, alternating register ”Banks”. When AD = 1, all addresses will be interpreted with a ”1” in the first nibble (allowing to access registers CR4A, SR7A, SR8A). When AD = 0, all addresses will be interpreted with a ”0” in the first nibble (allowing to access registers CR4, SR7, SR8). BemfGain Bit 6 – ADDR_0x07 or 0x17 (CR7) Gain of BEMF measurement channel − “0”: gain 0.5, “1”: gain 0.25 BemfResIntEn Bit 5 – ADDR_0x07 or 0x17 (CR7) BEMF result interrupt enable UV1IntEn Bit 4 – ADDR_0x07 or 0x17 (CR7) Under voltage 1 detection interrupt enable UV2IntEn Bit 3 – ADDR_0x07 or 0x17 (CR7) Under voltage 2 detection interrupt enable UV2MIntEn Bit 2 – ADDR_0x07 or 0x17 (CR7) Under voltage 2 detection and Motion interrupt enable UV3IntEn Bit 1 – ADDR_0x07 or 0x17 (CR7) Under voltage 3 detection interrupt enable UV3MIntEn Bit 0 – ADDR_0x07 or 0x17 (CR7) Under voltage 3 detection and Motion interrupt enable Voltage slope defining bits for motor driver switching Places device in sleep mode with low current consumption (when 1) Step mode selection Iboost Bit 4 – ADDR_0x14 (CR4A) OpenDet[1:0] Bits [3:2] – ADDR_0x14 (CR4A) Motor current boost function activation and status OpenDis Bit 1 – ADDR_0x14 (CR4A) When bit is set, Open Coil detection status is flagged, but drivers control remain active for both coils, bit setting has higher priority than bit OpenHiZ Bit 0 – ADDR_0x04 (CR4A) When bit is set, during Open Coil detection both drivers are deactivated (MOTEN=0) Open Coil detection time setting bits (see Table 7 − AC PARAMETERS) www.onsemi.com 26 NCV70514 SPI Status Registers (SR) All SPI status registers have Read Only Access, with the odd parity on Bit7. Parity bit makes the numbers of 1 in the byte odd. Table 19. SPI STATUS REGISTERS (SR) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Comment Default after Reset 08h or 18h (SR1) PAR SPI,L SHORT,R* OPEN,R* TSD,L TW,R STALL,L HR,L Errors 0xx 0001 09h or 19h (SR2) PAR ORErr, R BemfRes UV1,L UV2,L UV2M,L UV3,L UV3M,L INTst 101 1010 0Ah or 1Ah (SR3) PAR MSP6,R MSP5,R MSP4,R MSP3,R MSP2,R MSP1,R MSP0,R Micro−step position 001 0000 0Bh or 1Bh (SR4) PAR BemfCoil, R Bemfs, R Bemf4, R Bemf3, R Bemf2, R Bemf1, R Bemf0, R Bemf x00 0000 0Ch or 1Ch (SR5) Sp7,R Sp6,R Sp5,R Sp4,R Sp3 ,R Sp2,R Sp1,R Sp0,R Speed 1111 1111 0Dh or 1Dh (SR6) PAR Sl6,L Sl5,L Sl4,L Sl3,L Sl2,L Sl1,L Sl0,L StepLoss 000 0000 0Eh (SR7) PAR T/BX,R SignX,R PWMX4,R PWMX3,R PWMX2,R PWMX1,R PWMX0,R PWMX 000 0000 SignY,R PWMY4,R 4−bit Address 0Fh (SR8) PAR T/BY,R 1Eh (SR7A) PAR OPENX,L 1Fh (SR8A) PAR OPENY,L STEP0pin,R STEP1pin,R RHBpin,R DIRpin, R PWMY3,R PWMY2,R PWMY1,R PWMY0,R PWMY 000 0000 SHRTXPB,L SHRTXNB,L SHRTXPT,L SHRTXNT,L Input pins & ShortsX xxx 0000 SHRTYPB,L SHRTYNB,L SHRTYPT,L SHRTYNT,L Input pins & ShortsY xxx 0000 Flags have “,L” for latched information or “,R” for real time information. All latched flags are “cleared upon read”. X = value after reset is defined during reset phase (diagnostics) R* = real time read out of values of other latches. Reading out this R* value does not reset the bit, and does not reset the values of the latches this bit reads out. Table 20. BIT DEFINITION Symbol MAP Position Description PAR Bit 7 – ADDR_0x08 or 0x18 (SR1) Parity bit for SR1 SPI Bit 6 – ADDR_0x08 or 0x18 (SR1) SPI error: no multiple of 16 rising clock edges between falling and rising edge of CSB line SHORT Bit 5 – ADDR_0x08 or 0x18 (SR1) An over current detected (common: set if at least one of the SHORTij individual bits is set) OPEN Bit 4 – ADDR_0x08 or 0x18 (SR1) Open Coil X or Y detected (common: set if at least one of the two specific X/Y open coil bits is set) TSD Bit 3 – ADDR_0x08 or 0x18 (SR1) Thermal shutdown TW Bit 2 – ADDR_0x08 or 0x18 (SR1) Thermal warning STALL Bit 1 – ADDR_0x08 or 0x18 (SR1) Stall detected by the internal algorithm HR Bit 0 – ADDR_0x08 or 0x18 (SR1) Hard reset flag: 1 indicates a hard reset has occurred PAR Bit 7 – ADDR_0x09 or 0x19 (SR2) Parity bit for SR2 ORErr Bit 6 – ADDR_0x09 or 0x19 (SR2) Logic OR of all bits of SR1 (Error bits) BemfRes Bit 5 – ADDR_0x09 or 0x19 (SR2) BEMF result ready at register UV1 Bit 4 – ADDR_0x09 or 0x19 (SR2) Under voltage 1 detection UV2 Bit 3 – ADDR_0x09 or 0x19 (SR2) Under voltage 2 detection UV2M Bit 2 – ADDR_0x09 or 0x19 (SR2) Under voltage 2 detection and NXT pulse arrive during UV2 state (Motion) UV3 Bit 1 – ADDR_0x09 or 0x19 (SR2) Under voltage 3 detection UV3M Bit 0 – ADDR_0x09 or 0x19 (SR2) Under voltage 3 detection and NXT pulse arrive during UV3 state (Motion) PAR Bit 7 – ADDR_0x0A or 0x1A (SR3) Parity bit for SR3 www.onsemi.com 27 NCV70514 Table 20. BIT DEFINITION Symbol MAP Position Description MSP[6:0] Bits [6:0] – ADDR_0x0A or 0x1A (SR3) PAR Bit 7 – ADDR_0x0B or 0x1B (SR4) Parity bit for SR4 BemfCoil Bit 6 – ADDR_0x0B or 0x1B (SR4) Last BEMF measurement was done on coil: 0 = X, 1 = Y BEMF measured voltage has expected polarity (Yes = 0, No = 1) Translator micro−step position Bemfs Bit 5 – ADDR_0x0B or 0x1B (SR4) Bemf[4:0] Bits [4:0] – ADDR_0x0B or 0x1B (SR4) BEMF value measured during zero crossing Sp[7:0] Bits [7:0] – ADDR_0x0C or 0x1C (SR5) Speed register PAR Bit 7 – ADDR_0x0D or 0x1D (SR6) Sl[6:0] Bits [6:0] – ADDR_0x0D or 0x1D (SR6) Parity bit for SR6 Step loss register counts number of NXT pulses arrived after activation of under−voltage event or other failure state when NXT pulses are ignored (e.g. TSD, OVC, STALL). Counter keeps maximum value of 127 after more pulses have been received (no overflow) PAR Bit 7 – ADDR_0x0E (SR7) Parity bit for SR7 T/BX Bit 6 – ADDR_0x0E (SR7) PWM Regulation mode on X coil (Top = 1 or Bottom = 0 regulation) SignX Bit 5 – ADDR_0x0E (SR7) PWM sign for X coil regulation (“0” = positive, “1” = negative) PWMX[4:0] Bits [4:0] – ADDR_0x0E (SR7) PAR Bit 7 – ADDR_0x0F (SR8) Parity bit for SR8 T/BY Bit 6 – ADDR_0x0F (SR8) PWM Regulation mode on Y coil (Top = 1 or Bottom = 0 regulation) PWM sign for Y coil regulation (“0” = positive, “1” = negative) Actual PWM duty cycle value for coil X SignY Bit 5 – ADDR_0x0F (SR8) PWMY[4:0] Bits [4:0] – ADDR_0x0F (SR8) PAR Bit 7 – ADDR_0x1E (SR7A) Parity bit for SR7A OPENX Bit 6 – ADDR_0x1E (SR7A) Open Coil X detected STEP0pin Bit 5 – ADDR_0x1E (SR7A) Read out of STEP0 pin logic status STEP1pin Bit 4 – ADDR_0x1E (SR7A) Read out of STEP1 pin logic status Actual PWM duty cycle value for coil Y SHRTXPB Bit 3 – ADDR_0x1E (SR7A) Short circuit detected at XP pin towards ground (Bottom) SHRTXNB Bit 2 – ADDR_0x1E (SR7A) Short circuit detected at XN pin towards ground (Bottom) SHRTXPT Bit 1 – ADDR_0x1E (SR7A) Short circuit detected at XP pin towards supply (Top) SHRTXNT Bit 0 – ADDR_0x1E (SR7A) Short circuit detected at XN pin towards supply (Top) PAR Bit 7 – ADDR_0x1F (SR8A) Parity bit for SR8A OPENY Bit 6 – ADDR_0x1F (SR8A) Open Coil Y detected RHBpin Bit 5 – ADDR_0x1F (SR8A) Read out of RHB pin logic status DIRpin Bit 4 – ADDR_0x1F (SR8A) Read out of DIR pin logic status SHRTYPB Bit 3 – ADDR_0x1F (SR8A) Short circuit detected at YP pin towards ground (Bottom) SHRTYNB Bit 2 – ADDR_0x1F (SR8A) Short circuit detected at YN pin towards ground (Bottom) SHRTYPT Bit 1 – ADDR_0x1F (SR8A) Short circuit detected at YP pin towards supply (Top) SHRTYNT Bit 0 – ADDR_0x1F (SR8A) Short circuit detected at YN pin towards supply (Top) www.onsemi.com 28 NCV70514 APPLICATION EXAMPLES FOR MULTI−AXIS CONTROL The wiring diagrams below show possible connections of multiple slaves to one microcontroller. In these examples, all movements of the motors are synchronized by means of a common NXT wire. The direction and Run/Hold activation is controlled by means of an SPI bus. Microcontroller Microcontroller IC1 NCV70514 NXT CSB1 DI/DO/CLK ERRB Further I/O reduction is accomplished in case the ERRB is not connected. This would mean that the microcontroller operates while polling the error flags of the slaves. Ultimately, one can operate multiple slaves by means of only 4 SPI connections: even the NXT pin can be avoided if the microcontroller operates the motors by means of the “NXTP” bit. IC1 NCV70514 CSB 3 3 CSB/CLK/NXT DO NXT DI DI/DO/CLK DO ERRB ERRB 3 ERRB IC2 NCV70514 CSB/CLK/NXT CSB “Multiplexed SPI” 3 DI “Daisy−Chained SPI” DI/DO/CLK DO ERRB ERRB 3 IC3 NCV70514 NXT CSB3 IC3 NCV70514 CSB/CLK/NXT CSB DI DI DI/DO/CLK DO ERRB vcc IC2 NCV70514 3 NXT CSB2 CSB/CLK/NXT ERRB Rpu vcc Rpu Figure 20. Examples of Wiring Diagrams for Multi−axis Control* Microcontroller IC1 NCV70514 2 CSB/CLK DO CSB/CLK DI DO 2 IC2 NCV70514 CSB/CLK DI Full SPI, Minimal Wiring DO 2 IC3 NCV70514 CSB/CLK DI DI DO Figure 21. Minimal Wiring Diagram for Multi−axis Control* *This drawing does not present the Hard Reset interconnection. For the functionality of the Hard Reset function the RHB and DIR pins have to be connected to the micro controller. www.onsemi.com 29 NCV70514 ELECTRO MAGNETIC COMPATIBILITY Special care has to be taken into account with long wiring to motors and inductors. A modern methodology to regulate the current in inductors and motor windings is based on controlling the motor voltage by PWM. This low frequency switching of the battery voltage is present at the wiring towards the motor or windings. To reduce possible radiated transmission, it is advised to use twisted pair cable and/or shielded cable. The NCV70514 has been developed using state−of−the−art design techniques for EMC. The overall system performance depends on multiple aspects of the system (IC design & lay−out, PCB design and layout ...) of which some are not solely under control of the IC manufacturer. Therefore, meeting system EMC requirements can only happen in collaboration with all involved parties. PCB LAYOUT RECOMMENDATIONS Recommended PCB layout for the NCV70514 is shown on the following figure. The VDD capacitor C4 must be placed close to the device and with GND straight to the device and not the common GND. This is crucial for optimum EMC performance. Figure 22. Recommended PCB Layout ORDERING INFORMATION Boost Peak Current Device Marking Peak Current NCV70514MW003BR2G N70514−3 800 mA N.A. NCV70514MW007R2G N70514−7 800 mA 1100 mA NCV70514MW007AR2G** N70514−7 800 mA 1100 mA End Market/Version Automotive High Temperature Version Package* Shipping† QFNW32 5x5 with step−cut wettable flank (Pb−Free) 5000 / Tape & Reel QFN32 5x5 with wettable flanks (Pb−Free) 5000 / Tape & Reel QFNW32 5x5 with step−cut wettable flank (Pb−Free) 5000 / Tape & Reel *For additional information on our Pb−Free strategy and soldering details, please download the ON Semiconductor Soldering and Mounting Techniques Reference Manual, SOLDERRM/D. *Devices NCV70514MW003 and NCV70514MW007 have different package mold compound. Please contact ON Semiconductor for technical details. **NCV70514MW007A is recommended for new designs. †For information on tape and reel specifications, including part orientation and tape sizes, please refer to our Tape and Reel Packaging Specifications Brochure, BRD8011/D. www.onsemi.com 30 NCV70514 PACKAGE DIMENSIONS QFNW32 5x5, 0.5P CASE 484AB ISSUE D L3 A B D ÉÉÉ ÉÉÉ ÉÉÉ L L EXPOSED COPPER TOP VIEW A 0.10 C A1 A4 32X C SIDE VIEW L PLATING ALTERNATE CONSTRUCTION L3 A3 A4 SEATING PLANE DETAIL A 9 A4 A1 DETAIL B (A3) C C NOTE 4 ALTERNATE CONSTRUCTION DETAIL A E DETAIL B NOTES: 1. DIMENSIONS AND TOLERANCING PER ASME Y14.5M, 1994. 2. CONTROLLING DIMENSION: MILLIMETERS. 3. DIMENSION b APPLIES TO PLATED TERMINAL AND IS MEASURED BETWEEN 0.10 AND 0.20MM FROM THE TERMINAL TIP. 4. COPLANARITY APPLIES TO THE EXPOSED PAD AS WELL AS THE TERMINALS. L4 L4 PIN ONE REFERENCE 0.08 C L3 MILLIMETERS MIN NOM MAX 0.80 0.90 1.00 −−− −−− 0.05 0.20 REF 0.10 −−− −−− 0.20 0.25 0.30 4.90 5.00 5.10 3.00 3.10 3.20 4.90 5.00 5.10 3.00 3.10 3.20 0.50 BSC 0.35 −−− −−− 0.30 0.40 0.50 −−− −−− 0.10 0.08 REF PLATED SURFACES D2 SECTION C−C 17 8 RECOMMENDED SOLDERING FOOTPRINT* E2 5.30 1 K DIM A A1 A3 A4 b D D2 E E2 e K L L3 L4 32 25 e e/2 BOTTOM VIEW 32X 3.35 b 0.10 M C A B 0.05 M C 32X 0.63 1 NOTE 3 3.35 PACKAGE OUTLINE 5.30 0.50 PITCH 32X 0.30 DIMENSION: MILLIMETERS *For additional information on our Pb−Free strategy and soldering details, please download the ON Semiconductor Soldering and Mounting Techniques Reference Manual, SOLDERRM/D. www.onsemi.com 31 NCV70514 PACKAGE DIMENSIONS QFN32 5x5, 0.5P CASE 488AM ISSUE A A D ÉÉ ÉÉ PIN ONE LOCATION L L B L1 DETAIL A ALTERNATE TERMINAL CONSTRUCTIONS E 0.15 C 0.15 C TOP VIEW EXPOSED Cu A DETAIL B 0.10 C (A3) A1 0.08 C DETAIL A 9 32X L DETAIL B ALTERNATE CONSTRUCTION SEATING PLANE C SIDE VIEW NOTE 4 ÉÉ ÇÇ ÇÇ MOLD CMPD DIM A A1 A3 b D D2 E E2 e K L L1 5.30 17 8 MILLIMETERS MIN MAX 1.00 0.80 −−− 0.05 0.20 REF 0.18 0.30 5.00 BSC 2.95 3.25 5.00 BSC 2.95 3.25 0.50 BSC 0.20 −−− 0.30 0.50 −−− 0.15 RECOMMENDED SOLDERING FOOTPRINT* K D2 NOTES: 1. DIMENSIONS AND TOLERANCING PER ASME Y14.5M, 1994. 2. CONTROLLING DIMENSION: MILLIMETERS. 3. DIMENSION b APPLIES TO PLATED TERMINAL AND IS MEASURED BETWEEN 0.15 AND 0.30MM FROM THE TERMINAL TIP. 4. COPLANARITY APPLIES TO THE EXPOSED PAD AS WELL AS THE TERMINALS. 3.35 32X 0.63 E2 1 32 25 e e/2 3.35 5.30 32X BOTTOM VIEW b 0.10 M C A B 0.05 M C NOTE 3 0.50 PITCH 32X 0.30 DIMENSION: MILLIMETERS *For additional information on our Pb−Free strategy and soldering details, please download the ON Semiconductor Soldering and Mounting Techniques Reference Manual, SOLDERRM/D. ON Semiconductor and are trademarks of Semiconductor Components Industries, LLC dba ON Semiconductor or its subsidiaries in the United States and/or other countries. ON Semiconductor owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of ON Semiconductor’s product/patent coverage may be accessed at www.onsemi.com/site/pdf/Patent−Marking.pdf. ON Semiconductor reserves the right to make changes without further notice to any products herein. ON Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does ON Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. Buyer is responsible for its products and applications using ON Semiconductor products, including compliance with all laws, regulations and safety requirements or standards, regardless of any support or applications information provided by ON Semiconductor. “Typical” parameters which may be provided in ON Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. ON Semiconductor does not convey any license under its patent rights nor the rights of others. ON Semiconductor products are not designed, intended, or authorized for use as a critical component in life support systems or any FDA Class 3 medical devices or medical devices with a same or similar classification in a foreign jurisdiction or any devices intended for implantation in the human body. Should Buyer purchase or use ON Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold ON Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that ON Semiconductor was negligent regarding the design or manufacture of the part. ON Semiconductor is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. PUBLICATION ORDERING INFORMATION LITERATURE FULFILLMENT: Email Requests to: orderlit@onsemi.com ON Semiconductor Website: www.onsemi.com ◊ TECHNICAL SUPPORT North American Technical Support: Voice Mail: 1 800−282−9855 Toll Free USA/Canada Phone: 011 421 33 790 2910 www.onsemi.com 32 Europe, Middle East and Africa Technical Support: Phone: 00421 33 790 2910 For additional information, please contact your local Sales Representative
NV705143R1DBGEVB 价格&库存

很抱歉,暂时无法提供与“NV705143R1DBGEVB”相匹配的价格&库存,您可以联系我们找货

免费人工找货