|
| ( 01 Dec 2003 ) |
| Saurav Gupta, New Delhi, India |
|
This Design Idea presents a versatile filter circuit for low-power-con-sumption instrumentation that you can program from your PC using the parallel port. The circuit uses analog switches and latches instead of digital potentio-meters for the digital control (Figure 1 and Figure 2). By running simple software code on the PC, you can configure a single robust design to work as a lowpass, high-pass, or bandpass filter, and you can also select the desired center frequency, v0 (Listing 1). Unlike a similarly controllable design (Reference 1), this design is a single-output-at-a-time filter. Many power-sensitive systems do not require simultaneous-filter functions.

 The design exploits the fact that a series RLC resonator can provide various filter functions with its elements. Because the design is based on an RLC section, it is trivial to convert the design into a PC-controlled resonator. In Figure 1, the inductor, LP, is implemented as a PC-controlled synthesized inductor. The value of the inductor is LP=C2RPR3R5/R2. Here, RP can assume any of 15 possible values, depending upon the state of switches S1 through S4 (determined by PC-port data bits D2 through D5).

The expression for the frequency is v0= (R2/C1RPR3R5)1/2. You can thus effectively select 15 frequency values. (This design uses 12 values of practical interest.) Data bits D6 through D9 from the PC's parallel port set the state of analog switches S5 through S8. The state of the switches determines the type of filter.

Figure 3 shows the software-generated display for the circuit. This design uses a 9.93kHz bandpass filter for demonstration and testing. Increasing the number of analog switches can provide a wider range. Moreover, you could use additional switches for gain programmability. The 74573 latch provides the interface to the PC. Table 1 shows the port/switch settings for a few frequency and filter-type selections. Note that the analog switches (DG308) have a finite operating on-resistance of approximately about 110˝; you must take this resistance into account when you calculate the center frequency. For precision instrumentation, other switches are available with operating on-resistances as low as 30 to 50˝. You can download Listing 1 from the Web version of this Design Idea at www.ednasia.com.
Reference Gupta, Saurav, and Tejinder Singh, "PC-based configurable filter uses no digital potentiometers," EDN, Jan 23, 2003, pg 76 |
| |
|
|
|
|
| |
|
|
Average Rate:
No rating yet |
| |
| |
|
|
|
|
| |
|
|
| |
|
|
| 9/5/2012 |
|
| 24/4/2012 |
|
| 23/4/2012 |
|
| |
|
|
|
|
|
|
|
| |
|
| |
|
| 30/3/2012 |
|
| 22/3/2012 |
|
| 1/3/2012 |
|
| |
|
|
|
|
|