The present invention relates to a method for serial data transmission from a transmitter to a receiver, as well as transmitters and receivers which are capable of performing the method.
More and more digital data processing circuits are used in modern motor vehicles, in particular for detecting and controlling or regulating operating parameters of the internal combustion engine of a motor vehicle. Digital data lines which run in proximity to the internal combustion engine are subjected to strong electromagnetic interference due to the operation of the latter, in particular due to the spark plugs. This problem is particularly serious when a parameter, such as the combustion chamber pressure, is to be detected directly at the combustion chamber at high bandwidth. Standards for digital data transmission in motor vehicles, such as CAN, are known, but their implementation is still rather costly. Transmitting a measured variable to be detected in an environment heavily loaded with electromagnetic interference initially as an analog variable and performing digitization and digital processing at a greater distance from the interference source would be conceivable, but such a procedure is inherently imprecise and allows higher transmission rates only when short measuring times of the transmitted analog signal level and therefore in turn increased sensitivity to interference are accepted.
A further known method for transmitting data, which may be implemented cost-effectively and is less sensitive to electromagnetic interference, is pulse duration modulation. In this method, a pulse duration proportional to the binary numerical value of the data word is established for a digital data word to be transmitted, a pulse having the established duration is transmitted from a transmitter to a receiver, and the data word is reconstructed on the basis of the pulse duration detected by the receiver.
This known method has two essential disadvantages. Firstly, it is not possible to transmit a pulse representing the numerical value 0, since its duration would be 0. In addition, the time required for transmitting a data value increases exponentially with the resolution (i.e., the bit count) of the data value. Specifically, the duration of the shortest pulse which may be transmitted from the transmitter to the receiver is established by the structure of the transmitter, the receiver, and a transmission medium connecting the two, so that increasing-the precision by one bit causes a doubling of the pulse duration in each case.
A method for data transmission through pulse duration modulation and a transmitter capable thereof, which also allow the transmission of the value 0 by establishing the pulse duration in each case proportionally to a nonnegative integer representing the data word to be transmitted plus a constant positive allowance, are provided by the present invention as defined in claims 1 and 12. The duration of the pulse to be transmitted upon transmission of the value 0 thus solely corresponds to the numerical value of the allowance, and a detectable pulse of non-vanishing duration is incident at the receiver.
The allowance preferably contains a first term which corresponds to a number between 0 and 1; preferably 0.5. If this term is simply neglected when reconstructing the data word at the receiver, the data word is nonetheless correctly obtained again.
Preferably, the pulse to be transmitted is obtained by a digital-time conversion of an expanded data word whose bits include the original data word to be transmitted and at least one bit representative of the first term, whose significance is lower than that of the bits of the established data word.
Alternatively or additionally, the allowance preferably also contains a term whose numerical value corresponds to the greatest integer which may be represented by the original data word plus 1. It is thus ensured that the minimum duration of each transmitted pulse at least corresponds to this greatest integer which may be represented, and extremely short pulses, which require a high bandwidth of the transmission medium for their transmission, are avoided.
Such a pulse is easily obtainable by a digital-time conversion of an expanded data word whose bits include the original data word to be transmitted and, in addition, a bit having the value 1, whose significance is higher than that of the bits of the original data word.
Very rapid transmission even of data values having very high resolution may be achieved by first dividing the bits of the digital data value to be transmitted into multiple data words and performing the transmission through pulse width modulation as described above in succession for each of the data words thus obtained. This is only possible because the method according to the present invention also allows the transmission of a data word having the value 0. A receiver capable of this is the subject matter of claim 16.
In order to save time during the transmission of the multiple data words in succession, it is expedient to transmit them directly in succession having alternating levels.
A time window of predefined length may be provided for each data value, in which the data value, divided into an odd number of data words, is transmitted. It results from this that a filler signal is transmitted at the end of each time window, whose level is identical to the pulse used for transmitting the second data word, so that the identical level may be used in each case for the first data words of different data values.
During transmission of a data value divided into an even number of data words in a time window of predefined length, the first pulses of successive data values—each of which corresponds to their first data words—are each transmitted using alternating levels.
Because of the use of a time window of fixed duration for each data value, the starting instants of the first pulse of each data value have a fixed time interval corresponding to the duration of the time window. A receiver is therefore capable, on the basis of the periodic return of the beginning of the first pulse, of recognizing them and thus synchronizing itself.
Further features and advantages of the present invention result from the following description of exemplary embodiments with reference to the attached figures.
The transmitter schematically shown in
a11
a10
If the numerical value of the least-significant input bit of converter 4 supplied with a bit from converter 2 is assumed to be 1, three bits i2, i1, and i0 represent an allowance of 0.5.
A 2-bit control signal applied to a control input 3-C of multiplexer 3 determines which of its inputs 3-H, 3-M, 3-L, and 3-N is connected through to output 3-O. A digital-time converter 4, which is used for the purpose of providing output pulses whose duration is linearly proportional to the numerical value represented by the particular 7-bit word output by multiplexer 3, is connected to output 3-O. For this purpose, digital-time converter 4 includes a 7-bit counter, which counts cycles of a clock generator 5, and a comparator, which compares the content of the counter to the data value input into converter 4 and outputs a positive output level on a transmission line 6 as long as the count is less than the input data value and goes to 0 when the count is greater. Clock generator 5 also provides the 2-bit control signal at control input 3-C, which changes its value every 128 cycles. The change of the value of the control signal is synchronized in each case to the overflow of the counter of converter 4, which repeats every 128 cycles.
A receiver for the signal shown in
In each case after the reception of 3 pulses by time-digital converter 12, memory locations 13H, 13M, 13L of shift register 13 contain bits a11 through a8, a7 through as, or a3 through a0 of the same output value of analog-digital converter 2. By simultaneously reading out all 3 memory locations, this 12-bit data value is reproduced on the receiver side.
In order to allow the receiver to differentiate between the different significant pulses of the same data value, an empty time window may be transmitted in each case between time windows FL and FH belonging to successive data values, the receiver reacting to the arrival of this empty time window by erasing shift register 13. It is thus ensured that the content read out of shift register 13 after receiving free pulses in each case is associated with the same data value. The empty time window may be transmitted after each individual data value or also only after a larger number of data values.
The duration of time window F does not need to be greater than 3×27=384 cycle periods of clock generator 5, since the maximum possible length of pulses IH, IM, IL is binary “1111100”=124 cycle periods in each case, and as a result at least 12 cycle periods having signal level logical 0 remain at the end of time window F, which separate pulse IL from pulse IH′ of the following time window.
In order to be able to analyze the pulses correctly at the receiver, it must be capable of identifying the particular first pulse from a group which jointly codes a data value, i.e., pulse IH here. For this purpose, the receiver schematically shown in
A synchronization is also achievable in the same way if three successive pulses do not code a data value, as assumed above, but rather a larger odd number of pulses; in the latter case, multiple reset procedures may merely be required before the synchronization is established.
The data rate achievable using this embodiment is higher than that in the transmission method explained with reference to
Instead of breaking down a data value to be transmitted into three data words, each of which is to be converted into a pulse, breaking it down into an even number of data words is also possible.
a11
a10
Digital-time converter 4 thus receives data words of 8 bits wide from multiplexer 3, whose value may be between binary 10000100=132 and binary 11111100=252, so that the length of the pulses output by converter 4 is between 132 and 252 cycle periods in each case. The production of pulses of fewer cycle periods in duration, which are possibly strongly damped by transmission line 6 between transmitter and receiver and therefore may be analyzed incorrectly at the receiver, is avoided in this way.
A receiver capable of processing the transmission signal of
In all exemplary embodiments considered up to this point, width-modulated pulses IH, IM, IL have been transmitted in a time window F of fixed duration. It is possible to increase the data rate by using time windows without fixed duration, as shown in
Number | Date | Country | Kind |
---|---|---|---|
10 2005 009 735.9 | Mar 2005 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2006/060380 | 3/2/2006 | WO | 00 | 9/4/2007 |