Monday 15 September 2014

Microphones, speakers and headphones

Microphones, speakers and headphones are components commonly used as the input and output devices of many circuits. A microphone converts sound waves into electrical signals that closely follow the waveform of the sound being received. This signal is then amplified by the circuit and transformed into a sound by a speaker or headphone.  The symbols for these components are shown on 8.1.
8.1 Microphones
There are several different types of microphone: carbon, dynamic, crystal, capacitive (electret). Carbon microphones were one of the first to be invented and were used mainly in telephone applications. But they are very noisy as the carbon granules rattle when the microphone is moved and this type is being replaced by more advanced types.




















Dynamic microphones are in  wide use and their quality of reproduction is superb. They are used in the recording industry for music and speech where high fidelity is required. Basically they are exactly the same as a speaker, the only difference being the size. But their only limitation is the very low output. The internal structure is shown in figure 8.2. A paper cylinder, onto which fine copper wire is wound, is connected to a membrane which moves under the force of sound pressure created by the sound source. This coil is in a narrow gap with a high magnetic field created by a permanent magnet. When the coil moves in this magnetic field, it produces a voltage identical to the sound causing the movement.
Because of the low resistance (impedance) of a dynamic microphone, it usually needs a transformer so it can be connected to an amplifier (called a pre-amp). This transformer is usually built into the microphone's case, but if is absent, it is necessary to connect the microphone to a preamplifier with low input resistance.
Crystal microphones contain a crystal called a "piezo crystal" that is connected to a small diaphragm. When sound waves hit the diaphragm, the crystal changes shape and it produces a voltage. This voltage is passed to an amplifier.

Recently, electret microphones have improved in quality and taken over from nearly all other types of microphone. They are small, rugged, low in price and produce a very high quality output.
The shape, size and characteristics are shown in 8.3.
The microphone contains a Field Effect Transistor, which means it needs a DC voltage for it to operate. Figure 8.3d shows how an electret mic is connected to a circuit. It needs a "load resistor" to limit the current to the FET and the output is taken across this resistor. That's the technical way of saying the output is taken from the point where the resistor meets the FET.
8.2 Speakers
Speakers vary enormously in size and shape. They can be designed as crystal or capacitive, but most often they are dynamic (called electro-dynamic construction).
The cross-section of an electro-dynamic speaker is shown in 8.4. Ferrite rings (2, 3 and 4) are added to a large permanent magnet (1) which creates a strong magnetic field in the narrow gap between magnets North and South poles. A Cylindrical former is added to the gap and it holds coil (5). The ends of the coil are taken to the outside of the speaker.





















The two most important characteristics of a speaker are its resistance (we actually call the resistance of a speaker IMPEDANCE as the value is determined at a frequency of 1kHz and the value is higher than its actual resistance) and its wattage. Common impedances are 4, 8 and 16 ohm, but there are also 1.5, 40 and 80 ohm speakers. Speaker wattages range from a fraction of a watt to hundreds of watts.
When choosing a speaker, it is advisable to choose the largest speaker possible as they are more efficient and produce the least distortion especially in the low frequency range.  Speakers should be housed in a large box since it functions as a resonating chamber and this greatly adds to the overall quality of the sound.
8.3 Headphones

There are several types of headphone: crystal and electromagnetic. The electromagnetic type is the most commonly used. They functioning in the same way as speakers, with obvious differences in construction, since they are intended for much lower power. Their main characteristic is their resistance (impedance), from a few ohms to a few thousand ohms.














The cross section of an electromagnetic headphone is shown in 8.5. It consists of a horseshoe magnet with poles that hold two coils. These are connected in series. The diaphragm is a thin steel plate. When current flows through the coils, the diaphragm is pulled towards the coils. This moves the air and the result is heard as a faithful reproduction.

8.4 Examples
The schematic of a very simple FM radio-transmitter is shown in figure 8.6. It uses an electret microphone and transmits on a frequency between 88MHz and 108MHz.
The transistor, coil L, trimmer capacitor Ct, capacitor C3 and resistors R2, R3 and R4 creates an oscillator with a frequency determined by:



















































In this equation CCB represents the capacitance between the collector and the base. The value of this capacitance depends on the voltage on the base. The higher the voltage, the lower the capacitance and vice versa. The voltage on the base is constant while there is no sound, which means the frequency of the oscillator is constant. When the microphone picks up a sound, it is passed to the base of the transistor via C1. This causes the frequency of the oscillator to change and that's why the circuit is called FREQUENCY MODULATED (FM). 
To transmit on a frequency away from any other radio station, a trim cap is included. The transmitter has a range up to 200 metres, depending on the length of the antenna and where it is placed. Ideally, the antenna should be vertical and as high as possible.
The antenna can be as long as 3 metres but 180cm will work very well.
Coil L is made by winding 6 turns of 1mm enameled wire on a 6mm dia drill bit. This coil can be stretched of squashed to adjust the operating frequency of the circuit and the trimmer will fine tune the frequency.
High Fidelity (or Hi-Fi) sound reproduction is the main purpose for using good-quality speakers. They are used in  radios, TV's, cassette players, CD players, etc. The speakers are housed in speaker boxes and use at least two speakers. This is because no individual speaker is capable of reproducing the full range of frequencies. A speaker with a large cone is called a "Woofer" and will reproduce the low frequencies. A speaker with a small cone is called a "tweeter" and will reproduce the high frequencies. Together, they will reproduce the full range of between 30Hz and 15kHz.
The difficulty is now to detect the low or high frequency and divert the correct frequency to the particular speaker. This is the job of a cross-over network. In the figure 8.7 an inductor L1 passes the low frequencies to speaker Z1 and capacitor C1 passes the high frequencies to speaker Z2.  Z1 reproduces frequencies from 30Hz to 800Hz and Z2 reproduces sounds with frequencies from 800Hz to 15kHz.

Headphones are most commonly used with portable devices, such as radio receivers, cassette players, CD walkmans, mp3 players, etc. Headphones produce a very high quality reproduction. All modern devices have an audio-amplifier. It usually employs an integrated circuit and most of these are designed for 32 ohm headphones. There are also 8 ohm and 16 ohm headphones.
The schematic of a AM portable radio is shown in figure 8.8. It's built around the ZN416 integrated circuit. The output is connected to two serially connected 32 ohm headphones, with overall resistance of 64 ohms.





















It is possible to connect the radio receiver in figure 8.8 to amplifier in figure 7.3 to produce a radio with speaker output.




Thyristors, triacs, diacs



There are several thyristors displayed on 6.1. Triacs look the same, while diacs look like small power rectifying diodes. Their symbols, and pin-out is found in figure 6.2.




Fig. 6.1: Several thyristors and triacs
A thyristor is an improved diode. Besides anode (A) and cathode (k) it has another lead which is commonly described as a gate (G), as found on picture 6.2a. The same way a diode does, a thyristor conducts current when the anode is positive compared to the cathode, but only if the voltage on the gate is positive and sufficient current is flowing into the gate to turn on the device. When a thyristor starts conducting current into the gate is of no importance and thyristor can only be switched off by removing the current between anode and cathode. For example, see figure 6.3. If S1 is closed, the thyristor will not conduct, and the globe will not light. If S2 is closed for a very short time, the globe will illuminate. To turn off the globe, S1 must be opened. Thyristors are marked in some circuits as SCR, which is an acronym for Silicon Controlled Rectifier.
A triac is very similar to a thyristor, with the difference that it can conduct in both directions. It has three electrodes, called anode 1 (A1), anode 2 (A2), and gate (G). It is used for regulation of alternating current circuits. Devices such as hand drills or globes can be controlled with a triac.

Thyristors and triacs are marked alphanumerically, KT430, for example.
Low power thyristors and triacs are packed in same housings as transistors, but high power devices have a completely different housing. These are shown in figure 6.1. Pin-outs of some common thyristors and triacs are shown in 6.2 a and b.
Diacs (6.2c), or two-way diodes as they are often referred to, are used together with thyristors and triacs. Their main property is that their resistance is very large until voltage on their ends exceeds some predefined value. When the voltage is under this value, a diac responds as a large value resistor, and when voltage rises it acts as a low value resistor.

Fig. 6.2: Symbols and pin placements for: a - thyristor, b - triac, c - diac


Fig. 6.3: Thyristor principle of work
6.1 Practical examples
Picture 6.5 detects when light is present in a room.  With no light, the photo-transistor does not conduct. When light is present, the photo-transistor conducts and the bell is activated. Turning off the light will not stop the alarm. The alarm is turned off via S1.

Fig. 6.5: Alarm device using a thyristor and a photo-transistor
A circuit to flash a globe is shown in figure 6.6  This circuit flashes a 40w globe several times per second. Mains voltage is regulated using the 1N4004 diode. The 220u capacitor charges and its voltage rises. When this voltage reaches the design-voltage of the the diac (20v), the capacitor discharges through the diac and into the triac. This switches the triac on and lights the bulb for a very short period of time, after a period of time (set by the 100k pot), the capacitor is charged again, and the whole cycle repeats. The 1k trim pot sets the current level which is needed to trigger the triac.

Fig. 6.6: Flasher
A circuit to control the brightness of a globe or the speed of a motor is shown in figure 6.7

Fig. 6.7: Light bulb intensity or motor speed controller
If the main use for this circuit is to control the brightness of a light bulb, RS and CS are not necessary.

Diodes

As with transistors, diodes are fabricated from semi-conducting material. So, the first letter in their identification is A for germanium diode or B for silicon diode. They can be encased in glass, metal or a plastic housing. They have two leads: cathode (k) and an anode (A). The most important property of all diodes is their resistance is very low in one direction and very large in the opposite direction.
When a diode is measured with a multimeter and it reads a low value of ohms, this is not really the resistance of the diode. It represents the voltage drop across the junction of the diode. This means a multimeter can only be used to detect if the junction is not damaged. If the reading is low in one direction and very high in the other direction, the diode is operational.

When a diode is placed in a circuit and the voltage on the anode is higher than the cathode, it acts like a low value resistor and current will flow.
If it is connected in the opposite direction it acts like a large value resistor and current does not flow.
In the first case the diode is said to be "forward biased" and in the second case it is "reverse biased."

Figure 5.1 shows several different diodes:

Fig. 5.1: Several different types of diodes
The diodes above are all single diodes, however 4 diodes are available in a single package. This is called a BRIDGE or BRIDGE RECTIFIER. Examples of a bridge are shown in the diagram below:
You must be able to identify each of the 4 leads on a bridge so that it can be inserted into a circuit around the correct way. The surface-mount device above is identified by a cut @ 45° along one side.  The leaded bridge has one leg longer than the others and the top is marked with AC marks and "+." The high-current bridge has a corner cut off and the other surface-mount device has a cut or notch at one end.
These devices are added to a circuit as shown in the next diagram:
The 4 diodes face the same direction and this means a single diode can be shown on the circuit diagram:
Symbols in 5.2 show a number of diodes. There are a number of specially-designed diodes: for high current, high-speed, low voltage-drop, light-detection, and varying capacitance as the voltage is altered. Most diodes are made from silicon as it will withstand high temperature, however germanium is used if a low voltage-drop is required. There is also a light emitting diode called a LED, but this is a completely different type of diode.

Fig. 5.2: Diode symbols: a - standard diode, b - LED,
c, d - Zener, e - photo, f,g - tunnel, h - Schottky, i - breakdown,
j - capacitative
LEDs (Light Emitting Diodes) are constructed from a crystalline substance that emits light when a current flows through it. Depending on the crystalline material: red, yellow, green, blue or orange light is produced. The photo below shows some of the colours hat can be produced by LEDs:
It is not possible to produce white light from any of these materials, so a triad of red, blue and green is placed inside a case and they are all illuminated at the same time to produce white light. Recently, while light has been produced from a LED by a very complex and interesting process that can be found on Wikipedia:   http://en.wikipedia.org/wiki/LED

LEDs have a cathode and anode lead and must be connected to DC around the correct way. The cathode lead is identified on the body by a flat-spot on the side of the LED. The cathode lead is the shorter lead.

One of the most important things to remember about a LED is the characteristic voltage that appears across it when connected to a voltage. This does not change with brightness and cannot be altered.
For a red LED, this voltage is 1.7v and if you supply it with more than this voltage, it will be damaged.
The easy solution is to place a resistor on one lead as shown in the diagram below:
Click to operate circuit
The LED will allow the exact voltage to appear across it and the brightness will depend on the value of the resistor.


Zener diodes (5.2c and 5.2d) are designed to stabilize a voltage. Diodes marked as ZPD5.6V or ZPY15V have operating voltages of 5.6V and 15V.

Photo diodes (5.2e) are constructed in a way that they allow light to fall on the P-N connection. When there is no light, a photo diode acts as a regular diode. It has high resistance in one direction, and low resistance in opposite direction. When there is light, both resistances are low. Photo diodes and LEDs are the main items in an optocoupler (to be discussed in more detail in chapter 9).

Tunnel diodes (5.2f and 5.2g) are commonly used in oscillators for very high frequencies. 

Schottky diodes (5.2h) are used in high frequency circuits and for its low voltage drop in the forward direction.

Breakdown diodes (5.2i) are actually Zener diodes. They are used in various devices for protection and voltage regulation. It passes current only when voltage rises above a pre-defined value.

A Varicap diode (5.2j) is used instead of a variable capacitor in high frequency circuits. When the voltage across it is changed, the capacitance between cathode and anode is changed. This diode is commonly used in radio receivers, transceivers and oscillators.

The cathode of a low power diode is marked with a ring painted on the case, but it is worth noting that some manufacturers label the anode this way, so it is best to test it with a multimeter.

Power diodes are marked with a symbol engraved on the housing. If a diode is housed in a metal package, the case is generally the cathode and anode is the lead coming from the housing.
5.1 Diode identification
European diodes are marked using two or three letters and a number. The first letter is used to identify the material used in manufacturing the component (A - germanium, B - silicon), or, in case of letter Z, a Zener diode.
The second and third letters specify the type and usage of the diode. Some of the varities are:
A - low power diode, like the AA111, AA113, AA121, etc. - they are used in the detector of a radio receiver; BA124, BA125 : varicap diodes used instead of variable capacitors in receiving devices, oscillators, etc., BAY80, BAY93, etc. - switching diodes used in devices using logic circuits. BA157, BA158, etc. - these are switching diodes with short recovery time.
B - two capacitive (varicap) diodes in the same housing, like BB104, BB105, etc.
Y - regulation diodes, like BY240, BY243, BY244, etc. - these regulation diodes come in a plastic packaging and operate on a maximum current of 0.8A. If there is another Y, the diode is intended for higher current. For example, BYY44 is a diode whose absolute maximum current rating is 1A. When Y is the second letter in a Zener diode mark (ZY10, ZY30, etc.) it means it is intended for higher current.
G, G, PD - different tolerance marks for Zener diodes. Some of these are ZF12 (5% tolerance), ZG18 (10% tolerance), ZPD9.1 (5% tolerance).
The third letter is used to specify a property (high current, for example).
American markings begin with 1N followed by a number, 1N4001, for example (regulating diode), 1N4449 (switching diode), etc.
Japanese style is similar to American, the main difference is that instead of N there is S, 1S241 being one of them.

5.2 Diode characteristics
The most important characteristics when using power diodes is the maximum current in the forward direction (IFmax), and maximum voltage in the reverse direction (URmax).

The important characteristics for a Zener diode are Zener voltage (UZ),  Zener current (IZ) and maximum dissipation power (PD).

When working with capacitive diodes it is important to know their maximum and minimum capacitance, as well as values of DC voltage during which these capacitances occur.

With LEDs it is important to know the maximum value of current it is capable of passing. The natural characteristic voltage across a LED depends on the colour and starts at 1.7V for red to more than 2.4v for green and blue.
Current starts at 1mA for a very small glow and goes to about 40mA. High brightness LEDs and "power LEDs" require up to 1 amp and more. You must know the exact current required by the LED you are using as the wrong dropper resistor will allow too much current to flow and the LED will be damaged instantly.
The value of this resistors will be covered in another chapter.

Beside universal transistors TUN and TUP (mentioned in Chapter 4.4), there are universal diodes as well. They are marked with DUS (for universal silicon diode) and DUG (for germanium) on circuit diagrams.

DUS = Diode Universal Silicon     DUG = Diode Universal Germanium
5.3 Practical examples
The diagram of a power supply in figure (3.8) uses several diodes. The first four are in a single package, identified by B40C1500. This is a bridge rectifier.
The LED in the circuit indicates the transformer is working. Resistor R1 is used to limit the current through the LED and the brightness of the LED indicates the approximate voltage.
Diodes marked 1N4002 protect the integrated circuit.

Figure 5.3 below shows some other examples of diodes. The life of a globe can be increased by adding a diode as shown in 5.3a. By simply connecting it in series, the current passing through the globe is halved and it lasts a lot longer. However the brightness is reduced and the light becomes yellow. The Diode should have a reverse voltage of over 400V, and a current higher than the globe. A 1N4004 or BY244 is suitable.

A very simple DC voltage stabilizer for low currents can be made using 5.3c as a reference.

Fig. 5.3: a - using a diode to prolong the light bulb's life span, b - stair-light LED indicator,
c - voltage stabilizer, d - voltage rise indicator, e - rain noise synthesizer, f  - backup supply
Unstabilized voltage is marked "U", and stabilized with "UST." Voltage on the Zener diode is equal to UST, so if we want to achieve a stabilized 9V, we would use a ZPD9.1 diode. Although this stabilizer has limited use it is the basis of all designs found in power supplies.
We can also devise a voltage overload detector as sown in figure 5.3d. A LED indicates when a voltage is over a predefined value. When the voltage is lower than the operating voltage of the Zener, the zener acts as a high value resistor, so DC voltage on the base of the transistor is very low, and the transistor does not "turn on." When the voltage rises to equal the Zener voltage, its resistance is lowered, and transistor receives current on its base and it turns on to illuminate the LED. This example uses a 6V Zener diode, which means that the LED is illuminated when the voltage reaches that value. For other voltage values, different Zener diodes should be used. Brightness and the exact moment of illuminating the LED can be set with the value of Rx.
To modify this circuit so that it signals when a voltage drops below some predefined level, the Zener diode and Rx are swapped. For example, by using a 12V Zener diode, we can make a car battery level indicator. So, when the voltage drops below 12V, the battery is ready for recharge.
Figure 5.3e shows a noise-producing circuit, which produces a rain-like sound. DC current flowing through diode AA121 isn't absolutely constant and this creates the noise which is amplified by the transistor (any NPN transistor) and passed to a filter (resistor-capacitor circuit with values 33nF and 100k).

Figure 5.3f shows a battery back-up circuit.  When the "supply" fails, the battery takes over. 

Transistor

Transistors Transistors are active components and are found everywhere in electronic circuits. They are used as amplifiers and switching devices. As amplifiers, they are used in high and low frequency stages, oscillators, modulators, detectors and in any circuit needing to perform a function. In digital circuits they are used as switches. There is a large number of manufacturers around the world who produce semiconductors (transistors are members of this family of components), so there are literally thousands of different types. There are low, medium and high power transistors, for working with high and low frequencies, for working with very high current and/or high voltages. Several different transistors are shown on 4.1.

The most common type of transistor is called bipolar and these are divided into NPN and PNP types.
Their construction-material is most commonly silicon (their marking has the letter B) or germanium (their marking has the letter A). Original transistor were made from germanium, but they were very temperature-sensitive. Silicon transistors are much more temperature-tolerant and much cheaper to manufacture.

Fig. 4.1: Different transistors


Fig. 4.2: Transistor symbols: a - bipolar, b - FET, c -
MOSFET, d - dual gate MOSFET,
e - inductive channel MOSFET, f - single connection transistor
The second letter in transistor’s marking describes its primary use:
C - low and medium power LF transistor,
D - high power LF transistor,
F - low power HF transistor,
G - other transistors,
L - high power HF transistors,
P - photo transistor,
S - switch transistor,
U - high voltage transistor.

Here are few examples:
B-Silicon, C- Audio frequency amplifier – 547- Silicon Audio frequency 547
BD 139 – B-Silicon, D- Audio frequency power amplifier 139
AD 140 – A- Germanium, D- Audio frequency power amplifier 140


         

AC540 - germanium core, LF, low power,
AF125 - germanium core, HF, low power,
BC107 - silicon, LF, low power (0.3W),
BD675 - silicon, LF, high power (40W),
BF199 - silicon, HF (to 550 MHz),
BU208 - silicon (for voltages up to 700V),
BSY54 - silicon, switching transistor.
There is a possibility of a third letter (R and Q - microwave transistors, or X - switch transistor), but these letters vary from manufacturer to manufacturer.
The number following the letter is of no importance to users.
American transistor manufacturers have different marks, with a 2N prefix followed by a number (2N3055, for example). This mark is similar to diode marks, which have a 1N prefix (e.g. 1N4004).
Japanese bipolar transistor are prefixed with a: 2SA, 2SB, 2SC or 2SD, and FET-s with 3S:
2SA - PNP, HF transistors,
2SB - PNP, LF transistors,
2SC - NPN, HF transistors,
2SD - NPN, HF transistors.

Several different transistors are shown in photo 4.1, and symbols for schematics are on 4.2. Low power transistors are housed in a small plastic or metallic cases of various shapes. Bipolar transistors have three leads: for base (B), emitter (E), and for collector (C). Sometimes, HF transistors have another lead which is connected to the metal housing. This lead is connected to the ground of the circuit, to protect the transistor from possible external electrical interference. Four leads emerge from some other types, such as two-gate FETs. High power transistors are different from low-to-medium power, both in size and in shape.

It is important to have the manufacturer’s catalog or a datasheet to know which lead is connected to what part of the transistor. These documents hold the information about the component's correct use (maximum current rating, power, amplification, etc.) as well as a diagram of the pinout. Placement of leads and different housing types for some commonly used transistors are in diagram 4.3.

Fig. 4.3: Pinouts of some common packages
It might be useful to remember the pinout for TO-1, TO-5, TO-18 and TO-72 packages and compare them with the drawing 4.2 (a). These transistors are the ones you will come across frequently in everyday work.

The TO-3 package, which is used to house high-power transistors, has only two pins, one for base, and one for emitter. The collector is connected to the package, and this is connected to the rest of the circuit via one of the screws which fasten the transistor to the heat-sink.

Transistors used with very high frequencies (like BFR14) have pins shaped differently.
One of the breakthroughs in the field of electronic components was the invention of SMD (surface mount devices) circuits. This technology allowed manufacturers to achieve tiny components with the same properties as their larger counterparts, and therefore reduce the size and cost of the design. One of the SMD housings is the SOT23 package. There is, however, a trade-off to this, SMD components are difficult to solder to the PC board and they usually need special soldering equipment.

As we said, there are literally thousands of different transistors, many of them have similar characteristics, which makes it possible to replace a faulty transistor with a different one. The characteristics and similarities can be found in comparison charts. If you do not have one these charts, you can try some of the transistors you already have. If the circuit continues to operate correctly, everything is ok. You can only replace an NPN transistor with an NPN transistor. The same goes if the transistor is PNP or a FET. It is also necessary to make sure the pinout is correct, before you solder it in place and power up the project.
As a helpful guide, there is a chart in this chapter which shows a list of replacements for some frequently used transistors.
4.1 The working principle of a transistor
Transistors are used in analog circuits to amplify a signal. They are also used in power supplies as a regulator and you will also find them used as a switch in digital circuits.
The best way to explore the basics of transistors is by experimenting. A simple circuit is shown below. It uses a  power transistor to illuminate a globe. You will also need a battery, a small light bulb (taken from a flashlight) with properties near 4.5V/0.3A, a linear potentiometer (5k) and a 470 ohm resistor. These components should be connected as shown in figure 4.4a.

Fig. 4.4: Working principle of a transistor: potentiometer moves toward its upper position - voltage on the base increases - current through the base increases - current through the collector increases - the brightness of the globe increases.

Resistor (R) isn't really necessary, but if you don't use it, you mustn't turn the potentiometer (pot) to its high position, because that would destroy the transistor - this is because the DC voltage UBE (voltage between the base and the emitter), should not be higher than 0.6V, for silicon transistors.

Turn the potentiometer to its lowest position. This brings the voltage on the base (or more correctly between the base and ground) to zero volts (UBE = 0). The bulb doesn't light, which means there is no current passing through the transistor.

As we already mentioned, the potentiometers lowest position means that UBE is equal to zero.  When we turn the knob from its lowest position UBE gradually increases. When UBE reaches 0.6v, current starts to enter the transistor and the globe starts to glow. As the pot is turned further, the voltage on the base remains at 0.6v but the current increases and this increases the current through the collector-emitter circuit. If the pot is turned fully, the base voltage will increase slightly to about 0.75v but the current will increase significantly and the globe will glow brightly.


If we connected an ammeter between the collector and the bulb (to measure IC), another ammeter between the pot and the base (for measuring IB), and a voltmeter between the ground and the base and repeat the whole experiment, we will find some interesting data. When the pot is in its low position UBE is equal to 0V, as well as currents IC and IB. When the pot is turned, these values start to rise until the bulb starts to glow when they are: UBE = 0.6V, IB = 0.8mA and IB = 36 mA (if your values differ from these values, it is because the 2N3055 the writer used doesn't have the same specifications as the one you use, which is common when working with transistors).
The end result we get from this experiment is that when the current on the base is changed, current on the collector is changed as well.

Let's look at another experiment which will broaden our knowledge of the transistor. It requires a BC107 transistor (or any similar low power transistor), supply source (same as in previous experiment), 1M resistor, headphones and an electrolytic capacitor whose value may range between 10u to 100µF with any operating voltage.
A simple low frequency amplifier can be built from these components as shown in diagram 4.5.

Fig. 4.5: A simple transistor amplifier
It should be noted that the schematic 4.5a is similar to the one on 4.4a. The main difference is that the collector is connected to headphones. The "turn-on" resistor - the resistor on the base, is 1M. When there is no resistor, there is no current flow IB, and no Ic current. When the resistor is connected to the circuit, base voltage is equal to 0.6V, and the base current IB = 4µA. The transistor has a gain of 250 and this means the collector current will be 1 mA. Since both of these currents enter the transistor, it is obvious that the emitter current is equal to IE = IC + IB. And since the base current is in most cases insignificant compared to the collector current, it is considered that:
The relationship between the current flowing through the collector and the current flowing through the base is called the transistor's current amplification coefficient, and is marked as hFE. In our example, this coefficient is equal to:
Put the headphones on and place a fingertip on point 1. You will hear a noise. You body picks up the 50Hz AC  "mains" voltage. The noise heard from the headphones is that voltage, only amplified by the transistor. Let's explain this circuit a bit more. Ac voltage with frequency 50Hz is connected to transistor's base via the capacitor C. Voltage on the base is now equal to the sum of a DC voltage (0.6 approx.) via resistor R, and AC voltage "from" the finger. This means that this base voltage is higher than 0.6V, fifty times per second, and fifty times slightly lower than that. Because of this, current on the collector is higher than 1mA fifty times per second, and fifty times lower. This variable current is used to shift the membrane of the speakerphones forward fifty times per second and fifty times backwards, meaning that we can hear the 50Hz tone on the output.
Listening to a 50Hz noise is not very interesting, so you could connect to points 1 and 2 some low frequency signal source (CD player or a microphone).

There are literally thousands of different circuits using a transistor as an active, amplifying device. And all these transistors operate in a manner shown in our experiments, which means that by building this example, you're actually building a basic building block of electronics.


4.2 Basic characteristics of transistors
Selecting the correct transistor for a circuit is based on the following characteristics: maximum voltage rating between the collector and the emitter UCEmax, maximum collector current ICmax and the maximum power rating PCmax.
If you need to change a faulty transistor, or you feel comfortable enough to build a new circuit, pay attention to these three values. Your circuit must not exceed the maximum rating values of the transistor. If this is disregarded there are possibilities of permanent circuit damage. Beside the values we mentioned, it is sometimes important to know the current amplification, and maximum frequency of operation.
When there is a DC voltage UCE between the collector (C) and emitter (E) with a collector current, the transistor acts as a small electrical heater whose power is given with this equation:
Because of that, the transistor is heating itself and everything in its proximity. When UCE or ICE rise (or both of them), the transistor may overheat and become damaged. Maximum power rating for a transistor, is PCmax (found in a datasheet). What this means is that the product of UCE and IC should should not be higher than PCmax:
So, if the voltage across the transistor is increased, the current must be dropped.
For example, maximum ratings for a BC107 transistor are:
ICmax=100mA,
UCEmax = 45V and
PCmax = 300mW
If we need a Ic=60mA , the maximum voltage is:
For UCE = 30V, the maximum current is:
Among its other characteristics, this transistor has current amplification coefficient in range between hFE= 100 to 450, and it can be used for frequencies under 300MHz. According to the recommended values given by the manufacturer, optimum results (stability, low distortion and noise, high gain, etc.) are with UCE=5V and IC=2mA.
There are occasions when the heat generated by a transistor cannot be overcome by adjusting voltages and current. In this case the transistors have a metal plate with hole, which is used to attach it to a heat-sink to allow the heat to be passed to a larger surface.

Current amplification is of importance when used in some circuits, where there is a need for equal amplification of two transistors. For example, 2N3055H transistors have hFE within range between 20 and 70, which means that there is a possibility that one of them has 20 and other 70. This means that in cases when two identical coefficients are needed, they should be measured. Some multimeters have the option for measuring this, but most don't. Because of this we have provided a simple circuit (4.6) for testing transistors. All you need is an option on your multimeter for measuring DC current up to 5mA. Both diodes (1N4001, or similar general purpose silicon diodes) and 1k resistors are used to protect the instrument if the transistor is "damaged". As we said, current gain is equal to hFE = IC / IB. In the circuit, when the switch S is pressed, current flows through the base and is approximately equal to IB=10uA, so if the collector current is displayed in milliamps. The gain is equal to:
For example, if the multimeter shows 2.4mA,  hFE = 2.4*100 = 240.

Fig. 4.6: Measuring the hFE
While measuring NPN transistors, the supply should be connected as shown in the diagram. For PNP transistors the battery is reversed. In that case, probes should be reversed as well if you're using analog instrument (one with a needle). If you are using a digital meter (highly recommended) it doesn't matter which probe goes where, but if you do it the same way as you did with NPN there would be a minus in front of the read value, which means that current flows in the opposite direction.

4.3 The safest way to test transistors
Another way to test transistor is to put it into a circuit and detect the operation. The following circuit is a multivibrator. The "test transistor" is T2. The supply voltage can be up to 12v. The LED will blink when a good transistor is fitted to the circuit.



Fig. 4.7: Oscillator to test transistors
To test PNP transistors, same would go, only the transistor which would need to be replaced is the T1, and the battery, LED, C1 and C2 should be reversed.
4.4 TUN and TUP
As we previously said, many electronic devices work perfectly even if the transistor is replaced with a similar device. Because of this, many magazines use the identification TUN and TUP in their schematics. These are general purpose transistors. TUN identifies a general purpose NPN transistor, and TUP is a general purpose PNP transistor.         

TUN = Transistor Universal NPN and TUP = Transistor Universal PNP.

These transistors have following characteristics:
4.5 Practical example
The most common role of a transistor in an analog circuit is as an active (amplifying) component. Diagram 4.8  shows a simple radio receiver - commonly called a "Crystal Set with amplifier."
Variable capacitor C and coil L form a parallel oscillating circuit which is used to pick out the signal of a radio station out of many different signals of different frequencies. A diode, 100pF capacitor and a 470k resistor form a diode detector which is used to transform the low frequency voltage into information (music, speech). Information across the 470k resistor passes through a 1uF capacitor to the base of a transistor. The transistor and its associated components create a low frequency amplifier which amplifies the signal.
On figure 4.8 there are symbols for a common ground and grounding. Beginners usually assume these two are the same which is a mistake. On the circuit board the common ground is a copper track whose size is significantly wider than the other tracks. When this radio receiver is built on a circuit board, common ground is a copper strip connecting holes where the lower end of the capacitor C, coil L 100pF capacitor and 470k resistor are soldered. On the other hand, grounding is a metal rod stuck in a wet earth (connecting your circuits grounding point to the plumbing or heating system of your house is also a good way to ground your project).
Resistor R2 biases the transistor. This voltage should be around 0.7V, so that voltage on the collector is approximately equal to half the battery voltage.

Fig. 4.8: Detector receiver with a simple amplifier

Tuesday 9 September 2014

TSOP 1738 Photo Module Design Notes

TSOP 17… Series Photo-modules are excellent Infrared sensors for remote control applications. These IR sensors are designed for improved shielding against electrical field disturbances.




TSOP 1738 Photo module Design notes.

TSOP 17…. Series Photomodules are miniature IR sensor modules with PIN photodiode and a preamplifier stage enclosed in an epoxy case. Its output is active low and gives +5 V when off. The demodulated output can be directly decoded by a microprocessor. The important features of the module includes internal filter for PCM frequency, TTL and CMOS compatibility, low power consumption (5 volt and 5 mA), immunity against ambient light, noise protection etc. The added features are continuous data transmission up to 2400 bps and suitable burst length of 10 cycles per burst.
Inside the Photo module
The photo module has a circuitry inside for amplifying the coded pulses from the IR transmitter. The front end of the circuit has a PIN photodiode and the input signal is passed into an Automatic Gain Control(AGC) stage from which the signal passes into a Band pass filter and finally into a demodulator. The demodulated output drives an NPN transistor. The collector of this transistor forms the output at pin3 of the module. Output remains high giving + 5 V in the standby state and sinks current when the PIN photodiode receives the modulated IR signals. Block diagram is given in Fig 1
Pin assignment
Photomodules are 3 pin devices. These pins are assigned for +V,–V and output. The pin assignment of TSOP 17… series from the front side (projected side) is Pin 1 Ground, Pin 2 + 5V and pin 3 Output. The photo module requires regulated 5V supply. If the supply voltage increases, the device will be destroyed.
The pin assignment (Front view) of some common Photomodules
Type pins 1 2 3 Response frequency
TSOP 1730 G 5V OP 30 kHz
TSOP 1736 G 5V OP 36 kHz
TSOP 1738 G 5V OP 38 kHz
TSOP 1756 G 5V OP 56 kHz
TSOP 1236 G 5V OP 36.7 kHz
TSOP 1838 OP G 5V 38 kHz
TSOP 1138 G 5V OP 38 kHz
TK 1836 OP G 5V 36 kHz
SFH 506-38 G 5V OP 38 kHz
RPM 7238F OP G 5V 37.9 kHz

where G:ground
           OP: output terminal
           5v: 5v dc supply

Design considerations
For the proper functioning of the Photo module, it is necessary to consider some important aspects.
1. Supply voltage should be + 5 Volts. For this, a 5.1 volt Zener must be connected to the +V pin and ground.
2. A 100 uF capacitor should be connected to the +V pin as a buffer and filter capacitor. This will suppress the power supply disturbances.
3. Carrier frequency should be close to the center frequency of the band pass filter. 38 kHz in the case of TSOP 1738.
4. Burst length must be 10 cycles per burst or more.
5. Between each 10 to 70 cycles, a gap time of 14 cycles is necessary to reset the module.
6. DC lights such as tungsten bulb and daylight affects the functioning of the photo module.
7. Signals from Fluorescent lamps with electronic ballast will affect the working of the photo module.
8. Continuous IR signal (non- pulsed) will disturb the photo module and it will not responds to it.
Photo module design is given in Fig.2