Wednesday, 22 August 2012

dsp ;program


PROGRAM:
%Program for computing convolution and m-fold decimation by polyphase
decomposition.
clear all;
clc;
close all;
x=input(‘enter the input sequence’);
h=input(‘enter the FIR filter coefficients’);
M=input(‘enter the decimation factor’);
N1=length(x);
N=0:1:N1-1;
Subplot(2,1,1);
Stem(n,x);
Xlabel(‘time’);
Ylabel(‘amplitude’);
Title(‘X sequence response’);
N2=length(h);
n=0:1:N2-1;
Subplot(2,1,2);
Stem(n,h);
Xlabel(‘time’);
Ylabel(‘amplitude’);
Title(‘H sequence response’);
H=length(h);
P=floor((H-1)/M)+1;EC 56-Digital Signal Processing Lab
©Einstein College of Engineering
Page 37 of 81
r=reshape([reshape(h,1,H),zeros(1,P*M-H)],M,P);
X=length(x);
Y=floor((X+H-2)/M)+1;
U=floor((X+M-2)/M)+1;
R=zeros(1,X+P-1);
for m=1:M
   R=R+conv(x(1,:),r(m,:));
End
Disp(R);
N=length(R);
n=0:1:N-1;
figure(2);
stem(n,R);
xlabel(‘time’);
ylabel(‘amplitude’);
title(‘Decimation of polyphase decomposition sequence response’)

Saturday, 7 July 2012

ASSIGNMENT IN DC


ASSIGNMENT IN DIGITAL                     COMMUNICATION





                               HARISH PANDIAN.R
                                                                                             10EC03

1)    THE DIFFERENCE BETWEEN THE FOURIER SERIES AND FOURIER TRANSFORM
ANS.
Fourier series :
                       Fourier series is an expansion of a periodic function using infinite sum of sines and cosines. Fourier series was initially developed when solving heat equations but later it was found out that the same technique can be used to solve a large set of mathematical problems specially the problems that involve linear differential equations with constant coefficients

Fourier transform:
                     Fourier transform defines a relationship between a signal in the time domain and its representation in the frequency domain. The Fourier transform decomposes a function into oscillatory functions. Since this is a transformation, the original signal can be obtained from knowing the transformation, thus no information is created or lost in the process.

Difference:
1)      Fourier series is an expansion of periodic signal as a linear combination of sines and cosines while Fourier transform is the process or function used to convert signals from time domain in to frequency domain
2)      Fourier series is defined for periodic signals and the Fourier transform can be applied to aperiodic  signals
3)      The study of Fourier series actually provides motivation for the Fourier transform.







2)    FOURIER TRANSFORM TIME SHIFTING PROPERTY
Ans.
              If 
             \begin{displaymath}f(t) \Leftrightarrow F(\omega) \end{displaymath}
             then 
            \begin{displaymath}f(t-t_0) \Leftrightarrow F(\omega)e^{-j\omega t_0} \end{displaymath}

      In other words, a shift in time corresponds to a change in phase in the Fourier       
      transform.
3)      TYPES OF SIGNALS (OR) FUNTIONS:
Ans.
      Step signal:
         The step signal is zero for negative input and one for positive. Thus, it is defined    
          by 

\begin{displaymath}
\mathrm{step}(x) = \left\{
\begin{array}{ll}
1 & \textrm{if $x \geq 0$}\\
0 & \textrm{if $x < 0$}\\
\end{array} \right.
\end{displaymath}
      
         






      Ramp signal:
            The Step signal can be interpreted as a ramp of width zero, when the ramp is    
       defined as follows 
       



     Impulse signal:
         The impulse function, also known as Dirac delta function or Dirac impulse, is    
          defined by 




      Sinc function :
           The Sinc function is defined in the following manner:

       Rect  function :
        The Rect Function is a function which produces a rectangular-shaped pulse with a     
        width of 1 centered at t = 0. The Rect function pulse also has a height of 1. The
         Sinc function and the rectangular function form a Fourier transform pair.
          A Rect function can be written in the form:
                                    


4)    POWER AND ENERGY SIGNALS :
ENERGY SIGNALS:
     Some signals qualify to be classified as energy signals, whereas some other signals qualify to be classified as power signals. Given a continuous-time signal f(t), the energy contained over a finite time interval is defined as follows.
                                   
      POWER SIGNAL:
           When a reference to power in a signal is made, it points to the average power. Power is defined as energy per second. For a continuous-time signal, we can obtain an expression for power from equation 
                                








Saturday, 30 June 2012

FPRS Based Visitor Control For Secure Areas (Abstract)


This Project “Design and development of FPRS based visitor control for secured areas” is a reliable circuit that takes over the task of counting number of visitors very accurately and control the visitors
The main objective of this Final Year Project Report is to develop an access control system which will authenticate the users using FPRS and users can access using the embedded system. It can be useful in book tracking in libraries, employ time, attendance and access control, product tracking in product assembly.

 In this Embedded System Project we are going to develop embedded system which will authenticate the users using FPRS, so that the unauthenticated users can be avoided. Every user’s finger prints stored in the memory. When the user comes to secured areas like Atomic/ defence Establishments, he can put the finger on reader to access the particular place, FPRS reader will detect the user automatically, it will give the access. . When any visitor visits the counter is incremented by one and if the count exceeds the maximum value the Buzzer rings. The total number of interruptions is also displayed on the LCD. This will completely automate the access control process.uct tracking in product assembly.

This Project can be used in defense & Atomic space Establishments, The main advantage & best feature of this project is more secure and allows only selected people into the prohibited premises. 

Friday, 29 June 2012

ANALYSIS ON ELECYRONICS

I need comments on electronics what people think about it . Its just an analysis on it cooperation of viewers required

PN JUNCTION DIODE FUNCTION


Semiconductor Basics

If Resistors are the most basic passive component in electrical or electronic circuits, then we have to consider the Signal Diode as being the most basic "Active" component. However, unlike a resistor, a diode does not behave linearly with respect to the applied voltage as it has an exponential I-V relationship and therefore can not be described simply by using Ohm's law as we do for resistors. Diodes are basic unidirectional semiconductor devices that will only allow current to flow through them in one direction only, acting more like a one way electrical valve, (Forward Biased Condition). But, before we have a look at how signal or power diodes work we first need to understand the semiconductors basic construction and concept.
Diodes are made from a single piece of Semiconductor material which has a positive "P-region" at one end and a negative "N-region" at the other, and which has a resistivity value somewhere between that of a conductor and an insulator. But what is a "Semiconductor" material?, firstly let's look at what makes something either a Conductor or an Insulator.

Resistivity

The electrical Resistance of an electrical or electronic component or device is generally defined as being the ratio of the voltage difference across it to the current flowing through it, basic Ohm´s Lawprincipals. The problem with using resistance as a measurement is that it depends very much on the physical size of the material being measured as well as the material out of which it is made. For example, If we were to increase the length of the material (making it longer) its resistance would also increase. Likewise, if we increased its diameter (making it fatter) its resistance would then decrease. So we want to be able to define the material in such a way as to indicate its ability to either conduct or oppose the flow of electrical current through it no matter what its size or shape happens to be. The quantity that is used to indicate this specific resistance is called Resistivity and is given the Greek symbol of ρ, (Rho). Resistivity is measured in Ohm-metres, ( Ω-m ) and is the inverse to conductivity.
If the resistivity of various materials is compared, they can be classified into three main groups,ConductorsInsulators and Semi-conductors as shown below.

Resistivity Chart

Resistivity Chart   
Notice also that there is a very small margin between the resistivity of the conductors such as silver and gold, compared to a much larger margin for the resistivity of the insulators between glass and quartz. The resistivity of all the materials at any one time also depends upon their temperature.

Conductors

From above we now know that Conductors are materials that have a low value of resistivity allowing them to easily pass an electrical current due to there being plenty of free electrons floating about within their basic atom structure. When a positive voltage potential is applied to the material these "free electrons" leave their parent atom and travel together through the material forming an electron drift. Examples of good conductors are generally metals such as Copper, Aluminium, Silver or non metals such as Carbon because these materials have very few electrons in their outer "Valence Shell" or ring, resulting in them being easily knocked out of the atom's orbit. This allows them to flow freely through the material until they join up with other atoms, producing a "Domino Effect" through the material thereby creating an electrical current.
Generally speaking, most metals are good conductors of electricity, as they have very small resistance values, usually in the region of micro-ohms per metre with the resistivity of conductors increasing with temperature because metals are also generally good conductors of heat.

Insulators

Insulators on the other hand are the exact opposite of conductors. They are made of materials, generally non-metals, that have very few or no "free electrons" floating about within their basic atom structure because the electrons in the outer valence shell are strongly attracted by the positively charged inner nucleus. So if a potential voltage is applied to the material no current will flow as there are no electrons to move and which gives these materials their insulating properties. Insulators also have very high resistances, millions of ohms per metre, and are generally not affected by normal temperature changes (although at very high temperatures wood becomes charcoal and changes from an insulator to a conductor). Examples of good insulators are marble, fused quartz, p.v.c. plastics, rubber etc.
Insulators play a very important role within electrical and electronic circuits, because without them electrical circuits would short together and not work. For example, insulators made of glass or porcelain are used for insulating and supporting overhead transmission cables while epoxy-glass resin materials are used to make printed circuit boards, PCB's etc.

Semiconductor Basics

Semiconductors materials such as silicon (Si), germanium (Ge) and gallium arsenide (GaAs), have electrical properties somewhere in the middle, between those of a "conductor" and an "insulator". They are not good conductors nor good insulators (hence their name "semi"-conductors). They have very few "fee electrons" because their atoms are closely grouped together in a crystalline pattern called a "crystal lattice". However, their ability to conduct electricity can be greatly improved by adding certain "impurities" to this crystalline structure thereby, producing more free electrons than holes or vice versa. By controlling the amount of impurities added to the semiconductor material it is possible to control its conductivity. These impurities are called donors or acceptors depending on whether they produce electrons or holes respectively. This process of adding impurity atoms to semiconductor atoms (the order of 1 impurity atom per 10 million (or more) atoms of the semiconductor) is called Doping.
The most commonly used semiconductor basics material by far is silicon. Silicon has four valence electrons in its outermost shell which it shares with its neighbouring silicon atoms to form full orbital's of eight electrons. The structure of the bond between the two silicon atoms is such that each atom shares one electron with its neighbour making the bond very stable. As there are very few free electrons available to move around the silicon crystal, crystals of pure silicon (or germanium) are therefore good insulators, or at the very least very high value resistors.
Silicon atoms are arranged in a definite symmetrical pattern making them a crystalline solid structure. A crystal of pure silica (silicon dioxide or glass) is generally said to be an intrinsic crystal (it has no impurities) and therefore has no free electrons. But simply connecting a silicon crystal to a battery supply is not enough to extract an electric current from it. To do that we need to create a "positive" and a "negative" pole within the silicon allowing electrons and therefore electric current to flow out of the silicon. These poles are created by doping the silicon with certain impurities.
Silicon Atom

The diagram above shows the structure and lattice of a 'normal' pure crystal of Silicon.

N-type Semiconductor Basics

In order for our silicon crystal to conduct electricity, we need to introduce an impurity atom such as Arsenic, Antimony or Phosphorus into the crystalline structure making it extrinsic (impurities are added). These atoms have five outer electrons in their outermost orbital to share with neighbouring atoms and are commonly called "Pentavalent" impurities. This allows four out of the five orbital electrons to bond with its neighbouring silicon atoms leaving one "free electron" to become mobile when an electrical voltage is applied (electron flow). As each impurity atom "donates" one electron, pentavalent atoms are generally known as "donors".
Antimony (symbol Sb) or Phosphorus (symbol P), are frequently used as a pentavalent additive as they have 51 electrons arranged in five shells around their nucleus with the outermost orbital having five electrons. The resulting semiconductor basics material has an excess of current-carrying electrons, each with a negative charge, and is therefore referred to as an "N-type" material with the electrons called "Majority Carriers" while the resulting holes are called "Minority Carriers".
When stimulated by an external power source, the electrons freed from the silicon atoms by this stimulation are quickly replaced by the free electrons available from the doped Antimony atoms. But this action still leaves an extra electron (the freed electron) floating around the doped crystal making it negatively charged. Then a semiconductor material is classed as N-type when its donor density is greater than its acceptor density, in other words, it has more electrons than holes thereby creating a negative pole.
Antimony Atom

The diagram above shows the structure and lattice of the donor impurity atom Antimony.

P-Type Semiconductor Basics

If we go the other way, and introduce a "Trivalent" (3-electron) impurity into the crystalline structure, such as Aluminium, Boron or Indium, which have only three valence electrons available in their outermost orbital, the fourth closed bond cannot be formed. Therefore, a complete connection is not possible, giving the semiconductor material an abundance of positively charged carriers known as "holes" in the structure of the crystal where electrons are effectively missing.
As there is now a hole in the silicon crystal, a neighbouring electron is attracted to it and will try to move into the hole to fill it. However, the electron filling the hole leaves another hole behind it as it moves. This in turn attracts another electron which in turn creates another hole behind it, and so forth giving the appearance that the holes are moving as a positive charge through the crystal structure (conventional current flow). This movement of holes results in a shortage of electrons in the silicon turning the entire doped crystal into a positive pole. As each impurity atom generates a hole, trivalent impurities are generally known as "Acceptors" as they are continually "accepting" extra or free electrons.
Boron (symbol B) is commonly used as a trivalent additive as it has only five electrons arranged in three shells around its nucleus with the outermost orbital having only three electrons. The doping of Boron atoms causes conduction to consist mainly of positive charge carriers resulting in a "P-type" material with the positive holes being called "Majority Carriers" while the free electrons are called "Minority Carriers". Then a semiconductor basics material is classed as P-type when its acceptor density is greater than its donor density. Therefore, a P-type semiconductor has more holes than electrons.
Boron Atom

The diagram above shows the structure and lattice of the acceptor impurity atom Boron.

Semiconductor Basics Summary

N-type (e.g. add Antimony)

These are materials which have Pentavalent impurity atoms (Donors) added and conduct by "electron" movement and are called, N-type Semiconductors.
In these types of materials are:
  • 1. The Donors are positively charged.
  • 2. There are a large number of free electrons.
  • 3. A small number of holes in relation to the number of free electrons.
  • 4. Doping gives:
    •   positively charged donors.
    •   negatively charged free electrons.
  • 5. Supply of energy gives:
    •   negatively charged free electrons.
    •   positively charged holes.

P-type (e.g. add Boron)

These are materials which have Trivalent impurity atoms (Acceptors) added and conduct by "hole" movement and are called, P-type Semiconductors.
In these types of materials are:
  • 1. The Acceptors are negatively charged.
  • 2. There are a large number of holes.
  • 3. A small number of free electrons in relation to the number of holes.
  • 4. Doping gives:
    •   negatively charged acceptors.
    •   positively charged holes.
  • 5. Supply of energy gives:
    •   positively charged holes.
    •   negatively charged free electrons.
and both P and N-types as a whole, are electrically neutral on their own.
Antimony (Sb) and Boron (B) are two of the most commony used doping agents as they are more feely available compared to others and are also classed as metalloids. However, the periodic table groups together a number of other different chemical elements all with either three, or five electrons in their outermost orbital shell. These other chemical elements can also be used as doping agents to a base material of either Silicon (S) or Germanium (Ge) to produce different types of basic semiconductor materials for use in electronic components and these are given below.

Periodic Table of Semiconductors

Elements Group 13Elements Group 14Elements Group 15
3-Electrons in Outer Shell
(Positively Charged)
4-Electrons in Outer Shell
(Neutrally Charged)
5-Electrons in Outer Shell
(Negatively Charged)
(5)
Boron  ( B )
(6)
Carbon  ( C )
 
(13)
Aluminium  ( Al )
(14)
Silicon  ( Si )
(15)
Phosphorus  ( P )
(31)
Gallium  ( Ga )
(32)
Germanium  ( Ge )
(33)
Arsenic  ( As )
  (51)
Antimony  ( Sb )
In the next tutorial about semiconductors and diodes, we will look at joining the two semiconductor basics materials, the P-type and the N-type materials to form a PN Junction which can be used to produce diodes.