A New Hardware Implementation of Manchester Line Decoder

Similar documents
Asynchronous (Ripple) Counters

Chapter 2. Digital Circuits

Decade Counters Mod-5 counter: Decade Counter:

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Chapter 5 Flip-Flops and Related Devices

More on Flip-Flops Digital Design and Computer Architecture: ARM Edition 2015 Chapter 3 <98> 98

Experimental Study to Show the Effect of Bouncing On Digital Systems

DIGITAL ELECTRONICS MCQs

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

Logic. Andrew Mark Allen March 4, 2012

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

EE273 Lecture 11 Pipelined Timing Closed-Loop Timing November 2, Today s Assignment

16 Stage Bi-Directional LED Sequencer

[2 credit course- 3 hours per week]

EE292: Fundamentals of ECE

Digital Circuits I and II Nov. 17, 1999

PRE J. Figure 25.1a J-K flip-flop with Asynchronous Preset and Clear inputs

Counter dan Register

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Counters


MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

A MISSILE INSTRUMENTATION ENCODER

INTEGRATED CIRCUITS DATA SHEET. TDA4510 PAL decoder. Product specification File under Integrated Circuits, IC02

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

Experiment 8 Introduction to Latches and Flip-Flops and registers

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

RS flip-flop using NOR gate

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

Hardware Design I Chap. 5 Memory elements

Digital Fundamentals: A Systems Approach

CAP240 First semester 1430/1431. Sheet 4

Chapter 5 Synchronous Sequential Logic

Chapter 4. Logic Design

Communication Lab. Assignment On. Bi-Phase Code and Integrate-and-Dump (DC 7) MSc Telecommunications and Computer Networks Engineering

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Principles of Computer Architecture. Appendix A: Digital Logic

FLIP-FLOPS AND RELATED DEVICES

AC103/AT103 ANALOG & DIGITAL ELECTRONICS JUN 2015

Synchronizing Multiple ADC08xxxx Giga-Sample ADCs

RS flip-flop using NOR gate

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

PESIT Bangalore South Campus

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

ECE 263 Digital Systems, Fall 2015

Synchronization Issues During Encoder / Decoder Tests

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

DIGITAL CIRCUIT COMBINATORIAL LOGIC

EECS150 - Digital Design Lecture 19 - Finite State Machines Revisited

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

3 Flip-Flops. The latch is a logic block that has 2 stable states (0) or (1). The RS latch can be forced to hold a 1 when the Set line is asserted.

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

The NOR latch is similar to the NAND latch

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

SDA 3302 Family. GHz PLL with I 2 C Bus and Four Chip Addresses

PLTW Engineering Digital Electronics Course Outline

Clocking Spring /18/05

EET2411 DIGITAL ELECTRONICS

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

Application Note. A Collection of Application Hints for the CS501X Series of A/D Converters. By Jerome Johnston

MODULE 3. Combinational & Sequential logic

Digital Electronics Course Outline

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

1. Convert the decimal number to binary, octal, and hexadecimal.

UNIT IV. Sequential circuit

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

GS1881, GS4881, GS4981 Monolithic Video Sync Separators

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Review of digital electronics. Storage units Sequential circuits Counters Shifters

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

THE STRUCTURE AND ADVANTAGES OF DIGITAL TRAINING SET FOR COMPUTER ENGINEERING

Digital Logic Design: An Overview & Number Systems

Notes on Digital Circuits

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Laboratory 4. Figure 1: Serdes Transceiver

EECS150 - Digital Design Lecture 3 - Timing

Vignana Bharathi Institute of Technology UNIT 4 DLD

Sequential Logic and Clocked Circuits

FPGA Design. Part I - Hardware Components. Thomas Lenzi

Department of Communication Engineering Digital Communication Systems Lab CME 313-Lab

Part IA Computer Science Tripos. Hardware Practical Classes

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

EECS150 - Digital Design Lecture 17 - Circuit Timing. Performance, Cost, Power

VLSI Design: 3) Explain the various MOSFET Capacitances & their significance. 4) Draw a CMOS Inverter. Explain its transfer characteristics

Digital Integrated Circuits EECS 312

Asynchronous inputs. 9 - Metastability and Clock Recovery. A simple synchronizer. Only one synchronizer per input

North Shore Community College

WINTER 15 EXAMINATION Model Answer

COSC3213W04 Exercise Set 2 - Solutions

Introduction to Sequential Circuits

REPEAT EXAMINATIONS 2002

Flip-flops, like logic gates are defined by their truth table. Flip-flops are controlled by an external clock pulse. C

Sequencing. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall,

Transcription:

Vol:4, No:, 2010 A New Hardware Implementation of Manchester Line Decoder Ibrahim A. Khorwat and Nabil Naas International Science Index, Electronics and Communication Engineering Vol:4, No:, 2010 waset.org/publication/350 Abstract In this paper, we present a simple circuit for Manchester decoding and without using any complicated or programmable devices. This circuit can decode 0kbps of transmitted encoded data; however, greater than this transmission rate can be decoded if high speed devices were used. We also present a new method for extracting the embedded clock from Manchester data in order to use it for serial-to-parallel conversion. All of our experimental measurements have been done using simulation. Keywords High threshold level, level segregation, low threshold level, smoothing circuit synchronization.. I. INTRODUCTION HE transmission of data requires high degree of Tsynchronization between the transmitter and receiver; in other words, the receiver has to work with the same clock as that of the transmitter in order to detect the transmitted data correctly. This is simply done by sending the data and clock streams into separate links. This technique is called asynchronous transmission and can only be applied for short transmission distances. Otherwise, both the transmitted data and clock will reach the receiver at different time leading to a failure when detecting the transmitted data. Another transmission technique, called synchronous transmission, allows long distance transmission capability by embedding the clock into the data in order to achieve only one link of transmission. One of those techniques is called Manchester encoding technique. This technique has several advantages among them are: simplicity, no DC component, synchronization and error detection capability. Most of the decoding circuits of this technique implements programmable devices, or Phase Locked Loop (PLL) devices. In this paper, we introduce a new simple technique for decoding Manchester data by just using simple devices. Section II describes the decoder and how it works. Section II is divided into three subsections, where each section describes a particular circuit, implemented by using Multisim 10 software program [1]. Section III describes how we can extract the clock from Manchester data. The last section presents our concluding Ibrahim Khorwatt graduated from the Electrical and Electronic Engineering Department, Alfatah University, Libya. He is now with the Aljeel Aljadeed For Technology Company, Libya, (e-mail: i.khorwatt@aljeel.ly). Nabil Naas is with the Electrical and Electronic Engineering Department, Alfatah University, Libya (e-mail: nabil.naas@ee.edu.ly). remarks. II. MANCHESTER DECODER The idea of decoding the Manchester data is simply to make use of the encoded data itself. We can note from Fig. 1 that the encoding of the transition from 0 to 1 or vice versa (Mode A) has more time duration than the rest of the signal. Also, the same small duration of other transitions (Mode B) means that the encoding data has the same value (0 or 1) until Mode A occurs again. From these two observations, we can give the decoder the ability to realize what the original data was by simply dividing the Decoder into three stages, which are explained as follows: Fig. 1 Manchester data format A. Smoothing the Encoded Data Smoothing means making a slower transition from low to high or vice versa, compared with the original transition. This is simply done by using a charging and discharging theorem; i.e., using a capacitor and a resistor as shown in Fig. 2. We have to choose a time constant of a resistor-capacitor, τ, so that the capacitor has to reach a value in Mode A more than that in Mode B for both charging and discharging modes, although there are more than one value of τ that can be used, but we use the following assumption: 1 2 Where R: is the resistance. C: is the capacitance. T: is the maximum time duration of the Manchester encoded data. International Scholarly and Scientific Research & Innovation 4() 2010 1336 scholar.waset.org/130-682/350

Vol:4, No:, 2010 Where: HTL: High Threshold Level. LTL: Low Threshold Level. max (H) HTL << min (H+) (3) max (L-)<< LTL min (L) (4) International Science Index, Electronics and Communication Engineering Vol:4, No:, 2010 waset.org/publication/350 Fig. 2 (a) Manchester data before and after smoothing Fig. 2 (b) Stage 1 Circuit (Smoothing Circuit) B. Low and High Level Segregation To make use of the previous resulted output, we use two comparators: one is for the highest value and the other is for the lowest value. Fig. 3(a-c) shows the idea and the circuit used in this stage. Fig. 3 (a) Stage 2 Circuit (Level segregation Circuit) Fig. 3 (b) Indicates the threshold levels for both Comparators A and B, and the maximum and the minimum value of the smooth signal for both Modes A and B The resistances of R1, R2, and R3 depend on the threshold voltage level required for comparison, as it is depicted from Equations (3) and (4). For high level comparison, Comparator A should compare its input with a threshold voltage level close to the Level H but lower than Level H+. For low level comparison, Comparator B should compare its input with a threshold voltage level close to Level L but higher than Level L-; as the threshold levels are far away from both H+ and L- since more time is available for the comparators to respond to changes of the smoothed signal, as shown in Fig. 4. Fig. 4 The effect of choosing the value of the high threshold level on the output of Comparator A; (a) is the best case (HTL H); (c) is the worst case (HTL>>H) We have implemented this circuit using Multisim 10 software program. The time period of the encoded data is about 8µs (Mode B). Table I indicates samples from the highest and the lowest values for both H and L (note: The simulated received signal has DC components; i.e., there is no voltage value less than zero volt). TABLE I INDICATES VALUES OF MAXIMUM AND MINIMUM SAMPLES OF THE SMOOTH SIGNAL Voltage Sample 1 Sample 2 Sample 3 Sample 4 level H+ 4.505 4.54 4.601 4.58 H 3.6 3.4 3. 3.8 L- 0.546 0.44 0.3 0.481 L 1.3 1.526 1.31 1.255 According to Table I and referring to (3) and (4), we have adjusted HTL and LTL to 3.8 and 1.1 volts respectively by assigning the values 1KΩ, 2.54KΩ, and 1KΩ to the resistances R1, R2, and R3 respectively. Fig. 3 (c) The output of Comparators A and B after comparing their input signal with HTL and LTL respectively C. The Decoder J-K flip flop (ff) is used as the final stage of this decoding circuit, since it has the ability to realize whether the encoding data is low or high by testing the outputs of the two comparators. The clock for this device has been taken from the International Scholarly and Scientific Research & Innovation 4() 2010 133 scholar.waset.org/130-682/350

Vol:4, No:, 2010 Manchester encoded data (i.e., before smoothing) using an XOR gate, where one of its inputs is directly passing the encoded data, and the other input is passing the same data but with a small delay performed by two NAND gates connected together in a serial format. Fig. 5 indicates how J-K ff works with the previous stages. this delay is from the RC circuit and the two comparators. So, in order to compensate for this delay, we have applied another delay to the Manchester data using the same resistance and capacitance value. As of the smoothed circuit, a buffer is installed before this stage to separate the two circuits from each other. After this stage, the signal enters into the same circuit used for extracting the decoding clock (two NAND gates and one XOR gate), and the resulted output enters into the toggle J-K ff to divide the previous frequency by 2. Fig. 8 shows the circuit used for extracting the clock. International Science Index, Electronics and Communication Engineering Vol:4, No:, 2010 waset.org/publication/350 Fig. 5 Indicates the final stage of the Decoder; the output of Comparators A and B are connected with J-K ff in Ports J and K respectively; the Clear and Set ports are connected to the ground Fig. 6 shows the output of the decoded data and the related signals It is important to note that the ability of this circuit to decode Manchester data depends on the properties of the used comparators such as: transition speed, time response, and sensitivity. Although this circuit showed a perfect ability for decoding in simulation for up to about 5.5µs mode B time period or 0Kbps (see the appendix) using commercial comparators (LM33) [2], if the frequency increases beyond this value this decoder will not be able to decode Manchester data any more due to the parameter of this device. III. EXTRACTING THE CLOCK Although we have successfully extracted the original data from Manchester data, we have not extracted the clock yet. However, we cannot immediately apply an XNOR gate between the received data and the decoded data, because there is a delay between both of them as shown in Fig.. Fig. 8 The used circuit for extracting the clock from Manchester Fig. The resulted extracted Clock Although the extracted clock does not have the same time duration for all of its pulses as shown from Fig., but it has showed the capability for serial to parallel converting (see the appendix). IV. CONCLUSION In this paper, we have introduced a simple circuit for decoding Manchester data without using any programmable devices. Furthermore, we have successfully extracted the clock from Manchester encoded data. Giving the ability for parallel to serial conversion using Multisim 10 software program, the achieved maximum data rate for this decoding circuit is about 0kbps. However, because this circuit depends on the comparator parameters, we do consider that the transmission rate can be further increased if high speed comparators are used. The main disadvantage of this circuit is the high amplitude dependence, and hence, the applicable transmission distance and the received voltage have to be taken into consideration before receiving any data. REFERENCES [1] NI Multisim, Version 10.0.4, 200National instruments. [2] www.national.com/ds/lm/lm33.pdf Fig. Time comparison between the Manchester and decoded data We can note from Fig. that the transition of Manchester data is not at the middle of the decoded data. The reason for International Scholarly and Scientific Research & Innovation 4() 2010 1338 scholar.waset.org/130-682/350

Vol:4, No:, 2010 APPENDIX International Science Index, Electronics and Communication Engineering Vol:4, No:, 2010 waset.org/publication/350 Fig.. The required time for sending 8 bits of data (88.844µs / 0kbps), and the ability of the receiver to decode these encoded data at this speed Fig.10 Oscilloscope output showing a successful decoding for up to 0kbps of transmission speed International Scholarly and Scientific Research & Innovation 4() 2010 133 scholar.waset.org/130-682/350

Vol:4, No:, 2010 International Science Index, Electronics and Communication Engineering Vol:4, No:, 2010 waset.org/publication/350 Fig. 11 Resistance and capacitance used for Manchester decoding circuit for decoding of 0Kbps of encoded data 3.1nF 4010BC1_5V 2.54kΩ 5 V 3.1nF 8 8 3 3 A B LM33AN LM33AN 400BD_5V 500Ω 10 V SD1 6 J1 Q1 1 3 CP1 5 K1 ~Q1 2 4 CD1 402BD_5V 400BD_5V D1 1A 5 1B 4 CP1 1C 3 MR1 1D 10 4015BD_5V Fig. The resulted output when the decoded data and the extracted clock has been applied into the serial to parallel converter circuit, the encoding data was 10010111 10 V SD1 6 J1 Q1 1 3 CP1 5 K1 ~Q1 2 4 CD1 402BD_5V 6 6 D1 1A 5 1B 4 CP1 1C 3 MR1 1D 10 4015BD_5V 4011BP_5V 40BP_5V 4011BP_5V 5 V 13 11 10 1 2 15 13 11 10 1 5 V 2 15 D0 D1 D2 D3 ~ED0 ~ED1 ~EO0 ~EO1 MR CP 406BP_5V D0 D1 D2 D3 ~ED0 ~ED1 ~EO0 ~EO1 MR CP O0 3 O1 4 O2 5 O3 6 O0 3 O1 4 O2 5 O3 6 406BP_5V International Scholarly and Scientific Research & Innovation 4() 2010 1340 scholar.waset.org/130-682/350