Technical Information. Digital Signals. 1 bit. Part 1 Fundamentals



Similar documents
Terminology and Symbols in Control Engineering

2011, The McGraw-Hill Companies, Inc. Chapter 3

Communication Networks

The Answer to the 14 Most Frequently Asked Modbus Questions

EECC694 - Shaaban. Transmission Channel

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

DT3: RF On/Off Remote Control Technology. Rodney Singleton Joe Larsen Luis Garcia Rafael Ocampo Mike Moulton Eric Hatch

Technical Information. HART Communications. Part 4 Communications

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

Digital Versus Analog Lesson 2 of 2

RS485 & RS422 Basics

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Computer Network and Communication

CSI 333 Lecture 1 Number Systems

The string of digits in the binary number system represents the quantity

Technical Manual. FAN COIL CONTROLLER COOLING or HEATING ANALOG or PWM Art A

Signal to Noise Instrumental Excel Assignment

Instruction Manual Service Program ULTRA-PROG-IR

Fingerprint Based Biometric Attendance System

FIBER OPTIC APPLICATION IN A PROFIBUS NETWORK

Android based Alcohol detection system using Bluetooth technology

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

UNIVERSITY OF CALICUT

PCM Encoding and Decoding:

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Disturbance Recoder SPCR 8C27. Product Guide

Data Transmission. Data Communications Model. CSE 3461 / 5461: Computer Networking & Internet Technologies. Presentation B

Analog Representations of Sound

Technical Support Bulletin Nr.18 Modbus Tips

Process Control and Automation using Modbus Protocol

Practical steps for a successful. PROFIBUS Project. Presented by Dr. Xiu Ji Manchester Metropolitan University

Digital Modulation. David Tipper. Department of Information Science and Telecommunications University of Pittsburgh. Typical Communication System

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

CDMA TECHNOLOGY. Brief Working of CDMA

1. Give the 16 bit signed (twos complement) representation of the following decimal numbers, and convert to hexadecimal:

Public Switched Telephone System

Part Number Description Packages available

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Computer Science 281 Binary and Hexadecimal Review

=

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Lecture 3: Signaling and Clock Recovery. CSE 123: Computer Networks Stefan Savage

Physical Layer, Part 2 Digital Transmissions and Multiplexing

CHAPTER 7: The CPU and Memory

Data Storage. 1s and 0s

Sigma- Delta Modulator Simulation and Analysis using MatLab


Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

2.0 Command and Data Handling Subsystem

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

1. (Ungraded) A noiseless 2-kHz channel is sampled every 5 ms. What is the maximum data rate?

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Digital to Analog and Analog to Digital Conversion

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Power Supply and Indicator Unit Type Fig. 1 Type Mounting and Operating Instructions EB 9539 EN

Various Technics of Liquids and Solids Level Measurements. (Part 3)

Video Conferencing Glossary of Terms

Base Conversion written by Cathy Saxton

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

Introduction to the Actuator Sensor-Interface

Lecture 2 Outline. EE 179, Lecture 2, Handout #3. Information representation. Communication system block diagrams. Analog versus digital systems

S a f e G u i d a n c e. Single Lamp Control and Monitoring

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Application Note 83 Fundamentals of RS 232 Serial Communications

Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Content Map For Career & Technology

Process modules Digital input PMI for 24 V DC inputs for 120 V AC inputs

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

Boost Your Skills with On-Site Courses Tailored to Your Needs

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

Note monitors controlled by analog signals CRT monitors are controlled by analog voltage. i. e. the level of analog signal delivered through the

WIRELESS MAGNETIC CONTACT

Digital Design. Assoc. Prof. Dr. Berna Örs Yalçın

Linear Parameter Measurement (LPM)

Photolink- Fiber Optic Receiver PLR135/T1

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

The Phase Modulator In NBFM Voice Communication Systems

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

SpectraTec II. Polarized Multi-Laser Source BLUE SKY RESEARCH WAVELENGTHS. The SpectraTec II

OPT SERIAL TO FIBER OPTIC CONVERTER

CPEN Digital Logic Design Binary Systems

Introduction. Harmonics and IEEE 519 Page 1 of 19

Application Unit, MDRC AB/S 1.1, GH Q R0111

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

MICROPROCESSOR AND MICROCOMPUTER BASICS

CS101 Lecture 11: Number Systems and Binary Numbers. Aaron Stevens 14 February 2011

Analog vs. Digital Transmission

October 1, (Press release) Nippon Telegraph and Telephone Corporation

DNA Data and Program Representation. Alexandre David

Voltage Regulator SPAU 341 C. Product Guide

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

Ultrasound Distance Measurement

MINIMAT-EC-Servo Screwdriver Spindles

Higher National Unit Specification. General information for centres. Transmission of Measurement Signals. Unit code: DX4T 35

PROFIBUS AND MODBUS: A COMPARISON

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

Transcription:

Technical Information Digital Signals 1 1 bit Part 1 Fundamentals t

Technical Information Part 1: Fundamentals Part 2: Self-operated Regulators Part 3: Control Valves Part 4: Communication Part 5: Building Automation Part 6: Process Automation Should you have any further questions or suggestions, please do not hesitate to contact us: SAMSON AG Phone (+49 69) 4 00 94 67 V74 / Schulung Telefax (+49 69) 4 00 97 16 Weismüllerstraße 3 E-Mail: schulung@samson.de D-60314 Frankfurt Internet: http://www.samson.de

Part 1 L150EN Digital Signals SAMSON AG 99/12 Range of values and discretization................... 5 Bits and bytes in hexadecimal notation....................... 7 Digital encoding of information............................ 8 Advantages of digital signal processing................ 10 High interference immunity.............................. 10 Short-time and permanent storage........................ 11 Flexible processing................................... 11 Various transmission options............................ 11 Transmission of digital signals.................... 12 Bit-parallel transmission................................ 12 Bit-serial transmission................................. 12 Appendix A1: Additional Literature.................. 14 CONTENTS 3

Fundamentals Digital Signals SAMSON AG V74/ DKE 4

Part 1 L150EN Digital Signals In electronic signal and information processing and transmission, digital technology is increasingly being used because, in various applications, digital signal transmission has many advantages over analog signal transmission. Numerous and very successful applications of digital technology include the continuously growing number of PC s, the communication network ISDN as well as the increasing use of digital control stations (Direct Digital Control: DDC). Unlike analog technology which uses continuous signals, digital technology encodes the information into discrete signal states (Fig. 1). When only two states are assigned per digital signal, these signals are termed binary signals. One single binary digit is termed a bit a contraction for binary digit. continuous or discrete signals Range of values and discretization A binary signal representing only two states contains very little information compared to an analog signal. If a quantitiy to be represented digitally requires a wider range of values, it must be described by several bits. As you can see in the table in Fig. 2., the range of values increases rapidly with the number of bits used. digital data are composed of several bits (binary digits) continuous signal curve discrete signal curve Fig. 1: Analog and discrete signal curves SAMSON AG 99/12 5

Fundamentals Digital Signals 1 bit => 2 1 states = 2 values 2 bits => 2 2 = 4 values 3 bits => 2 3 = 8 values 4 bits => 2 4 = 16 values 8 bits => 2 8 = 256 values 12 bits=> 2 12 = 4096 values 16 bits=> 2 16 = 65536 values 20 bits=> 2 20 = 1048576 values etc. Fig. 2: Range of values of digital quantities conversion of analog signals quantization error caused by A/D conversion To be able to process analog quantities digitally, they have to be converted into digital values first. Since an analog quantity can assume an infinite number of intermediate values and a digital quantity, on the other hand, can only assume a limited number of values, quantization errors occur when analog signals are converted into discretized, digital signals (Fig. 3). Increasing the number of bits used for digital representation and the sampling rate of the analog signal reduces quantization errors. signal amplitude analog signal digital signal 1 bit t error [Bit] ½ Fig. 3: -½ Quantization error caused by reduced discretization and sampling rate t SAMSON AG V74/ DKE 6

Part 1 L150EN Analog measuring range: Range of values of an 8-bit unit: Quantization error: Range of values of a 12-bit unit: Quantization error: 0 to 30 cm 256 (30/256) cm = 1.2 mm 4096 (30/4096) cm = 0.073 mm Fig. 4: Determining the quantization error for displacement measurement An increasing number of bits also increases the complexity of data processing and transmission. To keep the loss of information during conversion as low as possible while choosing a binary representation that is not too extensive, the range of values must be adapted to the particular task. The example in Fig. 4 calculates the discretization of the measured displacement data using 8- and 12-bit representation. A discretization of 1.2 mm would be perfectly alright for sorting piece goods, whereas it is absolutely insufficient for positioning a machine tool. To be able to work accurately in the tenth millimeter range, a minimum range of values of 12 bits is necessary. discretization versus increased complexity of processing calculation example Bits and bytes in hexadecimal notation Digital technology rarely operates with the smallest possible digital quantity, but often groups 8 bits together to form a byte. So 8, 16 or 32 bit units are termed accordingly 1, 2 or 4 byte units. 8 bits = 1 byte The binary system with its 0 s and 1 s soon becomes unclear when it comes to larger range of values, as you can see from this 2-byte variable: 01101001 00001101. More clarity can be achieved when using the hexadecimal system. In this numbering system, each character can assume 16 different values: 0 to 9 andatof. 16 characters for hexadecimal notation SAMSON AG 99/12 NOTE: In the decimal numbering system, a character can assume 10 different values, these are 0 to 9. 7

Fundamentals Digital Signals Binary Hex Binary Hex Binary Hex Binary Hex 0000 0 0100 4 1000 8 1100 C 0001 1 0101 5 1001 9 1101 D 0010 2 0110 6 1010 A 1110 E 0011 3 0111 7 1011 B 1111 F Fig. 5: Binary and hexadecimal representation of a 4-bit unit hexadecimal notation improves clarity Fig. 5 shows that each hexadecimal number is assigned to a value of a 4-bit unit. Using this shorter and clearer type of representation, the 2-byte variable (4 * 4 bits) shown above is now the hexadecimal number 690D : Binary notation: 0110 1001 0000 1101 Hexadecimal notation: 6 9 0 D Digital encoding of information code schemes for information encoding To be able to process data and messages digitally, they have to be encoded into binary digits. Whether letters, texts, numbers or states (e.g. properties of a body) are involved, each piece of information must be converted into a binary unit using an unambiguous code scheme. This process is also called Letters, texts Signed integer Floating point Any state Hallo -118 1.375 blue, yellow, red,.. ASCII 2's IEEE-P 754 Fixed repre- complement mantissa 2 exp. sentation (16 bits) (32 bits) scheme 48 61 6C 6C 6F FF8A 3FB00000 01, 02, 03,.. Fig. 6: Examples for binary encoding of information SAMSON AG V74/ DKE 8

Part 1 L150EN data encoding. Effective data processing is only possible if cooperating computers and programs all use the same codes. In practice, there are many different, largely standardized types of codes for letters, texts, numbers and states. Fig. 6 gives some of the most common code schemes. Such codes for characters and numbers exist, of course, also for other smaller as well as wider ranges of values. many codes have proven successful in practice SAMSON AG 99/12 9

Fundamentals Digital Signals Advantages of digital signal processing At first glance, digital representation and processing of (analog) information seems extremely complex compared to analog representation. Each analog quantity must be encoded according to a code scheme to be then described by several binary signals. This disadvantage, however, is more than compensated for by the numerous advantages digital technology offers for a broad range of applications: high interference immunity, easy data storage, flexible processing, various transmission options. High interference immunity high interference immunity Analog information is highly liable to interference, i.e. errors are caused by even the smallest disturbance signals, whereas digitally encoded information will be distorted only when the disturbance signal is larger than the signal-to-noise ratio of the digital level used. The signal-to-noise ratio results from the difference between the transmitting and the receiving level (Fig. 7). It determines how strong capacitive or inductive interferences (system hum, Signal level of a TTL-LS circuit LOW level: Guaranteed transmitter level: Guaranteed receiver level: Static signal-to-noise ratio: max. 0.5 volt max. 0.8 volt 0.3 volt HIGH level: Guaranteed transmitter level: min. 2.7 volt Fig. 7: Guaranteed receiver level: Static signal-to-noise ratio: Signal-to-noise ratio of a digital signal min. 2.0 volt 0.7 volt SAMSON AG V74/ DKE 10

Part 1 L150EN noise, switching peaks) or voltage fluctuations can be without distorting the digital signal. By selecting the binary information representation (see L153e) the signal-to-noise ratio can be adjusted within broad limits to the environmental conditions. Short-time and permanent storage Digital data can be stored very easily on a variety of often very cost-effective data carriers. There is the option of storing in volatile semiconductor memories (Random Access Memory: RAM), or permanently on magnetic and optical data carriers. good storage properties Flexible processing Microprocessor-based and software-controlled data processing enables even complex algorithms to be computed in almost no time with a high degree of flexibility. flexible processing Various transmission options The two states of a binary signal can be encoded in many different ways, thus offering a broad spectrum of application. For data transmission over long distances, for example, optical fiber cables are used because of their low energy consumption and high interference immunity. Binary signals can be assigned directly to the ON/OFF states of a light signal, while analog signals can only be transmitted optically after expensive and time-consuming linearization and intensity analysis which is liable to errors. electrical, optical or acoustical transmission SAMSON AG 99/12 11

Fundamentals Digital Signals transmitter 9 lines receiver 8-bitunit 1. 1. 2. 2. 3. 3. 4. 4. 5. 5. 6. 6. 7. 7. 8. 8. 8-bit unit Fig. 8: Parallel data transmission Transmission of digital signals There are two ways to transmit digital data between one or several devices or communication participants, either parallel or serial transmission. Bit-parallel transmission transmission via several signal lines With parallel transmission, all bits of a piece of information are transmitted at the same time bit-parallel via an appropriate number of signal lines. The installation costs are high and only acceptable for short distances. The transmission of one byte alone requires a minimum of nine lines 8 bits and a reference potential (Fig. 8). Therefore, this technique is presently almost only used for device busses. This application over short distances requires high transmission rates while doing without conversion methods that need a large number of components. transmission via one signal line Bit-serial transmission For long distances, serial transmission is a good solution. Here, only one signal line transmits the bits one after the other. As a result, the transmission of information takes more time, which is nevertheless acceptable because, on the other hand, the installation effort and the costs are considerably reduced (Fig. 9). Since all the information is mostly generated and processed in bit-parallel mode, the transmitter must convert the data from parallel to serial, and the receiver must reconvert it from serial to parallel. This function is SAMSON AG V74/ DKE 12

Part 1 L150EN transmitter receiver 8-bit unit 1. 2. 3. 4. 5. 6. 7. 8. 2 lines 8,7,6,5, 4,3,2,1 8. 7. 6. 5. 4. 3. 2. 1. 8. 7. 6. 5. 4. 3. 2. 1. 8. 7. 6. 5. 4. 3. 2. 1. Fig. 9: Serial data transmission performed by specially operated shift registers which are already integrated in communication modules available on the market. SAMSON AG 99/12 8-bit unit 13

Fundamentals Digital Signals Appendix A1: Additional Literature [1] L153EN: Serial Data Transmission Technical Information; SAMSON AG [2] L155EN: Networked Communications Technical Information; SAMSON AG [3] L450EN: Communication in the Field Technical Information; SAMSON AG [4] L452EN: HART-Communication Technical Information; SAMSON AG [6] L453EN: PROFIBUS PA Technical Information; SAMSON AG [7] L454EN: FOUNDATION Fieldbus Technical Information; SAMSON AG APPENDIX SAMSON AG V74/ DKE 14

Part 1 L150EN Figures Fig. 1: Analog and discrete signal curves............... 5 Fig. 2: Range of values of digital quantities.............. 6 Fig. 3: Quantization error...................... 6 Fig. 4: Determining the quantization error.............. 7 Fig. 5: Binary and hexadecimal representation of a 4-bit unit..... 8 Fig. 6: Examples for binary encoding of information.......... 8 Fig. 7: Signal-to-noise ratio of a digital signal............ 10 Fig. 8: Parallel data transmission.................. 12 Fig. 9: Serial data transmission................... 13 SAMSON AG 99/12 FIGURES 15

SAMSON AG MESS- UND REGELTECHNIK Weismüllerstraße 3 D-60314 Frankfurt am Main Phone (+49 69) 4 00 90 Telefax (+49 69) 4 00 95 07 Internet: http://www.samson.de 1999/12 L150EN