The present invention pertains to a method for monitoring communication between a transmitter entity and a receiver entity.
In the industrial setting, communication between entities has to be reliable since it participates in the command-control of machines. Either the communication intrinsically displays a high level of reliability, which may turn out to be difficult to obtain, or it must be monitored so as to detect errors of communication between the entities. In this second case, this entails being able to transmit, in addition to the data communication frames exchanged between the entities, diagnostic frames so as to continually be certain of communication reliability. The transmission of diagnostic frames makes it possible to detect communication errors and thus to alert the entities to these errors. To make it possible to detect a communication error with maximum reliability, the easiest solution consists in transmitting diagnostic frames at a high frequency. However, the transmission of frames at a high frequency causes saturation of the communication link and overconsumption of electrical energy in respect of the entities involved.
The aim of the invention is to propose a method for monitoring a communication between a transmitter entity and a receiver entity, which makes it possible to guarantee reliability in the state of the communication of close to 100%, while avoiding saturating the communication link and avoiding causing overconsumption of electrical energy.
This aim is attained by a method for monitoring a communication between a transmitter entity and a receiver entity, said transmitter entity sending data communication frames to the receiver entity, the time elapsed between two data communication frames being at least equal to a minimum duration, said method being characterized in that it comprises the following steps:
According to a particular feature, the method comprises a step of limiting to a maximum value the duration between two successive diagnostic frames, when the duration between a first instant of transmission of a diagnostic frame of rank i and a second instant of transmission of a frame of rank i+1 exceeds said maximum value.
According to another particular feature, said maximum value corresponds to an average period of transmission of the data communication frames.
According to another particular feature, the value of Δtdiag is determined from the following relation:
With:
Other characteristics and advantages will become apparent in the detailed description which follows given with regard to the appended drawings in which:
The method of the invention applies to an installation comprising at least one transmitter entity and one receiver entity connected together across a communication network of wired or wireless type. Of course, each of these entities will be able to discharge both functions, transmitter and receiver.
In this installation, the transmitter entity dispatches data communication frames C to the receiver entity, for example for the command-control of a machine. The period Δt of transmission of the data communication frames C is not necessarily fixed.
The method of the invention consists in monitoring the communication between the transmitter entity and the receiver entity. It consists of the transmission of diagnostic frames D dedicated to the monitoring of the communication. The objective of the monitoring is to ascertain the state of the communication before the next data communication frame C so as to be able to ensure that the latter has the maximum chance of taking place. Accordingly, at least one diagnostic frame D must be transmitted before the probable next transmission of a data communication frame C. The instant of transmission Tdiag[0] of the first diagnostic frame D is therefore determined from the minimum period to be complied with between the transmission of two data communication frames C, this being known to the transmitter entity. The instant of transmission Tdiag[0] of the first diagnostic frame is thus expressed by the following relation:
Tdiag[0]=Δtmini−Δtdiag (1)
In which:
In the appended figures, the end of the period Δtmini is represented by a dotted vertical arrow. This instant of transmission does not correspond to the transmission of a data communication frame C but to the instant from which a data communication frame C could be transmitted.
The value Δtdiag is determined by the following relation:
In which:
As long as a data communication frame C has not been dispatched by the transmitter entity, the latter dispatches diagnostic frames D to the receiver entity. Preferably, the diagnostic frames D are transmitted at a variable frequency, making it possible to avoid saturation of the communication and overconsumption of energy on the part of the entities.
The instants of transmission of the diagnostic frames D, which follow the first diagnostic frame transmitted at the instant Tdiag[0], are determined on the basis of an increasing function such as for example a geometric progression chosen to obtain instants of transmission separated by a variable duration. The increasing function making it possible to determine the instants of transmission Tdiag[i] of the diagnostic frames of rank i (with i>0) is for example the following geometric progression:
Tdiag[i]=r(i)×Tdiag[i−1] (3)
In which r(i) corresponds to the common ratio of the progression.
This increasing function makes it possible to alter the duration between two diagnostic frames D, before the transmission of the next data communication frame C, while ensuring maximum reliability (of close to 100%). With the duration between the last data communication frame and the next data communication frame increasing, the incidence of a communication failure decreases since this rate is considered constant between 2 data communication frames C. Hence, even if the diagnostic frames are further and further apart, the reliability in the state of the communication remains high, close to 100%. As long as a data communication frame C has not been transmitted by the transmitter entity, diagnostic frames D are transmitted at the instants of transmission Tdiag[i] determined by virtue of relation (3) hereinabove.
After each data communication frame C transmission, the diagnostic method is reinitialized and the instant of transmission of the next diagnostic frame D, corresponding to Tdiag[0], is determined by virtue of relation (1) hereinabove and the following instants Tdiag[i] are determined by virtue of relation (3).
In
According to the invention, if the duration between two diagnostic frames D becomes too long, it can be capped at a determined value. This value will be for example the average period of transmission of the data communication frames.
The invention thus presents several advantages, especially:
Number | Date | Country | Kind |
---|---|---|---|
13 63168 | Dec 2013 | FR | national |
Number | Name | Date | Kind |
---|---|---|---|
20010054158 | Jarosz | Dec 2001 | A1 |
20080126492 | Guidi | May 2008 | A1 |
20080165796 | Martinez et al. | Jul 2008 | A1 |
20140036794 | Koc | Feb 2014 | A1 |
Number | Date | Country |
---|---|---|
2 363 548 | Dec 2001 | GB |
WO 2012174934 | Dec 2012 | WO |
Entry |
---|
French Preliminary Search Report issued Jun. 19, 2014 in French Application 13 63168, filed on Dec. 20, 2013 ( with English Translation of Categories of Cited Documents and Written Opinion). |
Number | Date | Country | |
---|---|---|---|
20150180756 A1 | Jun 2015 | US |