Showing posts with label –. Show all posts
Showing posts with label –. Show all posts
Monday, January 26, 2015
Basics of Schmitt Trigger Circuits – Part 3
All Schmitt triggers are active devices relying on positive feedback to achieve their hysteresis action. The output goes to high whenever the input rises above a certain preset upper threshold limit, and goes to low whenever the input drops below a lower threshold limit.
The output retains its previous value (low or high), when the input is between the two threshold limits. This type of circuit is often used to clean up noisy signals, and convert an analogue waveform into a digital waveform (1’s and 0’s) with clean, fast edge transitions.
There are three methods typically used in implementing positive feedback to form a Schmitt trigger circuit. These methods are Parallel Feedback, Series Feedback, and Internal Feedback, and are discussed as follows. The parallel and series feedback techniques are actually dual versions of the same feedback circuit type.
Parallel Feedback
A parallel feedback circuit is sometimes called a modified input voltage circuit. In this circuit, the feedback is added directly to the input voltage, and does not affect the threshold voltage. As the feedback is added to the input when the output changes state, the input voltage has to shift by a greater amount in the opposite direction to cause further change in output.
If the output is low, and the input signal increases to the point where it crosses the threshold voltage and the output changes to high. Part of this output is applied directly to the input through a feedback loop, which “helps” the output voltage stay in its new state. This effectively increases the input voltage, which has same effect as lowering the threshold voltage. The threshold voltage itself is not changed, but the input now has to move farther in the downward direction to change the output to a low state. Once the output is low, this same process repeats itself to get back to the high state.
This circuit does not have to use a differential amplifier, as any single-ended non-inverting amplifier will work. Both the input signal and the output feedback are applied to the non-inverting input of the amplifier through resistors, and these two resistors form a weighted parallel summer. If there is an inverting input, it is set to a constant reference voltage. Examples of parallel feedback circuits are a collector-base coupled Schmitt trigger circuit or a non-inverting op-amp circuit, as shown:

Series Feedback
A dynamic threshold (series feedback) circuit operates in basically the same way as a parallel feedback circuit, except that the feedback from the output directly changes the threshold voltage instead of the input voltage. The feedback is subtracted from the threshold voltage, which has the same effect as adding feedback to the input voltage. As soon as the input crosses the threshold voltage limit, the threshold voltage changes to the opposite value. The input now has to change to a greater extent in the opposite direction to change the output state again.
The output is isolated from the input voltage and only affects the threshold voltage. Therefore, the input resistance can be made much higher for this series circuit compared to a parallel circuit.
This circuit is usually based on a differential amplifier where the input is connected to the inverting input and the output is connected to the non-inverting input through a resistor voltage divider. The voltage divider sets the threshold values, and the loop acts like a series voltage summer. Examples of this type are the classic transistor emitter-coupled Schmitt trigger and an inverting op-amp circuit, as shown here:

Internal Feedback
In this configuration, a Schmitt trigger is created by using two separate comparators (without hysteresis) for the two threshold limits. The outputs of these comparators are connected to the set and reset inputs of an RS flip-flop. The positive feedback is contained within the flip-flop, so there is no feedback to the comparators. The output of the RS flip-flop toggles high when the input goes above the upper threshold, and toggles low when the input goes below the lower threshold. When the input is between upper and lower thresholds, the output retains its previous state.
An example of a device that uses this technique is the 74HC14 made by NXP Semiconductors and Texas Instruments. This part consists of an upper threshold comparator and a lower threshold comparator, which are used to set and reset an RS flip-flop. The 74HC14 Schmitt trigger is one of the most popular devices for interfacing real world signals with digital electronics. The two threshold limits in this device are set at a fixed ratio of Vcc. This minimises the part count and keeps the circuit simple, but sometimes the threshold levels need to be changed for different kinds of input signal conditions. For example, the input signal range might be smaller than the fixed hysteresis voltage range. The threshold levels can be changed in the 74HC14 by connecting a negative feedback resistor from the output to input, and another resistor connecting the input signal to the input. This effectively reduces the fixed 30% positive feedback to some lower value, such as 15%. It is important to use high-value resistors for this (Mega-Ohm range) in order to keep the input resistance high.

Saturday, October 18, 2014
Circuit diagram 500mW FM PLL transmitter 88 108MHz using LMX3206 – PIC16F870
Circuit diagram 500mW FM PLL transmitter 88-108MHz using LMX3206 – PIC16F870
Circuit diagram 500mW FM PLL transmitter 88-108MHz
500mW PLL FM transmitter 88-108MHz
This PLL transmitter is controlled and the frequency is very stable and can be programmed digitally.
Transmitter will work 88-108 MHz and output power up to 500mW.
With a small change can set the frequency of 50-150 MHz.
The output power is often set to several watts with transistors.
So therefore I decided to build a simple transmitter with great performances.
The frequency of this transmitter can easily be changed by software and space / compress air coil.
This transmitter is the oscillator colpitts. Oscillator is a VCO (voltage controlled oscillator) which is set by the PLL circuit and PIC micro controller.
This oscillator is called the Colpitts oscillator and voltage controlled to achieve the FM (frequency modulation) and PLL control. T1 must be HF transistors to work well, but in this case I use a cheap and common BC817 transistor. LC tank oscillator needs to oscillate properly.
In this case the LC tank consists of L1 with the C1, C2, C3, and varicap BB139.
Coil parallel to the C1 and C2 in series. The same with the varicap and C3.
You may think that L is parallel to the [(C1 / / C2) + (Varicap / / C3)]
C3 will determine the value range VCO. Large value of C3 will be broader in the range VCO can be.
PLL and Microcontroller
Oscillator is made to work as a “Voltage Controlled Oscillator” VCO.
To control the frequency synthesizer circuit LMX 2306 has been added. The PLL circuit has a pickup coil (L2) is connected to pin 6.
This coil should be placed close to the coil L1 to take some of the energy oscillates.
The LMX2306 PLL in to use this frequency to adjust and lock the VCO to the desired frequency.
Systems also need to set the external reference crystal. In this case I use 12.8 MHz.
pin2 of MX2306 you will find the PLL filter to form a VM that is set voltage of the VCO.
The PLL tries to arrange so that the oscillator frequency Fout kept locked to the desired frequency.
The desired frequency programmed into the PIC EEPROM and clocked into the synthesizer (LMX2306) at power up.
I will below explain how to program the EEPROM to different frequencies.
In the pin14 of your synthesizer control output. In this output you will find a reference frequency for testing.
(I must warn you that the signal is not symmetrical in form. Pulsa positive only a few microseconds, so you will be hard to see on the oscilloscope.) I solved by connecting it to 74HC4020 (14-stage Binary Counter) to input pin 10 Hours. In Q0 (pin 9) you will have a symmetrical square wave with a frequency half since the circuit is a table. In Q1 pin 7 will be divided by 4, see data sheet for more information.
LF input
You want to send audio must be connected to the audio input (left schematic).
Will affect the signal and thus modulate the FM varicap RF carrier frequency.
A potentiometer P1 was added to adjust the depth of modulation (FM Wide or Narrow FM). You may have to play a bit with a value of P1 because it tends to modulate the lot. You may need to add the 500k – 1M potentiometer only. You test and find out for himself.
Buffer stage
Here you find other HF transistors and work in the class C.
Resistor R1 and resistor Re2 regulate the flow of DC. In this case I find that 9.1k will give a good output power and thus equal to 150. If you want to increase the power should be lower Re2. You can add another 150 ohm resistor in parallel.
In the table below I’ll show the output power with different voltages and resistor values of Re2.
I advice you to not run the transmitter with a high output power. Transistor I use is small and tends to be hot.
I advice you to run the unit from the 0 – to 200mW. At the transistor will 500mW pain …* smiles *
At the output you will find a network T. This “filter” will match the transmitter to the antenna impedance output stage.
You have two variables 60pF capacitors to tune the transmitter for best performance.
The antenna I use I a 1 / 4 wave whip antenna (wire) about 75cm long.
Smaller antenna types, but not so good performance as a dipole.
With a dipole you will be more long distance transmitter.
How long can I pass?
It is a very difficult question because the environment affects the transmission distance is very much.
In a city environment with concrete buildings transmitter will send maybe 200m.
I will send a proposed open 2000m.
I did the test and filed with 70mW output power into a “bad” whip antenna is placed in the room I can send 200-300m to a park without a problem.
Subscribe to:
Posts (Atom)
