Instrumentasi Inteligen - 6 PDF
Instrumentasi Inteligen - 6 PDF
Instrumentasi Inteligen - 6 PDF
Instrumentasi Intelijen
Adhi Harmoko Saputro
2
Indirect Sensing
Adhi Harmoko Saputro
3
Indirect Sensing
• A situation often arises when some important variables are difficult to be
measured due to unavailability of an appropriate sensor or high noise level.
• The soft sensors are one solution to this problem: uses a model of the process
or plant and the model is simulated in the software to generate the measurand
4
Indirect Sensing
• Indirect sensing is another solution to the problem of unavailability of a direct
sensor.
• A soft sensor estimates the model parameters using the secondary measurements
and determines the unknown primary measurand, while indirect sensing estimates
the variable through other measurable variables using one of the following
techniques:
1. Least square parameter estimation
2. Spectral analysis–based parameter estimation
3. Fuzzy logic based
4. ANN based
5
Indirect Sensing
• A soft sensor estimates the model parameters using the hard sensor
measurements when it is available while an indirect sensor estimates the model
parameters using some other indirect measurements
• A soft sensor is a temporary solution when the hard sensor is temporarily
unavailable while an indirect sensor is a permanent solution for a measurand when
the hard sensor is not at all available
6
y = ∅T α
• The system measurement vector Y and the indirect measurement matrix Ø are
constructed using N measurements
αˆ = {∅ ∅} ∅T Y
T −1
9
Example
• In the circuit shown in Figure, the measured variables are the supply voltage Vi, the
circuit current I, and the charge accumulated on the positive plate of the capacitor
q.
• Propose a least square estimation technique to estimate the values of R and C.
• Estimate the frequency of the input voltage from the measured data and the
parameters.
10
Example
• The circuit KVL equation can be written as
1
V=
t IR + ∫ Idt
C
∫ Idt = q
1
V=
t IR + q
C
• Writing the above equation in vector form
1 I
Vt = R
C q
11
Example
• which is of the form
y =∅T α ⇒ y =Vt ∅T =[ I q]
1
⇒ α=
R C
• Taking N measurements
Vt (1)
I (1) q (1)
T V t ( )
2
∅ = Y=
I ( N ) q ( N )
Vt ( N )
12
Example
• Using LS estimation technique, the estimated parameter
−1
αˆ = ∅ ∅ ∅T Y
T
13
Example
• the frequency of the input voltage from the measured data and the parameters
i
V=
t IR +
ωC
1
⇒ω = C
(Vt − IR )
• Here, the measured variables are Vi and I.
14
x1 ( k ) , x2 ( k ) xn ( k ) ; y ( k )
• For each pair there are n input data and one output data
• Each point of measurement data presented to the training systems
• n is the number of inputs
• k is the point of data pair
19
4. Fuzzy rule
• For each pair of input–output data set, a rule is assigned and each rule has a
degree of confidence
• For example Rule:
23
Example:
A fuzzy model of the dryer for measuring the drying status
• Assign triangular membership functions to the input–output variables
• Dryer inlet temperature (Ti) is divided into two groups: LOW and HIGH
• Tea feed rate (Mi) into three groups: LOW, MEDIUM, and HIGH
• Drier outlet temperature (To) into three groups: LOW, MEDIUM and HIGH
• Drying status into three groups: UNDER, NORMAL, and OVER.
25
Example:
A fuzzy model of the dryer for measuring the drying status
• The ranges of the variables and the number of fuzzy membership regions are
• Ti : 85°C−100°C; 16 regions
• Mi : 3 − 15 trays/15 min; 12 regions
• T0 : 60°C − 80°C; 21 regions
• D (dryness): 0%–10%; 21 regions
26
Example:
A fuzzy model of the dryer for measuring the drying status
• Regions of membership functions of the input–output variables
27
Example:
A fuzzy model of the dryer for measuring the drying status
• Regions of membership functions of the input–output variables
28
Example:
A fuzzy model of the dryer for measuring the drying status
• Linguistic Attributes of the Tea Dryer Parameters
29
Example:
A fuzzy model of the dryer for measuring the drying status
• Lookup Table of Fuzzy Rule Distribution for Tea Dryer Status Detection
30
Example:
A fuzzy model of the dryer for measuring the drying status
• Lookup Table of Fuzzy Rule Distribution for Tea Dryer Status Detection
31
Example:
A fuzzy model of the dryer for measuring the drying status
• For example data Nos. 3 and 4 of pattern 5 form the following two rules,
respectively:
• Rule 1: IF Ti is H9, Mi is L3 and T0 is L1 THEN D is 01
• Rule 2: IF Ti is H9, Mi is L3 and T0 is L1 THEN D is 02
32
Example:
A fuzzy model of the dryer for measuring the drying status
• the rule with the highest membership function will be used. For example:
• When Ti: 92°C, Mi: 3 trays/15 min and T0: 65°C, then the degree of the membership
functions for the two rules are
• Rule 1: μH9(Ti) = 1.0, μL3(μi) = 1.0, μL1(T0) = 1.0, and μ01(D) = 0.8
• Rule 2: μH9(Ti) = 1.0, μL3(μi) = 1.0, μL1(T0) = 1.0, and μ01(D) = 1.0
• The degree of the two rules are
• Rule 1: 1.0 × 1.0 × 1.0 × 0.8 = 0.8
• Rule 2: 1.0 × 1.0 × 1.0 × 1.0 = 1.0
• Therefore, rule 2, with stronger degree, is used as rule base and stored in the LUT in
column H9 and row L1 as 02.
33
Terima Kasih
Adhi Harmoko Saputro