Data Sheet AS8446 AS 8446 Programmable PWM DC Motor Driver / Controller DATA SHEET Key Features - - Programmable PWM DC Motor Driver / Controller with µP Interface (Three Wire Interface) Programmable Functions and Parameters for Motor Current, Voltage and Speed Regulation Single Voltage Supply in the range Vbat = 6.0 V to 18 V (Vbat,max = 30 V) 1 Total Power Efficiency up to 96 % Low RF Emission within the whole frequency range due to an integrated special EMC optimized driver Dynamically self-adjusting slew rate regulated switching technology Fully protected by programmable failure handling procedures via µP Fast Over Current and Over / Under Voltage Detection and Protection, Battery Voltage Monitoring External and On Chip Temperature Detection and Protection Motor Current and Speed Measurement with a shunt resistor and capability of trimming the chip for an external shunt value Programmable Parameters: • EMC compliant Driver Functions It is an advanced PWM DC motor controller subsystem with an excellent EMC behavior targeted especially for high current automotive applications. The optimization of the EMC behavior of the entire module only by software changes makes it easier to implement it in harsh environments. The programmability of parameters and functions allows the adaptation of the AS8446 to a wide range of applications. So the system can act either as a motor current or motor speed or motor voltage regulator. Also a full diagnosis of motor failures and power FET failures, over temperature and over/under voltage can be formed by programmable failure handling procedures using the motor characteristic and the real time measured motor current, motor speed and battery voltage. Applications - Fan cooler Air conditioning Fuel pumps Water and oil pumps General purpose DC Motor Regulators • Over Current, Over / Under Voltage Threshold Values • Motor Failure Threshold Levels Typical Application Diagram • Motor Current Measurement Range Control part Power part • Trimming for the current measurement shunt - Sleep / Wake-up Mode system controlled by the µP and the Wake-up Pin SOIC 28 Package VSS 28 GND_P 27 CMP VMO 4 Vbat OUT CP2 24 5 TP 6 FAIL CS 7 CS OSC2 ANA 8 ADC OSC1 CLK 9 Wake-up VDD GND 10 n.c. Port1 11 Test1 WD 18 Port2 12 Test2 Test3 17 13 DATAin PWM 16 µP RESET Tout SPIout SPIin 14 DATAout Tr1 26 Vpump 25 CP12 CP0 CP1 23 VDDctrl 22 VDD = 5 V VDD 21 Iref 20 Rref RESET 19 CLK Rmeas 2 3 D1 M+ CVDD - CMN INR PWMout (optional) Q1 1 AS8446 - Cbat WakeUp - • PWM Frequency, Charge Pump Monitor Charge Pump to control high side drivers Integrated 5 V Power Supply for external components (µP, etc.) Standby and Wake-up capability Vbat M RT1 RNTC M- 15 VSS General Description GND_P The AS8446 is a complete and fully protected PWM DC motor driver/controller, which can be implemented by interfacing a low cost 8-bit µP and a high-side N-channel power FET switch. 1 Low-Batttery-mode between 6.0 V and 6.5 V Revision 1.8, Date 2005-03-17 Page 1 of 35 Data Sheet AS8446 Functional Description Overview AS8446 into a power save mode. It is controlled via the specified wake-up pin. A short overview of the main features follows. • The AS8446 is a complex integrated circuit, which contains both low and high voltage circuitry to regulate PWM brush DC motors with an external n-channel power FET and an programmable PWM DC motor current, speed or voltage regulator • 8-bit µP. The regulation loop is a closed loop environment • single voltage supply in the range Vbat = 6.0V to 18V (Vbat,max = 30 V) Low-Battery-Mode guarantees operation also when battery voltage is between 6.0V and 6.5V; In this mode the output driver is constantly on (100% PWM), where a µP is connected to the device with a Three-Wire Interface. The AS8446 measures and delivers the motor current as an analog value to the µP. The µP uses a special algorithm to calculate the motor speed by considering the motor current as a function of time. This technique allows the system to act either as a motor current or a motor speed regulator. The AS8446 also monitors and delivers the battery voltage to the µP as an analog value and by leveraging this voltage-monitoring feature a motor voltage regulator could be implemented also. A full diagnosis of motor and power FET failures is performed automatically by the programmable failure handling functions after carefully analyzing the motor characteristics, real-time motor current, motor speed and battery voltage. The dynamically self-adjusting slew rate regulated switching technology (patented) is one of the most important features of this ASSP in automotive applications. This technology enables two features of the PWM DC motor regulator, which were up till now impossible to realize: • Excellent EMC behavior (very low RF emission in the whole frequency range) • High power efficiency up to 96 % @ f PWM = 20 kHz (fall / rise time down up to < 150 ns) Most of the parameters (e.g. PWM frequency, slew rate, over current threshold, current measurement range, etc.) of the AS8446 can be programmed (setting up the internal registers) through the Three-Wire Interface, which makes the regulator a versatile and easily adaptable device to a wide range of regulation modes and motors. The field programmability option of the slew rate regulation parameters makes it easier to comply with the system level EMC behavior (regulator board, motor, power cables, etc.) A bandgap is used as a reference for a Low Drop Voltage Regulator with a nominal output voltage of 5 V. This regulator is capable to deliver a supply current of up to 40 mA. Higher current is possible with an external bipolar transistor. The device is bundled with a set of software to handle the regulation loop, motor speed measurement and failure detection. A sleep/wake up system is integrated to bring the Revision 1.8, Date 2005-03-17 Vpump-Vbat ≥ 4.0V. • • applicable directly to the automotive battery supply (burst, surge, load dump) closed loop regulation of the motor speed, motor current or motor voltage with a µP. • high power efficiency of the whole regulator module (up to 96 % @ f PWM = 20 kHz) • low RF emission within the whole frequency range • fully protected by programmable failure handling procedures (see below: Security Functions) • fast over current and over / under voltage detection and protection motor current and motor speed measurement with only one shunt resistor (typ. measurement voltage at nominal motor current: 50 mV) on chip trimming capability of the external shunt resistor • • • • • Sleep/wake up mode system controlled by the µP and the wake-up pin Three Wire Interface programming possibilities of the following regulator parameters inside of the AS8446: PWM frequency (generated by µP, e.g. 20 kHz) charge pump voltage monitoring and protection slew rate control parameters (EMC behavior) power FET Gate driver currents up to 500 mA over current threshold level over / under voltage threshold level motor current measurement range and trimming of the external current measurement resistor programming possibilities of the following regulator • parameters / functions via the µP motor failure threshold levels (motor currents and voltages) for all motor failures: blocked motor, open wire, no load, shorted motor segments, etc. failure handling procedures for all motor failures, over / under voltage and for over temperature (type of reaction and timing) sleep mode criteria and sleep mode signal to the AS8446 Page 2 of 35 Data Sheet AS8446 - closed loop regulation timing with µP for speed, current and voltage control special features e.g. suppression of particular motor speeds, dynamical change of the over current threshold level, etc. Security Functions Extensive diagnosis of the DC motor and the power FET as well as failure handling procedures are programmable via a µP. • • over current detection and protection no load detection of the motor • open wire detection (motor or power switch) • short circuit of the power switch detection • • blocked motor detection and protection short circuited motor segments detection and protection • protection of the power FET and the AS8446, if the motor works in generator mode • battery voltage monitoring and over / under voltage detection and protection two over temperature detection and protection modes external temperature sensor on chip temperature sensor • Item (Start up values) AS 8446 Over Voltage Threshold 40.0 V Under Voltage Threshold 2.5 V Minimum Charge Pump Voltage 4.0 V Over Current Threshold (Shunt Measurement Voltage) 125 mV Mode after Start up Table 1 sleep mode Start up values of the AS 8446 Revision 1.8, Date 2005-03-17 Page 3 of 35 Data Sheet AS8446 Pin Description The AS8446 Motor Driver/Controller contains the driver/controller chip in a SOIC28 package The complete PWM DC Motor Regulator board needs an additional µP to close the regulation loop and control the whole regulator (dual package solution, free choice of the controlling µP). Pinout AS8446 Type Note 1 CMN HV AI Current Measurement Input (negative side) 2 CMP HV AI Current Measurement Input (positive side) 3 VMO HV AI Motor Voltage Input 4 Vbat S Battery Voltage, Main Supply 5 TP HV AI Temperature Sensor Input 6 FAIL LV DO Error Status Output of AS8446 7 CS LV DIPU Chip Select, Enable Pin of Three Wire Interface 8 ADC HV AO Analog Measurement Output (multiplexed) 9 Wake-up HV AIO Wake-up Pin 10 n.c. Test Pin 1 (1) 1 CMN 2 CMP GND_P 27 3 VMO OUT 26 11 Tst 1 LV DIPU 4 Vbat Vpump 25 12 Tst 2 LV DO Test Pin 2 (2) 24 13 DATAin LV DIPD Data Input of the Three-Wire Interface CP1 23 14 DATAout LV DO_T Data Output of the ThreeWire Interface 15 Clk LV DIPD Clock of the Three-Wire Interface 16 PWM LV DIPU PWM Input (Control of the Power FET Driver) 17 Tst 3 LV DO Test Pin 3 (2) 18 WD LV DIPU Watch Dog Input 19 RESET LV DO Reset Output (controlled by Watch Dog) 20 Iref LV AIO Reference Current Pin 21 VDD AI VDD feedback input 22 VDDctrl HV AO VDD supply (5 V generated by the on chip voltage regulator) 23 CP1 HV AIO Charge Pump Capacitor (Vbat side) 24 CP2 HV AIO Charge Pump Capacitor (Vpump side) 25 Vpump AO Charge Pump Buffer Capacitor 26 OUT HV AO Power FET Driver Output 27 GND_P S Power Ground 28 VSS S Digital/Analog Ground TP 6 FAIL 7 CS 8 ADC VSS 28 AS8446 5 9 Figure 1 Pin Name CP2 VDDctrl 22 VDD 21 Iref 20 RESET 19 Wake-Up 10 n.c. 11 Tst 1 12 Tst 2 Tst 3 13 DATAin PWM 16 14 DATAout WD 18 Clk Pinout AS 8446 Pin Description AS8446, Pin Types S AI AO AIO DI DIPU DIPD DO DIO DO_T … … … … … … … … … … power supply analog in analog out analog in/out digital in digital in with pull-up digital in with pull-down digital out digital in/out digital out, tristate LV HV … low voltage … high voltage Revision 1.8, Date 2005-03-17 17 15 Table 2 PIN description of AS 8446 Note (1) Must be connected to VDD Note (2) Must be left open Page 4 of 35 ( a n a lo g ) ADC Tst 3 Tst 2 W a k e -u p Tst 1 PW M FA IL D AT Ao ut CS D A T A in C lk 2 VD D RT1 TP V ba t_ mo n A _ cu rrent TP A _ ove rc H V -IN / L V -O U T PWM VD DH W a k e-u p I n te r fa ce B i t_n 21 Iref POR t 12 3 O n ch i p O ve r T e m p e ra tu r e d e te c tio n V re fT 2 Rx slee p u p s ys te m S le e p / w a k e 2 50 kH z pd VDD PO R R C O s c il la t o r OR R N TC Ire f r e fe r en c e VSS 3 V in = V ba t V re fV VDD VSS A VDD V D D c trl CV D D C P2 D ri v e L o w S id e D ri v e H ig h S id e V DDH1 p r o te c tio n P ow e r F E T M oto r- a n d Vpu m p CP 0 GND u P ba se d D C M oto r R egu la to r G ND _P p a ck a ge : S O IC 2 8 a u s t ria m ic r o s y s te m s AS 8 44 4 P ov e r c A _ o ve r c A _ c u r r en t l ow v o lta ge a n d t rim m in g (o ver cu rr ent, R m eas ) k5 p rogra mm ing k6 , k 7 V A _ o v e r c = k y* I m oto r V A _ c u r r e n t = kx * Im otor M o to r c u r r en t a n d s p e e d m e a s u r e m e n t / o v e r cu r r en t Self Adjusting Slew Rate Regulation Interface / Control h ig h v olt a g e V D D c tr l VDD V b a t_ m o n prog ra m ma ble : 12 V , 24 V , 4 2 V V o lt a g e M o n it o r in g PW M V D D H = V bat C L K pum p 10 V CP1 V DD H C h a rg e p u m p 5 V - r e g u la t o r ( b a n d g a p r e f .) V r e f/I re f V re f= 1. 0 V VDDH g e n e r a to r b a nd g a p E xte rn a l O ve r T e m p e r a tu r e d e tec tio n V re fT 1 P V un d er P Vo ver P o ve rc P T o ve r2 P T o v er1 s lee p S E T _k S E T_0 a ) s ett ing s b ) c o n trol R eg is te r B it_ 0 R e g is t e r s a c tiv e /d e a c tiv e C l k_ w d wd W a tc h d og S h if t R / W C on tr ol In t e r f a c e Vref WD OR S e r ia l Analog MUX programming slew rate (high) programming slew rate (low) programming RESET Rref V D D H = V b at M CM n CMp Vm o OUT Revision 1.8, Date 2005-03-17 Imotor Figure 2 Rmeas CP1 2 Data Sheet AS8446 Block Diagram Block Diagram of AS8446 Page 5 of 35 Data Sheet AS8446 General Application Diagram Power part Control part Vbat Cbat VSS 28 CMP GND_P 27 3 VMO 4 Vbat 5 TP INR 6 FAIL CS 7 CS OSC2 ANA 8 ADC OSC1 CLK 9 Wake-up (optional) Q1 VDD RESET Tout n.c. GND 10 Port1 11 Tst1 Port2 12 Tst2 SPIout SPIin 13 DATAin 14 DATAout Tr1 26 CP2 24 CP12 CP0 CP1 23 VDDctrl 22 VDD = 5 V VDD 21 Iref 20 Rref RESET 19 WD 18 Tst3 D1 M+ M RT1 17 PWM 16 CLK Rmeas µP OUT Vpump 25 CVDD WakeUp PWMout AS8446 CMN 2 1 RNTC M- 15 VSS GND_P Figure 3 General Board Diagram of a complete PWM DC Motor Regulator Remarks: a) b) The communication between the AS8446 and the controlling µP is realized via the Three-Wire Interface The communication of the whole motor regulator module with the environment can be realized in different ways: 1. low voltage 5 V digital input using a digital µP port 2. low voltage 5 V analog output using an analog ADC input of the µP c) The EMC parameters to optimize the EMC behavior of the whole regulator system can be stored in the program of the µP and transmitted to the AS8446 via Three-Wire Interface during start up of the system. d) The customer has free choice of the µP. Revision 1.8, Date 2005-03-17 Page 6 of 35 Data Sheet AS8446 Absolute Maximum Ratings (NON OPERATING) Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under Operating Conditions is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Parameter Symbol Min Max Unit Battery voltage Vbat -0.3 30 V Pumped voltage Vpump -0.3 44 V V Note (1) Low Power Supply Voltage VDD -0.3 7 Input Pin Voltage (Low voltage pins) Vin -0.3 VDD+0.3 V Input Current (latchup immunity) Iscr -100 100 mA 125°C 0,9 kV Norm: MIL 883 E method 3015 (2) 500 mW ESD -0,9 Total Power dissipation Pvtot Junction temperature Tj Storage temperature Tstg -55 Humidity 5 Body temperature TBody 150 °C 150 °C 85 % Non condensing °C Norm: IPC/JEDEC J-STD 020 C 240 Note (1): Load Dump, 500ms, according to DIN40839 Note (2): Except for Pin 1 (CMN) and Pin 25 (Vpump): ESD = +/- 0,5 kV Table 3 Absolute Maximum Ratings Operating Conditions Parameter Symbol Min Typ Max Unit Battery voltage (normal operating-mode) Vbat 6.5 18 V (1) Battery voltage (Low-Batterymode) Vbat 6.0 6.5 V Vpump-Vbat ≥ 4.0V; Vout = const. high; (2) Pumped voltage Vpump Vbat + 14V V (2) Low Voltage Power Supply VDD 5.15 V Standby Current (power down) I_pd1 Vba t (50) µA Tamb < 27 ° C; (4) Standby Current (power down) I_pd2 Vba t 90 µA Tamb < 125 ° C; Vbat = 13.5V Ambient temperature Tamb 125 °C Vbat + 4V Vbat + 10V 4.8 -40 Note (2);(3) Note (1): Jump Start: Vbat < 28V, 1 min, 1 pulse/h Note (2): Low Battery mode guarantees operation when the battery voltage is below 6.5V; In this mode the output driver is constantly on (100% PWM), Vpump-Vbat ≥ 4.0V at 250µA load on Pin OUT; the load current of VDD is limited to 2.5mA Note (3): Low Drop voltage regulator; 40 mA max. external load at VDD; higher current with external transistor possible Note (4): only as information. Will not be tested Table 4 Operating Conditions Thermal Characteristics Parameter Symbol Thermal resistance from junction to ambient Rth,ja Table 5 Min Max Unit Note 76.2 °C/W free air, single layer PCB Thermal Characteristic Revision 1.8, Date 2005-03-17 Page 7 of 35 Data Sheet AS8446 Characteristics for Analog and Digital Inputs and Outputs CMOS LV Digital Input Pins: Clk, DATAin, CS, PWM, WD Parameter Symbol High Level Input Voltage VIH Low Level Input Voltage VIL Input Leakage Current ILEAK Table 6 Min Max Unit 0.7 * VDD Note V 0.3 * VDD V -1 1 µA pull-up/down current for inputs with pull-up/down typ. 60µA Min Max Unit Note CMOS Input parameters CMOS LV Digital Output Pins: RESET, DATAout, FAIL Parameter Symbol High Level Output Voltage VOH Low Level Output Voltage VOL Table 7 VDD -0.5 VSS +0.4 V C LOAD = 50 pF V C LOAD = 50 pF CMOS Output parameters Analog Signals Input / Output Pins: Vpump, CP1, CP2, OUT, CMP, CMN, VMO, ADC, TP, Iref Parameter, Pin Name Pin type Symbol Min Typ Max Unit Charge Pump Voltage, pin: Vpump HV S Vpump Vbat + 6 Vbat + 4 Vbat + 10 Vbat + 14 V Charge pump switched capacitor voltage, pin: CP1 HV AIO V CP1 VSS Vbat V Charge pump switched capacitor voltage, pin: CP2 HV AIO V CP2 VSS Vbat + 14 V HS driver source current, pin: OUT HV AO Iout_p -500 HS driver sink current, pin: OUT HV AO Iout_n Motor current measurement inputs, Common mode range, pins: CMP, CMN HV AI V CMP, V CMN -1.5 Motor voltage input, pin: VMO HV AI V VMO -1.5 Vbat V Analog measurement output voltage, pin: ADC LV AO V A_current 0 VDD V Multiplexed analog output (3) External temperature sensor input, threshold voltage, pin: TP LV AI V TP_th 0 VDD V Threshold voltage: VDD / 2 Reference current generation voltage, pin: Iref LV AI Vref V (4) Note (1): Note (2): Note (3): Note (4): Table 8 0.5 VDD 1.0 Note (1) mA (2) 500 mA (2) Vbat V external capacitors CP1/2 = 100 nF, CP0 = 400 nF recommended; on chip Vpump monitoring and protection: Vpump_min = (Vbat + 6 V) or (Vbat + 4 V), programmable typical rise/ fall time at the external Power MOSFET source: 0.2 µs to 0.5 µs, independently programmable rise and fall times, voltage range of the voltage V OUT = 0 … Vpump Multiplexed output (controlled by register R15<3:0> = ADC_CH, see section Summary of all programmable registers (parameters, functions) Full motor current measurement range corresponds to V ADC = 4.0 V. Multiplexed output must not be switched during operation! regulated voltage Vref = 1.0 V, external resistor Rref = 22 kΩ must be connected to generate the 45 µA reference current. Use Pin Iref to connect Rref only. Analog signal parameters Revision 1.8, Date 2005-03-17 Page 8 of 35 Data Sheet AS8446 Wake-up system Parameter Pin type Symbol Low Level Input Voltage HV AIO V IL Min Max Unit -8 0.4 * Vbat V High Level Input Voltage V IH 0.6 * Vbat Vbat V Input Hysteresis V HYS 0.05 * Vbat 0.1 * Vbat V Table 9 Note V IH - V IL Wake-up system signal parameter Start up Behavior 14 V Vbat 4.3 V 5.0 V nPORraw (VDDraw) 20 us 5.0 V 4.3 V RESET by nPOR RESET 4.3 V possible RESET by watch dog RESET by nPOR 5.0 V SPI communication possible nPOR time is user defined by LIN wake up (VDD) 300 us VPok (Charge pump enable) 300 us 100 us … 500 us Mcalib (calibration ready) 200 us sleep mode sleep mode defined (start-up) redefined (start-up) defined by SPI and/or failure detection units Failure R18 not defined Wake-up t = t1 measurement unit calibration wake up 14 V Charge pump start up t2 first system start-up (connection of Vbat to the system) Figure 4 defined (start-up) defined by SPI driver enable not defined SPI sends 1 to R17 (sleep) wake up not Sleep R17 defined not Registers R1 to R16 defined t t3 system enable (normal work) t4 t5 sleep mode t = t1 + T new system start-up Start up and sleep mode behavior of AS8446 (simplified timing) Revision 1.8, Date 2005-03-17 Page 9 of 35 Data Sheet AS8446 Programming Capabilities There are in total 18 registers to program the behavior of the AS8446 via the Three Wire Interface Register No Register Name Meaning R1<4:0> SRon EMC parameter 1, rising edge R2<4:0> SRon_stat EMC parameter 2, rising edge R3<2:0> SRon_min EMC parameter 3, rising edge R4<4:0> SRoff EMC parameter 1, falling edge R5<3:0> Sroff_stat EMC parameter 2, falling edge R6<1:0> Acu_on/off EMC parameter, rising and falling edge, multiplying factor 1 or 2 R7<4:0> AV_TRIMM Motor current measurement amplification (steps of 1.25%) R8<1:0> AV_RANG_norm Motor current measurement amplification, normal measurement channel (large steps) R9<2:0> OVERC_level Over current threshold value R10<1:0> AV_RANG_over Motor current measurement amplification, over current measurement channel (large steps) R11<2:0> VBAT_RANG Range of supply voltage (max. battery voltage to measure) R12<2:0> OVER_VOLT Over voltage threshold value R13<2:0> UNDER_VOLT Under voltage threshold value R14<0:0> VPUMP_MIN Min. pumped voltage (Vpump – Vbat) R15<3:0> ADC_CH Selection of one of the analog channel to be connected to pin ADC (AnalogMUX) R16<0:0> WATCH_D Switch on or off of watch dog function R17<1:0> SLEEP Switch on or off of sleep mode R18<7:0> FAILURE_STAT Failure status register Full descriptions of all registers see below. Table 10 Meaning of the AS 8446 registers. Driver Programming (Slew Rate Regulation Parameters) The Power FET driver is controlled in two different ways: 1. By the digital input PWM (output of the PWM generator of the µP) to realize the PWM duty cycle of the motor drive for regulating the motor current, speed or voltage in the closed loop. 2. By the dynamically self-adjusting slew rate regulated switching technology during the rising and falling edges of the motor voltage. There are 6 registers to program the driving parameters in different time intervals of the rising and the falling edge of the motor voltage independently (definition of the time functions of the power FET driver gate currents in wide ranges): Rising edge: registers R1<4:0>, R2<4:0>, R3<2:0> and R6<0> Falling edge: registers R4<4:0>, R5<3:0> and R6<1> These registers can be programmed via the Three-Wire Interface and thus the EMC behavior of the system (motor, power switches, cables) can be adapted and optimized to a particular application. Although the total rising and falling times are very short ( t RISE or t FALL < 150 ns with driver currents to the power FET gate up to 500 mA), the RF emission (EMC) is very low. See also section Summary of all programmable registers (parameters, functions). A detailed description of these programming and EMC optimization will be given in the application manual of the AS8446. Revision 1.8, Date 2005-03-17 Page 10 of 35 Data Sheet AS8446 Rising edge (switch on): Programmable Gate Drive Source Currents (13 bit) Register / timing part of rising edge Programmable range Programmable range R6<0> = 1, Acu_on/off min max step Unit Note R6<0> = 0, Acu_on/off min max step R1<4:0> = SRon (V mo tor = 12.7 V) 0 496 16 0 248 8 R1<4:0> = SRon (V mo tor = 30.7 V) 0 (1240) 1 40 0 (620) 1 20 R2<3:0> = SRon_stat 1.0 32 1.0 0.5 16 0.5 mA R2 = 0, 1, 2, … 15 R3<2:0> = SRon_min (V mo tor = -0.5 V) 20 160 20 10 80 10 mA R3 = 0, 1, 2, … 7 Note (1): mA R1 = 0, 1, 2, … 31 mA The total driver current I ou t_on must be limited to 500 mA (I o ut_on < 500 mA ) in the real application with the given V motor_max = V bat by appropriate programming. Table 11 Programming of the slew rate parameters (rising edge) Figure 5 Rising edge of the motor voltage before and after the EMC optimization Revision 1.8, Date 2005-03-17 Page 11 of 35 Data Sheet AS8446 Falling edge (switch off): Programmable Gate Drive Sink Currents (10 bit) Register / timing part of falling edge Programmable range Programmable range R6<1> = 1, Acu_on/off min max step Unit R6<1> = 0, Acu_on/off min max step R4<4:0> = SRoff (V mo tor = 12.7 V) 0 496 16 0 248 8 mA R4<4:0>, SRoff (V mo tor = 30.7 V) 0 (1240) 1 40 0 (620) 1 20 mA 1.0 32 1.0 5 80 5 mA R5<3:0>, SRoff_stat Note (1): R4 = 0, 1, 2, … 31 R2 = 0, 1, 2, … 15 The total driver current I ou t_on must be limited to 500 mA (I out_on < 500 mA ) in the real application with the given V motor_max = V bat by appropriate programming. Table 12 Programming of the slew rate parameters (falling edge) Figure 6 Falling edge of the motor voltage before and after the EMC optimization IBEE Ingenieurbüro für industrielle Elektrotechnik/ Elektronik Conducted Emission power supply lines according CISPR 25 DUT: Note Demo board AS8444_TC Load : Ri = 0.4 Ohm, Li = 0.063 mH Conditions: Prof. Dr.-Ing. habil. D. Sperling Detector: Peak V BAT = 13.5 V EMC parameter set 1 (not EMC optimized) EMC parameter set 2 (EMC optimized) 80 70 EMC parameter set 1 60 (not EMC optimized) [dBµV] 50 40 30 20 10 EMC parameter set 2 0 (EMC optimized) -10 0.1 1 10 100 1000 [MHz] Figure 7 Comparison of the EMC measurement results of the same application with two different EMC parameter sets Revision 1.8, Date 2005-03-17 Page 12 of 35 Data Sheet AS8446 Programming of the motor current measurement unit and the over current detection unit The motor current measurement unit operates with an external current measurement resistor R me as in the high side motor line. The chip has two measurement amplification channels with separately programmable amplification factors: a) normal motor current measurement, channel 1 AV meas_norm = V A_current / V meas with V meas = (V CMP - V CMN ), analog output A_current (multiplexed to output ADC) and b) over current measurement with extended measurement range, channel 2 AV meas_overc = V A_overc / V meas , analog output A_overc (multiplexed to output ADC). In general all programming possibilities in table 14 can be used to build up a measurement system in the defined limits. The programming words are sent from the µP via the Three-Wire Interface to the AS8446 during start up of the system. The typical value of V meas_nom = (V CMP - V CMN ) no m is 50 mV, corresponding to 100% of the motor current. In the whole system the analog outputs A_current or A_overc are used by the ADC of the µP to regulate and control the system. There is only one exception: The over current detection and protection is realized directly by the over current measurement channel in order to act very fast in case of an over current situation e.g. short circuit of the motor. Figure 8 Programming examples of the current measurement channels Figure 9 Programming examples of the over current detection Figure 8 shows the programming of the normal current measurement channel (red lines, output voltage VCUR) and the over current measurement channel with extended measurement range (blue lines, output voltage VCOVER). The three lines with the parameters AV_TRIMM = 70, 80, 90 indicate the trimming range of the external measurement resistor (+ 12.5 % in steps of 1.25 %). The total range of the normal measurement amplification is AV meas_norm = 70 to 360 corresponding to input voltages V meas_max = 11 mV to 57 mV. The total range of the over current measurement amplification is AV mea s_overc = 17.5 to 90 corresponding to input voltages V meas_max = 44 mV to 229 mV. Figure 9 shows an example of the programming of the over current threshold level (generation of the over current signal VPOV, red lines): AV meas_overc = 20 and OVERC_level = 0.5 V to 4.0 V in steps of 0.5 V. All programming possibilities are given in table 14 below. Revision 1.8, Date 2005-03-17 Page 13 of 35 Data Sheet AS8446 Programming of the motor current measurement and over current detection unit The motor current measurement unit transforms the differential voltage over the measurement resistor at the high side motor line (V CMP - V CMN ) = Imotor * Rmeas to the ground related voltage V A_curren t (channel1) and to the ground related voltage V A_overc (channel2) with a programmable amplification. Definition and programming of the voltage amplifications AV meas_norm and AV me as_overc of the motor current measurement unit: a) channel 1: AV meas_norm = V A_current / (V C MP - V C MN ) = AV_TRIMM * AV_RANGE_norm b) channel 2: AV meas_overc = V A_overc / (V CMP - V CMN ) = AV_TRIMM * AV_RANGE_over Register No Register Name Meaning R7<4:0> AV_TRIMM Voltage amplification factor1 of the current measurement unit in small steps (trimming of the external current measurement resistor) for the normal and over current analog measurement output R7 = 0 à AV_TRIMM = 70 R7 = 1 à AV_TRIMM = 71 R7 = 2 à AV_TRIMM = 72 : R7 = 10 à AV_TRIMM = 80 (default value) R7 = 11 à AV_TRIMM = 81 : R7 = 19 à AV_TRIMM = 89 R7 = 20 à AV_TRIMM = 90 R7 > 20 à AV_TRIMM = 90 R8<1:0> AV_RANGE Voltage amplification factor2 of the normal analog measurement output (A_current) R8 = 0 à AV_RANGE = 1 (default value) R8 = 1 à AV_RANGE = 2 R8 = 2 à AV_RANGE = 3 R8 = 3 à AV_RANGE = 4 R9<2:0> OVERC_level Threshold value of the internal over current detection Def.: Vocmax = 4/5 * VDD (typ. Vocstep = (4/5 * VDD) / 8 (typ. R9 = 0 à OVERC_level = Vocmax (typ. R9 = 1 à OVERC_level = Vocmax – Vocstep (typ. R9 = 2 à OVERC_level = Vocmax - 2*Vocstep (typ. R9 = 3 à OVERC_level = Vocmax - 3*Vocstep (typ. : R9 = 7 à OVERC_level = Vocmax - 7*Vocstep (typ. R10<1:0> AV_RANGE_over 4.0 0.5 4.0 3.5 3.0 2.5 V) V) V) V) V) V) 0.5 V) Voltage amplification factor2 of the over current analog measurement output (A_overc) R10 = 0 à AV_RANGE_over = 1 * 1/4 (default value) R10 = 1 à AV_RANGE_over = 2 * 1/4 R10 = 2 à AV_RANGE_over = 3 * 1/4 R10 = 3 à AV_RANGE_over = 4 * 1/4 Remark 1: The maximum of the valid analog output voltage of the outputs A_current and A_overc must be 4.0 V. Remark 2: The total voltage amplification of the current measurement unit is determined by normal current analog output A_current: AV meas_norm = V A_current / (V CMP - V CMN ) = AV_TRIMM * AV_RANGE (default value: 80) over current analog output A_overc: AV meas_overc = V A_overc / (V CMP - V CMN ) = AV_TRIMM * AV_RANGE_over (default value: 20) Revision 1.8, Date 2005-03-17 Page 14 of 35 Data Sheet AS8446 Remark 3: The external current measurement voltage over the measurement resistor Rmeas (V CMP - V CMN ) = Imotor * Rmeas where the internal over current detection is switched on can be determined by: (V CMP - V CMN ) overc * AV_TRIMM * AV_RANGE_over = OVERC_level (V CMP - V CMN ) overc = OVERC_level / (AV_TRIMM * AV_RANGE_over) example: OVERC_level = 4 V, AV_TRIMM = 80, AV_RANGE_over = 1/4 à (V CMP - V CMN ) overc = 200 mV Remark 4: Example of the programming of the current measurement / over current detection unit: Step1: Definition of the nominal voltage drop over the external current measurement resistor Rmeas (V C MP - V CMN ) nom = Imotor nom * Rmeas e.g. (V CMP - V CMN ) n om = 50 A * 1 mΩ = 50 mV Step2: Definition of the over current threshold value of (V CMP - V CMN ) e.g. (V CMP - V CMN ) overc = 100 mV Step3: Determination of the voltage amplification of the normal current measurement channel so that the nominal output voltage V A_current_nom = 4.0 V e.g. AV_TRIMM * AV_RANGE = 80 * 1 à V A_current-nom = 50 mV * 80 = 4.0 V Step4: Determination of the voltage amplification of the over current measurement e.g. AV_TRIMM * AV_RANGE_over = 80 * 1/4 à V A_ overc_max = 100mV * 20 = 2.0 V < 4.0 V Step5: Determination of the programming of the internal over current threshold value (OVERC_level) With the formula: (V C MP - V CMN ) o verc = OVERC_level / (AV_TRIMM * AV_RANGE_over) and all values above: OVERC_level = (V CMP - V CMN ) overc * (AV_TRIMM * AV_RANGE_over) = 100 mV * 80 *1/4 = 2.0 V à R9 = 4 Remark 5: The amplifications AV meas_norm and AV meas_overc of the current measurement unit can be adapted to the external measurement resistor R meas by the programming word AV_TRIMM in steps of 1.25 % in the range of + 12.5% (trimming of R meas ). Table 13 Programming of the motor current measurement an over current detection unit Revision 1.8, Date 2005-03-17 Page 15 of 35 Data Sheet AS8446 Summary of all programmable registers (parameters, functions) Register / address Internal name Meaning Note Ra<b1:b0> means: address = a, most significant data bit = b1, least significant data bit = b0 All registers can be write and read by the Three-Wire Interface (write priority has the Three-Wire Interface). 1. The start up reset of all registers unless the R17 and the R18 is done by the signal nPOR (controlled by the VDD). 2. The start up reset of the register R17 is done by the nPORraw (controlled by the voltage VDDraw) only. 3. The start up reset of the register R18 (failure register) is done with a delay after the nPOR, this delay is generated by the enable signal of the charge pump VPok. Programming of the driver output currents (independent for switch on and switch off) R0<7:0> R1<4:0> Not used SRon Slew rate regulation programming, on switch, voltage V Vmo dependent driver output current for positive V VMO voltage SRon = 0, 1, 2, … 31 V VMO > 0 I SRon = V Vmo * Acu_on * SRon * K1 Register write by: Three Wire Interface Register read by: Three Wire Interface and FET driver unit R2<4:0> SRon_stat - - - d4 d3 d2 d1 d0 - - - 1 1 1 1 1 start up values Slew rate regulation programming, on switch, constant driver output current SRon_stat = 0, 1, 2, … 31 I SRon_stat = 2.0 µA * (SRon_stat + 1) * Acu_on Register write by: Three Wire Interface Register read by: Three Wire Interface and FET driver unit R3<2:0> SRon_min - - - d4 d3 d2 d1 d0 - - - 1 1 1 1 1 start up values Slew rate regulation programming, on switch, voltage V VMO dependent driver output current for negative V VMO voltage SRon_min = 0, 1, 2, …7 I SRon_min = V Vmo * (SRon_min + 1) *Acu_on * K2 V VMO < 0 Register write by: Three Wire Interface Register read by: Three Wire Interface and FET driver unit Revision 1.8, Date 2005-03-17 - - - - - d2 d1 d0 - - - - - 1 1 1 start up values Page 16 of 35 Data Sheet AS8446 R4<4:0> SRoff Slew rate regulation programming, off switch, voltage V VMO dependent driver input current for positive V VMO voltage SRoff = 0, 1, 2, … 31 I SRoff = V Vmo * Acu_off * SRoff * K3 Register write by: Three Wire Interface Register read by: Three Wire Interface and FET driver unit R5<3:0> SRoff_stat - - - d4 d3 d2 d1 d0 - - - 1 1 1 1 1 start up values Slew rate regulation programming, off switch, constant driver input current SRoff_stat = 0, 1, 2, … 15 I SRoff_stat = 20 µA * (SRoff_stat + 1) * Acu_off Register write by: Three Wire Interface Register read by: Three Wire Interface and FET driver unit R6<1:0> Acu_on Acu_off - - - - d3 d2 d1 d0 - - - - 1 1 1 1 - Acu_off Acu_on - 0 0 start up values Current amplification of the driver for on and off switch R6<0> = 0 à Acu_on = (Iout / Iin) o n = 256 R6<0> = 1 à Acu_on = (Iout / Iin) o n = 512 R6<1> = 0 à Acu_off = (Iout / Iin) o ff = 256 R6<1> = 1 à Acu_off = (Iout / Iin) o ff = 512 Register write by: Three Wire Interface Register read by: Three Wire Interface and FET driver unit - - - - - start up values Programming of the motor current measurement and over current detection unit The motor current measurement unit transforms the differential voltage over the measurement resistor (V CMP - V CMN ) = Imotor * Rmeas to the ground related voltages V A_current (channel1: normal current measurement channel) and V A_overc (channel2: over current measurement channel) with a programmable amplification. Def. of the voltage amplification of the motor current measurement unit: Voltage amplification of the normal current measurement channel: 1. AV meas_norm = V A_current / (V CMP - V CMN ) = AV_TRIMM * AV_RANGE_norm Voltage amplification of the normal current measurement channel 2. AV meas_overc = V A_overc / (V C MP - V C MN ) = AV_TRIMM * AV_RANGE_over Revision 1.8, Date 2005-03-17 Page 17 of 35 Data Sheet AS8446 R7<4:0> R8<1:0> R9<2:0> R10<1:0> AV_TRIMM AV_RANGE_norm OVERC_level AV_RANGE_over Revision 1.8, Date 2005-03-17 R7 = 0 à AV_TRIMM = 70 R7 = 1 à AV_TRIMM = 71 R7 = 2 à AV_TRIMM = 72 : R7 = 10 à AV_TRIMM = 80 (default value) R7 = 11 à AV_TRIMM = 81 : R7 = 19 à AV_TRIMM = 89 R7 = 20 à AV_TRIMM = 90 R7 > 20 à AV_TRIMM = 90 Register write by: Three-Wire Interface Register read by: Three-Wire Interface and current measurement unit - - - d4 d3 d2 d1 d0 - - - 0 1 0 1 0 start up values R8 = 0 à AV_RANGE-norm = 1 (default value) R8 = 1 à AV_RANGE-norm = 2 R8 = 2 à AV_RANGE-norm = 3 R8 = 3 à AV_RANGE-norm = 4 Register write by: Three-Wire Interface Register read by: Three-Wire Interface and current measurement unit - - - - - - d1 d0 - - - - - - 0 0 start up values Threshold value of the internal over current detection Def.: Vocmax = 4/5 * VDD (typ. 4.0 V) Vocstep = (4/5 * VDD) / 8 (typ. 0.5 V) R9 = 0 à OVERC_level = Vocmax (typ. 4.0 V) R9 = 1 à OVERC_level = Vocmax – Vocstep (typ. 3.5 V) R9 = 2 à OVERC_level = Vocmax - 2*Vocstep (typ. 3.0 V) R9 = 3 à OVERC_level = Vocmax - 3*Vocstep (typ. 2.5 V) : R9 = 7 à OVERC_level = Vocmax - 7*Vocstep (typ. 0.5 V) Register write by: Three-Wire Interface Register read by: Three-Wire Interface and current measurement unit - - - - - d2 d1 d0 - - - - - 0 1 1 start up values Voltage amplification factor2 of the over current analogue measurement output (A_overc) R10 = 0 à AV_RANGE_over = 1 * 1/4 (default value) R10 = 1 à AV_RANGE_over = 2 * 1/4 R10 = 2 à AV_RANGE_over = 3 * 1/4 R10 = 3 à AV_RANGE_over = 4 * 1/4 Register write by: Three-Wire Interface Register read by: Three-Wire Interface and current measurement unit - - - - - - d1 d0 - - - - - - 0 0 start up values Page 18 of 35 Data Sheet AS8446 Programming of the battery voltage monitor and over / under voltage detection R11<2:0> VBAT_RANGE R11= R11= R11= R11= R11= 0 1 2 3 4 à à à à à VBAT_RANGE VBAT_RANGE VBAT_RANGE VBAT_RANGE VBAT_RANGE = = = = = 5 à Vbat-max = 20 V 8 à Vbat-max = 32 V 10 à Vbat-max = 40 V 15 à Vbat-max = 60 V 20 à Vbat-max = 80 V Register write by: Three-Wire Interface Register read by: Three-Wire Interface and voltage monitor R12<2:0> OVER_VOLT - - - - - d2 d1 d0 - - - - - 0 1 0 R11= R11= R11= R11= R11= 0 1 2 3 4 à à à à à VBAT_RANGE VBAT_RANGE VBAT_RANGE VBAT_RANGE VBAT_RANGE = = = = = start up values 5 à Vbat-max = 20 V 8 à Vbat-max = 32 V 10 à Vbat-max = 40 V 15 à Vbat-max = 60 V 20 à Vbat-max = 80 V Register write by: Three-Wire Interface Register read by: Three-Wire Interface and voltage monitor R13<2:0> UNDER_VOLT - - - - - d2 d1 d0 - - - - - 1 1 1 start up values Step of UNDER_VOLT = 0.25 V * VBAT_RANGE UNDER_VOLT = 0.25 V * VBAT_RANGE * (R13 + 1) Start up value: UNDER_VOLT = 7.5 V Register write by: Three-Wire Interface Register read by: Three-Wire Interface and voltage monitor - - - - - d2 d1 d0 - - - - - 0 0 0 start up values Programming of the charge pump voltages R14<0:0> VPUMP_MIN R14 = 0 à VPUMP_MIN = 4.0 V R14 = 1 à VPUMP_MIN = 6.0 V Register write by: Three-Wire Interface Register read by: Three-Wire Interface and charge pump Revision 1.8, Date 2005-03-17 - - - - - - - d0 - - - - - - - 0 start up values Page 19 of 35 Data Sheet AS8446 Programming of the analog MUX R15<3:0> ADC_CH R15 = 0 à A_current R15 = 1 à A_overc R15 = 2 à Vbat_mon R15 = 3 à TP The following signals can purposes: R15 = 4 à Vtemp R15 = 5 à PVover R15 = 6 à PVunder R15 = 7 à PTover_in R15 = 8 à PTover_ex (normal current measurement channel) (over current measurement channel) (Vbat measurement channel) (temperature measurement channel) be given at the ADC output for chip test (temperature voltage of the internal sensor) (Over voltage Vbat signal) (Under voltage Vbat signal) (Over temperature signal, internal) (Over temperature signal, external) Register write by: Three-Wire Interface Register read by: Three-Wire Interface and analog MUX Note: - - - - d3 d2 d1 d0 - - - - 0 0 0 0 start up values Do not switch the analog MUX during operation! Programming of the watch dog R16<0:0> WATCH_D R16 = 0 à watch dog is off (watch dog not used) R16 =1 à watch dog is on (watch dog used) Register write by: Three-Wire Interface Register read by: Three-Wire Interface and watch dog - - - - - - - d0 - - - - - - - 0 start up values Programming of the sleep mode R17<0:0> SLEEP R17 = 0 à no sleep mode (normal operation) R17 = 1 à sleep mode (power down) Register reset to low by the Wake-up Interface. Wake-up = low (high / low edge) à R17<0:0> set to low - - - - - - - d0 - - - - - - - 1 start up values Revision 1.8, Date 2005-03-17 Page 20 of 35 Data Sheet AS8446 Failure Registers and Test Mode Register (on chip temperature detection) R18<7:0> FAILURE_STAT R18<0> R18<1> R18<2> R18<3> R18<4> R18<5> R18<6> à à à à à à à Poverc PVover PVunder PTover_in PTover_ex VDDover VDDunder R18<7> = 0 à R18<7> = 1 à (bit 0 contains the over current status) (bit 1 contains the over voltage status of Vbat) (bit 2 contains the under voltage status of Vbat) (bit 3 contains the on chip over temperature status) (bit 4 contains the external over temperature status) (bit 5 contains the over voltage status of VDD, 5 V) (bit 6 contains the under voltage status of VDD, 5 V) band gap Voltage is the reference voltage for the on chip over temperature detection (normal function) the voltage at pin TP is the reference voltage for the on chip over temperature detection (test mode) Registers R18<6:0> Register R18<6:0> Register R18<7> Register R18<7> set and reset by Three-Wire Interface and only set by corresponding failure detection units (Three Wire-Interface has write priority) read by Three-Wire Interface and corresponding logic write by Three-Wire Interface only read by Three-Wire Interface and corresponding analog switch TEMP_TEST VDDunder VDDover PTover_ex PTover_in PVunder PVover Poverc 0 0 0 0 0 0 0 0 Table 14 start up values Summary of the programming capabilities of the AS 8446 Revision 1.8, Date 2005-03-17 Page 21 of 35 Data Sheet AS8446 Three -Wire µP-Interface Data transfer from the microprocessor or PC to the AS8446 and vice versa is accomplished by means of Three-Wire Interface. The Three-Wire Interface of the AS8446 acts generally in slave mode. The master in the whole regulator board is either the controlling µP (normal regulator module in volume production) or a PC (development or field programming mode e.g. to realize the EMC optimization). All registers (see section Summary of all programmable registers (parameters, functions)) can be written and read by the Three-Wire Interface. Pin DATAout is high ohmic if the Three-Wire Interface chip select signal CS is not active (high). During an over voltage situation the write access to the Three-Wire Interface is blocked. Physical Interface Supported modes, and bit order are shown in Figure 10 and Figure 11. The DATAin signal must be valid with the rising edge of the clock Clk, the DATAout is valid with the falling edge of the clock Clk. The clock frequency should be as low as useful in the particular application. It is recommended not to use a clock frequency f clk higher than 10 MHz. The MSB is always transmitted / received first. CS first frame > 30 us > 30 us next frame > 0.1 us Clk MSB LSB MSB HEADER DATA LSB DATAin DATAout Figure 10 CS Physical Interface of Three-Wire Interface in write mode first frame > 30 us > 30 us next frame Clk MSB HEADER LSB DATAin MSB DATAout Figure 11 DATA LSB Physical Interface of Three-Wire Interface in read mode Revision 1.8, Date 2005-03-17 Page 22 of 35 Data Sheet AS8446 Communication Protocol The Three-Wire Interface -interface acts as communication interface between the µP or PC and the registers within the AS8446. For efficient register access, a protocol has been defined with the following features: Purely master-slave protocol with µP or PC as master Two different frames: One read and one write frame Frame is delimited by the status of CS (CS = frame delimiter or chip select signal), one frame consists of 16 Bits (header byte and data byte). Special remark for interface lock condition: If a frame does not consist of 16 bits (can be caused e.g. by spiking, noise or interrupt), the interface will be locked. In order to leave this lock situation CS = high and one or several clock pulses must be set. Setting CS = high alone will not be sufficient. Referring to Figure 10 and Figure 11, a Clk pulse with CS = high must be set in order to reset the interface and to ensure a safe communication. Data Fields HEADER H MSB R/W - H - A4 A3 A2 A1 LSB A0 A4, A3, A2, A1, A0: Address A (Register address to read or to write) R/W = MSB, A0 = LSB. R/W: Read or Write R/W =0: Read (Data are read/transmitted from the AS8446 via the DATAout pin.) R/W =1: Write (Data are write/transmitted from the µP or PC to the AS8446 via the DATAin pin.) DATA D MSB D7 D D6 D5 D4 D3 D2 D1 LSB D0 D7…D0: Data (Denotes the data of the register addressed. D7=MSB, D0=LSB) Note: To ensure a correct register setting the use of µP based verification (Write, Read-Back, Verify) is mandatory. Revision 1.8, Date 2005-03-17 Page 23 of 35 Data Sheet AS8446 Electrical Parameters and Functionality of the Subblocks All parameters are valid in the temperature range Tamb = -40 o C to +125 o C if not otherwise mentioned. 5V Regulator PARAMETER SYMBOL Regulated Output Voltage VDD Load Current at VDD IOUT Under voltage detection threshold VDDunder Over voltage detection threshold VDDover MIN TYP MAX UNIT 4.8 5.0 5.15 V (1) 40 mA (2), (3), (4) 4.3 NOTE V 5.6 V Note (1): For use of the internal voltage regulator the Pins V DD and V DDctrl must be connected. An external capacitor of 4.7µF to 10µF needs to be connected at the VDD pin. Note (2): Valid for Vbat ≥ 6.5V; for 6.0V ≤ Vbat < 6.5V the load current is limited to 2.5mA. Note (3): There is also the possibility to use an external regulator (Bipolar transistor). It is up to the user to select the suitable external components. Note (4): The max. power dissipation on chip must be respected (estimation: Pchip_vdd = ((Vbatmax - 5 V ) * Ivdd_ex + Vbat * Ivdd_in) < 400 mW ) Design Example V BAT V DDctrl 100 Ω T1 R 220 nF (Ceramic) V DD T 1 … Philips NPN medium power transistor BCX 56 C VDD … Panasonic FK-series 100µF / 16V C VDD 100 µF / 16V 47 nF Figure 12: Design example for operation of external voltage regulator Power on Reset 5 4 3 2 1 1 Figure 13 2 3 4 5 5 4 3 2 1 0 Transfer characteristic of PORn circuitry Revision 1.8, Date 2005-03-17 Page 24 of 35 Data Sheet AS8446 PARAMETER SYMBOL MIN TYP MAX UNIT 3.5 4.5 V 0.8 V Off threshold for Reset generation Voff_PORS 2.1 Hysteresis of Reset signal Hyst_PORS 0.1 NOTE Ramp up Sleep / wake up system The whole IC is put in sleep mode (power down mode) by the control signal SLEEP set via the Three Wire Interface (SLEEP = high, content register R17). The whole start up and sleep mode behavior is shown in figure 4. In sleep mode the following actions are done: the power FET driver output OUT is hold at low (VSS) the oscillator, the charge pump and all other blocks are put in a high ohmic status the 5 V regulator is switched off (no external supply at pin VDD, this way all devices on the motor regulator board supplied - by VDD, e.g. the µP and the external temperature sensor, are powered down) a raw internal 5 V supply V DDraw is generated to supply the wake up system and the whole logic block the total current consumption of the IC is less than 90 µA During sleep mode the Wake-up Pin must be at high level (V BAT ). Applying a “low”-pulse on the wake-up pin will wake up the IC. PARAMETER SYMBOL Current Consumption in Sleep Mode (Tamb = -40 o C to 125 o C) Ivbat_pd Current Consumption in Sleep Mode (1) (Tamb = -40 o C to 27 o C) Ivbat_pd27 MIN TYP MAX UNIT 90 µA (50) µA NOTE R17<0> = 1 (SLEEP = high) Note (1): only as information. Will not be tested. Reference Current Generator The reference current generator uses a bandgap based 1 V reference voltage to generate a buffered 1 V voltage reference at pin Iref. A 22 kΩ external resistor must be used to generate the 45 µA current reference. PARAMETER Voltage at pin Iref SYMBOL Vref MIN TYP MAX UNIT 0.95 1.0 1.05 V NOTE High Side Power FET Driver / Slew Rate Regulation The supply voltage of this driver is about 10 V higher than the Vbat (n-channel power FET to drive) and is delivered by the on chip charge pump at pin Vpump. The Power FET driver is controlled in two different ways: First by the digital output of the PWM generator of the µP to realizing a certain duty cycle of the motor drive and so to regulate the motor current, voltage or speed in a closed loop. The driver output OUT is set to low (the motor is switched off) independently of the PWM signal under the following conditions: • over current condition: The over current signal Poverc is set to high by the over (Poverc = high ) current detection unit and reset to low via the Three Wire Interface • under voltage condition of Vbat: (PVunder = high) The under voltage signal PVunder is set and reset by the voltage monitor. • over voltage condition of Vbat: (PVover = high ) The over voltage signal PVover is set and reset by the voltage monitor. Revision 1.8, Date 2005-03-17 Page 25 of 35 Data Sheet AS8446 • charge pump voltage Vpump - Vbat is too low: The charge pump OK signal VPok is set and reset by the charge pump (VPok = low ) monitor. The threshold values of these parameters are programmable (see section Summary of all programmable registers (parameters, functions)). • the calibration of the motor current measurement unit is not yet finished: Mcalib = low. The motor current must be zero respectively the voltage (V CMP - V CMN ) must be zero during the calibration. This calibration is done after the start up of the system including the ready signal of the charge pump: power on reset signal nPOR and Vpok = high starts the calibration. The calibration procedure needs about 200 µs (see figure 4). Summary of logic driver function: OUT = PWM and /Poverc and /PVunder and /PVover and VPok and Mcalib Second by the analog motor voltage to regulate the slew rate during the rising and falling edge of the motor voltage (EMC conform technology). This slew rate control respectively regulation is executed by a feedback of the motor voltage V motor available at the pin Vmo. The characteristics (parameters) of this slew rate regulation can be programmed via the Three-Wire Interface independently for the falling and rising edge of the motor voltage and can therefore be adapted to a specific application (motor and its environment). This programming of the output current characteristics (gate current of the external power FET) in both directions is shown in section Summary of all programmable registers (parameters, functions). PARAMETER SYMBOL MIN TYP MAX UNIT NOTE Tolerances of driver IOUTon output current (pin OUT), sourcing -50% +50% I out_on = I SRon-stat + I SRon + I SRon_min The relative tolerances between adjacent programming steps of the driver current are less than 10%. Tolerances of driver IOUToff output current (pin OUT), sinking -50% +50% I out_off = I SRo ff-sta t + I SRo ff The relative tolerances between adjacent programming steps of the driver current are less than 10%. max. pulse duration = 1µs @ 20 kHz or max. external charge to load: 250 nC @ 20 kHz valid for I OUT = 5 mA ... 500 mA and Vbat = 12 V , Vpump = 22 V - Programmable by the registers R1 to R6 - Revision 1.8, Date 2005-03-17 Page 26 of 35 Data Sheet AS8446 Charge Pump and internal Oscillator The charge pump is a one-stage pump that generates a pumped voltage Vpump about 10 V higher than the supply voltage Vbat for Vbat > 13.5 V. It uses two external capacitors only, the capacitor Cp12 as the switched capacitor and Cp0 as the storage capacitor. The pumped voltage (Vpump - Vbat) is monitored to detect over or under voltages (protection of the power FET gate): (Vpump - Vbat) = 10 V to 12 V : Normal voltage regulation of the charge pump (Vpump - Vbat) < (Vpump - Vbat) low : The digital signal VPok is indicating this under voltage and disabling the power FET driver. The threshold value (Vpump - Vbat) low can be programmed to be 6 V or 4 V (VPUMP_MIN). PARAMETER SYMBOL MIN TYP MAX 12 Pumped voltage Vpump - Vbat 10 10.5 Pumped voltage Vpump - Vbat 4.0 5.0 Pumped voltage Vpump - Vbat 4.0 Under voltage threshold (VPUMP_MIN = 1) (Vpump - Vbat) low 5.4 6.0 Under voltage threshold (VPUMP_MIN = 0) (Vpump - Vbat) low 3.4 regulated voltage threshold (Vpump - Vbat) h igh frequency f pump UNIT NOTE V Vbat = 13.5 V, Iload = 5 mA V Vbat = 6.5 V, Iload = 2.5 mA V 6.0V ≤ Vbat < 6.5V (low-Batterymode), Iload = 250µA 6.6 V falling (Vpok) 4.0 4.6 V falling (Vpok) 10 10.5 12 V rising 40 50 70 kHz Motor Current Measurement Unit / Over Current Detection The motor current measurement unit functions with an external current measurement resistor R me as in the high side motor line. The chip has two measurement amplification channels with separately programmable amplification factors AV meas_normal = V A_current / (V CMp – V CMn ) (analogue output A_current) and AV me as_over = V A_overc / (V CMp – V CMn ) (analogue output A_overc). The maximal valid nominal analogue output voltage level V A_curren t and V A_overc of theses channels is 4.0 V (100% value of the output voltage V A_current (nominal value). In general, all programming possibilities can be used to build up a measurement system within the defined limits. It is recommended to use a nominal differential voltage (V CMp – V CMn ) > 50 mV to avoid larger tolerances of the amplification factor caused by offset. The programming of theses two amplification channels is usually realized in a way that the measurement range of the over current measurement channel is wider than the normal current measurement channel. In the whole system the analogue outputs A_current and A_overc are used via an ADC in the controlling µP to regulate and control the system. There is one exception only: The over current detection and protection is realized directly by the over current measurement channel to be able to act very fast in case of an over current situation (short circuit). The measurement unit contains a low pass filter to prevent wrong measurement if short transients of the measurement input voltage occurs (cut-off frequency about 500 kHz). The motor current measurement unit is endowed with an auto calibration procedure for the offset voltage. The motor current respectively the measurement voltage (Vcmp - Vcmn) must be zero during this calibration. This calibration is done after the start up of the system including the ready signal of the charge pump: power on reset signal nPOR and Vpok = high starts the calibration. The calibration procedure needs about 200 µs. Revision 1.8, Date 2005-03-17 Page 27 of 35 Data Sheet AS8446 a) Motor current measurement (normal current amplification channel: A CMV_normal , programmed by AV_RANGE_norm (Register R8<1:0>) and AV_TRIMM (Register R7<4:0>) The nominal measurement differential voltage V meas_nom (corresponding to 100% of the nominal motor current) V meas_nom = (V CMp – V CMn ) nom = I mo tor_nom * R meas must be fixed by the value of R me as . So the value of this measurement resistor is given by R meas = (V CMp – V CMn ) nom / I mo tor_nom . The voltage amplification of this motor current measurement unit AV me as_normal = V A_ current / (V CMp – V CMn ) is programmable in the range AV_RANGE_norm * AV_TRIMM = (1, 2, 3, 4) * (70, 71, … 89, 90) Examples: AV_RANGE_norm = 1: A CMV_normal = 70, 71, 72, … , 80, … , 89, 90 AV_RANGE_norm = 4: A CMV_normal = 280, 284, 288, …, 320, … , 360 (The programming values of AV_RANGE_norm >1 are intended for a measurement of low currents with a higher digital resolution, but in this cases the tolerances of the amplification factor is high due to the remaining offset of the measurement amplifier.) This way the analog output value V A_current of the current measurement unit can be adapted to the external measurement resistor R meas (trimming of this resistor in the range + 12.5%). The nominal (respectively 100%) voltage of the measurement unit V A_ current (this is the nominal input voltage of the ADC on the µP) must be 4.0 V. b) Over current detection and protection (over current amplification channel A CMV_over ) The over current amplification channel uses the same input voltage V me as = (V CMp – V CMn ) as the normal current amplification channel. The voltage amplification of this over current measurement channel A CMV_over = V A_ overc / (V CMp – V CMn ) is programmable by AV_RANGE_over (Register R10<1:0>) and AV_TRIMM (Register R7<4:0>) in the range A CMV_over = AV_RANGE_over * AV_TRIMM = (1/4, 2/4, 3/4, 4/4) * (70, 71, … 89, 90) Revision 1.8, Date 2005-03-17 Page 28 of 35 Data Sheet AS8446 Examples: AV_RANGE_over = 1/4: A CMV_over = 17.5, 17.75, 18, … , 20, … , 22.25 , 22.5 AV_RANGE_over = 4/4: A CMV_over = 70, 71, 72, …, 80, … , 89, 90 The adjustment (trimming) of the measurement resistor R meas is realized by the same programming parameter AV_TRIMM (+ 12.5%) like in a). The maximal output voltage of the over current amplification channel V A_ overc (this is the nominal input voltage of the ADC on the µP) must be 4.0 V. The threshold value of the over current detection can be programmed by the programming parameters OVERC_level (in conjunction with AV_RANGE_over and AV_TRIMM) in the following way. The voltage over the external measurement resistor where the over current situation is detected (Vmeas_over) is given by: with OVERC_level = 0.5 V, 1.0 V, 1.5 V, … 4.0 V V meas_over = OVERC_level / (AV_TRIMM * AV_RANGE_over) See also section Summary of all programmable registers (parameters, functions) for the programming of the parameters above. PARAMETER SYMBOL MIN MAX UNIT Tolerance of voltage amplification, normal current measurement channel 1) ∆A CMV_normal -6 +6 % V meas = 50 mV, R8 = 0 à 80 - 10 + 10 % V meas = 25 mV, R8 = 1 à 160 - 20 + 20 % V meas = 16.67mV, R8 = 2 à 240 - 20 + 20 % V meas = 12.5 mV, R8 = 3 à 360 Tolerance of voltage amplification, over current measurement channel 1) ∆A CMV_over -6 +6 % V meas = 200 mV, R10 = 0 à 20 -6 +6 % V meas = 100 mV, R10 = 1 à 40 -6 +6 % V meas = 60.6 mV, R10 = 2 à 60 -6 +6 % V meas = 50 mV, Tolerance of linearity A CMV_normal ∆lincurrent -3 +3 % ((∆V A_current / ∆V meas_nom ) - A CMV_normal ) / A CMV_norma l Tolerance of linearity A CMV_overc ∆linoverc -3 +3 % ((∆V A_overc / ∆V meas_nom ) - A CMV_overc ) / A CMV_overc Tolerance of over current thresholds ∆overclevel - 10 + 10 % R10 = 0, R9 ≤ 3, Tamb > 25 o C Tolerance of over current thresholds ∆overclevel - 20 + 10 % R10 = 0, R9 ≤ 3, Tamb = -40 o C Tolerance of over current thresholds ∆overclevel - 20 + 20 % R10 = 0, R9 > 3, Tamb = (-40 to 125) o C Cut off frequency fcut-off 400 800 kHz Note (1): NOTE (Programming, nominal amplification) R10 = 3 à 80 The offset voltage of the current measurement unit at calibration temperature V meas_offset is < 1.5 mV (typical: 0.5 mV), the maximal offset temperature drift is + 20 µV / K. Revision 1.8, Date 2005-03-17 Page 29 of 35 Data Sheet AS8446 Battery Voltage Monitor and Over / Under Voltage Detection The Battery voltage monitor has to deliver an analog voltage Vbat_mon in the 5V range which is proportional to the high voltage supply Vbat (normally VDDH = Vbat). The measurement range of the supply voltage Vbat is programmable via the register R11<2:0> to adapt the AS8446 to different application supply voltages. Programming of the MEASUREMENT RANGE of Vbat (programmed by register R11<2:0> à VBAT_RANGE) PARAMETER Programmable Measurement Voltage Ranges of Vbat Note (1): Note (2): Programming Register R11 MAX UNIT NOTE Vbat max1 20 V (1) R11= 1 à VBAT_RANGE = 8 Vbat max2 32 V R11= 2 à VBAT_RANGE = 10 Vbat max3 40 V R11= 3 à VBAT_RANGE = 15 Vbat max4 60 V R11= 4 à VBAT_RANGE = 20 Vbat max5 80 V R11= 0 à VBAT_RANGE = 5 SYMBOL MIN The programmable value of VBAT_RANGE determines the max. value of Vbat measurable by the voltage monitor (condition: Vbat / VBAT_RANGE < 4 V). VBAT must not exceed the specified abs. Max. ratings (see Table 3) PARAMETER MIN MAX UNIT Tolerance of the division factor ∆VBAT_RANGE SYMBOL -6 +6 % Tolerance of the programmed over voltage threshold ∆Vovervolt -10 +10 % Tolerance of the programmed ounder voltage threshold ∆Vundervolt -10 +10 % NOTE Programming of the OVER VOLTAGE detection level of Vbat (programmed by register R12<2:0> à OVER_VOLT and R11<2:0> à VBAT_RANGE) Remark: The maximum over voltage limit of Vbat for safe functionality of AS8446 is limited to Vbat < 30 V and must be respected by appropriate programming. Programmable steps of OVER_VOLT = 0.25 V * VBAT_RANGE = (1.25 or 2.0 or 2.5 or 3.75 or 5.0 ) V OVER_VOLT = 0.25 V * VBAT_RANGE * (R12 + 9) = 11.25 V ... 80 V a) During an over voltage situation the write access to the Three Wire Interface is blocked and the driver is switched off. Programming of the UNDER VOLTAGE detection level of Vbat (programmed by register R13<2:0> à UNDER_VOLT and R11<2:0> à VBAT_RANGE) Remark: The minimium Vbat for full functionality of AS8446 is limited to Vbat > 6.5 V (except for Low-batterymode reduced functionality is still given between 6V and 6.5V, see Table 4 Operating Conditions). Programmable steps of UNDER_VOLT = 0.25 V * VBAT_RANGE = (1.25 or 2.0 or 2.5 or 3.75 or 5.0 ) V UNDER_VOLT = 0.25 V * VBAT_RANGE * (R13 + 1) = 1.25 V ... 40 V b) Revision 1.8, Date 2005-03-17 Page 30 of 35 Data Sheet AS8446 Over Temperature Detection On Chip Over Temperature Detection The on chip temperature detection sets the signal PTover_in high if the chip temperature climbs above the specified level. This over temperature detection has a hysteresis of about 20 °C. PARAMETER MIN TYP MAX UNIT Recovery Temperature T recovery SYMBOL +130 +140 +150 °C Information Parameter NOTE Shutdown Temperature T shutdpwn +150 +160 +170 °C Information Parameter On chip temperature voltage VTEMP 1 1.4 V T ON_CHIP = 27 °C threshold voltage of the on chip over temperature comparator VOTI 0.8 1 V Information Parameter Hysteresis of the over temperature comparator VOTIHYST 30 50 mV Information Parameter External Over Temperature Detection The over temperature detection is realized with an external temperature sensor (e.g. NTC). The threshold value of the voltage at pin TP is defined to V th_TP = 0.5* VDD (typical 2.5 V) and has a hysteresis. PARAMETER SYMBOL Over Temperature threshold value MIN TYP Vth_TP VDD/2 – 0.05 Negative Hysteresis Vth_TP_HYS_N 30 The over temperature signal PTover_ex is defined in the following way: PTover_ex = high if V IN < V th_ TP (over temperature) PTover_ex = low if V IN > V th_TP (no over temperature) MAX UNIT VDD/2 + 0.05 70 V NOTE mV Analog MUX and Analog Output Buffer The following analog measurement channels and digital signals are output via an analog MUX and an analog buffer to the pin ADC, the MUX is controlled by register R15<3:0> Analog MUX function PARAMETER SYMBOL TYP A_current Normal motor current measurement channel R15 = 0 A_overc Motor over current measurement channel R15 = 1 Vbat_mon Battery voltage monitoring R15 = 2 TP Temperature sensor analog value R15 = 3 Vtemp Temperature voltage R15 = 4 PVover Over voltage signal R15 = 5 PVunder Under voltage signal R15 = 6 PTover_ex Over temperature signal, extern R15 = 7 PTover_in Over temperature signal, intern R15 = 8 Revision 1.8, Date 2005-03-17 NOTE Used in normal application to control / regulate the system Used for test purposes only Page 31 of 35 Data Sheet AS8446 Analog buffer characterization PARAMETER SYMBOL Input/Output voltage range V IO Offset voltage V offse t Slew rate SR buffer MIN TYP MAX 0.0 UNIT 4.0 V 80 mV 1.0 NOTE V/µs (1) Note (1): C Load = 20 pF Failure Feedback Signal There are two different ways to detect failures in the whole regulator system: • System failures detected directly on chip (e.g. over current, under voltage, …) and indicated by the appropriate failure signal (e.g. Poverc, PVunder, …, respectively FAIL) • System failures detected by software of the controlling µP via the monitoring of the motor current, motor speed, battery voltage, temperature and duty cycle of the PWM signal (e.g. motor failures like blocked motor, open wires, …). This part of system failures must be defined by the motor and system know how of the customer. The following system failures are detected directly on the AS8446 chip: 1. Over current of the motor (signal: Poverc) 2. Under voltage of the battery voltage Vbat (signal: PVunder) 3. Over voltage of the battery voltage Vbat (signal: PVover) 4. Over temperature of external temperature (signal: PTover_ex) 5. Over temperature of on chip temperature (signal: PTover_in) 6. Under voltage of VDD (5 V) (signal: VDDunder) 7. Over voltage of VDD (5 V) (signal: VDDover) All these seven failures are stored in register R18 and can be read by the controlling µP via the Three Wire Interface. A failure signal FAIL is created by OR conjunction of these failures and put to the pin FAIL (can be used as an interrupt signal for the µP to start a read access via the Three Wire Interface to the failure register R18): FAIL = Poverc or PVunder or PVover or PTover_ex or PTover_in or VDDunder or VDDover or TEMP_TEST The first three failures (over current, over and under voltage) are used to switch off the driver output OUT immediately by on chip hardware, the two temperature failure and the VDD over / under voltage failure are only detected and can be treated by software of the µP. The signal TEMP_TEST is only used for test purposes and must be set low in the normal application. If there is a wrong value (high) of TEMP_TEST during the normal application the FAIL signal is set and must be reset via the Three Wire Interface. Wake-up System (Pin Wake-up) PARAMETER SYMBOL MIN TYP MAX UNIT NOTE DC Characteristics Low Level Input Voltage V IL -8 0.4 V BAT V High Level Input Voltage V IH 0.6 V BAT VBAT V Input Hysteresis V HYS 0.05 V BAT 0.1 V BAT V Pull- up Current on Input I PU -400 5 µA V IH - V IL > 30 kΩ internal pull- up @ V IH = 0.7 V BAT Watch Dog and RESET The watch dog can be used to supervise the function of the controlling µP. In cases where this supervising is not necessary, the watch dog is switched off via the Three Wire Interface by sending a zero to R16<0:0>. The default value after the start up of the system is R16<0:0> = 0 (watch dog is not active). Revision 1.8, Date 2005-03-17 Page 32 of 35 Data Sheet AS8446 The trigger of the watch dog is done by the high / low edge of the external signal WD (start of the counter). The output signal of the watch dog WDout goes high if the watch dog time is over. The output signal of the watch dog WDout or the nPOR are generate the low active signal RESET (used for external µP only): if nPOR = low or (WDout = high) and R16<0> = high) à RESET = low PARAMETER SYMBOL MIN TYP MAX UNIT Twatch Twatch_d 110 14 160 20 190 25 ms µs time out of the watch dog RESET pulse duration NOTE Package Drawing and Marking E 12 3 H TOP VIEW D A1 A e Figure 14 α L b SIDE VIEW END VIEW Physical Dimensions (SOIC28) of AS 8446 Physical Dimensions SOIC28 (millimeters) MIN. NOM. MAX. D E H A A1 e b L α 17.81 17.93 18.06 7.42 7.52 7.59 10.16 10.31 10.41 2.46 2.56 2.64 0.127 0.22 0.29 1.27 BSC 0.35 0.41 0.48 0.61 0.81 1.02 0° 5° 8° Revision 1.8, Date 2005-03-17 Page 33 of 35 Data Sheet AS8446 Physical Dimensions SOIC28 (inches) MIN. NOM. MAX. D E H A A1 e b L α .701 .706 .711 .292 .296 .299 .400 .406 .410 .097 .101 .104 .0050 .0090 .0115 .050 BSC .014 .016 .019 .024 .032 .040 0° 5° 8° Table 15 Physical Dimensions of AS 8446 Figure 15 Marking of AS 8446 Marking: YYWWIZZ YY: WW: I: ZZ: Manufacturing Year Manufacturing Week Plant Identifier Letters Of Free Choice AY W W I Z Z Figure 16 Marking: PB-free Marking of AS 8446 AYWWIZZ Revision 1.8, Date 2005-03-17 A: Y: WW: I: ZZ: Pb-Free Identifier Last Digit of Manufacturing Year Manufacturing Week Plant Identifier Traceability Code Page 34 of 35 Data Sheet AS8446 Contact austriamicrosystems AG A 8141 Schloss Premstätten, Austria T. +43 (0) 3136 500 0 F. +43 (0) 3136 525 01 [email protected] Copyright Copyright © 2003 austriamicrosystems. Trademarks registered ®. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. To the best of its knowledge, austriamicrosystems asserts that the information contained in this publication is accurate and correct. Revision 1.8, Date 2005-03-17 Page 35 of 35