Part Number Hot Search : 
245AD 23N50 107004 24C01 120T3 13002 PJ1084L 385BZ
Product Description
Full Text Search
 

To Download AS8506-BQFP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ams datasheet, confidential:2013-sep [1-00] as8506 C 1 as8506 battery cell monitor and balancer ic the as8506 is a battery management ic dedicated to support cell voltage measurement, monitoring, cell balancing and temperature measurement functions in li-ion battery stacks for electric/hybrid electric vehicles or in other industrial/consumer/pv battery applications. there are two device versions available: ? the as8506 is aec - q100 automotive qualified. ? the as8506c is for industri al and other applications. ambient temperature range for both products is from -40c to +85c. it features cell voltage diagnosis with externally adjustable upper and lower cell voltage limits, fast cell voltage capture on request through 12-bit sar adc, passive cell balancing by simultaneous comparison of actual cell voltages with a reference cell voltage and temperature measurement on two external ntc sensors through 12-bit adc. cells that are above reference will sequentially be discharged through integrated switches and one external resistor. there is also an active balancing option through factory setting to sequentially charge cells which are below reference from an external dc-dc flyback converter and an integrated low side driver. the device can be used flexibly for battery stacks up to 7 cells with a minimum stack voltage of 6v and a maximum stack voltage of 32v. it can be chained to support battery packs of virtually any number of cells in synchronized mode through chained clock and trigger signal. the status of the battery stack is communicated to outside world through ord voltage_ok signal and balance ready signal. for further understanding in regards to the contents of the datasheet, please refer to the reference guide located at the end of the document. general description
as8506 C 2 ams datasheet, confidential:2013-sep [1-00] general description key benefits & features the benefits and features of as8506, battery cell monitor and balancer ic are listed below: figure 1: added value of using as8506 applications the applications of as8506 include: ? the as8506 is ideal for simultaneous cell monitoring and cell balancing in stacked energy storage systems. current levels in the 100 ma range enables to compensate accumulative soc mismatch over the entire cell pack. ? typical applications are - li-ion batteries up to 200 cells for electric vehicles, - energy storage systems to buffer energy from pv panels or for emergency power supplies, - battery management for e-scooters and e-bikes, - li-ion or ultra capacito r based board net battery management systems in the 12v/48v domain, for handheld applications like power tools, laptops and in general all li-ion battery powered systems. benefits features reduce filter / synchronization effort. acquired data have same time stamp to inherently generate accurate comparison results independent from load transients. simultaneous cell voltage capture for safe operating area (soa) monitoring and balancing. strongly reduces data communication and data processing and thereby improves emc robustness. autonomous balancing and soa monitoring. to compensate accumulative charge differences only. this mitigates cases of occasional wrong balance decisions due to fl at ocv characteristic or mismatch in cell temperature autonomous passive balancing in the 100 ma range intrinsic inter module balancing through charge redistribution, efficiency improvement in case of leakage path due to defect induced leakage in particular cells. option for active charge balancing with very few external components. for ocv capture, cell impedance calculation, diagnosis absolute cell voltage read out, read out of two temperature sensors. small form factor, low bom 40-pin mlf (6x6) package, very low number of external components.
ams datasheet, confidential:2013-sep [1-00] as8506 C 3 general description block diagram the functional blocks of this device for reference are shown below: figure 2: as8506 block diagram 5v c_out1 c_out2 c_out3 c_out4 c_out5 c_out6 c_out7 vcell6 ldo high precision reference dac_in[11:0] level shifters for stack communication / status signals ext_res_ctl vcell5 vcell4 vcell3 vcell2 vcell1 vcell7 level shifters dac pre-regulator comp1 comp2 comp3 comp4 comp5 comp6 comp7 cnt1 cnt2 cnt3 cnt4 cnt5 cnt6 cnt7 balance and vref_h switches level shifters stack signals stack signals vcell[7:1] rc oscillator & pwm driver c-gnd vcell1 vcell2 vcell3 vcell4 vcell5 vcell6 cnt1h cnt2l cnt1l cnt2h cnt3l cnt3h cnt4l cnt4h cnt5l cnt5h cnt6l cnt6h cnt7l gnd nc nc_t wake_in bd_out tsech tsecl ms_sl fd_out cvt_nok_out vcell7 cnt7h multiplexer & sar logic zero cross detection circuit v5v cell_thu cell_thl cvt_nok_in vref_in trig_out sclk sdo sdi temp_in1 trig_in cs temp_in2 ref_t clk_in temperature sensor / switch capacitor circuit over-temperature monitor vref_h clk_out fd_in wake_out v5v_in vsup bd_in reference & threshold generation circuit fsm, digital registers, otp logic as8506
as8506 C 4 ams datasheet, confidential:2013-sep [1-00] pin assignment figure 3: pin diagram of as8506 pin assignment sdo cs sclk sdi ref_t temp_in1 cell_thl cell_thu temp_in2 29 28 27 26 25 24 23 22 21 v5v 30 11 12 13 14 15 16 17 18 19 clk_in gnd trig_in nc wake_in cvt_nok_out bd_out vref_in fd_out 20 nc_t cvt_nok_in trig_out clk_out ms_sl wake_out bd_in fd_in vsup vref_h 40 39 38 37 36 35 34 33 32 v5v_in 31 as8506 mlf 6x6 gnd (exposed pad) 10 vcell4 vcell3 vcell2 vcell7 vcell6 vcell5 vcell1 tsech tsecl 1 2 3 4 5 6 7 8 9 c-gnd
ams datasheet, confidential:2013-sep [1-00] as8506 C 5 pin assignment figure 4: pin description pin number pin name pin type description 1tsech analog input / output flyback converter transformer secondary high side 2 tsecl flyback converter transformer secondary low side 3 vcell7 battery cell 7 high level pin 4 vcell6 battery cell 6 high level pin 5 vcell5 battery cell 5 high level pin 6 vcell4 battery cell 4 high level pin 7 vcell3 battery cell 3 high level pin 8 vcell2 battery cell 2 high level pin 9 vcell1 battery cell 1 high level pin 10 c-gnd power supply input battery cell 1 low level pin 11 nc not connected 12 vref_in analog input / output cell voltage reference value (cell target voltage of battery) 13 gnd power supply input ground to the ic 14 trig_in digital input this pin triggers the cell balancing in the device. short pulse is for receiving status and continuous high for cell balancing. it also acts as a data line during 3-wire communication. 15 clk_in clock input pin in the slave device. this pin also acts as a clock during 3-wire communication. scan clock in scan mode. 16 cvt_nok_out digital output this pin alerts when the cell voltage or the device/cell temperature is not within limits. during 3-wire communication, the crc error is indicated on this pin. the internal device cell voltage or temperature status is ored with cvt_nok_in on this pin. 17 bd_out the device internal balance done and balance done from above device are anded on this pin. this pin in master device indicates the complete system balance done. during address allocation process, this pin will be high if bd_in is high. 18 fd_out flyback converter gate/opto coupler drive (pad is push-pull type) can drive up to 12ma.
as8506 C 6 ams datasheet, confidential:2013-sep [1-00] pin assignment 19 wake_in digital input with pull-up the wake pulse on this pin brings the ic into normal mode. this pin has a pu ll-up resistor to the internal regulator. should be driven with an open drain or external nmos. 20 nc_t analog input / output not connected. only used in test mode. 21 sdo digital output spi data out 22 sdi digital input spi data in 23 sclk spi clock 24 cs digital input with pull-up spi chip select 25 cell_thu analog input / output cell voltage upper threshold 26 cell_thl cell voltage lower threshold 27 temp_in2 temperature input2 to the ic (ntc input; if ntc is not connected, then should be connected to gnd with 1k resistor). 28 temp_in1 temperature input1 to the ic (ntc input; if ntc is not connected, then should be connected to gnd with 1k resistor). 29 ref_t supply to temperature sensor (reference voltage to dac and adc). 30 v5v power supply input ldo 5v output. 31 v5v_in supply to the bottom ic from the cascaded top ic. 32 wake_out digital output open drain open drain o/p on the vsup+5v domain. wake_in information will be transmitted to top device. 33 fd_in digital input flyback converter gate drive input in daisy chain connection. (if fd_in is high then fd_out will be pwm o/p in balance mode). 34 bd_in digital input with pull-down in cell stack system, the device gets balance done status of above device. during address allocation process if this pin is high, then the device address is decremented by 1. 35 cvt_nok_in indicates cell voltage or temperature status of above device. pin number pin name pin type description
ams datasheet, confidential:2013-sep [1-00] as8506 C 7 pin assignment 36 clk_out digital output this pin propagates the clock to next device in the stack system. in case of master device internal rc clock is transmitted on this pin to slave device. 37 trig_out this pin transmits the data from trig_in for balance and measurement phase. this pin is also used for propagating the data information to next device in stack system in spi3. 38 vsup power supply input supply to the ic. 39 ms_sl digital input this pin informs the device whether it should act as the master or slave. if this pin is connected to gnd , then device will act as master. if this pin is connected to vsup then device will act as slave. 40 vref_h analog input / output high sides pmos switch for external resistive divider. input to vref_in can be taken from external resistive divider in one of the options. pin number pin name pin type description
as8506 C 8 ams datasheet, confidential:2013-sep [1-00] absolute maximum ratings 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 on page 10 is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. figure 5: absolute maximum ratings symbol parameter min typ max units comments electrical parameters v vsup voltage at positive supply pin -0.3 42 v vsup pin v gnd voltage at negative supply pin -0.3 0 v gnd , c-gnd ; reference potential v v5v_in voltage at high side supply -0.3 vsup + 0.3 v ms_sl , vref_h , tsech and tsecl vsup + v5v_in high side supply from top device vsup - 0.3 vsup + 5.5 v trig_out , clk_out , cvt_nok_in , fd_in , bd_in , wake_out v v5v voltage at on ldo o/p pins -0.3 7 v v5v pin v esd voltage on 5v pins -0.3 v5v+0.3 v all pins expect vsup, vcell1 , vcell2 , vcell3 , vcell4 , vcell5 , vcell6 , vcell7 , ms_sl , wake_in vcell1 to vcell7 voltage on pins vcell1 , vcell2 , vcell3 , vcell4 , vcell5 , vcell6 , vcell7 -0.3 7 v applied cell voltages i scr latch-up immunity -100 +100 ma aec - q100-004 absolute maximum ratings
ams datasheet, confidential:2013-sep [1-00] as8506 C 9 absolute maximum ratings note(s) and/or footnote(s): 1. human body model: r = 1.5k ; c = 100pf. 2. the reflow peak soldering temperature (body temperature) is specified according ipc/jedec j-std-020 moisture/reflow sensiti vity classification for non-hermetic solid state surface mount devices. electrostatic discharge esd electrostatic discharge voltage aec - q100-002 hbm standard (1) 2 kv vsup , vref_in , sdi , sdo , cs , sclk , cell_thu , cell_thl , temp_in1 , temp_in2 , ref_t, v5v , v5v_in , ms_sl , vref_h , nc_t 4 gnd, c-gnd , cell1 C cell7 (cell-voltage pins,), tsech , tsecl , trig_in , trig_out , clk_in , clk_out , cvt_nok_in , cvt_nok_out , wake_in , wake_out , fd_in , fd_out , bd_in and bd_out continuous power dissipation p tot maximum power dissipation 1w temperature ranges and storage conditions t stg storage temperature -55 150 oc r thj_36 thermal resistance package 30 oc/w t body package body temperature 260 oc norm: ipc/jedec j-std-020 (2) msl moisture sensitive level 3 symbol parameter min typ max units comments
as8506 C 10 ams datasheet, confidential:2013-sep [1-00] typical operating characteristics all defined tolerances for external components in this specification need to be assured over the whole operation conditions range and also over lifetime. figure 6: operating conditions symbol parameter min typ max unit note vsup positive supply voltage 6 32 v normal operating condition vss negative supply voltage -0.3 0 v with reference to all the voltages t amb ambient temperature -40 85 oc maximum junction temperature (t j ) 115oc i supp, nom supply current, normal mode 236mavsup=32v, in normal mode supply current, normal mode, with external components 15 20 40 ma vsup=32v, in the balancing phase with stack connection (50% pwm duty cycle) i supp, sleep supply current, sleep mode 10 17 35 a typical operating characteristics
ams datasheet, confidential:2013-sep [1-00] as8506 C 11 electrical characteristics device level specifications -40c < tj < 115c. figure 7: device level specifications symbol parameter min typ max unit note vcell_in cell input voltage measurement 1.8 4.5 adc/dac adc/dac reference 7 15 mv dac_error error of the dac 2 mv 0.1% error because of the dac/guaranteed by design com_off error because of the comparator resolution 1 mv guaranteed by design sign_path_accuracy signal path accuracy 5 15 mv typical value is from the lab evaluation data. maximum value is from the test data. t initialization initialization time 50 ms after initialization, the system will go to sleep mode and waits for wake signal. t wake-up wake up time from the wake signal to system wait mode 75 ms after wake signal, device enters into wait mode and stays for two sec for trig_in signal, if no trig_in event occurs, device goes to sleep mode. tmeas cell voltage and temperature measurement time 16 ms at10khz clock time tspi3_read5k spi3 read time for single channel measurement 13.6 ms at 5khz clock time tspi3_read20k 3.4 at 20khz clock time tspi3_read40k 1.7 at 40khz clock time electrical characteristics
as8506 C 12 ams datasheet, confidential:2013-sep [1-00] electrical characteristics low dropout regulator (5v output ldo) -40oc < t j < 115oc; all voltages are with respect to ground (gnd); positive current flows into the pin, normal operating mode, if not otherwise mentioned. the ldo block is a linear voltage regulator, which provides a regulated 5v. figure 8: ldo parameters note(s) and/or footnote(s): 1. in normal mode, maximum load current will be 50ma. after internal thermal shutdown, current limit is 20ma. 2. the ldo is disabled in sleep mode. symbol parameter min typ max unit note v sup input supply voltage 6 12 32 v v5v output voltage range 4.75 5.0 5.25 v i load load current 50 ma icc_sh output short circuit current 85 250 ma normal mode psrr psrr 60 db f=1khz / no production test 35 f=1mhz / no production test cl1 ldo output capacitor 1 2.2 10 f electrolytic esr1 1 10 cl2 ldo output capacitor 2 100 220 nf ceramic esr2 0.02 1
ams datasheet, confidential:2013-sep [1-00] as8506 C 13 electrical characteristics high-precision bandgap reference -40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 9: bandgap reference parameters note: this bandgap output is the reference for the v5v (ldo) regulator. digital to analog converter -40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 10: digital to analog converter symbol parameter min typ max unit note bg_out reference output after trim 1.2 1.235 1.27 v after temperature trim bg_out_t var reference variation with respect to temperature 2.5 4 mv after trim on the absolute psrr1k psrr at 1khz 20 db no production test psrrdc psrr at dc 80 db symbol parameter min typ max unit note v sup_dac input supply voltage 4.75 5 5.25 v ldo output as supply v inref input reference voltage 4.485 4.5 4.515 v after absolute trim d in resolution 12 bits guaranteed by design f dac update rate 10 khz no production test t sett_dac settling time 50 s dac inl inl 4 lsb dac dnl dnl 0.5 lsb
as8506 C 14 ams datasheet, confidential:2013-sep [1-00] electrical characteristics analog to digital converter -40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 11: analog to digital converter pre-regulator this pre_reg is an internal regulator which provides supply to digital and a few analog blocks.. -40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 12: pre-reg parameters symbol parameter min typ max unit note v sup input supply voltage 4.75 5 5.25 v ldo output as supply v inref input reference voltage 4.485 4.5 4.515 v after absolute trim d out resolution 12 bits t meas_adc measurement time per channel 1.4 ms adc inl inl 4 lsb no production test. adc dnl dnl 2 lsb no production test. symbol parameter min typ max unit note v sup input supply voltage 6 12 32 v p5v prereg_output voltage range 4.3 5.0 5.5 v 3v3 3.3v_output voltage range 2.8 3.3 3.6 v
ams datasheet, confidential:2013-sep [1-00] as8506 C 15 electrical characteristics pwm driver 40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 13: pwm driver symbol parameter min typ max unit note v5v output voltage 4.5 5 5.5 v f pwm frequency of pwm 25 100 200 khz cmos load mode, optocoupler load mode f duty duty cycle 22 25 28 % 12 15 18 % 17 20 23 % 27 30 33 % 30 35 38 % 37 40 43 % 42 45 48 % 47 50 53 % f duty_error duty cycle error 7 12 20 % tr pwm rise time 30 50 80 ns cmos load mode, optocoupler load mode guaranteed by design tf pwm fall time 30 50 80 ns idrive opto driver strength 10 12 ma optocoupler load mode cload fd_out driver switch load capacitance 60 100 pf
as8506 C 16 ams datasheet, confidential:2013-sep [1-00] electrical characteristics pwm oscillator -40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 14: pwm oscillator oscillator for digital circuit -40oc < t j < 115oc; all voltages are with respect to ground (gnd). figure 15: oscillator for digital circuit symbol parameter min typ max unit note f osc frequency 90 100 110 khz ? after the frequency trim. ? programmable frequency options for 25khz, 50khz and 200khz are available. f osc_acc accuracy 15 % symbol parameter min typ max unit note f osc-dig frequency 9 10 11 khz oscillator for digital circuit f osc_acc accuracy 15 %
ams datasheet, confidential:2013-sep [1-00] as8506 C 17 electrical characteristics external temperature thresholds -40c < t j < 115c; all voltages are with respect to ground (gnd). figure 16: external temperature thresholds symbol parameter min typ max unit note ref_ext_warn/sutdown code 0000 3.084 3.165 3.238 v 16 reference thresholds are with a step of 66mv. code 0001 3.148 3.231 3.306 code 0010 3.213 3.297 3.373 code 0011 3.277 3.363 3.441 code 0100 3.341 3.429 3.508 code 0101 3.406 3.495 3.576 code 0110 3.470 3.561 3.643 code 0111 3.534 3.627 3.711 code 1000 3.599 3.693 3.779 code 1001 3.663 3.759 3.846 code 1010 3.727 3.825 3.914 code 0011 3.792 3.891 3.981 code 0100 3.856 3.957 4.049 code 0101 3.920 4.023 4.116 code 0110 3.984 4.089 4.184 code 0111 4.049 4.155 4.25
as8506 C 18 ams datasheet, confidential:2013-sep [1-00] electrical characteristics ron of the shuttle switches (internal switch for charging/discharging) -40c < t j < 115c. figure 17: ron of the shuttle switches over-temperature measurement figure 18: otm parameters symbol parameter min typ max unit note ron_shut shuttle switch on resistance 5 20 the maximum charging/discharging current limit through shuttle switch is 100ma. only for cell1 maximum charging/discharging current is limited to 30ma less than 2v of cell voltage at 115 junction of cell voltage. symbol parameter min typ max unit note t jshut shut down temperature 115 135 145 oc junction temperature for shutdown t jwarn warning temperature 100 125 140 oc junction temperature for warning t jrecv recovery temperature 100 115 130 oc junction temperature for recovery
ams datasheet, confidential:2013-sep [1-00] as8506 C 19 electrical characteristics weak cell detection (voltage comparator) figure 19: weak cell detection power on voltage detection figure 20: power on voltage detection symbol parameter min typ max unit note v cell supply voltage -0.3 3.6 4.5 v v low low voltage detection -100 100 mv tl_spike minimum input spike filter 2 s no production test. programmable option. 4 6 8 symbol parameter min typ max unit note vsup_por vsup power-on-reset threshold on 5.2 5.5 5.8 v rising edge of vsup vsup_reset vsup power-on-reset threshold off 4.6 4.85 5.1 v master reset for device v5v_in_por v5v_in power-on-reset threshold on 3.8 4.45 4.8 v voltages are with respect to vsup measure as pass fail test v5v_in_reset v5v_in power-on-reset threshold off 3.6 4.1 4.5 v v5v_por v5v power-on-reset threshold on 4.1 4.5 4.7 v rising edge of v5v v5v_reset v5v power-on-reset threshold off 3.8 4.1 4.3 v falling edge of v5v
as8506 C 20 ams datasheet, confidential:2013-sep [1-00] electrical characteristics electrical characteristics for digital inputs and outputs all pull-up, pull-downs have been implemented with active devices. figure 21: digital inputs and outputs port type symbol parameter min typ max unit note cs input schmitt trigger vt- negative-going threshold 1.62 2.22 v v5v=5v vt+ positive-going threshold 2.27 3.42 v i lil_cs pull-up current -100 -30 a in cs pad, pulled up to v5v . (isup_hv) sdo output tristate v oh high level output voltage 2.5 v bbc4c_hv, pptrim_pdio v ol low level output voltage 0.4 v vsup 6v v ih high level input voltage 0.7*v5v v v il low level input voltage 0.3*v5v v i o output drive current 4ma sclk, sdi io buffer v ih high level input voltage 0.7*v5v v sdi is icc_hv (pprtim_mode) v il low level input voltage 0.3*v5v v sclk is icc_hv (pprtim_pclk)
ams datasheet, confidential:2013-sep [1-00] as8506 C 21 electrical characteristics note: test limits for iih and iil are 1.0ua and -1.0ua for input pads. cvt_nok_out, bd_out, trig_out, clk_out output buffer v oh high level output voltage 2.4 v bu2sc_hv for cvt_nok_out , bu1c_hv for bd_out , bu4sc_hv for trig_out and clk_out v ol low level output voltage 0.4 v vsup 6v i o output drive current 4/2/1 ma fd_out output buffer v oh high level input voltage 2.4 v bu24sc_hv for fd_out v ol low level input voltage 0.4 v vsup 6v i o output drive current 24 ma ms_sl input buffer v ih high level input voltage vsup v high voltage input pad v il low level input voltage 0.3*v5v v clk_in, trig_in input schmitt trigger vt- high level input voltage 1.62 2.22 v isc_v5_hv vt+ low level input voltage 2.27 0.3*v5v v fd_in,bd_in, cvt_nok_in input buffer v ih high level input voltage 0.7*v5v v icc_v5_hv v il low level input voltage 3.42 v wake_in pull up current ipull_up pull-up current -100 -30 a internal pull port type symbol parameter min typ max unit note
as8506 C 22 ams datasheet, confidential:2013-sep [1-00] detailed description the device consists of the following blocks: ? pwm driver ? ldo_5v with 5v / 50ma output ? temperature monitor block ? high precision bandgap reference ? dac for the reference voltage generation ? sar adc for cell voltage and external temperature measurement ? oscillators for pwm drive and for the digital logic ?pre-regulator ? sc comparator ? weak cell detection logic ? pors on different supplies voltage regulator (ldo_5v) power input to the ldo is vsup pin. it is switched on when the device is in normal mode and switched off in sleep mode. the ldo takes the input from band gap and scales it up to the required voltage. it starts charging only after entering normal mode. this ldo is the supply for dac, the pwm driver and cell voltage comparators.its additional features are as follows: ? stability is better than 2.5% over input range. ? load current up to 50ma. high precision bandgap (hpbg) as8506 has a high precision bandgap to generate accurate reference. this reference voltage is used to generate reference for dac and adc. hpbg is trimmed with respect to temperature. variation of the bandgap with temperature is 3mv in the temperature range from -40oc to 115oc. external temperature monitor and measurement two sensor inputs temp_in1 and temp_in2 with a comparator on each pin, are available. if the temperature sensor connected to temp_in1 crosses its threshold, then a warning flag is set in the device (status can be read through spi) and the device will continue balancing. if the temperature sensor connected to temp_in2 crosses its threshold, then a flag is set in the device and balancing is stopped; but the device continues to stay in normal mode for maintaining synchronism. in both the cases, the microcontroller will be interrupted by a pulse on cvt_nok_out pin. detailed description
ams datasheet, confidential:2013-sep [1-00] as8506 C 23 detailed description in case the external temperature sensors are not being used, then both the inputs must be connected to gnd pin through 1k resistor. in the measurement phase, external temperature is measured through the sar adc. both channels of temperature will be measured and stored in temp_in1_lsb_reg to temp_in2_msb_reg . internal temperature monitor the internal temperature monitor has two thresholds at t jwarn 125oc and t jshut 135oc . if the internal temperature exceeds 125oc, then a warning flag is se t in the device (status can be read through spi) and the de vice will continue balancing. if the internal temperature exceeds 135oc, then a flag is set in the device and balancing is stop ped; but the device continues to stay in normal mode for maintaining synchronism. in both the cases, the microcontroller will be interrupted by a pulse on cvt_nok_out pin. the balance recovery temperature is 115oc. pwm generator in the balance phase of the as8506, based on the decision made during the compare phase, some part of the cell is charged with the flyback converter. to drive the external flyback converter, as8506 generates a pwm signal to drive external fet or optocoupler or isolation device. the frequency and of the pwm generator can be controlled by timer_cntl_reg register. pwm frequency is not used for the passive balancing. rc oscillator the as8506 has a trimable rc oscillator. it is designed to generate f osc-dig clock for the digital circuit and for the clocking of the ic. each oscillator will be trimmed with the process to get the accuracy to f osc-accy with 5-bit otp factory trim code. dac for the reference generation as8506 has a 12-bit dac to generate the cell reference voltage, cell threshold low and high voltage. the dac code is written into as8506 with spi interface from microcontroller. the output of the dac is given to one of th e inputs of the comparators, to compare the cell voltages synchronously. reference for the dac is 4.5v, which is internally generated and is available as reference for temperature inputs on ref_t.
as8506 C 24 ams datasheet, confidential:2013-sep [1-00] detailed description sar adc as8506 has a 12-bit sar adc to measure the cell voltage and external temperature. the sar adc uses the 12-bit dac to generate the digital code. the sar adc range is 1.8v to 4.5v for cell voltage measurement and 0.2v to 4.5v for the temperature measurement. cell voltage and temperature is measured in the short trigger phase. after the trigger goes high, compare phase starts and then all the cell voltages and external temperature are measured and stored in the digital registers. pre-regulator as8506 has an internal pre-regulator, which generates supply voltages for the internal blocks. pre-regulator output is used as a supply for the oscillators. all the digital logic and the fsm will work on the pre-regulator supply. in sleep mode only the pre-regulator will be working along with the wake_in detect circuit. cell threshold as8506 has the potential to set the two threshold levels to the cell voltage through pins cell_thu and cell_thl . these values can be set externally, (or) through otp trim bits, (or) from the external microcontroller by writing dac code into the cell threshold registers in the register space. weak cell detection as8506 has the ability to detect the weak cell. during load conditions, if the cell reaches vo ltage of about 0.1v to -0.2v, then this variation is detected and stored in the zero cross detection register. this event is indicated to the master device by a pulse on cvt_nok_out pin in compare and balance phase. the master device indicates the microcontroller by setting cvt_nok_out high. in wait mode only this will be stored in the register; there wont be any cvt_nok_out to c. the register is cleared on c reading. external resister divider control as8506 has the provision to enable the external divider to give the desired cell voltage to the at vref_in pin. external resister divider can be co nnected between vref_h pin to ground. calculate the external resister divider values such that the output of the divider will provide the desired reference value. when comparison is not happ ening, this divider can be disabled using spi.
ams datasheet, confidential:2013-sep [1-00] as8506 C 25 detailed description pors on different supplies as8506 has power-on-reset blocks on vsup , v5v and v5v_in supply pins. the values for por and reset thresholds are given in figure 20 . figure 22: power-up sequence of vsup, v5v and vsup+5v vsup_por vsup_reset vsup_por vsup v5v_5v_por v5v_5v_reset v5v_5v_por v5v_5v v5v_por v5v_por v5v_reset v5v
as8506 C 26 ams datasheet, confidential:2013-sep [1-00] detailed description as8506 system operation the as8506 battery stack system can be set up by configuring one as8506 device as master and the rest as slave devices. the as8506 master device is connected to the microcontroller, and the slave devices are connected to master through a daisy-chain of 3-wire customized spi protocol. the microcontroller can communicate to the slave devices through the master. on power-up of the system, the microcontroller must assign an address to al l as8506 devices including the master. the microcontroller can assign the address to as8506 devices by initiating the address allocation process, by writing a top most slave device address into dadd_for_allc_reg register of master and then writing 07 data into spi3_cmd_reg . once the address allocation process is successful, the microcontroller can start the cell balancing. if cell balancing or check status command is not triggered by the microcontroller, after wait mode timeout period all devices enter into sleep mode. the complete system communicat ion procedure is explained below. ? the microcontroller gives wake pulse on wake_in to bring the master and slaves in normal mode. ? after the wake-up time period, the microcontroller (c) sends the reference voltage digital code to the master device through a 4-wire spi. ? after receiving the digital re ference code from c, the master device initiates a 3-wi re custom spi operation to send the digital reference code to the slave devices. ? the microcontroller waits for the 3-wire spi operation time period. after the 3-wire spi time period, it initiates the cell balancing through trig_in . the balancing will continue as long as trig_in is high. ? the microcontroller can change the reference value at any time by making trig_in low and initiating a 4-wire spi with new value of reference code. from here on, the procedure is same as from point 3. ? the balance done is indicated on bd_out pin. ? the failure in the 3-wire spi operation is indicated on cvt_nok_out pin.
ams datasheet, confidential:2013-sep [1-00] as8506 C 27 detailed description figure 23: functional diagram of as8506 master micro processor slaves sleep mode sleep mode wake up pulse by uc wake up pulse by uc wake up pulse by uc 4-wire spi write 4-wire spi read 3-wire custom read 3-wire custom write cell balancing cell balancing 4-wire spi write 4-wire spi read normal mode balance reference voltage from uc through 4 wire spi operation (dac code) master module initiates a 2 wire spi operation to send the balance reference voltage from uc to slave modules (dac code) trigger from uc on trig_in pin for cell balancing operation cell balancing to reference value set by uc. based on current status of stack voltage new balance reference voltage from uc through 4 wire spi operation (dac code) master module initiates a 2 wire spi operation to send the new balance reference voltage from uc to slave modules (dac code) 3-wire custom read 3-wire custom write cell balancing cell balancing trigger from uc on trig_in pin for cell balancing operation cell balancing to reference value set by uc. uc reference voltage calculator found change in reference (average) voltage uc reference voltage calculator found change in reference (average) voltage
as8506 C 28 ams datasheet, confidential:2013-sep [1-00] detailed description functional state diagram figure 24: finite state machine mode initialization phase power on vsup por v5v ldo on v5v por otp load otp load done long_trigger short_trigger no trigger timeout & wake_pulse v5v_por osc clock on normal mode compare phase cell balance phase v5v ldo on osc clock on wake mode v5v ldo on osc clock on sleep mode v5v ldo off osc clock off pre-reg on wait mode wait for c trigger (x ms) v5v ldo on osc clock on no trigger normal mode compare phase and adc measurement pha s e v5v ldo on osc clock on
ams datasheet, confidential:2013-sep [1-00] as8506 C 29 detailed description operating modes the as8506 has two main operating modes normal and sleep , and has two transition modes wait and wake . the transition modes are intermediate modes for switching from sleep to normal and vice versa. the detailed operation of each mode is explained in subsequent sect ions. the initialization phase is explained in initialization sequence on page 36 . normal mode the device enters into normal from wake when it receives a short or long trigger. the normal mode is a full functional mode, where all the power supply and analog blocks are in on-state and the digital is fully functional. the normal mode has two phases of operation: ? diagnosis phase ? balance phase diagnosis phase in diagnosis phase as8506 detects the number of cells connected to the device. the connected cell voltages are then compared with upper & lower thresholds and target cell voltage of all cells connected. upper and lower cell voltage thresholds as well as target cell voltages are provided from external in analog or digital format. the diagnosis phase sequence of operation is explained below. ? detects number of cells connected to the device by comparing each cell terminal s to cell detect threshold voltage. ? simultaneously compares each connected cell voltage with set lower operating voltage threshold vlimit_l. if any of the cell voltages is less than the set lower operating threshold, then an in dication is given on cvt_nok_out pin stating that one/more cell voltages are not within the operating voltage threshold range. each cell status is stored in cel_low_thsld_stat_reg register. ? simultaneously compares each connected cell voltage with set higher operating voltage threshold vlimit_h. if any of the cell voltages is greater than the set higher operating threshold, then an indication is given on cvt_nok_out pin stating that one/more cell voltages are not within the operating voltage threshold range. each cell status is stored in cel_high_thsld_stat_reg register. ? simultaneously compares each connected cell voltage with reference value. this result is stored in cel_ref_stat_reg register and used in balance phase. cell reference can be provided by microcontroller by writing into register or by provid ing input at external pin vref_in . ? enables the sar adc and measures each cell voltage and two temperature inputs sequentially. the 12 bits cell voltage and temperature inputs information is stored in respective registers.
as8506 C 30 ams datasheet, confidential:2013-sep [1-00] detailed description at the end of the diagnosis phase, if trigger signal is high then it enters into balance phase. if trigger signal is low it enters into wait mode. the diagnosis phase without the cell voltage measurement with sar adc is called compare phase. balance phase the balance phase is basically a charging cycle in case of active balancing and a discharging cycle in case of passive balancing. the balance phase is divided into 7 time slots. the device will move through all 7 time slots irrespective of number of cells connected to the device. this is done to keep synchronization between each module in case of battery stack system. one time slot is assigned to each cell (sequential order) for charging or discharging. the period of ti me slots is programmable (see status registers on page 52 ). in each time slot, following operations are done. ? check cvt_nok flag status. if cvt_nok flag is set, then no operation is done till time slot is over. if cvt_nok flag is not set, then move to the next step. ? based on diagnosis phase results, shuttle switch corresponding to current time sl ot cell is switched on for charging that cell in case of active balancing, and discharging in case of passive balancing. ? the pwm generator is enabled and pwm driver start driving the flyback converte r fet (external component) in case of active balancing. the pwm frequency and duty cycles are factory programmable and also register controllable. in case of stac k system, the bottom module pwm driver is enabled when there is a request of charging or discharging from top module on fd_out pin. ? at the end of the current time slot, stop the pwm generator and then open the corresponding shuttle switches. the device moves to the next time slot. in the balance phase, at any point, if the trigger input goes low, then the device suspends balancing operation and enters into wait mode. sleep mode this is the least power consumption mode of as8506. in this mode only pre-reg is on, rest all analog blocks are off and digital clock is disabled. only a digital wake detection circuit is active. the device enters into this mode when there is no trigger from microcontroller for time greater than wait mode timeout period. wait mode this mode is a transition mo de, where the device waits for command on trig_in pin either from microcontroller, (or) from below module in case of stack system. the device will be in this state for t wmode_tout period. after the timeout, the device
ams datasheet, confidential:2013-sep [1-00] as8506 C 31 detailed description enters into sleep mode. in the wait period all power blocks are on, all analog blocks are on and digital is also functional. in this mode, power consumption is lesser than normal mode because there are no charge balancing activities being carried out. wake mode this is also a transition mode, where the device does initialization after exiting sleep mode. in the sleep mode if as8506 receives a wake pulse of width t wake , the device enters into wake mode. in the wake mode device enables the v5v ldo and waits for v5v_por_n sign al. once v5v_por_n signal becomes high, the device enters into wait mode. an example of compare and balance (active balance) phase sequence with respect to time is given in figure 25 . in this example it is assumed that only 6 cells are connected to as8506 and comparators outputs at diagnosis phase is 010010x ; where: 0 indicates respective cell voltage is less than target voltage and needs charging. 1 indicates respective cell voltage is more than target voltage and needs charging. x indicates no cell is connected to respective comparator and output is neglected. figure 25: diagnosis and balance phase with time sequence for as8506 cell1 time slot cell2 time slot cell3 time slot cell4 time slot cell5 time slot cell6 time slot cell7 time slot cell detection comparision cell lower threshold comparision cell higher threshold comparision cell reference comparision cell detection comparision cell lower threshold comparision cell higher threshold comparision cell reference comparision balance phase compare phase compare phase cell7 not connected 010010x pwm pwm pwm pwm charging charging charging charging cell7 not connected 000000x cell connected vcell1 < vrdiv need charging idle time idle time idle time cell connected vcell2 > vrdiv don?t need charging cell connected vcell3 < vrdiv need charging cell connected vcell4 < vrdiv need charging cell connected vcell6 < vrdiv need charging cell connected vcell5 > vrdiv don?t need charging cell not connected t c_slot t c_slot t c_slot t c_slot t c_slot t c_slot t c_slot
as8506 C 32 ams datasheet, confidential:2013-sep [1-00] detailed description wake-up event the as8506 device comes out of sleep mode by a wake pulse on the wake_in pin. to avoid false wake by noises on the wake_in , the wake signal (low pulse) is taken through a low-pass filter from wake_in pin. when a pulse of width t wake_pulse is given on the wake_in by the microcontroller, the device wakes up and enters into wake mode. the low-pass filter discards all signals having width less than t filter_min and allows all signals with width greater than t filter_max . the filter is uncertain in t uncertain region. the negative edge which is passing through the filter will wake the device from sleep mode. in chain of as8506 devices, to propagate the negative edge the microcontroller has to give minimum low pulse of width t wake_pulse . before entering into sleep mode the wake pin must be high. figure 26: wake-up signaling wake_in wake_in_fltrd t filter_min t filter_max t uncertain t uncertain t wake_pulse t filter_delay
ams datasheet, confidential:2013-sep [1-00] as8506 C 33 detailed description trigger event the as8506 device enters into normal mode only when a valid command is present on the trig_in pin. there are two commands in the device. ? diagnosis command ? cell balance command when a high pulse of width t diag_cmd as shown in figure 27 , is given on trig_in pin, the device performs the following operations. ? compares all connected cell voltages with the set lower operating voltage threshold, and if any of the cell voltage is less than lower threshold, th en sets a corresponding flag in the cel_low_thsld_stat_reg register. this is indicated by high pulse on cvt_nok_out pin. ? compares all connected cell voltages with the set higher operating voltage threshold, and if any of the cell voltage is more than higher threshold, then sets a corresponding flag in the cel_high_thsld_stat_reg register. this is indicated by high pulse on cvt_nok_out pin. ? sets a corresponding flag in the temp_stat_reg register if ambient temperature or inte rnal chip temperature is higher than respective thres holds. this is indicated by high pulse on cvt_nok_out pin. ? it will enable sar adc and starts measuring each cell voltage, and then measures temperature channel measurement. the 12 bits digital value will be stored in corresponding registers. thus, on diagnosis command the de vice gives the cell operating voltage, ambient temperature and internal temperature status with respect to its safe operating range. when the trig_in pin is high for longer than the status command, the device enters into balance phase. depending upon cell voltage status, the device starts balancing the cell voltages. the cell voltage balancing is continued till the high voltage on the trig_in pin. as soon as trig_in goes low, the device stops balancing and enters into wait mode. thus, the microcontroller has full control over the balancing time and stop balancing whenever required.
as8506 C 34 ams datasheet, confidential:2013-sep [1-00] detailed description figure 27: trig_in command signaling wait mode wait mode wait mode normal mode (diagnosis phase) normal mode (compare + balance phase) t status_cmd t bal_cmd diagnosis command cell balance command trig_in device state
ams datasheet, confidential:2013-sep [1-00] as8506 C 35 detailed description balancing algorithm figure 28: cell balancing algorithm compare all connected cells with reference voltage identify and store toggle of connected cell comparator outputs all connected cell comp toggle? active ? balancing charge cells with comp o/p = 0. passive ? balancing discharge cell with comp o/p = 1 7 time slot over ? no generate internal balance done yes no yes bd_out bd_in trigger
as8506 C 36 ams datasheet, confidential:2013-sep [1-00] detailed description initialization sequence the power-up initialization sequence diagram for as8506 is shown in figure 29 . ? when the power supply is swit ched on, initially vsup por output vsup_por_n is low; hence all the digital logic will be in reset state. ? once the vsup crosses the vsup_por_th, the vsup por output becomes high enabling the oscillator and high-precision bandgap (hpbg) block. ? the digital block is now operational. it will now enable the v5v ldo and waits for v5v_po r_n high signal from the v5v por block. ? once the v5v crosses v5v_por_ th, the v5v_por_n will be high. the otp auto load comma nd is generated by high on otp_por_n sign al. now the device waits for t auto_load period for otp contents to load into digital local registers. ? after the otp contents are loaded into digital local registers, the device power-up sequence is completed. the device enters into sleep mode. in sleep mode, the ldo, oscillator and hpbg are disabled. ? the wake-up circuit monitors the wake_in pin for wake-up pulse. when a wake-up pulse is received, the oscillator and hpbg block ar e enabled and device enters into wake mode. in the wake mode, the device enables v5v ldo and waits for v5 v_por_n high signal. ? once the v5v crosses v5v_por_ th, the v5v_por_n will be high and the device enters into wait mode. in wait mode the device waits for trigger pulse on trig_in pin from microcontroller. in this state, if a short or long pulse trigger signal is received on trig_in within t wmode_tout period, the as8506 enters into normal mode and performs required operatio ns based on trigger pulse.
ams datasheet, confidential:2013-sep [1-00] as8506 C 37 detailed description figure 29: power-up initialization sequence vsup vsup_por_n ldo_en v5v v5v_por_n otp_por_n t auto_laod otp_load osc_en trig_in wait_timer sleep mode initialization normal wake pulse continue wake mode wait mode vsup_por_th v5v_por_th v5v_bor_th v5v_por_th hp_bg_en t hp_bg_stl t hp_bg_stl wait mode wake_in t initialization t wake-up
as8506 C 38 ams datasheet, confidential:2013-sep [1-00] device interface a 4-wire spi is used to communicate with the device. pins cs , sclk , sdi , and sdo are used for spi interface. serial peripheral interface the serial peripheral interface (spi) provides the communication link with the microcontroller. the spi is configured for half-duplex data transfer. the spi in as8506 provides access to the status registers, control registers and test registers. the spi is also used to enter into test and otp modes. this interface is only slave interf ace and only master can initiate the spi operation. th e spi also supports block data transfer where sequential register data can be accessed with single spi command. the spi can work on both the clock polarities. the polarity of the clock is dependent on the value of sclk at the falling edge of cs. at the falling edge of cs, ? if sclk is 1, then the spi is negative edge triggered. ? if the sclk is 0, then spi is positive edge triggered logic. see figure 30 for more details. figure 30: spi clock polarity table cs sclk description low serial data is transferred at rising edge and sampled at falling edge of sclk. high serial data is transferred at falling edge and sampled at rising edge of sclk. device interface
ams datasheet, confidential:2013-sep [1-00] as8506 C 39 device interface the spi protocol frame is divided into two fields. ? the header field ?the data field the header field is 1 byte long; containing a read/write command bit, 1 reserved bit, and 6 address bits. the spi frame format is shown in figure 31 . in the data phase msb is sent first and lsb is sent last. figure 31: spi frame format spi write operation the spi write operation begins with clock polarity selection at negative edge of cs (see figure 30 ). once the clock polarity is selected, the spi write command is given by providing 0 in r/w bit of the header field in first sampling edge at sdi pin. the next bit in header field is reserved and set to 0. the 6 bits address of register to be written is provided at sdi pin in next six consecutive sampling edges of sclk. the data to be written is followed by last bit of header field. with each sampling edge a bit is sampled starting from msb to lsb. during complete spi write operation the scsn has to be low. the spi write operation ends with positive edge of scsn. the waveform for spi write operation with sing le data byte is shown in figure 32 and figure 33 . r/w a0 a1 a2 a3 a4 header field data field 1 byte integer multiple of bytes data reserved bit 6 bits address 0 ? write 1 ? read 0a5
as8506 C 40 ams datasheet, confidential:2013-sep [1-00] device interface figure 32: spi write operation with negative clock polarity and 1 byte of data field figure 33: spi write operation with positive clock polarity and 1 byte of data field in case of spi block write operat ion, first data byte is written into addressed register same as single byte write operation. after first data byte, master can send next data byte by keeping cs low and giving clock on sclk as per polarity selection. at the end of every eighth data bit, the byte is written into next consecutive address location (internally address is incremented by one location). in this way, master can continue writing into consecutive address locations. the waveform is shown in figure 34 . r0 a4 a3 a2 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 sclk sdi sdo scsn a5 a4 a3 a2 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 sampling edge high impedance sate sclk sdi sdo scsn r0 a5
ams datasheet, confidential:2013-sep [1-00] as8506 C 41 device interface figure 34: spi block write operation with negative clock polarity spi read operation the spi read operation also begins with clock polarity selection at negative edge of scsn (see figure 30 ). once the clock polarity is selected, the spi read command is given by providing 1 in r/w bit of the header field in first sampling edge at sdi pin. the next bit in header fields is reserved and set to 0. the 6 bits address of register to be read is provided at sdi pin in next six consecutive sampling edges of sclk. the read data is followed by last bit of header field on sdo pin. with each sampling edge a bit can be read on sdo pin starting from msb to lsb. in case of multi-data bytes, msb of next data byte can be read after the lsb of previous data byte. during complete spi read operation the scsn ha s to be low. the spi read operation ends with positive edge of scsn. the wave form for spi read operation with single data byte is shown in figure 35 and figure 36 . figure 35: spi read operation with negative clock polarity and 1 byte of data field cs sclk sdi sdo 00 a 1 a 4 a 2 a 3 d 0 d 1 d 2 d 3 d 4 d 5 d 7 d 6 data d7-d0 is moved to address a5-a0 here data d7-d0 is moved to address a5-a0 +1 here data d7-d0 is moved to address a5-a0 +2 here data d7-d0 is moved to address a5-a0 +3 here data d7-d0 is moved to address a5-a0 +4 here a 0 d 1 d 2 d 3 d 4 d 5 d 7 d 6 d 0 d 1 d 2 d 3 d 4 d 5 d 7 d 6 d 0 d 1 d 2 d 3 d 4 d 5 d 7 d 6 d 0 d 1 d 2 d 3 d 4 d 5 d 7 d 6 d 0 a 5 d7 d6 d5 d4 d3 d2 d1 d0 r0 a4 a3 a2 a1 a0 sclk sdi sdo scsn a5
as8506 C 42 ams datasheet, confidential:2013-sep [1-00] device interface figure 36: spi read operation with positive clock polarity and 1 byte of data field r0 a4 a3 a2 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 sampling edge high impedance sate sclk sdi sdo scsn a5
ams datasheet, confidential:2013-sep [1-00] as8506 C 43 device interface in case of spi block read operation, first data byte is read from addressed register same as sing le byte read operation. after first data byte read, master can read next consecutive addressed data by keeping cs low and giving clock on sclk as per clock polarity selection. at the end of every eighth data bit, the address pointer is incremented to next consecutive address location. in this way master can continue reading from consecutive register address locations. the waveform is shown in figure 37 . figure 37: spi block read operation with negative clock polarity address allocation process during the system configuration the microcontroller has to allocate a unique address to each of the as8506 devices including the master to co mmunicate with spi3. the microcontroller before initiating the address allocation process, it writes top most device address into allcd_dev_add_reg of the master through 4-wire spi. the microcontroller can initiate the address allocation process by writing 100 command code and setting d0 to 1 in spi3_cmd_reg register. by sighting 1 at spi3_cmd_reg [0], the master init iates a spi3 address allocation write with top most device a ddress as data. the address 000000 is reserved as broadcas t address visible to all devices. the address allocation process is explained for six as8506 devices (including master) stack system in figure 38 . cs sclk sdi sdio 1 0 a 4 a 0 a 1 a 2 a 3 d 0 d 1 d 2 d 3 d 4 d 5 d 7 d 6 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 d 7 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 data d7-d0 at address a5-a0 is read here data d7-d0 at address a5-a0 +1 is read here data d7-d0 at address a5-a0 +2 is read here data d7-d0 at address a5-a0 +3 is read here data d7-d0 at address a5-a0 +4 is read here 5 a
as8506 C 44 ams datasheet, confidential:2013-sep [1-00] device interface figure 38: address allocation process c1 c0 tst clk-in/out trig-in/out address of 6 th device address of 5 th device address of 4 th device address of 3 rd device address of 2 nd device address of 1 st device (master) cvt_nok_out6 cvt_nok_in5 cvt_nok_out1 (master) new address = 6 6 -1 = 5 6-1=5 address = x address = x address = x address = x address = x address = x new address = 6 new address = 6 new address = 6 new address = 6 new address = 6 5-1=4 6-1=5 5-1=4 4-1=3 6-1=5 5-1=4 4-1=3 3-1=2 6-1=5 5-1=4 4-1=3 3-1=2 2-1=1 final address final address final address final address final address stop address allocation process spi3 address allocation write operation cvt_nok_in cvt_nok_out5 cvt_nok_in4 cvt_nok_out4 cvt_nok_in3 cvt_nok_out3 cvt_nok_in2 cvt_nok_out2 cvt_nok_in1
ams datasheet, confidential:2013-sep [1-00] as8506 C 45 device interface in the address allocation process, the cvt_nok_in / cvt_nok_out pins of as8506 are used. after the successful spi3 address allocation write operation, all as8506 devices including mast er will store the top device address (sent by master in spi3 address allocation write) as its address. the top device identifies itself as top most device and registers the address as its final address and at first rising edge of clock all devices force high on its cvt_nok_out pin. the concept of address allocation is: after the stop of spi3, at every falling edge of the clock each device will sample its cvt_nok_in pin. if cvt_nok_in pin is high, the device will decrement the assigned address by 1 and continue to force high on its cvt_nok_out pin at rising edge of clock. if cvt_nok_in is sampled to be low, then the address value at register will be stored as its final device address and it stops forcing high on its cvt_nok_out pin and makes it low at next rising edge of clock. in figure 38 , top most device pins are suffixed with 6 down to lower most device (master) pins suffixed with 1 in descending order. there is no device above topmost device, cvt_nok_in6 is always low; therefore the address sent by master is final address for the top device. for the fifth device the cvt_nok_in5 is low for one clock cycle, the address is decremented once. for the fourth device cvt_nok_in4 is low for two clock cycles, the address is decremented twice before registering it as final address. this procedure is continued and finally the master device cvt_onk_in1 is low for 5 clock cycles, the address is decremented five times and finally address register will have value of 000001 as its final address. the microcontroller can identify the end of address allocation procedure in two ways: ? one way is by probing cvt_nok_out of master after initiating address allocation process for a pulse. ? the other method is by polling bit0 of spi3_cmd_reg register for 0 (low) and no crc errors. during spi3 address allocation write operation, if a crc error occurs in the any of the slaves, the master indicates this failure of spi3 transaction to all slaves by driving tst bit high. all slaves should terminate the address allocation process if a high tst bit is seen during start address allocation process spi3 write operation. the master will indicate the failure of address allocation process to c by asserting a flag in the spi3_sts_reg register and sending interrupt pulse on its cvt_nok_out pin.
as8506 C 46 ams datasheet, confidential:2013-sep [1-00] device interface communication to slaves there are two modes of communication between the master and slaves in the as 8506 stack system: ? broadcast communication ? communication with individual slave broadcast communication the broadcast of communication is used to send the reference, lower, upper threshold limit co des and timer control register values for all the slaves. reference and thresholds can be set by one of the two methods: ? through the external pins ? through the internal dac in case of the stacked system, reference and thresholds can be set by writing dac values though broadcast spi command. write the corresponding data in the registers of timer_cntl_reg , ref_dcod_lsb_reg / ref_dcod_msb_reg , hlmt_dcod_lsb_reg / hlmt_dcod_msb_reg and llmt_dcod_lsb_reg / llmt_dcod_msb_reg and command in the command registers spi3_cmd_reg and spop_dadd_bcmd_reg . example: to write dac code of 0x0666 in the lower threshold register of all the devices, initiate a broa dcast command as given in the below sequence. figure 39: threshold setting through broadcast command to slaves each broadcast write operation takes 35 clock cycles of the communication frequency. the default communication frequency is 5khz. broadcast slave register write is also possible other than above registers. if there any specific register of all the slaves to be written with the same content of master then this feature is useful. write register address in the spop_reg_add_reg . command register name address data to set low threshold llmt_dcod_lsb_reg 0x23 0x66 llmt_dcod_msb_reg 0x24 0x06 broadcast the cell lower limit dac code spop_dadd_bcmd_reg 0x25 0x03 broadcast communication command spi3_cmd_reg 0x28 0x09
ams datasheet, confidential:2013-sep [1-00] as8506 C 47 device interface example: to set the external temperature thresholds to 4.15v, initiate a broadcast command as given in the below sequence. figure 40: external temperature threshold setting through broadcast command to slaves communication with individual slave communication with an individual slave is done as spi write or read. write operation. to perform the write operation to one of the slave device, corresponding data should be written in these registers spop_dadd_bcmd_reg , spop_reg_add_reg , wrop_data_reg and spi3_cmd_reg . example: to set the external temperature threshold of the slave device address 0x06 to 4.15v, initiate a broadcast command as given in the below sequence. figure 41: write operation to the individual slave command register name address data to set the external temperature threshold tflg_tshld_setg_reg 0x1d 0xff address of the register to broadcast spop_reg_add_reg 0x26 0x1d broadcast communication command spi3_cmd_reg 0x28 0x0b command register name address data slave device address spop_dadd_bcmd_reg 0x25 0x06 address of the slave register spop_reg_add_reg 0x26 0x1d to set the external temperature threshold wrop_data_reg 0x27 0xff slave write command spi3_cmd_reg 0x28 0x05
as8506 C 48 ams datasheet, confidential:2013-sep [1-00] device interface read operation. to perform the read operation to one of the slave device, corresponding data should be written in these registers spop_dadd_bcmd_reg , spop_reg_add_reg and spi3_cmd_reg . data from the slave device will be written in the register rdop_data_reg . example: to read the temperature status register of the slave device address 0x06, initiate a broadcast command as given in the below sequence. figure 42: read operation to the individual slave command register name address data slave device address slave spop_dadd_bcmd_reg 0x25 0x06 address of the slave register spop_reg_add_reg 0x26 0x05 write command spi3_cmd_reg 0x28 0x03
ams datasheet, confidential:2013-sep [1-00] as8506 C 49 device interface spi timing diagrams figure 43: timing diagram for write operation figure 44: timing diagram for read operation scs sdi sdo sclk ... ... ... t cps t cphd t dis t dih clk polarity datai datai datai ... t csh t sclkh t sclkl scs sclk sdi sdo t dohz t dod datai datai datao (d7 n ) datao (d0 0 ) t sclkh t sclkl
as8506 C 50 ams datasheet, confidential:2013-sep [1-00] device interface spi protocol figure 45: spi timing parameters symbol parameter min typ max unit note general br spi bit rate 1 mbps t sclkh clock high time 400 ns t sclkl clock low time 400 ns write operation parameters t dis data in setup time 20 ns t dih data in hold time 20 ns t csh scsn hold time 20 ns read operation parameters t dod data out delay 80 ns t dohz data out to high impedance delay 80 ns time for the spi to release the sdo bus timing parameters for sclk polarity identification t cps clock setup time (clk polarity) 20 ns setup time of sclk with respect to scsn falling edge. t cphd clock hold time (clk polarity) 20 ns hold time of sclk with respect to scsn falling edge.
ams datasheet, confidential:2013-sep [1-00] as8506 C 51 device interface system timings figure 46: system timings symbol parameter min typ max unit note wake-up timing t wake_pulse wake pulse width 100 s t filter_delay time between edge on trig_in pin to trig_in_fltrd signal 4s t filter wake_in pin filter specification 1 4 s trigger timing t status_cmd status request command pulse 500 1000 s t bal_cmd cell balance command pulse 7000 s wait mode timing t wmode_tout wait mode timeout 2000 ms
as8506 C 52 ams datasheet, confidential:2013-sep [1-00] device interface register space description the as8506 register space is d ivided into control registers and test registers. all of these registers are accessed through spi. status registers figure 47: cell detection status register address register name features and bit description spi 4 spi 3 por value 0x00 cel_det_stat_reg indicates the detected cells. rr 0000_0000 por_v5v d0 0 cell 1 is not detected 1 cell 1 is detected d1 0 cell 2 is not detected 1 cell 2 is detected d2 0 cell 3 is not detected 1 cell 3 is detected d3 0 cell 4 is not detected 1 cell 4 is detected d4 0 cell 5 is not detected 1 cell 5 is detected d5 0 cell 6 is not detected 1 cell 6 is detected d6 0 cell 7 is not detected 1 cell 7 is detected d7 reserved
ams datasheet, confidential:2013-sep [1-00] as8506 C 53 device interface figure 48: diagnostic status register address register name features and bit description spi4 spi3 por value 0x01 diag_sts_reg diagnostic register. c can read this register if pulse is detected on cvt_nok_out pin, to diagnose cause of indication. rr 0000_0000 por_v5v d0 1 low threshold limit cross indicator d1 1 high threshold limit cross indicator d2 1 over-temperature indicator d3 1 address allocation procedure fail d4 1 spi3 read operation fail d5 1 spi3 write operation fail d6 1 spi3 broadcast operation fail d7 reserved
as8506 C 54 ams datasheet, confidential:2013-sep [1-00] device interface figure 49: cell lower threshold status register address register name features and bit description spi4 spi3 por value 0x02 cel_low_thsld_stat_reg indicates if a cell voltage crossed the lower threshold limit set by c. rr 0000_0000 por_v5v d0 0 cell 1 voltage is more than low threshold limit set 1 cell 1 voltage is less than low threshold limit set d1 0 cell 2 voltage is more than low threshold limit set 1 cell 2 voltage is less than low threshold limit set d2 0 cell 3 voltage is more than low threshold limit set 1 cell 3 voltage is less than low threshold limit set d3 0 cell 4 voltage is more than low threshold limit set 1 cell 4 voltage is less than low threshold limit set d4 0 cell 5 voltage is more than low threshold limit set 1 cell 5 voltage is less than low threshold limit set d5 0 cell 6 voltage is more than low threshold limit set 1 cell 6 voltage is less than low threshold limit set d6 0 cell 7 voltage is more than low threshold limit set 1 cell 7 voltage is less than low threshold limit set d7 reserved
ams datasheet, confidential:2013-sep [1-00] as8506 C 55 device interface figure 50: cell higher threshold status register address register name features and bit description spi4 spi3 por value 0x03 cel_high_thsld_stat_reg indicates if a cell voltage crossed the lower threshold limit set by c. rr 0000_0000 por_v5v d0 0 cell 1 voltage is less than high threshold limit set 1 cell 1 voltage is more than high threshold limit d1 0 cell 2 voltage is less than high threshold limit set 1 cell 2 voltage is more than high threshold limit d2 0 cell 3 voltage is less than high threshold limit set 1 cell 3 voltage is more than high threshold limit d3 0 cell 4 voltage is less than high threshold limit set 1 cell 4 voltage is more than high threshold limit d4 0 cell 5 voltage is less than high threshold limit set 1 cell 5 voltage is more than high threshold limit d5 0 cell 6 voltage is less than high threshold limit set 1 cell 6 voltage is more than high threshold limit d6 0 cell 7 voltage is less than high threshold limit set 1 cell 7 voltage is more than high threshold limit d7 reserved
as8506 C 56 ams datasheet, confidential:2013-sep [1-00] device interface figure 51: cell reference status register address register name features and bit description spi4 spi3 por value 0x04 cel_ref_stat_reg indicates which cell has reached the reference value at least once. this status is cleared when new reference is selected. rr 0000_0000 por_v5v d0 0 cell 1 voltage is less than reference voltage 1 cell 1 voltage is more than reference voltage d1 0 cell 2 voltage is less than reference voltage 1 cell 2 voltage is more than reference voltage d2 0 cell 3 voltage is less than reference voltage 1 cell 3 voltage is more than reference voltage d3 0 cell 4 voltage is less than reference voltage 1 cell 4 voltage is more than reference voltage d4 0 cell 5 voltage is less than reference voltage 1 cell 5 voltage is more than reference voltage d5 0 cell 6 voltage is less than reference voltage 1 cell 6 voltage is more than reference voltage d6 0 cell 7 voltage is less than reference voltage 1 cell 7 voltage is more than reference voltage d7 reserved
ams datasheet, confidential:2013-sep [1-00] as8506 C 57 device interface figure 52: temperature status register address register name features and bit description spi4 spi3 por value 0x05 temp_stat_reg indicates the status of temperature monitors. rr 0000_0000 por_v5v d0 0 ambient temperature is less than warning threshold 1 ambient temperature is more than warning threshold d1 0 internal temperature is less than warning threshold 1 internal temperature is more than warning threshold d2 0 ambient temperature is less than maximum threshold 1 ambient temperature is more than maximum threshold d3 0 internal temperature is less than maximum threshold 1 internal temperature is more than maximum threshold d7:d4 reserved
as8506 C 58 ams datasheet, confidential:2013-sep [1-00] device interface figure 53: zero cross status register address register name features and bit description spi4 spi3 por value 0x06 zero_crs_stat_reg indicates which cell voltage has crossed zero voltage and reached negative during sudden loading condition. this indirectly indicates the increasing status of cell internal impedance. rr d0 0 cell 1 voltage is normal 1 cell 1 voltage has crossed zero voltage towards negative direction d1 0 cell 2 voltage is normal 1 cell 2 voltage has crossed zero voltage towards negative direction d2 0 cell 3 voltage is normal 1 cell 3 voltage has crossed zero voltage towards negative direction d3 0 cell 4 voltage is less than reference voltage 1 cell 4 voltage is more than reference voltage d4 0 cell 5 voltage is normal 1 cell 5 voltage has crossed zero voltage towards negative direction d5 0 cell 6 voltage is normal 1 cell 6 voltage has crossed zero voltage towards negative direction d6 0 cell 7 voltage is normal 1 cell 7 voltage has crossed zero voltage towards negative direction d7 reserved
ams datasheet, confidential:2013-sep [1-00] as8506 C 59 device interface figure 54: cell1 voltage lsb register figure 55: cell1 voltage msb register figure 56: cell2 voltage lsb register address register name features and bit description spi4 spi3 por value 0x07 cell1_volt_lsb_reg cell1 voltage measured. 8 least significant bits of 12-bit adc code of cell1 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code address register name features and bit description spi4 spi3 por value 0x08 cell1_volt_msb_reg cell1 voltage measured. 4 most significant bits of 12-bit adc code of cell1 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x09 cell2_volt_lsb_reg cell2 voltage measured. 8 least significant bits of 12-bit adc code of cell2 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code
as8506 C 60 ams datasheet, confidential:2013-sep [1-00] device interface figure 57: cell2 voltage msb register figure 58: cell3 voltage lsb register figure 59: cell3 voltage msb register figure 60: cell4 voltage lsb register address register name features and bit description spi4 spi3 por value 0x0a cell2_volt_msb_reg cell2 voltage measured. 4 most significant bits of 12-bit adc code of cell2 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x0b cell3_volt_lsb_reg cell3 voltage measured. 8 least significant bits of 12-bit adc code of cell3 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code address register name features and bit description spi4 spi3 por value 0x0c cell3_volt_msb_reg cell3 voltage measured. 4 most significant bits of 12-bit adc code of cell3 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x0d cell4_volt_lsb_reg cell4 voltage measured. 8 least significant bits of 12-bit adc code of cell4 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code
ams datasheet, confidential:2013-sep [1-00] as8506 C 61 device interface figure 61: cell4 voltage msb register figure 62: cell5 voltage lsb register figure 63: cell5 voltage msb register figure 64: cell6 voltage lsb register address register name features and bit description spi4 spi3 por value 0x0e cell4_volt_msb_reg cell4 voltage measured. 4 most significant bits of 12-bit adc code of cell4 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x0f cell5_volt_lsb_reg cell5 voltage measured. 8 least significant bits of 12-bit adc code of cell5 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code address register name features and bit description spi4 spi3 por value 0x10 cell5_volt_msb_reg cell5 voltage measured. 4 most significant bits of 12-bit adc code of cell5 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x11 cell6_volt_lsb_reg cell6 voltage measured. 8 least significant bits of 12-bit adc code of cell6 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code
as8506 C 62 ams datasheet, confidential:2013-sep [1-00] device interface figure 65: cell6 voltage msb register figure 66: cell7 voltage lsb register figure 67: cell7 voltage msb register figure 68: temperature input1 lsb register address register name features and bit description spi4 spi3 por value 0x12 cell6_volt_msb_reg cell6 voltage measured. 4 most significant bits of 12-bit adc code of cell6 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x13 cell7_volt_lsb_reg cell7 voltage measured. 8 least significant bits of 12-bit adc code of cell7 rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code address register name features and bit description spi4 spi3 por value 0x14 cell7_volt_msb_reg cell7 voltage measured. 4 most significant bits of 12-bit adc code of cell7 rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x15 temp_in1_lsb_reg temperature sensor input1 measured. 8 least significant bits of 12-bit adc code of temperature input1. rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code
ams datasheet, confidential:2013-sep [1-00] as8506 C 63 device interface figure 69: temperature input1 msb register figure 70: temperature input2 lsb register figure 71: temperature input2 msb register address register name features and bit description spi4 spi3 por value 0x16 temp_in1_msb_reg temperature sensor input1 measured. 4 most significant bits of 12-bit adc code of temperature input1. rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x17 temp_in2_lsb_reg temperature sensor input2 measured. 8 least significant bits of 12-bit adc code of temperature input1. rr 0000_0000 por_v5v d7:d0 bit7 to bit0 of adc code address register name features and bit description spi4 spi3 por value 0x18 temp_in2_msb_reg temperature sensor input2 measured. 4 most significant bits of 12-bit adc code of temperature input2. rr 0000_0000 por_v5v d3:d0 bit11 to bit8 of adc code d7:d4 reserved
as8506 C 64 ams datasheet, confidential:2013-sep [1-00] device interface figure 72: spi3 status register address register name features and bit description spi4 spi3 por value 0x19 spi3_sts_reg this register has status of the latest spi3 operation. rr 0000_0000 por_v5v d0 0 no crc error. 1 crc error for data from master to slave d1 0 no crc error. 1 crc error for data from slave to master d2 0 start address allocation process write pass 1 start address allocation process write fail d7:d3 reserved
ams datasheet, confidential:2013-sep [1-00] as8506 C 65 device interface configuration and 3-wire spi interface related registers figure 73: device address for address allocation register figure 74: allocated device address register figure 75: device configuration setting register address register name features and bit description spi4 spi3 por value 0x1a dadd_for_allc_reg the device address for address allocation. in the address allocation process the c writes top device address in this register. address 00000 is reserved as broadcast address. r/w r/w 0000_0000 por_vsup d5:d0 device address d7:d6 reserved address register name features and bit description spi4 spi3 por value 0x1b allcd_dev_add_reg final device address after address allocation process is completed rr 0000_0000 por_vsup d5:d0 device address d7:d6 reserved address register name features and bit description spi4 spi3 por value 0x1c dev_cnfg_setg_reg selects spi3 frequency of operation. r/w - 0000_0000 por_vsup d1:d0 00 5 khz 01 20 khz 10 40 khz 11 reserved d7:d2 reserved
as8506 C 66 ams datasheet, confidential:2013-sep [1-00] device interface figure 76: temperature threshold setting register address register name features and bit description spi4 spi3 por value 0x1d tflg_tshld_setg _reg sets over-temperature warning flag and shutdown flag threshold. r/w r/w xxxx_ xxxx por_ vsup d3:d0 over temperature warning flag threshold selection d7:d4 over temperature shutdown flag threshold selection code value code value code value 0000 3.165 0110 3.561 1100 3.957 0001 3.231 0111 3.627 1101 4.023 0010 3.297 1000 3.693 1110 4.089 0011 3.363 1001 3.759 1111 4.155 0100 3.429 1010 3.825 - - 0101 3.495 1011 3.891 - - code value code value code value 0000 3.165 0110 3.561 1100 3.957 0001 3.231 0111 3.627 1101 4.023 0010 3.297 1000 3.693 1110 4.089 0011 3.363 1001 3.759 1111 4.155 0100 3.429 1010 3.825 - 0101 3.495 1011 3.891 -
ams datasheet, confidential:2013-sep [1-00] as8506 C 67 device interface figure 77: timer control register figure 78: reference dac code lsb register address register name features and bit description spi4 spi3 por value 0x1e timer_cntl_reg d2:d0 000 25% duty cycle 001 15% duty cycle 010 20% duty cycle 011 30% duty cycle 100 35% duty cycle 101 40% duty cycle 110 45% duty cycle 111 50% duty cycle r/w r/w 0000_0000 por_vsup d4:d3 00 1s time slot 01 8s time slot 10 16s time slot 11 32s time slot d6:d5 00 100 khz 01 25 khz 10 50 khz 11 200 khz d7 0 5 clock cycles for comparator 1 15 clock cycles for comparator address register name features and bit description spi4 spi3 por value 0x1f ref_dcod_lsb_reg least significant byte of 12-bit dac code for setting reference voltage. r/w r/w 0000_0000 por_vsup d7:d0 bit7 to bit0 of dac code
as8506 C 68 ams datasheet, confidential:2013-sep [1-00] device interface figure 79: reference dac code msb register figure 80: higher limit dac code lsb register figure 81: higher limit dac code msb register figure 82: lower limit dac code lsb register address register name features and bit description spi4 spi3 por value 0x20 ref_dcod_msb_reg most significant byte of 12-bit dac code for setting reference voltage. r/w r/w 0000_0000 por_vsup d3:d0 bit11 to bit8 of dac code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x21 hlmt_dcod_lsb_reg least significant byte of 12-bit dac code for setting high limit voltage. r/w r/w 0000_0000 por_vsup d7:d0 bit7 to bit0 of dac code address register name features and bit description spi4 spi3 por value 0x22 hlmt_dcod_msb_reg most significant byte of 12-bit dac code for setting high limit voltage. r/w r/w 0000_0000 por_vsup d3:d0 bit11 to bit8 of dac code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x23 llmt_dcod_lsb_reg least significant byte of 12-bit dac code for setting low limit voltage. r/w r/w 0000_0000 por_vsup d7:d0 bit7 to bit0 of dac code
ams datasheet, confidential:2013-sep [1-00] as8506 C 69 device interface figure 83: lower limit dac code msb register figure 84: device address and broadcast command spi operation register address register name features and bit description spi4 spi3 por value 0x24 llmt_dcod_msb_reg most significant byte of 12-bit dac code for setting low limit voltage. r/w r/w 0000_0000 por_vsup d3:d0 bit11 to bit8 of dac code d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x25 spop_dadd_bcmd _reg device address/ broadcast command register r/w - 0000_0000 por_v5v d5:d0 if spi3_cmd_reg [d3-d1] = 001/010 address of device to be accessed. (000000 address is broadcast address) if spi3_cmd_reg [d3-d1] = 100 broadcast communication commands. 000000 no operation 000001 timer control register write 000010 cell reference dac code write 000011 cell lower limit dac code write 000100 cell higher limit dac code write if spi3_cmd_reg [d3-d1] = 101 000000 data of register wrop_data_reg is written to address stored in spop_reg_add_reg in all devices. d7:d6 reserved (accessible only in master mode)
as8506 C 70 ams datasheet, confidential:2013-sep [1-00] device interface figure 85: spi operation register address register figure 86: spi write operation data register address register name features and bit description spi4 spi3 por value 0x26 spop_reg_add_reg address of register to be accessed during 3-wire read/write operation in the device selected in spop_dadd_bcmd_reg r/w - 0000_0000 por_v5v d6:d0 address of register to be accessed (r/w) d7:d4 reserved (accessible only in master mode) address register name features and bit description spi4 spi3 por value 0x27 wrop_data_reg data to be written in the register addressed by spop_reg_add_reg of device selected in spop_dadd_bcmd_reg during spi3 write operation. r/w - 0000_0000 por_v5v d7:d0 bit7 to bit0 of accessed register (accessible only in master mode)
ams datasheet, confidential:2013-sep [1-00] as8506 C 71 device interface figure 87: spi3 command register figure 88: spi read operation data register address register name features and bit description spi4 spi3 por value 0x28 spi3_cmd_reg 3-wire spi command register. register is cleared once the spi3 transaction is done. r/w - 0000_0000 por_v5v d0 0 no spi3 operation 1 start spi3 operation corresponding to command code d3:d1 000 reserved 001 slave register read 010 slave register write 011 start address allocation process 100 broadcast configuration command 101 broadcast slave register write 110 reserved 111 reserved d7:d4 reserved address register name features and bit description spi4 spi3 por value 0x29 rdop_data_reg read data from the register addressed by spop_reg_add_reg of device selected in spop_dadd_bcmd_reg during spi3 read operation. r/w r/w 0000_0000 por_vsup d7:d0 bit7 to bit0 of accessed register (accessible only in master mode)
as8506 C 72 ams datasheet, confidential:2013-sep [1-00] device interface figure 89: feature selection register 1 address register name features and bit description spi4 spi3 por value 0x2a feat_sel_reg_1 feature selection register1. r/w r/w 0000_0000 por_vsup d0 1 zero cross detection enable d2:d1 zero cross detection filter setting 00 8s 01 6s 10 4s 11 2s d3 reserved d4 1 external resistor divider enable d5 0 cell reference is generated from dac 1 cell reference is supplied externally on vref_in pin d6 0 cell lower/higher limit is generated from dac 1 cell lower/higher limit is supplied externally on cell_thl and cell_thu pins d7 reserved
ams datasheet, confidential:2013-sep [1-00] as8506 C 73 device interface figure 90: feature selection register 2 note: registers from address 0x2c to 0x2f are reserved. otp reflection registers figure 91: otp reflection register 1 figure 92: otp reflection register 2 address register name features and bit description spi4 spi3 por value 0x2b feat_sel_reg_2 feature selection register2. r/w - 0000_0010 por_v5v d1:d0 fd_out pad configuration 10 optocoupler driver 11 normal pad d7:d2 reserved address register name features and bit description spi4 spi3 por value 0x30 otp_refln_reg_1 d7:d0 otp bits [0:7] chip id [0:7] rr 0000_0000 por_v5v address register name features and bit description spi4 spi3 por value 0x31 otp_refln_reg_2 d7:d0 otp bits [8:15] chip id [8:15] rr 0000_0000 por_v5v
as8506 C 74 ams datasheet, confidential:2013-sep [1-00] device interface figure 93: otp reflection register 3 figure 94: otp reflection register 4 figure 95: otp reflection register 5 figure 96: otp reflection register 6 address register name features and bit description spi4 spi3 por value 0x32 otp_refln_reg_3 d7:d0 otp bits [16:23] chip id [16:18], otp bits [19:23] rr 0000_0000 por_v5v address register name features and bit description spi4 spi3 por value 0x33 otp_refln_reg_4 d7:d0 otp bits [24:31] r r 0000_0000 por_v5v address register name features and bit description spi4 spi3 por value 0x34 otp_refln_reg_5 d7:d0 otp bits [32:39] r r 0000_0000 por_v5v address register name features and bit description spi4 spi3 por value 0x35 otp_refln_reg_6 d7:d0 otp bits [40:47] r r 0000_0000 por_v5v
ams datasheet, confidential:2013-sep [1-00] as8506 C 75 device interface figure 97: otp reflection register 7 figure 98: otp reflection register 8 note(s) and/or footnote(s): 1. registers from address 0x38 to 0x39 are reserved. 2. registers from address 0x3a to 0x4e are otp and test registers. these are for factory use. address register name features and bit description spi4 spi3 por value 0x36 otp_refln_reg_7 d7:d0 otp bits [48:55] r r 0000_0000 por_v5v address register name features and bit description spi4 spi3 por value 0x37 otp_refln_reg_8 d7:d0 otp bits [56:63] r r 0000_0000 por_v5v
as8506 C 76 ams datasheet, confidential:2013-sep [1-00] application information figure 99: application schematic with single device application information nc_t tl1 tl2 thl th u ntc r 1 r 1 r2 r3 100nf 2-5uf note: max current on ref_t is 900ua including the temperature sensors tsech tsecl trig clk cvt_nok bd cs sclk sdi sdo vsup microcontroller cs sclk sdi sdo trig clk cvt_nok bd wake note: open drain on wake_in pin in the c or transistor as shown above. rf 1 vref_in optional factory setting for active balancing passive balancing tsecl tsech r load vref_t vref_t optional fixed reference 6r r rf 2 tsech tsecl 100 ma load supply from stack cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 19 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 as8506 trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10
ams datasheet, confidential:2013-sep [1-00] as8506 C 77 application information passive balance passive balance is to dissipate the energy from the cell with the higher cell voltage to the reference value (average of the stack e.g. max cell voltage in constant voltage charge phase or mean cell voltage as genertaed by resitor divider). resistor value should be selected based on the cell chemistry and voltage limits. maximum current capability of internal shuttle switch is 100ma. intern al resistance of the shuttle switch typically is 5 . . active balance in the active balance device charge the cells which are lower than the reference voltage. this is a method of charge transfer from the stack to the cell. flyback converter is used for this charge transfer. active balancing mode need to be enabled by factory setting. it is not available for the default assp. flyback converter (with external transformer) the high-efficiency, high-voltage, dc-dc flyback converter delivers current of 100ma to the lithium ion cell when the secondary side of the flyback tr ansformer is connected to the cell terminals. this also gives the isolation between the primary supply and the load cell. the flyback converter is designed to charge the lithium-ion battery ce lls during the balancing mode of the ic. it consists of a pwm waveform generator with variable duty cycle and a driver. this driver can drive an external mosfet, (or) the optocoupler, (or) an isolation device based on the requirement. during the on -state of the pwm waveform, the primary side of the flyback transformer conducts and stores the energy. in the other phase the stored energy in the secondary is transferred to the cell which will be connected to the secondary side of the transformer. the converter always works in discontinuous current mode (dcm). the advantages of this type of control system can be summarized as following: ? high-efficiency even at light load ? intrinsically stable ? simplicity figure 100: external components component manufacturer part number manufacturer transformer we-flex 74919 6111 wurth electronics optocoupler acpl-m72t-000e avago technologies
as8506 C 78 ams datasheet, confidential:2013-sep [1-00] application information figure 101: application with opto-c oupler/ isolation device caution: in the application its recommended to connect the as8506 devices stacke d first and connect the battery stack from bottom to top in sequence to av oid any possible damage of the system. while removing the battery pack its strictly recommended to remove the battery pack from the top. removing the battery pack from bottom will damage the system. 7 6 5 1 7 6 5 1 100nf 2-5uf 100nf 2-5uf vsup1 vsup1 tu1 tu2 tu2 tu1 tl1 tl2 tl1 tl2 v5v v5v_u vsup1 vsup2 micro controller cs sclk sdi sdo trig clk cvt_nok bd wake tsecl2 vsup2 ntc ntc ntc ntc vref_in2 vref_h1 vref_in1 vref_h2 fd_out2 vsup1 note: if slave has to drive fd pin then sdi has to be connected local ground note: open drain on wake_in pin in the c or transistor as shown above. 6r r 6r r cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 19 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10 cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 19 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10 nc_t nc_t as8506 mlf 6x6 gnd (exposed pad) as8506 mlf 6x6 gnd (exposed pad) converter for active balancing 100 v device supply from stack tsech1 tsech2 tsecl2 100 ma load fd_out2 non-inverting optocoupler/ isolation device 7 6 5 1 7 6 5 1 100nf 2-5uf 100nf 2-5uf vsup1 vsup1 tu1 tu2 tu2 tu1 tl1 tl2 tl1 tl2 v5v v5v_u vsup1 vsup2 micro controller cs sclk sdi sdo trig clk cvt_nok bd wake tsech1 tsecl1 tsech2 vsup2 ntc ntc ntc ntc vref_in2 vref_h1 vref_in1 vref_h2 fd_out2 vsup1 note: if slave has to drive fd pin then sdi has to be connected local ground note: open drain on wake_in pin in the c or transistor as shown above. 6r r 6r r cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 19 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10 cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 19 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10 nc_t nc_t as8506 mlf 6x6 gnd (exposed pad) as8506 mlf 6x6 gnd (exposed pad) 100 ma load converter for active balancing 100 v device supply from stack tsecl1 tsech2 tsecl2 100 ma load 100 v device fd_out2 non-inverting optocoupler/ isolation device optional factory setting for active balancing cs sclk sdi sdo wake_in bd cvt_nok clk trig
ams datasheet, confidential:2013-sep [1-00] as8506 C 79 application information figure 102: application schematic caution: in the application its recommended to connect the as8506 devices stacke d first and connect the battery stack from bottom to top in sequence to av oid any possible damage of the system. while removing the battery pack its strictly recommended to remove the battery pack from the top. removing the battery pack from bottom will damage the system. 7 6 5 1 7 6 5 1 100nf 2-5uf 100nf 2-5uf vsup1 nc_t vsup1 tu1 tu2 tu2 tu1 tl1 tl2 tl1 tl2 v5v v5v_u vsup1 vsup2 micro controller cs sclk sdi sdo trig clk cvt_nok bd wake tsech1 tsecl1 tsech2 tsecl2 vsup2 v5v_u note: if slave has to drive fd pin then sdi has to be connected local ground ntc ntc ntc ntc vref_in2 vref_h1 vref_in1 vref_h2 note: open drain on wake_in pin in the c or transistor as shown above. 6 r r 6 r r cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 as8506 mlf 6x6 gnd (exposed pad) trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10 cvt_nok_in vcell3 vcell2 sdo cs sclk sdi 34 33 32 40 39 38 37 36 35 17 18 19 11 12 13 14 15 16 trig_out v5v vcell7 clk_out vcell6 vcell5 vcell1 c-gnd tsech tsecl ms_sl vref_h temp_in1 cell_thl cell_thu bd_in bd_out fd_in vsup gnd temp_in2 wake_out vref_in 31 20 v5v_in ref_t nc vcell4 as8506 mlf 6x6 gnd (exposed pad) trig_in clk_in cvt_nok_out wake_in fd_out 30 29 28 27 26 25 24 23 22 21 1 2 3 4 5 6 7 8 9 10 nc_t 100 ma load 100 v device supply from stack tsech1 tsecl1 tsech2 tsecl2 100 ma load converter for active balancing 19 optional factory setting for active balancing cs sclk sdi sdo wake_in bd cvt_nok clk trig
as8506 C 80 ams datasheet, confidential:2013-sep [1-00] application information figure 103: application with opto-coupler device stackable to higher numbers caution: : in the application its recommended to connect the as8506 devices stacked first and connect the battery stack from bottom to top in sequence to avoi d any possible damage of the system. while removing the battery pack its strictly recommended to remove the ba ttery pack from the top. removing the battery pack from bottom will damage the system. as8506 100khz optocoupler vcc vo vb rl stack n cellx of stackn as8506 stack1 cellx of stack1 as8506 stack2 fdrive_out as8506 stack n+1 stack ground vcc optocoupler vcc vo vb rl cellx of stack2 stack ground stack ground fdrive_out(100khz vcc / v auxiliary 12v / 5v vcc / v auxiliary 12v / 5v
ams datasheet, confidential:2013-sep [1-00] as8506 C 81 package drawings & markings the as8506 device is available in a 40-pin mlf (6x6) package. figure 104: as8506 package drawings and dimensions package drawings & markings symbol min nom max e0.50 bsc d1 5.75 bsc e1 5.75 bsc d2 4.40 4.50 4.60 e2 4.40 4.50 4.60 aaa - 0.15 - bbb - 0.10 - ccc - 0.10 - ddd - 0.05 - eee - 0.08 - fff - 0.10 - n40 as8506 yywwizz (a) note: a is for active balancing and default is passive balancing. symbol min nom max a 0.80 0.90 1.00 a1 0 0.02 0.05 a2 - 0.65 1.00 a3 0.20 ref l 0.30 0.40 0.50 l1 0.05 0.15 0.25 l2 0.05 0.10 0.15 0o - 14o b 0.20 0.25 0.30 b1 0.10 0.15 0.20 d6.00 bsc e6.00 bsc
as8506 C 82 ams datasheet, confidential:2013-sep [1-00] package drawings & markings note(s) and/or footnote(s): 1. dimensions and toleranceing conform to asme y14.5m. - 1994. 2. all dimensions are in mill imeters (angles in degrees). 3. bilateral coplanarity zone applies to th e exposed pad as well as the terminal. 4. radius on terminal is optional. 5. n is the number of terminals. figure 105: as8506 packaging code yywwxzz yy ww i zz last two digits of the year manufacturing we ek plant identifier assembly traceability code
ams datasheet, confidential:2013-sep [1-00] as8506 C 83 package drawings & markings the as8506c device is available in a 40-pin mlf (6x6) package. figure 106: as8506c package drawings and dimensions symbol min nom max e0.50 bsc d1 5.75 bsc e1 5.75 bsc d2 4.40 4.50 4.60 e2 4.40 4.50 4.60 aaa - 0.15 - bbb - 0.10 - ccc - 0.10 - ddd - 0.05 - eee - 0.08 - fff - 0.10 - n40 note: a is for active balancing and default is passive balancing. symbol min nom max a 0.80 0.90 1.00 a1 0 0.02 0.05 a2 - 0.65 1.00 a3 0.20 ref l 0.30 0.40 0.50 l1 0.05 0.15 0.25 l2 0.05 0.10 0.15 0o - 14o b 0.20 0.25 0.30 b1 0.10 0.15 0.20 d6.00 bsc e6.00 bsc as8506c yywwizz (a)
as8506 C 84 ams datasheet, confidential:2013-sep [1-00] package drawings & markings note(s) and/or footnote(s): 1. dimensions and toleranceing conform to asme y14.5m. - 1994. 2. all dimensions are in mill imeters (angles in degrees). 3. bilateral coplanarity zone applies to th e exposed pad as well as the terminal. 4. radius on terminal is optional. 5. n is the number of terminals. figure 107: as8506c packaging code yywwxzz yy ww i zz last two digits of the year manufacturing we ek plant identifier assembly traceability code
ams datasheet, confidential:2013-sep [1-00] as8506 C 85 rohs compliant & ams green statement rohs: the term rohs compliant means that ams products fully comply with current rohs directives. our semiconductor products do not contain any chemicals for all 6 substance categories, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. where designed to be soldered at high temperatures, rohs compliant products are suitable for use in specif ied lead-free processes. ams green (rohs compliant and no sb/br): ams green defines that in addition to rohs compliance, our products are free of bromine (br) and antimony (sb) based flame retardants (br or sb do not exceed 0.1% by weight in homogeneous material). important information: the information provided in this statement represents ams knowledge and belief as of the date that it is provided. ams bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. efforts are unde rway to better integrate information from third parties. ams has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ams and ams suppliers consider certain information to be proprietary, and thus cas numbers and other limited information may not be available for release. rohs compliant & ams green statement
as8506 C 86 ams datasheet, confidential:2013-sep [1-00] ordering & contact information the devices are available as the standard products shown in ordering information. figure 108: ordering information note(s) and/or footnote(s): 1. non-automotive version without aecq 100 qualification. buy our products or get free samples online at: www.ams.com/icdirect technical support is available at: www.ams.com/technical-support for further information and requests, e-mail us at: ams_sales@ams.com for sales offices, distributors and representatives, please visit: www.ams.com/contact headquarters ams ag tobelbaderstrasse 30 8141 unterpremstaetten austria, europe tel: +43 (0) 3136 500 0 website: www.ams.com ordering code description delivery form package reel size AS8506-BQFP monitor and balancer ic tape and reel 40-pin mlf (6x6) 4000 as8506-bqfm monitor and balancer ic tape and reel 40-pin mlf (6x6) 1000 as8506c-bqfp (1) monitor and balancer ic tape and reel 40-pin mlf (6x6) 4000 as8506c-bqfm (1) monitor and balancer ic tape and reel 40-pin mlf (6x6) 1000 ordering & contact information
ams datasheet, confidential:2013-sep [1-00] as8506 C 87 copyrights & disclaimer copyright ams ag, tobelbader strasse 30, 8141 unterpremstaetten, austria-europe. 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. devices sold by ams ag are covered by the warranty and patent indemnification provisions appear ing in its term of sale. ams ag makes no warranty, express, statutory, implied, or by description regarding the inform ation set forth herein. ams ag reserves the right to change specifications and prices at any time and without notice. theref ore, prior to designing this product into a system, it is necessary to check with ams ag for current information. this product is intended for use in commercial applications. applications requiring extended temperature range, unusual environmental requirements, or high reliability applications , such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by ams ag for each application. this product is provided by ams as is and any express or implied warranties, including, but not limited to the implied warranties of merc hantability and fitness for a particular purpose are disclaimed. ams ag shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. no obligation or liability to recipient or any th ird party shall arise or flow out of ams ag rendering of technical or other services. copyrights & disclaimer
as8506 C 88 ams datasheet, confidential:2013-sep [1-00] reference guide 1 general description 2 key benefits & features 2 applications 3 block diagram 4 pin assignment 8absolute maximum ratings 10 typical operating characteristics 11 electrical characteristics 11 device level specifications 12 low dropout regulator (5v output ldo) 13 high-precision bandgap reference 13 digital to analog converter 14 analog to digital converter 14 pre-regulator 15 pwm driver 16 pwm oscillator 16 oscillator for digital circuit 17 external temper ature thresholds 18 ron of the shuttle switch es (internal switch for charging/discharging) 18 over-temperat ure measurement 19 weak cell detection (voltage comparator) 19 power on voltage detection 20 electrical characteristics fo r digital inputs and outputs 22 detailed description 22 voltage regulator (ldo_5v) 22 high precision bandgap (hpbg) 22 external temperature monitor and measurement 23 internal temperature monitor 23 pwm generator 23 rc oscillator 23 dac for the reference generation 24 sar adc 24 pre-regulator 24 cell threshold 24 weak cell detection 24 external resister divider control 25 pors on different supplies 26 as8506 system operation 28 functional state diagram 29 operating modes 29 normal mode 29 diagnosis phase 30 balance phase 30 sleep mode 30 wait mode 31 wake mode 32 wake-up event 33 trigger event 35 balancing algorithm 36 initialization sequence reference guide
ams datasheet, confidential:2013-sep [1-00] as8506 C 89 reference guide 38 device interface 38 serial peripheral interface 39 spi write operation 41 spi read operation 43 address allocation process 46 communication to slaves 46 broadcast communication 47 communication with individual slave 47 write operation. 48 read operation. 49 spi timing diagrams 50 spi protocol 51 system timings 52 register space description 52 status registers 65 configuration and 3-wire spi interface related registers 73 otp reflection registers 76 application information 77 passive balance 77 active balance 77 flyback converter (with external transformer) 81 package drawings & markings 85 rohs compliant & ams green statement 86 ordering & contact information 87 copyrights & disclaimer


▲Up To Search▲   

 
Price & Availability of AS8506-BQFP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X