Original scientific paper Informacije ^efMIDEM A Innrnal of Journal nf Microelectronics, Electronic Components and Materials Vol. 45, No. 2 (2015), 117 - 124 Electronically Controllable Current-mode True RMS to DC Converter Predrag B. Petrovič Faculty of Technical Sciences Cačak, SERBIA Abstract: The paper presents a possible design of an electronically tuneable current-mode RMS-to-DC converter. The circuit consists of a single multiple-output current-controlled current differencing transconductance amplifier (MO-CCCDTA), two current-controlled conveyors (CCCII), and a grounded resistor and capacitor. The errors related to signal processing were investigated and presented in the paper. The PSpice simulation results are depicted, and they agree well with theoretical anticipation. The maximum power consumption of the converter is approximately 5.80 mW, at ±1.2 V supply voltages. Keywords: RMS-to-DC converter; current-mode processing; CCCDTA; MOCCCII; simulation Elektronsko nadzorovan RMS DC pretvornik v tokovnem načinu Izvleček: Članek opisuje možno obliko elektronsko nastavljivega RMS-DC pretvornika v tokovnem načinu. Vezje je sestavljeno iz enega večizhodnega tokovno krmiljenega tokovno diferencialnega transkonduktančnega ojačevalnika (MO-CCCDTA), dveh tokovno krmičjenih ojačevalnikov (CCCII) in ozemljenega upora ter kondenzatorja. Raziskane in predstavljene so napake v zvezi signalom. Opravljena je bila PSpice analiza, ki se dobro ujema s teorijo. Največja poraba pretvornika je 5.80 mW pri napajalni napetosti ±1.2 V. Ključne besede: RMS-DC pretvornik; CCCDTA, MOCCCII, simulacije * Corresponding Author's e-mail: predrag.petrovic@ftn.kg.ac.rs 1 Introduction Magnitude-detection circuits, e.g. envelope detectors, peak detectors and RMS-to-DC converters produce an estimate of a signal's magnitude, and are important elements in communications transceivers, automatic gain control systems and analog spectrum analysers [1]. Mobile communication terminals or handsets have become ubiquitous in the modern society, creating insatiable market demand for and more efficient power supply solutions for the mobile terminal. Accurate monitoring of the transmitting power of the mobile terminal helps to optimise power consumption and performance of the wireless network [2]. Detectors intended for this purpose need to involve wide bandwidth, high input impedance, low loss, low noise, and are expected to be compact and robust in the presence of process-voltage-temperature (PVT) variations. High dynamic range and low power consumption are also desirable. Different methods have been reported for the precision measuring of the RMS value of an AC voltage, such as sampling [2], Monte Carlo [3] and the wavelet transform [4, 5]. The implicit RMS converter described in [69] has been used for many years. Most of these devices similarly comprise two main parts: a full-wave rectifier (or absolute-value) circuit and a multiplier/divider circuit employing a log-antilog principle. High-frequency performances of these devices are limited to less than 5 MHz due to the band-width and the slow rate of the full-wave rectifier. Design technologies based on bipolar dynamic trans-linear circuits were proposed to implement true RMS-to-DC converters [10, 11]. Although these schemes require only NPN transistors, their circuits are operated in only one quadrant and employ full-wave rectifiers. The new design for RMS-to-DC converter relies on the dual trans-linear-based squarer circuit proposed in [12, 13], where the input current can be a two-quadrant current signal. Given that the full-wave rectifier is not required within this conversion scheme, the circuit exhibits a wide bandwidth, which, due to the input interference, still appears limited compared to thermal-based or diode-based detectors [14]. Presently, there is a growing interest in synthesising the current-mode circuits because of a number of their potential advantages such as larger dynamic range, higher signal bandwidth, greater linearity, simpler circuitry and lower power consumption. The current differencing transconductance amplifier, CDTA [15], appears to be a versatile component in the realization of a class of analog signal-processing circuits. This device is quite suitable for the synthesis of current-mode circuits with electronically tunable properties. Moreover, the use of the CDTA as an active element provides the circuit implementations with a reduced number of passive elements, thereby leading to compact structures in some applications. This paper presents the principles of operation, and the detailed circuit design of the new current-mode realisation of the bipolar RMS detector. The proposed detector uses an implicit computation to calculate the RMS value of an input signal, similarly to the translinear principle. The paper looks at a small-signal approach to the problem, i.e. voltage-to-current relations are regarded as linear, while in translinear circuits, the ability of exponential function to convert a sum of signals (voltages) into signal products (currents) is utilised. The fundamental building block is an analog multiplier/ divider realised with one MO-CCCDTA, the anticipated exploitation of the proposed circuit being extended up to 10 MHz, with increased linearity and precision in determining the effective value. Unlike the detector described in [16, 17], which was realised using the CMOS technology, the one described in this paper involves simpler and more accurate control structure. Besides, the proposed circuit does not require a more precise bias voltages realization and complex transistor pairing, which was typical of the realisations described in [16, 17]. Additionally, it has fewer active building blocks and allows a faster access to the required feedback - the RMS of the input signal which is the subject of processing. In addition, the circuit comprises two grounded passive components (resistor and capacitor), rendering it very suitable for the IC implementation. The PSpice simulation results are also shown, and they are in agreement with theoretical analysis. 2 Proposed detector circuit The proposed current-mode RMS detector using the MO-CCCDTA and MO-CCCIIs [18] is shown in Fig. 1. MO-CCCDTA properties are similar to the conventional CDTA, except that input voltages of MO-CCCDTA are not zero and the MO-CCCDTA has finite input resistances Rp and Rn at the p and n input terminals, respectively. These parasitic resistances are equal and can be controlled by the bias current Ip (Fig. 2). Figure 1: The proposed RMS circuit Using the standard notation for the MO-CCCDTA, the circuit can be described by the following constitutive equations: vp = vn = 0; ^z = i p - ^n. and ix = gmvz = gm^z^z (1) where p and n are input terminals, z and ± x are output terminals, gm is the transconductance gain, and Zz is external impedance connected at the terminal z. Based on the expressions above, the current flow out of the terminal z (!) is a difference between the input currents through the terminals p and n (!p-!n). The voltage drop at the terminal z is transferred to the current at the terminal x (!x) by a transconductance gain (gm) of the CDTA. These currents, copied to a general number of output current terminals x, are equal in magnitude. While there are several technologies to realize the CDTA, one of the possible bipolar realizations is shown in Fig. 2. Figure 2: Bipolar realisation of MO-CCCDTA It mainly comprises a current differencing circuit formed by two current followers, a basic current mirror and a multiple-output transconductance amplifier. Here, the transconductance gain gm of the CDTA is directly proportional to the external bias current IB (three bias currents IB2, IB3 and IB4 in the case of proposed converter circuit, Fig. 1), which can be written by: Sm I B 2Vt (2) T where VT = 26 mV at 27°C is the usual thermal voltage given by kT/q, k = Boltzmann's constant = 1.38x10-23 J/K, T = the absolute temperature (in Kelvins), and q = 1.6x10-19 C. Generally, a MO-CCCII is a multiple-terminal active building block, as shown in Fig. 1. The port relations of the MO-CCCII can be presented by the following equation [1]: iy = 0; ^x = vv + ix^x; iz + = +ix; ^z- = -^x (3) The bipolar realisation of the MO-CCCII is proposed in [18]. In this case, the parasitic resistance Rx at the terminal x can be expressed by: ' 2Ib (4) where VT is the thermal voltage and IB (IB1 and IB5 in the proposed realisation, Fig. 1) is the bias current of the conveyor which remains tunable over several decades. By the routine analysis of the proposed RMS circuit shown in Fig. 1 and using the properties of MO-CCCD-TA and MO-CCCII, the output current at z terminal of MO-CCCDTA is obtained by: I z = I in = (5) Ixl = Ix2 = 12 gmlVz = -I^iflin > 0 0 if I in < 0 ^ Oiflin > 0 I2 gm2Vz =^inifIin < 0 (7) I r The equation above suggests the output current I . as: ^out - ^xl + Ix2 - x 2 Ir Rx2 Vin R'n VO (8) out Where R^ = Rxl. The current is then converted to the output voltage, V^^^, with an implied low-pass filtering function. We can recognise that the output current-to-voltage conversion (with second CCCII) establishes a differential equation relating the current, to the output voltage, Vut, i.e.: Vout (() + ^oVout (t) = -1 lout ((); = Rc A simple way to obtain this equation is to determine the transfer function relating I^^^ to V^^^^, and then take this back to the time domain. Equation (9) is the generic time-domain description of a low-pass filter, where the coefficient of the undifferentiated term on the LHS of the equation equals the filter cut-off frequency. Equation (8) can subsequently be combined with the above to obtain: Vout {t)+^oVout {t) = 1 V^, {{), R = RiCVout {{) 1 R 10) x2 We may now multiply both sides of the equation by 2Vut and make a simple observation incorporated into the final result: whereupon the output voltage at z terminal (Vz) of MO-CCCDTA equals: ^ = Ix^ = 2VTlin ^ gm3 Ir (6) Figure 1 infers that IB2 = ,Ib3 =-Ih and Ib4 = Ir Thus, the I, and I, can be obtained by: ' x1 x2 ' 2Vout (t )V&out (t) + (t ) = Vi2 (t RlC d_ dt [vOut (())+2^0 ^((ut (t ))=-R^^vi2 (() K-iL (11) Equation (11) is a first-order differential equation relating )2 and (V^^ )2, having the same form as (9). Therefore, the square of the output is a low-pass filtered version of the square of the input. Based on (11), we can assume that: ((1 TdT RxC 0 (12) The equation above (convolution integral) implies that if the square root of both sides is considered, the output is the root mean square of the input voltage, where the integral is assumed to compute mean value function. The implied filtering function is thus given by: The equation above infers the accuracy associated with the proposed circuit for measuring the effective value of the input sine voltage signal. In the case of the input signal described by the Fourier order, the estimation defined by (15) gains in complexity, whereas it also clearly implies that it is possible to filter and single out the effective value of the signal processed in the respective manner. H (s ) = s + ^3db , where Oh^db = 2 'rc (13) 3 Non-ideal system analysis The low-pass filter performs averaging of the RMS function and needs to be of a lower corner frequency than the lowest frequency of interest. For line frequency measurements, this filter is simply too large to implement on-chip, but the proposed detector requires only one capacitor on the output to implement the low-pass filter. This capacitor can be selected by the user, depending on frequency range and settling time requirements. Low-pass filtering the square of the input sine functions with some a certain amplitude, frequency and phase shift (Vn (t) = Vcos{wt + ), as suggested by (11), yields a time function y(t) given by: 1 + 1 + {2altöidb)2 ^cos' {lot) = vOut (() (14) The effects of MO-CDTA and MO-CCCII non-idealities on the RMS detector performance are to be considered in this section. By considering the non-ideal MO-CCCII characteristics, equation (3) can be rewritten as: iy = 0; v^ =avy + i^R^; iz + = +ßpix; iz - = -ßnix (16) where a = 1 -ev and £v (|£v|<<1) represents the voltage tracking error from y to x terminal, ßp = i -ep and s^^ (|£p|<<1) denotes the current tracking error from x to +zterminal, while ßn = l-En and s^ (|s^|<<1) stands for the current tracking error from x to -z terminal of the MO-CCCII, respectively. Given the non-idealities, currents generated from first and second CCCIIs (first and third circuits of the proposed realization in Fig. 1) can be defined as: The input phase shift, such as the net phase shift, after filtering of the second harmonic, yields zero phase, thereby simplifying the form of y(f) without the loss of generality. R/R1 was set to unity for simplicity reasons. If we assume that the input signal frequency is considerably higher than the filter cut-off frequency, the approximate final output can be rather successfully estimated with just a few terms of a Taylor series. Accordingly, the DC component of the output voltage of the proposed circuit, i.e. the apparent output RMS value of the input and the associated second-harmonic component of the output voltage resulting from the rapidly decreasing magnitudes of higher harmonic terms, such as the ripple (peak-to-peak ripple of the output), is expressed as: RMS Vripple 1 - 1/16 1 + )2 1/2 V true - RMS (15) + (2®/®3db )2 Vtr true-RMS J = gVin . ■ n ' p R = Ib2 = ßpiaVin p xl R xl J _ ßn1a\Vi JB3 _- R in. _ ßp2a2Vout If - (17) xl Rx x2 In practice, the deviation from the ideal performance of the proposed RMS circuits is mainly due to the nonideal CDTA characteristics, which can be divided into two categories, i.e. parasitic gain effects and parasitic impedance effects. Fig. 3 illustrates the simplified equivalent circuit represented by the behavior of the non-ideal CDTA. Figure 3: The equivalent circuit of the non-ideal CDTA 2 A practical CCCDTA device can be modelled as an ideal CCCDTA with finite parasitic resistances and capacitances, as well as non-ideal current transfer gains and a transconductance inaccuracy factor of the CCCDTA. Fig. 3 shows a more sophisticated circuit model to represent the non-ideal CCCDTA device, where Rp, R^, Rx, and R^ are the terminal parasitic resistances. Rp and Rn are the current-controllable parasitic resistances, where Rx and R^ as typical values of the parasitic resistances, connected to the terminals x and z respectively, are in the range of several mega-ohms. Cx and C^ are the terminal parasitic capacitances from terminals x and z to the ground (the shunt output impedances {R//Cz and Rx//Cx) at terminals z and x, respectively). Typically, these parasitic capacitances are in the order of several pFs. In Fig. 3, ap represents the non-ideal current transfer gain from the p terminal to the z terminal of the CCCDTA, an denotes the non-ideal current transfer gain from the n terminal to the z terminal of the CCCDTA, and ß is the transconductance inaccuracy factor from the z terminal to the x terminal of the CCCDTA. The typical values of the non-ideal current transfer gains and the transconductance inaccuracy factor an, ap, and ß range from 0.9 to 1, with an ideal value of 1. It follows that: aißplVin ^-Rxl__ Rlx (1+ sCR) 2VT 1+ „"ißplVout R+ sRC Rx1 Rlx (1 + s^R)) R(1 + sCixRix) 2Vt Rx2 ' ' ' R1x(l + sCR) I Rx: + ßa:ßp:R' ' + Rx:sR'C' 1R1'(1+sCR)+ R(1+sC1'R1') R:1 =R1,(1+scR)_^ vn ' 'R1x(1 + sCR)+ R(1 + sC1xR1x) "21 Vou a1ßp1V,n R:J1 + sCR) :vt 1 + ßa:ßP:Vou' ^^ + sR^C^ :VT Rx: Rx1 R:x (1+ sCR)+ R(1+ sC:xR:x) R:x(1 + sCR) R:x(1 + sCR)+ R(1 + sC:xR:x) rX1 Vo = ^ (s) R:i(1+ sCR) Rx: vn ^^R:x(1 + sCR)+ R(1 + sC:,R:,) RX1 v^, where: ki{s ) = ■ k2 (s ) = aO^ßpiapRz V^ Vrr 2 -^Rx2 + ßa2ßp2 Rz + 2 Rx2 sRzCz 'out 'out _aa2ßnlßplapRz_ ' ^ Vt ^—Rx2 + ßa2ßp2 Rz + Rx2sRzCz V ^^ ' ^ V out out (21) (22) Based on the circuit representation in Fig. 3 and the proposed RMS detector, and given the non-ideal CDTA characteristics, after applying the non-ideal equivalent circuit mode of the CCCDTA to the proposed circuit, tedious derivations lead to the following modified characteristic equation): Ip _ ^B2 _-R-> JB3 - a2ßp2Vout , ^r _-R-= ^B 4 Rx 2 (18) Vz = R ^(a„i„ -ßgm3Vz ) 1 + sRzC^PP -i. (19) V =_^^_ Z 1 + ßgm3 Rz + sRzCzP = J^ = a2ßp 2Vout 2Vt 2VtRx2 The modified output current for the proposed RMS detector can be rewritten as: 1 + (l + sCR) Rix R zRlx (1 + sCR) + R(l + sCixRix) ; Vin > 0 1 + sC1xR1x 1 + sCR Rjx 1+sC2xR2x R2X ( + sCR) R2x R ~ ßgm2VzR2x (1 + sCR) + r(1 + sC2xR2x); (20) 1 + sC2xR2x 1 + sCR „ -IB2 ^ _ ^Bi Sm1 ; Sm2 = TT^ 2Ft 2FT The expressions above infer that the deviations in the transfer current gains are mainly the result of parasitic gains of the CDTAs. In order to improve the discrepancy to theoretical response, a high-performance CDTA with minor parasitic effects need to be employed. However, easy compensation for these deviations is possible by adjusting the values of and respectively. The output voltage of the proposed RMS detector is defined as: Vout ßSmiVz R' 1 + sC' R' ; R = RRix R + Rix (23) C' = C + Cix; i = 1,2. Given the non-ideal characteristics of MO-CDTA and CCCIIs, the implied filtering function implies that: H' (s ) = ki (s) R of' 3db R1 s + 03db where 03db = 2 (24) R C' ; i = 1,2. Equation (24) suggests that filtering function, represented by the integral operators (equation (12), poses different characteristics in comparison with the ideal situation (equation (13), especially in the operators' behavior at higher frequencies. V„ > 0 o-ut I^., = a R, R pz ß a R p-z < 0 : Rx: + ßa:ßp:Rz + : -V- Rx:s^zCz ou^ m\' z + ^-ut m2 z 4 Simulation results To confirm the given theoretical analysis, the proposed current-mode bipolar RMS circuit in Fig. 1 was simulated using the PSpice program. The CCCDTA and CCCIIs were realized by the schematic bipolar implementations given in Fig. 2 and [18], with the transistor model parameters of PR200N (PNP) and NP200N (NPN) of the bipolar arrays ALA400 from AT&T [19]. The supply voltages and the values of the bias currents were +V = -V = 1.2 V and = = 100 mA, IP = 300 mA respectively, whereas the input voltage was within the range of 0 ^ 500 mV. Fig. 4 shows the wave form of the signal at the output of the circuit shown in Fig. 1 (voltage (t)), whereby the total power dissipation was 5.80 mW. Small power consumption of the proposed circuits results from the application of low-voltage current mode and transcon-ductance mode integrated circuits, with the use of bipolar transistor technology. Applying the current mode signal processing to solve the issues under consideration is a sensible approach to the problem. However, similar and sometimes lower power consumption can be achieved using CMOS technology instead of the bipolar one. The output ripple is always considerably greater than the DC error; therefore, filtering out the ripple can substantially reduce the peak error without applying a long settling-time penalty by simply increasing the averaging capacitor. The rippling of the output voltage generated in this manner is lower than in detector [16, 20], followed by the shorter feedback as well. Linearity may seem like an odd property for a device that implements a function involving two very nonlinear processes: squaring and square rooting. However, an RMS-to-DC converter has a transfer function, RMS volts in to DC volts out, that should ideally have a 1:1 transfer function. To the extent that the input to output transfer function does not lie on a straight line, the part is nonlinear. Fig. 5 (a) shows the DC transfer function nearing zero in the proposed circuit. Given that the dynamic range has nonlinearity level lower than 1dB, the dynamic range of the circuit proposed in this paper is around 35 dB. The proposed detector circuit involves higher linearity compared to the ones described in [16, 20, 21]. O 6 0I11^' - ----- 1 ---- 1 ] r ------ -----T----- _____i_____ ■t. um > 2 1 ] 1 ■ ----- --- r ------ -----T----- 1 0\' i ] 1 1 0 ■s 2r □V(R2 : 2) lis 4ii IS 6i Time lis 8i] IIS lOiiis Figure 4: Time-domain response of the proposed RMS circuit for the sine input signal (V,„ (t) = 10sin(2^,rf)[mV] , f = 100 kHz, R = 180 W, C = 5 ^F) a) b) Figure 5: a) DC transfer function near zero; b) Performance vs Crest Factor Crest Factor represents a common method of describing dynamic signal wave shapes. It is the ratio of the peak value relative to the RMS value of a waveform. For example, a signal with a crest factor 4 has a peak four times its RMS value. The proposed circuit performs very well with crest factor 4 or less, and responds with a reduced accuracy to signals with higher crest factors (Fig. 5 (b)). On the Fig. 5 (b) the "SCR waveforms" refers to the ideally chopped sine wave. High performance with crest factors lower than 4 can be directly attributed to the high linearity throughout the proposed solution. Fig. 4 shows the result for pure sinusoid signal. However, as an RMS detector, the circuit should have consistent response in signals with equal powers but various waveform shapes. Thus, the circuit was simulated using various input waveforms to verify the RMS power detection function. The simulated detector responded to the single-tone sinusoid, two-tone signals (with frequencies of 1 MHz and 3 MHz, and amplitudes of 100 mV and 50 mV), square-waves (duty cycle = 50%) and triangle waves given in Fig. 6. All the used signals were at 1MHz. The relative errors were lower than 0.04 % for Pin O -20 dBm. Given that the dynamic range has nonlinearity level lower than 1dB, the dynamic range of the circuit proposed in this paper is around 36 dB. The frequency responses, dynamic range of this bipolar detector, were all comparable and even superior to most diode detectors. The error in computing the effective value of the processed input voltage signal was lower than in [16, 22-26], whereby the circuit of the proposed detector, which includes a wider dynamic range, facilitates the realization more favourably than those described in [21, 23, 26, 27]. Similarly, it does not require a specific compensation procedure. Figure 6: The simulated response of a single detector to various waveforms. 5 Conclusion This paper reports on a new electronically controllable bipolar translinear RMS-to-DC converter. The proposed circuit employs two CCCIIs, one CDTA and two grounded passive elements, which is advantageous for integration point of view. The proposed circuit ensures high precision, wide bandwidth and high accuracy. The PSPICE simulation results were depicted, and they agree well with the theoretical anticipation. 6 Acknowledgments The author wishes to thank Ministry of Education and Science of the Republic of Serbia their support to this work provided within the projects 42009 and OI-172057. 7 References 1. R. B. Northrop, Analog Electronics Circuits, Reading, MA: Addison-Wesley, 1990. 2. P. Heavey, and C. Whitney, "RMS measuring principles in the application of protective relaying and metering'; in Proc. 57th Annu. Conf. Protective Relay Eng.(2004), pp. 469-489. 3. U. Pogliana, "Precision measurement of ac voltage below 20 Hz at lEN', IEEE Trans. Instrum. Meas., vol. 46, no. 2, pp. 369-372, 1997. 4. H. Germer, "High-precision AC measurements using the Monte-Carlo method", IEEE Trans. Instrum. Meas., vol. 50, no. 2, pp. 457-460, 2001. 5. W.-K. Yoon, and M.J. Deveney, "Power measurement using the wavelet transform", IEEE Trans. Instrum. Meas., vol. 47, no. 5, pp. 1205-1210, 1998. 6. M. Novotny, and M. Sedlacek, "RMS value measurement based on classical and modified digital signal processing algorithms', Measurement, vol. 41, no. 3, pp. 236-250, 2008. 7. True RMS' detector, National semiconductor Application Note AN008474, 2002. 8. DSCA33 ISOLATED True RMS Input Module, AN101 Dataforth Corporation, USA 2011. 9. High Precision, Wide-Band RMS-to-DC Converter, Analog Devices Application Note AD637, 2011. 10. J. Mulder, W. A. Serdijn, A. C. Woerd, and A. H. M. Roermund, "Dynamic translinear RMS-DC converter", Electron Lett., vol. 32, pp. 2067-2068, 1996. 11. J. Mulder, W. A. Serdijn, and A. H. M. Roermund, "An RMS-DC converter based on the dynamic translinear principle", IEEE Solid-State Circuits, vol. 32, pp. 1146-1150, 1997. 12. W. Surakampontron and K. Kumwachara, "A dual translinear-based RMS-to-DC converter'; IEEE Trans. Instrum. Meas,. vol. 47, pp. 456-464, 1999. 13. R. F. Wasseneaar, E. Seevinck, M. G. van Leeuwen, C. J. Speelman, and E. Holle, "New Techniques for High-Frequency RMS-to-DC Conversion Based on a Multifunctional V-to-I Convertor", IEEE Jour. Sol. Sta. Circ., vol. 23, no. 3, pp. 802-815, 1998. 14. V. Milanovic, M. Gaitan, E. D. Bowen, N. H. Tea, and M. E. Zaghlou, "Thermoelectric power sensors for microwave applications by commercial CMOS fabrication", IEEE Elec. Dev. Lett., vol. 18, no. 9, pp. 450-452, 1997. 15. W. Tangsrirat W, T. Dumawipata, and W. Surakam-pontorn, "Multiple-input single output current-mode multifunction filter using current differencing transconductance amplifiers", Int J Electron Commun (AEU)., vol. 61, pp. 209-214, 2007. 16. P. Petrovic, "RMS Detector of Multiharmonic Signals", ETRI Journal, vol. 35, no. 3, pp. 431-438, 2013. 17. P. Petrovic, and I. Zupunski, "RMS detector of periodic, band-limited signals based on usage of DO- CCIIs", Measurement, vol. 46, no. 9, pp. 3073-3083, 2013. 18. W. Tangsrirat, "Current-tunable current-mode multifunction filter based on dual-output current-controlled conveyors", Int. J. Electron. Com-mun. (AEÜ), vol. 61, pp. 528-533, 2007. 19. D. R. Frey, "Log-domain filtering: an approach to current mode filtering", IEE Proc Circuit Devices Syst., vol. 140, pp. 406-416, 1993. 20. B. Rumberg, and D. W. Graham, "A Low-Power Magnitude Detector for Analysis of Transient-Rich Signals", IEEE Jour. Sol. Sta. Circ., vol. 47, no. 3, pp. 676-685, 2012. 21. C. Yu, C. L. Wu, S. Kshattry, Y. H. Yun, C. Y. Cha, H. Shichijo, and K. O Kenneth, "Compact, High Impedance and Wide Bandwidth Detectors for Characterization of Millimeter Wave Performance", IEEE Jour. Sol. Sta. Circ., vol. 47, no. 10, pp. 2335-2343, 2012. 22. Y. Zhou, and M. Y. W. Chia, "A Low-Power UltraWideband CMOS True RMS Power Detector", IEEE Trans. on Mic. The. Tec., vol. 56, no. 5, pp. 10521058, 2008. 23. Q. Yin, W. R. Eisenstadt, R. M. Fox, and T. Zhang, "A Translinear RMS Detector for Embedded Test Of RF ICs", IEEE Trans. Instrum. Meas., vol. 54, no. 5, pp. 1708-1714, 2005. 24. K. Kaewdang, K. Kumwachara, and W. Surakamp-ontorn, "A translinear-based true RMS-to-DC converter using only npn BJTs"", AEU-Intern. Jour.Elec. Comm., vol. 63, no. 6, pp. 472-477, 2009. 25. E. Farshidi, and H. Asiaban, "A new true RMS-to-DC converter using up-down translinear loop in CMOS technology"", Analog Integrated Circuits and Signal Processing, vol. 70, no. 3, pp 385-390, 2012. 26. J. Koton, N. Herencsar, and K. Vrba, "Current and Voltage Conveyors in Current and Voltage-Mode Precision Full-Wave Rectifiers", RADIOENGINEERING, vol. 20, no. 1, pp. 19-24, 2011. 27. G. Klahn, "True RMS power detection with high dynamic range", in Proceeding IEEE MTT-S International Microwave Symposium Digest, (1999) vol. 4, pp. 1773 - 1776. Arrived: 18. 12. 2014 Accepted: 18. 02. 2015