WO1998014850A1 - Process control with data bus protocol - Google Patents

Process control with data bus protocol Download PDF

Info

Publication number
WO1998014850A1
WO1998014850A1 PCT/US1997/017009 US9717009W WO9814850A1 WO 1998014850 A1 WO1998014850 A1 WO 1998014850A1 US 9717009 W US9717009 W US 9717009W WO 9814850 A1 WO9814850 A1 WO 9814850A1
Authority
WO
WIPO (PCT)
Prior art keywords
data bus
address
peripheral
process control
peripheral devices
Prior art date
Application number
PCT/US1997/017009
Other languages
French (fr)
Inventor
David E. Tetzlaff
Jogesh Warrior
Gabriel A. Maalouf
Original Assignee
Rosemount Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rosemount Inc. filed Critical Rosemount Inc.
Priority to EP97942672A priority Critical patent/EP0864122B1/en
Priority to DE69728644T priority patent/DE69728644T2/en
Publication of WO1998014850A1 publication Critical patent/WO1998014850A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0421Multiprocessor system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25145I-O communicates with local bus at one end and with fieldbus at other end
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates generally to the field of process control instruments. More particularly, the present invention relates to a new data bus system and protocol for communication between master control nodes and peripheral devices in process control field instrument operating in accordance with the standard MotorolaTM SPI protocol .
  • Process control instruments such as transmitters and controllers are used to monitor and/or control industrial processes.
  • these process control instruments include a number of internal devices or components such as a microprocessor which functions as a master node and a number of peripheral electronic devices which act as slave nodes.
  • the peripheral electronic devices include, for example, pressure sensors for measuring process pressures, temperature sensors for measuring process temperatures, valves for controlling a process, digital-to-analog and analog-to-digital converters for converting data transferred between analog and digital devices, communication links for transmitting and receiving information over a two-wire process control loop, memory devices for storing instructions or monitored process results, and displays for providing a graphical representation of some process related information.
  • all of these devices are internal to the instrument or in close proximity to the instrument.
  • the instrument can include any combination of the above mentioned slave nodes (i.e., peripheral devices) .
  • the various slave nodes in the process control instrument communicate on a data bus which connects each of the peripheral devices to the master node .
  • the master node in a process control instrument is a Motorola or compatible microprocessor or microcontroller.
  • the Motorola 68HC05 and 68HC11 microcontrollers are commonly used as the master node in process control instruments.
  • These and other microcontrollers are designed to operate in accordance with the standard Serial Peripheral Interface (SPI) bus communication protocol which is defined by Motorola in the M68HC11 Reference Manual which is hereby incorporated by reference.
  • SPI Serial Peripheral Interface
  • While use of microprocessors or microcontrollers which operate in accordance with the SPI protocol is in many circumstances advantageous, the SPI protocol itself introduces a number of disadvantageous data bus requirements and has a number of shortcomings. For example, in process control instruments, the size of the devices can be critical.
  • PCB's printed circuit boards
  • SPI protocol a separate chip select (CS) data bus line is required for each peripheral device which is to be connected to the master node.
  • CS chip select
  • Another disadvantage of the SPI protocol relates to the difficulties of adding or changing the master node or slave nodes.
  • each device which communicates on the process control instrument data bus has a predetermined address. Adding, removing or interchanging nodes requires that the bus and/or addressing be customized to accommodate the change.
  • the SPI protocol provides a number of disadvantages, particularly in data buses within process control instruments.
  • the present invention overcomes these and other disadvantages of the standard SPI communications protocol .
  • the present invention is a process control instrument having an improved data bus protocol for facilitating communications between internal master nodes or microprocessors and internal slave nodes or peripheral devices.
  • the process control instrument includes at least one microprocessor operating in accordance with the standard SPI data bus protocol, first and second peripheral devices, and a data bus coupled to the microprocessor and the first and second peripheral devices .
  • the improved data bus protocol used in the process control instruments of the present invention provides numerous advantages such as reduced printed circuit board space requirements and greater interchangeability of peripheral and master node components .
  • the improved data bus protocol has a single chip select (CS) data bus line which is coupled to the CS connections on each of the master and slave nodes.
  • the CS lines are eliminated altogether.
  • the process control instrument has a data bus with a bi- directional master-in-slave-out (MISO) line adapted to facilitate serial communications both from the peripheral devices to the microprocessor, and between the peripheral devices.
  • MISO master-in-slave-out
  • the data bus physical interconnection and protocol are adapted such that the peripheral devices can be dynamically assigned addresses for communication on the data bus .
  • Figure 1 is a diagrammatic view of a portion of a process control system having a process control instrument according to the present invention, a process pipeline, and a remote device for monitoring or controlling a process.
  • FIG. 2 is a block diagram of a preferred embodiment of the process control instrument of the present invention including master nodes operating in accordance with the SPI protocol, peripheral device slave nodes, and a data bus coupling together the master and slave nodes.
  • Figure 3 is a timing diagram illustrating the data bus protocol used in the process control instruments of the present invention.
  • Figure 4 is a diagrammatic illustration of an instruction byte structure used by the master and slave nodes of the present invention.
  • the present invention includes an improved internal data bus communication protocol for process control instruments based on the MotorolaTM Serial Peripheral Interface (SPI) .
  • the invention may be used for communication between devices or components which are connected on a data bus of the instrument .
  • the data bus is internal to the instrument.
  • the conventional or standard SPI protocol supports a master node and plural slave nodes for synchronous bidirectional serial communications.
  • Standard SPI protocol requires a separate chip select (CS) data bus line for each slave node.
  • CS chip select
  • the data bus protocol used in process control instruments of the present invention enhances the standard SPI protocol by allowing a single CS line to control multiple slave nodes, by providing an access arbitration mechanism to enable multiple slave nodes to access the data bus on their own initiative, and by adding peer-to-peer and broadcast capabilities.
  • FIG. 1 is a diagrammatic illustration of a portion of a process control system having a control room 90 coupled to a process control instrument 100 controlling or monitoring a process.
  • Control room 90 is modeled as a voltage source 92 in series with resistance 94.
  • a fluid 102 flows through a pipeline 104.
  • Process control instrument 100 which communicates with other process control instruments or with a master control unit via two-wire process control loop or circuit 106 carrying loop current I L , monitors or controls remote device 108 (such as a motor or switch) via a connection 107 in order to monitor or control the process.
  • remote device 108 can include a valve
  • process control instrument 100 includes a valve positioner as a peripheral device.
  • remote device 108 can include a pressure sensor, a temperature sensor or any of a wide variety of other remote devices known in the art used in the process control environment.
  • multiple process control instruments 100 are coupled to two-wire control loop 106 for controlling or monitoring various aspects of the process.
  • FIG. 2 is a block diagram of process control instrument showing various devices connected on a data bus 100 in accordance with preferred embodiments of the present invention.
  • process control instrument 100 includes first microprocessor 200 and second microprocessor 202. While process control instrument 100 is illustrated as having two microprocessors, it can in other embodiments have more or less than two microprocessors.
  • Microprocessors 200 and 202 are preferably Motorola or compatible microprocessors or controllers of the type available in the commercial market which are designed or adapted for use with the standard SPI protocol.
  • one of microprocessors 200 and 202 act as the system master node. The other typically acts as a peripheral device or slave node.
  • Process control instrument 100 also includes one or more of slave nodes or peripheral devices 204, 206, 208, 210 and 212.
  • the slave nodes of process control instrument 100 are typically peripheral integrated chips or devices which perform a variety of functions related to, or necessary for, controlling or monitoring the process.
  • peripheral device 204 is a communications link or circuitry for receiving and/or transmitting information and instructions over two-wire process control loop 106.
  • the devices of process control instrument 100 can receive power from a dedicated power supply 214, in some embodiments the nodes of process control instrument 100 receive power over two-wire loop 106 through communication link 204.
  • Peripheral device 206 can include an integrated chip memory device for storing programming instructions for use by the master or slave nodes, or for storing information indicative of the process conditions.
  • Peripheral device 208 can include an analog-to-digital (A/D) converter for converting information transferred between a device such as sensor 216 and other master or slave nodes.
  • Peripheral device 210 can include a digital-to-analog (D/A) converter for converting digital information or instructions so that they can be used by an analog device such as a valve positioner (controller) 218 which controls the position of valve 108 ( Figure 1) to control the process.
  • Sensor 216 may sense any system or process variable and positioner 218 may be any type of remote device used to control the process, for example.
  • Peripheral device 212 can be a display device, such as a CRT, LED or LCD, for providing graphical or other visual representations of process related information.
  • Each of the slave nodes in process control instrument 100 preferably includes an interrupt out (INT) pin or connection for generating an interrupt signal, a CS pin or connection for receiving a CS signal, a shift clock (SCK) pin or connection for receiving a synchronous clock signal, a master-out- slave-in (MOSI) pin or connection for receiving serially transmitted data from the master node, a bi-directional master-in-slave-out (MISO) pin or connection for serially transmitting and receiving data, and a slave interrupt input (SLINT) pin or connection for receiving interrupt signals.
  • INT interrupt out
  • CS CS pin or connection for receiving a CS signal
  • SCK shift clock
  • MOSI master-out- slave-in
  • MISO bi-directional master-in-slave-out
  • SLINT slave interrupt input
  • the bi-directional MISO connection on each slave node is preferably adapted for serially transmitting data from the slave node to a master node or to other slave nodes, and for receiving data transmitted from the MISO connection of other slave nodes.
  • the MOSI connection on the slave nodes can be eliminated.
  • the master node of process control instrument 100 preferably includes an interrupt SLINT input or connection for receiving interrupt signals, a CS output corresponding to the CS inputs of the slave nodes for generating CS signals, an SCK output corresponding to the SCK input of the slave nodes for generating SCK signals, a MOSI output for transmitting serial data to the MOSI inputs of the slave nodes, and a MISO input for receiving data transmitted from the MISO output connections of the slave node.
  • microprocessor 202 may include an INT output so that it may operate as a slave node. As shown in Figure 2, microprocessor 200 is configured as the master node.
  • Process control instrument 100 further includes data bus 220 coupled between the various master and slave nodes for facilitating communication between the nodes.
  • data bus 220 includes an INT line coupled to the SLINT connections of each of microprocessors 200 and 202 and to the INT connection of lowest priority slave node 204.
  • the INT and SLINT connections of the remaining slave nodes are daisy chained from the INT output connection of one slave node to the SLINT input connection of the next slave node.
  • the last slave node i.e.
  • Data bus 220 also includes a single CS line coupled to the CS output of master node microprocessor 200 and to the CS inputs of each of the slave nodes.
  • the CS signal on the CS data bus line is generated by one of the master nodes and indicates that the data bus is active. It can be used as a delimiter between messages or to indicate which data bus is active if the master node is controlling multiple data buses. Alternatively, it can be permanently tied active or can be eliminated.
  • Data bus 220 further includes an SCK line coupled to the SCK output of the master node and to the SCK input of each of the slave nodes for transmitting synchronous clock signals between the master and slave nodes. Because of the addressing and other advantages of the data bus protocol of the present invention discussed below, a single CS data bus line can be used, or the CS line can be eliminated altogether. Thus, PCB space can be reduced. Data bus 220 also includes a MOSI line coupled to the MOSI output connection of the master microprocessor and to MOSI input connections of each of the slave nodes for carrying serial data from the microprocessor to the slave nodes. If process control instrument 100 does not include a master node or microprocessor and requires only peer-to-peer communications (i.e., communications between slave nodes) , the MOSI line of data bus 220 is not required.
  • data bus 220 includes a bi- directional MISO line coupled to the MISO input/output connections of each of the slave nodes and to the MISO inputs of each of the microprocessors for carrying serial data from the slave nodes to the microprocessors and/or for carrying serial data between slave nodes.
  • the slave node MISO connections are preferably tri-state devices. In other words, the MISO connections on the slave nodes are in the high impedance state except when a single node has control of the MISO data bus line.
  • slave node 212 will initially control the MISO data bus line if it is generating an interrupt at its INT outpu .
  • Slave node 210 will initially control the MISO data bus line if it is generating an interrupt at its INT output, and if slave node 212 is not.
  • a slave node initially controls the MISO data bus line if it is generating an interrupt, and if all previous nodes in the interrupt daisy chain are not generating an interrupt. Also, control of the MISO data bus line can change as a result of the instruction transmitted on the bus.
  • the MISO data bus line bi-directional in the present invention, instead of uni-directional as is the case with standard SPI protocol data bus configurations, peer-to-peer communications between the peripheral devices is possible without increasing the number of data bus lines or physical connections.
  • the above described arbitration method also aids in facilitating bi-directional communications. If the process control instrument includes a master node, data bus control is typically performed by the master node. If the process control instrument only includes peripheral devices (i.e. , slave or peer nodes) , the data bus control function can be provided by one of -lithe slave nodes or it can be shared by multiple slave nodes. For example, the slave node with interrupt priority at the beginning of a message can assume the data bus control responsibilities for the message.
  • FIG. 3 is a timing diagram illustrating a message format or protocol used in preferred embodiments of the process control instruments of the present invention.
  • an interrupt signal (INT) originated by one of the slave nodes (and propagated through the interrupt daisy chain and onto the INT data bus line) and with the CS line held active by a master node
  • messages on the MOSI or MISO data bus lines are transmitted one bit per each cycle of the SCK signal .
  • the first byte of a message on either the MOSI or the MISO data lines is the INSTRUCTION.
  • the second byte is optionally one or more extendable address bytes EXTADR indicative of which node the message is intended for.
  • bit 5 of the INSTRUCTION byte will be set to logic level 1. If the address is fully contained in the INSTRUCTION byte, bit 5 will be set to 0 and DATA bytes will follow the INSTRUCTION byte. There is no byte count, because the message length is inherent in the INSTRUCTION BYTE.
  • Bits 6 and 7 are indicative of the command, with a 00 representing a broadcast BRCST command, a 01 representing a status condition STCND command, a 10 representing a READ command and a 11 representing a WRITE command.
  • the READ command is a request for the contents of an object in another node
  • the WRITE command is a request to change the contents of an object in another node.
  • the broadcast command transmits the value of an object to all nodes and is initiated by the device containing the object.
  • the status command transmits the status condition of a node to all other nodes.
  • the address extension AE bit (bit 5) , if set to a logical 1 value, indicates one or more extended address bytes EXTADR will follow the INSTRUCTION byte before any DATA bytes are transmitted in a message. If the AE bit is set to a logical 1, indicating the next byte is an address, bit 7 of the extended address byte indicates whether yet another extended address byte follows. If bit 7 of the extended address byte is set to a logical 1, then the next byte of the transmitted message will also be an extended address byte. If bit 7 of the extended address byte is set to a logical 0, the next byte of the message will be a DATA byte.
  • Bits 0-4 of the INSTRUCTION byte are the node/object address.
  • the instruction 00 hex (8 zeros) is reserved and is defined as an interrupt acknowledge or a no operation indicator.
  • Various embodiments of the present invention include one of three address assignment mechanisms for assigning addresses to the nodes for subsequent communication on the data bus.
  • the three address assignment mechanisms are referred to in this application as static address assignment, master dynamic address assignment and automatic peer address assignment, respectively. Any of the address assignment methods can be used, and slave nodes using any of the three methods can be mixed on the data bus. However, in all cases the nodes must either know in advance the address assignments, or each node must broadcast its address at start-up. It may be desirable for each of the nodes in the process control instrument to transmit its respective address, whether static or dynamic in nature, along with an identifier indicating what type of node it is, to all of the other nodes in the process control instrument at start-up.
  • each node has an external hard-wired address. INSTRUCTION bytes containing the address corresponding to a particular node result in the node receiving the corresponding message.
  • a node can have multiple independently addressable objects. If more than five bits are required to address all of the objects and nodes, extended address bytes can be used as discussed above. The address and extended address states can be divided between the node addresses and object addresses as required.
  • Both of the master dynamic and automatic peer address assignment mechanisms are dynamic in nature, which provides an advantage in that the process control instrument nodes can be upgraded and interchanged without physically reassigning addresses or changing the system software.
  • the master dynamic address assignment method at reset all slave nodes/objects on the bus are initialized at address zero, and all slave nodes generate an interrupt .
  • a master node or microprocessor will then assign a non-zero address to each node/object in order from the highest priority node/object to the lowest priority node/object.
  • the master node will generate the non-zero addresses and transmit the respective addresses over the data bus to the assigned nodes.
  • the initial interrupt acknowledge from the master node can have the address, included in a data field of the message, which is assigned to the node with the highest priority. As each node/object is assigned an address, it removes its interrupt request. This must be done before any other operations are carried out on the data bus. This feature provides easy interchangeability of various modules of the field instrument such as the addition or replacement of a sensor module.
  • the slave node which initially has interrupt authority assigns itself the first address.
  • the node with the highest interrupt priority which has assigned itself the first address then uses a broadcast BRCST command in the message INSTRUCTION byte to notify all of the other nodes that the first address has been assigned.
  • the next node without an address, and with the next highest interrupt priority then assigns itself the second address. Subsequently, it broadcasts a message which notifies all other nodes that the second address has been assigned.
  • the node with the highest interrupt priority and without an address assigns itself the next sequential address, and then broadcasts to the other nodes the fact that the new address has been assigned.
  • a record of the last used address can be initialized to zero at start-up.
  • any node can read a message from or write a message to any object (i.e. memory location, peripheral, etc.) of any node by issuing a READ or WRITE command message within the objects address indicated in the INSTRUCTION byte and any extended address bytes.
  • any node can indicate that a status condition exists by issuing a STCND command, with the address field of the INSTRUCTION byte indicating the object with the status condition and, optionally, with a data byte of the message containing the object value.
  • Status conditions can include data ready, data overflow, data buffer empty, or hardware and so f tware faults.
  • a node can also broadcast the value of an object with a message having a BRCST command and object address in the INSTRUCTION byte, followed by the object value in a data byte of the message.
  • a master node or microprocessor sends commands to the slave nodes using the MOSI line of the data bus.
  • Slave nodes send commands to both master and other slave nodes on the bi-directional MISO line of the data bus.
  • slave nodes can receive commands and information on both the MOSI and the MISO lines of the data bus.
  • the MISO line of the data bus will be pulled low by an active pull down by any one of the slave nodes. If a slave node needs to initiate communications on the data bus, it generates an interrupt on its INT pin or connection. If none of the slave nodes are generating an interrupt, all of the MISO output connections of the slave nodes will be in the high impedance state, indicating no messages are being sent from the slave nodes .
  • the master node can transmit on the data bus under at least two conditions. First, the master node can transmit messages on the data bus in response to an interrupt signal from a slave node. Second, the master node can transmit messages at its own discretion. When a slave node generates an interrupt, the master node will issue a command on the MOSI line of the data bus in response. As the master node is transmitting the response message on the MOSI line of the data bus, the highest priority interrupting slave node can transmit its message on the MISO line of the data bus. If the master node's response message contains an interrupt acknowledge, the interrupting node can continue to transmit its message on the MISO line of data bus. If the master node's response message on the MOSI line of the data bus is a command other than an interrupt acknowledge, the message from the slave node is aborted until the next message sequence.
  • the MOSI data bus line can be eliminated or tied inactive (i.e., tied to a low logic level state), and all messages will treated as if they contain an interrupt acknowledge.
  • the SCK signal must be generated by a device or node other than a master node.
  • the CS signal on the CS data bus line would also have to be generated by another device if no master node is present.
  • the present invention provides numerous other advantages over process control instruments having master nodes operating in accordance with the standard SPI protocol and using a standard data bus configuration.
  • One advantageous feature of some preferred embodiments of the present invention is that slave nodes can receive messages on the MISO data bus line from peer slave nodes.
  • the physical layer communications are transformed into a communications data bus scheme capable of master and/or slave node broadcast type communications, master-to-slave type communications slave-to-master type communications, and peer-to-peer slave node communications.
  • master nodes using the standard SPI protocol can address multiple slave nodes with a single CS data bus line. If all nodes on the data bus use this modified protocol, the CS line can be considered always active and therefore can be fully eliminated.
  • the present invention also includes an arbitration technique which uses physical interconnect and/or instruction interpretation to determine which of multiple slave nodes has priority and thus control of the data bus.
  • the dynamic addressing techniques used in the improved process control instrument of the present invention allow the nodes to be easily interchanged or substituted and allows the software to be more independent of the hardware configuration.
  • the bi-directional MISO data bus line of the present invention provides peer-to-peer communications between slave nodes. In process control instruments which use peer-to-peer communications ' exclusively, the MOSI data bus line can be eliminated all together.
  • microprocessor 200 acts as the master node
  • communication by a second microprocessor can be implemented in several ways.
  • the additional microprocessor can be treated as a peripheral device, in which case it would include a INT output and would be daisy chained with the other slave nodes. Then, the additional microprocessor would communicate over the bi-directional MISO line.
  • tri-state drivers can be added to the MOSI output of each microprocessor and all microprocessors can transmit over the MOSI line.

Abstract

The present invention includes a process control instrument (100) having an improved data bus protocol for facilitating communications between master and slave nodes. The process control instrument (100) includes a microprocessor (200) operating in accordance with the SPI data bus protocol, first and second peripheral devices (204, 206), and a data bus (220) coupled to the microprocessor and the first and second peripheral devices. The improved data bus protocol used in the process control instruments of the present invention provides numerous advantages such as reduced printed circuit board space requirements and greater interchangeability of peripheral and master node components.

Description

PROCESS CONTROL WITH DATA BUS PROTOCOL
BACKGROUND OF THE INVENTION The present invention relates generally to the field of process control instruments. More particularly, the present invention relates to a new data bus system and protocol for communication between master control nodes and peripheral devices in process control field instrument operating in accordance with the standard Motorola™ SPI protocol .
Process control instruments such as transmitters and controllers are used to monitor and/or control industrial processes. In some recent designs, these process control instruments include a number of internal devices or components such as a microprocessor which functions as a master node and a number of peripheral electronic devices which act as slave nodes. The peripheral electronic devices include, for example, pressure sensors for measuring process pressures, temperature sensors for measuring process temperatures, valves for controlling a process, digital-to-analog and analog-to-digital converters for converting data transferred between analog and digital devices, communication links for transmitting and receiving information over a two-wire process control loop, memory devices for storing instructions or monitored process results, and displays for providing a graphical representation of some process related information. Typically, all of these devices are internal to the instrument or in close proximity to the instrument. The instrument can include any combination of the above mentioned slave nodes (i.e., peripheral devices) . The various slave nodes in the process control instrument communicate on a data bus which connects each of the peripheral devices to the master node .
Frequently, the master node in a process control instrument is a Motorola or compatible microprocessor or microcontroller. For example, the Motorola 68HC05 and 68HC11 microcontrollers are commonly used as the master node in process control instruments. These and other microcontrollers are designed to operate in accordance with the standard Serial Peripheral Interface (SPI) bus communication protocol which is defined by Motorola in the M68HC11 Reference Manual which is hereby incorporated by reference. While use of microprocessors or microcontrollers which operate in accordance with the SPI protocol is in many circumstances advantageous, the SPI protocol itself introduces a number of disadvantageous data bus requirements and has a number of shortcomings. For example, in process control instruments, the size of the devices can be critical. Therefore, smaller printed circuit boards (PCB's) are preferred for inside the process control instrument. However, with the SPI protocol, a separate chip select (CS) data bus line is required for each peripheral device which is to be connected to the master node. In addition to requiring more PCB space for the additional CS bus lines, this requirement of the standard SPI protocol also requires additional pins on the master node chip. Another disadvantage of the SPI protocol relates to the difficulties of adding or changing the master node or slave nodes. Typically, each device which communicates on the process control instrument data bus has a predetermined address. Adding, removing or interchanging nodes requires that the bus and/or addressing be customized to accommodate the change. As illustrated above, it is apparent that the SPI protocol provides a number of disadvantages, particularly in data buses within process control instruments. The present invention overcomes these and other disadvantages of the standard SPI communications protocol .
SUMMARY OF THE INVENTION The present invention is a process control instrument having an improved data bus protocol for facilitating communications between internal master nodes or microprocessors and internal slave nodes or peripheral devices. The process control instrument includes at least one microprocessor operating in accordance with the standard SPI data bus protocol, first and second peripheral devices, and a data bus coupled to the microprocessor and the first and second peripheral devices . The improved data bus protocol used in the process control instruments of the present invention provides numerous advantages such as reduced printed circuit board space requirements and greater interchangeability of peripheral and master node components .
In some embodiments of the process control instrument of the present invention, the improved data bus protocol has a single chip select (CS) data bus line which is coupled to the CS connections on each of the master and slave nodes. In other embodiments, the CS lines are eliminated altogether. In other embodiments, the process control instrument has a data bus with a bi- directional master-in-slave-out (MISO) line adapted to facilitate serial communications both from the peripheral devices to the microprocessor, and between the peripheral devices. In still other embodiments of the process control instrument of the present invention, the data bus physical interconnection and protocol are adapted such that the peripheral devices can be dynamically assigned addresses for communication on the data bus . BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 is a diagrammatic view of a portion of a process control system having a process control instrument according to the present invention, a process pipeline, and a remote device for monitoring or controlling a process.
Figure 2 is a block diagram of a preferred embodiment of the process control instrument of the present invention including master nodes operating in accordance with the SPI protocol, peripheral device slave nodes, and a data bus coupling together the master and slave nodes.
Figure 3 is a timing diagram illustrating the data bus protocol used in the process control instruments of the present invention. Figure 4 is a diagrammatic illustration of an instruction byte structure used by the master and slave nodes of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The present invention includes an improved internal data bus communication protocol for process control instruments based on the Motorola™ Serial Peripheral Interface (SPI) . The invention may be used for communication between devices or components which are connected on a data bus of the instrument . Typically, the data bus is internal to the instrument. The conventional or standard SPI protocol supports a master node and plural slave nodes for synchronous bidirectional serial communications. Standard SPI protocol requires a separate chip select (CS) data bus line for each slave node. The data bus protocol used in process control instruments of the present invention enhances the standard SPI protocol by allowing a single CS line to control multiple slave nodes, by providing an access arbitration mechanism to enable multiple slave nodes to access the data bus on their own initiative, and by adding peer-to-peer and broadcast capabilities. Figure 1 is a diagrammatic illustration of a portion of a process control system having a control room 90 coupled to a process control instrument 100 controlling or monitoring a process. Control room 90 is modeled as a voltage source 92 in series with resistance 94. In the industrial process application illustrated, a fluid 102 flows through a pipeline 104. Process control instrument 100, which communicates with other process control instruments or with a master control unit via two-wire process control loop or circuit 106 carrying loop current IL, monitors or controls remote device 108 (such as a motor or switch) via a connection 107 in order to monitor or control the process. For example, remote device 108 can include a valve, while process control instrument 100 includes a valve positioner as a peripheral device. In the alternative, remote device 108 can include a pressure sensor, a temperature sensor or any of a wide variety of other remote devices known in the art used in the process control environment. Frequently, multiple process control instruments 100 are coupled to two-wire control loop 106 for controlling or monitoring various aspects of the process.
Figure 2 is a block diagram of process control instrument showing various devices connected on a data bus 100 in accordance with preferred embodiments of the present invention. As illustrated, process control instrument 100 includes first microprocessor 200 and second microprocessor 202. While process control instrument 100 is illustrated as having two microprocessors, it can in other embodiments have more or less than two microprocessors. Microprocessors 200 and 202 are preferably Motorola or compatible microprocessors or controllers of the type available in the commercial market which are designed or adapted for use with the standard SPI protocol. Typically, one of microprocessors 200 and 202 act as the system master node. The other typically acts as a peripheral device or slave node.
Process control instrument 100 also includes one or more of slave nodes or peripheral devices 204, 206, 208, 210 and 212. The slave nodes of process control instrument 100 are typically peripheral integrated chips or devices which perform a variety of functions related to, or necessary for, controlling or monitoring the process. For instance, peripheral device 204 is a communications link or circuitry for receiving and/or transmitting information and instructions over two-wire process control loop 106. Further, while the devices of process control instrument 100 can receive power from a dedicated power supply 214, in some embodiments the nodes of process control instrument 100 receive power over two-wire loop 106 through communication link 204.
Peripheral device 206 can include an integrated chip memory device for storing programming instructions for use by the master or slave nodes, or for storing information indicative of the process conditions. Peripheral device 208 can include an analog-to-digital (A/D) converter for converting information transferred between a device such as sensor 216 and other master or slave nodes. Peripheral device 210 can include a digital-to-analog (D/A) converter for converting digital information or instructions so that they can be used by an analog device such as a valve positioner (controller) 218 which controls the position of valve 108 (Figure 1) to control the process. Sensor 216 may sense any system or process variable and positioner 218 may be any type of remote device used to control the process, for example. Peripheral device 212 can be a display device, such as a CRT, LED or LCD, for providing graphical or other visual representations of process related information.
Each of the slave nodes in process control instrument 100 preferably includes an interrupt out (INT) pin or connection for generating an interrupt signal, a CS pin or connection for receiving a CS signal, a shift clock (SCK) pin or connection for receiving a synchronous clock signal, a master-out- slave-in (MOSI) pin or connection for receiving serially transmitted data from the master node, a bi-directional master-in-slave-out (MISO) pin or connection for serially transmitting and receiving data, and a slave interrupt input (SLINT) pin or connection for receiving interrupt signals. The bi-directional MISO connection on each slave node is preferably adapted for serially transmitting data from the slave node to a master node or to other slave nodes, and for receiving data transmitted from the MISO connection of other slave nodes. In embodiments of the present invention in which process control instrument 100 does not include a master node or microprocessor, the MOSI connection on the slave nodes can be eliminated.
The master node of process control instrument 100 preferably includes an interrupt SLINT input or connection for receiving interrupt signals, a CS output corresponding to the CS inputs of the slave nodes for generating CS signals, an SCK output corresponding to the SCK input of the slave nodes for generating SCK signals, a MOSI output for transmitting serial data to the MOSI inputs of the slave nodes, and a MISO input for receiving data transmitted from the MISO output connections of the slave node. Optionally, microprocessor 202 (or 200) may include an INT output so that it may operate as a slave node. As shown in Figure 2, microprocessor 200 is configured as the master node. Therefore, microprocessor 202 does not have CS, MOSI and SCK connections in some preferred embodiments and microprocessor 202 is configured in a monitor mode. Process control instrument 100 further includes data bus 220 coupled between the various master and slave nodes for facilitating communication between the nodes. As such, data bus 220 includes an INT line coupled to the SLINT connections of each of microprocessors 200 and 202 and to the INT connection of lowest priority slave node 204. The INT and SLINT connections of the remaining slave nodes are daisy chained from the INT output connection of one slave node to the SLINT input connection of the next slave node. The last slave node (i.e. slave node 212 as illustrated) has its SLINT input always tied low or inactive and is the highest priority slave node. The INT output of a slave node is active if that node is generating an interrupt or if its SLINT input is active which indicates that a higher priority slave node is generating an interrupt. This technique alleviates the need for any additional circuits as interconnections for arbitrating interrupts from multiple slave devices. Data bus 220 also includes a single CS line coupled to the CS output of master node microprocessor 200 and to the CS inputs of each of the slave nodes. The CS signal on the CS data bus line is generated by one of the master nodes and indicates that the data bus is active. It can be used as a delimiter between messages or to indicate which data bus is active if the master node is controlling multiple data buses. Alternatively, it can be permanently tied active or can be eliminated.
Data bus 220 further includes an SCK line coupled to the SCK output of the master node and to the SCK input of each of the slave nodes for transmitting synchronous clock signals between the master and slave nodes. Because of the addressing and other advantages of the data bus protocol of the present invention discussed below, a single CS data bus line can be used, or the CS line can be eliminated altogether. Thus, PCB space can be reduced. Data bus 220 also includes a MOSI line coupled to the MOSI output connection of the master microprocessor and to MOSI input connections of each of the slave nodes for carrying serial data from the microprocessor to the slave nodes. If process control instrument 100 does not include a master node or microprocessor and requires only peer-to-peer communications (i.e., communications between slave nodes) , the MOSI line of data bus 220 is not required.
Finally, data bus 220 includes a bi- directional MISO line coupled to the MISO input/output connections of each of the slave nodes and to the MISO inputs of each of the microprocessors for carrying serial data from the slave nodes to the microprocessors and/or for carrying serial data between slave nodes. Note that because the MISO connection on each of the slave nodes is bi-directional, the slave node MISO connections are preferably tri-state devices. In other words, the MISO connections on the slave nodes are in the high impedance state except when a single node has control of the MISO data bus line.
Initially, the slave node with highest interrupt priority has control of the MISO data bus line. The highest priority node that is generating an interrupt and that has an inactive SLINT input has interrupt priority. In Figure 2, slave node 212 will initially control the MISO data bus line if it is generating an interrupt at its INT outpu . Slave node 210 will initially control the MISO data bus line if it is generating an interrupt at its INT output, and if slave node 212 is not. In general, a slave node initially controls the MISO data bus line if it is generating an interrupt, and if all previous nodes in the interrupt daisy chain are not generating an interrupt. Also, control of the MISO data bus line can change as a result of the instruction transmitted on the bus. By making the MISO data bus line bi-directional in the present invention, instead of uni-directional as is the case with standard SPI protocol data bus configurations, peer-to-peer communications between the peripheral devices is possible without increasing the number of data bus lines or physical connections. The above described arbitration method also aids in facilitating bi-directional communications. If the process control instrument includes a master node, data bus control is typically performed by the master node. If the process control instrument only includes peripheral devices (i.e. , slave or peer nodes) , the data bus control function can be provided by one of -lithe slave nodes or it can be shared by multiple slave nodes. For example, the slave node with interrupt priority at the beginning of a message can assume the data bus control responsibilities for the message. Figure 3 is a timing diagram illustrating a message format or protocol used in preferred embodiments of the process control instruments of the present invention. Witn an interrupt signal (INT) originated by one of the slave nodes (and propagated through the interrupt daisy chain and onto the INT data bus line) and with the CS line held active by a master node, messages on the MOSI or MISO data bus lines are transmitted one bit per each cycle of the SCK signal . As can be seen in the timing diagram of Figure 3, the first byte of a message on either the MOSI or the MISO data lines is the INSTRUCTION. The second byte is optionally one or more extendable address bytes EXTADR indicative of which node the message is intended for. Potentially, multiple extended address bytes can follow the first extended address byte if needed. These bytes are followed by zero or more data bytes. If one or more address byte extensions are used, bit 5 of the INSTRUCTION byte will be set to logic level 1. If the address is fully contained in the INSTRUCTION byte, bit 5 will be set to 0 and DATA bytes will follow the INSTRUCTION byte. There is no byte count, because the message length is inherent in the INSTRUCTION BYTE.
The structure of the INSTRUCTION byte of the MOSI or MISO messages illustrated in Figure 3 is shown in greater detail in Figure 4. Bits 6 and 7 are indicative of the command, with a 00 representing a broadcast BRCST command, a 01 representing a status condition STCND command, a 10 representing a READ command and a 11 representing a WRITE command. The READ command is a request for the contents of an object in another node, and the WRITE command is a request to change the contents of an object in another node. The broadcast command transmits the value of an object to all nodes and is initiated by the device containing the object. The status command transmits the status condition of a node to all other nodes.
The address extension AE bit (bit 5) , if set to a logical 1 value, indicates one or more extended address bytes EXTADR will follow the INSTRUCTION byte before any DATA bytes are transmitted in a message. If the AE bit is set to a logical 1, indicating the next byte is an address, bit 7 of the extended address byte indicates whether yet another extended address byte follows. If bit 7 of the extended address byte is set to a logical 1, then the next byte of the transmitted message will also be an extended address byte. If bit 7 of the extended address byte is set to a logical 0, the next byte of the message will be a DATA byte. In this manner, address lengths of any number of bytes can be used without modifying the data bus, the components or the programming. This feature of the present invention increases the ease in which nodes can be added or interchanged. Bits 0-4 of the INSTRUCTION byte are the node/object address. The instruction 00 hex (8 zeros) is reserved and is defined as an interrupt acknowledge or a no operation indicator.
Various embodiments of the present invention include one of three address assignment mechanisms for assigning addresses to the nodes for subsequent communication on the data bus. The three address assignment mechanisms are referred to in this application as static address assignment, master dynamic address assignment and automatic peer address assignment, respectively. Any of the address assignment methods can be used, and slave nodes using any of the three methods can be mixed on the data bus. However, in all cases the nodes must either know in advance the address assignments, or each node must broadcast its address at start-up. It may be desirable for each of the nodes in the process control instrument to transmit its respective address, whether static or dynamic in nature, along with an identifier indicating what type of node it is, to all of the other nodes in the process control instrument at start-up.
In the static address assignment method, each node has an external hard-wired address. INSTRUCTION bytes containing the address corresponding to a particular node result in the node receiving the corresponding message. A node can have multiple independently addressable objects. If more than five bits are required to address all of the objects and nodes, extended address bytes can be used as discussed above. The address and extended address states can be divided between the node addresses and object addresses as required.
Both of the master dynamic and automatic peer address assignment mechanisms are dynamic in nature, which provides an advantage in that the process control instrument nodes can be upgraded and interchanged without physically reassigning addresses or changing the system software. In the master dynamic address assignment method, at reset all slave nodes/objects on the bus are initialized at address zero, and all slave nodes generate an interrupt . A master node or microprocessor will then assign a non-zero address to each node/object in order from the highest priority node/object to the lowest priority node/object. Generally, the master node will generate the non-zero addresses and transmit the respective addresses over the data bus to the assigned nodes. For example, the initial interrupt acknowledge from the master node can have the address, included in a data field of the message, which is assigned to the node with the highest priority. As each node/object is assigned an address, it removes its interrupt request. This must be done before any other operations are carried out on the data bus. This feature provides easy interchangeability of various modules of the field instrument such as the addition or replacement of a sensor module.
In the automatic peer address assignment method, the slave node which initially has interrupt authority assigns itself the first address. The node with the highest interrupt priority which has assigned itself the first address then uses a broadcast BRCST command in the message INSTRUCTION byte to notify all of the other nodes that the first address has been assigned. The next node without an address, and with the next highest interrupt priority, then assigns itself the second address. Subsequently, it broadcasts a message which notifies all other nodes that the second address has been assigned. In general, the node with the highest interrupt priority and without an address assigns itself the next sequential address, and then broadcasts to the other nodes the fact that the new address has been assigned. As stored in slave node 206 or in other memory, a record of the last used address can be initialized to zero at start-up.
In preferred embodiments of the process control instrument of the present invention, any node can read a message from or write a message to any object (i.e. memory location, peripheral, etc.) of any node by issuing a READ or WRITE command message within the objects address indicated in the INSTRUCTION byte and any extended address bytes. Also, any node can indicate that a status condition exists by issuing a STCND command, with the address field of the INSTRUCTION byte indicating the object with the status condition and, optionally, with a data byte of the message containing the object value. Status conditions can include data ready, data overflow, data buffer empty, or hardware and software faults. A node can also broadcast the value of an object with a message having a BRCST command and object address in the INSTRUCTION byte, followed by the object value in a data byte of the message.
A master node or microprocessor sends commands to the slave nodes using the MOSI line of the data bus. Slave nodes send commands to both master and other slave nodes on the bi-directional MISO line of the data bus. Thus, slave nodes can receive commands and information on both the MOSI and the MISO lines of the data bus. The MISO line of the data bus will be pulled low by an active pull down by any one of the slave nodes. If a slave node needs to initiate communications on the data bus, it generates an interrupt on its INT pin or connection. If none of the slave nodes are generating an interrupt, all of the MISO output connections of the slave nodes will be in the high impedance state, indicating no messages are being sent from the slave nodes .
The master node can transmit on the data bus under at least two conditions. First, the master node can transmit messages on the data bus in response to an interrupt signal from a slave node. Second, the master node can transmit messages at its own discretion. When a slave node generates an interrupt, the master node will issue a command on the MOSI line of the data bus in response. As the master node is transmitting the response message on the MOSI line of the data bus, the highest priority interrupting slave node can transmit its message on the MISO line of the data bus. If the master node's response message contains an interrupt acknowledge, the interrupting node can continue to transmit its message on the MISO line of data bus. If the master node's response message on the MOSI line of the data bus is a command other than an interrupt acknowledge, the message from the slave node is aborted until the next message sequence.
In embodiments of the present invention in which the process control instrument does not include a master node, the MOSI data bus line can be eliminated or tied inactive (i.e., tied to a low logic level state), and all messages will treated as if they contain an interrupt acknowledge. In this case, the SCK signal must be generated by a device or node other than a master node. Further, if required at all, the CS signal on the CS data bus line would also have to be generated by another device if no master node is present.
The present invention provides numerous other advantages over process control instruments having master nodes operating in accordance with the standard SPI protocol and using a standard data bus configuration. One advantageous feature of some preferred embodiments of the present invention is that slave nodes can receive messages on the MISO data bus line from peer slave nodes. The physical layer communications are transformed into a communications data bus scheme capable of master and/or slave node broadcast type communications, master-to-slave type communications slave-to-master type communications, and peer-to-peer slave node communications. Using the modified data bus features and physical connections, master nodes using the standard SPI protocol can address multiple slave nodes with a single CS data bus line. If all nodes on the data bus use this modified protocol, the CS line can be considered always active and therefore can be fully eliminated.
The present invention also includes an arbitration technique which uses physical interconnect and/or instruction interpretation to determine which of multiple slave nodes has priority and thus control of the data bus. Further, the dynamic addressing techniques used in the improved process control instrument of the present invention allow the nodes to be easily interchanged or substituted and allows the software to be more independent of the hardware configuration. Also, the bi-directional MISO data bus line of the present invention provides peer-to-peer communications between slave nodes. In process control instruments which use peer-to-peer communications ' exclusively, the MOSI data bus line can be eliminated all together. Other benefits of the enhanced SPI protocol and data bus configuration of the present invention include reduced integrated chip pin counts and PCB interconnections which lead to a reduction in cost and physical size, the ability to use existing microprocessors which operate on standard SPI protocol, and the fact that microprocessor loading can be reduced via the availability of broadcast and peer-to-peer communications capabilities so that communication between slave nodes does not have to be routed through the microprocessor.
Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention. It will be understood that the present invention may be implemented in any type of process control instrument. Further, various functional blocks may be implemented using any appropriate hardware, software, or firmware technique or their combination. Other minor design changes are also possible. For example, in embodiments in which microprocessor 200 acts as the master node, communication by a second microprocessor (i.e., microprocessor 202) can be implemented in several ways. The additional microprocessor can be treated as a peripheral device, in which case it would include a INT output and would be daisy chained with the other slave nodes. Then, the additional microprocessor would communicate over the bi-directional MISO line. In the alternative, tri-state drivers can be added to the MOSI output of each microprocessor and all microprocessors can transmit over the MOSI line.

Claims

WHAT IS CLAIMED IS:
1. A process control instrument comprising: a microprocessor operating in accordance with the SPI data bus protocol; a first peripheral device; a second peripheral device; and a data bus coupled to the microprocessor, to the first peripheral device, and to the second peripheral device, wherein the data bus includes a single chip select line coupled to chip select connections on each of the microprocessor, the first peripheral device and the second peripheral device.
2. The process control instrument of claim 1, wherein the microprocessor generates a signal on the single chip select line of the data bus to notify the first and second peripheral devices that the data bus is active .
3. The process control instrument of claim 1, wherein the data bus further includes a bi-directional master-in-slave-out (MISO) line coupled to the microprocessor, the first peripheral device and the second peripheral device.
4. The process control instrument of claim 3 , wherein the first peripheral device transmits messages to the second peripheral device on the bi-directional MISO line.
5. The process control instrument of claim 1, and further comprising means for dynamically assigning addresses to the first and second peripheral devices for use in communicating on the data bus.
6. A process control instrument comprising: a microprocessor operating in accordance with the SPI protocol; a first peripheral device; a second peripheral device; and a data bus coupled to the microprocessor, to the first peripheral device and to the second peripheral device, wherein the data bus includes a bi-directional Master-In-Slave-Out (MISO) line coupled to MISO connections on each of the microprocessor, the first peripheral device and the second peripheral device .
7. The process control instrument of claim 6, wherein the bi-directional MISO line is adapted to carry serial data both from the first and second peripheral devices to the microprocessor, and between the first and second peripheral devices.
8. The process control instrument of claim 7 and further comprising a third peripheral device having a MISO connection coupled to the bi-directional MISO line of the data bus, wherein the first peripheral device broadcasts messages to both of the second and third peripheral devices simultaneously over the bidirectional MISO line.
9. The process control instrument of claim 7 and further comprising means for dynamically assigning addresses to each of the first and second peripheral devices for use in receiving messages over the data bus.
10. The process control instrument of claim 9, wherein each of the first and second peripheral devices has a priority associated therewith, wherein the one of the first and second peripheral devices having a higher priority assigns itself a first address and subsequently broadcasts the first address over the bi-directional MISO line to the microprocessor and to the other of the first and second peripheral devices having a lower priority.
11. The process control instrument of claim 10, wherein after the one of the first and second peripheral devices broadcasts the first address, the other of the first and second peripheral devices assigns itself a second address and subsequently broadcasts the second address over the bi-directional MISO line to the microprocessor and to the one of the first and second peripheral devices .
12. The process control instrument of claim 9, wherein each of the first and second peripheral devices includes interrupt generating circuits for generating interrupts, wherein the means for dynamically assigning addresses comprises : an interrupt detection circuit associated with the microprocessor for detecting a first interrupt generated by one of the first and second peripheral devices on the data bus; an address generating circuit associated with the microprocessor for generating a first address; and an address transmitting circuit associated with the microprocessor for transmitting over the data bus the first address to the one of the first and second peripheral devices which generated the first interrupt and thereby assigning the first address to the one of the first and second peripheral devices which generated the first interrupt.
13. The process control instrument of claim 7, wherein the data bus includes a single chip select line coupled to chip select connections on each of the microprocessor, the first peripheral device and the second peripheral device.
14. A process control instrument, comprising: a first slave node; a second slave node; and a master node, wherein the master node is coupled to the first and second slave nodes by a data bus, wherein the master node comprises: an interrupt detection circuit for detecting a first interrupt generated by one of the first and second slave nodes on the data bus; an address generating circuit for generating a first address; and an address transmitting circuit for transmitting over the data bus the first address to the one of the first and second slave nodes which generated the first interrupt and thereby assigning the first address to the one of the first and second slave nodes which generated the first interrupt.
15. The process control instrument of claim 14, wherein the master node further comprises: an interrupt detection circuit for detecting a second interrupt generated by the other of the first and second slave nodes on the data bus; an address generating circuit for generating a second address; and an address transmitting circuit for transmitting over the data bus the second address to the other of the first and second slave nodes which generated the second interrupt and thereby assigning the second address to the other of the first and second slave nodes which generated the second interrupt .
16. A process control instrument, comprising: a data bus; a plurality of peripheral devices coupled to the data bus, wherein each of the plurality of peripheral devices has a peripheral priority associated therewith; means for determining which one of the plurality of peripheral devices without an address assigned thereto has the highest peripheral priority; and means for assigning an address to the one of the plurality of peripheral devices without an address assigned thereto which has the highest peripheral priority.
17. The process control instrument of claim 16 wherein the means for assigning includes a circuit for transmitting over the data bus the assigned address to the one of the plurality of peripheral devices without an address assigned thereto which has the highest peripheral priority.
18. A method of dynamically assigning addresses to peripheral devices in a process control instrument, wherein each of the peripheral devices has a peripheral priority associated therewith, the method comprising: determining which of the peripheral devices without an address assigned thereto has the highest peripheral priority associated therewith; assigning an address to the peripheral device without an address assigned thereto which has the highest peripheral priority associated therewith; and transmitting over a data bus the assigned address to the peripheral device without an address assigned thereto which has the highest peripheral priority associated therewith.
19. The method of claim 18 and further comprising sequentially repeating the steps of determining, assigning and transmitting until each peripheral device of the process control instrument has an address assigned thereto.
20. A method of dynamically assigning addresses to a plurality of slave nodes coupled by a data bus to a master node operating in accordance with the SPI data bus protocol, wherein each of the plurality of slave nodes has a priority associated therewith, the method comprising: determining which of the plurality of slave nodes without an address assigned thereto has the highest priority associated therewith; assigning an address to the slave node without an address assigned thereto which has the highest priority associated therewith; and transmitting over the data bus the assigned address to the slave node without an address assigned thereto which has the highest priority associated therewith.
21. A system comprising: a microprocessor operating in accordance with the SPI protocol; a first peripheral device; a second peripheral device; a data bus coupled to the microprocessor, to the first peripheral device and to the second peripheral device; and means for dynamically assigning addresses to each of the first and second peripheral devices for use in receiving messages over the data bus .
22. The system of claim 21, wherein each of the first and second peripheral devices has a priority associated therewith, wherein the means for dynamically assigning addresses includes means for the one of the first and second peripheral devices having a higher priority to assign itself a first address and subsequently broadcast the first address over the data bus to the microprocessor and to the other of the first and second peripheral devices having a lower priority.
23. A method of communicating on a data bus in a process control instrument, comprising: generating a chip select signal on a single chip select line of the data bus coupled to chip select inputs of each of first and second peripheral devices, wherein the chip select signal is generated by a microprocessor operating in accordance with the SPI data bus protocol to indicate that the data bus is active; and transmitting data from one of the microprocessor, the first peripheral device and the second peripheral device over the data bus while the chip select signal is generated on the single chip select line coupled to chip select inputs of each of first and second peripheral devices.
24. The method of claim 23, wherein transmitting data further comprises : transmitting data from the microprocessor to one of the first and second peripheral devices over a master-out-slave-in (MOSI) line of the data bus while the chip select signal is generated on the single chip select line coupled to chip select inputs of each of first and second peripheral devices .
25. The method of claim 23, wherein transmitting data further comprises: transmitting data from one of the first and second peripheral devices to one of the microprocessor and the other of the first and second peripheral devices over a master-in-slave-out (MISO) line of the data bus while the chip select signal is generated on the single chip select line coupled to chip select inputs of each of first and second peripheral devices .
26. A method of communicating on a data bus between first and second peripheral devices in a process control instrument, the method comprising: transmitting data from a bi-directional master-in-slave-out (MISO) connection on the first peripheral device over a bidirectional MISO line on the data bus; and receiving the data transmitted from the bidirectional MISO connection on the first peripheral device at a bi-directional MISO connection on the second peripheral device .
PCT/US1997/017009 1996-09-30 1997-09-23 Process control with data bus protocol WO1998014850A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP97942672A EP0864122B1 (en) 1996-09-30 1997-09-23 Process control with data bus protocol
DE69728644T DE69728644T2 (en) 1996-09-30 1997-09-23 PROCESS CONTROL WITH DATA BUS PROTOCOL

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/723,688 US5928345A (en) 1996-09-30 1996-09-30 Field instrument with data bus communications protocol
US08/723,688 1996-09-30

Publications (1)

Publication Number Publication Date
WO1998014850A1 true WO1998014850A1 (en) 1998-04-09

Family

ID=24907275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1997/017009 WO1998014850A1 (en) 1996-09-30 1997-09-23 Process control with data bus protocol

Country Status (6)

Country Link
US (1) US5928345A (en)
EP (2) EP0864122B1 (en)
CN (1) CN1173239C (en)
CA (1) CA2238494A1 (en)
DE (2) DE69735555T2 (en)
WO (1) WO1998014850A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012110541A1 (en) * 2011-02-18 2012-08-23 Continental Automotive Gmbh Method for transmitting data via a synchronous serial databus
WO2016046361A1 (en) * 2014-09-26 2016-03-31 Valeo Systemes Thermiques Transmission of synchronous data via a serial data bus, in particular a spi bus

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0825506B1 (en) 1996-08-20 2013-03-06 Invensys Systems, Inc. Methods and apparatus for remote process control
FR2775091B1 (en) * 1998-02-16 2000-04-28 Matra Communication METHOD FOR TRANSFERRING DATA IN SERIES, AND SYNCHRONOUS SERIAL BUS INTERFACE IMPLEMENTING SUCH A METHOD
US6128659A (en) * 1998-02-24 2000-10-03 Nokia Telecommunications, Oy Method and apparatus for resolving dynamic channel assignment conflict in AAL2 negotiation procedure
US6691183B1 (en) 1998-05-20 2004-02-10 Invensys Systems, Inc. Second transfer logic causing a first transfer logic to check a data ready bit prior to each of multibit transfer of a continous transfer operation
US6496487B2 (en) * 1998-11-05 2002-12-17 Visteon Global Technologies, Inc. Efficient full duplex simultaneous message transfer
US7089530B1 (en) 1999-05-17 2006-08-08 Invensys Systems, Inc. Process control configuration system with connection validation and configuration
WO2000070531A2 (en) 1999-05-17 2000-11-23 The Foxboro Company Methods and apparatus for control configuration
US6788980B1 (en) 1999-06-11 2004-09-07 Invensys Systems, Inc. Methods and apparatus for control using control devices that provide a virtual machine environment and that communicate via an IP network
DE10110223B4 (en) * 2000-03-10 2020-03-05 Sew-Eurodrive Gmbh & Co Kg Procedure for operation with a converter and converter
US6804232B1 (en) 2000-03-27 2004-10-12 Bbnt Solutions Llc Personal area network with automatic attachment and detachment
US20020184348A1 (en) * 2000-09-20 2002-12-05 Lockheed Martin Corporation Object oriented framework architecture for sensing and/or control environments
WO2002025387A2 (en) * 2000-09-20 2002-03-28 Lockheed Martin Corporation Object oriented framework architecture for sensing and/or control environments
US7164966B2 (en) * 2001-07-18 2007-01-16 Lancer Partnership, Ltd. Intelligent volumetric module for drink dispenser
US6928501B2 (en) * 2001-10-15 2005-08-09 Silicon Laboratories, Inc. Serial device daisy chaining method and apparatus
US20030217324A1 (en) * 2001-11-07 2003-11-20 Nielsen Peter Ostergaard System and method for communicating between a number of elements and a method for configuring and testing the system
US7487509B2 (en) 2002-08-08 2009-02-03 Sun Microsystems, Inc. System and method for providing multiple embodiments of abstract software modules in peer-to-peer network environments
US7533161B2 (en) 2002-08-08 2009-05-12 Sun Microsystems, Inc. System and method for multiplatform implementation of abstract software modules in peer-to-peer network environments
DE10336807B4 (en) * 2003-08-11 2010-12-09 Palm, Inc. (n.d.Ges. d. Staates Delaware), Sunnyvale Method and device for extending the functionality of a serial interface and a mobile device using the method and a mobile device comprising the device
FI119862B (en) * 2003-09-30 2009-04-15 Vacon Oyj Controllers for parallel operation of inverters or inverters
US7765269B2 (en) * 2003-11-05 2010-07-27 Renesas Technology Corporation Communications system, and information processing device and control device incorporating said communications system
JP4141373B2 (en) 2003-11-05 2008-08-27 株式会社日立製作所 COMMUNICATION SYSTEM, REAL TIME CONTROL DEVICE AND INFORMATION PROCESSING SYSTEM
US7761923B2 (en) 2004-03-01 2010-07-20 Invensys Systems, Inc. Process control methods and apparatus for intrusion detection, protection and network hardening
US7461130B1 (en) * 2004-11-24 2008-12-02 Sun Microsystems, Inc. Method and apparatus for self-organizing node groups on a network
CN1320471C (en) * 2004-11-30 2007-06-06 北京中星微电子有限公司 Half duplex series communication bus external device interface
US20070055259A1 (en) * 2005-08-17 2007-03-08 Norton Britt K Apparatus and methods for removal of intervertebral disc tissues
US7860857B2 (en) 2006-03-30 2010-12-28 Invensys Systems, Inc. Digital data processing apparatus and methods for improving plant performance
US7899785B2 (en) * 2007-07-31 2011-03-01 Oracle International Corporation Reconfiguring propagation streams in distributed information sharing
US7702741B2 (en) * 2007-07-31 2010-04-20 Oracle International Corporation Configuring or reconfiguring a multi-master information sharing environment
WO2009074708A1 (en) * 2007-10-11 2009-06-18 Euroelektro International Oy Use of a smart camera for controlling an industrial ac drive
US8060681B2 (en) * 2007-11-27 2011-11-15 Microsoft Corporation Interface protocol and API for a wireless transceiver
TWI355822B (en) * 2007-12-20 2012-01-01 Realtek Semiconductor Corp Circuit and method for setting data and their appl
CN102124432B (en) 2008-06-20 2014-11-26 因文西斯系统公司 Systems and methods for immersive interaction with actual and/or simulated facilities for process, environmental and industrial control
US8463964B2 (en) 2009-05-29 2013-06-11 Invensys Systems, Inc. Methods and apparatus for control configuration with enhanced change-tracking
US8127060B2 (en) 2009-05-29 2012-02-28 Invensys Systems, Inc Methods and apparatus for control configuration with control objects that are fieldbus protocol-aware
US8195857B2 (en) * 2009-12-18 2012-06-05 Infineon Technologies Ag Coupling devices, system comprising a coupling device and method for use in a system comprising a coupling device
WO2013045174A1 (en) * 2011-08-18 2013-04-04 Abb Technology Ag Distributing data in a control system of a power converter
CN102724389B (en) * 2011-11-15 2017-06-13 新奥特(北京)视频技术有限公司 A kind of monitor output intent between same platform NLE system
US8943250B2 (en) * 2012-08-20 2015-01-27 General Electric Systems and methods for concatenating multiple devices
JP6210187B2 (en) * 2012-10-23 2017-10-11 セイコーエプソン株式会社 Integrated circuit device, physical quantity measuring device, electronic device, and moving object
DE102013010277A1 (en) * 2013-06-19 2014-12-24 Giesecke & Devrient Gmbh Method for initiating a data transmission
US9710422B2 (en) * 2014-12-15 2017-07-18 Intel Corporation Low cost low overhead serial interface for power management and other ICs
JP6213538B2 (en) * 2015-09-24 2017-10-18 横河電機株式会社 Signal processing circuit
CN108702314A (en) * 2015-12-31 2018-10-23 布洛克斯服饰股份有限公司 Modular communication frame
CN107145460B (en) * 2017-04-13 2020-07-07 上海云统信息科技有限公司 Expandable serial bus system and communication method thereof
US10320407B1 (en) * 2018-02-06 2019-06-11 Analog Devices Global Unlimited Company Low power synchronization of multiple analog to digital converters
TWI705335B (en) * 2018-10-15 2020-09-21 新唐科技股份有限公司 Integrated circuit, bus system and detecting method thereof
DE102019126668A1 (en) * 2019-10-02 2021-04-08 Phoenix Contact Gmbh & Co. Kg INPUT / OUTPUT UNIT FOR DATA ACQUISITION IN A FIELDBUS SYSTEM

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5072374A (en) * 1989-11-07 1991-12-10 Ge Fanuc Automation North America, Inc. Method for communicating among a plurality of programmable logic controllers each having a dma controller
EP0246666B1 (en) * 1986-05-22 1994-05-04 Chrysler Corporation Serial data bus for different modes of operation (SCI, SPI and buffered SPI) and methods for a serial peripheral interface in a serial data bus
EP0383827B1 (en) * 1987-10-22 1995-02-22 Rosemount Inc. Transmitter with internal serial bus
US5481456A (en) * 1990-09-04 1996-01-02 Fuji Jukogyo Kabushiki Kaisha Electronic control system having master/slave CPUs for a motor vehicle
US5485400A (en) * 1989-10-02 1996-01-16 Rosemount Inc. Field-mounted control unit
EP0237839B1 (en) * 1986-02-24 1996-08-28 Chrysler Corporation Serial data bus for intermodule data communications and method of data arbitration and collision detection on a data bus

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4360870A (en) * 1980-07-30 1982-11-23 International Business Machines Corporation Programmable I/O device identification
US4564899A (en) * 1982-09-28 1986-01-14 Elxsi I/O Channel bus
US4831358A (en) * 1982-12-21 1989-05-16 Texas Instruments Incorporated Communications system employing control line minimization
CA1242283A (en) * 1984-11-30 1988-09-20 Ikio Yoshida Serial interface system flexibly applicable to a one- to-plurality connection
US4661902A (en) * 1985-03-21 1987-04-28 Apple Computer, Inc. Local area network with carrier sense collision avoidance
US5023778A (en) * 1990-03-23 1991-06-11 General Motors Corporation Interprocessor communication method
US5150464A (en) * 1990-06-06 1992-09-22 Apple Computer, Inc. Local area network device startup process
US5270898A (en) * 1990-12-28 1993-12-14 Westinghouse Electric Corp. Sure chip plus
US5276442A (en) * 1991-02-22 1994-01-04 Ericsson Ge Mobile Communications Inc. Dynamic address allocation within RF trunking multisite switch
US5630152A (en) * 1992-05-18 1997-05-13 Motorola, Inc. Communication protocol between master and slave device with register information sharing
US5586272A (en) * 1993-10-28 1996-12-17 Digital Equipment Corporation Asynchronous data transfers among a plurality of computer devices
US5764928A (en) * 1994-09-30 1998-06-09 Rosemount Inc. Microprocessor communication protocol in a multiprocessor transmitter
US5564114A (en) * 1995-01-09 1996-10-08 Cirrus Logic Inc. Method and an arrangement for handshaking on a bus to transfer information between devices in a computer system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0237839B1 (en) * 1986-02-24 1996-08-28 Chrysler Corporation Serial data bus for intermodule data communications and method of data arbitration and collision detection on a data bus
EP0246666B1 (en) * 1986-05-22 1994-05-04 Chrysler Corporation Serial data bus for different modes of operation (SCI, SPI and buffered SPI) and methods for a serial peripheral interface in a serial data bus
EP0383827B1 (en) * 1987-10-22 1995-02-22 Rosemount Inc. Transmitter with internal serial bus
US5485400A (en) * 1989-10-02 1996-01-16 Rosemount Inc. Field-mounted control unit
US5072374A (en) * 1989-11-07 1991-12-10 Ge Fanuc Automation North America, Inc. Method for communicating among a plurality of programmable logic controllers each having a dma controller
US5481456A (en) * 1990-09-04 1996-01-02 Fuji Jukogyo Kabushiki Kaisha Electronic control system having master/slave CPUs for a motor vehicle

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WOLF V: "DATENAKQUISITION MIT DEM SPI-BUS", 26 June 1987, ELEKTRONIK, VOL. 36, NR. 13, PAGE(S) 96 - 98, 100, XP000037972 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012110541A1 (en) * 2011-02-18 2012-08-23 Continental Automotive Gmbh Method for transmitting data via a synchronous serial databus
WO2016046361A1 (en) * 2014-09-26 2016-03-31 Valeo Systemes Thermiques Transmission of synchronous data via a serial data bus, in particular a spi bus
FR3026515A1 (en) * 2014-09-26 2016-04-01 Valeo Systemes Thermiques TRANSMITTING SYNCHRONOUS DATA THROUGH A SERIAL DATA BUS, IN PARTICULAR A SPI BUS
US20170277652A1 (en) * 2014-09-26 2017-09-28 Valeo Systemes Thermiques Transmission of synchronous data via a serial data bus, in particular a spi bus
US11106619B2 (en) 2014-09-26 2021-08-31 Valeo Systemes Thermiques Transmission of synchronous data via a serial data bus, in particular a SPI bus

Also Published As

Publication number Publication date
US5928345A (en) 1999-07-27
DE69735555T2 (en) 2007-01-18
EP0864122A1 (en) 1998-09-16
CN1173239C (en) 2004-10-27
CA2238494A1 (en) 1998-04-09
DE69735555D1 (en) 2006-05-18
EP0864122B1 (en) 2004-04-14
EP1227381A1 (en) 2002-07-31
DE69728644D1 (en) 2004-05-19
DE69728644T2 (en) 2005-05-25
CN1200818A (en) 1998-12-02
EP1227381B1 (en) 2006-03-29

Similar Documents

Publication Publication Date Title
US5928345A (en) Field instrument with data bus communications protocol
US6629172B1 (en) Multi-chip addressing for the I2C bus
US6339806B1 (en) Primary bus to secondary bus multiplexing for I2C and other serial buses
JP6359955B2 (en) Serial communication system, communication control device, and electronic device
WO2005106689A1 (en) Bus system for selectively controlling a plurality of identical slave circuits connected to the bus and method therefore
US7934034B2 (en) Simultaneous control of multiple I/O banks in an I2C slave device
WO2009022301A2 (en) 12c-bus interface with parallel operational mode
US10936524B2 (en) Bus system with slave devices
EP0589499B1 (en) A multistation communication bus system, and a master station and a slave station for use in such system
KR100309082B1 (en) Multistation communication bus system, main station and slave station
JP2994589B2 (en) Electronic wiring system by cyclic automatic communication
US20040019816A1 (en) Three wire communication protocol
KR100787054B1 (en) Control System for Same Address Device Using I2C Protocol
WO2005083577A2 (en) Integrated circuit with two different bus control units
JP2004510228A (en) Integrated circuit with programmable address in I2C environment
CN114996184A (en) Compatible implementation of SPI or I 2 Interface module of C slave machine and data transmission method
JPH07253946A (en) Electronic device of motor vehicle
CN114556316A (en) Input/output unit for data acquisition in a field bus system
US7958290B2 (en) Serial bit ordering of non-synchronous bus signals
JPH09319699A (en) Bus system
EP0924899A1 (en) Circuit arrangement for a synchronized interchange of data between different locally dedicated signal sources
WO2021125452A1 (en) Plc analog module comprising hart pass-through interface
CN102541789A (en) Serial communication system and control method thereof
RU2260835C2 (en) Extensible automatic system
KR0150032B1 (en) Bus transaction mapping device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 97191236.X

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): BR CA CN SG

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 1997942672

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2238494

Country of ref document: CA

Ref document number: 2238494

Country of ref document: CA

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 1997942672

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1997942672

Country of ref document: EP