This disclosure relates generally to physical and virtual sensor techniques and, more particularly, to detecting and compensating for physical sensor errors.
Physical sensors are used in many modern machines to measure and monitor physical phenomena, such as emissions, temperature, speed, and fluid flow constituents. Physical sensors often take direct measurements of the physical phenomena and convert these measurements into measurement data to be further processed by control systems. Although physical sensors take direct measurements of the physical phenomena, they may deteriorate over time and/or otherwise produce unreliable or incorrect values. When control systems rely on physical sensors to operate properly, a failure of a physical sensor may render such control systems inoperable. For example, an unreliable Nitrogen Oxide (NOx) sensor may cause a control system to over- or under-dose an aftertreatment system used to control emissions output. Moreover, the physical sensors may fail soft, meaning that they produce erroneous readings that fall within the range of valid measurements. Such errors may be particularly difficult to identify.
Instead of direct measurements, virtual sensors may process other physically measured values to produce values that were measured directly by physical sensors. The virtual sensor outputs may be used by the control systems to control the machine and/or may be used to assess the functionality of the physical sensor. For example, U.S. Pat. No. 5,539,638 (the '638 patent) issued to Keeler et al. on Jul. 23, 1996, discloses a system for monitoring emissions that includes both a physical emissions sensor and a predictive model that predicts an emissions value output by the physical sensor based on other input values. The physical sensor output may be compared to the predicted output and, if the values differ, the representation of the engine used by the predictive model may be adjusted.
The techniques disclosed in the '638 patent may not account for certain limitations of the virtual sensor environment and/or the physical sensor it is replacing, and thus may provide inaccurate values. Moreover, the techniques disclosed in the '638 patent may not be able to accurately detect a fail soft error in a physical sensor or simultaneously detect and compensate for the error.
The disclosed methods and systems are directed to solving one or more of the problems set forth above and/or other problems of the prior art.
In one aspect, the present disclosure is directed to a sensor error detection and compensation system. The system may include a sensor state estimation module that is configured to generate a physical sensor confidence value representing an accuracy estimation of a physical sensor output value received from a physical sensor. The system may also have a sensor output aggregation module configured to determine an aggregated sensor value based on the physical sensor confidence value, the physical sensor output value, a virtual sensor output value received from a virtual sensor, and a virtual sensor confidence value representing an accuracy estimation of the virtual sensor output value. Moreover, the system may have a “replace sensor” decision module configured to determine whether the physical sensor has failed by comparing the physical sensor confidence value to a replacement threshold level.
In another aspect, the present disclosure is directed to another sensor error detection and compensation system. The system may include a memory that stores instructions. The system may also include a processor that is configured to execute the instructions to generate a physical sensor confidence value representing an accuracy estimation of a physical sensor output value received from a physical sensor, and determine an aggregated sensor value based on the physical sensor confidence value, the physical sensor output value, a virtual sensor output value received from a virtual sensor, and a virtual sensor confidence value representing an accuracy estimation of the virtual sensor output value. The processor may be further configured to determine whether the physical sensor has failed by comparing the physical sensor confidence value to a replacement threshold level, and output the aggregated sensor value and an indication of whether the physical sensor has failed to a control system of a machine.
In yet another aspect, the present disclosure is directed to a sensor error detection and compensation method. The method may include generating a physical sensor confidence value representing an accuracy estimation of a physical sensor output value received from a physical sensor, and determining an aggregated sensor value based on the physical sensor confidence value, the physical sensor output value, a virtual sensor output value received from a virtual sensor, and a virtual sensor confidence value representing an accuracy estimation of the virtual sensor output value. The method may also include determining whether the physical sensor has failed by comparing the physical sensor confidence value to a replacement threshold level, and outputting the aggregated sensor value and an indication of whether the physical sensor has failed to a control system of a machine.
As shown in
ECM 120 may also include a sensor error detection and compensation system 121, which is explained in greater detail below. Sensor error detection and compensation system 121 may be configured to generate a physical sensor confidence value representing an accuracy estimation of a physical sensor output value received from a physical sensor, determine an aggregated sensor value based on the physical sensor confidence value, the physical sensor output value, a virtual sensor output value received from a virtual sensor, and a virtual sensor confidence value representing an accuracy estimation of the virtual sensor output value; determine whether the physical sensor has failed by comparing the physical sensor confidence value to a replacement threshold level; and send the aggregated sensor value and an indication of whether the physical sensor has failed to a control system of a machine
Although ECM 120 is shown to control engine 110, ECM 120 may also control other systems of machine 100, such as transmission systems and/or hydraulics systems. Multiple ECMs may be included in ECM 120 or may be used on machine 100. For example, a plurality of ECMs may be used to control different systems of machine 100 and also to coordinate operations of these systems. Further, the plurality of ECMs may be coupled together via a communication network to exchange information. Information such as input parameters, output parameters, parameter values, status of control systems, physical and virtual sensors, and virtual sensor networks may be communicated to the plurality of ECMs simultaneously.
Physical sensor 140 may include one or more sensors provided for measuring certain parameters related to machine 100 and providing corresponding parameter values. For example, physical sensor 140 may include physical emission sensors for measuring emissions of machine 100, such as Nitrogen Oxides (NOx), Sulfur Dioxide (SO2), Carbon Monoxide (CO), total reduced Sulfur (TRS), etc. In particular, NOx emission sensing and reduction may be important to normal operation of engine 110. Physical sensor 142 may include any appropriate sensors that are used with engine 110 or other machine components (not shown) to provide various measured parameter values about engine 110 or other components, such as temperature, speed, acceleration rate, fuel pressure, power output, etc.
Virtual sensor network system 130 may be coupled with physical sensors 140 and 142 and ECM 120 to provide control functionalities based on integrated virtual sensors. A virtual sensor, as used herein, may refer to a mathematical algorithm or model that generates and outputs parameter values comparable to a physical sensor based on inputs from other systems, such as physical sensors 142. For example, a physical NOx emission sensor may measure the NOx emission level of machine 100 and provide parameter values of the NOx emission level to other components, such as ECM 120. A virtual NOx emission sensor may provide calculated parameter values of the NOx emission level to ECM 120 based on other measured or calculated parameters, such as compression ratios, turbocharger efficiencies, aftercooler characteristics, temperature values, pressure values, ambient conditions, fuel rates, engine speeds, etc. The term “virtual sensor” may be used interchangeably with “virtual sensor model.”
A virtual sensor network, as used herein, may refer to one or more virtual sensors integrated and working together to generate and output parameter values. For example, virtual sensor network system 130 may include a plurality of virtual sensors configured or established according to certain criteria based on a particular application. Virtual sensor network system 130 may also facilitate or control operations of the plurality of virtual sensors. The plurality of virtual sensors may include any appropriate virtual sensor providing output parameter values corresponding to one or more physical sensors in machine 100.
Further, virtual sensor network system 130 may be configured as a separate control system or, alternatively, may coincide with other control systems such as ECM 120. Virtual sensor network system 130 may also operate in series with or in parallel with ECM 120.
A server computer 150 may be coupled to machine 100, either onboard machine 100 or at an offline location. Server computer 150 may include any appropriate computer system configured to create, train, and validate virtual sensor models and/or virtual sensor network models. Server computer 150 may also deploy the virtual sensor models and/or the virtual sensor network models to virtual sensor network system 130 and/or ECM 120 if virtual sensor network system 130 coincides with ECM 120. Further, server computer 150 may communicate with virtual sensor network system 130 and/or ECM 120 to exchange operational and configuration data, such as information that may be used to detect and compensate for errors detected in physical sensors. Server computer 150 may communicate with virtual sensor network system 130 and/or ECM 120 via any appropriate communication means, such as a computer network or a wireless telecommunication link.
Virtual sensor network system 130 and/or ECM 120 may be implemented by any appropriate computer system.
As shown in
Processor 202 may include any appropriate type of general purpose microprocessor, digital signal processor, or microcontroller. Memory 204 may include one or more memory devices including, but not limited to, a ROM, a flash memory, a dynamic RAM, and a static RAM. Memory 204 may be configured to store information used by processor 202. Database 206 may include any type of appropriate database containing information related to virtual sensor networks, such as characteristics of measured parameters, sensing parameters, mathematical models, and/or any other control information. Storage 212 may include any appropriate type of storage provided to store any type of information that processor 202 may need to operate. For example, storage 212 may include one or more hard disk devices, optical disk devices, or other storage devices to provide storage space.
Memory 204, database 206, and/or storage 212 may also store information used to perform functions consistent with disclosed embodiments such as generating a physical sensor confidence value, determining an aggregated sensor value based on the physical sensor confidence value, the physical sensor output value, a virtual sensor output value received from a virtual sensor, and a virtual sensor confidence value, and determining whether the physical sensor has failed by comparing the physical sensor confidence value to a replacement threshold level.
I/O interface 208 may be configured to obtain data from input/output devices, such as various sensors or other components (e.g., physical sensors 140 and 142) and/or to transmit data to these components. Network interface 210 may include any appropriate type of network device capable of communicating with other computer systems based on one or more wired or wireless communication protocols. Any or all of the components of computer system 200 may be implemented or integrated into an application-specific integrated circuit (ASIC) or field programmable gate array (FPGA) device, or other integrated circuit devices.
Sensor input interface 302 may include any appropriate interface, such as an I/O interface or a data link configured to obtain information from various physical sensors (e.g., physical sensors 140 and 142) and/or from ECM 120. The information may include values of input or control parameters of the physical sensors, operational status of the physical sensors, and/or values of output parameters of the physical sensors. The information may also include values of input parameters from ECM 120 that may be sent to replace parameter values otherwise received from physical sensors 140 and 142. Further, the information may be provided to sensor input interface 302 as input parameter values 310.
Sensor output interface 308 may include any appropriate interface, such as an I/O interface or a datalink interface (e.g., an ECM/xPC interface), configured to provide information from virtual sensor models 304 and virtual sensor network controller 306 to external systems, such as ECM 120, or to an external user of virtual sensor network system 130, etc. The information may be provided to external systems and/or users as output parameter values 320.
Virtual sensor models 304 may include a plurality of virtual sensors, such as virtual emission sensors, virtual fuel sensors, virtual speed sensors, etc. Any virtual sensor may be included in virtual sensor models 304.
As shown in
In certain embodiments, virtual sensor 330 may be configured to include a virtual emission sensor to provide levels of substance emitted from an exhaust system (not shown) of engine 110, such as levels of nitrogen oxides (NOx), sulfur dioxide (SO2), carbon monoxide (CO), total reduced sulfur (TRS), soot (i.e., a dark powdery deposit of unburned fuel residues in emission), hydrocarbon (HC), etc. For example, NOx emission level, soot emission level, and HC emission level may be important to normal operation of engine 110 and/or to meet certain environmental requirements. Other emission levels, however, may also be included.
Input parameter values 310 may include any appropriate type of data associated with NOx emission levels. For example, input parameter values 310 may be values of parameters used to control various response characteristics of engine 110 and/or values of parameters associated with conditions corresponding to the operation of engine 110. For example, input parameter values 310 may include values related to fuel injection timing, compression ratios, turbocharger efficiency, aftercooler characteristics, temperature (e.g., intake manifold temperature), pressure (e.g., intake manifold pressure), ambient conditions (e.g., ambient humidity), fuel rates, and engine speeds, etc. Other parameters, however, may also be included. For example, parameters originated from other vehicle systems, such as chosen transmission gear, axle ratio, elevation and/or inclination of the vehicle, etc., may also be included. Further, input parameter values 310 may be measured by certain physical sensors, such as physical sensor 142, and/or generated by other control systems such as ECM 120.
Virtual sensor model 334 may include any appropriate type of mathematical or physical model indicating interrelationships between input parameter values 310 and output parameter values 320. For example, virtual sensor model 334 may be a neural network based mathematical model that is trained to capture interrelationships between input parameter values 310 and output parameter values 320. Other types of mathematical models, such as fuzzy logic models, linear system models, and/or non-linear system models, etc., may also be used. Virtual sensor model 334 may be trained and validated using data records collected from a particular engine application for which virtual sensor model 334 is established. That is, virtual sensor model 334 may be established according to particular rules corresponding to a particular type of model using the data records, and the interrelationships of virtual sensor model 334 may be verified by using part of the data records.
After virtual sensor model 334 is trained and validated, virtual sensor model 334 may be optimized to define a desired input space of input parameter values 310 and/or a desired distribution of output parameter values 320. The validated or optimized virtual sensor model 334 may be used to produce corresponding values of output parameter values 320 when provided with a set of values of input parameter values 310. In the above example, virtual sensor model 334 may be used to produce NOx emission level based on measured parameters, such as ambient humidity, intake manifold pressure, intake manifold temperature, fuel rate, and engine speed, etc.
The establishment and operations of virtual sensor model 334 may be carried out by processor 202 based on computer programs stored at or loaded to virtual sensor network system 130. Alternatively, the establishment of virtual sensor model 334 may be realized by other computer systems, such as ECM 120 or a separate general purpose computer configured to create process models. The created process model may then be loaded to virtual sensor network system 130 for operations. For example, processor 202 may perform a virtual sensor process model generation and optimization process to generate and optimize virtual sensor model 334.
The virtual sensor confidence value m is an accuracy estimate of virtual sensor value xv. Put another way, it is the confidence that sensor error detection and compensation system 121 has in the virtual sensor value xv. The virtual sensor confidence value m may be calculated based on a comparison of the input parameter values 310 used by the virtual sensor 130 to determine virtual sensor value xv to a range of input parameter values 310 that were used to train the virtual sensor 130. In one embodiment, a statistical analysis of the input parameter values 310 used to generate virtual sensor value xv may be compared to a statistical analysis of the input parameter values 310 included in the training data set. For example, a Mahalanobis distance calculated for the input parameter values 310 used to generate virtual sensor value xv may be compared to a valid range of Mahalanobis distances determined based on the training data set. The valid Mahalanobis distance range may be between 0 and a value that is three standard deviations from the mean of the Mahalanobis distances calculated for the input parameter values in the training data set. The virtual sensor confidence value m may then be calculated as a piecewise linear function, such that a virtual sensor value xv with input parameter values at the mean of the training data set (e.g., with MDi=0) has a virtual sensor confidence value m of 1.00, a virtual sensor value xv with input parameter values with MDi≧3σ has a virtual sensor confidence value m of 0.00, and a linear function from a point (0, 1.00) to a point (3σ, 0.00) represents the virtual sensor confidence value m for all output values with input parameter values having corresponding Mahalanobis distances between MDi=0 and MDi=3σ. Of course, other upper and lower bounds may be used as may any other non-linear functions.
As shown in
Sensor output aggregation module 122 aggregates the virtual sensor value xv and the physical sensor value xs, to provide the aggregated sensor value xa. As discussed, the aggregated sensor value xa is designated as the current output of the parameter being monitored (e.g., NOx emissions) and supplied to a control system, such as a part of ECM 120, to determine a particular action to be taken (e.g., a recommended cleansing action to reduce NOx emissions). In addition to the sensor values xv and xs and virtual sensor confidence value m, sensor output aggregation module 122 receives a physical sensor confidence value β that is provided by sensor state estimation module 123. Sensor output aggregation module 122 also receives an attitudinal character parameter α which is discussed in greater detail below and may be configured by a user.
The sensor state estimation module 123 generates the physical sensor confidence value β. The physical sensor confidence value β is a measure of confidence in the current reading supplied by the physical sensor and is between 0 and 1. In particular, a higher β value indicates a greater confidence in the value provided by the physical sensor.
The replace sensor decision module 124 determines whether to replace the physical sensor. As will be discussed in greater detail below, as physical sensor 140 begins to decay, indicated by a lowering of the confidence value β, the aggregated sensor value xa becomes less dependent on the physical sensor. Further, the replace sensor decision module 124 compares the confidence value β to a replacement threshold level γ to determine whether physical sensor 140 should be replaced. The operation of the three modules included in sensor error detection and compensation system 121 are now discussed in greater detail.
In certain embodiments, sensor output aggregation module 122 calculates and outputs the aggregated sensor value xa as an ordered weighted average (OWA) of the virtual sensor value xv and the physical sensor value xs. In general, an OWA aggregator F aggregates a collection of argument values, a1, a2, . . . , an using a collection of weights w1, w2, . . . , wn such that:
where bj is the jth largest of the argument values ai, and the OWA weights wj satisfy 0≦wj≦1 and Σj wj=1. The selection of the weights determines the type of aggregation that will be performed. For example, if w1=1, and all other wj=0, then this results in selecting the largest argument value, such that F(a1, a2, . . . , an)=Maxi[ai]. If wn=1, and all other wj=0, then this results in selecting the minimum argument value such that F(a1, a2, . . . , an)=Mini[ai]. And, if all wj=1/n then this gives the simple average, F(a1, a2, . . . , an) is simply the average of the arguments. Moreover, an attitudinal character parameter α may be used to allow a user to emphasize certain arguments over others. For example, an attitudinal character parameter α may be defined as:
for all wj. As can be seen from equation (2), when the aggregation is a maximum type w1=1, then α=1, when the aggregation is a minimum type, wn=1, then α=0, and when the aggregation is an average of all arguments, then α=0.5. Thus, by selecting the attitudinal character parameter α, a user may emphasize larger or smaller arguments (e.g., sensor readings) over others.
In embodiments where sensor output aggregation module 122 calculates and outputs aggregated sensor value xa based on virtual sensor value xv and physical sensor value xs, the two arguments to the OWA aggregator are xv and xs. Moreover, the relative weights used in the OWA aggregator to aggregate the virtual sensor value xv and physical sensor value xs to produce the aggregated sensor value xa may be determined based on the attitudinal character parameter α and the virtual and physical sensor confidence values m and β. For example, sensor output aggregation module 122 may calculate aggregated sensor value xa as:
x
a=(μGb1)+((1−μG)b2) (3)
where μ is a relative confidence value defined as:
and G is a disagreement bias that is a function of the attitudinal character parameter α and defined as:
Moreover, as discussed above, b1 is the larger argument and b2 is the smaller argument, and thus, b1 is the larger of xs and xv and b2 is the smaller of the two. Thus, the aggregated sensor value xa is a weighted average of the virtual sensor value xv and physical sensor value xs that takes into account the attitudinal character parameter α and the virtual and physical sensor confidence values m and β.
As discussed above, attitudinal character parameter α may be defined by a user or engineer associated with machine 100. For example, if the user chooses α=0, then xa will be equal to the lower of the two values of xs and xv. Conversely, if the user chooses α=1, then xa will be equal to the higher of the two values of xs and xv. Different values of α may be chosen to emphasize one value over another. For example, in embodiments where the sensors are NOx sensors, a value of α may be chosen to be between 0.5 and 1.0 such that the sensor output with the larger NOx value is emphasized. The system may be configured in this way to avoid emissions that inadvertently exceed limits or thresholds, for example.
Sensor state estimation module 123 may receive the virtual sensor value xv, the physical sensor value xs, and the virtual sensor confidence value m, and may generate the physical sensor confidence value β by comparing the outputs of the physical sensor with those of the virtual sensor. In certain embodiments, sensor state estimation module 123 may compare the values at several different times and may determine that those comparisons where the virtual sensor confidence value m is high are to be assigned greater weight than those comparisons where the virtual sensor confidence value m is low. Sensor state estimation module 123 may send the generated physical sensor confidence value β to one or more of sensor error detection and compensation system 121 and sensor state estimation module 123.
In an exemplary embodiment, sensor state estimation module 123 may compare multiple physical sensor values xs to multiple corresponding virtual sensor values xv in a time series of physical sensor values xs, virtual sensor values xv, and virtual sensor confidence values m. For example, xv(i) is the virtual sensor value on the ith observation, xs(i) is the physical sensor value on the ith observation, and m(i) is the virtual sensor confidence value on the ith observation. For each reading in the time series, sensor state estimation module 123 may calculate an effective normalized sensor reading difference d(i). The calculation of d(i) is discussed in greater detail below. Sensor state estimation module 123 may also calculate a current weighted average D(i) of the different d(i) values, such that:
Thus, D(i) represents a weighted average of the effective normalized sensor reading differences d(t) that is weighted by the virtual sensor confidence values m(t). This way, the bigger m(t), the more confident the system is in the readings from the virtual sensor and the more it contributes to the determination of the current weighted average D(i).
Sensor state estimation module 123 may use the current weighted average D(i) to determine the current physical sensor confidence value β. For example, sensor state estimation module 123 may determine the current physical sensor confidence value β to be:
where r1 and r2 are threshold values that may be determined by a user, e.g., based on parameters of the physical sensor. For example, r2 may be chosen to be a value at which the user determines that the physical sensor is completely unreliable.
As discussed above, sensor state estimation module 123 may calculate an effective normalized sensor reading difference d(i) to generate the current weighted average D(i) value that is in turn used to calculate current physical sensor confidence value β. To do so, sensor state estimation module 123 may determine a sensor reading difference value Δ(i) such that
where xhigh and xlow represent the high and low bounds of the confidence range for the corresponding physical or virtual sensor. These ranges may be determined, for example, based on empirical considerations about the performance of the virtual sensor 130 and the error sensitivity of the physical sensor. For example, confidence ranges may be established for different readings of virtual sensor 130 for different virtual sensor outputs during the training and calibration of virtual sensor 130. Confidence ranges may be established for physical sensor 140 based on known characteristics of the physical sensor, e.g., from specifications provided by a manufacturer. For example, if the manufacturer's specification states that the physical sensor is accurate within 2% for a physical sensor reading xs(i), then the confidence range may be between 0.98xs(i) and 1.02xs(i). In other words, xslow(i) may be 0.98xs(i) and xshigh(i) may be 1.02xs(i). If percentage accuracies are known for virtual sensor 130, e.g., based on a statistical analysis of the training data set, then the confidence ranges of the virtual sensor may be calculated in a similar manner.
After calculating the sensor reading difference value Δ(i), sensor state estimation module 123 may calculate the effective normalized sensor reading difference d(i) as:
Thus, in this case, d(i) is in the non-negative unit interval (i.e., always between 0 and 1).
Sensor state estimation module 123 may then calculate the value of D(i) in accordance with equation (6), discussed above, which may then be used to calculate the current physical sensor confidence value β in accordance with equation (7), discussed above.
In certain of the embodiments discussed above, it may be assumed that the current physical sensor confidence value β remains constant over the time interval of the time series. However, the current physical sensor confidence value β may slowly change over time, e.g., as physical sensor 140 deteriorates. Thus, sensor state estimation module 123 may also discount earlier readings in the time series, e.g., using a windowing method or an exponential smoothing method. In one embodiment, sensor state estimation module 123 may implement exponential smoothing using a two step process of first exponentially smoothing the estimates of the virtual sensor confidence value m and then determining the exponentially smoothed estimate of the current weighted average D(i) in accordance with the two equations shown below:
where
Replace sensor decision module 124 uses the physical sensor confidence value β and the replacement threshold level γ to determine whether physical sensor 140 has failed and should be replaced. The replacement threshold level γ may be a value between 0 and 1 and may be configured by a user of machine 100 or a person otherwise associated with machine 100 based on the amount of certainty required before declaring sensor failure. For example, a replacement threshold level γ of 0 may require near certainty before determining that physical sensor 140 has failed. On the other hand, a replacement threshold level γ of 1 may cause replace sensor decision module 124 to determine that physical sensor 140 has failed based on any evidence whatsoever of a physical sensor failure. Thus, by adjusting the replacement threshold level γ a user may be able to configure the sensitivity of replace sensor decision module 124.
In certain embodiments, replace sensor decision module 124 may determine that physical sensor 140 has failed if β<γ and may determine that physical sensor 140 has not failed if β≧γ. Upon determining that physical sensor 140 has failed, replace sensor decision module 124 may output a replace physical sensor signal Rs, e.g., to a part of ECM 120 or to some other control system. Thus, sensor error detection and compensation system, through sensor output aggregation module 122 and replace sensor decision module 124, may be configured to diagnose and inform of a fail soft condition of physical sensor 140 (e.g., via replace physical sensor signal Rs) and simultaneously correct the sensed parameter being sent to the control system (e.g., via an aggregated sensor value xa). Further, in cases where β<γ and sensor replacement is recommended by decision module 124, xa may be completely determined by xv, xvhigh, or xvlow until such time as the replacement is complete. The choice of xv, xvhigh, or xvlow may be determined by the desired response to a sensor failure for the system in question.
The disclosed sensor error detection and compensation system may be applicable to any system used to monitor and/or control a machine that includes both virtual and physical sensors. In particular, the virtual sensor system may be applicable to a control system for controlling an engine and monitoring emissions from the engine. Moreover, using one or more exemplary processes disclosed herein the sensor error detection and compensation system may be capable of diagnosing a fail soft condition of a physical sensor and simultaneously correcting the sensed parameter being sent to the control system.
Error detection and compensation system 121 may generate a physical sensor confidence value β (step 720). The physical sensor confidence value β may represent the accuracy estimation of the physical sensor output value xs or, in other words, the confidence that sensor error detection and compensation system 121 has in the physical sensor output value xs. Sensor state estimation module 123 may generate the physical sensor confidence value β based on a comparison of a time series of the values xv, xs, and m, as discussed above.
Sensor error detection and compensation system 121 may use the physical sensor confidence value β as well as the values xv, xs, m to determine an aggregated sensor value xa (step 730). For example, sensor output aggregation module 122 may determine the aggregated sensor value xa using one or more processes discussed above, such as determining an OWA of the values xv and xs where the weighting values are determined based on the values m and β.
Sensor error detection and compensation system 121 may also compare the physical sensor confidence value β to a replacement threshold level γ that may be user-defined in order to determine whether the physical sensor has failed and should be replaced (step 740). If β<γ (step 740, Y), then sensor error detection and compensation system 121 may determine that the physical sensor has failed and should be replaced (step 750). If β≧γ (step 740, N), then sensor error detection and compensation system 121 may determine that the physical sensor has not failed and does not need to be replaced (step 760).
Sensor error detection and compensation system 121 may also output the aggregated sensor value xa and an indication of whether the sensor needs to be replaced, e.g., via replace physical sensor signal Rs, to a control system that controls machine 100 (step 770). The process of
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed sensor error detection and compensation system. Other embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the disclosed sensor error detection and compensation system. It is intended that the specification and examples be considered as exemplary only, with a true scope being indicated by the following claims and their equivalents.