• No results found

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

Related documents