Académique Documents
Professionnel Documents
Culture Documents
Introduction
Thyristors are semiconductor devices that are specifically
designed for use in high-power switching applications. Thyristors
can operate only in the switching mode, where they act like either
an open or closed switch and once triggered it will remain
conducting.
4. dv/dt Triggering:-
IC = dQ/dt
Q = CV
IC = d(CV) / dt = C. dV/dt + V. dC/dt
as dC/dt = 0
IC = C.dV/dt
Therefore when the rate of change of voltage across the
device becomes large, the device may turn ON, even if the
voltage across the device is small.
5. Gate Triggering:-
1. DC gate triggering:-
2. AC Gate Triggering:-
3
In this method the gate drive consists of a single pulse
appearing periodically (or) a sequence of high frequency pulses.
This is known as carrier frequency gating. A pulse transformer is
used for isolation. The main advantage is that there is no need of
applying continuous signals, so the gate losses are reduced.
Thyristor Triggering Circuit Design Considerations:
4
current (Latching current is more than holding current) then
thyristor turn off.
The dynamic processes of the SCR are turn ON and turn OFF
processes in which both voltage and currents of an SCR vary with
time. The transition from one state to another takes finite time,
but doesnt take place instantaneously. The static or VI
characteristics of the SCR give no indication about the speed at
which the SCR switched into forward conduction mode from
forward blocking mode. Hence the dynamic characteristics are
sometimes more important which gives the switching
characteristics of the SCR.
There will be a finite transition time that SCR takes to reach
the forward conduction mode from blocking mode, which is
termed as turn ON time of SCR. The turn ON time of the SCR Ton
can be subdivided into three distinct intervals namely delay time
td, rise time tr, and spread time ts.
5
the current density is much higher at gate terminal. And it rapidly
decreases as the distance from gate increases. Hence, the delay
time td is the time during which anode current flows in a narrow
region at which current density (gate current) is highest.
This is the time taken by the anode current to rise from 0.9Ia
to Ia. Also the time required for the forward blocking voltage to
fall from o.1Va to its ON-state voltage drop which is the range of 1
to 1.5 volts. During this time anode current spread over the entire
conducting region of an SCR from a narrow conducting region.
After the spreading time, a full anode current flows through the
device with small ON-state voltage drop. Therefore, the total turn
ON time,
Ton = tr + td + ts
6
the amplitude of the gate pulse should be in the order of 3 to 5
times the minimum gate current of the SCR.
Fig. Dynamic Turn ON switching Characteristic
7
2. Resistance Firing Circuit
The circuit below shows the resistance triggering of SCR
where it is employed to drive the load from the input AC
supply. Resistance and diode combination circuit acts as a
gate control circuitry to switch the SCR in the desired
condition.
As the positive voltage applied, the SCR is forward biased
and doesnt conduct until its gate current is more than
minimum gate current of the SCR.
When the gate current is applied by varying the resistance
R2 such that the gate current should be more than the
minimum value of gate current, the SCR is turned ON. And
hence the load current starts flowing through the SCR.
The SCR remains ON until the anode current is equal to the
holding current of the SCR. And it will switch OFF when the
voltage applied is zero. So the load current is zero as the SCR
acts as open switch.
The diode protects the gate drive circuit from reverse gate
voltage during the negative half cycle of the input. And
Resistance R1 limits the current flowing through the gate
terminal and its value is such that the gate current should
not exceed the maximum gate current.
It is the simplest and economical type of triggering but
limited for few applications due to its disadvantages.
In this, the triggering angle is limited to 90 degrees only.
Because the applied voltage is maximum at 90 degrees so
the gate current has to reach minimum gate current value
somewhere between zero to 90 degrees.
8
Fig. R trigger circuit
9
3. Resistance Capacitacne (RC) Firing
Circuit
The limitation of resistance firing circuit can be overcome by
the RC triggering circuit which provides the firing angle
control from 0 to 180 degrees. By changing the phase and
amplitude of the gate current, a large variation of firing
angle is obtained using this circuit.
Below figure shows the RC triggering circuit consisting of two
diodes with an RC network connected to turn the SCR.
By varying the variable resistance, triggering or firing angle
is controlled in a full positive half cycle of the input signal.
During the negative half cycle of the input signal, capacitor
charges with lower plate positive through diode D2 up to the
maximum supply voltage Vmax. This voltage remains at
-Vmax across the capacitor till supply voltage attains zero
crossing.
During the positive half cycle of the input, the SCR becomes
forward biased and the capacitor starts charging through
variable resistance to the triggering voltage value of the
SCR.
When the capacitor charging voltage is equal to the gate
trigger voltage, SCR is turned ON and the capacitor holds a
small voltage. Therefore the capacitor voltage is helpful for
triggering the SCR even after 90 degrees of the input
waveform.
In this, diode D1 prevents the negative voltage between the
gate and cathode during the negative half cycle of the input
through diode D2.
10
Fig. RC trigger circuit
11
4. UJT based Firing Circuit
12
Fig. Synchronized UJT trigger circuit
13
5. Microcontroller Based Trigger Circuit:
It has been established that in analog triggering circuit,
trigger circuit may consist of too many components, which may
lead to debugging issues, as well, uneven spacing of the adjacent
trigger pulses and shifting phase inaccuracies may pose
difficulties, therein. Hence digital trigger mechanism is designed,
which overcomes the limitations of analog trigger circuit. In this
schematic, digital trigger mechanism has been used for the
control of output power. A programmable pulse train is generated
in desired sequence as output of microcontroller, using ATmega-
32 controller. The pulse train manipulations is achieved through
software program, which is then used for controlling converters
output. Through proper isolation these manipulated pulses are
used for triggering SCR gates for power control operations.
Synchronization is achieved using sample from raw AC
signal, by converting AC signal into square wave pulse through
zero crossing detector and using it for the interrupt of MCU.
Variable analog voltage (0-5 V) is utilized through a pot-meter in
an application, so that a user is able to control the firing angle.
ADC port of ATmega-32 converts input variable analog voltage fed
by the user into digital value. By proper mathematical calculation
the digital count can be used to trigger the converter circuit at
desired firing angle, thereby controlling the output voltage.
2 Software Module
The algorithms for implementation of this scheme are
developed using embedded C language in Atmel AVR Studio.
The compilation of executable software code is achieved
14
using WinAVR, a development tools for the ATmega AVR
processor, hosted on Windows.
Methodology
15
1 0-5 V Control Voltage
16
2 Zero Crossing Detector Module
3 Atmega-32 Microcontroller
17
18
4 LCD Display
Microcontroller board with 2-line LCD display is used for
showing the ADC value, as well as the corresponding firing angle.
Values on the display are in real time, hence, with the change in
the analog voltage, values of digital count and firing angle
changes.
5 Programming
Embedded C language is used for programming of AVR
microcontroller. Here WinAVR compiler is used. The compiled
executable code in the form of .hex file can be downloaded in the
microcontroller chip. This burning of the chip embeds the
necessary instructions in the chip memory. BSD programmer is
used for the said purpose.
19
reading is displayed for the observer (user), who is controlling the
converters output. ADC output ranges between 0-1023 counts
which is used to control firing angle 00-1800. Let Y is the output
from analog to digital converter and a is a firing angle. So the
relationship between firing angle and ADC count is given in
equation below.
a = Y * (180/1023)
Here, it is desirable to estimate the delay as per the firing
angle, whereas the firing angle is based on the ADC count and
ADC count is based on the input fed by the user, which is in the
form of an analog voltage (0-5V). Hence, mathematical
association between delay in the production of firing pulse and
ADC count is established.
The Converter output shall be controlled in the range 0 180 0.
As the AC supply frequency is 50Hz, it has the time period of
20ms, i.e. for positive half cycle time period is 10ms. The ADC of
ATmega32 is of 10-bit resolution, thereby, the maximum value
from the ADC with +5 volts reference will be 1023, for which
10ms delay is required. The ADC reading is converted into a
delay after which firing pulse is to be generated. Connection
among ADC reading and firing angle delay is shown in equation
below.
If Y is output of ADC and d is delay in milliseconds, then,
d = (Y*10/1023)
Here, For ADC count = 1023, the delay d will be 10
milliseconds, which is nothing but time period of half positive
cycle, as mentioned above. MCU generates firing pulses on its
output port with on-time of 100 microseconds.
Trigger pulse is outputted, when there is zero crossing of AC
mains. When user input analog voltage is raised up to 2.5 V, ADC
output will be 512 and delay will be 5ms, triggering pulse is
generated with the firing angle of 900.
7 Isolation circuits
20
output load using just light by using a very common and valuable
electronic component called an opto-coupler. Pluse transformer
can also be used for isolation. An optocoupler, also known as an
opto-isolator or photo coupler, is an electronic component that
interconnects two separate electrical circuits by means of a light
sensitive optical interface.To protect the triggering circuit from
high voltage converter circuit isolation is necessary. So opto-
coupler is used here to isolate the triggering circuit from the
converter circuit.
6. HARDWARES
Parts list:
Pot - (470k ) 1
Diode - (1N4007) 2
Resistor - (1k ) 1
Resistor - (3.9k ) 1
Pot - (470k ) 1
Diode - (1N4007) 2
Disc Capacitor - (100nF) 1
Resistor - (3.9k ) 1
Resistor - (3.9k ) 1
Resistor - (10 ) 1
Resistor - (1 ) 1
Disc Capacitor - (100uF) 1
Electrolytic Capacitor - (100uF) 2
Pot - (470k ) 1
Diode - (1N4007) 4
IC 7812 1
UJT - (2N2646) 1
21
Transformer - (220/18) 1
Pulse Transformer - (1:1) 1
Resistor (470 2
Resistor (3.9k ) 1
Resistor (10k ) 1
Opto coupler (DP 817B) 2
Electrolytic Capacitor (100uF) 2
Pot (470k ) 1
Diode (1N4007) 2
IC 7805 1
Transformer - (9-0-9) 1
Pulse Transformer - (1:1) 1
Micro Controller ( AT Mega 32) 1
LCD - (16x2) 1
LED 1
22
AT Mega 32 Microcontroller
Features
23
2 Differential Channels with Programmable Gain at 1x, 10x,
or 200x
Byte-oriented Two-wire Serial Interface
Programmable Serial USART
Master/Slave SPI Serial Interface
Programmable Watchdog Timer with Separate On-chip Oscillator
On-chip Analog Comparator
Special Microcontroller Features
Power-on Reset and Programmable Brown-out Detection
Internal Calibrated RC Oscillator
External and Internal Interrupt Sources
Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-
down, Standby and Extended Standby
I/O and Packages
32 Programmable I/O Lines
40-pin PDIP, 44-lead TQFP, and 44-pad QFN/MLF
Operating Voltages
2.7V - 5.5V for ATmega32L
4.5V - 5.5V for ATmega32
Speed Grades
0 - 8MHz for ATmega32L
0 - 16MHz for ATmega32
Power Consumption at 1MHz, 3V, 25C
Active: 1.1mA
Idle Mode: 0.35mA
Power-down Mode: < 1A
24
Pin Configurations
25
Pin Descriptions
GND- Ground.
26
unless TAP states that shift out data are entered. Port C also
serves the functions of the JTAG interface.
RESET- Reset Input. A low level on this pin for longer than
the minimum pulse length will generate a reset, even if the
clock is not running. Shorter pulses are not guaranteed to
generate a reset.
AVCC- AVCC is the supply voltage pin for Port A and the A/D
Converter. It should be externally connected to VCC, even if
the ADC is not used. If the ADC is used, it should be
connected to VCC through a low-pass filter.
27
7. SOFTWARES:
Proteus:
This software is used for circuit simulation purpose. Before
real time
implementing the circuit, we create it on Proteus and then check
whether it
will correctly or not. This is similar to any other circuit simulator.
In this we
place all the circuit components in the model file and then
connect them
according to the circuit requirements then the by double clicking
on the
microprocessor we embed the HEX file generated by the ATMEL
STUDIO.
Now we run the simulator and check whether the circuit is
working as per
the requirements or not. If it is not working as we have desired
then we need
to check the circuit and make corrections otherwise we ready to
go to the
next step.
General features:
a. Support for both interactive and graph based simulation.
b. CPU Models available for popular microcontrollers such as the
PIC, 8051 and AT Mega series.
c. Interactive peripheral models include LED and LCD displays, a
universal matrix keypad, an RS232 terminal and a whole library
of switches, pots, lamps, LEDs etc.
d. Virtual Instruments include voltmeters, ammeters, a dual beam
oscilloscope and a 24 channel logic analyzer.
e. On-screen graphing - the graphs are placed directly on the
schematic just like any other object. Graphs can be maximized
to a full screen mode for cursor based measurement and so
forth.
f. Graph Based Analysis types include transient, frequency, noise,
distortion, AC and DC sweeps and fourier transform. An Audio
graph allows playback of simulated waveforms.
28
g. Direct support for analogue component models in SPICE format.
h. Open architecture for plug in component models coded in C+
+ or other languages. These can be electrical., graphical or a
combination of the two.
i. Digital simulator includes a BASIC-like programming language
for modelling and test vector generation.
j. A design created for simulation can also be used to generate a
netlist for creating a PCB
i. there is no need to enter the design a second time.
29
1. R Triggering :
30
2. RC Triggering:
31
3. UJT Trigger:
32
4. Triggering using AT Mega 32 :
33
34
Diptrace
This software has been used for PCB designing. PCB Layout
is a high-level engineering tool for board design featuring smart
manual routing with differential pair support, shape-based auto
router, advanced verification, and wide import/export capabilities.
Design requirements are defined by net classes, class-to-class
rules, and detailed settings by object types for each class or layer.
Dip Trace features design process with real-time DRC, which
reports errors on the fly before actually making them. The board
can be previewed in 3D and exported for mechanical CAD
modeling. Design Rule Check with in-depth detailing, Net
Connectivity verification, and comparing to source schematic
ensure maximum quality of the final product.
35
Atmel AVR Studio
Pro-ISP:
36
the micro controller. It has a signal amplitude of +5 to +12 volt
representing binary 1 and -5 to -12 representing 0. The micro
controller, ATmega32 is programmed using the pins meant for SPI
communication. To enable programming, the microcontroller must
be taken to the RESET state by pulling its reset pin LOW (Logic 0,
or say 0 V). In this state, microcontroller is programmable in
either mode (Parallel programming or serial programming).
Micro controller always accepts 0 V as logic 0and +5 V as
logic one. The signals transmitted from PC is not in a form that
could be accepted directly by the micro controller. Those signals
from PC should be made suitable for micro controller. In the
programmer, Zener diodes provide necessary conditioning for the
signals. It is wired in such a way that it converts 12 volt signal to
+5 0 volt signal which is suitable for the micro controller. A
resistance is necessary to limit the current in the nodes of Zener
diodes, without which the Zener diode may burn off. And
computer internal circuits may also receive harms.
A high signal (+5V) in the Reset pin of micro controller
brings it into operational state. A low signal (Ground) drives it into
programming mode. Internal pull up resistors are provided at the
reset pins and if nothing is connected to this pin, the micro
controller tries to execute the program written within it. Designers
can provide a resistance capacitance reset circuit, but its not
always necessary. Whatever, a push button is used in most cases
to provide reset facility. Here in the burner circuit an open
collector output is provided to the reset pin and it is driven by the
programmer through the port. This much is enough. The
necessary data transmission and reception work portion is
handled by the pony programmer. Follow the links provided to
download pony programmer. The following burner circuit can burn
ATmega32microcontroller. Connect the derived signals to the
adjacent pins, attach the cable to com port, power up the device
i.e. micro controller, and the micro controller is ready to be
programmed.
Program:
37
program
#include <stdlib.h>
#include <avr/interrupt.h>//header to enable interrupt service
ISR(INT0_vect)
{
int i;
int t = (int) (ADCValue*10/1023); // Relation between delay time
and ADC value
for(i=1;i<=t;i++)
{
_delay_ms(1); //Set delay
}
PORTB |= (1<<1); //Set PB1 high
_delay_us(100); //Width of the triggering pulse
PORTB &= ~(1<<1); //Set PB1 low
}
int main(void)
{
float angle = 0;
char showangle [5];
float adc_value;
_delay_ms(5000);
38
DDRB = 0xFF; //PORTD is set as output
DDRC = 0xFF; //PORTC is set as output
DDRA = 0; //PORTA is set as input
DDRD = 0; //PORTD is set as input
DDRD &= ~(1<<PD2); //PD2(INT0 Pin) is now an input
PORTD |= (1<<PD2); //INT0 Pin is now an input with pull-
up enabled
GIFR |= (1<<INT0); //Enable INT0
GIMSK |= 1<<INT0; //Enable INT0 external interrupt
MCUCR |= (1<<ISC01); //Trigger INT0 on falling edge
MCUCR &= ~(1<<ISC00); //Trigger INT0 on falling edge
sei(); //Enable Global Interrupt
send_a_command(0x01);
_delay_ms(1);
send_a_command(0x38);
_delay_ms(1);
send_a_command(0b00001111);
_delay_ms(1);
while(1)
{
ADCSRA |= (1<<ADSC); //Start the ADC conversion
adc_value = ADCW; //store ADC value
39
ADCValue=(int) adc_value;
40
send_a_character(*string_of_characters++);
}
}
41