Ec 2404 - Electronic System Design Lab
Ec 2404 - Electronic System Design Lab
Ec 2404 - Electronic System Design Lab
com
REGULATION CHARACTERISTICS OF BUCK BOOST CONVERTER REGULATION CHARACTERISTICS OF FLYBACK CONVERTER DESIGN OF AM TRANSCEIVER DESIGN OF FM TRANSCEIVER DESIGN OF WIRELESS DATA MODEM. PCB LAYOUT DESIGN USING CAD DESIGN OF DC VOLTAGE REGULATOR USING SCR MICROCONTROLLER BASED SYSTEM DESIGN. DESIGN OF PROCESS CONTROL TIMER DESIGN OF INSTRUMENTATION AMPLIFIER DSP BASED DIGITAL FUNCTION GENERATOR SIMULATION OF DC VOLTAGE REGULATOR USING SCR SIMULATION OF AC VOLTAGE CONTROLLER USING SCR
www.vidyarthiplus.com
FORMULA: Output voltage V0 = (-D / 1-D) Vs Volts Where V0 = Converter Output Voltage, Volts Vs = Converter input voltage, volts D = Duty Cycle (ton / T) THEORY: The Buck Boost is a popular non-isolated, inverting power stage topology, sometimes called a step up/down power stage. The Buck boost power stage is chosen because the output voltage is inverted from the input voltage and the output voltage can be either higher or lower than the input voltage. However the output voltage is opposite in polarity from the input voltage. The Buck Boost converter circuit consist of MOSFET switch Q, inductor L, diode D, filter capacitor C and load resistor R. CONNECTION PROCEDURE: Connect P8 of PWM generator to PWM input of Buck-Boost converter circuit. Connect P4 of Buck-Boost converter circuit to P7 of PWM generator.
www.vidyarthiplus.com
Set switch SW1 to downward direction to select the closed loop operation. Connect (0-30V) DC regulated power supply across P1 and P2 terminals of the trainer module and set the voltage at 15 V.
CIRCUIT DIAGRAM:
IS
IL
Vo
+ -
Vs
+ _
www.vidyarthiplus.com
EXPERIMENTAL PROCEDURE:
A) Line Regulation: Switch ON the AC power supply and the power ON/OFF switch of the trainer kit. View the carrier signal in CRO at T3. Set the switch SW1 in downward direction. Set the switch SW2 in downward direction. View the PWM signal in CRO at T1. Vary the Set voltage adjust POT from minimum to maximum and note down the ton and T values. Set the PWM signal at desired duty cycle ratio (maximum 50%). Switch ON the variable DC supply. Vary the input voltage from (0-15) V and note down the corresponding output voltage across P5 and P6. For each input voltage value tabulate the measured output voltage values.
Set the switch SW2 in upward direction and repeat the same procedure for Buck converter.
www.vidyarthiplus.com
S.No
B) Load Regulation: S.No Load Resistor ( ) Load Current (mA) Output Voltage (Volts)
www.vidyarthiplus.com
S.No
B) Load Regulation: S.No Load Resistor ( ) Load Current (mA) Output Voltage (Volts)
www.vidyarthiplus.com
b) Load Regulation:
Switch ON the AC power supply and the power ON/OFF switch of the trainer kit. View the carrier signal in CRO at T3. Set the switch SW1 in downward direction. Set the switch SW2 in downward direction. View the PWM signal in CRO at T1. Vary the Set voltage adjust POT from minimum to maximum and note down the ton and T values. Set the PWM signal at desired duty cycle ratio (maximum 50%). Switch ON the variable DC supply. Set the input to a constant value and vary the load resistor value, note down the corresponding output voltage across P5 and P6 output terminals of trainer module.. For each load resistor value tabulate the measured output voltage values. Set the switch SW2 in upward direction and repeat the same procedure for Buck converter.
RESULT:
Thus the closed loop response for Boost/Buck operation of Buck-Boost converter of Line/Load regulation was determined. 1. The output voltage is maintained at ------ V with the input voltage from ------- V to ---------- V for boost mode of operation. 2. The output voltage is maintained at ------ V with the input voltage from ------- V to ---------- V for buck mode of operation.
www.vidyarthiplus.com
FORMULA: Output voltage V0 = (D / 1-D)(N2/N1) Vs Volts Where V0 = Converter Output Voltage, Volts Vs = Converter input voltage,volts D = Duty Cycle (tON / T) N2 / N1 = Transformer turns ratio. THEORY : The flyback converter is a negative output step-up converter (i.e) it is an isolated version of the buck-boost converter. The inductor of buck-boost converter has been replaced by a flyback transformer. The input dc source Vs and switch Q are connected in series with the transformer primary. The diode D and the RC output circuit are connected in series with the secondary of flyback transformer. The circuit diagram of flyback converter is shown below.
www.vidyarthiplus.com
CIRCUIT DIAGRAM :
IP
Is
D
+
N1
+
N
D
+ -
C
R V0
VS
G
__
MODEL GRAPH:
V0 (V)
V0 (V)
www.vidyarthiplus.com
CONNECTION PROCEDURE : 1. 2. 3. 4. Connect P8 of PWM generator to PWM input of Flyback converter circuit. Connect P4 of Flyback converter circuit to P7 of PWM generator. Set switch SW1 to downward direction to select the closed loop operation. Connect (0-30V) DC regulated power supply across P1 and P2 terminals of the trainer module and set the voltage at 30 V.
10
www.vidyarthiplus.com
S.No
B) Load Regulation: S.No Load Resistor ( ) Load Current (mA) Output Voltage (Volts)
11
www.vidyarthiplus.com
EXPERIMENTAL PROCEDURE: A) Line Regulation: 1. Switch ON the AC power supply and the power ON/OFF switch of the trainer kit. 2. View the carrier signal in CRO at T3. 3. Set the switch SW1 in downward direction. 4. View the PWM signal in CRO at T1. 5. Vary the Set voltage adjust POT from minimum to maximum and note down the ton and T values. 6. Set the PWM signal at desired duty cycle ratio (maximum 50%). 7. Switch ON the variable DC supply. 8. Vary the input voltage from (0-30) V and note down the corresponding output voltage across P5 and P6 output terminals of trainer module. 9. For each input voltage value tabulate the measured output voltage values. b) Load Regulation: 1. Switch ON the AC power supply and the power ON/OFF switch of the trainer kit. 2. View the carrier signal in CRO at T3. 3. Set the switch SW1 in downward direction. 4. View the PWM signal in CRO at T1. 5. Vary the Set voltage adjust POT from minimum to maximum and note down the ton and T values. 6. Set the PWM signal at desired duty cycle ratio (maximum 50%). 7. Switch ON the variable DC supply. 8. Set the input to a constant value and vary the load resistor value, note down the corresponding output voltage across P5 and P6 output terminals of trainer module.. 9. For each load resistor value tabulate the measured output voltage values.
12
www.vidyarthiplus.com
RESULT: Thus the closed loop response of flyback converter of Line/Load regulation was determined. 1. The output voltage is maintained at ------ V with the input voltage from ------- V to ---------- V.
DESIGN OF AM TRANSCEIVER
EXPT NO: 3(i) AIM: To transmit a modulating signal after amplitude modulation using VCT-08 and receive the signal back after demodulating using VCT-09. APPARATUS REQUIRED: 1. 2. 3. 4. VCT-08 trainer kit VCT-09 trainer kit CRO Patch cards
THEORY: AMPLITUDE MODULATION: Amplitude Modulation is a process by which amplitude of the carrier signal is varied in accordance with the instantaneous value of the modulating signal, but frequency and phase of carrier wave remains constant. The modulating and carrier signal are given by Vm(t) = Vm sinmt VC(t) = VC sinCt The modulation index is given by, ma = Vm / VC. Vm = Vmax Vmin and VC = Vmax + Vmin The amplitude of the modulated signal is given by, VAM(t) = VC (1+ma sinmt) sinCt Where Vm = maximum amplitude of modulating signal VC = maximum amplitude of carrier signal
13
www.vidyarthiplus.com
Vmax = maximum variation of AM signal Vmin = minimum variation of AM signal
AM Modulator
AM RECEIVER
Antenna
RF Amplifier
14 AM Detector
www.vidyarthiplus.com
Output Signal
TABULATION:
Amplitude (V)
Frequency (KHz)
15
www.vidyarthiplus.com
PROCEDURE: 1. The circuit wiring is done as shown in diagram 2. A modulating signal input given to the Amplitude modulator can also be given from a external function generator or an AFO 3. If an external signal source with every low voltage level is used then this signal can be amplified using the audio amplifier before connecting to the input of the AM modulator 4. Now increase the amplitude of the modulated signal to the required level. 5. The amplitude and the time duration of the modulating signal are observed using CRO. 6. Finally the amplitude modulated output is observed from the output of amplitude modulator stage and the amplitude and time duration of the AM wave are noted down. 7. Calculate the modulation index by using the formula and verify them. 8. The final demodulated signal is viewed using an CRO at the output of audio power amplifier stage. Also the amplitude and time duration of the demodulated wave are noted down.
RESULT: The modulating signal is transmitted after amplitude modulation using VCT-08 and the signal is received back after demodulation using VCT-09
16
www.vidyarthiplus.com
DESIGN OF FM TRANSCEIVER
EXPT : 3(ii) AIM: To transmit a modulating signal after frequency modulation using VCT-12 and receive the signal back after demodulating using VCT-13 APPARATUS REQUIRED: 5. 6. 7. 8. VCT-12 trainer kit VCT-13 trainer kit CRO Patch cards
HARDWARE DESCRIPTION OF FM TRANSMITTER TRAINER VCT-12: The FM transmitter trainer kit VCT-12 has the following section: 1. On-board sine wave generator 2. MIC pre amplifier with a socket for external dynamic MIC 3. Audio amplifier for amplification of low level external input signal 4. Frequency modulation 5. Telescopic whip antenna SINE WAVE GENERATOR: A sine wave generator acts as an on board modulating signal source and generates an audio frequency sine wave .The amplitude of this sine wave generator varies from 0-5 V. However the output voltage from this source is controlled using a Trim pot to get an output signal in the range of 0-3V.The frequency of the signal varies form
17
www.vidyarthiplus.com
300Hz to 15KHz.Since the amplitude of the source is large enough to modulate the carrier it need not be amplified ,instead it can be directly connected to the input of the amplitude modulator . MIC PRE AMPLIFIER: The MIC pre amplifier is capable of accurately amplifying even a very low level signal, picked up by the MIC to the required level to modulate the carrier. This section has a EP socket at its input stage where, in an external dynamic MIC can be plugged in the gain of the stage can be controlled by the user by adjusting the potentiometer Pot4.The maximum gain of this stage can be achieved in this is 200.The maximum level of the input signal to this amplifier, so as to produce an amplified output without saturation is 60mV.
FM TRANSMITTER
Audio Oscillator
Message signal
Antenna
FM Modulator
Output Amplifier
18
www.vidyarthiplus.com
AUDIO AMPLIFIER: The audio amplifier stage has a BJT common emitter configuration. This audio amplifier can be used to amplify any lower level external modulating signal whose voltage level is below 100mV.The gain of this stage can also be controlled by the user by varying the pot meter POT-5.The maximum gain of this audio amplifier is 10. FREQUENCY MODULATION: The frequency modulator circuit is constructed around a BF495, high frequency small signal BJT. The collector circuit of the transistor consists of a tank circuit formed by a inductor and capacitor. This tank circuit together with the transistor acts as an oscillator and produces the carrier frequency .The transistor circuit appears to the oscillator as a variable capacitance. This capacitance adds to the capacitance of the oscillator-tuned circuit. The size of this capacitance depends on the change in the collector current which occurs for a given change in base voltage and this is determined by the Trans conductance of the transistor .The transistor transconductance depends on the bias voltage applied to the transistor base. The larger the bias voltage, the larger the value of gm and the larger the value of gm and the larger capacitance which is added to the capacitance of the oscillator tuned circuit consequently the transistor circuit behaves as a voltage variable capacitance .The bias voltage applied to the transistor base determines the overall capacitance seen by the oscillator and hence the frequency of the carrier. This resulting in FM signal TELSCOPIC WHIP ANTENNA: A telescopic whip antenna is used to radiate the AM signal generated by the amplitude modulator.
19
www.vidyarthiplus.com
FM RECEIVER
Antenna
RF Amplifier
Mixer
IF amplifier
Carrier Signal
Local Oscillator
Discriminator
AF Amplifier
Speaker
20
www.vidyarthiplus.com
HARDWARE DESCRIPTION OF FM RECEVIER TRAINER The Fm receiver trainer VCT-13 has the following sections 1.FM super heterodyne receiver 2.Buffer and filter 3.Audio power amplifier FM SUPER HETERODYNE RECEIVER: The FM receiver is built with the dedicated FM receiver IC-CXA1619IC consists of the following sections namely RF amplifier, Mixer and oscillator, IF amplifier and quadrature detector .The circuit details and the description of IC-CXA1619IC are given in appendix BUFFER AND FILTER: A buffer is used to prevent any loading to the previous stage .The filter section consists of a BPF with a Pass band to 20KHZ 15MHZ.A notch filter is also included to eliminate the 50Hz power supply noise AUDIO POWER AMPLIFIER: The Audio power amplifier is constructed using ICTBA810 to increase the power level of the demodulated message signal to the required level. The gain of this amplifier can be adjusted by the user by varying the pot meter POT-1.the maximum gain of this audio amplifier is 25.the amplified signal can be given to a loud signal which can be extremely plugged into the VCT-13 trainer
21
www.vidyarthiplus.com
TABULATION:
Amplitude (V)
Frequency
22
www.vidyarthiplus.com
PROCEDURE: 9. The circuit wiring is done as shown in diagram 10. A modulating signal input given to the Frequency modulator can also be given from a external function generator or an AFO 11. If an external signal source with every low voltage level is used then this signal can be amplified using the audio amplifier before connecting to the input of the FM modulator 12. Now increase the amplitude of the modulated signal to the required level. 13. The amplitude and the time duration of the modulating signal are observed using CRO. 14. The amplitude and time duration of the modulated signal are observed using a CRO and tabulated. 15. The final demodulated signal is viewed using a CRO Also the amplitude and time duration of the demodulated wave are noted down RESULT: The modulating signal is transmitted after frequency modulation using VCT-12 and the signal is received back after demodulation using VCT-13
23
www.vidyarthiplus.com
24
www.vidyarthiplus.com
Serial Data IN
FSK MODULATOR
RF
TRANSMITTER
DEBOUNCE LOGIC
25
www.vidyarthiplus.com
HARDWARE DESCRIPTION OF VCT-10B Antenna
RF Receiver
FSK Demodulator
Serial Interface
ALGORITHM FOR TRANSMITTER: 1. 2. 3. 4. 5. Initialize the serial port for data transmission. Set baud rate as 300. Initialize the memory pointer of the data to be transmitted. Set a counter for verification of EOF. Get the data from the consecutive memory locations and transmit it till EOF is reached. 6. Reset the system.
26
www.vidyarthiplus.com
START
Initialize the serial port and data transmission FLOWCHART FOR TRANSMITTER
EOF Receive d
27 STOP
www.vidyarthiplus.com
YES
NO
Address
4100 4103 4105 4107 4109 410B 410D 410F 4111 4113 4115 4118 4119
Opcode
21,00,45 3E, 36 D3, 0B 3E, 40 D3, 08 3E, 01 D3, 08 0E, 05 DB, 05 E6, 04 CA, 11, 41 7E D3, 04 OUT
Label
Mnemonics
LXI MVI OUT MVI OUT MVI OUT
Operand
H, 4500H A, 36H 0BH A, 40H 08H A, 01H 08H C, 05H 05H 04H CHECK A, M
Comments
RELOAD CHECK
Load count
28
www.vidyarthiplus.com
411B 411C 411E 4121 4122 4125 23 FE, 3F C2, 0F, 41 0D C2, 11, 41 CF INX H CPI JNZ DCR JNZ RSTI 3FH RELOAD C CHECK Reset Check EOF
29
www.vidyarthiplus.com
START
IF EOF Receive d
30 STOP
www.vidyarthiplus.com
YES
NO
Opcode
21,00,45 3E, 36 D3, 0B 3E, 40 D3, 08 3E, 01 D3,08 0E, 05 DB, 05 E6, 02 CA, 11, 41 DB, 04 IN 77
Label
Mnemonics
LXI MVI OUT MVI OUT MVI OUT
Operand
H, 4500H A, 36H 0BH A, 40H 08H A,01H 08H C, 05H 05H
Comments
RELOAD CHECK
CHECK
M, A
www.vidyarthiplus.com
411B 411C 411E 4121 4122 4125 23 D3, 04 23 FE, 3F 0D CF INX CPI JNZ DCR JNZ RSTI H 3FH RELOAD C CHECK Reset Check EOF
32
www.vidyarthiplus.com
RESULT:
Thus the communication between two microprocessors is made using wireless data modem.
www.vidyarthiplus.com
Frequently, the beginners run out of room when routing traces . Leave 0.35 to 0.5 between ICs. For large ICs allow even more space. Parts not found in the component library can be made by placing a series of individual pads and then group them together. Place one pad for each lead of the component. It is very important to measure the pin spacing and pin diameters as accurately as possible. After placing all the components, print out a copy of the layout. Place each component on the top of the layout. Check to insure that you have allowed enough space for every part to rest without touching each other. 2.PLACING POWER AND GROUND TRACES: After the components are placed, the next step is to lay the power and ground traces.A power rail is run along the front edge of the board and a ground rail along the rear edge.From these rails attach traces that run in between the ICs. The ground rail should be very wide, 0.100 and all the supply lines should be 0.50. When using this configuration the remaining of the bottom layer is then reserved for the vertical signal traces. 3.PLACING SIGNAL TRACES: When placing traces, it is always a good practice to make them as short and direct as possible. Use vias to move signals from one layer to the other. A via is a pad-through hole. Generally the best strategy is to lay out a board with vertical trace on one side and horizontal traces on the opposite side. A good trace width for low current digital and analog signals is 0.010. Traces that carry significant current should be wider than signal traces. The table below gives rough guidelines of how wide should a trace be for a given amount of current. 0.010 0.015 0.020 0.025 0.050 0.100 -0.150 0.3 Amps 0.4 Amps 0.7 Amps 1 Amps 2 Amps 4 Amps 6 Amps
34
www.vidyarthiplus.com
When routing traces, it is best to have the snap to grid turned on. Setting the snap grid spacing to 0.050 works well. Changing to a value of 0.025 can be helpful when trying to work as densely as possible. Turning off the snap feature may be necessary when connecting to parts that have unusual pin spacing. It is a commo0n practice to restrict the direction that traces run to horizontal, vertical or at 45 degrees angles. When placing narrow traces, use 0.015 or less. Avoid sharp right angle turns. The problem here is that , in the board manufacturing process the outside corner can be etched a little more narrow. The solution is to use two 45-degree bends with a short leg in between. It is a good idea to place text on the top layer of the board, such as the product or company name. 4.CHECKING YOUR WORK: After all the traces are placed, it is best to double-check the routing of every signal to verify that nothing is missing or incorrectly wired. Do this by running through the schematic, one wire at a time. Carefully follow the path of each trace. After each trace is confirmed, mark the signal on the schematic with a yellow highlighter.
CIRCUIT DIAGRAM:
Vin
35
www.vidyarthiplus.com
Inspect the layout, both top and bottom to ensure that the gap between every item is 0.007 or greater. Use the pad information tool to determine the diameters of pads that make up a component. Check for missing vias. The CAD software will automatically insert a via when changing layers as a series of traces are placed. The user often forget that vias are not automatically inserted otherwise. For example, when beginning a new trace, a via is to first print a top layer , then print the bottom. Visually inspect each side for traces that doesnt connect to anything. When a missing via is found, insert one. Do this by clicking on the pad in the side tool bar from the down list box and click on the layout. Check for the traces that cross each other. Inspecting a printout of each layer easily does this. Metal components such as heat sinks, crystals, switches, batteries and connectors can cause shorts, if they are placed over traces on the top layer. Inspect for these shorts by placing all the metal components on a printout of the top layer. Then look for traces that run below the metal components.
36
www.vidyarthiplus.com
www.vidyarthiplus.com
During the positive half cycle of the input voltage SCR 1, SCR 2, are forward biased and are simultaneously triggered at the firing angle . The supply voltage appears across the load resistance R. The load voltage is 0 from to +, until the SCR 3 and SCR 4 are triggered in negative half cycle. The load current now flows from the supply, SCR 3,Load and SCR 4.thus the direction of current through the load is the same in both half cycles. The output voltage is given by the expression. V0 = Vm / (1+cos) volts
CIRCUIT DIAGRAM:
38
www.vidyarthiplus.com
. K1 . K2 . K3 . K4 . K1 . K2 . K3 . K4
MODEL GRAPH :
Vo
Time period
TABULATION:
39
www.vidyarthiplus.com
Firing Angle ( )
PROCEDURE: 1. 2. 3. 4. 5. Switch ON the trainer power ON/OFF switch. Switch ON the 24-volt AC power supply. Switch ON the debounce logic switch and connect the R load. Vary the controlled voltage from minimum to maximum. For each step note down the Firing angle and the output voltage.
RESULT: Thus the operation of fully controlled converter with R load has been studied and the waveforms are observed.
40
www.vidyarthiplus.com
www.vidyarthiplus.com
Two-phase switching scheme: In this scheme, any two adjacent stator windings are energized. Anticlockwise Step A1 1 1 2 0 3 0 4 1 A2 0 1 1 0 B1 0 0 1 1 B2 1 1 0 0 Data 9H 5H 6H AH Clockwise Step A1 1 1 2 0 3 0 4 1 A2 0 1 1 0 B1 1 1 0 0 B2 0 0 1 1 Data AH 6H 5H 9H
Address Decoding logic: The 74138 chip is used for generating the address decoding logic to generate the device select pulses CS1 and CS2 for selecting the IC 74175 in which latches the data bus to stepper motor driving circuitry.
PROGRAM: Address 4100 Opcode 90 41 1F Label START Mnemonics MOV Operand DPTR # TABLE Comments Load the start address of switching scheme data TABLE into Data pointer. Load the count in R0 Load the number in TABLE into A Push DPTR Value to stack Load the motor port address into DPTR. Send the value in A to stepper motor port address Delay loop to cause a specific amount of time delay before next data item is sent to the motor
78 04 F0 C0 83 C0 82 90 FF C0 F0 7C FF
LOOP
42
www.vidyarthiplus.com
4110 4112 4114 4116 4118 411A 411B 411D 7D FF DD FE DC FA D0 82 D0 83 A3 D8 E8 80 E1 DELAY DELAY1 MOV DNZ DJNZ POP POP INC DJNZ SJMP R5,#0FFH R4, DELAY 1 R4,DELAY DPL DPH DPTR R0, LOOP START
POP back DPTR value from stack Increment DPTR to point to next item in the TABLE Decrement R0, if not zero repeat the loop Short jump to start of the program to make the motor rotate continuosly. Value as per two phase switching scheme.
411F
09 05 06 0AH
TABLE
DB
09 05 06 0AH
RESULT: Enter the above program starting from location 4100 and execute the same, stepper motor rotates. Varying the count at R4 and R5 can vary the speed. Entering the data in the look-up TABLE in the reverse order can vary the direction of rotation.
43
www.vidyarthiplus.com
APPARATUS REQUIRED:
1. 2. 3. 4. 5. 6. 7. Transistor CL100 2 no.s Relay 1 Diode IN4001 1 LED 1 Capacitor 100 F-1 Resistor- 4.7K. 2.2 K. Regulated Power supply
DESIGN:
VC = VCC (1-e-t/RC ) ----------------(1) Where R = 4.7 K. C = 100 F 44
www.vidyarthiplus.com
Let the operation voltage be Vopr . At t = T, voltage across the capacitor is equal to the sum of the relays operating voltage and the two diode drops of Darlington pair. The calculation of T is given as follows VC = VCC C1 = e-t/RC From equation (1) at t = 0, VC = 0 and at t = , VC = VCC VO = VCC (1-e-t/RC ) , VCC = 13V = 13(1-e-t/RC ) R = 4.7 K. C = 100 F 7.97 = 13 (1-e-t/(4.7K*100F) ant t=6sec. Which is the theoretical value of time period for switching from one device to another.
CIRCUIT DIAGRAM :
Relay Vc
45
www.vidyarthiplus.com
THEORY:
The analog timer circuit shown in the diagram consists of darlington pair and relay circuit connected with proper biasing. The relay circuit is designed to operate at operating voltage Vopr which is given by Vopr = VCC (1-e-t/RC ) + 2 diode drops Where VCC supply voltage t time period R and C are the values of biasing resistor and capacitor. Also VC = VCC (1-e-t/RC ) When the supply voltage VCC (ranging from 13 to 14V) is given to the circuit, device A is turned ON. The current flowing through the circuit charges the biasing capacitor upto a voltage equal to sum of relay operating voltage and the two diode drop of this voltage is reached. Once this relay lead the switch positions the time taken by the analog timer to switch from one device to another is calculated, whose theoretical value is 6 sec.
PROCEDURE:
1. Connections are given as per the circuit diagram. 2. Now supply voltage of 13V is given and time taken by the relay to switch from one device A to device B (i.e) time taken to switch ON the LED is noted.
46
www.vidyarthiplus.com
RESULT:
Thus the analog timer was designed using relay. Theoritical value of time taken = ----------Practical value of time taken = -----------
DESIGN : Consider fig(i) At node 1: VO1-V1/R2 + (V2-V1 )/R1=0 R1*VO1 +R2 *V2-V1(R1+R2)=0 VO1=V1(1+R2/R1)-V2*R2/R1--------------(1)
47
www.vidyarthiplus.com
At node 2: VO2-V2/R2 + (V1-V2 )/R1=0 R1*VO2 +R2 * V1-V2(R1+R2)=0 VO2=V2(1+R2/R1)-V1*R2/R1---------------(2) Output voltage of the instrumentation amplifier, Vout=( Vo2 Vo1)*(R3/R)------------------(3) Substituting for Vo2 & Vo1 from equations (1),(2)and (3) Vout-[V2(1+R2/R1)-V1*R2/R1 V1(1+R2/R1)+V2*R2/R1)]*(R3/R) As V=V2-V1, therefore Vout / V= R3 / R(1+2*R2 / R1) This is gain equation for instrumentation amplifier. R3 / R is assumed to be 10 by choosing R 3 = 100 K , R = 10 K. The two R3s are matched for the same value. The two R2s are matched using 120 K resistances and the R1 value is chosen to be 10 K and thus the gain obtained is 250. THEORY: In a number of industrial and consumer applications physical quantities such as temperature, pressure, light intensity are to be measures and controlled. These physical quantities are measured with the help of transducers has to be amplified so that it can drive the display system. This function is performed by an instrumentation amplifier
CIRCUIT DIAGRAM :
LF 356 +15V
-15V
10K
100K 10K
Detention Junction
10K +15V 10K
R2 10k
+15V
LF 356
-15V LF 356
+15V
48
www.vidyarthiplus.com
LF 356
-15V
INSTRUMENTATION AMPLIFIER
49
www.vidyarthiplus.com
The important features of instrumentation amplifier are: 1. High Gain Accuracy 2. High CMRR 3. High Gain Stability With Low Temperature Coefficient 4. Low Dc Output 5. High Output Impedance PROCEDURE: 1. Connections are given as per the circuit diagram. 2. The voltage from the bridge type transducer part (thermocouple) is amplified by the instrumentation amplifier. 3. The amplified output voltage is noted for different temperature values. 4. A graph is plotted between the temperature and the amplified voltage.
RESULT: Thus the instrumentation amplifier was designed and the graph is plotted.
50
www.vidyarthiplus.com
THEORY: ADSP 2181 is highly advanced DSP processor, which works of on chip serial port. It is capable of processing 16-bit arithmetic operation, with ALU and Accumulator. This ADSP2181 is suitable for developing applications like adaptive filtering, FET & 51
www.vidyarthiplus.com
external precision arithmetic etc.,In this experiment a simple pulse generator is stimulated using ADSP2181. In order to develop this application IBM PC keyboard is connected to ADSP2181through the IO port of oxo2 The IBM PC keyboard up arrow is used to increase the amplitude of the pulse wave, down arrow is used to decrease the amplitude, left arrow is used to decrease the frequency and right arrow is used to increase the frequency. PROBLEM STATEMENT: START
1. USING ADSP2181 generate the square wave and measure the amplitude of the square wave and frequency 2. Identify scan codes for the up arrow , down arrow, right and left arrow by Store the counter value in reading the IO port through which IBM PC keyboard is connected to the IO memory port of ADSP2181 3. Find the suitable logic and wrote a program to increase and decrease the amplitude of square wave using CRO Store Vmax and Vmin in register ay0 A &ay1
FLOWCHART
Apply delay
Increase Vmax by 1
52 B
www.vidyarthiplus.com
Decrease Vmax by 1
If keyboard is right
Yes
arrow 0x0074
If keyboard is left
arrow 0x006B 53 A
www.vidyarthiplus.com
SAMPLE PROGRAM: .module /ram main _routine; start: ay0 =0xfff; [max peak voltage] beg: cntr =0xfff; [delay counter] do int until ce; axo =0x0000; io(0x14) =ay0;[send max peak to DAC] ax1=io(0x102);[read keyboard port] dm(0x103) =ax1; [store the scan cade for the pressed key] ay1 = 0x0ff; [max upper bytes] ar=ax1 and ay1; ax1=ar; ay1=0x0075;[scan code for up arrow key] ar=ax1-ay1 ; [do camparision] dm(0x105)=ar; if ne jump beg;[if not equal repeat the same square wave]
int:
54
www.vidyarthiplus.com
ay =ay0+1;[if equal increase the max peak voltage repeat the square wave] ay0=ar; dm(0x106)=ay0; jump beg; idle; .end mod; EXERCISE: In the given program pulse generator is stimulated only using up arrow key so the students instructed to stimulate the same using down arrow , left arrow & right arrow kkeys by identifying the key codes PROGRAM: .module /ram main_routine; start: ay0 =0xfff;[max peak voltage] ax1 =0xff; dm(0x107)=ax1; cntr =dm(0x107);[delay counter] do int until ce; ax0=0x0000; io(0x14) =ax0 ; [send minimum peak to DAC] cntr =dm(0x107); do ict until ce; io(0x14)=ay0;[send maximum peak to DAC] ax1=io(0x102); [read keyboard port] dm(ox103)=ax1;[store scan code for pressed key] ay1=ox0ff; ar=ax1 and ay1; ax1 =ar; ay1=0x0075;[scan code for up arrow key] ar=ax1 ay1;[do comparision] dm(0x105)=ar; if ne jump aaa;[if not equal check for another key] ar=ay0+1;[ increase amplitude] ay0=ar; dm(0x106)=ay0; jump beg; ay1=0x0072;[scan code for down arrow key] ar=ax1-ay1;[do comparision] dm(0x108)=ar; if ne jump bbb;[if not equal check for another key] ar=ay0-1;[ decrease amplitude] ay0=ar;
aaa:
55
www.vidyarthiplus.com
dm(0x106)=ay0; jump beg; ay1=0x0072;[scan code for right arrow key] ar=ax1-ay1;[do comparision] dm(0x109)=ar; if ne jump ccc;[if not equal check for another key] ax1=dm(0x107) ar=ax1+5;[ decrease frequency] dm(0x107)=ar; jump beg; ay1=0x0074;[scan code for left arrow key] ar=ax1-ay1;[do comparision] dm(0x110)=ar; if ne jump beg;[if not equal check for another key] ax1=dm(0x107) ar=ax1-5;[ increase frequency] dm(0x107)=ar; jump beg;
bbb:
ccc:
TABULATION COLUMN:
AMPLITUDE ( V)
SQUARE WAVE
T ON
T OFF
56
www.vidyarthiplus.com
MODEL GRAPH :
V
VOLTS T msec
57
www.vidyarthiplus.com
58
www.vidyarthiplus.com
During the positive half cycle of the input voltage SCR 1, SCR 2, are forward biased and are simultaneously triggered at the firing angle . The supply voltage appears across the load resistance R. The load voltage is 0 from to +, until the SCR 3 and SCR 4 are triggered in negative half cycle. The load current now flows from the supply, SCR 3,Load and SCR 4.thus the direction of current through the load is the same in both half cycles. The output voltage is given by the expression. V0 = Vm / (1+cos) volts
CIRCUIT DIAGRAM:
59
www.vidyarthiplus.com
PROCEDURE: 1. Open the SIMULINK library from MATLAB 6.5. 2. Select the components from the blockset. 3.Give the wiring connection as per the circuit diagram. 4. Simulate the circuit and observe the waveform.
60
www.vidyarthiplus.com
MODEL GRAPH :
Vo
61
www.vidyarthiplus.com
Time period
RESULT: Thus the operation of fully controlled converter with R load has been studied and the waveforms are observed.
62
www.vidyarthiplus.com
MATLAB 6.5 software THEORY: AC voltage controllers are thyristor-based devices, which convert the fixed alternating voltage directly to variable alternating voltage without a change in the frequency. The single phase AC voltage controller uses two thyristors connected in anti parallel. The thyristors T1 and T2 are forward biased during the positive and negative half cycles respectively. During the positive half cycle, T1 is triggered at firing angle . T1 starts conducting and the voltage source is applied to the load from to (+). During the negative half cycle T2 is triggered at ( +), hence it conducts from (+) to 2.
CIRCUIT DIAGRAM:
T1
a a a a a A A A
63
www.vidyarthiplus.com
230V 50 Hz, 1 AC Supply T2 R Load
MODEL GRAPH:
V0 (V)
time
PROCEDURE: 1. Open the SIMULINK library from MATLAB 6.5. 2. Select the components from the blockset. 3.Give the wiring connection as per the circuit diagram. 4.Simulate the circuit and observe the waveform.
64
www.vidyarthiplus.com
RESULT: Thus the operation of single phase AC voltage controller with R load has been studied and the waveforms are observed
65
www.vidyarthiplus.com
66