The present invention relates to data buses in general. In particular, the present invention relates to a method for operating a terminal which receives and transmits data by way of a bus line, a terminal for connection to a bus line, and a data bus system comprising a bus line and a terminal.
In applications such as in the automotive industry or in aircraft construction, these days it is increasingly common to use bus systems instead of complicated cable harness systems. This makes for easier maintainability of the system and also for a reduction both in cabling expenditure and weight. In this, in particular the automotive industry has reached an agreement in relation to a common bus standard, namely the CAN bus system according to DIN ISO 11898. In aircraft construction there are for example the ARINC 629 standard and the MIL-SDT 1553 standard. In particular in applications related to the construction of aircraft it is imperative that the bus system is very robust as far as faults are concerned. At the heart of this issue is the prevention of any breakdown in communication as a result of malfunction of an individual control device or terminal.
In these data bus systems it can indeed happen that a defective device or terminal interferes with the entire bus. The so-called “babbling idiot”, i.e. a device or terminal which continuously writes nonsensical information to the bus, is a typical example of this. In extreme cases this leads to a situation where communication between the other devices/terminals that are connected to the same bus line is no longer possible at all.
Up to now, this has been able to be prevented or brought to an end by external measures only inadequately, in that the individual transmitters have been monitored by external means, and have been switched off from the outside when a “babbling idiot” occurred. This results in increased linking effort and in addition in increased expenditure.
According to an exemplary embodiment of the present invention, a method for operating a terminal is provided which receives and transmits data by way of a bus line. The bus line is monitored to determine whether the bus line is busy, i.e. whether data is being transported by way of the bus line. Furthermore, it is determined whether, at the particular time, the corresponding terminal is transmitting data to the bus line. According to the method, the data transmission from the terminal to the bus line is prevented if it has been determined that the terminal is transmitting data to the bus line, and the bus line is busy.
In other words, according to this exemplary embodiment of the present invention any data transmission from the terminal to the bus line may be prevented, or the terminal may be blocked or switched off if the terminal is transmitting although the bus is not available.
It is believed that this makes it possible to switch off or prevent any data transmission from a terminal if said terminal turns out to be a “babbling idiot”, i.e. if this said terminal sends data to the bus line despite the bus line being busy.
According to a further exemplary embodiment of the present invention, a terminal for connection to a bus line is specified in order to receive and transmit data by way of the bus line. The tennis comprises a monitoring circuit for monitoring the bus line in order to determine whether the bus line is busy. Furthermore, the terminal comprises a transmission determination circuit for determining whether the terminal is sending data to the bus line, as well as a transmission prevention circuit for preventing data transmission to the bus line if it has been determined that the terminal is sending data to the bus line although the bus line is busy.
According to this exemplary embodiment of the present invention, a terminal is disclosed which may interrupt data transmission to the bus line entirely without external supervision, i.e. entirely of its own accord, as soon as it has been determined that such data transmission is unjustified. It is believed that thus any faulty behaviour of the transmitter or of the terminal may be detected and prevented at a higher degree of safety than is known from the state of the art.
According to a further exemplary embodiment of the present invention, a data bus system is disclosed which comprises a bus line and a terminal. In this data bus system the terminal comprises a monitoring circuit, a transmission determination circuit and a transmission prevention circuit such that transmit and receive lines of the terminal are monitored and as soon as an unjustified transmission from the terminal or from a transmitter of the terminal is registered, transmission of the data is prevented. Unjustified transmission is for example determined in that the transmitter or the terminal attempts to place data in the data line although said data line is either not available or is busy.
According to another exemplary embodiment of the present invention that both lines of the terminal, i.e. the transmit line and the receive line, are monitored, and when any unjustified transmission on the transmit line is determined, i.e. if the transmitter transmits although the bus is not available, it is determined that a fault has occurred, and the transmitter is switched off.
Below, exemplary embodiments of the present invention are described with reference to the accompanying figures.
As shown in
If in step S2 it is determined that the bus is not occupied, the process reverses recursively. If in step S3 it is determined that the transmitter is not transmitting, operation reverses recursively to step S2.
The method shown in
Advantageously, the process steps shown in
As shown in
The directional coupler 14 is connected to the transmitter 24 by way of transmit lines TX 18 and 20. Furthermore, the directional coupler 14 is connected to the receiver 22 by way of receive lines Rx 14 and 16. The receive lines RX 14 and 16 are also input signals for the carrier-sense circuit 26 and the comparator 30. The transmit lines Tx 18 and 20 are also input signals for the carrier-sense circuit 28 and the comparator 30. The outputs of the carrier-sense circuits 26 and 28 and of the comparator 30 form the inputs of the AND-gate 32.
The function of the terminal circuit shown in
If the transmitter 24 during a transmission to the data bus 2 arbitrarily starts data transmission by way of the data bus 2, the following conditions have been met:
1. On the TX-line a signal is detected, whereupon the carrier-sense circuit 28 generates an output signal.
2. On the RX-circuit a signal is detected, whereupon the carrier-sense circuit 26 generates an output signal.
3. The comparator detects that the transmit signal (on TX; i.e. on the lines 18 and 20) is not equal to the receive signal (RX, i.e. on the lines 14 and 16) and subsequently generates an output signal.
These three conditions 1 to 3 are then linked by way of the AND-gate which then by way of “transmit disable” switches the transmitter off. In this way a logic is provided within the terminal 12, which logic suppresses or prevents unjustified transmitting by the transmitter 24. In this way terminal 12 is prevented from developing into a “babbling idiot”.
The data bus 2 in
In a way that is different from
As already mentioned according to the present invention any faulty behaviour of the transmitter is detected within the terminal with a very high probability, and is also prevented. In this way there is no need to provide any external control or monitoring system which for example switches off a transmitter that changes into a “babbling idiot”. In this way, blocking of the network is prevented.
It should be noted that the term “comprising” does not exclude other elements or steps and the “a” or “an” does not exclude a plurality. Also elements described in association with different embodiments may be combined.
It should also be noted that reference signs in the claims shall not be construed as limiting the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
103 60 873.7 | Dec 2003 | DE | national |