Chapter 4: Type Reduction Approximation
4.5. Suggested Error Evaluation
The usual dividing of the integration period into two equal intervals, during adaptive integrations, when the quadrature local error exceeds its limit (Gonnet 2009), means that performing two integrations one of them can be unnecessary. Searching for the appropriate interval length successively to assure that integration local error is preserved can be another possible approach. In the next sections, this is going to analysed and evaluated for fuzzy type reduction purposes. The trapezoidal rule error proportional nature, where integration error is zero for straight segments and high for highly curved segments, facilitates using the successive search by evaluating the local integration error on a variable integration period. It is required to find the maximum interval length, which still has an integration error within the required limit. In the successive search technique (McNeill et al. 2011); if the required criteria level is not exceeded, then the search step size is doubled, otherwise, it is halved. This algorithm has been used frequently for high speed Analog to Digital Converters (ADC) because of its
76
simplicity and ability to be realized using simple hardware, consuming low power (Saberi and Lotfi 2014).
This is going to be used here to find the correct interval length in the successive adaptive quadrature algorithm while assuming that the fuzzy membership is defined using discrete equally spaced points as: π(π¦π) = {π0, π1, π2, β¦.,ππ}, which it is one of the simple and most common definitions thatβs being use for digital systems. The goal is to find the maximum possible interval length successively within a convex fuzzy set. This can be done by using the well-known trapezoidal-rule error over a period [π, π], which is defined by equation ( 4-15), then re-formulating this for a temporary segment section ππ π by using its first point (π¦0πππ, π0πππ) and its last point (π¦ππππ, πππππ). This re-shaping begins from the definition of the slope at the start point of the temporary section ππ π, as follows: π1πππ = (π1πππβ π0πππ) (π¦1πππβ π¦0πππ) =(π1πππβ π0πππ) βπ¦ ( 4-17)
This section can be defined in different lengths as multiplicands of the system discretisation level (ππππ. ππ¦). Its slope at the end-point is equal to:
πππππ =
(πππππβ π(πβ1)πππ) (π¦ππππ β π¦(πβ1)πππ)
= (πππππβ π(πβ1)πππ)
βπ¦ ( 4-18)
77
Then, as shown in Figure 4-2, from the average second-derivation of the curved function over this section:
πβ²β²(Γ¦) = πππππ β π1πππ
(π β 0)πππ. βπ¦ ( 4-19)
Can get the average slope of the straight line that joining the start and end points of the curved section to be;
πππππ = (πππππ β π0πππ) (π¦ππππβ π¦0πππ) =
(πππππβ π0πππ)
ππππ. βπ¦ ( 4-20)
This slope, according to the mid-point interpolation theorem (Rao 2007), can be approximated by: πππππ βπππππ + π1πππ 2 ( 4-21) Getting: πππππ β 2πππππβ π1πππ ( 4-22) Substitute in ( 4-19) to get; πβ²β²(Γ¦) β2(πππππβ π1πππ) ππππ. βπ¦ ( 4-23)
Re-write using the start and
end points: πβ²β²(Γ¦) β2[(πππππβ π0πππ) β π(π1πππ β π0πππ)]
π2. (βπ¦)2 ( 4-24) Using equation ( 4-15) to get: πππ =βπ3. (βπ¦)3
12 π
β²β²(Γ¦)
( 4-25) Re-write, using the section terminal points:
πππ ββπ. βπ¦ [π(π1πππβ π0πΌ) β (πππππβ π0πππ)
6 ( 4-26)
The local error limit is the unit-length error multiplied by the local interval length. The unit-length error is the global error divided by the equally spaced total integration divisions, as follows:
ππ’πππ‘πΏ = πππππππ§
78
Thus, error threshold for an interval of length π. βπ¦ should be bounded as:
πππ β€ ππ’πππ‘πΏ. π. βπ¦ ( 4-28)
Substituting in equation ( 4-26) to get the local integration error constraints as:
|π(π1πππβ π0πππ) β (πππππβ π0πππ)| β€6 . |πππππππ§|
π. βπ¦ ( 4-29)
π(π1πππβ π0πππ) β (πππππβ π0πππ) β€ |6. πππ.π’.π| ; πππ βπ¦ = 1 ( 4-30)
This error constraint is correct for functions that have gradual slope change over their domain. However, this is not the case with fuzzy sets that have horizontal cuts, which caused by different fuzzy threshold levels. The error, in this case, is bounded as shown in Figure 4-2 by the dotted area, which has to be considered in order to keep the total error under the required limit. The maximum possible integration error for such shapes with horizontal cuts can be in its maximum value when the point π¦π falls in the middle distance between π¦0 and π¦π. The integration error for this case can be evaluated as:
ππππ = (π¦πΆπππβ π¦0πππ) (ππΆπππβ π0πππ) 2 + (π¦ππππβ π¦πΆπππ)(πππππβ π0πππ) + (ππΆπππβ π0πππ) 2 β(π¦ππππ β π¦0πππ) (ππΆπππ β π0πππ) 2 ( 4-31)
Re-formulating and using the slope of the start and end points:
π0 = (ππβ π0) (π¦π β π¦0) = (ππβ π0) 0.5(π¦πβ π¦0) ( 4-32) ππ = (ππβ ππ) (π¦πβ π¦π) = (ππβ ππ) 0.5(π¦πβ π¦0) ( 4-33)
79 π0
ππ =
(ππβ π0)
(ππβ ππ) ( 4-34)
To get point ππ definition as: ππ =
ππ . π0+ π0 . ππ
π0 + ππ ( 4-35)
Using equation ( 4-21) to get ππ in term of total slope ππ as below:
ππ β 2ππ . π0β π0 . π0+ π0 . ππ
2ππ ( 4-36)
This can be simplified to: ππ β π0+ π0
2ππ(ππβ π0) = π0+ π
2(π1β π0) ( 4-37)
Substitute in equation ( 4-31) to get: ππππ βπβπ¦
4 [π(π1β π0) β (ππβ π0)] ( 4-38) Thus, the error will stay under the required boundaries, if the following relation is held:
π(π1β π0) β (ππβ π0) β€
4 . |πππππππ§|
π. βπ¦ ( 4-39)
Or, π(π1β π0) β (ππβ π0) β€ |4. πππ.π’.π| ; πππ βπ¦ = 1 ( 4-40)
This relation defines the Trapezoidal error in stricter form if compared to relation ( 4-30), which it is the result of a traditional trapezoidal error equation ( 4-15).
80