['electroncircuits.blogspot.com'];
Showing posts with label Filters and Oscillators. Show all posts
Showing posts with label Filters and Oscillators. Show all posts

Comparator Based Crystal Oscillator

Although a simple crystal oscillator may be built from one comparator of an LT1720/LT1721, this will suffer from a number of inherent shortcomings and design problems. Although the LT1720/LT1721 will give the correct logic output when one input is outside the common mode range, additional delays may occur when it is so operated, opening the possibility of spurious operating modes. Therefore, the DC bias voltages at the inputs have to be set near the center of the LT1720/LT1721’s common mode range and a resistor is required to attenuate the feedback to the non-inverting input. Unfortunately, although the output duty cycle for this circuit is roughly 50%, it is affected by resistor tolerances and, to a lesser extent, by comparator offsets and timings.
Comparator Based Crystal Oscillator
If a 50% duty cycle is required, the circuit shown here creates a pair of complementary outputs with a forced 50% duty cycle. Crystals are narrow-band elements, so the feedback to the non-inverting input is a filtered analogue version of the square-wave output. The crystal’s path provides resonant positive feedback and stable oscillation occurs. Changing the non-inverting reference level can vary the duty cycle. The 2k-680Ω resistor pair sets a bias point at the comparator + (Comparator IC1a) and – (Comparator IC1b) input. At the complementary input of each comparator, the 2k-1.8k-0.1µF path sets up an appropriate DC average level based on the output.
IC1b creates a complementary output to IC1a by comparing the same two nodes with the opposite input. IC2 compares band-limited versions of the outputs and biases IC1a’s negative input. IC1a’s only degree of freedom to respond is variation of pulse width; hence the outputs are forced to 50% duty cycle. The circuit operates from 2.7V to 6V. When ‘scoping the oscillator output signal, a slight dependence on comparator loading, will be noted, so equal and resistive loading should be used in critical applications. The circuit works well because of the two matched delays and rail-to-rail outputs of the LT1720.

A Simple Function Generator

Simple triangle-wave generators have a weakness in that the waveform of their output signal normally cannot be modified. The circuit presented here makes it possible to smoothly alter the waveform of a linearly rising and steeply trailing saw-tooth signal through a symmetrical triangle-wave to a slowly trailing, steeply rising linear sawtooth. The wanted waveform may be selected independently of the frequency, which can also be varied uniformly from 0.2 Hz to 8 kHz. At the same time, a rectangular signal with variable duty cycle (also independent of frequency) is available at the rectangular-signal output of the circuit.
Simple_Function_Generator_Circuit_Diagram1 
The circuit consists of integrator IC1b, whose output is applied to comparator IC1c. The output of the comparator is a rectangular signal The output of IC1b is raised by amplifier IC1d to a level that allows the full output voltage range of the operational amplifier to be used. Op amp IC1a provides a stable virtual earth, whose level is set to half the supply voltage with P1. The smooth setting of the frequency is made possible by feedback of part of the output of the comparator to the input of the integrator via P2. This preset is usually not provided in standard triangle-wave generators. Network D1-R1-D2-R2-P3 makes it possible to give integrator capacitor C3 different charging and discharge times.
This arrangement enables the output signal at A1 and the duty cycle of the rectangular wave signal at A2 to be varied. Varying the amplification factor with P5 has no effect on the frequency set with P2. The slope of the signal edges, the transient responses, and the output voltage range (rail-to-rail or with some voltage drop) depend on the type of op amp used. The TL084 used in the prototype offers a good compromise between price and meeting the wanted parameters. The circuit is best built on a small piece of prototyping board. The circuit draws a current of not more than 12 mA.
Brief parameters:
Provides triangle-wave, sawtooth or rectangular signal
Waveform variable independently of frequency (triangle wave and sawtooth)
Duty cycle of rectangular signal can be set independently of frequency
Applications:
Test and measurement
Pulse-width control
Summary of preset action:
P1 – sets virtual earth to a level equal to Ucc/2;
P2 – sets the frequency;
P3– sets the waveform;
P4 – sets the hysteresis of the comparator (frequency and amplitude of the triangle-wave signal)
P5 – sets the amplification of the triangle-wave and sawtooth signals.

HQ Notch Filter Without Close-Tolerance Components

A notch for a narrow frequency band of a few per cent or even less normally requires close-tolerance components. At least, that’s what we thought until we came across a special opamp IC from Maxim. In filters with steep slopes, the component tolerances will interact in the complex frequency response. This effect rules out the use of standard tolerance components if any useful result is to be achieved. The circuit shown here relocates the issue of the value-sensitive resistors that determine the filter response from ‘visible’ resistors to ready available integrated circuits which also make the PCB layout for the filter much simpler. The operational amplifiers we’ve in mind contain laser-trimmed resistors that maintain their nominal value within 1‰ or less. For the same accuracy, the effort that goes into matching individual precision resistors would be far more costly and time consuming. The desired notch (rejection) frequency is easily calculated for both R-C sections shown in Figure 1.

High-Q_Notch_filter-circuit-diagramw

Figure 1. Special opamps incorporating laser-trimmed resistors.

Dividing the workload:

The circuit separates the amplitude and frequency domains using two frequency-determining R-C networks and two level-determining feedback networks of summing amplifier IC2, which suppresses the frequency component to be eliminated from the input signal by simple phase shifting. IC1 contains two operational amplifiers complete with a feedback network. The MAX4075 is available in no fewer than 54 different gain specifications ranging from 0.25 V/V to 100 V/V, or +1.25 V/V to 101 V/V when non-inverting. The suffix AD indicates that we are employing the inverting version here (G = –1). These ICs operate as all-pass filters producing a phase shift of exactly 180 degrees at the roll-off frequency f0. The integrated amplifier resistors can be trusted to introduce a gain variation of less than 0.1 %.

They are responsible for the signal level (at the notch frequency) which is added to the input signal by IC2 by a summing operation. However, they do not affect the notch frequency proper — that is the domain of the two external R-C sections which, in turn, do not affect the degree of signal suppression. In general, SMDs (surface mount devices) have smaller production tolerance than their leaded counter-parts. Because the two ICs in this circuit are only available in an 8-pin SOIC enclosure anyway, it seems logical to employ SMDs in the rest of the circuit as well. Preset P1 allows the filter to be adjusted for maximum rejection of the unwanted frequency component.

High_Q_Notch_filter-circuit-diagram1

Figure 2. This deep notch is within reach using just 5%-tolerance resistors and 20%-tolerance capacitors.

R-C notch filter:

Using standard-tolerance resistors for R1 and R2 (i.e., 1%, 0806 style) and 10%-tolerance capacitors for C1 and C2 (X7R ceramic) an amount of rejection better than that shown in Figure 2 may be achieved. The notch frequency proper may be defined more accurately by the use of selected R-C sections. Pin 3 of IC2 receives a signal that’s been 90-degrees phase shifted twice at the notch frequency, while pin 1 is fed with the input signal. These two signals are added by way of the two on-chip resistors. IC2 is a differential precision operational amplifier containing precision resistor networks trimmed to an error not exceeding ±0.2‰. Here, it is configured as a modified summing amplifier with its inverting input, pin 2, left open.

Table_High-Q_Notch_filter-circuit-diagramt

For frequencies considerably lower than the resonance frequency f0 = 1 / (2 π R C) the capacitors present a high impedance, preventing the inverting voltage followers from phase-shifting the signal. At higher frequencies than f0, each inverting voltage follower shifts its input signal by 180 degrees, producing a total shift of 360 degrees which (electrically) equals 0 degrees. The phases of each all-pass filter behave like a simple R-C pole, hence shift the signal at the resonance frequency by 90 degrees each. The three precision amplifier ICs can handle signals up to 100 kHz at remarkably low distortion. The supply voltage may be anything between 2.7 V and 5.5V. Current consumption will be of the order of 250µA.

Source : www.extremecircuits.net

Baud Rate Generator

In this article, an RC oscillator is used as a baud rate generator. If you can calibrate the frequency of such a circuit sufficiently accurately (within a few percent) using a frequency meter, it will work very well. However, it may well drift a bit after some time, and then…. Consequently, here we present a small crystal-controlled oscillator. If you start with a crystal frequency of 2.45765 MHz and divide it by multiples of 2, you can very nicely obtain the well-known baud rates of 9600, 4800, 2400, 600, 300, 150 and 75. If you look closely at this series, you will see that 1200 baud is missing, since divider in the 4060 has no Q10 output!

Baud Rate Generator Circuit Diagramv

If you do not need 1200 baud, this is not a problem. However, seeing that 1200 baud is used in practice more often than 600 baud, we have put a divide-by-two stage in the circuit after the 4060, in the form of a 74HC74 flip-flop. This yields a similar series of baud rates, in which 600 baud is missing. The trimmer is for the calibration purists; a 33 pF capacitor will usually provide sufficient accuracy. The current consumption of this circuit is very low (around 1mA), thanks to the use of CMOS components.

Very Low Power 32kHz Oscillator

The 32-kHz low-power clock oscillator offers numerous advantages over conventional oscillator circuits based on a CMOS inverter. Such inverter circuits present problems, for example, supply currents fluctuate widely over a 3V to 6V supply range, while current consumption below 250 µA is difficult to attain. Also, operation can be unreliable with wide variations in the supply voltage and the inverter’s input characteristics are subject to wide tolerances and differences among manufacturers. The circuit shown here solves the above problems. Drawing just 13 µA from a 3V supply, it consists of a one-transistor amplifier/oscillator (T1) and a low-power comparator/reference device (IC1).

Circuit diagram:

very-low-power-32khz-oscillator-circuit-diagram Very Low Power 32kHz Oscillator Circuit Diagram

The base of T1 is biased at 1.25 V using R5/R4 and the reference in IC1. T1 may be any small-signal transistor with a decent beta of 100 or so at 5 µA (defined here by R3, fixing the collector voltage at about 1 V below Vcc). The amplifier’s nominal gain is approximately 2 V/V. The quartz crystal combined with load capacitors C1 and C3 forms a feedback path around T1, whose 180 degrees of phase shift causes the oscillation. The bias voltage of 1.25 V for the comparator inside the MAX931 is defined by the reference via R2. The comparator’s input swing is thus accurately centred around the reference voltage.
Operating at 3 V and 32 kHz, IC1 draws just 7 µA. The comparator output can source and sink 40 mA and 5 mA respectively, which is ample for most low-power loads. However, the moderate rise/fall times of 500 ns and 100 ns respectively can cause standard, high-speed CMOS logic to draw higher than usual switching currents. The optional 74HC14 Schmitt trigger shown at the circuit output can handle the comparator’s rise/fall times with only a small penalty in supply current.

Author: D. Prabakaran - Copyright: 2004 Elektor

Voice Bandwidth Filter

This circuit passes frequencies in the 300Hz - 3.1kHz range, as present in human speech. The circuit consists of cascaded high-pass and low-pass filters, which together form a complete band-pass filter. One half of a TL072 dual op amp (IC1a) together with two capacitors and two resistors make up a second-order Sallen-Key high-pass filter. With the values shown, the cut-off frequency (3dB point) is around 300Hz. As the op amp is powered from a single supply rail, two 10kO resistors and a 10µF decoupling capacitor are used to bias the input (pin 5) to one-half supply rail voltage.

Circuit diagram:

voice-bandwidth-filter-circuit-diagram Voice Bandwidth Filter Circuit Diagram

The output of IC1a is fed into the second half of the op amp (IC1b), also configured as a Sallen-Key filter. However, this time a low-pass function is performed, with a cut-off frequency of about 3.1kHz. The filter component values were chosen for Butterworth response characteristics, providing maximum pass-band flatness. Overall voltage gain in the pass-band is unity (0dB), with maximum input signal level before clipping being approximately 3.5V RMS. The 560O resistor at IC1b's output provides short-circuit protection.

Author: M. Sharp - Copyright: Silicon Chip Electronics