The present invention pertains to a procedure for automatic configuration of addressing in a communication architecture comprising devices communicating with one another via an Ethernet communication network of daisy-chain type, that is to say that the devices are connected in cascade (or in tandem).
A relevant field of application is for example the modular architecture of a remote-control station in an MV/LV sub-station of an electrical distribution network (MV: Medium Voltage, LV: Low Voltage). Such a remote-control station generally comprises various different functional modules that can ensure functions for measuring voltage/current at MV or LV equipment level, functions for monitoring quality and managing the electrical network, functions for fault detection, for command/control of equipment, etc.
This type of modular architecture (or modular RTU—Remote Terminal Unit) can also comprise a central server module in charge on the one hand of effecting a communication interface with a centralized supervision system and on the other hand of managing various MV or LV client functional modules.
The modules are, for example, physically placed in an adjacent manner on a DIN rail. The server module is placed at the head and the client modules are arrayed alongside one another. A difficulty with this type of modular architecture is the ability to configure the various client modules in a simple manner, that is to say to assign each module a physical address (which is its position on the array of the DIN rail) and then associate an IP address with it so that the server module can retrieve the physical configuration of the array.
Existing protocols (such as DHCP, DPWS, DNS, etc.) already exist which make it possible to assign IP addresses or unique names to each module, nonetheless the recording of the physical position of the module requires a human operation (pressing a button on the module during the commissioning phase, turning on an LED to recognize the whereabouts of the module which corresponds to such and such an MAC address, reading on a label and copying into a Web page of the MAC address of the module, etc.).
Other documents, such as in particular FR2641629, U.S. Pat. No. 6,688,910, U.S. Pat. No. 8,791,646, already describe automatic or semi-automatic procedures for address allocation and identification on a communication network. These procedures are not always simple and require for example the existence of a unique electronic serial number in each client module, an electrical measurement to determine the physical position of a client module, a counting of pulsations to ascertain the number of connected modules, etc. Moreover, document U.S. Pat. No. 7,139,839 provides for a communication bus between the various modules but also provides for a distinct addressing bus, with the aim of being able to automatically assign an identifier (for example an MAC address) to each client module.
Document US2009213763 describes a procedure for assigning IP addresses to client modules connected in a ring network to a server module, in a non-sequential manner. Documents U.S. Pat. No. 5,914,957 and WO0308599 describe a configuration procedure in which the server must take the initiative to configure each client module one by one.
The aim of the invention is therefore to propose a very simple and flexible automatic configuration procedure without the drawbacks cited and which allows a server module, on completion of a commissioning phase, to ascertain the whole set of connected client modules present, their physical position/address on the array as well as their identification (IP address or MAC address).
The procedure according to the invention can advantageously be used during a first configuration of the architecture. Moreover, this procedure allows easier and faster management of the replacement of a faulty client module and the addition of a further client module in the communication network, since it is the client modules which take the initiative in asking the server module for an identifier.
This aim is achieved with the aid of a method of configuration by a server module of several client modules, the client modules and the server module being connected together via an Ethernet communication network of daisy-chain type. Each client module comprises an Ethernet switch fitted with a first communication port and with a second communication port, in such a way that the first port of a first client module is connected to a communication port of the server module and that the first port of another client module is connected to the second port of an adjacent client module. The method comprises, for each client module:
During the identification step, the client module sends a discovery request to the server module. Preferentially, in the absence of response from the server module, the client module periodically sends a discovery request to the server module. According to an embodiment, the requests comply with the DHCP standard.
The invention also relates to a remote-control system of an electrical distribution network comprising a server module and several client modules connected together via an Ethernet communication network of daisy-chain type, the remote-control system being adapted for implementing such a method of configuration. The invention also relates to a client module comprising an Ethernet switch having two communication ports, the client module being able to be inserted into a remote-control system to implement such a method of configuration.
It is seen that the procedure relies on an asymmetric use of the two communication ports of the Ethernet switch of the client modules, thereby making it possible to identify each client module sequentially through the server module. Indeed, as long as an identifier is not allocated to a client module, the latter does not activate its second communication port, thus not allowing the client modules situated downstream to exchange with the server module.
Other characteristics and advantages will become apparent in the detailed description which follows in conjunction with the appended drawings in which:
With reference to
All the modules are linked together physically by a connection apparatus 5 which makes it possible to very easily connect and disconnect each module with its adjacent neighbour or neighbours (that is to say its preceding neighbour and its following neighbour). According to a particular embodiment, the connection apparatus has the form of a U-shaped jumper 5 and comprising two connectors for example of RJ45 type hooked up by a cable. In
In a simple manner, the modules 1, 10, 11, 12, 13 can be strung out in a chain alongside one another and for example fixed on a DIN rail 6, the server module 1 being placed at an end of the chain. Thus, a communication port 2 of the server module 1 is connected with the first port 10a of the first client module 10, placed alongside the server module 1. The server module 1 can also comprise one or more other communication ports 3, to connect to a central supervisor or computer.
The second port 10b of the first client module 10 is hooked up to the first port of the client module 11 adjacent to the module 10. Thus, the second ports of all the client modules 10, 11, 12, 13 are connected to the first ports of the following client module in the chain, provided obviously that such a following client module exists. Likewise, the first ports of the client modules 11, 12, 13 other than the first client module 10 are connected to the second port of a preceding client module.
In the example of
A modular architecture such as this is very simple to implement and can thus easily comprise a large number of modules hooked up in this manner, for example 24 modules.
Advantageously, when replacing a faulty client module 12 for example, the control system wilt relaunch the configuration method in such a way that the physical address 3 can very simply be allocated to the new replacement module 12 automatically, without needing an intervention on this replacement module. Likewise when the control system has to add a new functional client module.
The method of configuration runs as follows:
After this initialization step, the client modules 10, 11, 12, 13 pass to an identification step in which the client modules try to communicate with the server module 1 through their first port 10a, 11a, 12a, 13a with the aim of receiving an identifier from the server module 1.
Accordingly, the identification step exhibits two possible variants:
a) according to a first variant, the client modules 10, 11, 12, 13 send a discovery request (for example of DHCP Discovery type) 10d, 11d, 12d, 13d to the server module which is in “listening” mode. If the server module receives such a request, it then responds to the client module that sent the discovery request through an offer request 1e (for example of DHCP Offer type).
If a client module sending a discovery request does not receive any response from the server module after a certain predetermined time, then it periodically re-sends its discovery request 10d, 11d, 12d, 13d and remains in the identification step.
b) according to a second variant, it is no longer the client modules that periodically initiate the exchanges with the server module 1, but the server module 1 that regularly sends an offer request (for example of DHCP Offer type) over the communication network. If it receives a response to this request, this means that there is still at least one client module to be configured on the network.
This second variant makes it possible to avoid the need for the client modules to continually send discovery requests needlessly, as long as they are not actually able to converse with the server module, but makes it more complicated to replace a faulty client module or to add a new client module.
When a client module receives an offer request from the server module 1 and this client module is not in the configured state, then it responds to the server module 1 through a request, for example of the DHCP Request type and the server module 1 will then be capable of returning to the client module a recognition request (of the DHCP ACK type) which allocates it an identifier, this identifier comprising a physical address and an IP address, as well as optional other parameters.
When a client module is thus allocated an identifier by the server module 1, it then passes to a so-called end-of-configuration step in which it positions itself in configured mode and activates its second communication port. Thus, the following client module in the chain will then be able to begin to exchange with the server module 1 since the server module 1 will be able to receive its discovery request.
In
In
When the server module 1 no longer receives any discovery request originating from client modules 10, 11, 12, 13, or when it no longer receives any response to an offer request, this means that all the client modules are configured 10, 11, 12, 13 and have activated their second communication port, thus ending the method of configuration.
Optionally, LED telltales representative of the activated/deactivated state of each communication port of a module allow a user to follow in a simple manner where the method for configuration of a remote-control system is up to.
Number | Date | Country | Kind |
---|---|---|---|
15 58198 | Sep 2015 | FR | national |