The invention relates to a method for displaying quality of a digital communications link for field devices of automation technology, as defined in the preamble of claim 1.
Various methods and apparatuses are known for displaying quality of communications links of field devices. Thus, one technique involves indicating quality by means of a blinking indicator (LED-display) provided on the field device. Different colors are presented. A green blinking indicator shows the user, however, only, that the communications link is working. Such a signaling offers the user no opportunity, in the case of a malfunctioning communications link, for localizing the source of the malfunction.
Also known is signaling with two blinking indicators, one for the sending, and the other for the receiving, of data. Such signaling is, however, only suitable for a specialist. The normal user can, as a rule, figure little out from such signaling.
Furthermore, relatively complex bus monitors are known, which are provided as completely separate units and which must be operated by a specialist.
An object of the invention is, therefore, to provide a method for displaying quality of a digital communications link for field devices of automation technology, not having the above mentioned disadvantages, while, especially, offering an easily understandable presentation of the quality of the communications link, combined with being cost-favorable and simple to put into practice.
This object is achieved by the features set forth in claim 1.
An essential idea of the invention is to apply a field device serving as a monitoring unit to tap telegrams transmitted via the communications link and to subject the tapped telegrams to testing based on at least two criteria. Graphical presentation of the result of the testing is then accomplished on the basis of a bar chart shown on a display integrated into the monitoring unit. The height of an individual bar of the chart is a measure for the number of fulfilled criteria of the telegram associated with the bar. In general, the higher the bar, the better is the communications link.
Advantageous further developments of the invention are presented in the dependent claims.
In a further development of the invention, the criteria are tested sequentially, with the testing of a next criterion depending on the fulfillment of the preceding criterion. In case a criterion is not fulfilled, testing of subsequent criteria is no longer needed.
In an additional development, the bar chart is regularly updated. The individual bars are, in such case, shifted step-wise across the display. Bars corresponding to telegrams received a longer time ago are shifted out of the display window.
In the case of a field device operating as slave, updating is performed on a fixed clocking schedule, e.g. each second.
If the monitoring unit is a field device with master functionality, then the updating is performed according to the query/response telegram sequence. For each master-originated query there should follow, in such case and in each case, a slave-originated, response telegram.
The invention will now be explained in greater detail on the basis of an embodiment shown in the drawing, the figures of which show as follows:
a bar chart of a communications link with a plurality of connected field devices;
b bar chart for a communications link with only one connected field device;
c bar chart for a communications link having poor quality;
d bar chart for a communications link having good quality, wherein the monitoring unit is not participating in the communication; and
The further functionality of the field device 10 is defined by the main-microcontroller μC, which can be connected e.g. with a sensor (not shown). Microcontroller μC includes, additionally, a generator unit 5 serving for producing a bar chart, which is displayable in a display unit 6. Also presentable in the display unit 6 can be further information, such as, e.g., measured values.
In the present example of an embodiment, components 3 and 4a, 4b are integrated as hardware on a protocol-chip P. Besides a hardware implementation, also an option is a software implementing of these functions.
For evaluation of test results, the communications-controller μC1 includes, additionally, a testing unit TU, which is connected with the individual components 1, 2, 3, 4a, 4b.
In the connection unit 1, the arriving, physical signals are converted into a bit-sequence. Here, the testing for correct bits takes place. The UART-input 2 changes the bit-sequence coming from the connection unit 1 into a byte-sequence. Here, the testing for correct bytes takes place. This byte-sequence is forwarded to the encoding/decoder unit 3, where the correct receipt of a telegram composed of a plurality of bytes is tested.
The query-processor 4a processes the incoming telegram and ascertains, whether the telegram was intended for the field device 10. The response-processor 4b reports, when a response telegram was sent.
All this test-information is collected in the testing unit TU, which forwards the result to the generator unit 5. There, the result of the testing is converted into a bar chart and transmitted to the display unit 6.
If bars of the height of bars 1 and 2 are displayed on the display unit 6, this is an indication, that the quality of the communications link is not optimal.
b shows a bar chart, in a case where only the monitoring unit and a control system are attached to the communications link. The absence of a bar in the diagram can have various causes.
c shows a communications link having poor quality, since some bars only the height 2, or 1. This suggests EMC-problems due to in-coupling to the communications link, the fieldbus F.
d shows a communications link with good quality, wherein the monitoring unit 10, however, is not actively participating in the communications.
The bars in the examples of diagrams described to this point are, in each case, shifted by one bar spacing to the left after each time period. In this way, the user always has the quality of the last received telegrams in the eye. The current bar appears on the right of the screen. The oldest bar leaves the screen section on the left side.
Advantageously, updating of the bar chart is done on a fixed time schedule, e.g. after every second.
The method of the invention will now be explained in greater detail.
In a first method step, in the monitoring unit 10, the communications link is tapped for data. In a second method step, the data in the monitoring unit 10 are tested on the basis of at least two criteria. The two criteria can be e.g. whether the bits and bytes in a telegram are correctly received. Other criteria are e.g. bytes correct and telegram correct. Following the testing, the result is displayed in a bar chart on the field device, wherein the height of the bars in the bar chart are a measure for the number of fulfilled criteria. The higher the telegram, the more criteria have been fulfilled.
With the method of the invention, a normal user can directly observe on the field device the quality of the communications link simply and safely. The modifications needed for the method on a conventional field device are not very extensive, so that the method is also relatively cost-favorable. The method of the invention is suited, quite specially, for tank applications, such as in the case e.g. of the product with designation NRF 590, as manufactured and sold by the assignee.
Subject matter of the invention is also a field device suitable for performing the method of the invention.
Number | Date | Country | Kind |
---|---|---|---|
10 2006 020 267.8 | Apr 2006 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2007/053600 | 4/13/2007 | WO | 00 | 2/9/2009 |