没有合适的资源?快使用搜索试试~ 我知道了~
首页Meter BUS家用仪表协议的规范
资源详情
资源评论
资源推荐

1
1 Introduction .......................................................................................................................... 3
2 The Basics of Serial Bus Systems........................................................................................ 4
2.1 Applications and Definitions .......................................................................................... 4
2.2 Basic Functions of Bus Systems ..................................................................................... 5
2.2.1 Access Techniques ............................................................................................... 6
2.2.2 Synchronization of Participants........................................................................... 7
2.2.3 Error Processing ................................................................................................... 7
2.3 The OSI Reference Model .............................................................................................. 8
3 Overview of the M-Bus ...................................................................................................... 11
3.1 Requirements of a Bus System for Consumer Utility Meters....................................... 11
3.2 The M-Bus in the OSI Model ....................................................................................... 11
4 Physical Layer .................................................................................................................... 14
4.1 Principles of Operation ................................................................................................. 14
4.2 Specifications for Bus Installations .............................................................................. 16
4.3 Specifications of the Repeaters..................................................................................... 17
4.4 Slave Design ................................................................................................................. 17
5 Data Link Layer ................................................................................................................. 21
5.1 Transmission Parameters .............................................................................................. 21
5.2 Telegram Format........................................................................................................... 23
5.3 Meaning of the Fields ................................................................................................... 24
5.4 Communication Process................................................................................................ 26
5.5 FCB- and FCV-Bits and Addressing ............................................................................ 28
5.5.1 Applications of the FCB-mechanism .................................................................. 28
5.5.2 Implementation aspects for primary addressing.................................................. 29
6 Application Layer............................................................................................................... 32
6.1 CI-Field ......................................................................................................................... 32
6.2 Fixed Data Structure ..................................................................................................... 35
6.3 Variable Data Structure................................................................................................. 37
6.3.1 Fixed Data Header.............................................................................................. 37
6.3.2 Variable Data Blocks.......................................................................................... 38
6.3.3 Manufacturer Specific Data Block ..................................................................... 43
6.4 Configuring Slaves........................................................................................................ 45
6.4.1 Switching Baudrate ............................................................................................ 45
6.4.2 Writing Data to a Slave ...................................................................................... 46

2
6.4.3 Configuring Data Output.................................................................................... 48
6.5 Generalized Object Layer ............................................................................................. 51
6.6 Application Layer Status............................................................................................... 53
6.7 Special Slave Features .................................................................................................. 55
6.7.1 Auto Speed Detect.............................................................................................. 55
6.7.2 Slave Collision Detect ........................................................................................ 56
6.7.3 Use of the Fabrication Number .......................................................................... 57
6.7.4 Hex-Codes $A-$F in BCD-Data Fields............................................................... 57
7 Network Layer.................................................................................................................... 63
7.1 Selection and Secondary Addressing............................................................................ 63
7.3 FCB-Bit and Selection .................................................................................................. 64
7.4 Searching for Installed Slaves...................................................................................... 65
7.4 Generalized Selection Procedure .................................................................................. 69
8 Appendix ............................................................................................................................. 70
8.1 Alarm Protocol.............................................................................................................. 70
8.2 Coding of Data Records................................................................................................ 71
8.3 Tables for Fixed Data Structure.................................................................................... 74
8.3.1 Measured Medium Fixed Structure .................................................................... 74
8.3.2 Table of Physical Units ...................................................................................... 75
8.4 Tables for Variable Data Structure ............................................................................... 76
8.4.1 Measured Medium Variable Structure ............................................................... 76
8.4.2 Data Field Codes ................................................................................................ 77
8.4.3 Codes for Value Information Field (VIF) .......................................................... 78
8.4.4 Extension of primary VIF-Codes ....................................................................... 80
8.4.5 Codes for Value Information Field Extension (VIFE)....................................... 84
8.5 References..................................................................................................................... 88

3
1 Introduction
This document, which is based on references [11] and [12], gives detailed and actual
information about the M-Bus, which is a low cost home electronic system (HES).
This documentation about the M-Bus is published by the M-Bus Usergroup, which is an
international organization of users and producers of M-Bus devices. The usergroup meets
several times a year to discuss problems and developments in hardware and software.
Recommendations, agreements, examples and explanations are included in this paper as well
as parts of the standards itself. Among other things the actual version of this document in
Winword format can be downloaded from the M-Bus Mailbox.
M-Bus Usergroup:
Prof. Dr. Horst Ziegler
Fachbereich Physik
Universität-GH Paderborn
Warburgerstr. 100
Germany 33098 Paderborn
Phone: +49 5251 / 602735
WWW:
http://fb6www.uni-paderborn.de/M-Bus/
M-Bus Mailbox:
Phone: +49 5251 / 603830
Parameter: 300..14400 bps, 8N1
Sysop: Carsten Bories, Phone 602750
The M-Bus (Meter Bus) was developed to fill the need for a system for the networking and
remote reading of utility meters, for example to measure the consumption of gas or water in
the home. This bus fulfills the special requirements of remotely powered or battery driven
systems, including consumer utility meters. When interrogated, the meters deliver the data
they have collected to a common master, which can, for example, be a hand-held computer,
connected at periodic intervals to read all utility meters of a building. An alternative method
of collecting data centrally is to transmit meter readings via a modem.
Other possible applications in home electronic systems for the M-Bus are alarm systems,
flexible illumination installations and heating controlling.
REMARKS:
♣ Text parts or topics marked with this symbol are new or changed information since
last version 4.7.1 of this document.

4 2 The Basics of Serial Bus Systems
2 The Basics of Serial Bus Systems
2.1 Applications and Definitions
The methods by which data processing systems communicate with each other are classified
according to the distances involved. With world-wide networks the term used is Global Area
Networks (GAN), whereas networks covering continents or large land masses are known as
Wide Area Networks (WAN); Local Area Networks (LAN) are concerned with distances up
to a few kilometers, and are limited to specific geographical areas, such as laboratories, office
buildings and company premises. Such local networks are used, for example, to link
terminals, computers, measuring equipment and process automation modules with one
another.
In the majority of local networks, one or other of the following methods (topologies) are used
to link the components in a system:
•
Star Topology
Each component is linked to a central processor unit with an individual transmission line.
The equipment can transmit to the central unit either sequentially or simultaneously. One
disadvantage of this arrangement is the increased requirement for cabling.
•
Ring Topology
In this case, the components are connected to one another in a ring, and the data are
transferred from point to point. This topology has the disadvantage that, should a single
equipment fail, the complete network will be out of action.
•
Bus Topology
The components are connected together with a common transmission line, with the result
that at one instant only one equipment can transmit data. This topology is very cost-
effective, it will not be disturbed if one of the components fails, and it allows the
transmission of data to all components (Broadcasting) or to specific groups in the system
(Multicasting).
Star Ring Bus
Fig. 1 Network Topologies

2.2 Basic Functions of Bus Systems 5
A serial bus can be defined as a transmission path over which the participants transmit their
data serially (i.e. bit after bit), sequentially in time and using a common medium. In contrast,
in parallel bus systems the individual bits which form a character are transmitted
simultaneously by a certain number of data lines. This results in increased costs for cable and
connectors; the transmission time is shorter than with a serial bus.
2.2 Basic Functions of Bus Systems
The following diagram is intended to provide an overall view of the various forms of serial
bus systems:
Serial Bus
Time Division Multiplex Frequency Multiplex
Synchronous Assynchronous One Subscriber Several Subscribers
Transmission per Channel per Channel
with central
control
Controlled Bus Uncontrolled Bus
Access Access
Central Bus Decentral Bus Carrier Sense Carrier sense
Allocation Allocation
with collision recognition
Transmission
Fig. 2 Classification of Serial Bus Systems According to Transmission and Access
Techniques [1]
The first subdivision can be made according to the multiplex technique which is used. With
frequency multiplex, the frequency spectrum of the transmission medium is divided into
frequency bands, each representing a channel. Each participant is then allocated a channel. In
the next section, the kind of synchronization and access techniques which are used will be
described in order to classify serial bus systems using time division multiplex.
剩余87页未读,继续阅读


















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0