Analysis of Discrete-time Linear-Invariant Systems

we shall demonstrate that such systems are characterized in the time domain simply by their response to a unit sample sequence.we shall also demonstrate that any arbitrary input signal can be decomposed and represented as a weighted sum of unit sample sequences.As a consequence of the linearity and time-in variance properties of the system,the response of the system to any arbitrary input signal can be expressed in terms of the unit sample response of the system.the general form of the expression that relates the unit sample response of the system and the arbitrary input signal to the output signal,called the convolution sum or the convolution formula,is also derived.Thus we are able to determine the output of any linear,time-invariant system to any arbitrary  input signal.
Techniques for the analysis of Linear Systems

There are two basic methods for analyzing the behavior or response of a linear system to a given input signal.One method is based on the direct solution of the input-output equation for the system,which,in general,has the form
y(n)=F[y(n-1),y(n-2),.......y(n-N),x(n),x(n-1),....,x(n-M)]
where F[.]denotes some function of the quantities in brackets.
Resolution of a Discrete-Time signal into Impulses
suppose we

Single Acting Cylinder in Pneumatic

With single-acting cylinders compressed air is applied on only one side of the piston face.The other side is open to atmosphere.The cylinder can produce work in only one direction.The return movement of the piston is effected by a build-in spring or by the application of an external force.The spring force of the build-in-spring is designed to return the piston to its start position with a reasonably high speed under no load conditions.
For single-acting cylinder with build-in spring,the stroke is limited by the natural length of the spring.Single-acting cylinder are therefore only available in stroke lengths of up to approximately 80mm.

Air Preparation

For the continuing performance of control systems and working elements it is necessary to guarantee that the air supply is:

  • at the required pressure
  • dry and
  • clean
If these conditions are not fulfilled,then short to medium term degeneration of the system will be accelerated.The effect is downtime on the machinery in addition to increased costs for repair or replacement of parts.
The generation of compressed air starts off with compression.The compressed air flows through an entire series of components before reaching the consuming device.The type of compressor and its location to a lesser or greater degree affect the amount of dirt particles,oil and water which enter into a pneumatic system.The equipment to be considered in the generation and preparation of air include:
  • Inlet filter
  • Air compressor
  • Air reservoir
  • Air dryer
  • Air filter with water separator
  • pressure regulator
  • Air lubricator as required
  • Drainage points
poorly-prepared compressed air will inevitable lead to malfunctions and may manifest itself in the system as follows:
  • Rapid wear of seals and moving parts in the cylinders and valves
  • Oiled-up valves
  • Contaminated silencers
  • Corrosion in pipes,valves,cylinders and other components
  • Flushing out of lubrication of moving components
In the case of leakage,escaping compressed air may impair the materials to be processed(e.g food)

Application of microprocessor

Microprocessors field wide applications in the fields of instrumentation,communication,data processing,industrial process instrumentation,commerce and consumer products.
A few exemplifying applications in each field are given below:
1. Instrumentation: Automatic test equipment,electronic instrument;and analytical,chemical,and medical equipment.
2. Communication: Remote terminals,programmable controller, switching systems,multiplexers,message handling and error detection.
3.Data processing: programmable calculators;peripheral processors,I/O controllers and communication interface.
4. Industrial: Data acquisition system,numerical control and environmental monitoring process control and instrumentation.
5.Commercial: Inventory control system,payroll,banking and financial system and auto-transaction system.
6.Consumer: Education systems,intelligent toys,games,automotive system and programmable appliances.
The electronic industry has been benefited by the introduction of microprocessors in the three broad areas of flexibility,reliability and cost.Mini or small business computer industry,the electronics industry and the large-scale data processing industry are the major beneficiary from introduction of microprocessor

Hard Disk

hard disks are on-line storage devices.The term on-line means that the device (hard disks) is permanently connected to the computer system.when computer is on,the device (hard disks) is available to store information or to give information.Hard disks are used as secondary memory for mass (bulk) storage of information permanently.They store program,data,operating system,compilers,assemblers,application programs,database,etc.
A hard disk is made of aluminum( or other metal or metal alloy) with a thin coating of magnetic material (iron oxide) over it,standard size of hard disks is 3.5 inch.The 2.5 inch disk are used in portable computers.Hard disks and read/write heads are kept in a sealed,air filtered enclosure.This technique is known as winchester technique.Hard disks together with read/write heads,access mechanism and driving motor constitute an unit called hard disk drive platter.It cannot be removed or inserted into a hard disk drive unit.Hard disk drive unit under discussion is of large capacity,and is used as secondary memory.Recently removable hard disks and external hard disks of smaller capacity for backup memory have also been developed.

To increase the storage capacity several hard disk(platters) are mounted on common drive to constitute a disk pack,as shown in fig.The set of all tracks at the same distance from the spindle on the record able surface of the disk pack will lie on the surface of an imaginary cylinder.All the tracks which lie on a cylinder have same number.for example,track-10 of each recordable surface of the pack will lie on the cylinder which is numbered as cylinder-10.The disks are addressed by drive number(because more than one drives are used in a computer),cylinder number (i.e. track number),surface number and sector number. 

Unions

Unions are a concept borrowed from structures and therefore follow the same syntax as structures.However,there is major distinction between them of storage.In structures,each member has its own storage location,whereas all the members of a union use the same location.This implies that,although a union may contain many members of different type,it can handle only one member at a time.
a union can be declared using the keyword union as follows:
union item
{
int m;
float x;
char c;
}
code;
The declares a variable code of type union item.The union contains three members,each with a different data type.However,we can use only one of them at a time.This is due to the fact that only one location is allocated for a union variable,irrespective of its size.
The compiler allocated a piece of storage i.e large enough to hold the largest variable type in the union.

Searching and Sorting

Searching and sorting are the two most frequent operations performed on arrays.Computer scientists have devised several data structures and searching and sorting techniques that facilitate rapid access to data stored in lists.
sorting is the process of arranging elements in the list according to their values,in ascending or descending order.A sorted list is called an ordered list.sorted lists are especially important in list searching because they facilitate rapid search operations.Many sorting techniques are available.The three simple and most important among them are:

  • Bubble sort
  • Selection sort
  • Insertion sort
Other sorting techniques include shell sort,Merge sort and Quick sort.
Searching is the process of finding the location of the specified elements in a list.The specified elements is often called the search key.If the process of searching finds a match of the search key with a list elements value,the search said to be successful;otherwise,it is unsuccessful.The two most commonly used search techniques are:

  • Sequential search
  • Binary search

While statement in c and C++

The simplest of all the looping structures in C is the while statement.we have used while in many of our earlier programs.The basic format of the while statement is
 while(test condition)
 {
           body of the loop
}
The while is an entry-controlled loop statement.The test-condition is evaluated and if the condition is true,then the body of the loop is executed.After execution of the body,the test-condition is once again evaluated and if it is true,the body is executed once again.This process of repeated execution of the body continues until the test-condition finally becomes false and the control is transferred out of the loop.On exit,the program continues with the statement immediately after the body of the loop.
The body of the loop may have one or more statements.The braces are needed only if the body contains two or more statements.However,it is a good practice to use braces even if the body has only one statement.
example:
sum=0;
n=1;
while(n<=10)
 {
 sum=sum+n*n;
n=n+1;
}
printf("sum=%d\n",sum);

ELECTRICAL SYMBOL


Pulse width Modulation (PWM) Operation in S7200 PLC

The PWM function provides for variable duty cycle outputs.The cycle time and the pulse width can be specified in a time base of either microseconds or milliseconds.The cycle time has a range either from 50 microseconds to 65,535 microseconds,or from 2 milliseconds to 65535 milliseconds.The pulse width time has a range either from 0 microsecond to 65,535 microseconds,or from 0 millisecond to 65,535 milliseconds.when the pulse width is specified to have a value greater or equal to the cycle time value,the duty cycle of the waveform is 100% and the output is turned on continuously.when the pulse width is specified as 0, the duty cycle of the waveform is 0% and the output is turned off.If a cycle time of less than two time units is specified,the cycle time defaults to two time units.
There are two different ways to change the characteristics of a PWM  waveform:
with a synchronous update and with an asynchronous update.

BACKWARD WAVE OSCILLATOR

Backward wave oscillator (BWO) is a microwave continuous wave (CW) oscillator with excellent tuning capability and frequency coverage range. BWO is similar in construction and operates on the same principle of electron beam-RF field interconnection,generally employing a helical slow wave structure.It can be thought of as a short,thick TWT.
Operation:
The electron beam from the electron-gun cathode is focused by an axial magnetic field.If transients have resulted in starting RF oscillation,these travel through the helix and interact with electron beam.Bunching takes place increasing in completeness from the cathode to the collector and interchange of energy between the electron beam and the RF wave occurs exactly in the same way as in TWT. since BWO does not have an attenuator,there will be oscillation  due to reflection from an imperfectly terminated collector end of the helix.The reflected wave results in a backward wave.

Transistor Terminals

 Transistor  terminals:
1.Emitter
2.Base
3.Collector
Emitter:
It is left hand section (or region) of the transistor and its main function is to supply majority charge carriers(electrons in case of NPN transistors and h

oles in case of P-N-P transistors) to the base.The emitter is always forward biased w.r.t base so that it is able to supply majority charge carriers to the base.The emitter is heavily doped so that it may be able to inject a large number of charge carriers.It is of moderate size in order to maintain heavy doping without diluting it or mesh formation in it.

Base:It is the middle section of the transistor and is very lightly doped to reduce the recombination within the base so as to increase collector current and is very thin(of the order of micrometer)in comparison to either emitter or collector so that it may pass most of the injected charge carriers to the collector.
Base form two junctions i.e,emitter junction and collector junction,each having its own barrier voltage.The forward-biased emitter-base junction offers low resistance to the emitter current whereas the collector-base junction,which is reverse biased,offers high resistance to the collector current.As the resistance of emitter-base junction is very small as compared to that of collector-base junction,therefore,the forward bias applied to the emitter-base  junction is usually very small whereas the reverse bias on the collector-base junction is much large.

collector:
It is right hand section of the transistor and its main function is to collect majority charge carriers.Collector is always reverse biased so as to remove the charge carriers away from  its junction with the base.It is moderately doped to avoid the chances of mesh formation even after taking the carriers from the emitter.Large in size to withstand the temperature generated at the collector.

FM Receiver

FM receiver invariably make use of superheterodyne configuration,and the basic block diagram is the same as that for an AM receiver.However,the antenna,RF amplifier and local oscillator usually operate in the VHF of 88-108 MHz and have an intermediate frequency (IF) of 10.7 MHz  with a bandpass of 2 X 75 kHz i.e.,150kHz.
In both AM and FM receivers,the purpose of stage following the IF amplifier is to extract the information from the carrier signal.Since the information was originally impressed on the carrier by modulating its frequency,the FM detector must sense frequency-not amplitude-variations.Thus,basic difference between FM and AM receiver lie in the detector (or demodulator) circuit.Also,since FM signals may occupy a wider band for given modulating signal,the RF and IF bandwidths are typically greater.Since FM is usually confined to higher frequencies,this wider bandwidth need is  more tolerable .
The audio portion of an FM receiver is identical to that for an AM receiver,except that the audio portion of an FM broadcast receiver is usually capable of amplifying without distortion a wider frequency range than an AM broadcast receiver-typically 15 kHz versus 5 kHz.
The functions of components other than limiter and de-emphasis network are the same as explained in case of superheterodyne receiver.In FM receiver limiter is provided to remove all amplitude variations,caused by noise from IF signal which might have crept into the FM signal.The de-emphasis network is provided to reduce the amplitude of high frequencies in the audio signal which was earlier increased at the transmitting station. 

Essentials of an Oscillator circuit

Oscillator circuit must have the following three elements:
1.Oscillatory circuit or frequency determine element.
2.Amplifier.
3.Positive feedback network.
The Oscillatory circuit or a frequency-determining element can  be an inductance-capacitance network(L-C tank),resistance-capacitance (R-C network,or a quartz crystal,depending on the frequency and waveshape desired.
The electronic amplifier receives dc power from the battery or dc power supply and converts it into ac power for supply to the tank circuit.The oscillations occurring in the tank circuit are applied to the input of the electronic amplifier.Because of the amplifying properties of the amplifier,we get increased output of these oscillations.This amplified output of oscillations is because of dc power supplied from the external source( a battery or power supply).The output of the amplifier can be supplied to the tank circuit to meet the losses.
The feedback network supplies a part of the output power to the frequency-determining element in correct phase to aid the oscillations.In other words,feedback circuit must be a positive  feedback network.The block diagram of an oscillators is shown in fig.

Types of Transistor Oscillators

A transistor can be operated as an oscillator for producing continuous undamped oscillations of any desired frequency if tank and feedback circuits are properly connected to it.All oscillators under different names have similar function i.e.they generate continuous undamped output.However,they differ in methods of supplying energy to the tank or oscillatory circuit to meet the losses and the frequency ranges over which they are used.
The frequency spectrum over which oscillators are employed to produce sinusoidal signals is extremely wide (from less than 1 Hz to many GHz).However,no signal oscillator design is practical for generating signals over this entire range.Instead,a variety of designs are employed,each of which generates sinusoidal outputs most advantageously over various portions of the frequency spectrum.
Oscillators,which use inductance-capacitance(L-C)circuits as their tank or oscillatory circuits,are very popular for generating high frequency (e.g.10 kHZ to 100 MHz) outputs.The most widely used LC oscillators.Although they slightly differ from one another in their electronic circuitry but they have virtually identical frequency ranges and frequency and frequency-stability characteristics,However,such oscillators are not suitable for generating low-frequency sinusoidal outputs.This is due to the fact that the components required in construction of low-frequency L-C resonant circuits are too bulky and heavy. So resistor-capacitor(R-C) oscillators are generally employed for generating low-frequency sinusoidal signals.Two most common R-C oscillators are the Wien bridge and phase and phase shift types.
Type of oscillator                                                                          Frequency Ranges 
Wien bridge oscillator                                                                1 Hz-1 MHz
phase shift oscillator                                                                   1Hz-10 MHz
Hartly oscillator                                                                           10 kHz-100 MHz
Colpitt's oscillator                                                                       10 kHz-100 MHz
Negative resistance oscillator                                                        > 100 MHz
Crystal oscillator                                                                          Fixed frequency

Frequency Stability Of Oscillator

An Oscillator having initially been set at a particular frequency does not maintain its initial frequency,but instead drift and wander about in frequency,sometime uniformly in one direction,sometimes quite erratically.The frequency stability of an oscillator is a measure of its ability to maintain as nearly a fixed frequency as possible over as long a time interval as possible.These deviations in frequency are caused due to variations in the values of circuit features(circuit components,transistor parameters,supply voltage,stray capacitance,output load etc.)that determine the oscillator frequency.
As the circuit operates,it warms up.Consequently the values of resistors,inductors and capacitors,which are frequency determining factor in such circuits,are changed with temperature.Variations in temperature also cause variations in transistor parameters.However,the variation or drift in oscillator frequency is slow because of slow variations in R,L,C and transistor parameters with time.
The other major factor responsible for deviation in frequency is variations in power supply(operating voltage applied to the active device).However,this problem can be overcome by using regulated power supply.
Any variation in load coupled to the tank circuit may cause a change in effective resistance of the circuit by transformer action which,in turn,causes the drift in frequency.
Other factors responsible for drift in oscillators frequency are:
Inter-element capacitance,operating  point of active device and mechanical vibrations.The effects of variations in inter element capacitance can be neutralized introducing a swamping capacitor across the offending elements (the introduced capacitor becomes the part of the tank circuit).The operating point Q of the active device is so chosen as to restrict the operation of the device on the linear portion of its characteristic because operation on nonlinear portion causes the variations in transistor parameters which,in turn,affect the oscillator frequency stability.The instability in oscillator frequency caused due to mechanical vibrations can be avoided by isolating the oscillator circuit from the source of mechanical vibrations.

TRANSISTOR CIRCUIT CONFIGURATIONS

A transistor is a tree-terminal device (having three terminals namely emitter,base and collector)but we require four terminals-two for the input and two for the output for connecting it in a circuit.Hence one of the terminals of the transistor is made common to the input and output circuits.Thus there are three types of configurations for operating of a transistor.These configurations are common base(CB),common emitter(CE) and common collector(CC) configurations.The term 'common' is used to denote electrode that is common to input and output circuits.Since the common terminal is usually grounded,these configurations are also referred to as grounded base,grounded emitter and grounded collector configurations,as shown in fig.1(a),(b) and (c) respectively.Each configuration has its own merits and demerits.It is to be remembered that regardless of the circuit configurations,the emitter is always forward biased and the collector is always reverse biased.


Optoelectronics

Optoelectronics is the technology that combines optics and electronics and the devices based on this technology are known as optoelectronic devices.These devices include emitters,sensors and optocouplers or optoisolators.These devices may be categorised as follows:
1.Devices that detect optical signals through electronic processes,such as photodetectors.
2.devices that convert optical radiation into electrical energy,such as photovoltaic device or solar cell.
3.Devices that convert electrical energy into optical radiation,such as light-emitting diodes(LEDs) and the LASER(Light Amplification by Stimulated Emission of Radiation) diode.
The devices that convert electrical energy into optical radiations are known as emitters.The devices that convert optical radiations into electrical energy or detect optical signals through electronic process fall under the category of sensors.The optocouplers combine light generating and light sensitive units in a signal package.The present-day family tree of optoelectronic devices is shown in fig.

solar cells
The characteristics of photodetectors and solar cells are dependent on optical energy,which is absorbed in a semiconductor and creates excess EHPs generating photocurrents. photodetectors are the semiconductor devices that can be used to detect the presence of photons and convert optical signals into electrical signals.
example of  optoelectronic




Repulsion Type MI instrument

Repulsion principle is very commonly used in MI instruments.The operation of such an instruments depends upon the mutual repulsion of two vanes of ferromagnetic material magnetize by a current-carrying coil.Fig shows a typical form of a repulsion-type MI instrument.It consists of a fixed coil C in which are placed two vanes A and B.Vane A is fixed in space while vane B is attached to a spindle S carrying a pointer PR.When the current to be measured is passed though the coil a magnetic field is produced.This magnetic field magnetizes the two vanes with the same polarity.Hence the vanes repel each other,with the result that the pointer is deflected.
The deflection depends on the product of the pole strengths of A and B.It is therefore proportional to the square of the magnetic field strength.Since both A and B are magnetized by the same coil current,the deflection is proportional to the square of the current.It is assumed that A and B are not magnetically saturated.Since the polarity of both the vanes reverse simultaneously,the deflection of the pointer is in the same direction for both a.c. and d.c.If a.c. is passed through the coil the deflecting torque is proportional to the mean value of the square of the current.The scale is calibrated to indicate the square root of this value for d.c. and the r.m.s. value for a.c.   

Attraction type MI instrument

The attraction type of MI instrument depends on the attraction of an iron vane into a coil carrying current to be measured. fig 1 shows a MI instruments of attraction type.A soft iron vane IV is attached to the moving system.when the current to be measured is passed through the coil C,a magnetic field is produced.This field attracts the eccentrically mounted vane towards it.Thus,the pointer PR,which is attached to the spindle S of the moving system is deflected.The pointer moves over a calibrated scale.
The control torque is provided by two hair springs S1 and S2 in the same way as for a PMMC instrument;but in such instruments springs are not used to carry any current.The damping torque is provided by the movement of a thin vane V in a closed sector-shaped box B.
If the current in the fixed coil is reversed,the field produced by it reverses,so the polarity induced on the vane reverses.Thus,whatever be the direction of current in the coil,the vane is always magnetized in such a way that it attracted into coil.The force of attraction is proportional to the square of the current,provided that the moving iron vane is not magnetically saturated.Hence,such instruments can be used both for direct and alternating currents.Attraction-type MI instruments are not commonly used in practice. 

Analysis of Discrete-time Linear-Invariant Systems

we shall demonstrate that such systems are characterized in the time domain simply by their response to a unit sample sequence.we shall als...