scieee AI-readable full text Open interactive document viewer

Single Commercially Available IC-Based Electronically Controllable Voltage-Mode First-Order Multifunction Filter with Complete Standard Functions and Low Output Impedance

Jaikla, Winai; Buakhong, Unchittha; Siripongdee, Surapong; Khateb, Fabian; Šotner, Roman; Silapan, Phamorn; Suwanjan, Peerawut; Chaichana, Amornchai

Abstract

This paper presents the design of a voltage-mode three-input single-output multifunction first-order filter employing commercially available LT1228 IC for easy verification of the proposed circuit by laboratory measurements. The proposed filter is very simple, consisting of a single LT1228 as an active device with two resistors and one capacitor. The output voltage node is low impedance, resulting in an easy cascade-ability with other voltage-mode configurations. The proposed filter provides four filter responses: low-pass filter (LP), high-pass filter (HP), inverting all-pass filter (AP-), and non-inverting all-pass filter (AP+) in the same circuit configuration. The selection of output filter responses can be conducted without additional inverting or double gains, which is easy to be controlled by the digital method. The control of pole frequency and phase response can be conducted electronically through the bias current (I-B). The matching condition during tuning the phase response with constant voltage gain is not required. Moreover, the pass-band voltage gain of the LP and HP functions can be controlled by adjusting the value of resistors without affecting the pole frequency and phase response. Additionally, the phase responses of the AP filters can be selected as both lagging or leading phase responses. The parasitic effects on the filtering performances were also analyzed and studied. The performances of the proposed filter were simulated and experimented with a & PLUSMN;5 V voltage supply. For the AP+ experimental result, the leading phase response for 1 kHz to 1 MHz frequency changed from 180 to 0 degrees. For the AP- experimental result, the lagging phase response for 1 kHz to 1 MHz frequency changed from 0 to -180 degrees. The design of the quadrature oscillator based on the proposed first-order filter is also included as an application example.

Full text

sensors Article Single Commercially Available IC-Based Electronically Controllable Voltage-Mode First-Order Multifunction Filter with Complete Standard Functions and Low Output Impedance Winai Jaikla 1,* , Unchittha Buakhong 1, Surapong Siripongdee 1, Fabian Khateb 2,3 , Roman Sotner 4, Phamorn Silapan 5, Peerawut Suwanjan 1and Amornchai Chaichana 1   Citation: Jaikla, W.; Buakhong, U.; Siripongdee, S.; Khateb, F.; Sotner, R.; Silapan, P.; Suwanjan, P.; Chaichana, A. Single Commercially Available IC-Based Electronically Controllable Voltage-Mode First-Order Multifunction Filter with Complete Standard Functions and Low Output Impedance. Sensors 2021,21, 7376. https://doi.org/10.3390/s21217376 Academic Editor: Youfan Hu Received: 5 October 2021 Accepted: 29 October 2021 Published: 6 November 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). 1Department of Engineering Education, School of Industrial Education and Technology, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand; [email protected] (U.B.); [email protected] (S.S.); [email protected] (P.S.); [email protected] (A.C.) 2Department of Microelectronics, Brno University of Technology, Technická10, 601 90 Brno, Czech Republic; [email protected] 3Department of Information and Communication Technology in Medicine, Czech Technical University in Prague, Nám. Sítná3105, 272 01 Kladno, Czech Republic 4Department of Radio Electronics, Brno University of Technology, 12, 616 00 Brno, Czech Republic; [email protected].cz 5Department of Electrical Engineering, Faculty of Engineering and Industrial Technology, Silpakorn University, Nakornpathom 73000, Thailand; [email protected] *Correspondence: [email protected]; Tel.: +66-81305-1643 Abstract: This paper presents the design of a voltage-mode three-input single-output multifunction first-order filter employing commercially available LT1228 IC for easy verification of the proposed circuit by laboratory measurements. The proposed filter is very simple, consisting of a single LT1228 as an active device with two resistors and one capacitor. The output voltage node is low impedance, resulting in an easy cascade-ability with other voltage-mode configurations. The proposed filter provides four filter responses: low-pass filter (LP), high-pass filter (HP), inverting all-pass filter (AP − ), and non-inverting all-pass filter (AP+) in the same circuit configuration. The selection of output filter responses can be conducted without additional inverting or double gains, which is easy to be controlled by the digital method. The control of pole frequency and phase response can be conducted electronically through the bias current (I B ). The matching condition during tuning the phase response with constant voltage gain is not required. Moreover, the pass-band voltage gain of the LP and HP functions can be controlled by adjusting the value of resistors without affecting the pole frequency and phase response. Additionally, the phase responses of the AP filters can be selected as both lagging or leading phase responses. The parasitic effects on the filtering performances were also analyzed and studied. The performances of the proposed filter were simulated and experimented with a ± 5 V voltage supply. For the AP+ experimental result, the leading phase response for 1 kHz to 1 MHz frequency changed from 180 to 0 degrees. For the AP − experimental result, the lagging phase response for 1 kHz to 1 MHz frequency changed from 0 to − 180 degrees. The design of the quadrature oscillator based on the proposed first-order filter is also included as an application example. Keywords: multifunction filter; LT1228; electronic control; voltage-mode; first-order circuit; phase shifted circuit; active building block 1. Introduction In sensor applications, an active filter plays a very importance role, for example, in the electrocardiographic (ECG) system [ 1 ], phase sensitive detection [ 2 ], biosensors [ 3 ], etc. It is frequency employed to detect the wanted signal in these applications. The synthesis and design of the filter using an active building block (ABB) to obtain new active circuits has received prominent attention [ 4 – 7 ]. The use of active building blocks in the circuit Sensors 2021,21, 7376. https://doi.org/10.3390/s21217376 https://www.mdpi.com/journal/sensors Sensors 2021,21, 7376 2 of 25 design leads to a compact structure with less passive elements. Some active circuits based on the active building block are cascade-able without requiring additional buffer devices. In addition, the circuit parameters of the active circuit realized from the electronically controllable active building block are easily controlled by the microcontroller, which is essential for modern analog signal processing circuits [8–10]. Although the design of the circuits to be implemented into an integrated circuit provides many advantages, for example, high circuit efficiency, small size, low voltage, low power, etc. However, the implementation of an integrated circuit is quite costly. This will be cost-effective for mass production. Therefore, the use of a commercially available active building block in circuit design for use in specific applications is an attractive and costeffective alternative [ 11 , 12 ]. The analog circuits realized from the commercially available active building block have been continuously introduced in the open literature [13–15]. The realization of first-order filters using active building blocks has drawn great attention [ 15 – 45 ]. Generally, the first-order configuration can provide three standard filtering responses: low-pass (LP), high-pass (HP), and all-pass (AP) functions. The all-pass filter is used to shift the phase of an output signal with a constant amplitude over the entire frequency band. If the phase response of the all-pass filter is considered, there are two kinds of all-pass filter: the lagging and leading phase shifters. These phase shifters are also called the inverting and non-inverting all-pass filters, respectively. The first-order filters that function only with the phase shifter are proposed in [ 15 – 20 ]. The universal or multifunction first-order filters that perform multiple filtering functions in the same structure have been proposed in [ 21 – 45 ]. Most universal first-order filters [21,23,24,26,29–31] (Figure 1), (Figure 2) [ 34 – 37 , 39 , 41 , 45 ] are realized in current-mode (CM) configuration, which can avoid the use of additional summing or subtracting circuits. With this feature, the current-mode circuit enjoys a compact structure. Transresistance-mode (RM) and transconductance-mode (TM) universal first order filters are reported in [ 22 , 28 , 31 ] ( Figure 2 ), respectively. The universal first-order filters in voltage-mode (VM) configuration are proposed in [23,25,27,32,33,38,40,42–44] . The comparison between the proposed first-order universal filter and the previous ones presented in [ 21 – 45 ] is summarized in Table 1. From the literature survey in Table 1, the following conclusions were established: • Most of the proposed universal first-order filters are emphasized for the on-chip realization of both CMOS [ 21 – 32 , 34 – 36 , 40 , 41 , 45 ] or BJT [ 33 , 37 , 39 ] technology. As stated above, the implementation of an on-chip circuit is quite costly. Although the CMOS-based filters in [ 21 , 30 – 32 , 45 ] can be realized using the commercially available ICs, they require a lot of ICs. The commercial IC based first-order filters are reported in [ 38 , 42 – 44 ]. However, the filters in [ 38 , 42 , 44 ] used five, three, and two commercially available ICs, respectively. Additionally, the filter in [ 42 ] requires four passive resistors and that in [43] uses six passive resistors. • The realization of a current-mode circuit is a compact structure and can avoid the use of additional summing or subtracting circuits at the output node. However, the current-mode universal filters in [ 21 , 23 ] (Figure 2) [ 24 , 26 , 29 – 31 , 34 – 39 , 41 ] use the active building block, which has multiple output current terminals. These filters will provide high performances when they are implemented into an integrated circuit, which is quite costly. • Most of the universal first-order filters shown in Table 1can provide three responses: low-pass, high-pass, and all-pass functions (except in [ 22 ], which gives only two filtering responses). However, the lagging and leading phase responses of the all-pass filters in [21–31,33,36,38,40–43] are not given in the same circuit structure. • In practice, if the input signal magnitude of the filter is low, the pass-band gain of the filters should be tunable. Therefore, the gain controllable active filter is needed to avoid using an additional amplifier. However, the pass-band gain of the filters in [21,23,24,26,29–31] (Figure 1) [32,34–36,38–41] are not controllable. • The pole frequency and phase shift angle of the filters in [ 23 , 25 , 29 , 32 , 34 , 40 – 42 ] are not electronically controlled. Although the filters in [ 21 , 24 , 35 ] are electronically control- Sensors 2021,21, 7376 3 of 25 lable, the passive resistor was replaced by the MOS transistor to achieve electronic controllability, which provides a narrow tuning range. • During the tuning phase response, simultaneously adjusting two or three parameters in zero and pole frequency is required [24,25,29,30,40,41]. • To avoid the use of additional buffer devices at the output node of the filter, the voltage output node should be low impedance and the current output node should be high impedance. The aim of this paper was to realize the universal filter by employing a single commercially available IC, LT1228 (Linear Technology, Milpitas, CA, US), as an active device. The rest of this paper is as follows: the principle of operation is shown in Section 2, containing an overview of LT1228, the proposed filter, and study of parasitic effects. Section 3 shows the simulation and experimental results. The application example of the quadrature oscillator is described in Section 4. Finally, a brief conclusion is shown in Section 5. Figure 1. Symbol notation of LT1228. Sensors2021,21,xFORPEERREVIEW3of25    Mostoftheuniversalfirst‐orderfiltersshowninTable1canprovidethreeresponses: low‐pass,high‐pass,andall‐passfunctions(exceptin[22],whichgivesonlytwofilteringresponses).However,thelaggingandleadingphaseresponsesoftheall‐pass filtersin[21–31,33,36,38,40–43]arenotgiveninthesamecircuitstructure.  Inpractice,iftheinputsignalmagnitudeofthefilterislow,thepass‐bandgainofthe filtersshouldbetunable.Therefore,thegaincontrollableactivefilterisneededto avoidusinganadditionalamplifier.However,thepass‐bandgainofthefiltersin [21,23,24,26,29–31](Figure1)[32,34–36,38–41]arenotcontrollable.  Thepolefrequencyandphaseshiftangleofthefiltersin[23,25,29,32,34,40–42]are notelectronicallycontrolled.Althoughthefiltersin[21,24,35]areelectronicallycontrollable,thepassiveresistorwasreplacedbytheMOStransistortoachieveelectronic controllability,whichprovidesanarrowtuningrange.  Duringthetuningphaseresponse,simultaneouslyadjustingtwoorthreeparameters inzeroandpolefrequencyisrequired[24,25,29,30,40,41].  Toavoidtheuseofadditionalbufferdevicesattheoutputnodeofthefilter,thevoltageoutputnodeshouldbelowimpedanceandthecurrentoutputnodeshouldbe highimpedance. TheaimofthispaperwastorealizetheuniversalfilterbyemployingasinglecommerciallyavailableIC,LT1228(LinearTechnology,Milpitas,CA,US),asanactivedevice. Therestofthispaperisasfollows:theprincipleofoperationisshowninSection2,containinganoverviewofLT1228,theproposedfilter,andstudyofparasiticeffects.Section 3showsthesimulationandexperimentalresults.TheapplicationexampleofthequadratureoscillatorisdescribedinSection4.Finally,abriefconclusionisshowninSection5. v  v  y x w LT1228 v i  v i  v  v  y v y i x i x v w i w v  Figure1.SymbolnotationofLT1228. T R 1 1 v  v  () m g vv   y v x v y i x i x i w v  Figure2.IdealequivalentcircuitofLT1228.  Figure 2. Ideal equivalent circuit of LT1228. Sensors 2021,21, 7376 4 of 25 Table 1. Comparison of the proposed design with previous first-order multifunction filters. Ref. Mode Number of ABB Commercially Available IC R+C No use of Multiple Output ABB Functions Gain Controllability Electronic Controllable Voltage Supplies & Power Dissipation Zero/Pole Frequency Adjustable Simultaneously by Single Parameter Pole Frequency (Hz) Cascade-Able at Output Node [21] CM 2 ICCII & 1 MOS Yes (7 AD844) 0 + 1 No LP, HP, AP−No Yes * ± 0.75 V & 3.29 mW Yes 7.96 M Yes [22] Figure 2 RM 2 CVCII No 2 + 1 Yes LP, AP−LP, AP Yes ± 0.9 V & 0.385 mW to 1.057 mW Yes 89 k–1 M Yes [22] Figure 3 RM 2 CVCII No 2 + 1 Yes LP, HP LP, HP Yes Yes 89 k–1 M Yes [23] Figure 2 CM 2 CCII No 1 + 1 No LP, HP, AP+ No No ± 1.25 V & 3.71 mW Yes 15.9 M Yes [23] VM 2 DDCC No 1 + 1 Yes LP, HP, AP+ No No ±1.25 V & NA Yes 15.9 M Yes [24] CM 1 DDDXCCII & 4 MOS No 0 + 1 No LP, HP, AP−No Yes * ±1.25 V & 2 mW No 3 M Yes [25] VM 1 OTRA No 2 + 2 Yes LP, HP, AP−LP, HP No ±1.5 V & NA No 100 k Yes [26] CM 1 EX-CCCII No 0 + 1 No LP, HP, AP+ No Yes ± 1.25 V & 0.44 mW to 4.4 mW Yes 3.93 M Yes [27] VM 2 OTA Yes 1 + 1 Yes LP, HP, AP−HP Yes ±0.4 V & 47.2 µW Yes 8.05 k No [28] TM 1 CCDDCCTA No 0 + 1 Yes LP, HP, AP+ LP, HP, AP+ Yes ±0.9 V & NA Yes 1.24 M Yes [29] CM 1 DDDXCCII No 3 + 1 No LP, HP, AP−No No ±1.2 V & NA No 6.43 M Yes [30] CM 1 DXCCTA Yes (4 AD844, 1 LM13700) 0 + 2 No LP, HP, AP−No Yes ± 1.25 V & 1.75 mW No 10 M Yes Sensors 2021,21, 7376 5 of 25 Table 1. Cont. Ref. Mode Number of ABB Commercially Available IC R+C No use of Multiple Output ABB Functions Gain Controllability Electronic Controllable Voltage Supplies & Power Dissipation Zero/Pole Frequency Adjustable Simultaneously by Single Parameter Pole Frequency (Hz) Cascade-Able at Output Node [31] Figure 1 CM 1 MO-DXCCTA Yes (4 AD844, 2 LM13700) 0 + 2 No LP, HP, AP−No Yes ± 1.25 V & 1.38 mW Yes 11.7 M Yes [31] Figure 2 TM 1 MO-DXCCTA Yes (4 AD844, 2 LM13700) 0 + 2 No LP, HP, AP−LP, HP, AP Yes ±1.25 V & 1.4 mW Yes 11.7 M Yes [32] VM 2 subtractor Yes (4 AD844) 1 + 1 Yes LP, HP, AP+, AP−No No ± 0.75 V & 1.77 mW Yes 6.37 M Yes (HP & AP) [33] VM 1 M-CCCCTA No 1 + 1 Yes LP, HP, AP−HP Yes ±2.5 V & NA Yes 286.21 k No [34] CM 1 DX-MOCCII No 1 + 1 No LP, HP, AP+, AP−No No ± 0.75 V & 2.75 mW Yes 7.96 M Yes [35] CM 2 ICCII & 1 MOS No 0 + 1 No LP, HP, AP−, AP+ No Yes * ± 0.75 V & 4.08 mW Yes 2.6 M Yes [36] CM 2 DO-CCII No 1 + 1 No LP, HP, AP+ No Yes ±5 V & 25.7 mW Yes 6.36 M Yes [37] CM 3 PCA No 1 + 1 No LP, HP, AP+, AP−LP, HP, AP+, AP−Yes ±5 V & NA Yes 100 k Yes Sensors 2021,21, 7376 6 of 25 Table 1. Cont. Ref. Mode Number of ABB Commercially Available IC R+C No use of Multiple Output ABB Functions Gain Controllability Electronic Controllable Voltage Supplies & Power Dissipation Zero/Pole Frequency Adjustable Simultaneously by Single Parameter Pole Frequency (Hz) Cascade-Able at Output Node [38] VM 1 ZC-CCCFDTA & 1 CA Yes (1 AD830, 1 VCA610, 1 EL4083, 2 OPA660) 1 + 1 No HP, AP+, AP−No Yes ±1.5 V & NA Yes 339 k No [39] CM 1 CFTA No 0 + 1 No LP, HP, AP+, AP−No Yes ±1.5 V & NA Yes NA Yes [40] VM 3 OTRA No 6 + 3 Yes LP, HP, AP+ No No ±1.25 V & NA No 100 k Yes [41] CM 2 CCII No 2 + 1 No LP, HP, AP+ No No NA No 1.326 M Yes [42] VM 2 CCII Yes (3 AD844) 4 + 1 Yes LP, HP, AP+ LP No NA Yes 200 k No [43] VM 1 LT1228 Yes 6 + 1 Yes LP, HP, AP−LP, HP Yes NA Yes 100 k Yes [44] VM 1 VD-DIBA Yes (1 LT1228, 1 AD830 2 + 1 Yes LP, HP, AP−, AP+ LP, HP Yes ±5 V & NA Yes 159.15 k Yes [45] CM 2 DVCC Yes (10 AD844) 1 + 1 LP, HP, AP−, AP+ No No ± 1.25 V & 3.65 mW Yes 1.99 M Yes This work VM 1 LT1228 Yes 2 + 1 Yes LP, HP, AP−, AP+ LP, HP Yes ±5 V & 57.6 mW Yes 90 k Yes * [ 21 , 24 , 35 ] The passive resistor is replaced by the MOS transistor to be achieved the electronic controllability. * RM is resistance mode (current is input and voltage is output); TM is transconductance mode (voltage is input and current is output), NA is the information not available. * [ 28 ] needs additional inverting unity gain amplifier. The voltage supplies, power consumption and frequency range are obtained from the simulation. Sensors 2021,21, 7376 7 of 25 2. Principle of Operation 2.1. Overview of LT1228 The first order multifunction filter considered in this paper was based on the use of a commercially available IC, LT1228 [ 43 ]. Before embarking on the description of the proposed filter, the characteristics of LT1228 will be described. The LT1228 is a monolithic integrated circuit (IC), which is commercially manufactured by Linear Technology Corporation. This IC is an 8-pin DIP package. For easy consideration, the electrical symbolic representation of LT1228 is drawn in Figure 1, where v + and v − are voltage input terminal; yis both the current output and voltage input terminal; xis also both voltage output and current input terminal; and wis voltage output terminal. Output terminal, y and input terminals, v + and v − have infinite internal impedance, while xand wterminals have low internal impedance. The equivalent representation of LT1228 is depicted in Figure 2. The ideal terminal relations of LT1228, as shown in Figure 1, can be characterized with the following matrix equation       iv+ iv− iy vx vw       =      0 0 0 0 0 0 0 0 0 0 gm−gm0 0 0 0 0 1 0 0 0 0 0 RT0             v+ v− vy ix iw       , (1) R T represents the transresistance gain of LT1228. Ideally, R T is an infinite resistance. Therefore, LT1228 will have infinite open-loop voltage gain. g m represents the transconductance gain, which is controlled by an external DC bias current (IB) as follows gm∼ =IB 3.87VT . (2) Here, V T is the thermal voltage. As shown in Equation (2), the g m is electronically controllable, thus the LT1228 based circuits are easily controlled by a microcomputer or microcontroller. 2.2. Proposed First Order Multifunction Filter Using Single LT1228 The proposed first order multifunction filter is illustrated in Figure 3. The proposed filter is formed by one LT1228, one capacitor, and two resistors. It was found that the proposed filter using only one commercially available IC, which was easier and cheaper to verify the circuit performances by laboratory measurements than the non-commercially available IC-based circuits. The proposed filter has three voltage input nodes, named v in1 , v in2 , and v in3 with single voltage output node, v o . The voltage output node is at the w terminal of LT1228, which ideally offers zero output impedance. With this advantage, the proposed filter can be connected to external loads or the input node of other circuits without using additional buffer devices. However, in practice, the output resistance at the wterminal (r w ) is not zero, thus the output resistance (z o ) of the proposed filter is around zo∼ =rw//Rf . A straightforward analysis of the first-order multifunction circuit in Figure 3 gives the following output voltage, vo vo=sC gm1+Rf R1vin1+1+Rf R1vin2−Rf R1sC gm+1vin3 sC gm+1. (3) Sensors 2021,21, 7376 8 of 25 Sensors2021,21,xFORPEERREVIEW7of25   y w LT1228 o v 1in v x C 1 R f R 2in v 3in v v  v   Figure3.Proposedvoltage‐modefirst‐ordermultifunctionfilter. FromEquation(3),itcanbefoundthatfourstandardfirst‐orderfilteringfunctions— low‐pass,high‐pass,non‐invertingall‐pass,andinvertingall‐passresponses—canbeobtainedbyapplyingtheinputsignaltotheappropriateinputvoltagenodes,vin1,vin2,and vin3.TheselectionforeachfilterresponseisgiveninTable2,wherethenumber1representsapplyingtheinputsignaltothatinputnodeandthenumber0representsconnecting thatinputnodetoground.ThefilteringparametersarealsogiveninTable2. ItwasfoundfromTable2thattheselectionofoutputfilterresponsescanbecarried outwithoutadditionalcircuitsandiseasilycontrolledbyadigitalmethodusingamicrocontrollerormicrocomputer.Inaddition,whenaspecificswitchingsystemoramplifier/multipathgaincontrolisused,areconfigurablefeature(reconnection‐lesschangeof transferresponse)willbeobtained.Theproposedfiltercanprovidefourfilterresponses: LPfilter,HPfilter,invertingAP−filter,andnon‐invertingAP+filterinthesamecircuit configuration.Thecontrolofpolefrequencyandphaseresponsecanbeconductedelectronically.Thematchingconditionduringtuningthephaseresponsewithconstantvoltagegainisnotrequired.Moreover,thepass‐bandvoltagegainoftheLPandHPfunctions canbecontrolledbyadjustingthevalueofresistorswithoutaffectingthepolefrequency andphaseresponse.Additionally,thephaseresponseoftheall‐passfiltercanbeselected asbothlaggingorleadingphaseresponses.However,thetemperaturevariationaffects thenaturalfrequencyandphaseresponsesoftheproposedfilter. Table2.Theselectionofeachfilteringresponseandfilteringparameters. Input TransferFunction FilteringFunction Pass‐Band GainPhaseResponsePoleFrequency vin1vin2vin3 1001 1f m R s R g sC      High‐pass(HP) 1 1 f R R 1 90 tan m C g    or13.87 90 tan T B VC I    0 m g C   or03.87 B T I VC   0101 1fm m R g R C g sC      Low‐pass(LP) 1 1 f R R 1 tan m C g    or13.87 tan T B VC I    101 m m g sC g sC    where 1 1 f R R Non‐inverting all‐pass(AP+)1 1 180 2 tan m C g    or13.87 180 2 tan T B VC I    011 m m g sC g sC       where 1 1 f R R Invertingallpass(AP−)1 1 2tan m C g    or13.87 2tan T B VC I    Figure 3. Proposed voltage-mode first-order multifunction filter. From Equation (3), it can be found that four standard first-order filtering functions— low-pass, high-pass, non-inverting all-pass, and inverting all-pass responses—can be obtained by applying the input signal to the appropriate input voltage nodes, v in1 ,v in2 , and v in3 . The selection for each filter response is given in Table 2, where the number 1 represents applying the input signal to that input node and the number 0 represents connecting that input node to ground. The filtering parameters are also given in Table 2. Table 2. The selection of each filtering response and filtering parameters. Input Transfer Function Filtering Function Pass-Band Gain Phase Response Pole Frequency vin1vin2vin3 1 0 0 1+Rf R1s s+gm C High-pass (HP) Rf R1+190 −tan−1ωC gm or 90 −tan−13.87VTωC IB ω0=gm C or ω0=IB 3.87VTC 0 1 0 1+Rf R1gm C s+gm C Low-pass (LP) Rf R1+1−tan−1ωC gm or −tan−13.87VTωC IB 1 0 1 s−gm C s+gm C where Rf R1=1 Non-inverting all-pass (AP+) 1180 −2 tan−1ωC gm or 180 − 2 tan−13.87VTωC IB 0 1 1 −(s−gm C) s+gm C where Rf R1=1 Inverting all-pass (AP−)1−2 tan−1ωC gm or −2 tan−13.87VTωC IB It was found from Table 2that the selection of output filter responses can be carried out without additional circuits and is easily controlled by a digital method using a microcontroller or microcomputer. In addition, when a specific switching system or amplifier/multipath gain control is used, a reconfigurable feature (reconnection-less change of transfer response) will be obtained. The proposed filter can provide four filter responses: LP filter, HP filter, inverting AP − filter, and non-inverting AP+ filter in the same circuit configuration. The control of pole frequency and phase response can be conducted electronically. The matching condition during tuning the phase response with constant voltage gain is not required. Moreover, the pass-band voltage gain of the LP and HP functions can be controlled by adjusting the value of resistors without affecting the pole frequency and phase response. Additionally, the phase response of the all-pass filter can be selected as both lagging or leading phase responses. However, the temperature variation affects the natural frequency and phase responses of the proposed filter. 2.3. Study of Parasitic Effects The influence of the parasitic elements on the filtering performances are studied in this section. The LT1228 circuit model with parasitic impedances is drawn in Figure 4. With these parasitic elements, the proposed filter can be modeled as shown in Figure 5. Performing the circuit analysis of the circuit in Figure 5yields the following output voltage Sensors 2021,21, 7376 9 of 25 vo=sC gmRf R1+1+YTrwvin1+Rf R1+1+YTrwvin2−Rf R11−YTrxrw RfsC∗ gm+G∗ gm+1vin3 1+YTrwrx R1+rw+Rfrx R1+rx+RfsC∗ gm+G∗ gm+1.(4) where C∗=C+C−+Cy and G∗=G−+Gy . It is found from Equation (4) that the parasitic elements Y T (sC T +G T ), r x and r w appear on both zero and pole. The parasitic resistances R T ,r x , and r w affect the pass-band gain at 0 Hz. The pole that limits the operational frequency (at high frequency) or bandwidth of the proposed circuit is determined from the first term of the denominator of Equation (4). If r x ,r w∼ = 0, and R T >> R 1 ,R f , the operational frequency of the proposed filter is determined by fop ∼ =1 2πCTRf . (5) Sensors2021,21,xFORPEERREVIEW8of25   2.3.StudyofParasiticEffects Theinfluenceoftheparasiticelementsonthefilteringperformancesarestudiedin thissection.TheLT1228circuitmodelwithparasiticimpedancesisdrawninFigure4. Withtheseparasiticelements,theproposedfiltercanbemodeledasshowninFigure5. PerformingthecircuitanalysisofthecircuitinFigure5yieldsthefollowingoutputvoltage ** 12 3 111 ** 11 111 1 11 fff Txw T w in T w in in mfmm o fx wx Tw xf mm RRR Yrr CCG sYrvYrv sv gR R R R g g vRr rr CG Yr rRs RR gg                                  .(4) where* y CCCC    and* y GGG  .ItisfoundfromEquation(4)thattheparasitic elementsYT(sCT+GT),rxandrwappearonbothzeroandpole.TheparasiticresistancesRT, rx,andrwaffectthepass‐bandgainat0Hz.Thepolethatlimitstheoperationalfrequency (athighfrequency)orbandwidthoftheproposedcircuitisdeterminedfromthefirstterm ofthedenominatorofEquation(4).Ifrx,rw0,andRT>>R1,Rf,theoperationalfrequency oftheproposedfilterisdeterminedby 1 2 op Tf fCR  .(5) ItalsoprovidesinterestinginformationthatasmallvalueofresistorRfcanincrease theoperatingfrequencyoftheproposedcircuit.Ifrx,rw0,andRT>>R1,Rfandtheoperationalfrequencyislessthan1/2πCTRf,theoutputvoltageinEquation(4)isapproximated to ** 12 3 111 ** 11 1 1 fff in in in mmm o mm RRR CCG s vvs v gR R R g g vCG sgg           .(6) FromEquation(6),thefilteringparameterswithparasiticeffectaregiveninTable3. y x x r w r   T C y C C  R  T R 1 y R R  C  1 1228LT v  v  x i w v x i  Figure4.TheLT1228circuitmodelwithparasiticelements. y w LT1228 o v C w r 1 Y 1 R 2in v 1in v 3in v f R T Y 1 x r x v  v  x i x i  Figure5.Proposedfilterwithparasiticelements. Figure 4. The LT1228 circuit model with parasitic elements. Sensors2021,21,xFORPEERREVIEW8of25   2.3.StudyofParasiticEffects Theinfluenceoftheparasiticelementsonthefilteringperformancesarestudiedin thissection.TheLT1228circuitmodelwithparasiticimpedancesisdrawninFigure4. Withtheseparasiticelements,theproposedfiltercanbemodeledasshowninFigure5. PerformingthecircuitanalysisofthecircuitinFigure5yieldsthefollowingoutputvoltage ** 12 3 111 ** 11 111 1 11 fff Txw T w in T w in in mfmm o fx wx Tw xf mm RRR Yrr CCG sYrvYrv sv gR R R R g g vRr rr CG Yr rRs RR gg                                  .(4) where* y CCCC    and* y GGG  .ItisfoundfromEquation(4)thattheparasitic elementsYT(sCT+GT),rxandrwappearonbothzeroandpole.TheparasiticresistancesRT, rx,andrwaffectthepass‐bandgainat0Hz.Thepolethatlimitstheoperationalfrequency (athighfrequency)orbandwidthoftheproposedcircuitisdeterminedfromthefirstterm ofthedenominatorofEquation(4).Ifrx,rw0,andRT>>R1,Rf,theoperationalfrequency oftheproposedfilterisdeterminedby 1 2 op Tf fCR  .(5) ItalsoprovidesinterestinginformationthatasmallvalueofresistorRfcanincrease theoperatingfrequencyoftheproposedcircuit.Ifrx,rw0,andRT>>R1,Rfandtheoperationalfrequencyislessthan1/2πCTRf,theoutputvoltageinEquation(4)isapproximated to ** 12 3 111 ** 11 1 1 fff in in in mmm o mm RRR CCG s vvs v gR R R g g vCG sgg           .(6) FromEquation(6),thefilteringparameterswithparasiticeffectaregiveninTable3. y x x r w r   T C y C C  R  T R 1 y R R  C  1 1228LT v  v  x i w v x i  Figure4.TheLT1228circuitmodelwithparasiticelements. y w LT1228 o v C w r 1 Y 1 R 2in v 1in v 3in v f R T Y 1 x r x v  v  x i x i  Figure5.Proposedfilterwithparasiticelements. Figure 5. Proposed filter with parasitic elements. It also provides interesting information that a small value of resistor R f can increase the operating frequency of the proposed circuit. If r x ,r w∼ = 0, and R T >> R 1 ,R f and the operational frequency is less than 1/2 π C T R f , the output voltage in Equation (4) is approximated to vo∼ = sC gmRf R1+1vin1+Rf R1+1vin2−Rf R1sC∗ gm+G∗ gm+1vin3 sC∗ gm+G∗ gm+1. (6) From Equation (6), the filtering parameters with parasitic effect are given in Table 3. Sensors 2021,21, 7376 16 of 25 respectively. The simulated and experimental phase angles at f= 90 kHz were 88.95◦and 92.28 ◦ , respectively. The percent errors of the simulated and experimental phase angles were 1.17% and 2.53%, respectively. Sensors2021,21,xFORPEERREVIEW16of25   Frequency (kHz) 1 10 100 1000 10000 Phase (degree) 0 20 40 60 80 100 120 140 160 180 Gain (dB) -20 -10 0 10 20 Theoretical Phase (Experimental) Phase (Simulated) Gain (Experimental) Gain (Simulated)  Figure15.FrequencygainandphaseresponseofAP+. ThesimulatedandexperimentalAP+phaseresponsewithdifferentIBvalues(67μA, 124.5μA,245μA)isshowninFigure16whereR1andRfremainedat1.2kΩ.Theresults revealedthatthephaseofAP+waselectronicallycontrollable,asexpectedinTable2.With thesevaluesofIB,thetheoreticalphaseanglesatf=90kHzwere56.62°,90°,and126.15°, respectively,whilethesimulatedphaseanglesfromtheseIBvalueswere55.86°,88.95°, and125.26°,respectively.ThepercenterrorsofthesimulatedphaseanglesfromtheseIB valueswere1.34%,1.17%,and0.71%,respectively.Theexperimentalphaseanglesfrom theseIBvalueswerealso58.54°,92.28°,and128.49°,respectively.Thepercenterrorsofthe experimentalphaseanglesfromtheseIBvalueswere3.39%,2.53%,and1.85%,respectively.Figure17showsthemeasuredinputandoutputwaveformofAP+withdifferent IBvalues(67μA,124.5μA,245μA)wheretheinputsignalamplitudewas20mVp‐p. Frequency (kHz) 1 10 100 1000 10000 Phase (degree) 0 20 40 60 80 100 120 140 160 180 Theoretical I B =67uA (Experimental) I B =124.5uA (Experimental) I B =245uA (Experimental) I B =67uA (Simulated) I B =124.5uA (Simulated) I B =245uA (Simulated)  Figure16.FrequencygainresponseofAP+withdifferentIBvalues. Figure 15. Frequency gain and phase response of AP+. The simulated and experimental AP+ phase response with different I B values (67 µ A, 124.5 µ A, 245 µ A) is shown in Figure 16 where R 1 and R f remained at 1.2 k Ω . The results revealed that the phase of AP+ was electronically controllable, as expected in Table 2. With these values of I B , the theoretical phase angles at f= 90 kHz were 56.62 ◦ , 90 ◦ , and 126.15 ◦ , respectively, while the simulated phase angles from these I B values were 55.86 ◦ , 88.95 ◦ , and 125.26 ◦ , respectively. The percent errors of the simulated phase angles from these I B values were 1.34%, 1.17%, and 0.71%, respectively. The experimental phase angles from these I B values were also 58.54 ◦ , 92.28 ◦ , and 128.49 ◦ , respectively. The percent errors of the experimental phase angles from these I B values were 3.39%, 2.53%, and 1.85%, respectively. Figure 17 shows the measured input and output waveform of AP+ with different I B values (67 µA, 124.5 µA, 245 µA) where the input signal amplitude was 20 mVp-p. Sensors2021,21,xFORPEERREVIEW16of25   Frequency (kHz) 1 10 100 1000 10000 Phase (degree) 0 20 40 60 80 100 120 140 160 180 Gain (dB) -20 -10 0 10 20 Theoretical Phase (Experimental) Phase (Simulated) Gain (Experimental) Gain (Simulated)  Figure15.FrequencygainandphaseresponseofAP+. ThesimulatedandexperimentalAP+phaseresponsewithdifferentIBvalues(67μA, 124.5μA,245μA)isshowninFigure16whereR1andRfremainedat1.2kΩ.Theresults revealedthatthephaseofAP+waselectronicallycontrollable,asexpectedinTable2.With thesevaluesofIB,thetheoreticalphaseanglesatf=90kHzwere56.62°,90°,and126.15°, respectively,whilethesimulatedphaseanglesfromtheseIBvalueswere55.86°,88.95°, and125.26°,respectively.ThepercenterrorsofthesimulatedphaseanglesfromtheseIB valueswere1.34%,1.17%,and0.71%,respectively.Theexperimentalphaseanglesfrom theseIBvalueswerealso58.54°,92.28°,and128.49°,respectively.Thepercenterrorsofthe experimentalphaseanglesfromtheseIBvalueswere3.39%,2.53%,and1.85%,respectively.Figure17showsthemeasuredinputandoutputwaveformofAP+withdifferent IBvalues(67μA,124.5μA,245μA)wheretheinputsignalamplitudewas20mVp‐p. Frequency (kHz) 1 10 100 1000 10000 Phase (degree) 0 20 40 60 80 100 120 140 160 180 Theoretical I B =67uA (Experimental) I B =124.5uA (Experimental) I B =245uA (Experimental) I B =67uA (Simulated) I B =124.5uA (Simulated) I B =245uA (Simulated)  Figure16.FrequencygainresponseofAP+withdifferentIBvalues. Figure 16. Frequency gain response of AP+ with different IBvalues. Sensors 2021,21, 7376 17 of 25 Sensors2021,21,xFORPEERREVIEW17of25    (a) (b)  (c) Figure17.MeasuredinputandoutputwaveformofAP+(‐‐‐‐vin,‐‐‐‐‐vo).(a)IB=67μA.(b)IB=124.5 μA.(c)IB=245μA. Figure18showsthesimulatedandexperimentalresultsofthegainandphaseresponsesoftheAP−filterbyapplyingthevoltageinputtonodevin2,vin3,andconnecting nodesvin1toground,asindicatedinTable2.Theresultrevealedthatthelaggingphase responsefrom1kHzto10MHzfrequencychangedfrom0to−180degreeswithaconstant pass‐bandgain(0dB)astheoreticallyexpectedinTable2.Thesimulatedandexperimentalpass‐bandvoltagegainatf=90kHzwas0.995(−0.037dB)and0.982(−0.15dB), respectively.Thepercenterrorsofthesimulatedandexperimentalpass‐bandgainswere 0.5%and1.8%,respectively.Thesimulatedandexperimentalphaseanglesatf=90kHz were−91.18°and−87.97°,respectively.Thepercenterrorsofthesimulatedandexperimentalphaseangleswere1.31%and2.25%,respectively. Figure 17. Measured input and output waveform of AP+ ( —- v in , —– v o ). ( a )I B = 67 µ A. (b)IB= 124.5 µA. (c)IB= 245 µA. Figure 18 shows the simulated and experimental results of the gain and phase responses of the AP − filter by applying the voltage input to node v in2 ,v in3 , and connecting nodes v in1 to ground, as indicated in Table 2. The result revealed that the lagging phase response from 1 kHz to 10 MHz frequency changed from 0 to − 180 degrees with a constant pass-band gain (0 dB) as theoretically expected in Table 2. The simulated and experimental pass-band voltage gain at f= 90 kHz was 0.995 ( − 0.037 dB) and 0.982 ( − 0.15 dB), respectively. The percent errors of the simulated and experimental pass-band gains were 0.5% and 1.8%, respectively. The simulated and experimental phase angles at f= 90 kHz were − 91.18 ◦ and − 87.97 ◦ , respectively. The percent errors of the simulated and experimental phase angles were 1.31% and 2.25%, respectively. Sensors 2021,21, 7376 18 of 25 Sensors2021,21,xFORPEERREVIEW18of25   Frequency (kHz) 1 10 100 1000 10000 Phase (degree) -200 -150 -100 -50 0 Gain (dB) -20 -10 0 10 20 Theoretical Phase (Experimental) Phase (Simulated) Gain (Experimental) Gain (Simulated)  Figure18.FrequencygainandphaseresponseofAP−. ThesimulatedandexperimentalAP−phaseresponsewithdifferentIBvalues(67μA, 124.5μA,245μA)isshowninFigure19whereR1andRfremainedat1.2kΩ.Theresults revealedthatthephaseofAP−waselectronicallycontrollable,asexpectedinTable2.With thesevaluesofIB,thetheoreticalphaseanglesatf=90kHzwere−126.15°,−90°,and −56.62°,respectively.Atthesametime,thesimulatedphaseanglesfromtheseIBvalues were−124.22°,−91.18°,and−54.6°,respectively.Thepercenterrorsofthesimulatedphase anglesfromtheseIBvalueswere1.53%,1.31%,and3.56%,respectively.Theexperimental phaseanglesfromtheseIBvalueswerealso−121.63°,−87.97°,and−51.51°,respectively. ThepercenterrorsoftheexperimentalphaseanglesfromtheseIBvalueswere3.58%, 2.25%,and9.02%,respectively. Frequency (kHz) 1 10 100 1000 10000 Phase (degree) -200 -150 -100 -50 0 Theoretical I B =67uA (Experimental) I B =124.5uA (Experimental) I B =245uA (Experimental) I B =67uA (Simulated) I B =124.5uA (Simulated) I B =245uA (Simulated)  Figure19.FrequencygainresponseofAP−withdifferentIBvalues. ThesimulatedAP−phaseresponsewithdifferenttemperaturevalues(−40°C,−20°C, 0°C,20°C,and80°C)isshowninFigure20whereR1andRfremainedat1.2kΩ,IB=124.5 μA.Thesimulatedresultsrevealedthatthetemperaturehadlittleimpactonthephase responseoftheproposedcircuit,asexpectedinTable2.Figure21showsthemeasured inputandoutputwaveformofAP−withdifferentIBvalues(67μA,124.5μA,245μA) wheretheinputsignalamplitudewas20mVp‐p. Figure 18. Frequency gain and phase response of AP−. The simulated and experimental AP − phase response with different I B values (67 µ A, 124.5 µ A, 245 µ A) is shown in Figure 19 where R 1 and R f remained at 1.2 k Ω . The results revealed that the phase of AP − was electronically controllable, as expected in Table 2 . With these values of I B , the theoretical phase angles at f= 90 kHz were − 126.15 ◦ , − 90 ◦ , and − 56.62 ◦ , respectively. At the same time, the simulated phase angles from these I B values were − 124.22 ◦ , − 91.18 ◦ , and − 54.6 ◦ , respectively. The percent errors of the simulated phase angles from these IBvalues were 1.53%, 1.31%, and 3.56%, respectively. The experimental phase angles from these I B values were also − 121.63 ◦ , − 87.97 ◦ , and − 51.51 ◦ , respectively. The percent errors of the experimental phase angles from these I B values were 3.58%, 2.25%, and 9.02%, respectively. Sensors2021,21,xFORPEERREVIEW18of25   Frequency (kHz) 1 10 100 1000 10000 Phase (degree) -200 -150 -100 -50 0 Gain (dB) -20 -10 0 10 20 Theoretical Phase (Experimental) Phase (Simulated) Gain (Experimental) Gain (Simulated)  Figure18.FrequencygainandphaseresponseofAP−. ThesimulatedandexperimentalAP−phaseresponsewithdifferentIBvalues(67μA, 124.5μA,245μA)isshowninFigure19whereR1andRfremainedat1.2kΩ.Theresults revealedthatthephaseofAP−waselectronicallycontrollable,asexpectedinTable2.With thesevaluesofIB,thetheoreticalphaseanglesatf=90kHzwere−126.15°,−90°,and −56.62°,respectively.Atthesametime,thesimulatedphaseanglesfromtheseIBvalues were−124.22°,−91.18°,and−54.6°,respectively.Thepercenterrorsofthesimulatedphase anglesfromtheseIBvalueswere1.53%,1.31%,and3.56%,respectively.Theexperimental phaseanglesfromtheseIBvalueswerealso−121.63°,−87.97°,and−51.51°,respectively. ThepercenterrorsoftheexperimentalphaseanglesfromtheseIBvalueswere3.58%, 2.25%,and9.02%,respectively. Frequency (kHz) 1 10 100 1000 10000 Phase (degree) -200 -150 -100 -50 0 Theoretical I B =67uA (Experimental) I B =124.5uA (Experimental) I B =245uA (Experimental) I B =67uA (Simulated) I B =124.5uA (Simulated) I B =245uA (Simulated)  Figure19.FrequencygainresponseofAP−withdifferentIBvalues. ThesimulatedAP−phaseresponsewithdifferenttemperaturevalues(−40°C,−20°C, 0°C,20°C,and80°C)isshowninFigure20whereR1andRfremainedat1.2kΩ,IB=124.5 μA.Thesimulatedresultsrevealedthatthetemperaturehadlittleimpactonthephase responseoftheproposedcircuit,asexpectedinTable2.Figure21showsthemeasured inputandoutputwaveformofAP−withdifferentIBvalues(67μA,124.5μA,245μA) wheretheinputsignalamplitudewas20mVp‐p. Figure 19. Frequency gain response of AP−with different IBvalues. The simulated AP − phase response with different temperature values ( − 40 ◦ C, −20 ◦C , 0 ◦ C, 20 ◦ C, and 80 ◦ C) is shown in Figure 20 where R 1 and R f remained at 1.2 k Ω ,I B = 124.5 µ A. The simulated results revealed that the temperature had little impact on the phase response of the proposed circuit, as expected in Table 2. Figure 21 shows the measured input and output waveform of AP − with different I B values (67 µ A, 124.5 µ A, 245 µA) where the input signal amplitude was 20 mVp-p. Sensors 2021,21, 7376 19 of 25 Sensors2021,21,xFORPEERREVIEW19of25   Frequency (Hz) 1.0k 10k 100k 1.0M 10 M -200d -150d -100d -50d 0d -40 °C -20 °C 0 °C 20 °C 80 °C Phase  Figure20.FrequencygainresponseofAP−withdifferenttemperaturevalues.  (a)  (b)  (c) Figure21.MeasuredinputandoutputwaveformofAP‐(‐‐‐‐vin,‐‐‐‐‐vo).(a)IB=67μA.(b)IB=124.5 μA.(c)IB=245μA. Table4summarizesthefilteringverificationwhereC=2.2nF,R1=Rf=1.2kΩandIB =124.5μA.SincethesimplifiedstructureofthecommerciallyavailableIC,LT1228,shows Figure 20. Frequency gain response of AP−with different temperature values. Sensors2021,21,xFORPEERREVIEW19of25   Frequency (Hz) 1.0k 10k 100k 1.0M 10 M -200d -150d -100d -50d 0d -40 °C -20 °C 0 °C 20 °C 80 °C Phase  Figure20.FrequencygainresponseofAP−withdifferenttemperaturevalues.  (a)  (b)  (c) Figure21.MeasuredinputandoutputwaveformofAP‐(‐‐‐‐vin,‐‐‐‐‐vo).(a)IB=67μA.(b)IB=124.5 μA.(c)IB=245μA. Table4summarizesthefilteringverificationwhereC=2.2nF,R1=Rf=1.2kΩandIB =124.5μA.SincethesimplifiedstructureofthecommerciallyavailableIC,LT1228,shows Figure 21. Measured input and output waveform of AP − ( —- v in , —– v o ). ( a )I B = 67 µ A. (b)IB= 124.5 µA. (c)IB= 245 µA. Table 4summarizes the filtering verification where C= 2.2 nF, R 1 =R f = 1.2 k Ω and I B = 124.5 µ A. Since the simplified structure of the commercially available IC, LT1228, Sensors 2021,21, 7376 20 of 25 shows that the g m stage is based on bipolar folded cascode OTA, then the third harmonic distortion can be calculated as follows [47]: HD3=1 48vid VT2 (7) where v id is the differential input voltage (v id =v + -v − ). Therefore, the total harmonic distortion (THD) of the output voltage against the amplitude of input voltage for each filtering function was tested to evaluate the input dynamic range of the proposed filter. The THD dependence on the amplitude of the input voltage signal obtained from the simulation is shown in Figure 22 where the frequency of the sinusoidal input signal was 90 kHz. The THD of all filtering functions was below 1%, where the input volage was lower than 200 mVp-p. In order to examine the changes of the forward beta ( βF ) for all the NPN and PNP transistors in LT1228 affecting the circuit performances, the Monte Carlo analysis of the proposed LP filter was carried out. In this simulation, the value of βF varied by 20% Gaussian deviation, while other active and passive elements were the same as stated above. After 100 runs, the magnitude and phase responses of the input impedance of the proposed capacitance multiplier are shown in Figure 23. Table 4. The characteristics of the proposed multifunction filter. Filtering Function Pole Frequency (kHz) Pass-Band Gain (dB) Phase Response (Degree) Expect Simulation Experiment Expect Simulation Experiment Expect Simulation Experiment High-pass 90 87.98 91.20 6.02 5.89 5.97 45 44.37◦44.59◦ Low-pass 90 87.63 91.20 6.02 5.92 6.01 −45 −45.76◦−44.34◦ Non-Inverting all-pass 90 88.73 95.45 0 −0.065 −0.15 90 88.95◦92.28◦ Inverting all-pass 90 88.57 95.45 0 −0.037 −0.15 −90 −91.18◦−87.97◦ Sensors2021,21,xFORPEERREVIEW20of25   thatthegmstageisbasedonbipolarfoldedcascodeOTA,thenthethirdharmonicdistortioncanbecalculatedasfollows[47]: 2 3 1 48 id T v HD V    (7) wherevidisthedifferentialinputvoltage(vid=v+‐v−).Therefore,thetotalharmonicdistortion(THD)oftheoutputvoltageagainsttheamplitudeofinputvoltageforeachfiltering functionwastestedtoevaluatetheinputdynamicrangeoftheproposedfilter.TheTHD dependenceontheamplitudeoftheinputvoltagesignalobtainedfromthesimulationis showninFigure22wherethefrequencyofthesinusoidalinputsignalwas90kHz.The THDofallfilteringfunctionswasbelow1%,wheretheinputvolagewaslowerthan200 mVp‐p.Inordertoexaminethechangesoftheforwardbeta(βF)foralltheNPNandPNP transistorsinLT1228affectingthecircuitperformances,theMonteCarloanalysisofthe proposedLPfilterwascarriedout.Inthissimulation,thevalueofβFvariedby20%Gaussiandeviation,whileotheractiveandpassiveelementswerethesameasstatedabove. After100runs,themagnitudeandphaseresponsesoftheinputimpedanceoftheproposedcapacitancemultiplierareshowninFigure23. Table4.Thecharacteristicsoftheproposedmultifunctionfilter. FilteringFunction PoleFrequency(kHz)Pass‐BandGain(dB)PhaseResponse(Degree) ExpectSimulationExperimentExpectSimulationExperimentExpectSimulationExperiment High‐pass9087.9891.206.025.895.974544.37° 44.59° Low‐pass9087.6391.206.025.926.01−45−45.76°−44.34° Non‐Inverting all‐pass9088.7395.450−0.065−0.159088.95°92.28° Invertingall‐pass9088.5795.450−0.037 −0.15−90−91.18°−87.97° V in (mVp-p) 0 50 100 150 200 250 300 % THD 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 HP LP AP+ AP-  Figure22.THDvariationswithinputvoltagesignalat90kHz. Figure 22. THD variations with input voltage signal at 90 kHz. Sensors 2021,21, 7376 21 of 25 Sensors2021,21,xFORPEERREVIEW21of25   LPBW(v o , -3dB) 88.14k 88.16k 88.18k 88.20k 88.22k 88.24k 0 10 20 30 P c t o f S a m p l e s n samples = 100 n divisions = 10 mean = 88191.9 sigma = 15.0578 minimum = 88152 10th %ile = 88170.8 median = 88193.8 90th %ile= 88210 maximum = 88224.6  Figure23.HistogramoftheMonteCarloanalysiswitha10%deviationinβFforLPfilteringfunction. 4.QuadratureSinusoidalOscillatorBasedontheProposedAP−Filter Theproposedinvertingfirst‐orderall‐pass(AP−)filterwasselectedasthesub‐circuit todesignthequadratureoscillator.BycascadingtheAP−filterwiththeinvertinglossless integrator,asshowninFigure24,thevoltage‐modequadraturesinusoidaloscillatoris obtained.Astraightforwardcircuitanalysisyieldedthefollowingcharacteristicequation  2 12 1 2 1 1 2 0 mm mm sCC sC g g g g .(8) FromEquation(8),theexpressionofthefrequencyofoscillation(FO)andtheconditionofoscillator(CO)aregivenby 12 12 0 12 12 10 mm BB gg II CC CC   .(9) and 1212 ; mmBB g gI I .(10) FromEquations(9)and(10),theFOandCOcanbeelectronicallytunedbyIB1andIB2. The90°phasedifferencewilloccurbetweentwooutputvoltages,vo1andvo2,wherephase ofvo2leadstophasevo1.Notethattheoutputvoltagenodesarelowimpedance,soextra voltagebuffersarenotrequired. v  v  y w LT1228 1o v x 1 C v  v  y w LT1228 x 2o v 2 C R R 11 11 m m g sC g sC   2 2 m g s C   Figure24.Proposedquadraturesinusoidaloscillator. ToverifythefunctionalityoftheproposedquadratureoscillatorinFigure24,the experimentusingthecommerciallyavailableLT1228ICwascarriedout.Thesupplyvoltageof±5VwasappliedwithC1=C2=2.2nF,R=1kΩ,IB1=132.58μA,andIB2=137.41 μA.The470ΩresistorwasconnectedbetweenthexandwterminalofsecondLT1228to Figure 23. Histogram of the Monte Carlo analysis with a 10% deviation in βF for LP filtering function. 4. Quadrature Sinusoidal Oscillator Based on the Proposed AP−Filter The proposed inverting first-order all-pass (AP − ) filter was selected as the sub-circuit to design the quadrature oscillator. By cascading the AP − filter with the inverting lossless integrator, as shown in Figure 24, the voltage-mode quadrature sinusoidal oscillator is obtained. A straightforward circuit analysis yielded the following characteristic equation s2C1C2+sC1(gm2−gm1)+gm1gm2=0. (8) Sensors2021,21,xFORPEERREVIEW21of25   LPBW(v o , -3dB) 88.14k 88.16k 88.18k 88.20k 88.22k 88.24k 0 10 20 30 P c t o f S a m p l e s n samples = 100 n divisions = 10 mean = 88191.9 sigma = 15.0578 minimum = 88152 10th %ile = 88170.8 median = 88193.8 90th %ile= 88210 maximum = 88224.6  Figure23.HistogramoftheMonteCarloanalysiswitha10%deviationinβFforLPfilteringfunction. 4.QuadratureSinusoidalOscillatorBasedontheProposedAP−Filter Theproposedinvertingfirst‐orderall‐pass(AP−)filterwasselectedasthesub‐circuit todesignthequadratureoscillator.BycascadingtheAP−filterwiththeinvertinglossless integrator,asshowninFigure24,thevoltage‐modequadraturesinusoidaloscillatoris obtained.Astraightforwardcircuitanalysisyieldedthefollowingcharacteristicequation  2 12 1 2 1 1 2 0 mm mm sCC sC g g g g .(8) FromEquation(8),theexpressionofthefrequencyofoscillation(FO)andtheconditionofoscillator(CO)aregivenby 12 12 0 12 12 10 mm BB gg II CC CC   .(9) and 1212 ; mmBB g gI I .(10) FromEquations(9)and(10),theFOandCOcanbeelectronicallytunedbyIB1andIB2. The90°phasedifferencewilloccurbetweentwooutputvoltages,vo1andvo2,wherephase ofvo2leadstophasevo1.Notethattheoutputvoltagenodesarelowimpedance,soextra voltagebuffersarenotrequired. v  v  y w LT1228 1o v x 1 C v  v  y w LT1228 x 2o v 2 C R R 11 11 m m g sC g sC   2 2 m g s C   Figure24.Proposedquadraturesinusoidaloscillator. ToverifythefunctionalityoftheproposedquadratureoscillatorinFigure24,the experimentusingthecommerciallyavailableLT1228ICwascarriedout.Thesupplyvoltageof±5VwasappliedwithC1=C2=2.2nF,R=1kΩ,IB1=132.58μA,andIB2=137.41 μA.The470ΩresistorwasconnectedbetweenthexandwterminalofsecondLT1228to Figure 24. Proposed quadrature sinusoidal oscillator. From Equation (8), the expression of the frequency of oscillation (FO) and the condition of oscillator (CO) are given by ω0=rgm1gm2 C1C2 =10sIB1IB2 C1C2 . (9) and gm1≤gm2;IB1≤IB2. (10) From Equations (9) and (10), the FO and CO can be electronically tuned by I B1 and I B2 . The 90 ◦ phase difference will occur between two output voltages, v o1 and v o2 , where phase of v o2 leads to phase v o1 . Note that the output voltage nodes are low impedance, so extra voltage buffers are not required. To verify the functionality of the proposed quadrature oscillator in Figure 24, the experiment using the commercially available LT1228 IC was carried out. The supply voltage of ± 5 V was applied with C 1 =C 2 = 2.2 nF, R=1k Ω ,I B1 = 132.58 µ A, and IB2= 137.41 µA . The 470 Ω resistor was connected between the xand wterminal of second LT1228 to avoid Sensors 2021,21, 7376 22 of 25 the oscillation at other frequencies. Figure 25 shows the measured quadrature waveform. Figure 26a,b shows the output spectrum of vo1and vo2, respectively. Sensors2021,21,xFORPEERREVIEW22of25   avoidtheoscillationatotherfrequencies.Figure25showsthemeasuredquadraturewaveform.Figure26a,bshowstheoutputspectrumofv o1 andv o2 ,respectively.  Figure25.Measuredquadraturewaveform.  (a)  (b) Figure26.Measuredoutputspectrumofv o1 andv o2 .(a)v o1 .(b)v o2 . 5.Conclusions Inthispaper,thevoltage‐modemultifunctionfirst‐orderfilterbuiltwithsinglecommerciallyavailableLT1228ICwasproposed.Itcanprovidefourfirst‐orderfilteringresponses.Fortheall‐passfunctionsemployedasthephaseshifter,bothlaggingandleadingphaseresponseswereobtainedwiththesameconfiguration.Thepolefrequencyand Figure 25. Measured quadrature waveform. Sensors2021,21,xFORPEERREVIEW22of25   avoidtheoscillationatotherfrequencies.Figure25showsthemeasuredquadraturewaveform.Figure26a,bshowstheoutputspectrumofv o1 andv o2 ,respectively.  Figure25.Measuredquadraturewaveform.  (a)  (b) Figure26.Measuredoutputspectrumofv o1 andv o2 .(a)v o1 .(b)v o2 . 5.Conclusions Inthispaper,thevoltage‐modemultifunctionfirst‐orderfilterbuiltwithsinglecommerciallyavailableLT1228ICwasproposed.Itcanprovidefourfirst‐orderfilteringresponses.Fortheall‐passfunctionsemployedasthephaseshifter,bothlaggingandleadingphaseresponseswereobtainedwiththesameconfiguration.Thepolefrequencyand Figure 26. Measured output spectrum of vo1and vo2. (a)vo1. (b)vo2. 5. Conclusions In this paper, the voltage-mode multifunction first-order filter built with single commercially available LT1228 IC was proposed. It can provide four first-order filtering responses. For the all-pass functions employed as the phase shifter, both lagging and leading phase responses were obtained with the same configuration. The pole frequency Sensors 2021,21, 7376 23 of 25 and phase shift angle were electronically controlled via bias current I B . Although the proposed all-pass functions require the matching conditions of R 1 and R f , tuning of the lagging and leading phase responses can be adjusted from the single I B without matching conditions from two or three parameters during the tuning process. The pass-band gain of HP and LP filtering function was controllable via R 1 and R f . The analysis of LT1228 parasitic effects revealed that the Z T was the most effective in filtering performances. To reduce the effect of Z T , the value of R f should be low. At low value of R f , the bandwidth of the proposed multifunction filter could also be enhanced. Therefore, the pass-band gain of the LP and HP filter should be tuned via R 1 without affecting the bandwidth. The performances of the proposed filter were verified through the simulation and experiment. The simulation and experimental results confirm the theoretical propositions. Moreover, the quadrature sinusoidal oscillator realized from the proposed first-order all-pass filter is shown as the application example. Author Contributions: Conceptualization, W.J., S.S. and P.S. (Phamorn Silapan); Methodology, W.J., U.B., F.K.; R.S. and P.S. (Phamorn Silapan); Validation, W.J., U.B. and P.S. (Phamorn Silapan); Formal Analysis, W.J., U.B., S.S., P.S. (Peerawut Suwanjan) and A.C.; Investigation, W.J., U.B., F.K., R.S., P.S. (Peerawut Suwanjan) and A.C.; Writing—Original Draft Preparation, W.J., S.S. and U.B.; Writing— Review and Editing, W.J., U.B., S.S., F.K.; R.S., P.S. (Phamorn Silapan), P.S. (Peerawut Suwanjan) and A.C. All authors have read and agreed to the published version of the manuscript. Funding: Research described in the paper was supported by Faculty of Industrial EduCation and Technology, King Mongkut’s Institute of Technology Ladkrabang (KMITL) under grant 2562-02-009. Acknowledgments: The authors would like to thank the anonymous reviewers for providing valuable comments which helped improve the paper substantially. Conflicts of Interest: The authors declare no conflict of interest. References 1. Kumngern, M.; Aupithak, N.; Khateb, F.; Kulej, T. 0.5 V Fifth-Order Butterworth Low-Pass Filter Using Multiple-Input OTA for ECG Applications. Sensors 2020,20, 7343. [CrossRef] 2. Wang, S.F.; Chen, H.P.; Ku, Y.; Zhong, M.X. Voltage-mode multifunction biquad filter and its application as fully-uncoupled quadrature oscillator based on current-feedback operational amplifiers. Sensors 2020,20, 6681. 3. Prommee, P.; Wongprommoon, N.; Kumngern, M.; Jaikla, W. Low-voltage low-pass and band-pass elliptic filters based on log-domain approach suitable for biosensors. Sensors 2019,19, 5581. [CrossRef] 4. Myderrizi, I.; Minaei, M.; Yuce, E. An Electronically Fine-Tunable Multi-Input-Single-Output Universal Filter. IEEE Trans. Biomed. Circuits Syst. II Express Briefs 2011,58, 356–360. [CrossRef] 5. Jaikla, W.; Khateb, F.; Kulej, T.; Pitaksuttayaprot, K. Universal Filter Based on Compact CMOS Structure of VDDDA. Sensors 2021 , 21, 1683. [CrossRef] [PubMed] 6. Wang, S.-F.; Chen, H.-P.; Ku, Y.; Li, Y.-F. High-Input Impedance Voltage-Mode Multifunction Filter. Appl. Sci. 2021 ,11, 387. [CrossRef] 7. Yuce, E.; Tez, S. A Novel Voltage-Mode Universal Filter Composed of Two Terminal Active Devices. AEU Int. J. Electron. Commun. 2018,86, 202–209. [CrossRef] 8. Wang, S.-F.; Chen, H.-P.; Ku, Y.; Yang, C.-M. Independently tunable voltage-mode OTA-C biquadratic filter with five inputs and three outputs and its fully-uncoupled quadrature sinusoidal oscillator application. AEU Int. J. Electron. Commun. 2019 , 110, 152822. [CrossRef] 9. Faseehuddin, M.; Herencsar, N.; Albrni, M.A.; Sampe, J. Electronically Tunable Mixed-Mode Universal Filter Employing a Single Active Block and a Minimum Number of Passive Components. Appl. Sci. 2021,11, 55. [CrossRef] 10. Chen, H.P.; Yang, W.S. Electronically Tunable Current Controlled Current Conveyor Transconductance Amplifier-Based Mixed- Mode Biquadratic Filter with Resistorless and Grounded Capacitors. Appl. Sci. 2017,7, 244. [CrossRef] 11. Jaikla, W.; Adhan, S.; Suwanjan, P.; Kumngern, M. Current/voltage controlled quadrature sinusoidal oscillators for phase sensitive detection using commercially available IC. Sensors 2020,20, 1319. [CrossRef] [PubMed] 12. Maheshwari, S.; Ansari, M.S. Catalog of Realizations for DXCCII using Commercially Available ICs and Applications. Radioengineering 2012,21, 281–289. 13. Dogan, M.; Yuce, E. A new CFOA based grounded capacitance multiplier. AEU Int. J. Electron. Commun. 2020 ,115, 153034. [CrossRef] 14. Yuce, E.; Minaei, S. Commercially Available Active Device Based Grounded Inductor Simulator and Universal Filter with Improved Low Frequency Performances. J. Circuits Syst. Comput. 2017,26, 1750052. [CrossRef] Sensors 2021,21, 7376 24 of 25 15. Senani, R.; Bhaskar, D.R.; Kumar, P. Two-CFOA-Grounded-Capacitor First-order All-pass Filter Configurations with Ideally Infinite Input Impedance. AEU Int. J. Electron. Commun. 2021,137, 153742. [CrossRef] 16. Herencsar, N.; Koton, J.; Hanak, P. Universal Voltage Conveyor and its Novel Dual-Output Fully-Cascadable VM APF Application. Appl. Sci. 2017,7, 307. [CrossRef] 17. Kartci, A.; Sotner, R.; Jerabek, J.; Herencsar, N.; Petrzela, J. Phase shift keying modulator design employing electronically controllable all-pass sections. Analog. Integr. Circuits Signal Process. 2016,89, 781–800. [CrossRef] 18. Chaichana, A.; Siripongdee, S.; Jaikla, W. In Electronically Adjustable Voltage-mode First-order Allpass Filter Using Single Commercially Available IC. In Proceedings of the 2nd International Conference on Smart Materials Applications (ICSMA), Tokyo, Japan, 19–22 January 2019. 19. Yuce, E.; Verma, R.; Pandey, N.; Minaei, S. New CFOA-based first-order all-pass filters and their applications. AEU Int. J. Electron. Commun. 2019,103, 57–63. [CrossRef] 20. Jitender; Mohan, J.; Chaturvedi, B. All-Pass Frequency Selective Structures: Application for Analog Domain. J. Circuits Syst. Comput. 2021,30, 2150150. [CrossRef] 21. Yuce, E.; Minaei, S. A New First-Order Universal Filter Consisting of Two ICCII+s and a Grounded Capacitor. AEU Int. J. Electron. Commun. 2021,137, 153802. [CrossRef] 22. Barile, G.; Safari, L.; Pantoli, L.; Stornelli, V.; Ferri, G. Electronically Tunable First Order AP/LP and LP/HP Filter Topologies Using Electronically Controllable Second Generation Voltage Conveyor (CVCII). Electronics 2021,10, 822. [CrossRef] 23. Chaturvedi, B.; Mohan, J.; Kumar, A.; Pal, K. Current-Mode First-Order Universal Filter and its Voltage-Mode Transformation. J. Circuits Syst. Comput. 2020,29, 2050149. [CrossRef] 24. Chaturvedi, B.; Mohan, J.; Jitender; Kumar, A. Resistorless Realization of First-Order Current Mode Universal Filter. Radio Sci. 2020,55, e2019RS006932. [CrossRef] 25. Banerjee, K.; Bnadopadhyaya, P.K.; Sarkar, B.; Biswas, A. Multi Input Single Output using Operational Transresistance Amplifier as First Order Filter. In Proceedings of the 2nd International Conference on VLSI Device, Circuit and System (VLSI DCS), Kolkata, India, 18–19 July 2020. 26. Agrawal, D.; Maheshwari, S. An active-C current-mode universal first-order filter and oscillator. J. Circuits Syst. Comput. 2019 , 28, 1950219. [CrossRef] 27. Jaikla, W.; Talabthong, P.; Siripongdee, S.; Supavarasuwat, P.; Suwanjan, P.; Chaichana, A. Electronically controlled voltage mode first order multifunction filter using low-voltage low-power bulk-driven OTAs. Microelectron. J. 2019,91, 22–35. [CrossRef] 28. Singh, P.; Varshney, V.; Kumar, A.; Nagaria, R.K. Electronically tunable first order universal filter based on CCDDCCTA. In Proceedings of the 2019 IEEE Conference on Information and Communication Technology (CICT), Allahabad, India, 6–8 December 2019 . 29. Chaturvedi, B.; Mohan, J.; Jitender; Kumar, A. A Novel Realization of Current-Mode First Order Universal Filter. In Proceedings of the 6th International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 7–8 March 2019; pp. 623–627. 30. Chaturvedi, B.; Kumar, A.; Mohan, J. Low Voltage Operated Current-Mode First-Order Universal Filter and Sinusoidal Oscillator Suitable for Signal Processing Applications. AEU Int. J. Electron. Commun. 2019,99, 110–118. [CrossRef] 31. Chaturvedi, B.; Kumar, A. Electronically Tunable First-Order Filters and Dual-Mode Multiphase Oscillator. Circuits Syst. Signal Process. 2019,38, 2–25. [CrossRef] 32. Abaci, A.; Yuce, E. Voltage-mode first-order universal filter realizations based on subtractors. AEU Int. J. Electron. Commun. 2018 , 90, 140–146. [CrossRef] 33. Chinpark, K.; Jaikla, W.; Siripongdee, S.; Suwanjan, P. Electronically controllable first-order multifuntion filter with using single active building block. In Proceedings of the 3rd International Conference on Control and Robotics Engineering (ICCRE), Nagoya, Japan, 20–23 April 2018; pp. 192–195. 34. Kumar, A.; Paul, S.K. Current mode first order universal filter and multiphase sinusoidal oscillator. AEU Int. J. Electron. Commun. 2017,81, 37–49. [CrossRef] 35. Safari, L.; Yuce, E.; Minaei, S. A new ICCII based resistor-less current-mode first-order universal filter with electronic tuning capability. Microelectron. J. 2017,67, 101–110. [CrossRef] 36. Yuce, E.; Minaei, S. A First-Order Fully Cascadable Current-Mode Universal Filter Composed of Dual Output CCIIs and a Grounded Capacitor. J. Circuit Syst. Comp. 2016,25, 1650042. [CrossRef] 37. Herencsar, N.; Lahiri, A.; Koton, J.; Vrba, K. First-order multifunction filter design using current amplifiers. In Proceedings of the 39th International Conference on Telecommunications and Signal Processing (TSP), Vienna, Austria, 27–29 June 2016; pp. 279–282. 38. Sotner, R.; Jerabek, J.; Herencsar, N.; Prokop, R.; Lahiri, A.; Dostal, T.; Vrba, K. First-Order Transfer Sections with Reconnection- Less Electronically Reconfigurable High-Pass, All-Pass and Direct Transfer Character. J. Electr. Eng. 2016,67, 12–20. [CrossRef] 39. Li, Y.A. A series of new circuits based on CFTAs. AEU Int. J. Electron. Commun. 2012,66, 587–592. [CrossRef] 40. Banerjee, K.; Ranjan, A.; Paul, S.K. New first order multifunction filter employing operational transresistance amplifier. In Proceedings of the 5th International Conference on Computers and Devices for Communication (CODEC), Kolkata, India, 17–19 December 2012. 41. Horng, J.W.; Hou, C.L.; Tseng, C.Y.; Chang, R.; Yang, D.Y. Cascadable current-mode first-order and second-order multifunction filters employing grounded capacitors. Act. Passiv. Electron. 2012,2012, 261075. [CrossRef] 42. Shah, N.A.; Iqbal, S.Z.; Parveen, B. Simple first-order multifunction filter. Indian J. Pure Appl. Phys. 2004,42, 854–856. Sensors 2021,21, 7376 25 of 25 43. 100 MHz Current Feedback Amplifier with DC Gain Control. Available online: https://www.analog.com/media/en/technicaldocumentation/data-sheets/1228fd.pdf (accessed on 15 February 2021). 44. Duangmalai, D.; Suwanjan, P. The Voltage-Mode first order universal filter using single VD-DIBA with electronic controllability. Int. J. Electr. Comput. Eng. 2022, in press. 45. Yucel, F. A DVCC-Based Current-Mode First-Order Universal Filter. J. Circuit Syst. Comp. 2021. [CrossRef] 46. Mahattanakul, J.; Toumazou, C. Af theoretical study of the stability of high frequency current feedback op-amp integrators. IEEE Trans. Syst. I Fundam. Theor. Appl. 1996,43, 2–12. 47. Sansen, W. Distortion in elementary transistor circuits. IEEE Trans. Circuits Syst. II Analog. Digit. Signal Process. 1999 ,46, 315–325. [CrossRef]