Abstract

This paper introduces a new window comparator circuit utilizing a new current conveyor and two diodes, operable at ±1.25 V and capable of accurately detecting the voltage windows. Another modified circuit with distinct binary levels suited for automatic control applications is also suggested. Exhaustive simulation results showing detection of windows, as small as 50 mV and as high as 1 V, are included. Comparisons are further drawn with the traditional operational amplifier based circuit and the new circuit is found to benefit from the use of current-mode active element, namely, Extra-X Current Controlled Current Conveyor. The proposed theory is well supported through simulation results.

1. Introduction

Analog signal processing utilizing complementary metal oxide semiconductor (CMOS) building blocks has recently been identified as a potential area of research, with a wide variety of applications being continuously reported based on the assorted current-mode building blocks [13]. Window comparators are a class of nonlinear circuits used to establish the confinement of a signal within a specified voltage range, called the “window.” There are two types of window comparator circuits, namely, the one which senses the input signal to produce a high output for the signal confinement within the window and the second type which produces a low output for the signal confinement within the window. The output of the circuit for the signal level falling outside the specified window range is “low” in the former and “high” in the latter case. Window comparator circuits find wide range of applications, for instance, to monitor the battery voltage lying within the desired range, in industrial alarms, in level detectors and controls, in digital computers, in production line-testing to sort circuits that fail to meet a specified tolerance, and so forth. The commonly used window comparators are built around operational amplifiers, two in number, along with two diodes [4]. These circuits have well-known limitations associated with the voltage operational amplifier (opamp) based circuits, namely, finite gain-bandwidth product, limited bandwidth, and slew rate, beside the requirement of two opamps themselves.

There is an urge to develop effective circuit designs employing current-mode active elements in form of current conveyors for realizing class of linear and nonlinear circuits [512]. For instance, a simple comparator has been realized using current conveyors [6]. However, to the best of author’s investigation, a “window comparator” is not yet reported in literature, which employs current conveyors. This paper presents such a circuit which employs a new current conveyor with an extra X-stage and tuning property, namely, Extra-X Current Controlled Current Conveyor (EXCCCII). The new circuit unlike opamp based counterparts uses a single active element and exhibits higher performance features, namely, higher frequency of operation, fewer active elements, and detection of both, small and large, magnitudes of voltage windows. Exhaustive study is carried out to validate the proposed theory through effective simulation results.

The rest of the paper is organized in the subsequent order as follows: Section 2 presents the actual circuit description; Section 3 presents the results of the proposed circuit; Section 4 draws comparisons with opamp based window detectors; Section 5 adds to the proposed circuit by offering a modified circuit with additional features; Section 6 is devoted to the discussion on possible design of the proposal using commercial ICs; and Section 7 delivers conclusion to the paper.

2. Circuit Description

The new proposed window comparator circuit based on the new current conveyor, given in Figure 1, is shown in Figure 2. The circuit of Figure 1 is characterized by the following relationship:It may be noted that the currents entering or leaving both and terminals are taken to be positive, for positive type conveyors. It may be noted that current conveyors with positive current transfer gain benefit from simpler circuitry, compared to the ones with negative current transfer gain. At the core of circuitry are the two mixed translinear loops comprised of transistors to , with intrinsic resistance () as given below. It is worth pointing that saturation region is assumed for the transistors comprising the translinear loops. It may be noted that for the used design: and :The parameters in (2) refer to the MOS transistors comprising the translinear loop, and is the bias current of EXCCCII. The two currents flowing in the stages are given asThe circuit output is the voltage developed across , which depends on the conduction of current through either of the two diodes. Therefore, the output voltage can be expressed asIt may be noted that either both diodes are off (making output “low”) or only one of the two diodes is on at a time (making output “high”); hence the output effectively depends on only one of the two currents in (4). The circuit operation can be described by the following expression:Equation (5) can be interpreted as follows.

For values lying in between and , the output remains “low,” as none of the diodes turn on in these cases. The output of the window detector is “high” for values of which are either below when switches on or in excess to , when is on.

Thus the circuit detects the window between the two threshold levels, namely, and , by providing a “low” output. If the signal deviates from this window, the output becomes “high.” Thus, the proposed circuit falls in the category of second type of window detectors, as exemplified in the earlier section, the one which produces a “low” output for the signal confinement within the “window.”

3. Simulation Results

The CMOS implementation of Extra-X Current Controlled Current Conveyor (EXCCCII) is used for verification of the proposed circuit with a supply voltage of ±1.25 V and 0.25 μm process parameters. The bias current was taken as 100 μA. For diodes some important parameters used were as follows: IS =  A, BV = 7 V, IBV =  A, , CJO = 0.18 pF, and RS = 6 Ω. The DC transfer characteristics showing the input, threshold levels ( V,  V), and the output are given in Figure 3. The output is found to be “low” for the signal values within the window but becomes “high” when the signal falls outside the window. The input signal along with the two threshold levels used and the output of the circuit are also shown in Figure 4, justifying the theoretical predictions. Accuracy of the circuit is further tested by reducing the window size from 1 V to 50 mV ( V,  V), and the result is shown in Figure 5, which confirms the assertion. Thus the circuit is good for detecting both voltage windows as small as 50 mV and as high as 1 V, a feature not exhibited in a very elegant circuit available in literature [10].

4. Comparative Study

As far as the comparison of the proposed circuit with opamp based ones is concerned, several features are worth mentioning based on the known facts and simulation studies.(i)Firstly, opamp based circuit uses two opamps [4, 13] as against a single EXCCCII used in the proposed circuit.(ii)The tunable nature of EXCCCII allows for output current adjustment, by way of varying bias current (hence, ), which is not possible in opamp, due to inherent nontunable nature.(iii)The opamp based circuit [13], simulated using UA-741 model, was found to exhibit satisfactory results only for few KHz signals for the same input and threshold levels as used for the proposed circuit, due to slew rate, as well as constant gain-bandwidth product limitations of opamp. On the other hand, the proposed circuit using EXCCCII operated for much higher frequency, namely, 100 KHz, as shown in results (Figure 4).(iv)To further consolidate the above point, results for opamp based circuit for similar input conditions are shown in Figures 6(a) and 6(b), where frequency used is 1 KHz and 2 KHz, respectively, for two sets of shown results. Inaccuracy in detection may be observed even for 2 KHz signal. It may be noted that supply voltage for opamp based circuit used was ±10 V; frequency improvement to some extent was possible at reduced supply voltages.(v)The detection of small size window was found to be problematic for opamp based circuit, due to offset errors, contrary to the proposed circuit, where 50 mV was shown to be successfully detected (Figure 5).(vi)For the general purpose opamp, like UA741, unity gain frequency is approximately 1 MHz, in contrast to the used EXCCCII, which is found to exhibit unity gain for voltage transfer and current transfer gains in the range of approximately 300 MHz.

It has to be reemphasized that the employment of current-mode active elements is to be seen as a major cause for transferring the designs based on traditional voltage mode techniques [24].

5. Modified Circuit

The proposed circuit of Figure 2 can be modified by employing (positive current transfer from ) instead of (negative current transfer from ), and the polarity reversed, so as to obtain a window comparator capable of not only detecting the desired voltage window, but also providing distinct levels of digital outputs for out-of-window signal. Figure 7 shows the circuitry for EXCCCII with positive transfer gain from to , described by the following relationship:

Next, the actual modified circuit for window detection is shown in Figure 8. The circuit is characterized by the following:

The operation of the modified circuit is summarized as follows:

The output is “zero” (both diodes off) for signal confinement within the window. The signal above ( on and off) causes the output to become “positive,” whereas the signal below ( off and on) causes the output to become “negative,” thus providing a means of automatic feedback for corrective actions. Equation (8) is a result of the circuit modification as mentioned above. For input signals within the window range, none of the two diodes conduct, thereby keeping the output zero. For inputs greater than the upper threshold (), conducts, making the output positive (), whereas, for input signal below , conducts and the output becomes −. Figure 9 shows the results for the modified circuit. In (8) the positive and negative outputs refer to the saturation levels, namely, and −, respectively. This aspect is clearly evident from Figure 9, where the first plot shows the input signal and the two threshold levels, whereas the second plot shows the output of the modified circuit. Three levels of the outputs (zero, positive, and negative) can be seen in Figure 9, as per (8).

For the sake of completeness, the proposed window comparator and its modified version presented in this work are further compared with the most relevant works available in literature. It may again be emphasized that, to the best knowledge of author, window comparator circuit has not been presented yet, employing current conveyor or its variants [116]. Table 1 lists the proposed circuits’ comparisons with few available circuits for this electronic function. The use of current-mode building block, namely, EXCCCII, along with the features obtained makes the proposed window comparator circuits a novel enrichment to the literature on the subject.

6. Discussion on Practicality

It is worth considering the proposed circuits for their practicality, but for the chip count requirements matching the count realizable with traditional opamps. The complexity reduction in the set-up is thus not possible, when compared to opamp based circuits, but the performance attained using current-mode active elements is well known. Thus the advantages of employing current-mode approach are achieved. More specifically, the EXCCCII based circuit can be made IC compatible using two AD-844 chips (for circuit of Figure 8) or three AD-844 chips (for circuit of Figure 2). The use of AD-844 may not result in complexity reduction, but the advantages of employing it have been often highlighted in open literature [1416]. However, the use of AD-844 inbuilt models does serve the purpose of presenting the expected results of the proposed circuits, when built around commercially available chips. Figure 10 shows one such result obtained using AD-844 models for the modified circuit of Figure 8, where input (100 KHz) and threshold levels ( V,  V) are seen in the first plot, and the second one shows the output with three distinct levels. The nature of result matches well with the result obtained using EXCCCII based circuit of Figure 7, the differences in voltage levels being attributed to the biasing voltage used. This further confirms the validity of the proposals made in the paper. Thus, the new current conveyor based circuits add to the already available knowledge on the design and applications of current conveyors [15].

7. Conclusion

This paper presents a new window comparator/detector circuit based on a new current conveyor, namely, Extra-X Current Controlled Conveyor and two diodes. The circuit’s workability is shown through good results, for detecting voltage windows as small as 50 mV and as high as 1 V. Another modified circuit is further proposed which not only detects the desired window, but also provides binary levels of distinct polarity, making it useful as feedback for automatic control in industrial and commercial applications.

Competing Interests

Author declares no conflict of interests.