FAULT TOLERANT INTERFACE FOR SAFETY CONTROLS
20230032795 · 2023-02-02
Inventors
- Ted W. SUNDERLAND (Washington, MO, US)
- Nicolas G. SPARACELLO (Washington, MO, US)
- Zachary R. WRIGHT (Wildwood, MO, US)
Cpc classification
H04Q9/00
ELECTRICITY
H04Q2209/823
ELECTRICITY
International classification
Abstract
A fault tolerant interface includes a sensor and a safety control that are electrically connected to each other by a single wire. The sensor is configured to provide various signals to the safety control dependent on environmental parameters. Based on the ignal received by the safety control, the fault tolerant interface may act accordingly and place the overall system in a mitigative state in the event of a fault state or an alarm state. Data and fault or alarm states are detected by determining a first time interval between a first edge and a second edge of a signal, wherein an edge is one of a transition of the signal from a first voltage to a second voltage or a transition of the signal from the second voltage to the first voltage on a single wire. Data values versus fault or alarm states are assigned based on whether a current time interval corresponds to the first time interval or the second time interval, or another time interval associated with alarm or fault states.
Claims
1. A fault tolerant interface, comprising: a sensor configured to provide a signal corresponding to an environmental parameter, wherein the sensor operates in one of a normal state, or an alarm or fault state, wherein the signal corresponds to one of the normal state, or the alarm state or the fault state, wherein a value associated with the signal is predetermined; and a safety control coupled to the sensor via a single wire, the safety control configured to transmit serial data to the sensor and receive serial data from the sensor via the single wire in the normal state, wherein the safety control is further configured to detect the alarm state or the fault state based on the signal prior to decoding the serial data; wherein the safety control is configured to determine a data bit associated with a time interval between changes in a voltage level detected on the single wire, the time interval constituting an interval between a rising edge and a falling edge of the voltage level.
2. The fault tolerant interface of claim 1, wherein the safety control and sensor each transmits training bits to define the time interval associated with the data bit.
3. The fault tolerant interface of claim 1, wherein a second time interval corresponding to a multiple of the time interval defines a second data bit.
4. The fault tolerant interface of claim 1, wherein the time interval is distinct from the defined second time interval and a third time interval, the third time interval corresponding to a second multiple of the time interval and defining a third data bit.
5. The fault tolerant interface of claim 1, wherein the alarm state is associated with a first voltage level detected for an alarm time interval that is an extended time interval relative to the training bit, data bit and the third data bit.
6. The fault tolerant interface of claim 1, wherein the fault state is associated with a second voltage level detected for a fault time interval that is an extended time interval relative to the training bit, data bit and the third data bit.
7. (canceled)
8. The fault tolerant interface of claim 1, wherein the safety control is configured to output a safety control command in response to detecting at least one of the alarm state or the fault state.
9. A method of single wire communication comprising: determining a first time interval between a first edge and a second edge of a signal provided by a sensor, wherein the sensor operates in one of a normal state, or an alarm or fault state, wherein the signal corresponds to one of the normal state, or the alarm state or the fault state, wherein a value associated with the signal is predetermined, wherein an edge is one of a transition of the signal from a first voltage to a second voltage or a transition of the signal from the second voltage to the first voltage on a single wire; assigning a training pulse value to the first time interval; assigning a first bit value to a second time interval, which is a multiple of the first time interval; assigning a second bit value to a third time interval associated with a second multiple of the first time interval; and detecting a plurality of characters, wherein the detection is performed by: detecting a pair of edges and determining a current time interval between edges; determining whether the current time interval is associated with one of the first time interval, the second time interval or the third time interval; and assigning the bit value that corresponds to the current time interval based on whether the current time interval is the first time interval, the second time interval or the third time interval.
10. (canceled)
11. The method of claim 9, further comprising a safety control coupled to the sensor via the single wire, the safety control configured to transmit serial data to the sensor and receive serial data from the sensor via the single wire in the normal state, wherein the safety control is further configured to detect the alarm state or the fault state based on the signal prior to decoding the serial data.
12. The method of claim 10, wherein when more than one sensor is providing a signal each sensor is provided a unique address, and priority is given to a sensor that has a higher priority state, and as between sensors having a same priority state priority is given to the sensors in order of address.
13. (canceled)
14. The method of claim 9, wherein the safety control transmits training bits to define the time interval associated with a data bit, and the sensor transmits training bits to define the time interval associated with the data bit.
15.-16. (canceled)
17. The method of claim 9, wherein the safety control is configured to output a safety control command in response to detecting at least one of the alarm state or the fault state.
18. The method of claim 9, further comprising detecting an alarm condition corresponding to the first voltage at a continuous level for an alarm time interval, and detecting a fault condition corresponding to the second voltage at a continuous level for a fault time interval.
19. The method of claim 9, wherein data is represented by the time interval between the first edge and the second edge allowing additional characters to be represented by various multiples of a duration of the time interval.
20. A fault tolerant interface comprising: a system for providing real-time feedback from a plurality of sensors to a safety control; wherein: the plurality of sensors is configured to provide a signal corresponding to an environmental parameter, wherein the plurality of sensors operates in one of a normal state, an alarm or a fault state, wherein the signal corresponds to one of the normal state, or the alarm state or the fault state, wherein a value associated with the signal is predetermined; the safety control is coupled to the plurality of sensors via a single wire, the safety control being configured to transmit serial data to the plurality of sensors and to receive serial data from the plurality of sensors via the single wire in the normal state, wherein the safety control is further configured to detect the alarm state or the fault state based on the signal in addition to decoding the serial data; and the safety control is configured to determine a data bit associated with a time interval between changes in a voltage level detected on the single wire, the time interval constituting an interval between a rising edge and a falling edge of the voltage level.
21. The fault tolerant interface of claim 20, wherein a sensor consistently controls a line until a second sensor takes control of the line from the sensor so that exactly one sensor controls the line at any given time.
22. The fault tolerant interface of claim 20, wherein control of the line is prioritized based on message importance.
23. The fault tolerant interface of claim 20, wherein control of the line permits multi-directional data transfer, and a sensor conditionally synchronously replies to data transmissions.
24. (canceled)
25. The fault tolerant interface of claim 23, wherein the reply is used to search for an optimal value, the optimal value is used for unique address assignment, and data is manipulated such that the calculation of the training pulse duration is based on average pulse widths of the first pulse and the second pulse.
26. (canceled)
27. The fault tolerant interface of claim 20, wherein three pulses are present including a first pulse and a second pulse being unconstrained multiples of a training pulse duration while a third pulse is a training pulse, and a dynamic process for communication of a parameter determination uses blips in data transmission.
28.-29. (canceled)
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
DETAILED DESCRIPTION
[0019] The following detailed description and appended drawings describe and illustrate various exemplary embodiments of the invention. The description and drawings serve to enable one skilled in the art to make and use the invention and are not intended to limit the scope of the invention in any manner. With respect to the methods disclosed, the steps presented are exemplary in nature, and thus, the order of the steps is not necessary or critical.
[0020] Referring to
[0021] An embodiment of the present application includes the multi-functional single wire interface 10 that is generally comprised of the host safety control 12 and the sensor 14, wherein the host safety control 12 and the sensor 14 are electrically coupled by an open drain/collector output and low impedance single signal wire 16.
[0022] The host safety control 12 includes a low impedance pull up resistor R1 to a DC voltage supply 18. The host safety control 12 may control a voltage on the signal wire 16 by control of a transistor Q1. The sensor 14 transmits data and signals indicating an operating state by control of a transistor Q2. The sensor 14 may control a voltage on the signal wire 16 by control of a transistor Q2. The data line is protected from shorts to a ground 20 or the voltage supply 18 by PTC thermistors PF1 and PF2 of the host safety control 12 and the sensor 14, respectively.
[0023] A mitigating action is assumed to be necessary when at least one of an alarm state or a fault state is detected by the host safety control 12 via the signal wire 16, wherein the signal received by the host safety control 12 is transmitted from the sensor 14. When the alarm state is active (as shown in
[0024] As referenced above,
[0025] During normal operation, i.e., a normal state, a given sensor 14 transmits the data corresponding to sensed values of the environmental parameter via the signal wire 16 to the host safety control 12 using a binary signaling scheme. The transmission of sensed data may be initiated by the sensor 14 at fixed intervals asynchronous to the host safety control's 12 operation. The data is transmitted on the signal wire 16.
[0026]
[0027] The binary bits are fixed-time and/or clock independent and are demarcated by a change in a voltage level 26 as indicated by the rising and falling edges. Since each data bit is represented by the period between rising and falling edges, extended high and low levels on the signal line is eliminated. This reduces bit error due to external noise, as contiguous data bits of the same value do not present long periods of the same voltage state on the data line, which are more susceptible to electro-magnetic interference that could disrupt the data. Additionally, the binary 1 bit may be associated with any time interval less than the duration, t.sub.1, of each training bit, and the 0 bit may be associated with a second time interval greater than a multiple of the duration, t.sub.1, of a training bit such as 1.5 to two times the training bit duration. The bit timing relationship provides wide tolerance in changes in transmission speed. Furthermore, representing data by the time interval between rising and falling edges allows additional characters to be represented by various multiples of the duration, such as when providing additional command signals. The host safety control 12 may be programmed to decode and use the sensed data for initiating safety functions, or simply use the data pulses and fixed idle time as an indication that the sensed value has not traversed a predetermined safety limit without processing the sensed parameter data.
[0028]
[0029]
[0030] In response to detecting the continuous high level for the extended alarm time interval, the host safety control 12 may determine the sensor 14 is indicating an alarm state and request the current sensed data by activation of the REQ pin and pulling the signal LO for a predetermined time, as shown in
[0031] When multiple sensors are employed with control over the single communication line, individual sensor signal activity must be prioritized so that more imminent or significant issues are handled with higher priority. For example, the detection of an alarm state would require more imminent action than detection of a normal operation state, or detection of a less significant state such as addition of a sensor or a sensor address change. In general, a first priority check is made in connection with a sensor state, such as whether or not a sensor is in an alarm state or other state, with the various states being assigned a priority order. If two or more sensors are in a same state (and thus have the same state priority), priority further proceeds based on sensor address, for example with a lower address being prioritized over a higher address. As each sensor is associated with a unique address, a combination of a prioritized sensor state with a sensor address provides a unique priority ordering that still favors higher priority states.
[0032]
[0033] To implement this, multiple priority levels and addresses are depicted in
[0034] As referenced above, different states are assigned a different priority level for control by the host safety control 12. The following provides an example of priority ordering of states that may be experienced by one or more of the sensors: [0035] 1. Alarm state; [0036] 2. Fault state; [0037] 3. Check alarm state; [0038] 4. Addressing; [0039] 5. New sensor; [0040] 6. Poll; [0041] 7. Data response; [0042] 8. Request data; and [0043] 9. Change address.
[0044] As also referenced above, in consideration of the example priority levels, when two sensor devices are attempting to transmit the same priority message, i.e., two sensors are in the same state, the sensor device with the lower address is given priority such that the combination of state priority level and address priority results in one unique device being given control of the communication line. A device in control of the communication line retains control until a different device takes control using the defined Priority and Address checks described above. If a device registers that the line is pulled LO during the Priority Check, or Address Check before that device's own Assertion, the device loses the priority check and stops attempting to communicate during the current message block.
[0045] The unique address is obtained by utilizing one device operating as an address server with all other devices assumed to have a unique identifier (UID).
[0046] Devices that could possibly be the lowest UID transmit their UID starting with the most significant bit at pulse B and ending with the least significant bit at pulse E. If the current bit for a device is 1, but control system finds that a different device has a 0 for the same bit, it knows that it is not the lowest and remains idle (line HI) for the rest of the current message (for example, after pulse C specifically in reference 17 of
[0047] The highlighted bit adjacent to the “addr. 1” or “addr. 2” label in pulse E in each of the references 17, 19, and 21 is indicative of the line of the device that is to be addressed by the address server. Section G is used to transmit the pairing of the UID that was identified as the lowest unaddressed device and the new address assignment (for example, in reference 19 of
[0048] With reference to each of the identified lines 1-5 in
[0049] In addition to normal operation and alarm states, a sensor also may experience a fault state in which the sensor(s) 14, via a self-test, determine that they have experienced a circuit fault.
[0050] Accordingly, during a sensor fault condition the host safety control 12 is configured to detect the continuous low level on the signal wire 16. Thereafter, the host safety control 12 may execute an action in response to the detected fault state, such as transmitting fault data or a fault control signal to the associated safety system to perform a requisite mitigation operation. In some safety control systems, the fault data and/or the fault control signal may be the same as the alarm data and/or the alarm control signal.
[0051] As referenced above, for normal operation in which data bits are transmitted, a 1-bit versus a 0-bit is determined based on an edge-to-edge duration relative to a duration of a training bit. In the above examples, a 0-bit has a duration that is a multiple less than one times a training bit duration whereas a 1-bit has a duration equal to a greater than one multiple (e.g., 1.1 to 1.9) the duration of a training bit. These multiples can be defined as the coefficients A and B, whereas a bit with length A*T is a 0-bit and a bit with length B*T is a 1-bit.
[0052]
[0053] Because the host safety control 12 must receive training bits to learn the addresses and associated signals according to each respective sensor, the 0s and 1s pulsed to the host safety control 12 must be distinct to avoid error. Accordingly, training bit definition, and the related definition of 1s and Os relative to the training bit, should be uniform and accurate.
[0054] Referring to
[0055] For any selection of a training bit, 1-bit, and 0-bit lengths, a specifically weighted average of 1-bit and 0-bit lengths will equal the training bit length. For this example, a training bit is defined as time T, a 1-bit is defined as 1.2 T, and a 0-bit is defined as 0.8 T. A 1:1 average of 1-bit and 0-bit lengths equals T. The 1:1 average is what drives the desire for equal representation of 1s and 0s in the normalized data set, but the distribution of 1-bit and 0-bits may be altered by changing the reversible arithmetic and/or logical operation to match the desired weight of 1-bit length and 0-bit lengths relative to the training bit. By averaging a sufficiently long string of data, the system may confidently determine a working training pule length prediction, {circumflex over (T)}, where all pulses longer than c.sub.1×{circumflex over (T)} are accurately read as a 1-bit and all pulses shorter than c.sub.2×{circumflex over (T)} are accurately read as a 0-bit and the rem ining pulses between c.sub.1×{circumflex over (T)} and c.sub.2×{circumflex over (T)} in length are accurately read as training bits. The initial {circumflex over (T)} prediction is sufficient for system operation but may be refined by averaging only training bits at this point.
[0056] In another exemplary embodiment, the host safety control 12 may be a non-intelligent device configured to monitor the signal wire 16. The host safety controller may monitor the signal wire 16 for pulses, and if the pulses stop (e.g., the signal is at the continuous HI/LO level), the host safety control 12 can signal that the multi-functional single wire interface 10 has detected an alarm state. In this embodiment, the signal transmitted by the intelligent sensing device may be processed by a microcontroller or other device in another part of the system.
[0057] In a safety critical system, the host safety control 12 determines and/or transmits a signal to initiate similar system responses to both alarm and sensor fault states. The state indicator, e.g., alarm and fault, improves detection of alarm and fault states. For example, a disconnected sensor, a shorted data line to V+, a grounded data line, and/or a power loss to the sensor 14 all result in the host safety control 12 detecting a continuous HI/LO on the signal line denoting an alarm state or fault state. Upon detecting the state, the host safety control 12 may initiate the corresponding mitigating action without decoding any data transmitted by the sensor 14. Because the host safety control 12 is configured to detect an alarm state and/or a fault state without relying on the data, the host safety control 12 response is faster and more reliable than existing technologies allowing for a less complex host safety control 12 than would otherwise be required.
[0058] Although some embodiments have been discussed in terms of the alarm state corresponding to a continuous HI level and the fault state corresponding to a continuous LO level, it should be understood that any value may be assigned to alarm or fault states. Thus, the continuous HI/LO level is not intended to denote a specific, continuous voltage, but to encompass an electromagnetic signal near a specified value subject to fluctuations due to noise and other circuit characteristics. One of ordinary skill in the art would recognize many variations, modifications, and alternatives. Additionally, circuit elements may be added to the fault tolerant interface for safety controls of
[0059] Although the invention has been shown and described with respect to a certain embodiment or embodiments, it is obvious that equivalent alterations and modifications will occur to others skilled in the art upon the reading and understanding of this specification and the annexed drawings. In particular regard to the various functions performed by the above-described elements (components, assemblies, devices, compositions, etc.), the terms (including a reference to a “means”) used to described such elements are intended to correspond, unless otherwise indicated, to any element which performs the specified function of the described element (i.e., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary embodiment or embodiments of the invention. In addition, while a particular feature of the invention may have been described above with respect to only one or more of several illustrated embodiments, such feature may be combined with one or more other features of the other embodiments, as may be desired and advantageous for any given or particular application.