WO2005062140A2 - Method and system for automated configuring of a hart multi-drop system - Google Patents

Method and system for automated configuring of a hart multi-drop system Download PDF

Info

Publication number
WO2005062140A2
WO2005062140A2 PCT/EP2004/014618 EP2004014618W WO2005062140A2 WO 2005062140 A2 WO2005062140 A2 WO 2005062140A2 EP 2004014618 W EP2004014618 W EP 2004014618W WO 2005062140 A2 WO2005062140 A2 WO 2005062140A2
Authority
WO
WIPO (PCT)
Prior art keywords
slave devices
slave
address
hart
master device
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/EP2004/014618
Other languages
French (fr)
Other versions
WO2005062140A3 (en
Inventor
Ralf Schaetzle
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vega Grieshaber KG
Original Assignee
Vega Grieshaber KG
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 Vega Grieshaber KG filed Critical Vega Grieshaber KG
Priority to EP04804214A priority Critical patent/EP1697802B1/en
Priority to US10/582,808 priority patent/US20080040515A1/en
Priority to DE602004032381T priority patent/DE602004032381D1/en
Publication of WO2005062140A2 publication Critical patent/WO2005062140A2/en
Publication of WO2005062140A3 publication Critical patent/WO2005062140A3/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Program 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
    • G05B19/00Program-control systems
    • G05B19/02Program-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] or 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] or 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/25428Field device
    • 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 to a method of automatically configuring a so-called HART multidrop system, comprising a master device and a plurality of slave devices connected to the at least one master device. Moreover, the present invention relates to a HART multidrop system customized for the implementation of the method according to the present invention.
  • a HART multidrop system basically consists of one or two master devices and a plurality of slave devices connected to the at least one master device.
  • the slave devices are also referred to as field devices and can comprise various sensors, actuators or other devices, such as a handheld device.
  • such slave devices are filling level sensors, pressure or temperature sensors or flow-through sensors.
  • the slave devices are connected to the at least one master device through a so-called 4 to 20 mA two-wire loop.
  • the communication between the master device and the slave devices is carried out using the well-known HART protocol.
  • HART protocol particular reference is made to the publication "HART-field Communications Pro'tocol, A Technical Overview (Second Edition), Romilly Bowden, September 2003, Emerson Process
  • a master device In a HART multidrop system, a master device usually takes care of the energy supply of the slave devices, and communication with the connected slave devices is carried out through the master device.
  • Slave devices for a HART system are usually adapted in such a way that they can be operated with a maximum feed current of 20 mA. This is the maximum current which can be supplied by a master device when the communication between the master device and a slave device is analog, i.e. when the current fed by the slave device into the two-wire loop is proportional to the measured signal.
  • the communication with the master device is digital.
  • the feeding current is reduced to 4 mA.
  • the slave devices thus have a first mode in which they are in analog communication with the master device and a second mode (multidrop mode) in which they communicate digitally with the master device and wherein the operation is such that each slave device is operable with a feeding current of 4 mA.
  • each slave device has to be switched over to the multidrop mode on site by the operator. This can be particularly troublesome when the several slave devices are at a particularly great distance from the master device or when the slave devices are placed at great distances to each other.
  • the filling levels, temperatures and pressures may have to be checked in various storage tanks, wherein the storage tanks may be positioned, however, at several tens or hundreds of meters or more from each other.
  • an operator In order to configure such a HART multidrop system, an operator must connect each individual slave device to the system and switch it over to the multidrop mode on site. This time-consuming process must also be carried out before the HART multidrop system is put into operation.
  • a method of automatically configuring a HART multidrop system consisting of at least one master device and a rjlurality of slave devices, comprises the following process steps.
  • a system is newly created: the slave devices are connected to the multidrop system. Once the slave devices are connected to the master device, the power source present in the master device for the supply of the slave devices is switched on.
  • HART command No. 6 "write polling address" is sent as a broadcast command. By sending command No. 6 as a broadcast command, all slave devices in the HART multidrop system are addressed and switched into the multidrop mode.
  • a polling address not equal to 0 i.e., according to the present state of the art, integer values between 1 and 15, as specified by the HART protocol
  • command No. 6 i.e., integer values between 1 and 15, as specified by the HART protocol
  • an existing HART multidrop system comprising one or more slave devices is complemented by at least one more slave device.
  • at least one additional slave device is connected to the existing HART multidrop system.
  • a polling address not equal to 0 i.e., according to the present state of the art, integer values between 1 and 15, as specified by the HART protocol
  • command No. 6 i.e., integer values between 1 and 15, as specified by the HART protocol
  • the assignment of a unique polling address and/or a unique identifier can be carried out, for example, as follows.
  • the unique identifier for a slave device is queried via a programmed routine, which the operator can then enter manually, and a polling address is also queried (a number between 1 and 15), which the operator has to input.
  • a polling address is also queried (a number between 1 and 15), which the operator has to input.
  • the polling address it is also possible for the polling address to be automatically assigned after the identifier is input, which means that the operation does not need to enter a corresponding polling address.
  • command No. 6 with the long frame address corresponding to the input identifier is transmitted together with the now determined polling address of the slave device.
  • the slave device which is now uniquely addressed by the long frame address, thus obtains the new assigned polling address.
  • the power source is turned on again in the master device to supply the slave devices, whether the slave devices are indeed without voltage or current.
  • the supply voltage or the supply current in the master device for the supply of the slave devices is about 0, i.e. that the current is ⁇ 4 mA or ⁇ 3.6 mA in particular.
  • the renewed switching on of the power source can take place after a predetermined time interval after the power source has been turned off.
  • the time interval is chosen in such a way that it is ensured that before the power source for the slave devices is turned on again, no voltage is applied or no appreciable current is available.
  • a unique address of between 1 and 15 can be inputted for each slave device by the operator.
  • the unique address for each slave device can be obtained by way of an inquiry, or obtained from a database.
  • Another exemplary embodiment of the present invention provides that before the unique address for a slave device is input it is queried whether the slave device has been configured before, and if so, the same address of this slave device is assigned again.
  • the unique identifier of a slave device and the address (a value between 1 and 15) are known, they are transmitted in a long frame address with HART command No. 6 so that a slave device uniquely identified by the unique identifier now also obtains its own polling address.
  • the unique identifier for a slave device can be the serial number of the slave device and the manufacturer ID code and a so-called device type code. With these three features, a unique long frame address can be formed, and therefore a single slave device can be directly addressed. By using HART command No. 6 into which this unique long frame address is integrated, a unique polling address (1 - 15) can be assigned to that specific slave device which is different from the identical address (polling address) that was the same for all slave devices.
  • a HART multidrop system comprises at least one master device which has a power source to supply the slave devices, and a plurality of slave devices connected to the at least one master device.
  • a control unit is also present which for the purpose of automatically configuring the HART multidrop system switches off the power source of the master device, if it is still switched on when the slave devices are connected, and which hereafter switches back on again the power source in the master device for the supply of the slave devices.
  • the control unit after the renewed switching on, sends the HART command "write polling address" as a broadcast command with a polling address not equal to zero, which causes all slave devices connected to the master device to be automatically switched over to the multidrop mode.
  • the control unit also has the function of changing the identical address of all slave devices caused by the transmission of the above broadcast command into a unique address for each slave device, either fully automatically or in an inquiry routine in combination with an operator input.
  • an input unit is present for the operator.
  • a display unit is present, on which the values or data to be input by the operator are inquired after.
  • Fig. 1 shows a basic structure of a HART multidrop system
  • Fig. 2a shows a first part of a flow diagram of a process routine with the aid of which the slave devices in a HART multidrop system are automatically switched over to the multidrop mode;
  • Fig. 2b shows a flow chart of a process routine showing an option to assign addresses to already configured sensors after the switchover into the multidrop mode
  • Fig. 2c shows another flow chart of a process routine to assign addresses to not yet configured sensors and to assign them to a measuring position
  • Fig. 3 illustrates dialog 1 mentioned in Fig. 2 as displayed on a display unit to an operator (such as on the master device);
  • Fig. 4 illustrates dialog 2 mentioned in Fig. 2 as displayed on a display unit to an operator
  • Fig. 5 illustrates dialog 3 mentioned in Fig. 2 as displayed on a display unit to an operator
  • Fig. 6 illustrates dialog 4 mentioned in Fig. 2 as displayed on a display unit to an operator
  • Fig. 7 illustrates dialog 5 mentioned in Fig. 2 as displayed on a display unit to an operator
  • Fig. 8 illustrates dialog 6 mentioned in Fig. 2 as displayed on a display unit to an operator on the master device
  • Fig. 9 illustrates dialog 7 mentioned in Fig. 2 as displayed on a display unit to an operator on the master device;
  • Fig. 10 illustrates dialog 8 mentioned in Fig. 2 as displayed on a display unit to an operator on the master device.
  • the HART multidrop system comprises a master device 1, to which a plurality of slave devices 2 ⁇ ... 2 ⁇ 5 may be connected via a two-wire line 4.
  • Master device 1 communicates with slave devices 2 ⁇ ... 2 ⁇ 5 via the two- wire loop 4 and supplies energy to them.
  • the communication between master device 1 and slave devices 2 ⁇ ... 2j 5 is carried out using commands known from the HART protocol.
  • Slave devices 2 ⁇ ... 2 i 5 in turn, again using the HART protocol, send information to master device 1 when they are addressed.
  • each slave device 2 ⁇ ... 2j 5 has both a unique identifier and a specific address (polling address).
  • the unique identifier can consist of the serial number and/or the manufacturer ID code and/or * the device type code.
  • Other characterizing features of a slave device 2 ⁇ ... 2 ⁇ 5 may, of course, also be used for unique identification.
  • a unique long frame address is then formed using these features, which serve to address a specific slave device 2] ... 2 ⁇ 5 .
  • the so-called polling address is a number between 1 and 15.
  • a polling address 0 means that the device is not in the multidrop mode.
  • master device 1 comprises a power source 3 used to supply energy to the slave devices.
  • an input and display unit 5 is connected to master device 1.
  • Figs. 2a to 2c show the basic flow charts which illustrate the basic sequence of the method according to the present invention or of parts thereof.
  • the various slave devices 2 ⁇ ... 2 ⁇ 5 are switched over to the multidrop mode and all set to the same address (polling address).
  • the sensor supply 3 in master device 1 is switched off in step 10.
  • step 11 it is checked whether the current for the slave devices 2 ⁇ ... 2 ⁇ $ is 0 mA. Alternatively it may also be checked whether the voltage is 0 Volts. If it is determined that the current or voltage is not about 0 mA or 0 Volts, respectively, the sensor supply is not switched back on, otherwise the power source 3 in master device 1 is turned on again in step 12.
  • step 13 it is checked in an optional step 13 whether there is a short circuit or whether the current in the two- wire loop 4 is less than 3.6 mA. If the answer to either is yes, an error message 14 is output.
  • the error message can be seen on the display and input unit 5 according to Figs. 3 or 4.
  • step 15 is next.
  • the slave devices 2 ⁇ ... 2 ) 5 are set to the polling address 15 by HART command No. 6 as a broadcast command.
  • command No. 6 By transmitting command No. 6 as a broadcast command with a polling address not equal to zero, all slave devices are addressed via this command and obtain the same polling address 15.
  • step 16 it is determined whether the current in the two wire line 4 is a multiple of 4 mA. If this is not the case, it is determined in step 17 whether the measured current is not equal to 0 mA. If the answer is yes, step 15 is repeated. If this is not the case, the output in step 18 is that no sensor is connected. The corresponding dialog is shown on the input and display unit 5 according to Fig. 3.
  • step 16 If it is determined in step 16 that the measured current is indeed a multiple of 4 mA, the number of connected slave devices is determined in step 19 by dividing the measured current by 4 mA. With this, the basic sequence of process steps for the automatic operation of a plurality of slave devices 2 ⁇ ... 2 ⁇ 5 in a HART multidrop system is complete, with all slave devices 2 ⁇ ... 2i 5 still having polling address 15, however.
  • a counter n is set to the value 1 in step 20. It is checked in step 21 whether the value is greater than 15. If this is not the case, the measuring place having value n is checked in step 22 as to whether it is already configured. If so, HART command No. 6 with the long frame address is determined in step 22, wherein the measuring place having the value n is set to the HART address of measuring place n. Then value n is incremented by 1 in step 24. This loop is cycled through until all configured measuring places have been recorded. This means that loop 21 is interrupted as soon as value n is greater than 15.
  • Fig. 2c illustrates the addressing of the slave devices 2 ⁇ ... 2 ⁇ 5 which have not been given a unique polling address before. It is determined in step 25 whether there are still slave devices having the address 15. If this is not the case, the sensor addressing is completed according to step 25 and normal operation of the HART multidrop system is initiated. If there are still slave devices 2 ⁇ ... 2 ⁇ 5 with an address 15, the operator is prompted in step 27 to input the serial number and the desired polling address for the slave device. The corresponding dialog is shown in Fig. 5. Then in step 28 the selection of the sensor assignment is carried out. The corresponding dialog which is displayed on the display and input unit 5 is shown in Fig. 7.
  • step 26 it is checked whether only one slave device remains which has not yet been assigned a unique polling address. If the result of this checking is that only one slave device still has the polling address which was assigned to all slave devices, the routine according to the dialog 4, i.e. Fig. 6, can be completed. According to this dialog, the user can assign a not yet assigned address to the remaining slave device or it leaves the already assigned polling address. This last slave device does not necessarily have to obtain a unique identifier like the others according to the description below.
  • the operation follows step 29 if no selection is to be made.
  • the operation follows step 30 if the measuring place is free. If the measuring place has already been configured, the measuring place is overwritten in step 31.
  • step 33 If further measuring places are to be assigned to a slave device, the corresponding inquiry is carried out in step 33.
  • the corresponding dialog is shown in Fig. 10. This loop is cycled through until all measuring places have been configured and all slave devices 2

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Programmable Controllers (AREA)
  • Control By Computers (AREA)

Abstract

The invention relates to a method of automatically configuring a HART multidrop system comprising a master device (1) and a plurality of slave devices (21, ... , 215) connected to said master device (1). The invention also relates to a HART multidrop system customized for the implementation of the method according to the present invention. The method according to the present invention has the following steps: a) connecting the slave devices (21, ... , 215) to the master device (1), b) switching on the power source (3) for the slave devices (21, ... , 215) in the master device (1); c) transmitting the HART command 'Write polling address' as a broadcast command from the master device (1) with a polling address not equal to zero causing all slave devices (21, ... , 215) connected to the master device (1) to be automatically switched to the multidrop mode and all slave devices (21, ... , 215) to obtain an identical address not equal to zero, d) changing the addresses for all slave devices (21, ... , 215) from an identical address to a unique address for each slave device (21, ... , 215).

Description

METHOD AND SYSTEM FOR AUTOMATED CONFIGURING OF A HART MULTI-DROP SYSTEM
TECHNICAL FIELD
The present invention relates to a method of automatically configuring a so-called HART multidrop system, comprising a master device and a plurality of slave devices connected to the at least one master device. Moreover, the present invention relates to a HART multidrop system customized for the implementation of the method according to the present invention. BACKGROUND OF THE INVENTION
A HART multidrop system basically consists of one or two master devices and a plurality of slave devices connected to the at least one master device. The slave devices are also referred to as field devices and can comprise various sensors, actuators or other devices, such as a handheld device. In particular, such slave devices are filling level sensors, pressure or temperature sensors or flow-through sensors.
The slave devices are connected to the at least one master device through a so-called 4 to 20 mA two-wire loop. The communication between the master device and the slave devices is carried out using the well-known HART protocol. Regarding the HART protocol, particular reference is made to the publication "HART-field Communications Pro'tocol, A Technical Overview (Second Edition), Romilly Bowden, September 2003, Emerson Process
Management". This specification of the HART protocol is sold by Fisher-Rosemount Ltd. and is generally commercially available.
In a HART multidrop system, a master device usually takes care of the energy supply of the slave devices, and communication with the connected slave devices is carried out through the master device. Slave devices for a HART system are usually adapted in such a way that they can be operated with a maximum feed current of 20 mA. This is the maximum current which can be supplied by a master device when the communication between the master device and a slave device is analog, i.e. when the current fed by the slave device into the two-wire loop is proportional to the measured signal. When there is a plurality of slave devices, the communication with the master device is digital. Herein the feeding current is reduced to 4 mA. The slave devices thus have a first mode in which they are in analog communication with the master device and a second mode (multidrop mode) in which they communicate digitally with the master device and wherein the operation is such that each slave device is operable with a feeding current of 4 mA.
In conventional HART multidrop systems, each slave device has to be switched over to the multidrop mode on site by the operator. This can be particularly troublesome when the several slave devices are at a particularly great distance from the master device or when the slave devices are placed at great distances to each other. In a production process, for example, the filling levels, temperatures and pressures may have to be checked in various storage tanks, wherein the storage tanks may be positioned, however, at several tens or hundreds of meters or more from each other. In order to configure such a HART multidrop system, an operator must connect each individual slave device to the system and switch it over to the multidrop mode on site. This time-consuming process must also be carried out before the HART multidrop system is put into operation.
SUMMARY OF THE INVENTION
According to a first aspect of the present invention, a method of automatically configuring a HART multidrop system consisting of at least one master device and a rjlurality of slave devices, comprises the following process steps. According to this first aspect of the present invention, a system is newly created: the slave devices are connected to the multidrop system. Once the slave devices are connected to the master device, the power source present in the master device for the supply of the slave devices is switched on. At the same time or after this, HART command No. 6 "write polling address" is sent as a broadcast command. By sending command No. 6 as a broadcast command, all slave devices in the HART multidrop system are addressed and switched into the multidrop mode. As an address for the slave devices, a polling address not equal to 0 (i.e., according to the present state of the art, integer values between 1 and 15, as specified by the HART protocol) is assigned by command No. 6. As a result, all slave devices have now assumed the multidrop mode, but they all have the same address. Then it has to be ensured that each of the slave devices present in the HART multidrop system obtains a unique address and a unique identifier. This can be done in either of two ways, which will be explained below.
According to a second aspect of the present invention, an existing HART multidrop system comprising one or more slave devices is complemented by at least one more slave device. For this purpose, at least one additional slave device is connected to the existing HART multidrop system. Once all slave devices are connected, the power source present in the master device is switched off, if indeed it is still switched on, and then it is switched on again, as soon as the slave devices are isolated from the voltage or the current. At the same time or after this, the HART command No. 6 "write polling address" is sent as a broadcast command. By sending command No. 6 as a broadcast command, all slave devices of the HART multidrop system are addressed and switched into multidrop mode. As an address for the slave devices, a polling address not equal to 0 (i.e., according to the present state of the art, integer values between 1 and 15, as specified by the HART protocol) is assigned by command No. 6. With this, all slave devices have now assumed the multidrop mode, but they all have the same address. Then it has to be ensured that each of the slave devices present in the HART multidrop system obtains a unique address and a unique identifier.
The assignment of a unique polling address and/or a unique identifier can be carried out, for example, as follows. For example, the unique identifier for a slave device is queried via a programmed routine, which the operator can then enter manually, and a polling address is also queried (a number between 1 and 15), which the operator has to input. As a modification it is also possible for the polling address to be automatically assigned after the identifier is input, which means that the operation does not need to enter a corresponding polling address. Then command No. 6 with the long frame address corresponding to the input identifier is transmitted together with the now determined polling address of the slave device. The slave device, which is now uniquely addressed by the long frame address, thus obtains the new assigned polling address. This process is repeated for all connected slave devices. Finally, all slave devices have a determined address (1 to 15) and are individually addressable by the master device through the unique identifier. Alternatively, the whole process can be partially or wholly automated. For this purpose, the unique identifier for each connected slave device is automatically taken from a previously determined database and the polling address is automatically assigned. The long frame address created in this manner and command No. 6 with the polling address determined for a certain slave device are thus automatically transmitted. In other words: the system checks which slave devices are connected to the multidrop system and automatically assigns a specific address for each of the slave devices, which can be a number between 1 and 15 (as presently specified by the HART protocol). If an address, such as 2, has already been assigned, an address which has not yet been assigned, is automatically assigned, in particular, the next higher address. Finally, all slave devices connected to the master device have now obtained their unique polling addresses and are individually recognizable.
For more detail on how automatic processes for the assignment of addresses can be carried out, reference is made to DE 102 02 851 Al (US 2003140125 or EP 1331794) to avoid undue repetition. Here, an example of a method of assigning addresses in a network component is explained in detail. Moreover, other well-known automatic address assignment techniques may also be used in the present HART multidrop system.
Due to the fact that according to the present state of the art, HART communication is relatively slow, the above explained semi-automatic address assignment method is preferred over the above explained fully automatic address assignment method.
In another exemplary embodiment of the present invention, it is checked before the power source is turned on again in the master device to supply the slave devices, whether the slave devices are indeed without voltage or current. In other words, it is checked whether the supply voltage or the supply current in the master device for the supply of the slave devices is about 0, i.e. that the current is < 4 mA or < 3.6 mA in particular.
Alternatively, the renewed switching on of the power source can take place after a predetermined time interval after the power source has been turned off. The time interval is chosen in such a way that it is ensured that before the power source for the slave devices is turned on again, no voltage is applied or no appreciable current is available. In another exemplary embodiment of the present invention, for reassigning an address to the slave devices after their switch-over into the multidrop mode, a unique address of between 1 and 15 can be inputted for each slave device by the operator. The unique address for each slave device can be obtained by way of an inquiry, or obtained from a database.
Another exemplary embodiment of the present invention provides that before the unique address for a slave device is input it is queried whether the slave device has been configured before, and if so, the same address of this slave device is assigned again. Thus, if the unique identifier of a slave device and the address (a value between 1 and 15) are known, they are transmitted in a long frame address with HART command No. 6 so that a slave device uniquely identified by the unique identifier now also obtains its own polling address.
The unique identifier for a slave device can be the serial number of the slave device and the manufacturer ID code and a so-called device type code. With these three features, a unique long frame address can be formed, and therefore a single slave device can be directly addressed. By using HART command No. 6 into which this unique long frame address is integrated, a unique polling address (1 - 15) can be assigned to that specific slave device which is different from the identical address (polling address) that was the same for all slave devices.
According to another aspect of the present invention, a HART multidrop system comprises at least one master device which has a power source to supply the slave devices, and a plurality of slave devices connected to the at least one master device. Moreover, a control unit is also present which for the purpose of automatically configuring the HART multidrop system switches off the power source of the master device, if it is still switched on when the slave devices are connected, and which hereafter switches back on again the power source in the master device for the supply of the slave devices. The control unit, after the renewed switching on, sends the HART command "write polling address" as a broadcast command with a polling address not equal to zero, which causes all slave devices connected to the master device to be automatically switched over to the multidrop mode. All slave devices thus obtain the identical address not equal to zero. The control unit also has the function of changing the identical address of all slave devices caused by the transmission of the above broadcast command into a unique address for each slave device, either fully automatically or in an inquiry routine in combination with an operator input. For this purpose, advantageously an input unit is present for the operator. It is also advantageous if a display unit is present, on which the values or data to be input by the operator are inquired after. SHORT DESCRIPTION OF THE DRAWINGS
For further explanation and for better understanding, several exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which:
Fig. 1 shows a basic structure of a HART multidrop system;
Fig. 2a shows a first part of a flow diagram of a process routine with the aid of which the slave devices in a HART multidrop system are automatically switched over to the multidrop mode;
Fig. 2b shows a flow chart of a process routine showing an option to assign addresses to already configured sensors after the switchover into the multidrop mode;
Fig. 2c shows another flow chart of a process routine to assign addresses to not yet configured sensors and to assign them to a measuring position;
Fig. 3 illustrates dialog 1 mentioned in Fig. 2 as displayed on a display unit to an operator (such as on the master device);
Fig. 4 illustrates dialog 2 mentioned in Fig. 2 as displayed on a display unit to an operator;
Fig. 5 illustrates dialog 3 mentioned in Fig. 2 as displayed on a display unit to an operator;
Fig. 6 illustrates dialog 4 mentioned in Fig. 2 as displayed on a display unit to an operator;
Fig. 7 illustrates dialog 5 mentioned in Fig. 2 as displayed on a display unit to an operator; Fig. 8 illustrates dialog 6 mentioned in Fig. 2 as displayed on a display unit to an operator on the master device;
Fig. 9 illustrates dialog 7 mentioned in Fig. 2 as displayed on a display unit to an operator on the master device;
Fig. 10 illustrates dialog 8 mentioned in Fig. 2 as displayed on a display unit to an operator on the master device.
DESCRIPTION OF EXEMPLARY EMBODIMENTS OF THE INVENTION
With reference to Fig. 1, the basic structure of a HART multidrop system is shown. The HART multidrop system comprises a master device 1, to which a plurality of slave devices 2\ ... 2ι5 may be connected via a two-wire line 4. Master device 1 communicates with slave devices 2ι ... 2ι5 via the two- wire loop 4 and supplies energy to them. The communication between master device 1 and slave devices 2ι ... 2j5 is carried out using commands known from the HART protocol. Slave devices 2\ ... 2i 5 in turn, again using the HART protocol, send information to master device 1 when they are addressed.
For the communication between master device 1 and a specific slave device 2\ ... 2] 5, each slave device 2ι ... 2j5 has both a unique identifier and a specific address (polling address). The unique identifier can consist of the serial number and/or the manufacturer ID code and/or * the device type code. Other characterizing features of a slave device 2\ ... 2ι5 may, of course, also be used for unique identification. A unique long frame address is then formed using these features, which serve to address a specific slave device 2] ... 2ι5. The so-called polling address is a number between 1 and 15. A polling address 0 means that the device is not in the multidrop mode.
As shown in Fig. 1 , master device 1 comprises a power source 3 used to supply energy to the slave devices. In the exemplary embodiment shown here, an input and display unit 5 is connected to master device 1. However, it is also possible not to connect input and display unit 5 to master device 1 , but at any place on wire line 4. For more details of the input and display unit, reference is made to the explanations below.
Figs. 2a to 2c show the basic flow charts which illustrate the basic sequence of the method according to the present invention or of parts thereof. In the flow chart shown in Fig. 2a, the various slave devices 2ι ... 2ι5 are switched over to the multidrop mode and all set to the same address (polling address). The sensor supply 3 in master device 1 is switched off in step 10. In step 11 it is checked whether the current for the slave devices 2\ ... 2\$ is 0 mA. Alternatively it may also be checked whether the voltage is 0 Volts. If it is determined that the current or voltage is not about 0 mA or 0 Volts, respectively, the sensor supply is not switched back on, otherwise the power source 3 in master device 1 is turned on again in step 12. Then it is checked in an optional step 13 whether there is a short circuit or whether the current in the two- wire loop 4 is less than 3.6 mA. If the answer to either is yes, an error message 14 is output. The error message can be seen on the display and input unit 5 according to Figs. 3 or 4.
If there is no short circuit or if the current is greater than 3.6 mA, step 15 is next. The slave devices 2ι ... 2) 5 are set to the polling address 15 by HART command No. 6 as a broadcast command. By transmitting command No. 6 as a broadcast command with a polling address not equal to zero, all slave devices are addressed via this command and obtain the same polling address 15.
In optional step 16 it is determined whether the current in the two wire line 4 is a multiple of 4 mA. If this is not the case, it is determined in step 17 whether the measured current is not equal to 0 mA. If the answer is yes, step 15 is repeated. If this is not the case, the output in step 18 is that no sensor is connected. The corresponding dialog is shown on the input and display unit 5 according to Fig. 3.
If it is determined in step 16 that the measured current is indeed a multiple of 4 mA, the number of connected slave devices is determined in step 19 by dividing the measured current by 4 mA. With this, the basic sequence of process steps for the automatic operation of a plurality of slave devices 2ι ... 2ι5 in a HART multidrop system is complete, with all slave devices 2ι ... 2i5 still having polling address 15, however.
In the optional routine shown in the flow diagram according to Fig. 2b, it is checked whether already configured sensors exist and whether these configured sensors have to be given new addresses. For this purpose, a counter n is set to the value 1 in step 20. It is checked in step 21 whether the value is greater than 15. If this is not the case, the measuring place having value n is checked in step 22 as to whether it is already configured. If so, HART command No. 6 with the long frame address is determined in step 22, wherein the measuring place having the value n is set to the HART address of measuring place n. Then value n is incremented by 1 in step 24. This loop is cycled through until all configured measuring places have been recorded. This means that loop 21 is interrupted as soon as value n is greater than 15.
Fig. 2c illustrates the addressing of the slave devices 2\ ... 2ι5 which have not been given a unique polling address before. It is determined in step 25 whether there are still slave devices having the address 15. If this is not the case, the sensor addressing is completed according to step 25 and normal operation of the HART multidrop system is initiated. If there are still slave devices 2\ ... 2ι5 with an address 15, the operator is prompted in step 27 to input the serial number and the desired polling address for the slave device. The corresponding dialog is shown in Fig. 5. Then in step 28 the selection of the sensor assignment is carried out. The corresponding dialog which is displayed on the display and input unit 5 is shown in Fig. 7.
In step 26 it is checked whether only one slave device remains which has not yet been assigned a unique polling address. If the result of this checking is that only one slave device still has the polling address which was assigned to all slave devices, the routine according to the dialog 4, i.e. Fig. 6, can be completed. According to this dialog, the user can assign a not yet assigned address to the remaining slave device or it leaves the already assigned polling address. This last slave device does not necessarily have to obtain a unique identifier like the others according to the description below. The operation follows step 29 if no selection is to be made. The operation follows step 30 if the measuring place is free. If the measuring place has already been configured, the measuring place is overwritten in step 31. If further measuring places are to be assigned to a slave device, the corresponding inquiry is carried out in step 33. The corresponding dialog is shown in Fig. 10. This loop is cycled through until all measuring places have been configured and all slave devices 2| ... 2ι5 have their unique addresses and their unique identifiers. Then each slave device can be uniquely addressed in the multidrop operation. For further detail, reference is made to the HART protocol.

Claims

1. A method of automatically configuring a HART multidrop system, comprising a master device ( 1 ) and a plurality of slave devices (21 , ... , 215) coupled to the at least one master device (1), wherein the method includes the steps of: a) connecting the slave devices (2ι, ... , 2ι5), b) switching on the power source (3) for the slave devices (2\, ... , 2\ 5) in the master device (1); c) transmitting the HART command "Write polling address" as a broadcast command from the master device (1) with a polling address not equal to zero, with the result that all slave devices (2\, ... , 215) connected to the master device (1) are automatically switched to the multidrop mode and all slave devices
Figure imgf000012_0001
... , 215) obtain an identical address not equal to zero, d) changing the addresses for all slave devices (2ι, ... , 215) from the identical address to a unique address for each slave device (2\, ... , 2\$).
2. A method of automatically configuring an existing HART multidrop system, comprising a master device (1) and a plurality of slave devices (2\, ... , 2\ 5) connected to the at least one master device (1), and which is to be complemented by at least one more slave device, wherein the method includes the steps of: a) connecting the at least one more slave device (2\, ... , 215), b) switching off the power source (3) for the slave devices (2ι, ... , 2j5) in the master device (1) if it is still switched on; c) switching on the power source (3) for all slave devices (2|, ... , 215) in the master device (1); d) transmitting the HART command "Write polling address" as a broadcast command from the master device (1) with a polling address not equal to zero, causing all slave devices (2\, ... , 2ι5) connected to the master device (1) to be automatically switched to the multidrop mode and all slave devices (2\, ... , 215) to obtain an identical address not equal to zero, e) changing the addresses for all slave devices (2|, ... , 2)5) from the identical address to a unique address for each slave device (21 , ... , 215).
3. The method according to claim 2, wherein it is checked before step b) whether the supply voltage or the supply current for the slave devices (2j, ... , 2ι ) is about zero.
4. The method according to claim 2, wherein step c) is carried out after a predetermined time interval after step b), which ensures that no voltage or no current is applied to the slave devices (2ι, ... , 215) before the power source for the slave devices (2ι, ... , 215) is switched on.
5. The method according to any one of the preceding claims, wherein, in the HART command "Write polling address" transmitted as a broadcast command, the polling address has a value between 1 and 15.
6. The method according to any one of the preceding claims, wherein in step d) or step e) a unique address between 1 and 15 is input for each slave device (2\, ... , 2ι5) by an operator in an inquiry routine.
7. The method according to claim 6, wherein before the input of a unique address for a slave device (2ι, ... , 2j5) it is queried whether this slave device (2\, ... , 2\s) has already been configured and, if the answer is yes, the same address is again assigned to said slave device (2ι, ... , 215).
8. The method according to claim 7, wherein the HART command No. 6 is transmitted with the identifier for said slave device (2ι, ... , 2j5) and the previously assigned address.
9. The method according to claim 6, wherein, together with the input of a unique address for a slave device (2|, ... , 2|5), an identifier characterizing said slave device (2j, ... , 215) is input.
10. The method according to claim 9, wherein the serial number of said slave device (2|, ... , 215) is input as said characterizing identifier.
11. A HART multidrop system, comprising: - at least one master device (1) having a power source (3) for slave devices (2|, ... , 2ιs), - a plurality of slave devices (2\, ... , 2ι5) coupled to the at least one master device (1), and - a control unit (4) which switches on the power source (3) for the slave devices (2\, ... , 215) in the master device (1) to automatically configure the HART multidrop system and transmits the HART command "Write polling address" as a broadcast command with a polling address not equal to zero causing all slave devices (2\, ... , 215) connected to the master device (1) to be automatically switched to the multidrop mode, wherein all slave devices (2ι, ... , 2]5) receive the identical address not equal to zero, and which also allows the identical addresses for the slave devices (2ι, ... , 215) to be changed to individual addresses for each slave device (2ι, ... , 2ι5).
12. The HART multidrop system according to claim 11 , wherein the control unit (4) checks before the power supply (3) is switched on whether the supply voltage or the supply current for the slave devices (2ι, ... , 215) is about zero.
13. The HART multidrop system according to claim 11, wherein the control unit (4) is programmed to switch on the power supply (3) at a predetermined time interval after the switching off process, which ensures that no voltage or no current is applied to the slave devices (2ι, ... , 215) before the power supply for the slave devices (2ι, ... , 2ι5) is switched on.
14. The HART multidrop system according to any one of claims 1 1 to 13, wherein the control unit (4) can run an inquiry routine in which an operator can input a unique address of between 1 and 15 for each slave device
Figure imgf000014_0001
... , 2|5).
15. The HART multidrop system according to claim 14, wherein the control unit (4) can run a checking routine which queries before a unique address is input for a slave device (2|, ... , 215) whether said slave device (2\, ... , 2|5) has already been configured and, if the answer is yes, assigns the same address to said slave device (2j, ... , 2.5).
16. The HART multidrop system according to claim 15, wherein the checking routine involves HART command No. 6 being transmitted with the identifier for said slave device (2\, ... , 215) and the previously assigned address.
17. The HART multidrop system according to claim 14, wherein an identifier characterizing said slave device (2\, ... , 215) is input together with the input of a unique address for said slave device (2\, ... , 2ι5).
18. The HART multidrop system according to claim 17, wherein the serial number of said slave device (2ι, ... , 215) is input as said characterizing identifier.
19. The HART multidrop system according to claim 11 , wherein, before switching. on the power source, the power source (3) of the master device (1) is switched off.
PCT/EP2004/014618 2003-12-22 2004-12-22 Method and system for automated configuring of a hart multi-drop system Ceased WO2005062140A2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP04804214A EP1697802B1 (en) 2003-12-22 2004-12-22 Method and system for automated configuring of a hart multi-drop system
US10/582,808 US20080040515A1 (en) 2003-12-22 2004-12-22 Method and System for Automated Configuring of a Hart Multi-Drop System
DE602004032381T DE602004032381D1 (en) 2003-12-22 2004-12-22 METHOD AND SYSTEM FOR AUTOMATED CONFIGURATION

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US53201303P 2003-12-22 2003-12-22
US60/532,013 2003-12-22

Publications (2)

Publication Number Publication Date
WO2005062140A2 true WO2005062140A2 (en) 2005-07-07
WO2005062140A3 WO2005062140A3 (en) 2005-11-24

Family

ID=34710253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2004/014618 Ceased WO2005062140A2 (en) 2003-12-22 2004-12-22 Method and system for automated configuring of a hart multi-drop system

Country Status (5)

Country Link
US (1) US20080040515A1 (en)
EP (1) EP1697802B1 (en)
CN (1) CN100501614C (en)
DE (1) DE602004032381D1 (en)
WO (1) WO2005062140A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007059823A1 (en) * 2005-11-24 2007-05-31 Sew-Eurodrive Gmbh & Co. Kg Allocation of station addresses to communication subscribers in a bus system
GB2473916A (en) * 2009-09-23 2011-03-30 Ebm Papst Uk Ltd Method of Operating a Control System preferably for a Fan System
CN106094605A (en) * 2016-02-04 2016-11-09 北京安控科技股份有限公司 A kind of HART multichannel switching circuit and method

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008004798B4 (en) * 2008-01-17 2010-04-01 Moeller Gmbh Configuration and display module for bus-networked subscribers
CN101499046A (en) * 2008-01-30 2009-08-05 鸿富锦精密工业(深圳)有限公司 SPI equipment communication circuit
CN101539771B (en) * 2008-03-21 2012-09-19 鸿富锦精密工业(深圳)有限公司 Master-to-slave automatic addressing system
US8296488B2 (en) 2009-04-27 2012-10-23 Abl Ip Holding Llc Automatic self-addressing method for wired network nodes
DE102009054904A1 (en) 2009-12-17 2011-06-22 Endress + Hauser GmbH + Co. KG, 79689 Method for assigning a polling address to a field device
DE102010030821A1 (en) 2010-07-01 2012-01-05 Endress + Hauser Process Solutions Ag Method and device for commissioning field devices, in particular HART field devices in multidrop operating mode
US20120303836A1 (en) * 2011-05-23 2012-11-29 Rf Micro Devices, Inc. Slave id configuration
CN103886730A (en) * 2012-12-19 2014-06-25 中国科学院沈阳自动化研究所 Communication method based on wireless Hart adapter terminal
DE102015113491A1 (en) * 2015-08-14 2017-02-16 Ebm-Papst Mulfingen Gmbh & Co. Kg dynamic addressing
CA3022653C (en) 2016-05-02 2024-06-11 Sew-Eurodrive Gmbh & Co. Kg Method for integrating a further bus subscriber into a bus system, and bus system
CN106100857A (en) * 2016-06-20 2016-11-09 北京安控科技股份有限公司 A kind of RTU with HART communication function designs device
US10057209B2 (en) 2016-07-28 2018-08-21 Qualcomm Incorporated Time-sequenced multi-device address assignment
US10142158B2 (en) * 2016-10-05 2018-11-27 Astronics Advanced Electronic Systems Corp. Auto address and configuration of a multi-drop communication system including automatic termination of same
CN108234407A (en) * 2016-12-15 2018-06-29 重庆川仪自动化股份有限公司 Address card and its processing system and method based on HART protocol
US20190163658A1 (en) * 2017-11-24 2019-05-30 Robotis Co., Ltd. Master and slave, and identification number setting apparatus
DE102018112873A1 (en) 2018-05-29 2019-12-05 Ebm-Papst Mulfingen Gmbh & Co. Kg Auto addressing with position determination of bus users
CN110955170B (en) * 2018-09-27 2023-10-17 中车株洲电力机车研究所有限公司 End-to-end self-adaptive synchronization method and plug-and-play traction control device
EP3862824B1 (en) * 2020-02-04 2023-01-11 Siemens Aktiengesellschaft Interface module for configuring and parametrizing a field bus subscriber
JP2021150732A (en) * 2020-03-17 2021-09-27 キヤノン株式会社 Master-slave communication system, electronic device, master-slave communication system control method, electronic device control method
EP3958136A1 (en) * 2020-08-17 2022-02-23 Nokia Technologies Oy Dynamically reprogrammable topologically unique integrated circuit identification

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4441752A1 (en) * 1994-11-23 1996-05-30 Siemens Ag Arrangement with a master unit and several slave units
US5909591A (en) * 1996-06-18 1999-06-01 Lucent Technologies Inc. System and method for identifying individual modules in a modular system
DE19733906C2 (en) * 1997-08-05 1999-09-30 Siemens Ag Method for automatic address assignment, bus system for automatic address assignment and communication participants that can be used in the bus system or in the context of the method
US6928501B2 (en) * 2001-10-15 2005-08-09 Silicon Laboratories, Inc. Serial device daisy chaining method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007059823A1 (en) * 2005-11-24 2007-05-31 Sew-Eurodrive Gmbh & Co. Kg Allocation of station addresses to communication subscribers in a bus system
US8010714B2 (en) 2005-11-24 2011-08-30 Sew-Eurodrive Gmbh & Co. Kg Method for assigning addresses to nodes of a bus system, and installation
US9965427B2 (en) 2005-11-24 2018-05-08 Sew-Eurodrive Gmbh & Co. Kg Method for assigning addresses to nodes of a bus system, and installation
GB2473916A (en) * 2009-09-23 2011-03-30 Ebm Papst Uk Ltd Method of Operating a Control System preferably for a Fan System
GB2473916B (en) * 2009-09-23 2015-04-08 Ebm Papst Uk Ltd Fan control systems
CN106094605A (en) * 2016-02-04 2016-11-09 北京安控科技股份有限公司 A kind of HART multichannel switching circuit and method

Also Published As

Publication number Publication date
WO2005062140A3 (en) 2005-11-24
DE602004032381D1 (en) 2011-06-01
CN100501614C (en) 2009-06-17
EP1697802A2 (en) 2006-09-06
EP1697802B1 (en) 2011-04-20
CN1906549A (en) 2007-01-31
US20080040515A1 (en) 2008-02-14

Similar Documents

Publication Publication Date Title
EP1697802B1 (en) Method and system for automated configuring of a hart multi-drop system
JP4944869B2 (en) Schematic generator used in process control network with distributed control function
CZ149096A3 (en) Apparatus for data exchange and operation thereof
US8966028B2 (en) Virtual placeholder configuration for distributed input/output modules
US6449715B1 (en) Process control configuration system for use with a profibus device network
EP0928443B2 (en) A network accessible interface for a process control network
CN103052922B (en) Method and device for configuring a control device
KR102296138B1 (en) How to operate a sensor arrangement in a vehicle based on the DSI protocol
CN102427482B (en) For configuring the method for fieldbus user
GB2355082A (en) Process control configuration system for use with a network incorporating AS Interface device network
JP2004513584A (en) Data buses, especially data buses in motor vehicles
US8793417B2 (en) Integration of field devices in a distributed system
CN102035898B (en) The method of automation equipment and data processing equipment data communication and interface convertor
CN101681154A (en) Tool recognition using Profinet
US8588943B2 (en) Method for parameterizing operating means
US20070073446A1 (en) Method for dynamically allocating controlling and self- assigning of addresses in a network
CN103825789B (en) Bus system and its operation method and the fluidic system with bus system
US20240056418A1 (en) Method for address configuration for a master-slave system
US20250323808A1 (en) System and method for controlling multiple serial control devices in an emergency vehicle
KR20090005890A (en) Robot Integrated Welding Control System
GB2394630A (en) Process control configuration system for use with a Profibus device network
RU2541145C2 (en) Measuring transducer with several field bus addresses and method of evocation of values measured by such transducer
US20250103527A1 (en) I/o station storing configuration data
US20040167639A1 (en) Project design method

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2004804214

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

WWE Wipo information: entry into national phase

Ref document number: 200480040748.9

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2004804214

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 10582808

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 10582808

Country of ref document: US