Sensor system
11871166 ยท 2024-01-09
Assignee
Inventors
Cpc classification
H04Q9/00
ELECTRICITY
G08C25/00
PHYSICS
International classification
H04Q9/00
ELECTRICITY
Abstract
There is provided a sensor system for use in a high voltage direct current network. The sensor system comprises a plurality of sensor devices, each sensor device configured to obtain a respective sensor measurement, wherein the plurality of sensor devices are configured to generate a serial data unit for transmission to a recipient system, the serial data unit configured to include the plurality of sensor measurements (S.sub.1, S.sub.2, S.sub.n), the serial data unit further configured to include a plurality of validity indicators (FCS.sub.1, FCS.sub.2, FCS.sub.n), each validity indicator (FCS.sub.1, FCS.sub.2, FCS.sub.n) configured to provide an individual validity status of a respective one of the plurality of sensor measurements (S.sub.1, S.sub.2, S.sub.n).
Claims
1. A sensor system for use in a high voltage direct current network, the sensor system comprising a plurality of sensor devices, each sensor device configured to obtain a respective sensor measurement, wherein the plurality of sensor devices are configured to generate a serial data unit for transmission to a recipient system, the serial data unit comprising a serial sequence of bits configured to include a plurality of sensor measurements, the serial sequence of bits further configured to include a plurality of validity indicators, each validity indicator being in between two respective sensor measurements of the plurality of sensor measurements in the serial sequence of bits and configured to provide an individual validity status of a respective one of the two respective sensor measurements; a sensor management unit configured to evaluate said each validity indicator from the serial data unit to detect that the serial sequence of bits comprises a first validity indicator labeling a valid sensor measurement for a first sensor measurement adjacent to the first validity indicator in the serial sequence of bits and a second validity indicator labeling an invalid sensor measurement for a second sensor measurement adjacent to the second validity indicator in the serial sequence of bits the sensor management unit further configured to generate a modified serial data unit based on the serial data unit subsequent to the sensor management unit evaluating said each validity indicator, and to determine, based on the second validity indicator, that the second sensor measurement is invalid, wherein the modified serial data unit is configured to include the valid sensor measurement from the serial data unit and an error indicator that identifies the second sensor measurement from the serial data unit as invalid and to include the error indicator that identifies the second sensor measurement from the serial data unit as invalid; and the sensor management unit further configured to transmit the modified serial data unit to the recipient system; and wherein the sensor management unit is further configured to transmit the serial data unit to the recipient system in response to the sensor management unit determining that none of the plurality of sensor measurements are invalid.
2. The sensor system according to claim 1, wherein each sensor measurement of the plurality of sensor measurements includes a single physical measurement or includes a set of physical measurements arranged serially.
3. The sensor system according to claim 1, further including at least one gateway of a plurality of gateways configured to be in communication with the plurality of sensor devices, wherein each gateway includes the sensor management unit, and said each gateway is configured to be communicable with the recipient system.
4. The sensor system according to claim 1, wherein the modified serial data unit is configured to include the valid sensor measurement from the serial data unit.
5. The sensor system according to claim 1, wherein the modified serial data unit is configured to omit the validity indicators from the serial data unit.
6. The sensor system according to claim 1, wherein the sensor management unit is configured to generate the modified serial data unit based on the serial data unit in response to the sensor management unit determining that at least one of the plurality of sensor measurements is invalid.
7. The sensor system according to claim 6, wherein the sensor management unit is configured to generate the modified serial data unit by replacing each invalid sensor measurement of a plurality of invalid sensor measurements with a respective replacement sensor measurement.
8. The sensor system according to claim 7, wherein the sensor management unit is configured to obtain the respective replacement sensor measurement by at least one of: performing signal processing of at least one of the plurality of sensor measurements; estimating the respective replacement sensor measurement; filtering at least one prior sensor measurement obtained at an earlier time; predicting the respective replacement sensor measurement based on a prediction model and said at least one prior sensor measurement obtained at the earlier time; deriving the respective replacement sensor measurement from a redundant sensor measurement obtained by a corresponding redundant sensor device and/or by application level redundancy; and deriving the respective replacement sensor measurement from the valid sensor measurement.
9. The sensor system according to claim 1, wherein the modified serial data unit is configured to include an error-detecting code, the error-detecting code configured to provide a validity status of the modified serial data unit.
10. The sensor system according to claim 1, wherein the modified serial data unit is configured to include at least one error correction code of a plurality of error correction codes, each error correction code of the plurality of error correction codes associated with a respective invalid sensor measurement, said each error correction code being configured to be usable to correct a first error in the respective invalid sensor measurement and/or a second error in at least one of the plurality of validity indicators.
11. A method of operating a sensor system, wherein the sensor system is for use in a high voltage direct current network, the sensor system comprising a plurality of sensor devices, each sensor device configured to obtain a respective sensor measurement, the method further including: generating a serial data unit for transmission to a recipient system, the serial data unit comprising a serial sequence of bits configured to include a plurality of sensor measurements of the sensor devices, the serial sequence of bits further configured to include a plurality of validity indicators, each validity indicator being in between two respective sensor measurements of the plurality of sensor measurements in the serial sequence of bits and configured to provide an individual validity status of a respective one of the two respective sensor measurements; evaluating said each validity indicator from the serial data unit to detect that the serial sequence of bits comprises a first validity indicator labeling a valid sensor measurement for a first sensor measurement adjacent to the first validity indicator in the serial sequence of bits and a second validity indicator labeling an invalid sensor measurement for a second sensor measurement adjacent to the second validity indicator in the serial sequence of bits; generating a modified serial data unit based on the serial data unit subsequent to a sensor management unit evaluating said each validity indicator, to determine, based on the second validity indicator, that the second sensor measurement from the serial data unit is invalid, wherein the modified serial data unit is configured to include the valid sensor measurement from the serial data unit and an error indicator that identifies the second sensor measurement from the serial data unit as invalid; transmitting the modified serial data unit to the recipient system; and transmitting the serial data unit to the recipient system in response to the sensor management unit determining that none of the plurality of sensor measurements are invalid.
12. The method of claim 11, wherein each sensor measurement of the plurality of sensor measurements includes a single physical measurement or includes a set of physical measurements arranged serially.
13. The method of claim 11, wherein a gateway includes the sensor management unit, and each gateway of a plurality of gateways is configured to be communicable with the recipient system.
14. The method of claim 11, wherein the modified serial data unit includes the valid sensor measurement from the serial data unit.
15. The method of claim 11, wherein the modified serial data unit omits the plurality of validity indicators from the serial data unit.
16. The method of claim 11, wherein the modified serial data unit is based on the serial data unit in response to the sensor management unit determining that at least one of the plurality of sensor measurements is invalid.
17. The method of claim 11, wherein the modified serial data unit replaces each invalid sensor measurement of a plurality of invalid sensor measurements with a respective replacement sensor measurement.
18. The method of claim 17, wherein the respective replacement sensor measurement is obtained by at least one of: performing signal processing of at least one of the plurality of sensor measurements; estimating the respective replacement sensor measurement; filtering at least one prior sensor measurement obtained at an earlier time; predicting the respective replacement sensor measurement based on a prediction model and said at least one prior sensor measurement obtained at the earlier time; deriving the respective replacement sensor measurement from a redundant sensor measurement obtained by a corresponding redundant sensor device and/or by application level redundancy; and deriving the respective replacement sensor measurement from the valid sensor measurement.
19. The method of claim 11, wherein the modified serial data unit includes an error-detecting code, the error-detecting code configured to provide a validity status of the modified serial data unit.
20. The method of claim 11, wherein the modified serial data unit includes at least one error correction code of a plurality of error correction codes, each error correction code of the plurality of error correction codes associated with a respective invalid sensor measurement, said each error correction code being configured to be usable to correct a first error in the respective invalid sensor measurement and/or a second error in at least one of the plurality of validity indicators.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) An embodiment of the invention will now be described, by way of a non-limiting example, with reference to the accompanying drawings in which:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6) There is provided a sensor system according to an embodiment of the invention, where the sensor system is used in a HVDC network.
(7) The sensor system comprises a plurality of sensor devices and a gateway G. Each sensor device (e.g. current sensor, voltage sensor, etc.) is configured to measure a property of the HVDC network (e.g. current, voltage, etc.). Each sensor device is in communication with the gateway G, which in turn is configured to be in communication in use with a recipient system C, such as a HVDC network controller (e.g. a converter controller).
(8) In this manner the plurality of sensor devices, the gateway G and the recipient system C define a communications network. Examples of communications networks incorporating the plurality of sensor devices, the gateway G and the recipient system C are shown in
(9) In other embodiments, it is envisaged that the sensor system may include one or more additional gateways. The or each additional gateway may share the same configuration as the gateway G so as to provide redundancy to the sensor system.
(10) In use, each of the plurality of sensor devices obtains a respective sensor measurement S.sub.1, S.sub.2, S.sub.n corresponding to a property of the HVDC network.
(11) Each sensor measurement S.sub.1, S.sub.2, S.sub.n may include a single physical measurement or may include a set of physical measurements arranged serially. For example, a given sensor device may obtain a sensor measurement S.sub.1, S.sub.2, S.sub.n that includes a single voltage or current, or a sensor measurement S.sub.1, S.sub.2, S.sub.n that includes a set of several voltages and/or currents arranged serially in a measurement data unit. Namely, each sensor measurement may correspond to one or more physical measurements.
(12) When the distance L between the plurality of sensor devices and the gateway G is not considerably greater than the distance d between the gateway G and the recipient system C, it is desirable to arrange the plurality of sensor measurements S.sub.1, S.sub.2, S.sub.n in a serial data frame in order to enable the transmission of a plurality of sensor measurements S.sub.1, S.sub.2, S.sub.n from the plurality of sensor devices to the recipient system C at low latency to ensure stability of control of the HVDC network and its components.
(13)
(14) The trailer of the conventional serial data frame includes an error-detecting code in the form of a CRC, which is calculated based on all of the sensor measurements S.sub.1, S.sub.2, S.sub.n in the conventional serial data frame. The error-detecting code is then evaluated, using a CRC checking algorithm, by the gateway G to determine the validity of the conventional serial data frame. This is ensure the consistency of sensor information provided by the plurality of sensor devices to the recipient system C. The CRC may be replaced by another type of validity check sequence number, such as a FCS.
(15) The integrity of the conventional serial data frame can be adversely affected by at least one faulty bit, which results in an erroneous value when the error-detecting code is evaluated by the recipient system C. When an error is found to be present in the conventional serial data frame, the entire conventional serial data frame is discarded by the gateway G on the basis that it contains erroneous sensor information that cannot be delivered to the recipient system C. It would then be necessary to transmit a new conventional serial data frame from the plurality of sensor devices to the recipient system C.
(16) Although the above conventional approach might be acceptable for delay-tolerant applications (such as non-real-time computations, digital TV transmission systems, internet communications, email systems, etc.), the discarding of the entire conventional serial data frame may however be unacceptable for HVDC applications. This is because discarding the entire conventional serial data frame may result in the discarding of useful sensor information, particularly in relation to time-sensitive circumstances such as a fault occurrence for which the provision of reliable waveform measurements can be important.
(17)
(18) It will be appreciated that it is optional to include a header and a trailer in the serial data frame of the invention.
(19) After the serial data frame of the invention is transmitted from the plurality of sensor devices to the gateway G, a sensor management unit (not shown) of the gateway G evaluates each validity indicator FCS.sub.1, FCS.sub.2, FCS.sub.n by calculating a value based on a given sensor measurement S.sub.1, S.sub.2, S.sub.n stored in the serial data frame of the invention and comparing the calculated value against the corresponding validity indicator FCS.sub.1, FCS.sub.2, FCS.sub.n. If the calculated value and the corresponding validity indicator FCS.sub.1, FCS.sub.2, FCS.sub.n are the same, then the given sensor measurement S.sub.1, S.sub.2, S.sub.n stored in the serial data frame of the invention is determined to be valid. Otherwise, if the calculated value and the corresponding validity indicator FCS.sub.1, FCS.sub.2, FCS.sub.n are not the same, then the given sensor measurement S.sub.1, S.sub.2, S.sub.n stored in the serial data frame of the invention is determined to be invalid.
(20) In this manner the provision of the plurality of validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n in the serial data frame of the invention enables the sensor management unit to discern the individual data quality of each sensor measurement S.sub.1, S.sub.2, S.sub.n in order to determine whether each sensor measurement S.sub.1, S.sub.2, S.sub.n is either valid or invalid.
(21) In contrast, the aforementioned conventional method of detecting an error in the conventional serial data frame does not take into account the individual data quality of each sensor measurement S.sub.1, S.sub.2, S.sub.n, i.e. the aforementioned conventional method of detecting an error in the conventional serial data frame is incapable of determining which of the sensor measurements S.sub.1, S.sub.2, S.sub.n is invalid.
(22) The above evaluation of the validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n of the serial data frame of the invention permits the gateway to implement a suitable data forwarding strategy to improve the retrieval of useful sensor information from the serial data frame.
(23) When none of the plurality of sensor measurements S.sub.1, S.sub.2, S.sub.n stored in the serial data frame of the invention are determined to be invalid, the sensor management unit then transmits the serial data frame of the invention to the recipient system C.
(24) Optionally the sensor management unit may generate a modified serial data frame by omitting the validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n from the serial data frame, and transmit the modified serial data frame to the recipient system C.
(25) When at least one sensor measurement S.sub.1, S.sub.2, S.sub.n stored in the serial data frame of the invention is determined to be invalid, the sensor management unit then generates a modified serial data frame that includes any valid sensor measurement S.sub.1, S.sub.2, S.sub.n and an error indicator that identifies the or each invalid sensor measurement S.sub.1, S.sub.2, S.sub.n, before transmitting the modified serial data frame to the recipient system C. Such configuration of the modified serial data frame enables the recipient system C to not only retrieve useful sensor information in the form of the or each valid sensor measurement S.sub.1, S.sub.2, S.sub.n from the modified serial data frame, but also easily and accurately identify the or each invalid sensor measurement S.sub.1, S.sub.2, S.sub.n, thus making it more straightforward to retrieve useful sensor information from the modified serial data frame.
(26) Optionally the modified serial data frame may be configured to omit the validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n from the serial data frame, so that the size of the modified serial data frame can be reduced to improve the efficiency of transmitting the modified serial data frame to the recipient system C.
(27) To increase the amount of useful sensor information that can be retrieved from the modified serial data frame, the sensor management unit may generate the modified serial data frame by replacing the or each invalid sensor measurement S.sub.1, S.sub.2, S.sub.n with a or a respective replacement sensor measurement.
(28) The or the respective replacement sensor measurement may be obtained by the sensor management unit through signal processing of at least one of the plurality of sensor measurements S.sub.1, S.sub.2, S.sub.n. It will be understood that the signal processing strategy may be at least partly under the control of the recipient system C.
(29) In an example of signal processing of at least one of the plurality of sensor measurements S.sub.1, S.sub.2, S.sub.n, the sensor management unit may obtain the or the respective replacement sensor measurement using application level redundancy. For example, the sensor management unit may perform an estimated calculation (e.g. extrapolation, interpolation, etc.) of the or the respective replacement sensor measurement based on one or more valid sensor measurements S.sub.1, S.sub.2, S.sub.n.
(30) In another example of signal processing of at least one of the plurality of sensor measurements, the sensor management unit may obtain the or the respective replacement sensor measurement by filtering at least one prior sensor measurement obtained at an earlier time and stored in the gateway.
(31) For example, a given sensor measurement, e.g. S.sub.1(k), may be missing from the serial data frame due to an error in the frame, where k refers to the time instant. Then, if the or each prior sensor measurement S.sub.1(m) for earlier instants of time is stored in the gateway, the sensor management unit can obtain a filtered sensor measurement S.sub.1(k) by filtering the or each prior sensor measurement S.sub.1(m). An exemplary filtered signal S.sub.1(k) could be given by S.sub.1(k)=(1/m)*[S.sub.1(k1)+ . . . +S.sub.1(km)].
(32) In a further example of signal processing of at least one of the plurality of sensor measurements, the sensor management unit may obtain the or the respective replacement sensor measurement by predicting the or the respective replacement sensor measurement based on a prediction model and at least one prior sensor measurement obtained at an earlier time and stored in the gateway.
(33) For example, a given sensor measurement, e.g. S.sub.1(k), may be missing from the serial data frame due to an error in the frame, where k refers to the time instant. Then, if the or each prior sensor measurement S.sub.1(m) for earlier instants of time is stored in the gateway, the sensor management unit can obtain a predicted sensor measurement S.sub.1(k) based on a prediction model and the or each prior sensor measurement S.sub.1(m). An exemplary prediction signal S.sub.1(k) could be given by S.sub.1(k)=PredictionModel(S.sub.1(k1), . . . , S.sub.1(km)). The prediction model may be or may include a set of mathematical equations that describe the expected evolution of signal S.sub.1 as a function of time and is based on the or each prior sensor measurement S.sub.1(m).
(34) Furthermore the sensor system may include a plurality of redundant sensor devices (not shown), each of which is configured to measure the same property of the HVDC network as a respective one of the plurality of sensor devices. This allows the sensor management unit to obtain the or the respective replacement sensor measurement using sensor redundancy by deriving the or the respective replacement sensor measurement from a redundant sensor measurement obtained by a corresponding redundant sensor device. This allows the direct replacement of an invalid sensor measurement S.sub.1, S.sub.2, S.sub.n with an actual sensor measurement obtained from a redundant sensor device.
(35) Additionally or alternatively, the sensor management unit may obtain the or the respective replacement sensor measurement by deriving the or the respective replacement sensor measurement from a redundant sensor measurement obtained by application level redundancy. In one example, if a given sensor measurement S.sub.1 is linked to one or more other sensor measurements S.sub.2, S.sub.n at application level via an equation (e.g. S.sub.1=S.sub.2+S.sub.n), a redundant version of the given sensor measurement S.sub.1 can be obtained by the application level redundancy via the equation (e.g. S.sub.1(redundant)=S.sub.2+S.sub.n). In another example, if the sensor measurements S.sub.1, S.sub.2, S.sub.n are voltage measurements in a circuit loop, the sensor measurements S.sub.1, S.sub.2, S.sub.n would be linked via Kirchhoff's voltage law, which can then be used to obtain a redundant version of any one of the sensor measurements S.sub.1, S.sub.2, S.sub.n.
(36) Optionally the sensor management unit may calculate an error-detecting code of the modified serial data frame prior to transmitting the modified serial data to the recipient system C. The error-detecting code may be in the form of a validity check sequence number, such as a cyclic redundancy check (CRC) or a frame checksum sequence (FCS). The provision of the error-detecting code in the modified serial data allows the recipient system C to evaluate the validity of the modified serial data.
(37) Further optionally the modified serial data frame may be configured to include at least one error correction code, where the or each error correction code is associated with a or a respective invalid sensor measurement S.sub.1, S.sub.2, S.sub.n and/or an error in at least one of the plurality of validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n. The or each error correction code can be used by the recipient system C to correct an error in the corresponding invalid sensor measurement S.sub.1, S.sub.2, S.sub.n and/or an error in at least one of the plurality of validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n.
(38) The or each error correction code is included in the serial data frame in the form of one or more redundant bits, which do not add further sensor information but instead provide a safeguard to recover lost data if needed.
(39) For example, when a given sensor measurement S.sub.1 is formed of the following serially-arranged binary data bits: [d1 d2=1 0], redundancy bits may be added at each sensor device by using the following expression: r1=d1, r2=XOR(d1, d2), r3=XOR(r1,r2), where XOR(.) is the exclusive-or logical operator. The following serially-arranged bits [d1 d2 r1 r2 r3] are then transmitted from each sensor device to the gateway. The sensor management unit checks the validity of the received data by comparing d1 and r1 (which should match in an error-free case) and by computing the received value of d1 with the received value of d2.
(40) In this example, and without loss of generality, it is assumed that only one bit can fail at a time. When the following serially-arranged binary data bits are generated as [d1 d2=1 0], then the serially-arranged bits transmitted to the gateway would be: [d1 d2 r1 r2 r3]=[1 0 1 1 0]. If, for example, bit d2 is erroneous, the received serial data frame takes the form of [d1 d2 r1 r2 r3]=[1 1 1 1 0]. The sensor management unit can then compute the following validations: d1=r1 (and hence it can assume that d1 is correct); XOR(d1,d2)=0, which is different from the received value of r2; XOR(r1,r2)=0, which is equal to the received value of r3, and from this it can assume no errors have occurred in the redundancy bits. Hence the sensor management unit can infer that d2 is erroneous, and correct the value of d2 by reversing its logical value, hence locally producing the data bits [d1 d2]=[1 0] to match the originally generated data bits. The corrected serial data frame is then transmitted to the recipient system C without the need for retransmitting data from the sensor devices to the gateway.
(41)
(42) Upon reception of a serial data frame at the gateway G, the sensor management unit evaluates the error-detecting code of the serial data frame to determine whether there is any error present in the serial data frame.
(43) If the evaluation of the error-detecting code determines that there are no errors in the serial data frame, the serial data frame is then forwarded in its entirety to the recipient system C. The validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n may optionally be omitted from the forwarded serial data frame.
(44) If the evaluation of the error-detecting code determines that there is at least one error in the serial data frame, the sensor management unit then individually evaluates each validity indicator FCS.sub.1, FCS.sub.2, FCS.sub.n in order to determine whether the corresponding sensor measurement S.sub.1, S.sub.2, S.sub.n is valid or invalid.
(45) Any valid sensor measurement S.sub.k is stored in a buffer, which is denoted as F[k] in
(46) Alternatively (not shown in
(47) After all of the validity indicators FCS.sub.1, FCS.sub.2, FCS.sub.n have been evaluated, the sensor management unit calculates an error-detecting code of the modified serial data frame, and then transmits the modified serial data frame F to the recipient system C.
(48) The sensor system of the invention therefore permits the retrieval of useful sensor information from a serial data frame that includes at least one error, which in turn may limit or eliminate the need to transmit a new serial data frame. This has the effect of improving the reliability and performance of the sensor system. In addition the invention is not only scalable to any number of sensor devices in the sensor system, but also allows the frame error rate (i.e. the number of frame errors per unit time) to be controlled independently of the number of sensor devices.
(49) It will be appreciated that the serial data frame in the above-described embodiment of the invention may be replaced by another type of serial data unit, such as a serial data.