An Introduction to the Kalman Filter
Summary (2 min read)
1. Introduction
- The electrical windings of a permanent magnet synchronous motor are spaced on the stator (the ®xed part of the motor) at regular angles.
- For continuous rotation at the highest torque and e ciency, the stator ¯ux is rotated in the desired direction of motion, keeping 90° ahead of the rotor ¯ux.
- It is also a challenging problem because the measured winding currents are strongly a ected by electrical noise in the motor drive.
2.1. Current estimation
- Consider the problem of estimating a discrete-time signal fxg corrupted by noise.
- (The determination of the rate estimate is discussed in Section 2.2.).
- The fuzzy rule base for the mapping g was chosen as shown in Table 1.
- Triangular input and output membership functions are used.
- An appropriate initial knowledge base is critical, because without an initial knowledge the authors cannot proceed further with any optimization schemes.
2.2. Current rate estimation
- One of the inputs to the fuzzy estimator discussed above is the current rate estimate v̂ (see Eq. (4)).
- The method of undetermined coe cients is a simple but elegant approach to deriving formulas for numerical di erentiation.
- The ®rst part of Eq. (17) re¯ects the e ect of using current estimates that are separated too much in time to estimate the current rate.
- (The current is measured by an analog-to-digital converter [ADC] on the motor drive, so the acquired voltage is directly proportional to the motor winding current.).
- Again based on their knowledge of the current waveforms, the authors will assume that the standard deviation of the fourth derivative of the current is about 80 V/(ms)4.
3. Optimization
- If the fuzzy membership functions are triangular as shown in Fig. 1, gradient descent can be used to optimize the centroids and the widths of the input and output membership functions.
- The work in this section builds on and extends similar e orts in [5,8].
- The authors can optimize E by using the partial derivatives of E with respect to the centroids and half-widths of the input and output fuzzy membership functions.
3.4. Output half-widths
- Note from the above equations that if the authors start with symmetric output membership functions (i.e., bÿj b j ), then ox̂=obÿj ox̂=ob j .
- Therefore, if the authors start their optimization with symmetric output membership functions, they will always have symmetric output membership functions because the derivatives of the error function with respect to the lower and upper half-widths will always be equal.
4. Rule base reduction
- Wang et al. [9] have recently used an SVD method to reduce the dimension of the input space of a fuzzy system, assuming that the membership functions are B-splines.
- Consider a fuzzy rule base with two inputs a and b and a single fuzzy consequent r.
- Actually, UU and UV can be chosen as any invertible matrices whose row sums are equal to the column sums of Ur and Vr, respectively [10].
- The authors choose the above forms for ease of computation.
- The centroids of the consequents for the reduced rule base are de®ned in the matrix R.
5. Experimental results
- The fuzzy estimator and optimizer discussed in this paper was implemented in Visual Basic and was used to ®lter the winding currents of a permanent magnet synchronous motor.
- The fuzzy ®lter was causal and was implemented as described earlier in this paper.
- Fig. 3 shows the training data that was used for the gradient descent optimization.
- Fig. 4 shows the seven initial membership functions for the two inputs and the output.
- A comparison with Fig. 4 shows that the membership functions did not change dramatically during the optimization process.
6. Conclusion
- A fuzzy ®lter has been applied to the estimation of motor winding currents.
- The gradient descent optimization discussed in this paper is attractive because of its conceptual straightforwardness, but one of its primary disadvantages is its convergence to a local minimum.
- Further work on the topic of this paper is focusing on optimization methods that do better at ®nding the global minimum (e.g., genetic algorithms), integration of the ®ltering scheme with motor control, and real time implementation issues.
- This reduction could be important for real time implementation where cycle time is at a premium.
- A MATLAB m-®le for rule base reduction (based on the algorithms presented in [10] and summarized here) of a general two-input, oneoutput fuzzy logic system can be downloaded from http://csaxp.csuohio.edu/ simon/reduce/.
Did you find this useful? Give us your feedback
Citations
1,386 citations
692 citations
636 citations
606 citations
References
6,539 citations
6,015 citations
4,294 citations
Related Papers (5)
Frequently Asked Questions (2)
Q2. What have the authors stated for future works in "Design and rule base reduction of a fuzzy ®lter for the estimation of motor currents" ?
The fuzzy estimator o ers the possibility of training if a nominal current history is known a priori. Further work on the topic of this paper is focusing on optimization methods that do better at ®nding the global minimum ( e. g., genetic algorithms ), integration of the ®ltering scheme with motor control, and real time implementation issues. It is not di cult to program a general purpose rule base reduction algorithm if the authors can make the following assumptions: ( 1 ) There are an odd number of membership functions for the two inputs and the output ; ( 2 ) the membership functions are symmetric triangles ; and ( 3 ) they desire to keep the two largest singular values in the R matrix of Eq. ( 56 ). A MATLAB m-®le for rule base reduction ( based on the algorithms presented in [ 10 ] and summarized here ) of a general two-input, oneoutput fuzzy logic system can be downloaded from http: //csaxp. csuohio. edu/ simon/reduce/.