Method for programming a two-wire sensor and programmable two-wire sensor
10340911 · 2019-07-02
Assignee
Inventors
Cpc classification
G01R19/16585
PHYSICS
International classification
G01R19/165
PHYSICS
Abstract
A method for programming a two-wire sensor having at least two sensor units. The method comprises the following steps of: switching on the at least two sensor units, activating one of the at least two sensor units, capturing operating states of the at least two sensor units; detecting an operating state in which one individual sensor unit is active; and sending a programming command to the detected active sensor unit.
Claims
1. A method for programming a two-wire sensor having at least two sensor units, the method comprising the steps of: switching on the at least two sensor units; activating one of the at least two sensor units; capturing operating states of the at least two sensor units; detecting an operating state in which one individual sensor unit is active; and sending a programming command to the detected, active sensor unit.
2. The method according to claim 1, wherein the activation is caused by different clock frequencies on the at least two sensor units.
3. The method according to claim 2, wherein the different clock frequencies are produced by a random generator.
4. The method according to claim 1, wherein the activation is produced by a flip-flop.
5. The method according to claim 1, wherein the operating state of the sensor unit is captured on the basis of the current consumption of the sensor unit.
6. The method according to claim 1 further comprising programming the detected active sensor unit through the programming command.
7. The method according to claim 6, further comprising the switching off the detected, active sensor unit after the programming.
8. The method according to claim 6, further comprising the deactivation of the detected, active sensor unit after the programming.
9. The method according to claim 1 further comprising a repetition of the capture and detection of the operating state, so that a further sensor unit is programmed.
10. A two-wire sensor comprising: a first supply line and a second supply line; at least two sensor units which are connected in parallel between the first supply line and the second supply line, wherein the at least two sensor units comprise a programming logic which carries out a method for programming a two-wire sensor having at least two sensor units, comprising the steps of: switching on the at least two sensor units; activating one of the at least two sensor units; capturing operating states of the at least two sensor units; detecting an operating state in which one individual sensor unit is active; and sending a programming command to the detected, active sensor unit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further properties and advantages of the invention will result from the following, purely illustrative and in no way limiting description of preferred embodiments and reference made to the following drawings. There are shown:
(2)
(3)
(4)
DETAILED DESCRIPTION OF THE INVENTION
(5)
(6) The method for programming the sensor units 20a, 20b is represented in
(7) This selection with the activation can take place in the sensor unit 20a, 20b for example via a random generator with a flip-flop. In this case, the sensor units 20a or 20b are activated and set to readiness for receipt of programming commands for (re-)programming or set to the sleep mode.
(8) In a different embodiment (cf.
(9) The readiness for receipt of the circuits in the sensor units 20a, 20b is captured in the step 230 and in the step 240 is either measured on the basis of an increased current consumption of the two-wire sensor 10 or captured by detecting a current pulse. When one of the sensor units 20a, 20b is ready to receive, a normal current consumption is measured or a normal current pulse is detected. When both of the sensor units 20a, 20b are ready to receive, the double current consumption is measured and/or a double current pulse is detected. When no current is measured, it can be assumed that both sensor units 20a, 20b are in the sleep mode and are not ready to receive.
(10) When a normal current consumption is measured and/or the normal current pulse is detected in the step 245, the sensor unit 20a or 20b can be programmed in the step 260, since it has to be assumed that the other sensor unit 20b or 20a is in the sleep mode. When no current consumption is measured, the operating voltage is switched off in the step 250 and subsequently both sensor units 20a and 20b are activated again and the method is repeated starting with the step 210. The current supply is switched off and the method is repeated starting with the step 210 also when a double current consumption is received or a double current pulse is detected in the step 245, since in this case both sensor units 20a, 20b are ready to receive, and a programming of one individual sensor unit 20a or 20b is not possible. The steps 210 to 245 can be repeated multiple times, until it is ensured that only one of the sensor units 20a or 20b is active.
(11) The active sensor unit 20a or 20b is subsequently programmed in the step 260 by sending a programming command and is deactivated afterwards in the step 270. Subsequently, the method is repeated starting with the step 210 (in the case of activation via flip-flop) or starting with the step 230 (in the case of different clock frequencies), and the other sensor unit 20b or 20a is programmed in the step 280. When there are more than two sensor units 20a, 20b, the method can be repeated. As soon as all sensor units 20a, 20b have been programmed, the two-wire sensor 10 is operational.
(12) The second example of a command for activation of one of the sensor units 20a, 20b is represented in more detail in
REFERENCE NUMERALS
(13) 250 Switching off of operating voltage 210 Switching on of operating voltage 220 Activation 230 Capture of the operating states 240 Detection of the operating states 245 Only one sensor active 260 Programming 270 Deactivation of sensor 280 Programming of other sensor