Analysis of a biphase mark protocol with U ppaal and PVS
Open Access
- 1 December 2006
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 18 (4) , 433-458
Abstract
The biphase mark protocol is a convention for representing both a string of bits and clock edges in a square wave. The protocol is frequently used for communication at the physical level of the ISO/OSI hierarchy, and is implemented on microcontrollers such as the Intel 82530 Serial Communications Controller. An important property of the protocol is that bit strings of arbitrary length can be transmitted reliably, despite differences in the clock rates of sender and receiver (drift), variations of the clock rates (jitter), and distortion of the signal after generation of an edge. In this article, we show how the protocol can be modelled naturally in terms of timed automata. We use the model checker Uppaal to derive the maximal tolerances on the clock rates, for different instances of the protocol, and to support the general parametric verification that we formalized using the proof assistant PVS. Based on the derived parameter constraints we propose instances of BMP that are correct (at least in our model) but have a faster bit rate than the instances that are commonly implemented in hardware.Keywords
This publication has 18 references indexed in Scilit:
- Verification and Improvement of the Sliding Window ProtocolLecture Notes in Computer Science, 2003
- Linear parametric model checking of timed automataThe Journal of Logic and Algebraic Programming, 2002
- Processor verification with precise exceptions and speculative execution1998
- Powerful techniques for the automatic generation of invariantsLecture Notes in Computer Science, 1996
- Verification of an Audio Protocol with bus collision using Uppaal1996
- Formal verification for fault-tolerant architectures: prolegomena to the design of PVSIEEE Transactions on Software Engineering, 1995
- A theory of timed automataTheoretical Computer Science, 1994
- Verification of an audio control protocol1994
- A formal model of asynchronous communication and its use in mechanically verifying a biphase mark protocolFormal Aspects of Computing, 1994
- Probabilistic clock synchronizationDistributed Computing, 1989