The invention relates to a device for transmitting data between a sensor, in particular a capacitive fill-level sensor or a pressure sensor, and an evaluating unit, wherein the sensor and the evaluating unit are spatially separated. Moreover, the invention relates to a method for adjusting, testing and operating the device in accordance with the invention.
Although reference will always be made to a capacitive fill-level sensor in what follows, the invention can basically be applied to any type of measuring device in which the sensor and the evaluating unit have a defined spatial distance from each other. Thus, the device in accordance with the invention, or the method in accordance with the invention, can also be employed in connection with a pressure sensor.
A capacitive fill-level probe is known from DE 195 36 199 C2, which is mounted at the level of the fill level to be monitored. Such probes are also called threshold level detectors and are mounted in the form of overflow protection devices in containers or, upstream of pumps, as protection devices against running empty. If the probe is covered by the filler material to be respectively detected, it has a larger capacitance than in the uncovered state. The measured capacitance value is compared with a threshold value by means of a capacitance measurement circuit and a comparator; from the result it is possible to determine whether the fill level to be monitored has been reached, or has not yet been reached. The setting of the threshold value, or of the switch point, is of course extremely critical in this connection. Therefore the solution disclosed in DE 195 36 199 has as its aim to propose an automatic method for optimizing the setting of the switch point.
The rope probe described in EP 0 857 954 is employed when the measurement using a fill-level sensor or pressure sensor is to be performed at a location which is not easily accessible from the outside. An example of this is the placement of a probe at a defined height inside a tank or a reservoir. The rope is used for fixing the probe in place. The electrical supply and unidirectional transmission of measuring signals between the probe and the evaluating unit integrated in a housing takes place at the same time.
The solution described in EP 0 857 954 A1 describes a device for fastening the rope to the probe in which the device withstands all process-related stresses, in particular large tensional forces. However, the laid-open publication does not contain any clue regarding a bidirectional data exchange between the probe and the remotely located evaluating unit.
Moreover, the adjustment of the sensor for correct setting of the switch point is of quite considerable importance for the dependable and correct operation of the sensor during the process.
Besides, tolerances in the electronic and mechanical components are compensated by the adjustment. Since sensors are customarily encapsulated following mounting, an adjustment, for example by means of the torsion of a potentiometer or the installation of an additional resistor, is no longer possible. Therefore the sensor must be laid out in such a way that it can be adjusted from the outside.
The object of the invention is to provide a device and a method which make it possible to test and/or to adjust and/or to operate a sensor, which is part of the process, from the outside.
The object is attained in that a first processor unit is provided, which is assigned to the sensor, and that a second processor unit is provided, which is assigned to the evaluating unit, and that at least one connecting line is provided over which the two processor units exchange data bidirectionally. It is thus not only possible that the sensor supplies the determined measuring data to the evaluating unit, but data and signals are also transmitted from the evaluating unit to the sensor. The transmitted data are, for example, an adjustment value, wherein this adjustment value adjusts mechanical and/or electrical deviations among the sensors, or they show the response progression of the sensor, which mirrors the measured data supplied by the sensor as a function of the degree of coverage. Thereafter an adjusted sensor can be connected with any arbitrary evaluating unit, since all respectively adjusted sensors show a uniform behavior to the outside. Conclusions regarding malfunctions of the sensor can be drawn from the stored response progression.
A preferred further development of the device of the invention provides for the second processor unit to be integrated in the evaluating unit and/or the second processor unit to be integrated in an auxiliary device, for example a PC (personal computer). If the sensor is connected with a PC, it is possible to check and test it at arbitrary intervals in respect to its functionality in the process, for example by means of a test and/or simulation program stored in the PC. The device in accordance with the invention, which is based on two processor units communicating with each other, also detects if the sensor fails. It remains to be stated that the desired functional ability of the device is achieved in a cost-effective manner.
In accordance with an advantageous further development of the device of the invention, one of the processor unit is a master processor and the other processor unit a slave processor. The master and slave processors are preferably connected with each other over two data lines, wherein one data line is a unidirectional line, through which the master processor provides the clock pulse, and the other data line is a bidirectional line through which the two processor units communicate with each other. The digital data communication has the known advantage over the analog data communication of a substantially greater interference protection.
In accordance with an advantageous further development of the device of the invention it is provided that the electrical current supply of the sensor takes place over the two data lines (two-wire circuit), or that two further lines are provided, over which the electrical current supply of the sensor takes place (four-wire circuit).
For reducing the manufacturing cost, it is provided in accordance with the preferred embodiment of the device of the invention that an RC oscillator, which generates the clock pulse for the communication between the two processor units, is assigned to each of the two processor units. Incidentally, to keep the power consumption of the processor units as low as possible, they are operated at a relatively low clock pulse (approximately 1 to 2 MHz).
In accordance with a preferred aspect of the device of the invention, the signals representing the measured quantity respectively to be determined are processed in the processor unit assigned to the sensor. It is furthermore provided that the processor unit assigned to the sensor has a memory unit, in which the quantity to be measured for matching the sensor to a reference variable, the so-called adjustment value, is stored.
In respect to the method for adjusting, testing and operating the above described device of the invention, the object is attained in that the data exchange between the two processor units is performed by a clock pulse flank-controlled point-to-point transmission. This type of digital communication is distinguished by its reaction being relatively little prone to clock pulse fluctuations of the processor units. This is important because for reasons of cost the processor units are preferably operated with RC oscillators. Incidentally, in this connection, relatively little prone means the relative clock pulse fluctuations of up to −50% and +100%, which can be caused by tolerances and aging, do not impair the data transfer.
In accordance with an advantageous further development of the method of the invention it is provided that in the adjustment and test phase the sensor is switched into the measuring mode, and that for determining the respective value of the quantity to be measured, the sensor is switched into the normal mode.
Furthermore, an advantageous embodiment of the method of the invention provides that during measuring operations the response of the sensor is determined by approaching or simulating defined values of the quantity to be measured, and that the detected response course is stored. As already previously described, the response course is preferably stored in the processor unit of the auxiliary device (for example the PC).
In accordance with an advantageous further development of the method of the invention it is provided that following final installation, the sensor is connected with an auxiliary device, for example a PC, that the auxiliary device switches the sensor into the measuring mode, that the response course of the sensor is recorded and that a check is made on the basis of the stored values of the quantity to be measured whether the sensor operates correctly. The response course of the sensor is here understood to be the measuring voltage as a function of the degree of the covering of the sensor. The determination and checking of the response curve is important for detecting manufacturing errors and scattering.
An advantageous embodiment of the method of the invention provides that reaching a predetermined value of the quantity to be measured is simulated, and that the measured value of the value to be measured is permanently stored as the adjustment value. Moreover, it is proposed that the stored value of the quantity to be measured is verified by means of a subsequent check operation before the final storage of the adjustment value takes place.
Incidentally, the adjustment or reference value is located in the vicinity of the subsequent switch point for a filler material to be detected with a small dielectric constant. It is possible by means of these steps to keep tolerances very low. Incidentally, the actual switch points are determined in accordance with a definite rule for computing. The corresponding detection method already constitutes the prior art.
In accordance with an advantageous further development of the method of the invention, the switching threshold for reaching the predetermined quantity to be measured is determined during initialization on the basis of the adjustment value and of the response value transmitted by the master processor in the evaluating unit in those cases, where the sensor is employed as a threshold limit switch, which signals when a predetermined measured value has been reached, for example the reaching of a threshold fill level in a container.
In particular, it is provided that exceeding or falling below the switching threshold is transmitted to the processor unit operating as the master processor, that on the basis of the transmitted data the master processor forms an average value and that, following definite detection of the switching state, this average value is forwarded to an output/display unit. An improved interference suppression is made possible by forming the average value. A switching delay is simultaneously realized. Only after a definite determination of the switching status is the latter forwarded to the output and, for example, to a switching status indicator.
The invention will be explained in greater detail by means of the following drawings. Shown are in:
A first processor unit 6 is assigned to the evaluating unit 5, and a second processor unit 8 to the sensor 7. The processor unit 6 assigned to the evaluating unit 5 preferably is a master processor, and the processor unit 8 assigned to the sensor 7 is a slave processor. Both processor units 6, 8 communicate with each other via data lines 11, 12, wherein the data line 11 is a unidirectional data line, over which the master processor 6 provides a clock pulse. The second data line 12 permits a bidirectional data exchange between the master processor 6 and the slave processor 8. For adjusting or testing and/or operating, the device 1 in accordance with the invention can be is connected with an auxiliary device 13, preferably a personal computer. An adjustment value determined for the respective sensor 7 is stored in the memory means 16 which, the same as the slave processor 8, is integrated in the sensor 7.
The characteristic transmission curve of a low-pass filter, which can be used with the device of the invention, is represented in FIG. 3. While low-frequency signals can pass almost undamped through the line, high-frequency signals are damped, or completely suppressed. In connection with the present invention, the preferred and sufficient clock pulse frequency lies at approximately 100 Hz. This base frequency, as well as its first harmonic wave, are thus transmitted without damping from the master processor 6 to the slave processor. However, the noise-suppression elements 17, 17′, 18, 18′ do not merely assure the transmission of data without interference. They also have a protective function when, for example, the data lines 11, 12 are open during assembly.
The corresponding communication between the slave processor 8 and the master processor 6 is shown in the lower representation in FIG. 4. During the standard operation of the fill-level sensor as a threshold level detector, 2-bit data are transmitted, which correspond to the state “COVERED”, or “UNCOVERED”. During testing operations or measuring operations, 10-bit data are transmitted in the case represented.
In the state of rest, both lines 11, 12, or SC, SD, are set to logical 1. Each connection build-up must be initiated via the state of rest “STOP”. To initiate a transmission, the master processor 6 sets data to 0, while SC remains on 1. That data may only be changed while SC in set to 0 applies to all further bits. Data are evaluated by the receiver while SC is set to 1.
Each transmission starts with a data direction bit, which is followed by data bits. An identical acknowledgement bit “Ack” is always transmitted at the end as a check. Data protection is preferably provided by a repetition; such a method makes lesser demands on the processor 6, 8 than methods which accomplish protection by means of a parity bit or a check sum.
It is furthermore provided that different response values can be set in the device of the invention for the correct determination of the switch point. A quadruple dip switch is provided in the evaluation unit 5 particularly for this purpose. The processor unit 6 reads off the set value and fixes the switch point as a function of the measured value in the “UNCOVERED” state. The “new” setting of the switch point is always performed when the response setting is changed.
Following program start at point 23, a predetermined fill level value is simulated at program point 24. The measured data from the sensor are read in at 25. Thereafter the measured data are compared with the preset reference variables (program point 26). If the measured value does not lie within the tolerance around the predetermined reference variable, an error report is issued at 28; the sensor 7 is defective. But if the actual value corresponds to the reference variable, the program is terminated at point 27.
Number | Date | Country | Kind |
---|---|---|---|
199 54 186 | Nov 1999 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP00/10710 | 10/31/2000 | WO | 00 | 9/10/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO01/35369 | 5/17/2001 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4532892 | Kuzara | Aug 1985 | A |
5122794 | Warrior | Jun 1992 | A |
6226212 | Sakamoto et al. | May 2001 | B1 |
6363785 | Senghaas et al. | Apr 2002 | B1 |
6516879 | Hershberger | Feb 2003 | B1 |
6693553 | Ciglenec et al. | Feb 2004 | B1 |