The present invention relates to a data transmission device having a master device and a slave device connected via at least one data transmission line and one clock signal line.
Data transmission devices of the type mentioned at the outset are used today in many electrical devices. The data exchange, for instance, between different electrical switching devices gains more and more importance.
Information on programs and functions to be executed and on the devices themselves or on current device states are to be interrogatable at any time by any device at any place, and to be exchangeable among the devices. To this end, the devices are equipped down to the lowest functional levels with intelligence and corresponding device interfaces for the data exchange.
In the low-cost area, it is preferred to use serial data transmission types. This has the advantage that fewer signal lines are needed than in the case of a parallel data transmission. To keep the outlay of required hardware as low as possible, the data transmission should be implemented synchronously.
A serial synchronous data transmission between two stations requires at least one data line for bidirectional data transmission and one clock signal line or two data lines for unidirectional data transmission and one clock signal line. The clock signal line, which controls the entire signal flow between the stations, is of particular importance here. This clock signal is generated by a master device. A slave device which communicates with the master device has to adapt itself to this predetermined clock.
Known interfaces for these serial synchronous transmission types include: I2C (Philips), SPI (Motorola), Microwire (National Semiconductor), or the like. These interfaces are generally used for the data transmission between different components within one device.
If the intention is to implement such a serial synchronous data transmission between individual devices, measures have to be taken with respect to possibly occurring interference signals. To protect, in particular, the clock signal line from interference effects, provision is usually made for hardware interference suppression measures in the form of filters and screenings. In some cases, the interference immunity is supported by additional software interference suppression measures. Such software interference suppression measures are generally implemented via a repeated reading of the received information. To this end, the information is repeatedly read at intervals of about 5 to 20 μs (average duration of the interference effects) and evaluated via a majority decision (signals which are read in the majority of cases are rated as correct). To increase the interference immunity in this kind of interference suppression, the number of read operations is increased.
Interference suppression via hardware involves the disadvantage of a relatively large expenditure for hardware. Furthermore, digital software interference suppression is insufficient since only the master device which, in fact, generates the clock signal, is able to perform repeated read operations by delaying or halting the clock signal for the required (check) read time.
Therefore, an object of the present invention is to provide a data transmission device which, in a simple way, offers increased interference immunity in a serial data transmission.
The present invention provides a data transmission device for serial synchronous data transmission. The data transmission device includes a master device including a first arithmetic unit and a master interface and a slave device including a second arithmetic unit and a slave interface. The master and slave interfaces are capable of being connected via at least one data transmission line and a clock signal line, and are capable of being connected via a acknowledgment signal line configured for a transmission of an acknowledgment signal from the slave device to the master device. The second arithmetic unit is capable of generating the acknowledgment signal upon completion of a data reading operation. The first arithmetic unit is configured so that the master device is capable of initiating a further write operation to the slave device only upon receiving the acknowledgment signal from the slave device.
According to the present invention, the additional acknowledgment line enables the slave device to inform the master device of the receipt of the transmitted data and that the processing of the data as well as the corresponding interference suppression measure have been completed. The master device will not initiate any new operation in which this slave is involved until it has received the acknowledgment signal from the slave device. Due to this embodiment according to the present invention, the slave device has also the possibility to eliminate interference from received signals during an adequate period of time.
Further details and advantages of the present invention will become apparent in the following description based on an exemplary embodiment, with reference to the drawings.
In a preferred embodiment, there exist at least one data transmission line (Data-Out) for transmitting data from the master to the slave device 2, 4, one data transmission line (Data-In) for transmitting data from the slave to the master device 4, 2, one clock signal line (Clock), and one acknowledgment line (Ready) according to the present invention for transmitting an acknowledgment signal from the slave to the master device 4, 2. The interfaces of the master and slave devices 2, 4 have corresponding terminal contacts, the signal inputs of master device 2 preferably being inverted in the exemplary embodiment shown. If only one data transmission line or only one data transmission connection exists for each station, this data transmission line or connection must be suitable for bidirectional operation. In the exemplary embodiment shown, two data transmission lines (Data-Out, Data-In) exist. These are data transmission lines for a unidirectional operation; thus, an unwanted superimposition of data during simultaneous transmission of data of the two stations can be ruled out. By the implementation of an acknowledgment signal line (Ready) according to the present invention, slave device 4 is now able to inform master device 2 that the processing of received data and the checking thereof (via an interference suppression measure such as repeated reading and subsequent majority decision) is completed and slave device 4 is now ready to receive further data. Consequently, master device 2 will not initiate any new operation (in which active slave device 4 would be involved) until it receives the acknowledgment via the ready signal from slave device 4. In this manner, slave device 4 is also able to eliminate interference from signals over an adequate period of time.
In the following, the transmission protocol for the serial synchronous communication between master and slave devices 2, 4 will be explained with reference to
In the following description and in
The present invention is not limited to the specific embodiments described above but is intended to be limited only by the scope of the claims appended hereto. The present invention further includes a slave device 4 which features a slave interface 24 having an acknowledgment terminal (RDY) and which contains an arithmetic unit (microprocessor or controller) which is designed in such a manner that an acknowledgment signal for master device 2 can be generated at the acknowledgment terminal (RDY) of slave interface 24 upon completion of a data reading operation. The present invention moreover includes a master device 2 which features a master interface 22 having an acknowledgment terminal (N-READY) and which includes an arithmetic unit which is designed in such a manner that a further write operation to slave device 4 can be initiated upon receipt of an acknowledgment signal from slave device 4.
Number | Date | Country | Kind |
---|---|---|---|
199 17 576 | Apr 1999 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP00/01745 | 3/1/2000 | WO | 00 | 5/28/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO00/64125 | 10/26/2000 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4282489 | DeRienzo | Aug 1981 | A |
4308579 | Dlugos | Dec 1981 | A |
4980577 | Baxter | Dec 1990 | A |
5056113 | Takai | Oct 1991 | A |
5336947 | Lehning | Aug 1994 | A |
5343503 | Goodrich | Aug 1994 | A |
5528215 | Siu et al. | Jun 1996 | A |
5566320 | Hubert | Oct 1996 | A |
5584033 | Barrett et al. | Dec 1996 | A |
6032178 | Bacigalupo et al. | Feb 2000 | A |
6058443 | Gulick | May 2000 | A |
6178206 | Kelly et al. | Jan 2001 | B1 |
6247082 | Lo et al. | Jun 2001 | B1 |
6912210 | Uchiba et al. | Jun 2005 | B1 |
20010031026 | Kohl et al. | Oct 2001 | A1 |
Number | Date | Country |
---|---|---|
3937807 | May 1990 | DE |
0415551 | Mar 1991 | EP |
0588191 | Mar 1994 | EP |
0693729 | Jul 1995 | EP |
0769748 | Apr 1997 | EP |
6369350 | Mar 1988 | JP |
63061533 | Mar 1988 | JP |
6243052 | Sep 1994 | JP |