<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁 > 模擬技術(shù) > 設(shè)計(jì)應(yīng)用 > Calculate Ratiometric Outputs

          Calculate Ratiometric Outputs

          作者: 時間:2011-05-26 來源:網(wǎng)絡(luò) 收藏
          Abstract: The DS1802 is a dual audio taper-potentiometer with logarithmic resistive characteristics over the device range. Each potentiometer provides 65 wiper positions with a 1dB increment per step and device mute with at least 90dB of attenuation. The specifications given in this datasheet only refer to decibel measurements. If a designer wishes to calculate these values in ratiometric terms, a conversion is necessary. This application note reviews the conversion from decibel to ratiometric. The formula is given in Excel as an example, for engineers wishing to build Excel tables depicting gain calculations for the DS1802 and other audio potentiometers. While the DS1802 is given as an example, this application note pertains to any audio taper potentiometer.


          Overview

          The DS1802 is a dual audio taper-potentiometer with logarithmic resistive characteristics over the device range. Each potentiometer provides 65 wiper positions with a 1dB increment per step and device mute with at least 90dB of attenuation. Table 1 shows the dB output as a function of the potentiometer wiper setting.

          Table 1. DS1802 Gain (dB) as a Function of Wiper Setting - Resistance Characteristics
          POSITIONOUTPUT LEVEL (dB)
          00
          1-1
          2-2
          3-3
          4-4
          5-5
          ??
          ??
          ??
          63-63
          64 (mute) -90

          This chart only gives the output as a function of dB attenuation with reference to 0dB attenuation at the wiper 0 position. If the ratiometric output is desired, the ratio of the output signal relative to the input signal, a conversion must be made to convert dB to a ratiometric attenuation value.

          dB attenuation is defined as 20 X LOG(VOUT/VIN).

          The desired ratiometric output is defined as:

          RL/REE = RL/(RL + RH) = VOUT/VIN

          with RH = defined as the high-side of the DS1802, RL defined as the low side of the DS1802, REE defined as the end-to-end resistance, and VOUT and VIN defined as the output and input signals, respectively, as shown in Figure 1.

          Calculate Ratiometric Outputs
          Figure 1. DS1802 block diagram (one potentiometer shown).

          If we know the dB attenuation for a given potentiometer setting, we can calculate the ratiometric output by solving for VOUT/VIN or:

          the Ratiometric Output = INVERSE LOG10(dB attenuation/20). If one wanted to calculate the output signal ratiometrically as a function of the input in a spreadsheet like Excel, no function for the inverse log function exists. As the INVERSE LOG function of X can be calculated as 10X, in Excel the power function can be used as follows: = (10)^(dB/20), where dB can be a value stored in another cell in the spreadsheet.

          Table 2 below summarizes the ratiometric outputs available for the DS1802. While this example is given for the DS1802, it may be used in calculations to determine the ratiometric output of any LOG potentiometer.

          Table 2. Ratiometric output of the DS1802 as a function of dB (Wiper) setting
          dB AttenuationRatiometric OutputdB AttenuationRatiometric Output
          01.00000-320.02512
          -10.89125-330.02239
          -20.79433-340.01995
          -30.70795-350.01778
          -40.63096-360.01585
          -50.56234-370.01413
          -60.50119-380.01259
          -70.44668-390.01122
          -80.39811-400.01000
          -90.35481-410.00891
          -100.31623-420.00794
          -110.28184-430.00708
          -120.25119-440.00631
          -130.22387-450.00562
          -140.19953-460.00501
          -150.17783-470.00447
          -160.15849-480.00398
          -170.14125-490.00355
          -180.12589-500.00316
          -190.11220-510.00282
          -200.10000-520.00251
          -210.08913-530.00224
          -220.07943-540.00200
          -230.07079-550.00178
          -240.06310-560.00158
          -250.05623-570.00141
          -260.05012-580.00126
          -270.04467-590.00112
          -280.03981-600.00100
          -290.03548-610.00089
          -300.03162-620.00079
          -310.02818-630.00071
          -320.02512-64MUTE


          This ratiometric output can also be expressed as the ration of RL to REE (=RL/REE) so, as an example, the value of RL at a wiper setting of -21 dB would be 0.08913 x REE.


          評論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();