Literature DB >> 35808410

Duty-Cycle Electronically Tunable Triangular/Square Wave Generator Using LT1228 Commercially Available ICs for Capacitive Sensor Interfacing.

Phamorn Silapan1, Pawich Choykhuntod1, Rapeepan Kaewon1, Winai Jaikla2.   

Abstract

This paper proposes a duty-cycle electronically tunable triangular/square wave generator using LT1228 commercially available ICs for capacitive sensor interfacing. The generator comprises two LT1228s, a grounded resistor, and a grounded capacitor. The circuit provides two output signals which are triangular and square waves. Both signals are regulated by adjusting the current bias. Likewise, the amplitude of the triangular signal can be tuned electronically without affecting the frequency. In addition, the square wave can independently control the linear duty cycle via tuning the voltage. Experiment results confirm the performance of the proposed circuit that the amplitude of the triangular wave, frequency, and duty cycle are linearly controllable via current or voltage, which do not affect each other. The duty cycle, the amplitude of the triangular wave, and frequency have maximum errors of ±1.60%, ±3.33%, and ±2.55%, respectively.

Entities:  

Keywords:  LT1228; electronically tunable; triangular/square wave generator

Year:  2022        PMID: 35808410      PMCID: PMC9269504          DOI: 10.3390/s22134922

Source DB:  PubMed          Journal:  Sensors (Basel)        ISSN: 1424-8220            Impact factor:   3.847


1. Introduction

Many applications use a triangular and square wave generator, such as communication, instrumentation, electrical and control, and electronic systems. In communication systems, a triangular and square wave generator is used to generate carrier signals. Furthermore, a triangular and square shape is applied in generated pulse width modulation (PWM) to control motors, class-D amplifiers, and switching power supplies in electrical, control and electronic systems [1,2,3]. Moreover, it is employed to measure capacitance and capacitive sensor interfacing in instrumentation systems [4,5,6,7,8], as shown in Figure 1.
Figure 1

The block diagram of a capacitive sensor interfacing [8].

From capacitive sensor interfacing in [8], it is found that a square wave generator was its main component. There are also a fast counter, a multiplexer, and a microcontroller. The sensing element’s capacitance values are converted to a period modulated by the square wave generator. The counter counts the number of periods that have passed from the beginning of the counter. The measured capacitance is selected by the multiplexer. The microcontroller controls the external counter and multiplexer, which reads the data and sends it to the PC through a data line interface. Many triangular and square wave generators have been proposed in the literature. Regarding technique design, these circuits are based on a Schmitt trigger with lossy and lossless integrators [9,10,11,12,13,14,15]. The generator in [9] is a low-power circuit and works in the MHz range. However, it consists of a Schmitt trigger with a lossy integrator that provides only a square wave. In addition, the frequency cannot be tuned by the electronic method, and the duty cycle cannot be adjusted. The construction of circuits in [10,11,12,13,14,15] uses the Schmitt trigger cascade, a lossless integrator where the resulting outputs are a triangular and square signal. A generator for instrumentation applications is proposed in [10]. It is a low power circuit, tuning amplitude and frequency by current biases; however, it cannot control the duty cycle. Additionally, the frequency control is non-linear. Thus, it is not easy to control. In 2011 and 2016, square wave generators using OTAs and VDTA were presented, respectively [11,12]. The advantages of these circuits include linearly controlling amplitude and frequency via voltage. However, the duty cycle of [11,12] lacks of electronic control. A CCI- and OTA-based triangular and square wave generator was presented in 2019 [3]. This generator has features such as linear electronic controllability of the frequency. However, it lacks adjustability amplitude and duty cycle of the output signals. Using a Dual-X current conveyor transconductance amplifier (MO-DXCCTA) to design a triangular/square wave generator, which can be implemented by commercially available ICs (AD844 and LM13700) [13], it uses current bias to linearly control frequency, amplitude, and duty cycle. Notwithstanding, controlling the frequency by current bias affects the duty cycle. Then, the frequency can be adjusted independently by adjusting the capacitor, which is difficult to control and non-linear. A dual-mode triangular/square wave generator is implemented by three current feedback amplifiers (CFOAs) [14]. The CFOAs employ commercial ICs, AD844. This circuit can operate for both current and voltage modes. It also gives sawtooth, triangular, and square waves, which can electronically tune the duty cycle, but the generator cannot adjust the frequency and amplitude. In particular, the adjustable frequency with a resistor is non-linear, which makes it difficult to apply in an automatic system. In the field of analog signal processing, the use of analog function blocks (ABB) for the synthesis and design of high-performance circuits has received considerable attention [15,16,17,18,19,20]. The topologies of analog circuits synthesized from analog function blocks are simple, with a few active and passive elements. The synthesis procedures of circuits using analog function blocks are also easier and more flexible than using transistor levels. With the high input and low out impedance properties of voltage-mode ABB, as well as the low input and high output impedance features of current-mode ABB, additional buffer devices at input and output nodes of some ABB-based circuits are not required. In-circuit design for specific applications, using the commercially available ABB, is more convenient and cheaper than the CMOS or BJT-based ABBs. Although the CMOS-ABB-based circuits provide high circuit performances with small size, low voltage, and low power, the cost is still high for monolithic integrated circuit implementation. Therefore, the prospect of analog circuits using commercially available ABB is frequently proposed [21,22,23,24,25,26]. LT1228 is a popular commercially available ABB. It is the combination of the operational transconductance amplifier (OTA) and current feedback amplifier (CFA). This IC has several advantageous features such as electronic controllability, wide bandwidth, high voltage input impedance, high current output impedance, low voltage output impedance, and a wide range of applications, etc. With these advantageous features, the LT1228-based analog circuits can be found in the open literature [27,28,29,30,31]. From the previous, this research aims to synthesize a triangular/square signal generator employing LT1228 commercially available ICs, which are linearly tunable in amplitude, frequency, and duty cycle, using an electronic method. The paper is classified into six sections. The first section is the introduction. The ideal concept of synthesizing a duty cycle adjustable triangular/square wave generator is expanded in Section 2. The essential operation and saturation mode of LT1228 are described in Section 3. Section 4 clarifies the notion of Schmitt trigger and triangular/square wave generator. Section 5 concerns the performance of the circuit, which is confirmed by the experimental results. Finally, the conclusion is in Section 6.

2. Idea of Synthesize of Duty Cycle Adjustable Triangular/Square Wave Generator

Synthesizing the block diagram is shown in Figure 2. It aims to create a triangular/square wave generator that electronically controls the square wave’s duty cycle without affecting amplitude and generated frequency. The cycle adjustable triangular/square wave generator consists of a current-mode inverting Schmitt trigger, a lossless integrator, an inverting amplifier, and a comparator. The output frequency can be found to be
Figure 2

The block diagram of duty cycle adjustable triangular/square wave generator.

Where , , and are gain of the amplifier, the output amplitude of the Schmitt trigger, the current hysteresis of the Schmitt trigger, and the time constant of the lossless integrator. From (1), the frequency control of the system can be tuned by or . The triangular wave amplitude can be calculated below: The duty cycle of the triangular/square wave generator can be expressed as where is the reference voltage. It can be concluded that the duty cycle can be adjusted by .

3. Off-the-Shelf IC (LT1228)

The LT1228 is an off-the-shelf IC using BJT technology. It implements the current-gain control with an operational transconductance amplifier (Voltage Differencing to Current), whose gain is a direct variation to an externally bias current. The output current is converted to a voltage by an external resistor. The CFA (Current Feedback Amplifier) amplifies the voltage into an 8 port, as shown in Figure 3.
Figure 3

LT1228 (a) The connecting of the OTA and CFA in LT1228 [32] (b) Symbol.

Testing LT1228, it is found that the OTA’s output current () is given by, where and are the voltages of pin 2 and 3, respectively. is the thermal voltage. is the externally bias current of terminal 5. The Maclaurin series of the hyperbolic tangent is as follows [33]: If , the term shown in (5) can be estimated as . From (4), its first-order approximation can be derived to be Therefore, using (6), can be rewritten to be it is seen that conforms to the datasheet of the LT1228, where is a transconductance amplifier . at a temperature of 27 degrees Celsius is about 26 mV. Finally, is approximately obtained: From the above, the relationship of voltage and current for each LT1228’s pin is where , , and are the voltage of pin 6, 8, and 1, respectively. and are the current of pins 6 and 8, respectively. Generally, CFA has 4 terminals: y, x, z, and w, as shown in Figure 4. However, the pin z of CFA is inside the LT1228, and this pin is floated. The trans-resistance gain of the pin z is , which is ideally about infinity. From the LT1228 test, it is found that is approximately 190 kΩ. Then, (9) can be rewritten as follows:
Figure 4

The symbol of General CFA.

4. Concept of the Duty Cycle Tunable Triangular/Square Wave Generator

4.1. Concept of Schmitt Trigger

Designing the Schmitt trigger uses the LT1228’s saturation mode, which is both internal OTA and CFA. The OTA operation condition in the saturation region is the input voltage differencing more than 150 mV or less than −150 mV. Thus, the output current can be found in OTA’s saturation region to be From Figure 5, the +, −, and y ports are floated. The CFA operates in saturation mode when or . So is expressed as where and are the positive and negative saturation voltages; and are the positive and negative supply voltages, respectively. Using LT1228’s saturation mode, the Schmitt trigger is shown in Figure 6, which consists of two LT1228s and a grounded resistor.
Figure 5

The internal construction of LT1228.

Figure 6

The Schmitt trigger using LT1228s.

At the initial time, the triangular wave is the input signal of LT1228-1’s pin x, which is about . From Figure 6, it is found that the equals of LT1228-1 and LT1228-2 . Thus, OTAs of LT1228-2 operates in saturation mode; LT1228-2’s is . At the same time, , while . Then, is much more than , where LT1228-1 is saturation mode operational. OTAs of LT1228-1 and LT1228-2 operate in saturation mode; LT1228-1’s and LT1228-2’s are approximated and , respectively. equals until is lower than . is changed from to while is equal to . is returned to be again when is higher than , as illustrated in Figure 7.
Figure 7

The waveform of Schmitt trigger using LT1228s.

Hence, the output current can be obtained by, where and are the high and low hysteresis currents, which can be found to be Using (14), can be recalculated to be where and are the external current bias of LT1228-1 and LT1228-2, respectively. The external bias current linearly controls the output and hysteresis currents of the Schmitt trigger, which are and . Additionally, they are insensitive to temperature. From (13) and (14), the DC characteristic of the Schmitt trigger is displayed in Figure 8. It is seen that it is a noninverting Schmitt trigger.
Figure 8

The DC characteristic of the Schmitt trigger using LT1228s.

4.2. Concept of Triangular/Square Wave Generator

The duty cycle tunable triangular/square wave generator using LT1228s is explained in this section. Using the Schmitt trigger in Section 4.1, the capacitor and resistor are replaced by the resistor and the input signal at LT1228-1’s y and x terminals, respectively, as shown in Figure 9, which operates as a triangular wave generator.
Figure 9

The duty cycle tunable triangular/square wave generator using LT1228s.

Using properties of LT1228, , thus the amplitude of the triangular wave can be found to be Using Figure 10, the period of the signal depends on the amplitude of the triangular wave; therefore, it can be expressed as, and
Figure 10

The waveform of the capacitor’s voltage and current using LT1228s.

From (18), the frequency can be derived as Independently controlling the frequency can be archived by the current bias of LT1228-1 In addition, since (19) is without term, the frequency is not sensitive to temperature variation. The open-loop voltage gain of LT1228’s internal CFA is high, which is about 55 dB [30], so the LT1228-2’s CFA is used as a voltage comparator. The inputs of the comparator are the DC voltage reference and the triangular signal The resulting output is a square signal. The output amplitude can be As demonstrated in Figure 11, the rise time and fall time depend on , and it can be seen that equals until or less than . The amplitude of the square wave is changed to . It becomes again when is upward . From the relationship mentioned above, It is the period when goes up and then equals and where goes down and is equal to , which is the pulse width .
Figure 11

The waveform of the triangular/square wave generator using LT1228s.

It is discovered that or is the difference between and ; it can be written as follows: where and are the duration times of addition from 0 to , and the decrease from to 0, respectively. Using the straight-line equation, the positive and negative slopes of the triangular signal are given by Therefore, and are obtained:and By Substituting (22) in (23) and (24), and can be rewritten by (24) and (25) can be substituted in (21), can be obtained by Using (18) and (26), the duty cycle is as follows: From (16), (19), (20) and (26), it is established that the triangular/square wave generator is slightly affected by temperature changes. The current biases have the ability to control the amplitude of the triangular wave and the frequency. Additionally, the frequency can be independently tuned without affecting the triangle wave’s amplitude by . can control the duty cycle of the square signal.

4.3. Non-Ideal Case of LT1228 on Saturation-Mode

The non-ideal effect of LT1228 in the saturation-mode region on the operation of the proposed triangular/square wave generator is expanded in this part; the current and voltage’s relationship of LT1228 on saturation mode in non-ideal is given as follows:and where , , and are the current error outputs, voltage gain transfer at x pin error, and voltage error output, respectively. Taking into account the non-idealities of LT1228 on the saturation region, so the non-ideal amplitude of the triangular and square wave, frequency, and duty cycle can be recalculated by and where and respectively, are the current error outputs of LT1228-1 and LT1228-2; is the voltage gain transfer at the x pin error of LT1228-1; is LT1228-2’s voltage error output. It is found that the imperfections of LT1228 affect how well the proposed triangular/square wave generator works; applied in the capacitive sensor interface by plugging in the capacitive sensor instead of the capacitor. For example, HCH-1000 has a capacitance value of 310 pF to 350 pF [34]. The capacitance of this sensor can overcome the parasitic capacitance at the Y and + terminals, which are 6 pF and 3 pF, respectively [35]. For the accurate readout value, it can be calibrated via the bias currents or . There are two ways to achieve this: manually and automatically. Manually, it is an or adjustment through the bias resistors, or , as shown in Figure 12. Automatically, the bias currents or are tuned via the control voltages and , which is a convenient electronic method controlled by the microcontroller unit (MCU), as shown in Figure 13. However, or depend on the temperature and negative power supply voltage ().
Figure 12

The manual calibration through R or R.

Figure 13

The automatic calibration through V or V.

5. Experimental Results

This section shows the experimental results to ensure the efficiency of the triangular/square wave generator using LT1228s. RIGOL DS1054Z (RIGOL Technologies Co. Ltd, Beijing, China) is the measuring instrument that was utilized. In the experiment, , , , , supply voltage was used. Figure 14a shows the experimental setup, consisting of one RIGOL DS1054, a breadboard, two DC power supplies, and two oscilloscope probes. The first DC power supply is MCP MODEL: M10-TP3005H which is supply voltage. uses MCP MODEL: M10-TP3003L for DC supply, which is set to 168 mV at the moment. The actual triangular/square wave generator implementation is displayed in Figure 14b. It is composed of five main parts: , , two LT1228s, , and , where and are resistors for the current bias of pin 5 of LT1228-1 and LT1228-2, respectively.
Figure 14

The real implementation of a triangular/square wave generator (a) the setup for the experiment (b) The actual triangular/square wave generator implementation.

Designing the frequency and duty cycles of the proposed circuit are 10 kHz, 90%, 50%, and 10%, which is varied −160 mV, 0 mV, and 160 mV; the amplitude of triangular and square waves, respectively, are 200 and 9 . Figure 15 displays the triangular and square waves with the frequency of 10.42 kHz when is varied −168 mV, 0 mV, and 168 mV; the duty cycles are 90%, 50%, and 10%; Triangular and square waves have amplitudes of 211 and 7.596 , respectively. This error is due to the non-ideal case of LT1228, which was discussed in Section 4.3. The results are plotted, as shown in Figure 16; it is the amplitude of the triangular signal, which is controlled by .
Figure 15

The voltage waveforms with triangular and rectangular wave at a frequency of 10.42 kHz. (a) 90% Duty Cycle (b) 50% Duty Cycle (c) 10% Duty Cycle.

Figure 16

The plot of the magnitude of the triangular signal while adjusting I.

Linear controlling the triangular signal’s amplitude is varied in the range of 0–1.03 V when is 0–1 mA. The peak amplitude deviates from the theory analyzed by ±3.33%. The test modulates the frequency by adjusting , which found that its dynamics change linearly, as demonstrated in Figure 17.
Figure 17

The plot of the frequency when tuning I.

The magnitude of the triangular and square signals is likewise unaffected by frequency modulation. The results obtained have a maximum error of about ±2.55%. The matter of the values of , , and deviating from one, as shown in (32) The plot is illustrated in Figure 18; it is the comparison between the duty cycle and change from −200 mV to 200 mV. It is confirmed that linearly controls the duty cycle by the electronic technique. The maximum error of the square wave’s duty cycle is ±1.60%.
Figure 18

The plot of the rectangular wave’s duty cycle when V variation.

6. Conclusions

Off-the-shelf IC LT1228 designs the proposed triangular/square wave generator for capacitive sensors, which comprises two LT1228s, and a grounded capacitor and resistor. The circuit can be electronically/linearly tuned for the duty cycle, the magnitude triangular wave, and the frequency, which are achieved by , , and , respectively. The amplitude of the triangle signal is not affected by frequency control using , which is another advantage of this method. The proposed circuit’s functional test, when , , and are assigned equally to , , and , respectively. The experimental results show that the circuit has a frequency of 10.42 kHz, and when is , , and , the duty cycle is equal to 90%, 50%, and 10%, respectively; the duty cycle is varied by , it is changed between −200 mV and 200 mV. The amplitude of the triangular wave can be adjusted from 51 mV to 1.03 V, with in the range from to 1 mA. The available frequencies are in the range of 0–12.4 kHz, which is about 0–1 mA. The maximum errors of the duty cycle, triangular wave’s magnitude, and frequency are ±1.60%, ±3.33%, and ±2.55%.
  2 in total

1.  Current/Voltage Controlled Quadrature Sinusoidal Oscillators for Phase Sensitive Detection Using Commercially Available IC.

Authors:  Winai Jaikla; Suchin Adhan; Peerawut Suwanjan And Montree Kumngern
Journal:  Sensors (Basel)       Date:  2020-02-28       Impact factor: 3.576

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.