The present invention relates to the field of sensors and in particular to sensors with multiplex data output.
Sensors are generally located at the place of the quantity to be measured. This either is required by the measuring principle itself or serves to keep measurement errors and uncertainties to a minimum. In the sensor, the measured quantities, such as temperature, magnetic field, pressure, force, flow rate, filling level, etc., are converted into physical signals which are then fed to the receiving device. As a rule, a conversion into electric signals takes place in the sensor, which signals are easy to generate, transmit, and receive, particularly if the receiver is a processor having appropriate interfaces. The signals to be transmitted can be analog or digital signals, depending on the application. Digital signals have the advantage of being less susceptible than analog signals to interference on the transmission path, but the price paid for this is increased complexity at the transmitting and receiving ends as well as on the transmission path. On the other hand, digital signals frequently fit better into the “signal landscape” of the associated processors, because the signal processing of the latter is substantially digital as well.
To avoid parallel data lines on the transmission path and corresponding parallel connections at the sensor and receiver ends, the data are often transmitted serially. Transmission is effected as a continuous data stream or as data packets separated in time. In the simplest form, the individual bits of the data are encoded by two easily distinguishable logical states and transmitted. There are plenty of known methods, the most widely known being pulse-code modulation (PCM) and pulse-width modulation (PWM), which are both binary modulation methods. Whether a carrier modulation is added does not alter this basically binary modulation scheme.
In the case of longer data words, one disadvantage of serial data transmission is the time needed for transmission, because the transmission rate is relatively slow. Long signal lines may round the pulse edges, reliable detection requires a significantly reduced data rate in comparison with the processor clock rate. As a rule, at least the associated data input of the receiver is blocked for other data during this time; in the worst case, the blocking extends to further portions of the processor, which then does not permit an interrupt, for example.
Another possibility for fast transmission of data is to reconvert the data prior to transmission into an analog signal with discrete values using a digital-to-analog converter, and to transmit this signal. This corresponds to parallel data transmission. At the receiver end, the data can then be recovered from the individual signal ranges by an analog-to-digital converter. At first sight this looks complicated, for the obvious thing to do would be to transmit the sensor's original analog output signal. If, however, processing of the sensor signal, e.g., filtering, interpolation, compensation, level adaptation, equalization, etc., takes place in the sensor, this is accomplished much more easily at the digital level, because then the associated parameters and program steps are retrievable from digital memories and the digital processing is performed in on-chip computing devices. Problems are encountered with this transmission method in the case of high-resolution sensor output signals, because then the interference variables on the transmission path are comparable to or even greater than the step width of the available signal grid.
There is a need for a system and method which permits fast and in particular reliable data transmission between the sensor and receiver even if a high resolution sensor is used.
This object is achieved through recognition that for transmission, not all data are simultaneously converted into an analog signal, a pseudosignal, but the data are converted in sections. The resulting analog signals are then transmitted in sequence in a multiplex mode. At the receiver end, the bits determined from the transmitted pseudosignals are joined together in correct sequence, so that the complete data word is available for further processing.
The number of multiplex sections and the number of data transmitted in each multiplex section are dependent on the respective characteristics of the functional units involved and on the interference to be expected. If the interference effect is low, this will permit more discretely distinguishable states than if the interference effect is high. In the limiting case, the interference effect is so high that multiplex transmission is no longer possible, but that each bit has to be transmitted separately; this, however, is the purely sequential mode.
At the receiver end, the data packets transmitted in a multiplex mode must be correctly reassembled. There must therefore be a reliable assignment telling which of the several data packets is which. This can be accomplished in many ways. A very simple solution is an identification by short intervals between those multiplex sections of a single data word which belong together, and by long intervals which serve to distinguish between different data words. In that case, the order of the data packets belonging together is fixed.
A big advantage of the multiplex transmission described is that even high-resolution sensor signals can be handled by the lower-resolution analog-to-digital converters in the processors. If a 14-bit data word is split into two 7-bit sections, a 10-bit analog-to-digital converter in the processor will be capable of resolving this signal and determining the associated 7 bits. The first 7 bits, which are assigned to the high- or low-order positions of the data word, are placed in a first register. In the second received signal, the 7 bits assigned to the low- or high-order positions of the data word are determined and stored in a second register or in free positions of the first register in correct sequence. The transmission of a 14-bit data word is thus carried out in two steps. Further processing then takes place in the processor as a 14-bit data word. One example of the requirement for high transmission accuracy is the sensing of the exact throttle position in an internal combustion engine, which is necessary for the adjustment of smooth idling.
Assuming the supply voltage for the electronics to be the usual 5 volts, an output voltage range between roughly 0.25 V and 4.75 V is available for the sensors. If a 10-bit resolution is to be achieved with this voltage range, the smallest resolution step, one least significant bit (LSB), will correspond to a voltage step of 4.88 mV. If, however, this transmission range is used for a multiplex transmission of 2 times 5 bits in accordance with the invention, the smallest resolution step LSB will correspond to a voltage step of 62.25 mV. This is a gain by a factor of about 30 over the original resolution.
The example shows that as a rule, transmission with two steps is sufficient, which simplifies the methods for identifying the two sections. For example, the available voltage range between 0.25 V and 4.75 V can be split into two parts of 0.25 V to 2.25 V and 2.75 V to 4.75 V. Then, the high-order bits are transmitted in one range and the low-order bits in the other. Noise immunity is halved, but it is still about a factor of 15 higher than in the above example of the transmission of a 10-bit signal.
The definition of or request for the respective data range can, however, also be effected by the controller itself in that the controller connects a load resistor of the transmission line via one of its I/O ports to the VSS or VDD potential. This switching is detected via the changed current direction in a suitable evaluating circuit in the sensor output and triggers the transfer of the desired data section. Another possibility of defining the data packets and, if necessary, triggering the same is to use signals on the supply line VDD or at a further terminal of the sensor. DE 198 19 265 C1 describes, for example, how command signals from an external controller are fed to a sensor via the supply voltage terminal VDD. In the simplest case, a relatively high VDD voltage value triggers the transmission of the high-order data and a relatively low VDD voltage value triggers the transmission of the low-order data or vice versa.
If the rate of change of the quantity to be measured by the sensor is relatively slow, the data in the high-order range will not change, but only the data in the low-order range will. In that case it is appropriate to transmit only the changes in the low-order data range until a change occurs in the high-order data range. If the transmission takes place in two dynamic ranges, the identification as to which data section is being transmitted is guaranteed; otherwise another kind of identification must ensure this. This method further increases the transmission speed and reduces the loading of the controller.
These and other objects, features and advantages of the present invention will become more apparent in light of the following detailed description of preferred embodiments thereof, as illustrated in the accompanying drawings.
In
One example of such an implementation is shown in
If the distinction between the short data words MSN and LSN is made via distinct voltage ranges Vout, the identifications according to
Although the present invention has been shown and described with respect to several preferred embodiments thereof, various changes, omissions and additions to the form and detail thereof, may be made therein, without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
10 2004 007 486 | Feb 2004 | DE | national |
Number | Name | Date | Kind |
---|---|---|---|
4494183 | Bayer et al. | Jan 1985 | A |
4591855 | Blackburn | May 1986 | A |
4592002 | Bozarth et al. | May 1986 | A |
4978956 | Berresheim | Dec 1990 | A |
5361218 | Tripp et al. | Nov 1994 | A |
5481200 | Voegele et al. | Jan 1996 | A |
5815100 | Rush et al. | Sep 1998 | A |
6289055 | Knotz | Sep 2001 | B1 |
6744376 | Pascalidis | Jun 2004 | B1 |
7243535 | Shimura | Jul 2007 | B2 |
20020082799 | Pramanik | Jun 2002 | A1 |
20040128043 | Weichenberger | Jul 2004 | A1 |
20040133829 | Hummel | Jul 2004 | A1 |
20050052179 | Herzer | Mar 2005 | A1 |
Number | Date | Country |
---|---|---|
23 30 263 | Jun 1973 | DE |
WO 9209 153 | Oct 1991 | WO |
WO 0124441 | Jul 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20050243184 A1 | Nov 2005 | US |