Chapter 3 Digital Transmission Fundamentals

Similar documents
Physical Layer: Outline

From Signals to Packets. Outline : Introduction to Telecommunication Networks Lectures 5: Datalink layer. Error Control.

Chapter 3 Digital Transmission Fundamentals

Department of Electrical Engineering, University of Waterloo. Introduction

ENG2410 Digital Design Arithmetic Circuits

RECHERCHES Womcodes constructed with projective geometries «Womcodes» construits à partir de géométries projectives Frans MERKX (') École Nationale Su

ENG2410 Digital Design Sequential Circuits: Part A

, which yields. where z1. and z2

ENG2410 Digital Design Sequential Circuits: Part B

Public Key Cryptography. Tim van der Horst & Kent Seamons

Medium Scale Integrated (MSI) devices [Sections 2.9 and 2.10]

Synchronous Motor V-Curves

Technical Note

DEFENSE OCCUPATIONAL AND ENVIRONMENTAL HEALTH READINESS SYSTEM (DOEHRS) ENVIRONMENTAL HEALTH SAMPLING ELECTRONIC DATA DELIVERABLE (EDD) GUIDE

5 th grade Common Core Standards

ECE 545 Project Deliverables

Purpose: Use this reference guide to effectively communicate the new process customers will use for creating a TWC ID. Mobile Manager Call History

Biochemistry Summer Packet

2/3 Axis Position Indicator

Multiple Source Multiple. using Network Coding

/ / Chemistry. Chapter 1 Chemical Foundations

APPLICATION GUIDE (v4.1)

SOME CONSTRUCTIONS OF OPTIMAL BINARY LINEAR UNEQUAL ERROR PROTECTION CODES

Application Note - Energy Metering at a Medium Voltage Connection Point using a Voltage Transformer

This section is primarily focused on tools to aid us in finding roots/zeros/ -intercepts of polynomials. Essentially, our focus turns to solving.

Sections 15.1 to 15.12, 16.1 and 16.2 of the textbook (Robbins-Miller) cover the materials required for this topic.

ENSC Discrete Time Systems. Project Outline. Semester

Cyclic Codes. Saravanan Vijayakumaran August 26, Department of Electrical Engineering Indian Institute of Technology Bombay

(2) Even if such a value of k was possible, the neutrons multiply

Determining the Accuracy of Modal Parameter Estimation Methods

MATHEMATICS SYLLABUS SECONDARY 5th YEAR

Interference is when two (or more) sets of waves meet and combine to produce a new pattern.

Activity Guide Loops and Random Numbers

MODULE FOUR. This module addresses functions. SC Academic Elementary Algebra Standards:

An Area Efficient (31, 16) BCH Decoder for Three Errors

Physics 2010 Motion with Constant Acceleration Experiment 1

CS 477/677 Analysis of Algorithms Fall 2007 Dr. George Bebis Course Project Due Date: 11/29/2007

ESD ACCESSION LIST AL 5823"

CHAPTER 2 Algebraic Expressions and Fundamental Operations

Section 6-2: Simplex Method: Maximization with Problem Constraints of the Form ~

Multimedia Systems WS 2010/2011

Time, Synchronization, and Wireless Sensor Networks

Copyright Paul Tobin 63

Pattern Recognition 2014 Support Vector Machines

Relationships Between Frequency, Capacitance, Inductance and Reactance.

It is compulsory to submit the assignment before filling in the exam form.

o o IMPORTANT REMINDERS Reports will be graded largely on their ability to clearly communicate results and important conclusions.

READING STATECHART DIAGRAMS

k-nearest Neighbor How to choose k Average of k points more reliable when: Large k: noise in attributes +o o noise in class labels

ECE 4450:427/527 - Computer Networks Spring 2017

ECEN 4872/5827 Lecture Notes

Experiment #3. Graphing with Excel

MODULE ONE. This module addresses the foundational concepts and skills that support all of the Elementary Algebra academic standards.

1 The limitations of Hartree Fock approximation

Chemistry 20 Lesson 11 Electronegativity, Polarity and Shapes

NUMBERS, MATHEMATICS AND EQUATIONS

T(s) 1+ T(s) 2. Phase Margin Test for T(s) a. Unconditionally Stable φ m = 90 o for 1 pole T(s) b. Conditionally Stable Case 1.

Bootstrap Method > # Purpose: understand how bootstrap method works > obs=c(11.96, 5.03, 67.40, 16.07, 31.50, 7.73, 11.10, 22.38) > n=length(obs) >

^YawataR&D Laboratory, Nippon Steel Corporation, Tobata, Kitakyushu, Japan

2004 AP CHEMISTRY FREE-RESPONSE QUESTIONS

Turing Machines. Human-aware Robotics. 2017/10/17 & 19 Chapter 3.2 & 3.3 in Sipser Ø Announcement:

CPM plans: the short, the medium and the long

SPH3U1 Lesson 06 Kinematics

CHM112 Lab Graphing with Excel Grading Rubric

ECE 2100 Circuit Analysis

Electric Duct Heater. HECB Series Modbus Communication Module User Guide. HECB-Modbus Guide docx

AP Statistics Notes Unit Two: The Normal Distributions

COMP 551 Applied Machine Learning Lecture 5: Generative models for linear classification

Electronic Fan Coil Controller

Chapter 3: Cluster Analysis

Name AP CHEM / / Chapter 1 Chemical Foundations

Basics. Primary School learning about place value is often forgotten and can be reinforced at home.

Tree Structured Classifier

Last Updated: Oct 14, 2017

Math Final Exam Instructor: Ken Schultz April 28, 2006

EEO 401 Digital Signal Processing Prof. Mark Fowler

1.1 The main transmission network of Eskom The classical two generator model 11

Networkable Fan Coil Controller

Distributions, spatial statistics and a Bayesian perspective

ENG2410 Digital Design Sequencing and Control

Finite Automata. Human-aware Robo.cs. 2017/08/22 Chapter 1.1 in Sipser

Thermodynamics and Equilibrium

Bicycle Generator Dump Load Control Circuit: An Op Amp Comparator with Hysteresis

Source Coding Fundamentals

initially lcated away frm the data set never win the cmpetitin, resulting in a nnptimal nal cdebk, [2] [3] [4] and [5]. Khnen's Self Organizing Featur

Differentiation Applications 1: Related Rates

The Law of Total Probability, Bayes Rule, and Random Variables (Oh My!)

Homology groups of disks with holes

Modelling of Clock Behaviour. Don Percival. Applied Physics Laboratory University of Washington Seattle, Washington, USA

1. Transformer A transformer is used to obtain the approximate output voltage of the power supply. The output of the transformer is still AC.

T Algorithmic methods for data mining. Slide set 6: dimensionality reduction

BASD HIGH SCHOOL FORMAL LAB REPORT

SAP Note Missing documentation on enhancement MDR10001

Plan o o. I(t) Divide problem into sub-problems Modify schematic and coordinate system (if needed) Write general equations

A Matrix Representation of Panel Data

15-381/781 Bayesian Nets & Probabilistic Inference

Resampling Methods. Cross-validation, Bootstrapping. Marek Petrik 2/21/2017

Hypothesis Tests for One Population Mean

Applying Kirchoff s law on the primary circuit. V = - e1 V+ e1 = 0 V.D. e.m.f. From the secondary circuit e2 = v2. K e. Equivalent circuit :

Math 9 Year End Review Package. (b) = (a) Side length = 15.5 cm ( area ) (b) Perimeter = 4xside = 62 m

Transcription:

Chapter 3 Digital Transmissin Fundamentals Errr Detectin and Crrectin Errr Cntrl Digital transmissin systems intrduce errrs, BER ranges frm 10-3 fr wireless t 10-9 fr ptical fiber Applicatins require certain reliability level Data applicatins require errr-free transfer Vice & vide applicatins tlerate sme errrs Errr cntrl used when transmissin system des nt meet applicatin requirement Errr cntrl ensures a data stream is transmitted t a certain level f accuracy despite errrs Tw basic appraches: Errr detectin & retransmissin (ARQ) Frward errr crrectin (FEC)

Key Idea All transmitted data blcks ( cdewrds ) satisfy a pattern If received blck desn t satisfy pattern, it is in errr Redundancy: Only a subset f all pssible blcks can be cdewrds User infrmatin All inputs t channel satisfy pattern r cnditin Encder Channel Channel utput Pattern checking Deliver user infrmatin r set errr alarm Single Parity Check Append an verall parity check t k infrmatin bits Inf Bits: b 1, b 2, b 3,, b k Check Bit: b k+1 = b 1 + b 2 + b 3 + + b k mdul 2 Cdewrd: (b 1, b 2, b 3,, b k,, b k+! ) All cdewrds have even # f 1s Receiver checks t see if # f 1s is even All errr patterns that change an dd # f bits are detectable All even-numbered patterns are undetectable Parity bit used in ASCII cde

Example f Single Parity Cde Infrmatin (7 bits): (0, 1, 0, 1, 1, 0, 0) Parity Bit: b 8 = 0 + 1 +0 + 1 +1 + 0 = 1 Cdewrd (8 bits): (0, 1, 0, 1, 1, 0, 0, 1) If single errr in bit 3 : (0, 1, 1, 1, 1, 0, 0, 1) # f 1 s =5, dd Errr detected If errrs in bits 3 and 5: (0, 1, 1, 1, 0, 0, 0, 1) # f 1 s =, even Errr nt detected Checkbits & Errr Detectin Infrmatin bits Received infrmatin bits k bits Recalculate check bits Calculate check bits Sent check bits n k bits Channel Received check bits Cmpare Infrmatin accepted if check bits match

Hw gd is the single parity check cde? Redundancy: Single parity check cde adds 1 redundant bit per k infrmatin bits: verhead = 1/(k + 1) Cverage: all errr patterns with dd # f errrs can be detected An errr patten is a binary (k + 1)-tuple with 1s where errrs ccur and 0 s elsewhere Of 2 k+1 binary (k + 1)-tuples, ½ are dd, s 50% f errr patterns can be detected Is it pssible t detect mre errrs if we add mre check bits? Yes, with the right cdes What if bit errrs are randm? Many transmissin channels intrduce bit errrs at randm, independently f each ther, and with prbability p Sme errr patterns are mre prbable than thers: P[10000000] = p(1 p) 7 = (1 p) 8 p 1 p and p 2 P[11000000] = p 2 (1 p) 6 = (1 p) 8 1 p In any wrthwhile channel p < 0.5, and s (p/(1 p) < 1 It fllws that patterns with 1 errr are mre likely than patterns with 2 errrs and s frth What is the prbability that an undetectable errr pattern ccurs?

Single parity check cde with randm bit errrs Undetectable errr pattern if even # f bit errrs: P[errr detectin failure] = P[undetectable errr pattern] = P[errr patterns with even number f 1s] n n = p 2 (1 p) n-2 + p (1 p) n- + 2 Example: Evaluate abve fr n = 32, p = 10-3 32 P[undetectable errr] = (10-3 ) 2 (1 10-3 ) 30 32 + (10-3 ) (1 10-3 ) 2 28 96 (10-6 ) + 35960 (10-12 ).96 (10 - ) Fr this example, rughly 1 in 2000 errr patterns is undetectable What is a gd cde? Many channels have preference fr errr patterns that have fewer # f errrs These errr patterns map transmitted cdewrd t nearby n-tuple If cdewrds clse t each ther then detectin failures will ccur Gd cdes shuld maximize separatin between cdewrds x x x x x x x x = cdewrds = nncdewrds x x x x x x x Pr distance prperties Gd distance prperties

Tw-Dimensinal Parity Check Mre parity bits t imprve cverage Arrange infrmatin as clumns Add single parity bit t each clumn Add a final parity clumn Used in early errr cntrl systems 1 0 0 1 0 0 0 1 0 0 0 1 1 0 0 1 0 0 1 1 0 1 1 0 1 0 0 1 1 1 Last clumn cnsists f check bits fr each rw Bttm rw cnsists f check bit fr each clumn Errr-detecting capability 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 1 0 1 1 0 1 0 0 1 1 1 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0 0 1 1 0 1 0 0 1 1 1 One errr Three errrs 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 1 1 0 1 0 0 1 1 1 1 0 0 1 0 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 0 1 0 0 1 1 1 Tw errrs Fur errrs (undetectable) 1, 2, r 3 errrs can always be detected; Nt all patterns > errrs can be detected Arrws indicate failed check bits

Other Errr Detectin Cdes Many applicatins require very lw errr rate Need cdes that detect the vast majrity f errrs Single parity check cdes d nt detect enugh errrs Tw-dimensinal cdes require t many check bits The fllwing errr detecting cdes used in practice: Internet Check Sums CRC Plynmial Cdes Internet Checksum Several Internet prtcls (e.g. IP, TCP, UDP) use check bits t detect errrs in the IP header (r in the header and data fr TCP/UDP) A checksum is calculated fr header cntents and included in a special field. Checksum recalculated at every ruter, s algrithm selected fr ease f implementatin in sftware Let header cnsist f L, 16-bit wrds, b 0, b 1, b 2,..., b L-1 The algrithm appends a 16-bit checksum b L

Checksum Calculatin The checksum b L is calculated as fllws: Treating each 16-bit wrd as an integer, find x = b 0 + b 1 + b 2 +...+ b L-1 mdul 2 16-1 The checksum is then given by: b L = - x mdul 2 16-1 Thus, the headers must satisfy the fllwing pattern: 0 = b 0 + b 1 + b 2 +...+ b L-1 + b L mdul 2 16-1 The checksum calculatin is carried ut in sftware using ne s cmplement arithmetic Internet Checksum Example Use Mdul Arithmetic Assume -bit wrds Use md 2-1 arithmetic b 0 =1100 = 12 b 1 =1010 = 10 b 0 +b 1 =12+10=7 md15 b 2 = -7 = 8 md15 Therefre b 2 =1000 Use Binary Arithmetic Nte 16 =1 md15 S: 10000 = 0001 md15 leading bit wraps arund b 0 + b 1 = 1100+1010 =10110 =10000+0110 =0001+0110 =0111 =7 Take 1s cmplement b 2 = -0111 =1000

Plynmial Cdes Plynmials instead f vectrs fr cdewrds Plynmial arithmetic instead f check sums Implemented using shift-register circuits Als called cyclic redundancy check (CRC) cdes Mst data cmmunicatins standards use plynmial cdes fr errr detectin Plynmial cdes als basis fr pwerful errr-crrectin methds Binary Plynmial Arithmetic Binary vectrs map t plynmials Additin: (i k-1,i k-2,, i 2, i 1, i 0 ) i k-1 x k-1 + i k-2 x k-2 + + i 2 x 2 + i 1 x + i 0 (x 7 + x 6 + 1) + (x 6 + x 5 ) = x 7 + x 6 + x 6 + x 5 + 1 Multiplicatin: = x 7 +(1+1)x 6 + x 5 + 1 = x 7 +x 5 + 1 since 1+1=0 md2 (x + 1) (x 2 + x + 1) = x(x 2 + x + 1) + 1(x 2 + x + 1) = (x 3 + x 2 + x) + (x 2 + x + 1) = x 3 + 1

Binary Plynmial Divisin Divisin with Decimal Numbers divisr 3 35 ) 1222 105 17 2 10 32 qutient dividend remainder Plynmial Divisin x 3 + x + 1 ) x 6 + x 5 divisr Nte: Degree f r(x) is less than degree f divisr dividend = qutient x divisr +remainder x 3 + x 2 1222 = 3 x 35 + 32 + x x 6 + x + x 3 x 5 + x + x 3 x 5 + x 3 + x 2 x + x 2 x + x 2 + x = q(x) qutient x dividend = r(x) remainder Plynmial Cding Cde has binary generating plynmial f degree n k g(x) = x n-k + g n-k-1 x n-k-1 + + g 2 x 2 + g 1 x + 1 k infrmatin bits define plynmial f degree k 1 i(x) = i k-1 x k-1 + i k-2 x k-2 + + i 2 x 2 + i 1 x + i 0 Find remainder plynmial f at mst degree n k 1 q(x) g(x) ) x n-k i(x) r(x) x n-k i(x) = q(x)g(x) + r(x) Define the cdewrd plynmial f degree n 1 b(x) = x n-k i(x) + r(x) n bits k bits n-k bits

Plynmial example: k =, n k = 3 Generatr plynmial: g(x)= x 3 + x + 1 Infrmatin: (1,1,0,0) i(x) = x 3 + x 2 Encding: x 3 i(x) = x 6 + x 5 x 3 + x 2 + x x 3 + x + 1 ) x 6 + x 5 x 6 + x + x 3 x 5 + x + x 3 x 5 + x 3 + x 2 x + x 2 x + x 2 + x Transmitted cdewrd: b(x) = x 6 + x 5 + x b = (1,1,0,0,0,1,0) x 1110 1011 ) 1100000 1011 1110 1011 1010 1011 0010 0000 010 The Pattern in Plynmial Cding All cdewrds satisfy the fllwing pattern: b(x) = x n-k i(x) + r(x) = q(x)g(x) + r(x) + r(x) = q(x)g(x) All cdewrds are a multiple f g(x)! Receiver shuld divide received n-tuple by g(x) and check if remainder is zer If remainder is nnzer, then received n-tuple is nt a cdewrd

Shift-Register Implementatin 1. Accept infrmatin bits i k-1,i k-2,,i 2,i 1,i 0 2. Append n k zers t infrmatin bits 3. Feed sequence t shift-register circuit that perfrms plynmial divisin. After n shifts, the shift register cntains the remainder Divisin Circuit + Encder fr g(x) = x 3 + x + 1 0,0,0,i 0,i 1,i 2,i 3 g 0 = 1 g 1 = 1 g 3 = 1 Reg 0 + Clck Input Reg 0 Reg 1 Reg 2 0-0 0 0 1 1 = i 3 1 0 0 2 1 = i 2 1 1 0 3 0 = i 1 0 1 1 0 = i 0 1 1 1 5 0 1 0 1 6 0 1 0 0 7 0 0 1 0 Check bits: r 0 = 0 r 1 = 1 r 2 = 0 r(x) = x Reg 1 Reg 2

Undetectable errr patterns (Transmitter) b(x) + (Receiver) R(x)=b(x)+e(x) (Channel) e(x) Errr plynmial e(x) has 1s in errr lcatins & 0s elsewhere Receiver divides the received plynmial R(x) by g(x) Blindspt: If e(x) is a multiple f g(x), that is, e(x) is a nnzer cdewrd, then R(x) = b(x) + e(x) = q(x)g(x) + e(x) R(x) = q(x) + e(x) g(x) g(x) The errr is nt detected if g(x) divides e(x) Designing gd plynmial cdes Select generatr plynmial s that likely errr patterns are nt multiples f g(x) Detecting Single Errrs e(x) = x i fr errr in lcatin i + 1 If g(x) has mre than 1 term, it cannt divide x i Detecting Duble Errrs e(x) = x i + x j = x i (x j-i +1) where j>i If g(x) has mre than 1 term, it cannt divide x i If g(x) is a primitive plynmial, it cannt divide x m +1 fr all m up t the max. value f m (i-j) Fr example, x 15 + x 1 +1 will nt divide x k +1 fr any value f k belw 32,768

Designing gd plynmial cdes Detecting Odd Numbers f Errrs Suppse all cdewrd plynmials have an even # f 1s, then all dd numbers f errrs can be detected As well, b(x) evaluated at x = 1 is zer because b(x) has an even number f 1s This implies x + 1 must be a factr f all b(x) Pick g(x) = (x + 1) p(x) where p(x) is primitive Standard Generatr Plynmials CRC-8: CRC = cyclic redundancy check = x 8 + x 2 + x + 1 ATM CRC-16: = x 16 + x 15 + x 2 + 1 = (x + 1)(x 15 + x + 1) Bisync CCITT-16: = x 16 + x 12 + x 5 + 1 CCITT-32: HDLC, XMODEM, V.1 IEEE 802, DD, V.2 = x 32 + x 26 + x 23 +x 22 + x 16 + x 12 + x 11 + x 10 + x 8 +x 7 + x 5 + x + x 2 + x + 1

Hamming Cdes Class f errr-crrecting cdes A binary linear cde (k,n) takes a grup f k infrmatin bits and prduces n-bits cdewrd. Capable f crrecting all single-errr patterns Fr each m > 2, there is a Hamming cde f length n = 2 m 1 with n k = m parity check bits Redundancy m 3 5 6 n = 2 m 1 7 15 31 63 k = n m 11 26 57 m/n 3/7 /15 5/31 6/63 m = 3 Hamming Cde Infrmatin bits are b 1, b 2, b 3, b Equatins fr parity checks b 5, b 6, b 7 b 5 = b 1 + b 3 + b b 6 = b 1 + b 2 + b b 7 = + b 2 + b 3 + b There are 2 = 16 cdewrds (0,0,0,0,0,0,0) is a cdewrd

Hamming (7,) cde Infrmatin Cdewrd Weight b 1 b 2 b 3 b b 1 b 2 b 3 b b 5 b 6 b 7 w(b) 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 1 0 1 0 1 0 0 1 1 0 1 0 0 1 0 0 0 1 1 0 1 0 1 1 0 0 0 1 1 0 1 1 0 0 1 1 1 0 0 1 1 0 0 0 1 1 0 1 0 0 1 0 0 1 1 0 1 0 0 1 1 1 0 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 1 0 1 0 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 3 3 3 3 3 3 3 7 Parity Check Equatins Rearrange parity check equatins: 0 = b 5 + b 5 = b 1 + b 3 + b + b 5 0 = b 6 + b 6 = b 1 + b 2 + b + b 6 0 = b 7 + b 7 = + b 2 + b 3 + b + b 7 In matrix frm: b 1 b 2 0 = 1 0 1 1 1 0 0 b 3 0 = 1 1 0 1 0 1 0 b = H b t = 0 0 = 0 1 1 1 0 0 1 b 5 b 6 All cdewrds must satisfy these equatins Nte: each nnzer 3-tuple appears nce as a clumn in check matrix H b 7

Chapter 3 Digital Transmissin Fundamentals RS-232 Asynchrnus Data Transmissin Recmmended Standard (RS) 232 Serial line interface between cmputer and mdem r similar device Data Terminal Equipment (DTE): cmputer Data Cmmunicatins Equipment (DCE): mdem Mechanical and Electrical specificatin

Pins in RS-232 cnnectr 1 13 (a) 1 25 (b) DTE 1 2 3 5 6 7 8 20 22 Prtective Grund (PGND) Transmit Data (TXD) Receive Data (RXD) Request t Send (RTS) Clear t Send (CTS) Data Set Ready (DSR) Grund (G) Carrier Detect (CD) Data Terminal Ready (DTR) Ring Indicatr (RI) 1 2 3 5 6 7 8 20 22 DCE Synchrnizatin Synchrnizatin f clcks in transmitters and receivers. clck drift causes a lss f synchrnizatin Example: assume 1 and 0 are represented by V vlts and 0 vlts respectively Crrect receptin Incrrect receptin due t incrrect clck (slwer clck) Data Data T T 1 0 1 1 0 1 0 0 1 0 0 S S Clck 1 0 1 1 1 0 0 1 0 0 0 Clck

Synchrnizatin (cnt d) Incrrect receptin (faster clck) Hw t avid a lss f synchrnizatin? Asynchrnus transmissin Synchrnus transmissin Data 1 0 1 1 1 0 0 1 0 0 0 T S Clck Asynchrnus Transmissin Avids synchrnizatin lss by specifying a shrt maximum length fr the bit sequences and resetting the clck in the beginning f each bit sequence. Accuracy f the clck? Data bits Line idle Start bit 1 2 3 5 6 7 8 Stp bit 3T/2 T T T T T T T Receiver samples the bits

Synchrnus Transmissin Sequence cntains data + clck infrmatin (line cding) i.e. Manchester encding, self-synchrnizing cdes, is used. R transitin fr R bits per secnd transmissin R transitin cntains a sine wave with R Hz. R Hz sine wave is used t synch receiver clck t the transmitter s clck using PLL (phase-lck lp) Vltage 1 0 0 0 1 1 0 1 0 time