Skip to main content

Encoder and Decoder

Encoder and Decoder


Like decoder, the encoder also provides the conversion of binary information from one form to another

What is Encoder


The encoder performs the opposite function of a decoder.  It gives information in a more compact form.  The encoder has more input lines than output lines or says output lines are less than the input lines. It has m input lines and n output lines. From m input lines, only one is activated at a time and gives an equivalent code on n output lines.  The block diagram of the encoder is shown in fig.1.The encoder is a digital or combinational circuit that converts an active signal into a coded output signal.

Encoder circuit





[caption id="" align="alignnone" width="640"]Encoder circuit Encoder circuit[/caption]



What is Encoder applications


Encoders are used to reduce the number of bits needed to represent the given information. Practical use of encoders is for transmitting information in a digital system. Encoding is also useful if the information is to be stored for later use because fewer bits are required to be stored.

What is Decoder

Sometimes, digital information represented in binary form must be converted into some other form.  This is obtained by multiple inputs-multiple outputs logic circuit known as a decoder. The most commonly used decoder is n to 2m line decoder. The block diagram of (n: m) decoder is shown in fig.1. It has n input lines and m 2 output lines.

In a decoder, m output lines are greater than n input lines.  But when input lines are equal to output lines then it is known as a converted.  It converts one form of n bit binary information into another form of m bit binary information.

Decoder  Block diagram





[caption id="" align="alignnone" width="640"]Decoder  Block diagram Decoder  Block diagram[/caption]



Decoder example

For example BCD to excess-3 code converter, binary to gray code converter, etc. In another case when m output lines are less than 2n then this type of decoder is known as a function-specific decoder. For example, BCD to decimal decoder, BCD to seven segment decoder, etc.



What is Decoder applications

The main applications of the decoder are data demultiplexing, digital display, digital to analog converters and memory addressing.


Read More





Popular posts from this blog

Limitations of Terzaghi Theory

Limitations of Terzaghi Theory The value of the coefficient of consolidation has been assumed to be constant.  The distance d of the drainage path cannot be measured accurately in the field. The thickness of the deposit is generally variable, and an average value has to be estimated.  There is sometimes difficulty 1n locating the drainage face, sometimes thin previous seams that can act as good drainage face are missed in the boring operations. The equation is based on the assumption that the consolidation is one-dimensional. In the field, the consolidation is generally 3-dimensional. The lateral drainage may have a significant effect on the time rate of consolidation. The initial consolidation and secondary consolidation have been neglected. Sometimes these form an important part of the total consolidation. In actual practice, the pressure distribution may be far from linear or uniform. Read More Muller-Breslau principle

Price Guard Wire Method

Price Guard Wire Method Some form of  Price Guard Wire Method  is generally used to eliminate the errors caused by leakage currents over insulation. Fig. 3.14 illustrates the operation of This Method. In fig 3.14(a), a high resistance mounted on a piece of insulating material is measured by the ammeter voltmeter method. The micro-ammeter measures the sum of the current through the resistor (IR) and the current through the leakage path around the resistor. The measured value of resistance computed from the readings indicated on the voltmeter and the microammeter, will not be a true value but will be in error.   Figure 3.14 Application of  guard  circuit for measurement of high resistance In fig, 3.14 (b), the  guard  terminal has been added to the resistance terminal block. The  guard  terminal surrounds the resistance terminal entirely and is connected to the battery side of the micro-ammeter. The leakage current IL now

Negative Booster

Negative booster A negative booster is employed to conform to the regulation that the potential difference between any two points of the rail return shall not exceed 7 V. Two boosters, positive and negative, are used which are mechanically coupled together and driven by a DC motor. The positive booster is connected to the trolley wire (near the generating station) and the negative booster (separately excited) is connected to the track rail.  The 'positive booster' adds voltage to the line while the 'negative booster lowers the potential of the point it is connected to. As we go along the trolley wire away from the generating station/sub-station, the potential drop increases, and the voltage of the trolley wire falls. Since the current returns via the track rail points away from the generating station acquire high potentials. This potential is brought down by the negative boost provided by the negative booster. When the load is sufficiently far aw