Senin, 06 Februari 2012

Designing Transistor Circuits

Designing Transistor Circuits

Designing a Transistor Circuit is first step in any electronic and electrical circuit design. A Transistor is fundamentally the most essential part in any electronic design. This is because of transistors which makes the electronic system that we see today. Any electronic system capability comes from two things- switching and amplification. This two functions are provided by transistors. For example, in analog systems, amplifiers are needed to amplify voltage, current or Power. A power amplifier driving an antenna at the front end or a power amplifier driving a loudspeakers are examples of application of transistor in analog domain. In digital domain, transistors are used as switches that makes up the various digital gates, NAND, XOR, AND, OR etc.

There are two basic types of widely used transistors- BJT(Bipolar Junction Transistor) and FET(Field Effect Transistor). Each of them have prons and cons. For example, BJT have higher speed response in comparision to FET whereas FET consumes less area than BJTs.

Before designing a transistor circuit, we must know what we want to achieve with the transistor. In order words what is the application or function of the transistor in the circuit. For example, if we want to amplify voice that can be heard on a loudspeaker we can use a transistor as an power amplifier. Here the designing transistor circuit involves, knowing what the input signal(voice) voltage magnitude and frequency are, what power or voltage is required across the loudspeaker. For this it is necessary to know the resistance or impedance of the loudspeaker. Thus the initial assumption would be to know what the input and output characteristics are. Knowing this we can go to the next step for designing the transistor circuit which is selection of the transistors to fit the application. Once the transistor is chosen, the next step is the bias the transistor which is the process of maintaining a constant required output current (the collector current) as much as possible such that the amplification is invariant to temperature changes. Once we know what collector current we require we start by biasing the transistor circuit.

There are many biasing techniques for designing transistor circuits and the most popularly used in the voltage divider biasing. See the post Amplifier Design where details of how to bias a transistor is illustrated.

Circuit Schematic of Transistor Circuit Design

Below shows a schematic drawn in orcad capture in which 2N2222 low power transistor used as an audio amplifier to amplify 0.4V, 1kHz input signal.
Designing Transistor Circuits
Fig: Designing Transistor Circuits

Example of Designing Transistor Circuits

Suppose we have a 8ohm loudspeaker and we require 2V across it to produce 0.5W power. Then below is detailed calculation used in the circuit-

Vcc=IcRc+Vc
IcRc=Vcc-Vc
IcRc=9V-2V
IcRc=7V
Rc=7V/Ic
Rc=7/150mA
Rc=47ohm

Vce at 150mA= 1V
there,
Vce=Vc-Ve
Ve=Vc-Vce
Ve=2V-1V
Ve=1V

Ie=Ic=150mA
therefore,
Re=Ve/Ie
Re=1V/150mA
Re=6.66ohm
R2~6ohm

Vb=Vbe+Ve
Vb=0.6V+1V
Vb=1.6V

R1<100*Re/10
R1<100*6.66/10
R1<66.6ohm
R1~64ohm

Vcc=V1+V2
Vcc=V1+Vb
V1=Vcc-Vb
V1=9V-1.6V
V1=7.4V

R2=R1*V2/V1
R2=65*1.6/7.4
R2=12.97ohm
R2~15ohm

The output signal waveform from simulation for frequency from 20Hz to 1kHz is shown below-

All Frequency waveform at the load
Fig: All Frequency waveform at the load

Minggu, 05 Februari 2012

Class C Power Amplifier Design and Simulation

In this article Class C Power Amplifier circuit is designed stimulate using orcad capture. LC oscillator is designed to oscillate at 25kHz and then input signal frequency and amplitude is varied to get maximum output voltage.

Class C Power Amplifier Schematic

Below is a schematic diagram of a Class C Power Amplifier.

class C power amplifier circuit
Fig: class C power amplifier circuit
In the above schematic, an input sinusoid signal is applied which has voltage magnitude of 1.25V. The frequency(f) is varied from 15kHz to 30kHz using the parameter sweep tool available in orcad capture. This signal is fed into the class C power amplifier that is made by transistor Q2N3904, L1 and C1 which makes up the LC tuned oscillator. The resistors R3 and R1 are biasing resistors required to bias the transistors(see transistor biasing tutorial). The resistor R2 is a load resistor. The capacitors C3 and C2 are coupling capacitors that blocks dc signals and allows ac signal to pass. This circuit is run by 5V supply.

We know that the frequency of oscillation of the LC oscillator is 25kHz derived from the LC oscillator frequency formula-
\[f=\frac{1}{2\pi\sqrt{LC}}\]
Substituting 2mH for inductor and 0.02microF for capacitor gives 25kHz.

Class C Power Amplifier Simulation

Although we know the frequency of the oscillator we want to know what the frequency of the input signal is at which the magnitude of the output voltage is maximum given that the magnitude of the input signal voltage is 1.25V.  By varying the frequency of the input signal we can get information about the frequency at which the output voltage magnitude is maximum.

To do this we vary the frequency of the input signal using the parameter sweep tool which is located in the Special library. Then we set up the simulation setting with Transient simulation of run time of 1ms and step size is 10us. Also we set up parameter sweep with f as global parameter, linear sweep type from 15kHz to 30kHz and increment of 1kHz. This simulation setting is shown below-
Simulation setting parametric sweep
Fig: Simulation setting parametric sweep
We put the voltage probe tool at the output as shown in the schematic and run the simulation to get its waveform-
Output Voltage waveforms at different input frequencies
Fig: Output Voltage waveforms at different input frequencies
This waveform shows output voltage waveform for all frequency from 15kHz to 30kHz.

Using the FFT tool available in orcad capture we get the following FT-
Output signal waveform fourier transform
Fig: Output signal waveform Fourier transform

To zoom in we can use the zoom area tool available in the toolbar-
fourier transform of Output signal waveform
Fig: Fourier transform of Output signal waveform
Fourier transform of Output signal waveform
Fig: Fourier transform of Output signal waveform
From this final FT graph we can clearly see the frequency at which the magnitude of the output signal is maximum. The green at the center has greatest peak and right clicking on it and selecting Trace Information gives us the its frequency information. This is shown below-
Trace Information from Fourier Transform
Fig: Trace Information from Fourier Transform
This information shows that the frequency of this trace is 23kHz.

We can now change the input signal frequency to this 23kHz.

Now we can similarly vary the amplitude of the input signal using the parameter sweep tool. The amplitude is varied from 0.5V to 3V as shown-
Class C Power Amplifier circuit with Voltage Parameter Sweep
Fig: Class C Power Amplifier circuit with Voltage Parameter Sweep
and the voltage variation sweep settings-
Simulation setting for voltage parameter sweep
Fig: Simulation setting for voltage parameter sweep
The output waveform with varying input voltage amplitude is shown below-
Output Voltage waveform with voltage parametric sweep
Fig: Output Voltage waveform with voltage parametric sweep
The Fourier Transform is shown below-
Fourier Transform of output voltage
Fig: Fourier Transform of output voltage
Using the Zoom Area Tool in the toolbar-
Zoomed Fourier Transform of output voltage
Fig: Zoomed Fourier Transform of output voltage
Zoomed Fourier Transform of output voltage
Fig: Zoomed Fourier Transform of output voltage
Zooming into the peak and selecting the peak signal and right clicking to get its trace information gives-
Zoomed Fourier Transform of output voltage
Fig: Zoomed Fourier Transform of output voltage

Output Voltage trace information
Fig: Output Voltage trace information
This shows that the magnitude of the input voltage at which the output voltage is maximum is 2.75V.

Changing the input voltage to 2.75V, removing the parameter sweep tool the final class C amplifier circuit is shown below-
Final Class C Power Amplifier
Fig: Final Class C Power Amplifier

Removing the parameter sweep in the simulation setup and running the final circuit for 2ms gives the following output signal waveform-
Final Output voltage waveform
Fig: Final Output voltage waveform
 And the Fourier Transform gives-
Final Output voltage waveform
Fig: Final Output voltage waveform
This shows that the maximum output voltage is around 6V.

Jumat, 03 Februari 2012

Morse Code Wireless Transmitter

Morse code was one early technique for communication wherein words were sent over copper wires by tapping on a switch that connected and disconnected the wire between transmitter and receiver. The encoding was done such that each alphabets had certain combination of taps. But not only wire but also the Morse code works equally with wireless sound. Below is a schematic of such a system that can send Morse code wirelessly drawn with Proteus Professional 8.

Morse Code Wireless Transmitter
Fig: Morse Code Wireless Transmitter
Powered by a 6V battery and using two transistors(BC558 and BC548) forming a directly coupled amplifier with some resistors and capacitors, and a switch and a loudspeaker the circuit can be used for sending Morse Coded information wirelessly.

The components used are as follows-

Category Quantity References Value Stock Code
Capacitors 1 C1 0.047u Digikey 311-1046-1-ND
Resistors 1 R1 10K Digikey P10KETR-ND
Resistors 1 R2 1.0K Digikey P1.0KVCT-ND
Transistors 1 Q1 BC558
Transistors 1 Q2 BC548
Miscellaneous 1 B1 +6V
Miscellaneous 1 LS1 SPEAKER
Miscellaneous 1 RV1 100K Digikey 3009P-104LF-ND

By the way this BOM was generated by Proteus 8 which is a new feature in Proteus 8.

In the schematic Morse code can be sent by switching on and off the switch. This will set up the signal path and we should hear the sound from the loudspeaker.

Let's check it via simulation. To do this we connect an oscilloscope as shown below-
Simulating Morse Code Wireless Transmitter
Fig: Simulating Morse Code Wireless Transmitter
 And with little Here is a short video clip of the short pulses of morse code-

And here is the screenshot of oscilloscope-

Oscilloscope Output
Fig: Oscilloscope Output
 The settings and the output data obtained from Proteus oscilloscope is also shown below-

Design and Test Stripboard Projects Using LochMaster

Design and Test Stripboard Projects Using LochMaster 

Loch master is yet another tool from ABACOM, the software provider who gave Sprint-Layout, sPlan, Sprint Layout, Frontdesigner, Profilab and many other tools for design and simulation of electronic circuits. Lochmaster is basically a developers tool for strip board projects. The latest version available for download is Lochmaster 3.0

What makes this unique?Loch master software allow users to design, document and simulate/test boards. The software is equiped with fuctions like auto generation of components list, connection test, large library of components & symbols. Also it provides an option to allow users to create custom components and extend the existing component library.

 The predefined bord layout is another attraction but the developer has the freedom to draw his own board specifications with the board editor integrated to this software. Under testing the designed circuit board, developer can identify the unwanted signal. Various design and print options are make this a unique stripboard tool.

Submitted By
Mohammed Hasif C
electronic2017
Thank You
God Bless You

Submitted By
Mohammed Hasif C
electronic2017
Thank You
God Bless You

Firecracker Igniter Using 555

Firecracker Igniter Using 555 

Firecrackers are usually ignited by using a matchstick or candle. But this method has high risk factor so you have to run away after igniting the firework. The circuit described here allow you to ignite the fireworks from a safe distance using a an infrared remote control of your TV or DVD.


The core of the circuit is an infrared receiver moduleTSOP1738 and a 555 IC. When any key on the remote control is pressed, output pin 3 of the IR receiver module goes low. this output is connected to pin no. 2 of the 555 IC via LED1and resistor R4 to trigger the monostable operation of IC1.

The output of IC1 remains high for a time period equal to 1.1×R2×C2 (approx 3.5 seconds). After that the relay is activated and red LED3 indicates that the firecracker is about to burst. R7 is a heater element which is kept away from the electronic circuit and connected to the relay contacts through a thick electric cable. The resistance value of short length of the heater element should be 3 to3.5 ohms.A current about 4A flow s though the heater element to make it hot which will result in ignition of the firecracker.

       Notes
  • The circuit requires 12V battery with 7AH.
  • Assemble the circuit on a common PCB and enclose within a metallic cabinet.
  • Wiring of the circuit should be capable of handling the 5A current flow
Submitted By
Mohammed Hasif C
electronic2017
Thank You
God Bless You

Electronics and Modern Trends

Electronics and Modern Trends 

By a giving a general awareness about electronics technology. The word electronics is derived from electron mechanics which means study of of behavior of an electron under different conditions of externally applied fields. While comparing with other technologies, electronics technology is a new kid in town. I must say this because electronics is one technology which rapidly changes its face during everyday.

Life today offers many conveniences which involves the use of electronic devices and circuits. As we see around us, electronics plays a major role in almost every part of our life.



Applications of Electronics

1. Communications and Entertainment
2. Defense Applications
3. Industrial Applications
4. Medical Sciences
5. Instrumentation.... and blablabla...the list going on

Modern Trends in Electronics From the begining of electronics (1906) till now, electronics field is growing rapidly, as i said before. The change become bombarding on the invention of transistor which changes the entire face of electronics. Within almost ten years of its discovery, the process of miniaturization of electronic equipments had gained momentum.The invention of IC chips make the growth further. The vast changes that have taken place during the last 20 years can best be understood by nothing but the reduction in size and cost of modern digital computers. A small modern mini computer is more than 100 times ssmaller in size and 1/100th of the price of a computer designed 20 years back to do similer jobs.


Well, What You can get from Here?

Submitted By
Mohammed Hasif C
 electronic2017
Thank You
God Bless You

LED Based Automatic Emergency Light

LED Based Automatic Emergency Light 

Here is a white LED based low cost emergency light that offers high brightness, automatic activation, automatic charging with the use of cheap components. The circuit is very simple in construction and we can use the emergency light up to  6++ hours on battery feed.


As we know the power supply have been regulated by the the LM317 IC and produces a 7 volts output for charging the battery. when the battery gets charged to 6.8V the zenar ZD1 conducts and the IC1 output get shorted to ground through T1 so it stops charging. The transistor BD140 drives the out put LED's.

Assemble the circuit on a general-purpose PCB and enclose in a cabinet with enough space for battery and switches. Mount the LED's on the cabinet such that they light up the room. A hole in the cabinet should be drilled to connect 230V AC input for the primary of the transformer.

Note: it is better to connect a proper size heat sink to BD 140 and LM317. The output of LM 317
must be configured to 7v by adjusting the potentiometer.

Submitted By
Mohammed Hasif C
electronic2017
Thank You
God Bless You

Automatic Night Lamp Circuit

Automatic Night Lamp Circuit 

It is very convenient to light a lamp in our absense in the eving when it gets dark. This automatic night lamp circuit can be used to light staircase light, porch light etc automatically using domestic powersupply. It is very in expensive in construction and we dont have to employ or depend anybody to put on the lights when we are out of station. We can connect a CFL in place of filament lamp by making necessary alterations to the circuit.


An SCR and LDR together plays the role of automation in this circuit. In figure, the resistance of LDR is low during daytime and high during night. So the required trigger pulse is developed across the SCR when it becomes dark and it is applied acrosss the gate cathod terminals and SCR is triggered and the circuit is closed.

                                                                                                         Submitted By
                                                                                                          Mohammed Hasif C                   
                                                                                                          Electronic2017
                                                                                                          Thank you !
                                                                                                          God Bless You

Water Activated Sensor Alarm Using 555

Water Activated Sensor Alarm Using 555 

Here is a circuit diagram of water activated sensor alarm using 555 IC.We may use this circuit for the following applications:
  •  Water leakage detection from water tank and can be used as a water leak alarm
  •  To detect presence of rain outside the room
  •  Do detect the presence of moisture or water molecules on a substance
  •  Used as detector of water in water overflow alarm
 Also we can fix this circuit anywhere in the basements and roof parts to detect any type of water leakage.

The circuit comprises a 555 IC as the core. This is designed to work as an astable multivibrator. When we connect a positive 9 volt to pin no. 8, the circuit will produce a sound through speaker.  But here the connection to pin 8 goes through the transistor BC 109c or BC 548. In this condition, the base of the NPN transistor haven't any positive voltage. But when the resistance between the "contacts" is lower due to water, the transistor get it base voltage and the circuit will produce a sound.

Working

We can connect the the 555 output pin no. 3 to loudspeaker through a 100uF electrolytic capacitor. The resistors, R1 and R2 are used for IC biasing. We can change the tone of the sound coming from the speaker by changing the value of capacitor C1.

Visitor Alarm Secret Bell

Visitor Alarm Secret Bell

This circuit can acts as a visitors alarm as well as a secret bell which can be used to identify family members. If you'e living in flats, it'll become necessary to verify the visitor before opening the door. This circuit senses single puff of breath and activates a musical bell automatically.



Working of the circuit

The core of this simple circuit has an NE555 timer and a well-known UM-66 musical IC. You need to fit the condenser mic inside the existing calling bell switch. Obviously, the mic will sense the air pressure changes following the breath. So it can trigger the alarm. On the other side, only you family members know about this system, hence they puff out before the hole, the door can be opened without any hesitation. 

The BC 549 transistor act as an amplifier to boost the sinals received from the mic, it triggers the monostable wired NE555 IC. The power from this IC1 will trigger IC2 UM66 which generate music tone for a short period of time. The monostable timing period can be set by resistor R7 and capacitor C5.
                                                                
                                                            Submitted By
                                                                                                                Electronic2017
                                                                                                    Thank you !
                                                                                                         God Bless You

Water Level Indicator With 7-Segment Display

Water Level Indicator With 7-Segment Display 

Circuits available for indicating water level is usually consist of LEDs to indicate the liquid level. But this circuit uses a 7-segment LED display instead of normal LED's for numeric display of water level.Moreover, a buzzer is used to alert you of water overflowing from the tank. The circuit shows the water level by displaying L, H and F for low, half and full, respectively. You can use this circuit for water tank motor control or a stand alone circuit.


This circuit uses Five sensors to sense water levels in the tank. When the tank is empty, the input
pins of IC 7404 (NOT gate IC) are pulled high via a 1M ohm resistor. So it outputs a low voltage. As water starts filling the tank, a low voltage is available at the input pins of the gate and it outputs a high voltage.

When the water in the tank rises to touch the low level sensor, pin 5 of gate N3 gets a low voltage and results in high output at pin 6. Pin 6 of the gate is connected to pin 10 of gate N9, so pin 10 also goes high. Now as both pins 9 and 10 of gate N9 are high, its output pin 8 also goes high. As a result, positive supply is applied to DIS3 and it shows ‘L’ indicating low level of water in the tank.
Similarly all levels are displayed in the numeric display.

Assemble the circuit on a strip board and enclose within a non corrosive material. Use a 5V regulated supply for powering the circuit.

                                                                            Submitted By
                                                                                                                              Electronic2017
                                                                                                          Thank you !
                                                                                                          God Bless You

Infrared Burglar Alarm Using Remote control

Infrared Burglar Alarm Using Remote control 

There are so many circuits available for infrared Burglar alarm but transmitter  section of these burglar alarm circuits are complicated and you may have assemble it yourself. But here is burglar alarm circuit that uses the ordinary DVD remote as the transmitter. So not only the cost also the man power will be saved.  You only need to press and hold any switch of the remote control to allow flow of IR signals to outside. This can be done by grafting any key of the remote using insulation tape. This house alarm is very useful and doesn't require much components.


WorkingThe transmitter and receiver circuit must be fixer either two side of the gate or door.Now the IR signal from the remote control recieved by the sensor TSOP 1738 and give it to the 555 IC input. The output of the 555 IC will be high only when it recieves the signals and this biases the transistor BC107 so the relay is activated. Whenever any obstructives come between the transmitter and receiver, the 555 output become low and the transistor SL100 that connected to the relay will be on and the UM66 will produce an alarm sound.

Note
  • Assemble the circuit in a common PCB
  • Supply voltage to the circuit is 9V
  • 3V is required to operate the remote
  • The sensitivity range is maximum 8 meters
                                                                                                         Submitted By
                                                                                                                              Electronic2017
                                                                                                          Thank you !
                                                                                                          God Bless You


Water Tank Controller Circuit

Water Tank Controller Circuit 

Here is an automatic water tank controller that controls the operation of a water pump through a 12V 10amp relay. When ever the water level of the tank short circuits the points A and B in the circuit diagram, the pump get turned off automatically. This home water pump controller circuit is comparably simple and low cost and can be assembled easily on a common PCB.

water tank controller electronic2017 9744665935

Working

The circuit schematic diagram of the tank controlller is given on the image. Whe the switch S1 in the circuit is pressed, a biasing will get to the transistor Q1 through resistor R1 and the relay will be turned on. So the pump connected on the relay will also switched on. We can place the terminals A and B in the upper side of the water tank. Whenever the water shortcircuits these points, the Q1 transistor will be on and the relay will cuttoff and the motor also turned off.

Notes
  • Make sure that all resistors used in the circuit is 1/2 W.
  • The relay power rating can be varied according to the motor ratings.

Burglar Alarm System With High Sensitivity 

Burglar Alarm System With High Sensitivity 

Most standard light sensors that used in ordinary burglar alarm systems requires precise alignment of light beam to deactivate the alarm system during standby mode. However this circuit of burglar alarm is so sensitive that it will detect a moving person at a distance of few meters in pure daylight or under electric lighting.It requires virtually no set up, and may be simply placed within the line-of-sight of almost any light source including ambient daylight or high end fluorescent electric light. The alarm system uses a beep generated from the circuit driven through a buzzer that is high enough to detect the entry of a person inside the fence.


This security system uses a op amp comparator 741 with two potential dividers in its inverting and non inverting inputs. (about half of supply voltage). The burglar detector LDR and its controlling preset VR1 from another potential divider to provide a variable input to NIV input pin 3.

Adjust VR1 properly then output of 555 ic will be high because of the LDR effect. Ie when the shadow of a person come across the LDR light path, its light intensity level and the voltage at the non-inverting input of IC1 will drop momentarily.The output of IC1 suddenly becomes low, allowing T1to conduct. This triggers the monostable (IC2) and the alarm sounds.

You can easily set up the circuit in a common PCB and keep Keep LDR1 inside a black tube to increase its sensitivity. On testing with ideal conditions, the alarm system detected a person from a distance of about three meters.

                                                                          Submitted By
                                                                                                                              Electronic2017
                                                                                                      Thank you !
                                                                                                          God Bless You

Simple Floor Mat Switch


This cool 555 IC circuit produces a warning beep when some one enters or crosses the prohibited area in your house or office. The switch can be hidden under floor mat, triggers the circuits to produce a beep when  someone presses it by foot.

Circuit diagram of mat switch

The switch that place under mat is of two conductive foam. It can be constructed by using two thin metal foils gummed together on opposite sides of a card board.  When the circuit switch is open, the transistor T1 is on off state since the lack of forward biasing at the base. When the switch closes by a an external object,  T1 will be on and it's collector voltage drops. This acts as a trigger input for IC 555.

Sound is produced for 50 seconds with preset values of R4 and C3. the pulse is applied through transistor T2. The duration of pulse can be changed by changing the values of R4 and C3.
                                                                                                          Submitted By
                                                                                                                              Electronic2017
                                                                                                          Thank you !
                                                                                                          God Bless You

LED Running Display Using NE555 -Submitted By Mohammed Hasif C


Here's a circuit to build a led based running display using easily available general purpose timer IC NE555 and a popular decade counter IC CD4017. This display consist of 24 LED's of four layers. The NE555 is wired as an astable multivibrator whose output triggers CD4017 counter.



On powering up the circuit, timer starts oscillates to produce triggering pulses. This pulses trigger counter IC and it counts from 0 to 5. These outputs are fed to general purpose NPN transistors BC547 which are used as current drivers for each led layer. As each of the counter output goes hih, the curresponding led layer glows sequentially. After it counts upto 6 values, resets to zero and the process repeats.

How to display custom words using this circuit.

Suppose you want to display ‘STAR.’ Build letter S with L1,T with L2, A with L3 and R with L4.When the circuit is switched on, letter S glows first. Then S and T glow sequentially,followed by S, T and A, and thenS, T, A and R. When Q4 and Q5 outputs of the counter gohigh, the completeword ‘STAR’ glows.Thereafter, letter ‘S’glows again and the cycle repeats.
                                                                                                          
                                                                                                          Submitted By
                                                                                                                              Electronic2017
                                                                                                          Thank you !
                                                                                                          God Bless You

Kamis, 02 Februari 2012

class AB Power Amplifier Design and Simulation

Power Amplifiers are essential in the any communication transceivers. They essentially as the name says amplifies the power of the input signal to a desired level at the output stage. The output stage may be a loudspeaker in which case it is called class AB audio amplifier or even an antenna. There are different classes of power amplifiers based basically upon the how much a transistor conducts in a full cycle. For example a class A amplifier is one in which the transistor conducts for full cycle, class B is one in which the amplifier conducts for half a cycle of the input whereas class AB is one in which the amplifier conducts for a cycle between half a cycle and full of a cycle. Here we show a class AB amplifier circuit and simulate it using Altium Designer.

Class AB Amplifier Circuit Schematic

The schematic diagram of a temperature compensated class AB audio amplifier driving load such as loudspeaker is shown below-
Class AB Power Amplifier Circuit Schematic
Fig: Class AB Power Amplifier Circuit Schematic

Circuit Description:
In the circuit above, two complementary transistors 2N3904 which is a NPN transistor and 2N3906 which is a PNP transistor was used. Two diodes 1N4148 are used to prevent damaging the transistors from thermal runaway and to bias the transistors along with the two 3.9Kohm  resistors. Two coupling capacitors(see amplifier design tutorial) are used at the input and output of the class AB amplifying circuit. An input sinusoid signal of 0.5V amplitude and 1KHz is applied to the amplifier and a supply of 20V VDC is applied as shown in the circuit schematic. The 10ohm resistor is the load resistor which is equivalent to a loudspeaker resistance.

Simulation:
The simulation was set up for transient analysis with run time 20ms and step size of 10us(micro second). The input(Vin) and output(Vout) voltage signal was plotted and the result is shown below-

Input Output Signal Waveform of a Class AB Power Amplifier
Fig: Input Output Signal Waveform of a Class AB Power Amplifier

 From the waveform chart above we can see that the input signal peak to peak voltage is 1V whereas the output signal peak to peak voltage is 0.8V.

Similarly the clipped waveform from the upper and the lower transistors for this class AB amplifier is shown below-
Clipped Signals from complimentary transistors of a class AB Power Amplifier
Fig: Clipped Signals from complimentary transistors of a class AB Power Amplifier





















Thus the class AB amplifier circuit shown above works as per the simulation.