| 数据搜索系统,热门电子元器件搜索 |
|
L9679P 数据表(PDF) 187 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9679P 数据表(HTML) 187 Page - STMicroelectronics |
|
187 / 272 page ![]() DocID029275 Rev 1 187/272 L9679P DC sensor interface 271 The voltage and current for the selected channel are made available to the main ADC by selecting the proper channel and enabling the measurement process by dedicated DIAGCTRLx commands. The device offers the capability to actively keep all the DCSx lines discharged by means of a weak pull down. The pull down is active by default on all channels and it is deactivated in either of the following cases: 1. when the voltage source is active on the relevant channel 2. when a voltage measurement is requested on the relevant channel 3. if SPI bit SWCTRL(DCS_PD_CURR) is set (global pull-down disable for all channels) In case of Hall-effect sensors, a single current measurement is processed. The current load needed for regulating the pin is internally reflected to a reference resistance, whose voltage drop is then measured through the internal ADC converter. When resistive or switch sensors are used, a more complex measurement is performed. In a first step the current information as above described is provided. Then, also the information on the voltage level achieved on the output pin is provided via ADC. By processing these two values, the micro-controller can understand the resistive value. The DCSx voltage is internally rescaled by a voltage divider into the ADC converter voltage range as shown in Figure 48. Additionally a positive voltage offset is internally applied to the scaled voltage in order to allow voltage measurement capability for DCSx down to -1V. In order to get accurate resistive information even in case of an external ground voltage shift on the sensor of up to +/-1V, the voltage measurement step actually needs two DCSx voltage measurements. A first voltage measurement has to be done with selection of 6.25V on the output channel and a second one with the regulator switched off. The difference between the two measurements will cancel out the offsets (both external ground shift and internal offset). The DCSx current and voltage can be retrieved from ADC readings according to the following formulas and related parameters specified in the Electrical Characteristics section. IDCSx 100 IREF_DCS 2 ADCRES -------------------------- DIAGCTRLn ADCRESn = @DIAGCTRL(ADCREQn = $04 VDCSx RATIOVDCSx ADCREF_hi 2 ADCRES ------------------------------- DIAGCTRLn ADCRESn V OFF_DCSx – = – – VOFF_DCSx · (RATIOVDCSx –1) @DIAGCTRLn(ADCREQn) = $03 The DCSx sensor resistance can be calculated according to the following formula: Rsensor x VDCSx IDCSx ---------------------- VDCSx@(SWCTRL(SWOEN)=1 VDCSx@(SWCTRL(SWOEN)=0 – IDCSx ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- == @SWCTRL(CHID) = x The device provides also the capability of a cross link check between outputs, in order to reveal conditions where two output channels are in short. This functionality is allowed by enabling one output channel, while asking for voltage measurement on any of the other ones. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |