Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2021 Aug 5.
Published in final edited form as: IEEE Trans Ind Electron. 2019 Mar 4;67(2):1328–1336. doi: 10.1109/tie.2019.2901663

Improved Extended Kalman Filter Estimation using Threshold Signal Detection with a MEMS Electrostatic Microscanner

Yi Chen 1, Haijun Li 2, Zhen Qiu 3, Thomas D Wang 4, Kenn R Oldham 5
PMCID: PMC8340920  NIHMSID: NIHMS1664221  PMID: 34366544

Abstract

A threshold signal detector is proposed to improve the state estimation accuracy of an extended Kalman filter (EKF) and is validated experimentally with a MEMS electrostatic micro-scanner. A first order derivative of Gaussian (DOG) filter is used to detect and locate rapid changes in voltage signal caused by crossing of a threshold angle determined by maximum overlap of capacitive electrodes. The event-triggered measurement is used in the update step of the EKF to provide intermittent but more accurate angle measurements than those of the capacitive sensor’s continuous output. Experiments on the electrostatic micro-scanner show that with the threshold signal detector incorporated, the average position estimation accuracy of the EKF is improved by 15.1%, with largest improvement (30.3%) seen in low signal-to-noise ratio (SNR) conditions. A parametric study is conducted to examine sampling frequency and capacitance profile, among other factors that may affect detection error and EKF accuracy.

Index Terms—: Kalman filter, microsensors, signal processing

I. Introduction

Capacitive sensing technology, commonly used in microelectromechanical system (MEMS) devices, has advantages of low power operation, high sensitivity, and a relatively simple sensor structure compared to many other small-scale sensing mechanisms. The sensing principle is to measure the change of capacitance between two or more electrodes across a dielectric gap due to the change of gap geometry or the permittivity of the media between the gap. Various sensor geometries have been used in a vast array of sensing applications, such as measurement of short range distance (i.e. nano-positioning devices) [1], translational and rotational motion (i.e. MEMS inertial sensors) [2, 3], and pressure (i.e. microphone and pressure sensors) [4, 5].

One drawback of capacitive sensing is that its accuracy may be reduced by temperature and other environmental effects, which can cause undesired changes in geometric relations between electrodes [6] [7]. One potential solution is to find features of the sensing signal that correspond to specific positions that are both detectable and constant in the presence of unwanted geometric perturbations [8]. Such signal features can be used for measurement of threshold positions with high accuracy to “reset” position estimates and improve overall motion tracking accuracy. Design of capacitive sensors that generate threshold features can be intentional or a natural consequence of electrode geometry for a given application.

This paper introduces novel threshold signal detector realized with a derivative of Gaussian (DOG) function in the loop of an extended Kalman filter (EKF). It is intended to enhance angular position and velocity estimation for MEMS micro-scanners. The paper explores factors impacting the performance of the estimation scheme, such as noise level, capacitance profile of the sensor, sampling rate, etc.

Among prior research works, the idea of using threshold sensing to improve motion tracking can be found in Henningsson and Astrom’s work [9], in which a sensor provided a measurement of the center mass of a MEMS accelerometer exceeding a threshold location; however, that literature did not discuss the realization of such a sensing mechanism. In [10], a design of an out-of-plane capacitive sensor using imbalanced capacitance to indicate threshold location was proposed; however, extraction of the signal was susceptible to drift of its capacitive signal. In [11], a Kalman filter estimation scheme with an asynchronized sensing scheme was proposed, in which a less accurate but frequently-measured analog signal and a highly accurate but infrequent (twice per period of a waveform) threshold signal were used in a Kalman filter estimator. That work, however, again did not address the issue of how to extract the threshold signal and assumed perfect detection. [8] proposed using a DOG filter to detect threshold crossing signals and embedded its output as a more accurate source of measurement updates within a Kalman filter estimator. However, experimental results were not presented, and issues such as sampling rate and how to fully incorporate a non-linear capacitive sensor model were not addressed.

Given the limitations of previous works, it is desirable to study factors that can affect the usage of threshold sensing in an EKF: how is the detection error distributed and can it be well-modelled by normal distributions? What is the relationship between the variance of error and factors including sensor design (capacitance profile) and operating conditions (sampling rate, noise)? How should one pick suitable parameters for the DOG filter to optimize EKF performance?

The paper is structured as follows: Section II introduces some background on capacitive sensing, the DOG filter, and the EKF; Section III presents the process model, sensor model and EKF implementation; Section IV presents the experimental setup; Section V presents the results of parametric studies of factors that can impact estimator performance; Section VI presents experimental results; Section VII concludes the paper.

II. Preliminaries

A. Capacitive Sensing Principles

Most capacitive sensors rely on a change in the geometric relationship between two electrodes to measure displacement. The two most common approaches are to vary the electrode gap or vary their overlapped area [2]. In micro-scale devices, gap variation typically provides more sensitivity, at the cost of nonlinearity and a limited range of measurement. Change in area typically provides less sensitivity but more linear behavior, and may be designed to provide a unique feature of a maximal capacitance when electrodes reach their maximum overlapped area. We will examine a method to use such a geometric feature to generate and extract a threshold measurement that enhances accuracy of motion estimation by an EKF, and experimentally validate the method with a MEMS micro-scanner.

B. Electrostatic Micro-scanner and Threshold Sensing

The sample device studied in this paper, shown in Fig. 1 (a), is an electrostatically-driven dual-axis micro-scanner. It includes two reflective mirror surfaces for dual axes confocal imaging and multiple groups of comb-fingers. Each group of comb-fingers consists of a moveable comb and a fixed comb (Fig. 1 (b)). By applying driving voltage with a carefully selected frequency, the comb-finger can generate electrostatic torque that produces parametric resonance in the form of tilting motion with a frequency half that of the driving voltage [12].

Fig. 1.

Fig. 1.

(a) Scanning electron microscope image of a parametrically-resonant micro-scanner tested in this study. (a) Illustration of comb-finger electrodes used as actuators and capacitive sensors. (b) Zoomed in image of a representative comb-finger structure.

This class of micro-scanner is designed to deflect light for imaging purposes [13]. While the comb-fingers are designed to serve as actuators, they can also serve as capacitive sensors to measure the tilting angles of the mirror. The capacitance of the comb-finger as a function of tilting angle [14], is

Cs(θ)=ϵ0ϵrnA(θ)D (1)

where εr is the relative static permittivity (1 for air), ε0 is the dielectric constant (8.8542 × 10–12 F m−1), A is the overlap area of electrodes, D is the distance between the electrodes, Cs(θ) is sensing capacitance, A(θ) is the total area of overlap between the comb-fingers as a function of tilting angle θ, and n is the number of pairs of comb-fingers. The capacitance reaches its maximum when the overlapped area is maximized.

To transduce the capacitance change into measurable voltage signal, we employ a sensing circuit that applies constant bias voltage, Vbias at the sensing electrodes. The change of capacitance can be converted to a sensing current that is amplified by a feedback resistance, Rs, and trans-impedance amplifier into an analog voltage signal, ycap, by

ycap=RsVbiasdCs(θ)dt. (2)

It is worth noting that other types of sensing circuits can be applied [15]. Amplitude modulation and demodulation is commonly used to separate and suppress any feedthrough disturbance introduced by parasitic capacitance in the sensing electrodes coupling them to the device’s driving voltage. However, modulation/demodulation also generates other effects including delays and skew in the filtered signal, which will can accuracy of a threshold measurement. In this study, since the focus is on validating the concept of generating and extracting threshold angle measurements and evaluating their effectiveness in an EKF framework, the transimpedance approach is used. This realization is also beneficial for implementation using very few electrical interconnects in a compact space, such as an endomicroscope. To compensate for feedthrough, later experiments were performed with a power cut-off strategy, discussed in section IV.

For this device, capacitance reaches its maximum value when the movable comb-fingers cross the mirror’s central position and fully overlap the fixed comb-fingers. With the trans-impedance circuit, a rapid change in sign and magnitude of the output sensing signal occurs, as illustrated in Fig. 2 (ad). This is referred to as the threshold angle for this system.

Fig. 2.

Fig. 2.

An illustration of threshold angle crossing and mechanism of threshold angle sensing and detection. (a) Configurations of comb-finger (1), (2) and (3) correspond to before, at, and after threshold angle crossing. (b) Sensing capacitance vs. tilting angle θ. (c) Tilting angle vs. time. (d) Noisy sensing signal vs. time; the crossing event generates rapid change of signal around (2). (e) Comparison of filtered signal by a derivative operator and a DOG operator. DOG operator is effective in detecting the timing of rapid signal change.

Knowing the exact timing of the threshold angle crossing is beneficial in high accuracy estimation of the angular position at that time. However, in practice it can be challenging to determine the threshold crossing time from the measured signal due to noise and bias. Since the threshold position crossing corresponds to a locally maximum rate of change of voltage, it might be obvious to adopt a derivative operator as a first attempt to retrieve crossing information. However, as illustrated in Fig. 2 (e), taking the derivative of a noisy signal does not necessarily provide a reliable outcome. To resolve this issue, a first order derivative of Gaussian (DOG) filter is proposed to extract the timing of the threshold position crossing [8]. A DOG filter is used as an approximated optimal filter for edge detection in the field of computer vision [16] and has merits of good detection (low probability of false detection), good localization (low variance of detection error), and one response to a single edge (one maximum or minimum corresponds to one crossing) [17].

While the introduction of a DOG filter provides an efficient and convenient realization for detecting threshold crossing timing, detection accuracy is still not perfect. In the presence of noise, the detected timing can deviate from the true timing. According to Canny [17], for the detection error in timing for a 1D step edge, et,th, its variance Rt,th is expressed as

Rt,th=E[et,th2]=σn2wwf˙(τ)2dτ[wwf˙(τ)y˙(τ)dτ]2 (3)

where f(τ) is the filter for edge detection, y(τ) is the signal including the edge, τ is a dummy variable, and σn is the standard deviation of the normally distributed, zero mean additive noise to the sensing signal. This expression reveals that Rt,th is proportional to the variance of noise (the noisier the signal, the less accurate the detection) and inversely proportional to the edge’s slope (the sharper the slope, the more accurate the detection). Rt,th is a key factor in threshold sensing performance and can be used to derive the error covariance matrix needed in to obtain optimal state estimates with an EKF.

C. Challenges

To carry out the EKF algorithm using threshold sensing information, a value for Rt,th is needed. Although (3) gives a theoretical derivation, in operation, it is difficult to obtain a signal y(t) containing an edge that is uncorrupted by noise. Hence it is desirable to estimate Rt,th off-line, which leads to several issues. \First, the EKF assumes the process is subject to normally distributed noise. We will investigate the distribution of the et,th, and more importantly, the distribution of detection error of threshold angle, eθ,th, to ensure that the EKF can be appropriately applied. Second, the expression of Rt,th in (3) is derived in continuous time and does not take sampling effects into account. Since the EKF is implemented in discrete time, choice of sampling rate can impact on estimation performance.

III. System Modelling

In this section, the process model, sensor model, and EKF incorporated with threshold sensing are described.

A. Process and Sensor Model

The dynamics of the tilting motion of the micro-scanner are modeled as a 2nd order, non-linear time invariant system.

Jθ¨+bvθ˙+ksθ=τ(θ,Vdr) (4)

where J is the moment of inertia of the micro-scanner, bv is the damping coefficient, and ks is the spring constant of a torsional spring. The torsional load generated by the comb-finger, τl is:

τL(θ,U)=12dCdrdθVdr2 (5)

where Vdr is the driving voltage, and Cdr is the driving capacitance formed by the comb-fingers that generate tilting motion. Let X = [x1 ×2]T to be state vector, where x1 = θ and x2=θ˙=ω is the tilting angular velocity. Letting ωn=ks/J, ζ=bv2Jks, where ωn is the natural frequency of the tilting mode and ζ is the damping ratio. (4) becomes:

X˙=[01ωn22ζωn]X+12dCdrdx1Vdr2 (6)

Denoting the sampling interval to be Ts, and assuming that the process is subject to zero-mean, normally distributed process noise, the discretized process model for the EKF becomes

Xk=g(Xk1,Vdr,k)+vk (7)

where g(.) is defined as:

g(Xk1,Vdr,k)=[1TsksJTs1bvJTs]Xk1+[0Ts2J]dCdrdx1(k)Vdr,k2 (8)

For the sensor model, equation (2) shows that the signal from a capacitive sensor with current-based readout (Fig. 3 (c)) is proportional to the rate of change of capacitance, dCs/dt. Since dCSdt=dCSdθdθdt, where dCSdθ is the rate change of capacitance with respect to tilting angle θ. Denoting dθdt=ω, we have a measurement used by the EKF, ycap, of:

ycap=[RsVbiasdCsdθ]ω=hcap(θ)ω (9)

where hcap(θ)=RsVbiasdcsdθ is θ-dependent sensor gain, Rs is a constant resistance, and Vbias is a constant bias voltage.

Fig. 3.

Fig. 3.

Experimental set-up: (a) Schematic of major experimental modules and signal flow. (b) Top view of set-up and illustration of geometric relationship between the laser source, MEMS scanner and PSD. (c) Schematic sensing and driving circuitry for the MEMS scanner.

B. Extended Kalman Filter with Threshold Sensing

The proposed EKF includes a hybrid sensing scheme where the signal of the capacitive sensor is regarded as a normal analog measurement, and the detection of threshold crossing is applied intermittently. The procedure for applying the EKF with the fusion of the two types of measurements is provided in Table I. In Table I, X^k is the a priori state estimates at the k-th step, Pk is the a priori error covariance matrix at the k-th step, Pk−1 is the a posteriori error covariance matrix at the (k 1)-th step, Q is the covariance matrix of process noise, and Gk=gXk1 is the Jacobian of the process model.

TABLE I.

Algorithm, EKF with Hybrid Sensing Scheme

1. Project a priori state estimates
X^k=g(X^k1,Vdr,k); Pk=GkPk1GkT+Q
2. Update matrix of observation
 If threshold detection is negative
Y^k=[0hcap(θ^k)]X^k=HkX^k; R=Rcap
 If threshold detection is positive
Y^k=[100hcap(θ^k)]X^k=HkX^k; R=[Rθ,th00Rcap]
3. Compute EKF gain with threshold sensing
Kk=PkHkT(HkPkHkT+R)1
4. Update a posteriori state estimates
X^k=X^k+Kk(YkY^k); Pk=PkKkHkTPk

Depending on whether a threshold detection is positive, the form of the matrix of observation, Hk, the estimated sensing signal, Y^k and the covariance matrix of measurement noise, R, will vary. Rcap is the measurement noise variance for the analog capacitance signal and Rθ,th is the variance of eθ,th. The Kalman gain Kk is then computed and a posteriori state estimates X^k and a posteriori estimate error covariance matrix Pk are finally updated with the measurement at the k-th step, Yk. Measurement Yk = [θth ycap,k]T for positive detection and Yk = ycap,k for negative detection.

IV. Experiments and Model Identification

An experimental testbed was prepared and used to identify parameters of the process and sensor models, and to verify the effectiveness of the DOG filter in threshold crossing detection and the EKF using the hybrid sensing scheme.

A. Experimental Set-up and Methods

As depicted in Fig. 3(a), computer-generated voltage commands were transmitted to an NI PCIe 6251 DAQ with sampling rate of 500 kHz. The voltage command was amplified by a TEGAM 2340 amplifier with 20 times amplification, and the amplified driving voltage fed to the MEMS scanner to generate tilting motions. Tilting motion was measured by two means: reflection of a laser by the scanner and conversion of the capacitive sensing current as described in equation (9).

Laser tracking is treated as the ground truth of tilting motion. Fig. 3 (b) shows the geometric relation between the MEMS scanner mounted on a dual inline package, a JDSU 1500 helium-neon laser source, and an On-Trak 1L10 position sensing detector (PSD). The laser beam is emitted by the source, reflected by the scanner’s mirror surface, and received by the PSD, amplified by an On-Trak-301 SL sensing amplifier.

On-chip sensing is used by the EKF. Fig. 3 (c) depicts the schematic of integrated driving and sensing circuitry. An AC driving voltage is fed into comb-fingers used for driving, and a DC bias voltage provided by a source meter, Vbias, is fed into comb-fingers used for sensing. The generated current flow through the shared grounding terminal is fed into a sensing circuit, which consists of a TI OPA2140 amplifier with a feedback resistance of 10 Mohm.

Since the objective of the study is to validate the method of using a DOG filter for threshold angle crossing detection and EKF integration, it is useful to eliminate potential disturbances introduced by feedthrough of the driving voltage. Therefore, during experiments, a power cut-off method was applied. A Zero to 60 volt periodic Vdr was applied to the MEMS scanner, and the frequency was swept from 1600 Hz to 1220 Hz to reach a maximized amplitude of tilting motion given electrostatic spring softening [18]. Once the tilting motion was stabilized, Vdr was set to zero, while Vbias was maintained at a constant 10 volts. Such a sequence of voltage commands allows the micro-scanner to freely oscillate briefly after the power cut-off, and the sensing current induced by the oscillation can be amplified and recorded without feedthrough disturbance.

A total 10 trials of power cut-off experiments were performed and the Vdr, ycap and yPSDwere recorded at 500 kHz rate. The data was post-processed as follows for consistency: Each time series was truncated at the power cut-off and 80 ms afterwards (approximately 50 periods of free oscillation). The delay between PSD measurement and sensing circuit measurement was experimentally calibrated to be 0.114 ms. To detect a threshold crossing, a DOG filter is applied to the sensing signal using the nlfilter function in MATLAB, which is a general sliding-neighborhood operation. The filtered signal is then processed with non-maximum suppression to suppress the filtered response except the local maxima, and these local maxima are then extracted to indicate the detected threshold crossing. In this study, the threshold detections are extracted in a post-processing fashion. To achieve a near real-time threshold detection, a buffer can be used to store measurements from past to present, and DOG filter can be applied to the signal in the buffer to generate a local maximum for threshold detection.

B. Identification of Process and Sensor Models

The tilting angle measured by the PSD, θPSD is computed as

θPSD=arctan(yPSDGPSDLm) (10)

where GPSD (0.5 mm/V) is the gain of the PSD sensing amplifier and Lm is the distance from the scanner surface to PSD surface and is measured to be 32.7 mm. A representative trajectory of the system is shown Fig. 4 (a); by fitting the decay curve using linear viscous damping [19], ωn and ζ were identified to be 624.6 Hz and 0.0066, respectively.

Fig. 4.

Fig. 4.

(a) Experimentally measured free oscillations vs. simulated decay curve of free oscillations with identified natural frequency and damping ratio of the MEMS scanner. (b) Experimentally identified sensing capacitance with respect to tilting angle.

The sensor model is the sensing capacitance as a non-linear function of angle, Cs(θ), which can be experimentally identified by mapping the trajectory Cs(t) versus θPSD(t) in various experiments. First, Cs(t) is obtained by integrating ycap with respect to time, from (2):

Cs(t)=t0tfRsVbiasycapdt (11)

Using the corresponding θPSD(t) one can establish a mapping of Cs(θ) and dCSdθ(θ) and therefore compute hcap(θ) as suggested in equation (9). Fig. 4 (b) shows the identified sensor gain function hcap(θ). The capacitance profile can be approximated by a Gaussian model [14].

The threshold location, θth is identified by computing the average angular displacement at which the peak capacitance is reached among the experimental measurements. Nominally, θth should be zero for the planar micro-scanner geometry, but in practice a non-zero value may occur due to finite fabrication tolerance of electrodes and residual stresses. In this device θth was calibrated to be 0.0037 rad.

V. Parametric Study of Factors Impacting Threshold Detection

In this section, parametric studies investigate the properties of the error of threshold detection and some contributing factors, including the sensor map and sampling rate. A sinusoidal tilting motion is simulated within the capacitive sensor model described by (9), with additive, zero-mean normally distributed measurement noise. The signal generated by the capacitive sensing model is passed into a DOG filter to compute the detection error in timing et,th and detection error in threshold angle eθ,th. Baseline settings from experimental device identification are summarized in Table II.

TABLE II.

Base Setting for Parametric Study

Symbol Description Value
fs sampling frequency 500 kHz
θamp amplitude of θ 0.15 rad
fm motion frequency 625 Hz
σn standard deviation of noise 0.0435 V
Rs feedback resistance 10 MΩ
Vbias bias voltage 10 V
WDOG width of DOG filter 400
σDOG standard deviation of DOG filter 15

A. Sampling Rate Effects

In (3), sampling rate is not singled out as a factor that affects the detection of threshold signal. However, this is not the case during digital implementation, as a low sampling rate introduces quantization error and a high sampling rate may allow excessive sensor noise into the filtering process. Therefore a series of simulations was conducted, from the baseline in Table II, and the sampling rate was swept from 50 kHz to 5 MHz. The filter size was adjusted proportionally to maintain a fixed ratio between the filter size and the period of the waveform. The signal-to-noise ratio (SNR) was also varied by multiplying σn by factors of 0.1 and 10.

The simulation result is shown in Fig. 5 (a). The result shows that Rt,th increases as sampling rate is slower than 1250 kHz, mainly due to quantization noise. As the sampling rate increases, Rt,th increases, attributed to noisier samples being taken into the filtering process. This suggest that an optimal selection for sampling frequency for a given threshold sensor exists, and one can properly size the data acquisition system to achieve the lowest variance of detection timing error without overreaching for fast sampling capability.

Fig. 5.

Fig. 5.

(a) Variance of detection error in threshold angle vs. sampling frequency. (b) Variance of detection error in threshold angle vs. maximum sensor gain slope.

B. Sensor Map Effects

Equation (3) suggests that the variance of detection timing error is inversely proportional to the rate of change of the signal y˙(t), meaning that a sharper and more abrupt change of signal amplitude can be more accurately located in a statistical sense. To test the significance of the change, one way is to change of the capacitance profile formed by the electrodes. More specifically, we are interested in dCs/dθ around threshold location, as higher values will prompt higher y˙cap(t) as suggested in (9). In this study, a modified logistic function is used to generate a modelled sensor gain, h^cap as:

h^cap(θ)=Ng(11+eNθθ0.5) (12)

where Ng is the normalization factor for gain, and Nθ is the normalization factor for angle. The modelled sensing capacitance simply takes the integration of h^cap(θ) with respect to tilting angle:

C^s(θ)=1RsVbiasθminθmaxh^cap(θ)dθ (13)

By sweeping Nθ one can vary the maximum sensor gain at the vicinity of threshold location, with larger Nθ corresponding to steeper slop and more drastic change of capacitance at θth, as depicted in Fig. 6. The experimentally identified sensor gain was used as baseline to generate a series of sensor model with Nθ swept from 0.2 to 5.

Fig. 6.

Fig. 6.

Sweep of maximum sensor gain slope. (a) Sensing capacitance becomes sharper around threshold angle as Nθ increase. (b) Sensor gain slope becomes steeper around threshold angle as Nθ increases.

Fig. 5 (b) shows the simulation results. We find that Rt,th decreases as expected as the maximum sensor gain slope increases. The significance of this change is comparable at various sensor noise densities.

VI. Experimental Results

In this section, experimental results are presented to evaluate the effect of different DOG filters on threshold detection and EKF performance. The decaying tilting motion of the micro-scanner after power cut-off provides an opportunity to vary SNR by segmenting trajectories. Therefore, for each trial the measurements and estimated states are divided into 4 segments, with SNR ranging from 85 to 1. For conciseness, the EKF using the hybrid sensing scheme of capacitive analog sensing and threshold sensing is abbreviated as HYB.

A. Effect of DOG Filter on Threshold Detection

The EKF implementation assumes that process noise and measurement noise are normally distributed. Therefore, it is helpful to verify the distribution of measurement noise of the threshold sensor. Threshold angle measurement noise is defined as the error between the threshold angle and the ground truth angle at the instant of detection, denoted as eθ,th. Here, et,th and eθ,th are computed by taking the differences between the timing and angle at the detected threshold crossing and their ground truth values, respectively. The distribution of et,thand eθ,th computed from experimental measurements was analyzed using the Kolmogorov-Smirnov test [20]. Results indicate that the error distribution can be well-modeled by normal distributions at the tested conditions, shown in Fig. 7.

Fig. 7.

Fig. 7.

Distribution of detection errors in threshold angle from experimental measurements at different signal-to-noise ratios can be well modeled by normal distributions.

Different settings for the DOG filter were also applied to ycap and the EKF to evaluate their impact on the variance of eθ,th and accuracy of state estimation. The filter size wD0G was swept from 80 sample points to 400 sample points and σDOG was swept from 1.5 to 45. No significant performance variation was found in varying wDOG while keeping σDOG the same. However, as shown in Fig. 8, the variance of eθ,th varies as σDOG varies for all four cases, which suggests a large σDOG is beneficial in reducing overall error variance.

Fig. 8.

Fig. 8.

Variance of detection error in threshold angle during experiments with respect to the standard deviation of DOG filter.

B. Effect of Threshold Sensing on EKF

A representative estimation result is depicted in Fig. 9. The ground truth (EXP) and estimated tilting motion (EKF and HYB) are shown.

Fig. 9.

Fig. 9.

A representative experimental measurement and estimation result in time domain. (a) Four snapshots of threshold angle crossing detection improving tilting angle estimation. (b) Overall trajectories of tilting angle measurement and estimations. (c) Overall trajectories of sensing signal and response of DOG filter. (d) Corresponding snapshots of sensing signal, where local maxima of filtered response detects threshold angle crossing.

Fig. 9 (a) shows the change in estimator output with introduction of threshold crossing detection: θ^ by HYB is corrected at the instant of threshold crossing detection and therefore is closer to the ground truth value. Fig. 9 (d) shows that the local maxima of the DOG filter response corresponds to the vicinity of the maximal rate of change of ycap and serves as a detection of threshold angle crossing. The four snapshots demonstrate that the detection method is robust under various SNR conditions.

Root mean square error (RMSE) of tilting angle θRMSE is defined as a performance metric:

θRMSE=1Ni=1N(θ^iθPSD,i)2 (14)

where θ^i is a posteriori estimate of tilting angle and θPSD,i is the tilting angle measured by the PSD at the i-th sampling instance, and N is the number of sampling instants. A normalized root mean square error (NRMSE) of tilting angle, θNRMSE is also defined and examined:

θNRMSE=θRMSEθ¯amp (15)

where θ¯amp is the average amplitude of the corresponding waveforms. θRMSE and θNRMSE are evaluated for the overall trajectories as well as each segment.

To evaluate the improvement made by introducing threshold sensing to the EKF, the θRMSE within each segment of estimation trajectory generated by the two estimators are computed. Here θRMSE,th denotes the RMSE computed using 50 sample points after each threshold detection occurred. The results are listed in Table III.

TABLE III.

Summary of RMSE of Estimated Tilting Angle

SNR 85 SNR 22 SNR 5 SNR 1 Overall
EKF θRMSE 0.0050 0.0029 0.0026 0.0025 0.0034
HYB θRMSE 0.0047 0.0023 0.0019 0.0018 0.0029
θRMSE reduced 6.9% 21.4% 27.6% 30.3% 15.1%
EKF θRMSE,th 0.0055 0.0051 0.0050 0.0049 0.0051
HYB θRMSE,th 0.0041 0.0045 0.0049 0.0045 0.0045
θRME,th reduced 26.0% 11.6% 2.6% 8.1% 12.3%

From Table III we can see that the largest percentage improvement of total RMSE happens with SNR = 1. The largest improvement of RMSE after threshold detection location happens with SNR = 85. The result shows that the threshold sensing adds the greatest local accuracy in high SNR conditions, but is more beneficial for overall EKF performance when SNR is low.

The trend of θNRMSE of each segment with respect to different σDOG is shown in Fig. 10. For segments with high SNR (85 and 22), the change of σDOG does not significantly change θNRMSE. However, for segments with low SNR (5 and 1), the analysis shows increasing σDOG significantly reduces θNRMSE, which suggests that the performance of EKF with threshold sensing is sensitive to selection of σDOG.

Fig. 10.

Fig. 10.

Normalized RMSE with different signal-to-noise ratios and various σDOG settings. Under noisy condition (low SNR), increasing σDoG effectively increases threshold detection accuracy and therefore increases state estimation accuracy of the EKF.

I. Conclusion

We introduce a method for utilizing a first order derivative of Gaussian (DOG) operator to detect threshold crossing from noisy signal and integrated this detection mechanism into an EKF to estimate states from a non-linear process. To verify the effectiveness of the method, experimental and simulation studies have been conducted to estimate the tilting angle of an electrostatic micro-scanner, and quantify various factors that might affect the error of threshold detection and EKF performance. Simulation shows: (1) an optimal sampling frequency exists for a minimal variance of detection timing error; (2) increasing Gcap(θ) around threshold angle reduces variance of detection error in timing and angle, beneficial for improving EKF accuracy.

Experimental results show that use of the threshold sensing mechanism improved EKF performance across SNR conditions on a MEMS micro-scanner, with best improvement of a 30.3% reduction in RMSE of tilting angle estimation. On average, using threshold sensing improves the RMSE by 15.1% across a range of SNR scenarios. A sweep of width σDOG of the DOG filter also shows that for low SNR, threshold detection accuracy is more sensitive to DOG filter parameter such as σDOG and therefore needs to be selected carefully to so that EKF can maximize the performance improvement of using the DOG filter.

Acknowledgment

The authors would like to thank Mayur Birla for his help in taking SEM images of the device.

This work was partially supported in part by DARPA (Grant W31P4Q-12-1-0002), the National Institutes of Health (Grant 5-RQ1-EB-020644) and the National Science Foundation (Grant CMMI 1334340).

Biographies

graphic file with name nihms-1664221-b0001.gif

Yi Chen received the B.S. degrees in mechanical engineering from the University of Michigan and Shanghai Jiao Tong University in 2010. He received two Master’s degrees in mechanical engineering and electrical engineering and a Ph.D. degree in mechanical engineering from the University of Michigan in 2012, 2018 respectively.

He is currently an software engineer with Midea Emerging Technology Center. His research interests include computer vision and robotics.

graphic file with name nihms-1664221-b0002.gif

Haijun Li received the Ph.D. degree in microelectronics and solid-state electronics from Jilin University, Changchun, China, in 2007. He held a post-doctoral position at Nanyang Technology University, Singapore, from 2008 to 2011. He was a Senior Engineer at the Hebei Semiconductor Research Institute, Shijiazhuang, China, from 1997 to 2008.

He is currently a Research Investigator with the University of Michigan, Ann Arbor, MI, USA, where he is involved in the development of MEMS-based endomicroscope. His research interests include MEMS, uncooled infrared detectors, epi-MEMS technology, and wafer level packaging technologies.

graphic file with name nihms-1664221-b0003.gif

Zhen Qiu was born in Wuhu, Anhui, China. He received the Bachelor Degree in the Department of Precision Instruments, Tsinghua University, Beijing, China, and the Ph.D. degree from the Department of Biomedical Engineering, University of Michigan-Ann Arbor, MI, USA, in 2004, 2013, respectively.

He finished his post-doctoral training in the Department of Radiology and Molecular Imaging Program Stanford (MIPS), School of Medicine, Stanford University, CA. He is currently an Assistant Professor in the Department of Biomedical Engineering, Institute for Quantitative Health Science and Engineering, Michigan State University, MI. His research interests include biomedical optics, MEMS/MOEMS, multi-modal targeted imaging using novel contrast agents, wearable and implantable medical devices, ultrafast laser applications.

Professor Qiu is currently holding the member of SPIE and OSA.

graphic file with name nihms-1664221-b0004.gif

Thomas D. Wang received his B.S. degree in Mathematics and Physics from Harvey Mudd College and Ph.D. degree in medical engineering and medical physics from MIT.

He is currently a Professor of Medicine, Biomedical Engineering, and Mechanical Engineering at the University of Michigan and the H. Marvin Pollard Collegiate Professor of Endoscopy Research. His research interests are in the field of biomedical optics, multiplexed detection, and molecular imaging. He has developed a number of microsystems-based technologies to perform scanning and actuation for high speed imaging with large working distance in endomicroscopy.

graphic file with name nihms-1664221-b0005.gif

Kenn R. Oldham received the Ph.D. in Mechanical Engineering from the University of California at Berkeley in 2006 and the B.S. in Mechanical Engineering from Carnegie Mellon University in 2000. He is currently an Associate Professor of Mechanical Engineering at the University of Michigan. His research focuses on the intersection of control systems and micro-scale sensing and actuation, with interests in design for controllability, optimal and robust control, microsystem estimation and identification, and novel sensor and actuator design. Applications include terrestrial micro-robotics, endoscopic microscopy, and inertial and physiological sensing.

Contributor Information

Yi Chen, Department of Mechanical Engineering, University of Michigan, Ann Arbor, MI 48109, USA.

Haijun Li, Department of Biomedical Engineering, University of Michigan, Ann Arbor, MI 48109, USA.

Zhen Qiu, Department of Biomedical Engineering, Michigan State University, East Lansing, MI, 48824, USA.

Thomas D. Wang, Department of Biomedical Engineering, University of Michigan, Ann Arbor, MI 48109, USA

Kenn R. Oldham, Department of Mechanical Engineering, University of Michigan, Ann Arbor, MI 48109, USA

REFERENCES

  • [1].Fleming AJ, “A review of nanometer resolution position sensors: Operation and performance,” Sensors and Actuators A: Physical, vol. 190, no. 1, pp. 106–126, 2013. [Google Scholar]
  • [2].Shaeffer DK, “MEMS inertial sensors: a tutorial overview,” IEEE Communications Magazine, pp. 100–109, 11 April 2013. [Google Scholar]
  • [3].Chen Y, Aktakka EE, Woo J-K, Najafi K and Oldham KR, “On-chip capacitive sensing and tilting motion estimation of a micro-stage for in situ MEMS gyroscope calibration,” Mechatronics, 2018. [Google Scholar]
  • [4].Scheeper PR, Donk A. v. d., Olthuis W and Bergveld P, “A review of silicon microphones,” Sensors and actuators A: Physical, vol. 44, no. 1, pp. 1–11, 1994. [Google Scholar]
  • [5].Eaton WP and Smith JH, “Micromachined pressure sensors: review and recent developments,” Smart Materials and Structures, vol. 6, no. 5, p. 530, 1997. [Google Scholar]
  • [6].Acar C and Shkel A, MEMS vibratory gyroscopes: structural approaches to improve robustness, Springer Science & Business Media, 2008. [Google Scholar]
  • [7].Stemme G, “Resonant silicon sensors,” Journal of Micromechanics and Microengineering, vol. 1, no. 2, p. 113, 1991. [Google Scholar]
  • [8].Chen Y and Oldham KR, “Kalman filter estimation with edge detection-based hybrid sensing,” in American control Conference, Boston, 2016. [Google Scholar]
  • [9].Henningsson T and Astrom KJ, “Log-concave observers,” in Proc. of Mathematical Theory of Networks and Systems, Kyoto, 2006. [Google Scholar]
  • [10].Chen Y, Aktakka EE, Woo J-K and Oldham K, “Threshold sensing signal construction from a capacitive sensor for MEMS gyroscope calibration,” in IEEE International Conference on Advanced Intelligent Mechatronics (AIM), Banff, 2016. [Google Scholar]
  • [11].Edamana B, Chen Y, Slavin D, Akatakka EE and Oldham KR, “Estimation with threshold sensing for gyroscope calibration using a piezoelectric microstage,” IEEE Transactions on Control Systems Technology, vol. 23, no. 5, pp. 1943–1951, 2015. [Google Scholar]
  • [12].Schenk H, Durr P, Haase T, Kunze D, Sobe U, Lakner H and Kuck H, “Large deflection micromechanical scanning mirrors for linear scans and pattern generation,” IEEE Journal of Selected Topics in Quantum Electronics, vol. 6, no. 5, pp. 715–722, 2000. [Google Scholar]
  • [13].Li H, Duan X, Qiu Z, Zhou Q, Kurabayashi K, Oldham KR and Wang TD, “Integrated monolithic 3D MEMS scanner for switchable real time vertical/horizontal cross-sectional imaging,” Optics Express, vol. 24, no. 3, pp. 2145–2155, 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [14].Shahid W, Qiu Z, Duan X, Haijun L, Wang TD and Oldham RK, “Modeling and Simulation of a Parametrically Resonant Micromirror With Duty-Cycled Excitation,” Journal of Microelectromechanical Systems, pp. 1440–1453, 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [15].Yazdi N, Kulah H and Najafi K, “Precision readout circuits for capacitive microaccelerometers,” in Proceedings of IEEE Sensors 2004, Vienna, 2004. [Google Scholar]
  • [16].Basu M, “Gaussian-based edge-detection methods-a survey,” IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), vol. 32, no. 3, pp. 252–260, 2002. [Google Scholar]
  • [17].Canny J, “A computational approach to edge detection,” IEEE Transactions on pattern analysis and machine intelligence 6, pp. 679–698, 1986. [PubMed] [Google Scholar]
  • [18].Holmstrom ST, Baran U and Urey H, “MEMS Laser Scanners: A Review,” Journal of Microelectromechanical Systems, vol. 23, no. 2, pp. 259–275, 2014. [Google Scholar]
  • [19].Richard Schroedter MRKJTS, “Flatness-based open-loop and closed-loop control for electrostatic quasi-static microscanners using jerk-limited trajectory design,” Mechatronics, 2017. [Google Scholar]
  • [20].Lilliefors HW, “On the Kolmogorov-Smirnov Test for Normality with Mean and Variance Unknown,” Journal of the American statistical Association, vol. 62, no. 318, pp. 399–402, 1967. [Google Scholar]
  • [21].Thrun S, Burgard W and Dieter F, Probabilistic robotics, London: The MIT Press, 2005. [Google Scholar]
  • [22].Hofmann U, Janes J and Quenzer H-J, “High-Q MEMS resonators for laser beam scanning displays,” Micromachines, vol. 3, no. 2, pp. 509–528, 2012. [Google Scholar]

RESOURCES