DESCRIPTION OF THE SYSTEM

Similar documents
EE260: Digital Design, Spring n MUX Gate n Rudimentary functions n Binary Decoders. n Binary Encoders n Priority Encoders

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES

Module 5 EMBEDDED WAVELET CODING. Version 2 ECE IIT, Kharagpur

EE260: Digital Design, Spring n Binary Addition. n Complement forms. n Subtraction. n Multiplication. n Inputs: A 0, B 0. n Boolean equations:

7. Modern Techniques. Data Encryption Standard (DES)

ECE 564/645 - Digital Communication Systems (Spring 2014) Final Exam Friday, May 2nd, 8:00-10:00am, Marston 220

Information Theory and Coding

6.111 Lecture 6 Today: 1.Blocking vs. non-blocking assignments 2.Single clock synchronous circuits 3.Finite State Machines

4.3 Growth Rates of Solutions to Recurrences

CMOS. Dynamic Logic Circuits. Chapter 9. Digital Integrated Circuits Analysis and Design

Chapter 9 Computer Design Basics

EE 505. Lecture 28. ADC Design SAR

Power supplies for parallel operation Power supplies

The Scattering Matrix

Number Representation

FIR Filters. Lecture #7 Chapter 5. BME 310 Biomedical Computing - J.Schesser

Physics 310 Lecture 9a DAC and ADC

Statistics 511 Additional Materials

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

MCT242: Electronic Instrumentation Lecture 2: Instrumentation Definitions


NUMERICAL METHODS FOR SOLVING EQUATIONS

NCSS Statistical Software. Tolerance Intervals

Course Outline. Designing Control Systems. Proportional Controller. Amme 3500 : System Dynamics and Control. Root Locus. Dr. Stefan B.

Chapter 6 Part 5. Confidence Intervals t distribution chi square distribution. October 23, 2008

1 Review of Probability & Statistics

ELEC1200: A System View of Communications: from Signals to Packets Lecture 3

Statistical Fundamentals and Control Charts

The Pendulum. Purpose

1 Hash tables. 1.1 Implementation

Chapter 9 - CD companion 1. A Generic Implementation; The Common-Merge Amplifier. 1 τ is. ω ch. τ io

6.003 Homework #3 Solutions

EE 435. Lecture 25. Data Converters

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement

FIR Filter Design: Part II

Analysis of Experimental Measurements

Probability, Expectation Value and Uncertainty

PROPERTIES OF THE POSITIVE INTEGERS

ELE B7 Power Systems Engineering. Symmetrical Components

Time-Domain Representations of LTI Systems

Lecture 10: Universal coding and prediction

Filter banks. Separately, the lowpass and highpass filters are not invertible. removes the highest frequency 1/ 2and

Spectral Analysis. This week in lab. Next classes: 3/26 and 3/28. Your next experiment Homework is to prepare

CS161: Algorithm Design and Analysis Handout #10 Stanford University Wednesday, 10 February 2016

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary

LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES

Reliability and Queueing

Vector Quantization: a Limiting Case of EM

Introduction to Signals and Systems, Part V: Lecture Summary

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Principle Of Superposition

( ) = p and P( i = b) = q.

EE 505. Lecture 29. ADC Design. Oversampled

8. СОВЕТУВАЊЕ. Охрид, септември ANALYSIS OF NO LOAD APPARENT POWER AND FREQUENCY SPECTRUM OF MAGNETIZING CURRENT FOR DIFFERENT CORE TYPES

1.3 Convergence Theorems of Fourier Series. k k k k. N N k 1. With this in mind, we state (without proof) the convergence of Fourier series.

Signals & Systems Chapter3

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

OBJECTIVES. Chapter 1 INTRODUCTION TO INSTRUMENTATION FUNCTION AND ADVANTAGES INTRODUCTION. At the end of this chapter, students should be able to:

Exponential Moving Average Pieter P

WHAT IS THE PROBABILITY FUNCTION FOR LARGE TSUNAMI WAVES? ABSTRACT

CS284A: Representations and Algorithms in Molecular Biology

Infinite Sequences and Series

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

True Nature of Potential Energy of a Hydrogen Atom

Lecture 2: Monte Carlo Simulation

mx bx kx F t. dt IR I LI V t, Q LQ RQ V t,

Chapter 9 Computer Design Basics

Regression, Part I. A) Correlation describes the relationship between two variables, where neither is independent or a predictor.

Disjoint set (Union-Find)

A statistical method to determine sample size to estimate characteristic value of soil parameters

ADVANCED DIGITAL SIGNAL PROCESSING

Mechatronics. Time Response & Frequency Response 2 nd -Order Dynamic System 2-Pole, Low-Pass, Active Filter

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations

Optimization Methods MIT 2.098/6.255/ Final exam

John Riley 30 August 2016

Chapter 12 Correlation

6.883: Online Methods in Machine Learning Alexander Rakhlin

Accuracy assessment methods and challenges

C/CS/Phys C191 Deutsch and Deutsch-Josza algorithms 10/20/07 Fall 2007 Lecture 17

Lecture 24 Floods and flood frequency

Chapter 23: Inferences About Means

Hashing and Amortization

Structure of a Typical Digital System Data Inputs

The axial dispersion model for tubular reactors at steady state can be described by the following equations: dc dz R n cn = 0 (1) (2) 1 d 2 c.

Measurement uncertainty of the sound absorption

The Maximum-Likelihood Decoding Performance of Error-Correcting Codes

REGRESSION (Physics 1210 Notes, Partial Modified Appendix A)

DISTRIBUTION LAW Okunev I.V.

CS 332: Algorithms. Linear-Time Sorting. Order statistics. Slide credit: David Luebke (Virginia)

t distribution [34] : used to test a mean against an hypothesized value (H 0 : µ = µ 0 ) or the difference

PROPERTIES OF AN EULER SQUARE

SNAP Centre Workshop. Basic Algebraic Manipulation

Chapter 23. The Economics of Resources. Chapter Outline. Chapter Summary

n outcome is (+1,+1, 1,..., 1). Let the r.v. X denote our position (relative to our starting point 0) after n moves. Thus X = X 1 + X 2 + +X n,

µ and π p i.e. Point Estimation x And, more generally, the population proportion is approximately equal to a sample proportion

The Fizeau Experiment with Moving Water. Sokolov Gennadiy, Sokolov Vitali

577. Estimation of surface roughness using high frequency vibrations

Queueing theory and Replacement model

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

First come, first served (FCFS) Batch

Transcription:

Sychroous-Serial Iterface for absolute Ecoders SSI 1060 BE 10 / 01 DESCRIPTION OF THE SYSTEM TWK-ELEKTRONIK GmbH D-001 Düsseldorf PB 1006 Heirichstr. Tel +9/11/6067 Fax +9/11/6770 e-mail: ifo@twk.de

Page 0. Table of cotets... 1. Advatage of the SSI over parallel iterfaces.... Mode of fuctioig ad block diagram of the SSI.... Savigs i lies with SSI.... Trasmissio protocol.... Trasmissio example for a ecoder with 1 bits... 6. Sigle trasmissio... 7. Multiple trasmissio.... SSI cotrol electroics... 9. Iput ad output circuits... 6 10. Selectio of the clock frequecy ad of the mooflop time... 6 11. Maximum data trasmissio rate... 7-11.1 Precoditios... 7 11. Trasmissio lik... 7 11. Delay times of the idividual uits... 7 11. Sigificace of the time by which the evaluatio (readig-i) of the data as trasmitted should be delayed...

1. Advatage of the SSI over parallel iterfaces Sigificatly less expediture for cablig: I the case of bit ecoders, oly lies are eeded for the trasmissio of data istead of. Expediture for cablig ad iterface compoets does ot deped o the legth of the data word. Screeig out of oise is achieved through the clock ad data sigals beig trasmitted sychroously ad symmetrically via twisted pair lies. Multiple trasmissio of each data word provides a automatic plausibility check. Absolute Ecoder ad receptio electroics are separated with opto-couplers rederig earthig loops uecessary.. Mode of fuctioig ad block diagram of the SSI The parallel iformatio i the ecoder is coverted by a iteral parallel-serial coverter (shift register) ito serial form ad is trasmitted to a receptio electroics uit sychroously with a clock. Block diagram of a multitur absolut ecoder GaAlAs Diodes Photo trasistors + V S Multi-fuctioal ASIC clock + clock - data + data - Opto Array Aalog Asic code sese - V S (0 V) The sychroized trasmissio of each data word is iitiated ad cotrolled by the receptio electroics with the aid of a clock sigal. The legth of the clock sequece (sequece of clock sigals) determies the legth of the data word so that data words of ay desired legth ca be trasmitted with this SSI system. A clock sequece of + 1 cycles is eeded to trasmit a data word with bits. The speed of trasmissio is determied by the clock frequecy.. Savigs i lies with SSI I the case of a multitur ecoder with parallel output ad, for example, 096 positios/revolutio ad 096 revolutios ( bit), wires are eeded to trasmit the data. The SSI, o the other had, requires oly oe twisted pair lie for the data (data+, data-) ad oe twisted pair lie for the clock (clock+, clock-). The lie requiremets for operatig voltage ad additioal fuctios (e.g. code sese) are the same i both cases. As a miimum a cable with 6 wires (clock, data ad supply voltage) is required.. Trasmissio protocol The logic levels as metioed i the text relate to the clock + or, as the case may be, data + sigal. I the idle or iitial state of the SSI, both clock ad data lies (clock +, data +) are Log 1. The receptio electroics iitiates the trasmissio of data by chagig the clock sigal from Log 1 to Log 0. This chage causes a retriggerable mooflop i the ecoder to be set. I tur the output from the latter switches over a shift register from parallel to serial whereby the data, which is preset i parallel form i Gray code is stored. The ext time the clock chages from Log 1 to Log 0, the most sigificat bit of the agular positio iformatio is trasferred to the data output of the ecoder. Each further positive edge the causes the ext highest bit i each case to be trasferred util the least sigificat bit is at the output. At the same time the mooflop is retriggered with each egative edge of the clock. The mooflop time (e.g. 0 µs) determies the iterval betwee two trasmissios ad the miimum clock frequecy.

SSI iterface profile - bit Example: Absolute Ecoder with 096 positios / 60, 096 revolutios ad Gray tree as output code Idle state 1 CLOCK IN + 6 7 9 10 11 1 1 1 1 16 17 1 19 0 1 6 Waittime Idle state Idle state DATA OUT + 1 0 M9 M 1 0 0 0 MSB Multitur bits Sigle-tur bits LSB sigificat data bits Total data word = bits = shift register legth The data lie is set to Log 0 with the last positive edge of the clock sequece. This termiates the trasmissio of the complete data word. If the clock sigal remais set at Log 1 (ed of the clock sequece), the mooflop is o loger retriggered so that the data sigal switches to Log 1 o the expiratio of the mooflop time. This state idicates the readiess to trasmit a ew data word (simple trasmissio of oe data word). If the clock sequece is ot termiated after the trasmittig of the least sigificat data bit, the stadard situatio is that a Log 0 is issued o the data lie with the ext positive edge. This itermediate clock sigal separates oe data word from a idetical data word that it follows. The positive edge followig the itermediate clock sigal edge geerates the most sigificat bit of the data word (repeat trasmissio of the same data word). This process ca be repeated as ofte as desired (multiple trasmissio of oe data word). Alteratively the SSI ca be arraged i such a way that the data sigal remais at Log 0 after the data word has bee trasmitted oce eve if further clock sigals follow.. Trasmissio example for a ecoder with 1 bits Ecoder with 10 positios/revolutio (10 bits i the sigle-tur part) ad 6 revolutios ( bits i the multitur part). I the stadard versio, the trasmissio protocol is set up for a data word with bits. Of these 1 bits are for the revolutios ad 1 for the resolutio (positios/revolutio). Sice trasmissio always starts with multitur bit whereby however i our example the multitur part is oly desiged for bits, blaks are first trasmitted with Log 0 ad the the loaded bits of the multitur part are trasmitted. The follow the sigletur bits startig with 0 ad goig to. Fially Log 0 is also trasmitted for the last three bits which are ot loaded. MSB < Data word with = Bit No. i data word > LSB 1 6 7 9 10 11 1 1 1 1 16 17 1 19 0 1 096 1 1 0 M9 M 1 0 19 1 0 11 0 1 0 M9 M 1 0 0 096 1 10 10 0 0 0 M9 M 1 0 0 0 0 11 1 9 0 0 0 M9 M S 1 0 0 0 0 1 0 10 6 0 0 0 0 M 0 0 0 0 1 9 1 7 0 0 0 0 0 0 0 0 0 0 6 6 6 0 0 0 0 0 0 0 0 0 0 0 0 1 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 6 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Number of revs B its / rev. Multitur bits Sigle-tur bits Positio / rev. B its / rev.

6. Sigle trasmissio I the case of a sigle trasmissio, i.e. whe the curret positio data is read out oce, the clock sequece ca be termiated after the trasmissio of the LSB sice oly zeroes will follow this. Clock sequece Wait time Idle state 1 + 1 Idle state Clock + P / S (Parallel / serial coverter) Data + Data word Most sigificat bit () Least sigificat bit () Bit (S 1) 7. Multiple trasmissio I the case of multiple trasmissio, i.e. whe the curret positio data is read out a umber of times, the clock sequece is desiged i accordace with the schematic below. Clock sequece 1st trasmissio Itermediate clock cycle ed trasmissio Wait time 1 +1 1 +1 Clock + P / S (Parallel / serial coverter) Data + Most sigificat bit () Least sigificat bit (). SSI cotrol electroics The cotrol electroics geerate the clock sequece with which the trasmissio of the data word from the ecoder is regulated. I this uit the serial data ca be coverted back ito parallel form ad, if ecessary, Gray code ca be coverted ito atural biary code. Clock lie Ecoder 1 Data lie Driver Optocoupler P/ S P/ S G B Clock geerator Shift register Parallel output G/B - Gray-biary coverter Ecoder P/ S G B Shift register 9. Iput ad output circuits Parallel output The iput (opto-coupler) ad output (lie driver) circuits i the ecoder ad i the cotrol electroics ca be idetical.

Iput circuit +V +V 100R 1K TTL / HCMOS Logik / Logic 100R 6N17 (Optokoppler/ Optocoupler ) LED z.b. LR60 (rot) Siemes oder ähliche LED e.g. LR60 (red) Siemes or similar 1F 91R Takt IN+/ Clock IN+ Takt IN-/ Clock IN- +V Output circuit 7F TTL / HCMOS Logik / Logic 100pF Data OUT+/ Data OUT+ Data OUT-/ Data OUT- +V LTC (RS-/RS- Trasceiver) The output circuit is i the form of a differetial lie driver which fulfils complayig with RS / RS. The differetial, symmetrical desig esures a high degree of reliability i respect of oise. The use of opto-coupler iputs meas that earth loops are ot required ad this i tur reduces the sesitivity to oise still further. This is especially importat for situatios where a umber of ecoders are coected to oe cotrol electroics uit. 10. Selectio of the clock frequecy ad of the mooflop time The mooflop, which is set by the first egative edge of the clock sequece, keeps the parallel/serial coverter of the ecoder i its active phase. For this reaso it must remai set durig the trasmissio phase ad must be retriggered by each succeedig egative edge of the clock sequece. Accordigly the cycle time of the clock t T must be shorter tha the mooflop time t M. The cycle time is the reciprocal of the clock frequecy f T. t T = 1 f T < t M (mi) I the stadard versio, the mooflop time t M is set to 1 µs t M µs. The time t M determies the miimum clock frequecy f T ad the maximum wait time after the ed of trasmissio t W. t W is calculated from the last egative flak of the clock ad is idetical with t M. t W = t M Example t M = 10 µs to 0 µs Accordigly: cycle time f T ³ 1 / 10 µs = 100 khz Maximum wait time t W = t M (max.) = 0 µs 6

11. Maximum data trasmissio rate 11.1 Precoditios The maximum achievable data trasmissio rate (clock frequecy) is set for the drivers ad receptio electroics used as well as for the trasmissio protocol i accordace with the RS stadard. It must be oe half of the values stated i the stadard for the Baud rate. Both limit curves are show i the adjoiig graph. It is show below how the maximum data trasmissio rate ca be achieved by meas of measures o the receptio electroics side by takig ito accout the differet trasit times. F [MHz] 101 9 7 6 100 9 7 6 10-1 9 76 00 khz maximum Baud rate i acc. with RS maximum clock frequecy ad data trasmissio rate for SSI 00 m Limit 100 m 1 10 1 6 7 10 6710 l CA [m] 11. Trasmissio lik The figure o the right shows i schematic form a SSI trasmissio lik. It cosists of ecoder, trasmissio cable ad clock sequece / receptio electroics. Naturally each of these uits has its ow delay or trasit time which delays the sigals. This leads to the situatio that the data reaches the receptio side i time with the clock sigals but delayed by the sum of the above-metioed delay times. Ecoder ( t c ) I K ( t K ) Cable Driver Clock sequece Receptio ad = t E clock logic > Data Clock Receiver 11. Delay times of the idividual uits I terms of delays, the complete SSI ca be subdivided ito three uits: o o o Ecoder electroics Clock ad data lies Receptio ad clock logic The delay time of the first is costat ad is specified for the ecoder. The delay times for the last two deped o the particular applicatio. The trasit time i the cable varies with the legth of the cable ad the delay i the electroics depeds o the logical uits used. Accordigly the followig applies for the total delay (TD): t TD = t C + x t CA + t E The cable delay has to be applied twice sice ot oly the clock sigal but also the data sigal must pass alog its full legth. The idividual items i the above formula are: t TD : total delay time betwee clock ad data sigal. t C : delay brought about by the electroics i the ecoder: for all TWK ecoders it is specified as maximum 10 s. t CA : cable delay; this delay depeds o the legth of the cable ad also o the cable used. It is defied as the product of the cable legth (l CA ) ad the specific trasit time for the cable. For the cable used by TWK, amely LIYCY-OB x x 0. mm², the specific trasit time is approx. 6. s/m. t E : delay time of the clock driver ad of the data receiver (opto-coupler). For the TWK serial/parallel coverter board SPC, it is specified to be maximum 10 s. 7

Accordigly the above values ca be iserted ito the formula Example: For a cable of legth 00 m the total delay is t TD (s) = 00 s + x 6. s/m x l CA (m) t TD = 00 s + x 6. s/m x 00 m = 900 s =.9 µs I the schematic below the sigificace of the total delay time t for trasmissio is represeted for the above example. The clock TD frequecy selected is 00 khz, amely the maximum permitted for a cable legth of 00 m. This clock frequecy is equivalet to a clock cycle time (t T ) of. µs. 11. Sigificace of the time by which the evaluatio (readig-i) of the data as trasmitted should be delayed As has bee show above, the total delay time for the trasmissio of the data is of the same order of magitude as the maximum possible legth of the clock sigal cycles. If the data is to be processed correctly, it must be read i by the receptio electroics at the right momet i time. Sice the period of time durig which the idividual data bits are preset ad stable o the receptio side is idetical with the clock cycle time, the readig i of the data must also take place durig the same time period (see schematic below). I order to balace out toleraces i a optimum maer, the middle of this time period should be selected. 00 KHz = ^, µs Period t T =, µs, µs Clock + Data + without delay Data + delayed t GV total delay time t =,9 µs t + t GV T stable data bits GV Readig-i clock t EV, µs Readig-i poits Delay applied to the readig-i clock,9 µs + ½ x, µs, µs t EV I order to maitai sychroism, the readig-i clock sequece should be the same as the data-trasmissio clock sequece but delayed relative to the latter by a suitable amout t EV : t TD < t EV < t TD + t T I this rage the data will be read i correctly with the positive edge. If readig i should take place i the middle of the time period, the followig applies: t EV = t TD + 1/ x t T This case is show i the schematic above for the example give i 11..