com
UNIT-5
APPLICATIONS OF FLC
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
An Example
The following, illustrates a basic fuzzy automatic transmission system. The transmission uses four fuzzy sensor inference inputs to control the best gear selection for the given conditions. The inputs are throttle, vehicle speed, engine speed and engine load.
www.Vidyarthiplus.com
An Example (cont.)
Labels and Membership Functions of Throttle.
www.Vidyarthiplus.com
An Example (cont.)
Labels and Membership Functions of vehicle speed.
www.Vidyarthiplus.com
An Example (cont.)
Labels and Membership Functions of engine speed.
www.Vidyarthiplus.com
An Example (cont.)
Labels and Membership Functions of engine load.
www.Vidyarthiplus.com
An Example (cont.)
Labels and Membership Functions of shift.
10
www.Vidyarthiplus.com
An Example (cont.)
Using the labels as defined in the previous slides, rules can be written for the fuzzy interface unit. The rules provide a tangible knowledge base required for the decision process and are represented as English like if-then statements.
11
www.Vidyarthiplus.com
An Example (cont.)
To create the fuzzy interface unit, rules such as the following would be developed to facilitate the automatic shifting of the vehicle. If vehicle speed is low, variation of vehicle speed is small, slope resistance is positive large and accelerator is medium then mode is steep uphill mode. If vehicle speed is medium, variation of vehicle speed is small, slope resistance is negative large and accelerator is small then mode is gentle downhill mode.
12
www.Vidyarthiplus.com
An Example (cont.)
If Mode is Steep uphill mode, the Shift is No. 2 If Mode is Gentle downhill mode, then Shift is No. 3 The previous slides illustrate how fuzzy logic can provide a powerful tool when addressing complex situations that are not feasible using conventional approaches. By employing fuzzy logic, we have the ability to include additional variables and rules to take into account factors that might improve the behavior of the control system.
13
www.Vidyarthiplus.com
14
www.Vidyarthiplus.com
Fuzzy ABS
The ECU then processes this information and regulates the brake accordingly. Since ABS systems are nonlinear and dynamic in nature they are a prime candidate for fuzzy logic control. Intel & Inform Software Corporation Fuzzy ABS utilizes a high performance, low cost, 16-bit 8XC196Kx architecture to take advantage of improved math execution timing. Uses Fuzzy Rules like "If the rear wheels are turning slowly and a short time ago the vehicle speed was high, then reduce rear brake pressure".
15
www.Vidyarthiplus.com
16
www.Vidyarthiplus.com
Inputs: 1. The Brake: This block represents the brake pedal deflection/ assertion. This information is acquired in a digital or analog format. 2. The 4 W.D: This indicates if the vehicle is in the 4-wheel-drive mode. 3. The Ignition: This input registers if the ignition key is in place, and if the engine is running or not. 4. Feed-back: This block represents the set of inputs concerning the state of the ABS system. 5. Wheel speed: In a typical application this will represent a set of 4 input signals that convey the information concerning the speed of each wheel. This information is used to derive all necessary information for the control algorithm Outputs: The proposed system shown above has two types of outputs. The PWM signals to control ABS braking, and an Error lamp signal to indicate a malfunction if one exists.
17
www.Vidyarthiplus.com
18
www.Vidyarthiplus.com
The degree of dirt is determined by the transparency of the wash water. The dirtier the clothes, the lower the transparency for a fixed amount of water. The type of dirt is determined from the saturation time, the time it takes to reach saturation. The fuzzy controller output is the length of the wash time.
19
www.Vidyarthiplus.com
Fuzzy Controller
20
www.Vidyarthiplus.com
21
www.Vidyarthiplus.com
22
www.Vidyarthiplus.com
23
www.Vidyarthiplus.com
www.Vidyarthiplus.com
25
www.Vidyarthiplus.com
Dimensionless model d = dt detect when pendulum stops d = sin + gain( , ) cos rising dt gain( , ) = k if turnoff > 0 = 0, otherwise
starting from hanging configuration, rod can be made to reach inverted configuration with sufficient force acting until horizontal line is reached
26
www.Vidyarthiplus.com
27
www.Vidyarthiplus.com
INTRODUCTION
-The techniques of fuzzy logic and expert system have been used in the medical area since middle 1970. The anesthetists control important control variables such as blood pressure, heart rate, temperature, blood oxygenation and exhaled CO2 within the acceptable bounds. Anesthesia must be maintained during the entire surgical procedure . The goal is to develop automated control systems to regulate the depth of anesthesia.
28
www.Vidyarthiplus.com
ANESTHESIA CONTROL
29
www.Vidyarthiplus.com
1- PID CONTROLLER
Where the patient's transfer functions P(s) was cited in the following reference
30
www.Vidyarthiplus.com
1- Proportional:If the difference between the current plant output and its desired value (the current error) is large, the software should probably change the drive signal a lot. If the error is small, it should change it only a little .
2- Differentiation:The biggest problem with proportional control alone is that you want to reach new desired outputs quickly and avoid overshoot and minimize ripple once you get there. Responding quickly suggests a high proportional gain; minimizing overshoot and oscillation suggests a small proportional gain. Achieving both at the same time may not be possible in all systems. D * (current -- previous) where D is a constant derivative gain
31
www.Vidyarthiplus.com
3- Integration
A remaining problem is that PD control alone will not always settle exactly to the desired output. In fact, depending on the proportional gain, it's altogether possible that a PD controller will ultimately settle to an output value that is far from that desired. I = ( desired current )
32
www.Vidyarthiplus.com
In this section a disturbance is added to the system. Figure shows the effect of the disturbances.
33
www.Vidyarthiplus.com
2- A FUZZY CONTROLLER
-The modeling of real world systems, however, often presents problems. As processes increase in complexity, they become less amenable to direct mathematical modeling based on physical laws since they may be distributed, stochastic, non-linear and timevarying, uncertain, etc.
34
www.Vidyarthiplus.com
35
www.Vidyarthiplus.com
FUZZY SETS
36
www.Vidyarthiplus.com
FUZZY OPERATIONS
x 0 0 1 1 0.2 0.7 0.6 y 0 1 0 1 0.5 0.2 0.6 min(x,y) 0 0 0 1 0.2 0.2 0.6 max(x,y) 0 1 1 1 0.5 0.7 0.6 1-x 1 1 0 0 0.8 0.3 0.4
37
www.Vidyarthiplus.com
FUZZY CONTROL
There is more to fuzzy logic than some interesting math, it has some impressive applications in engineering. The main application of fuzzy logic in engineering is in the area of control systems. The definition of a control system, given by Richard Dorf in Modern Control Systems is: "An interconnection of components forming a system configuration that will provide a desired response." This means that a control system needs to know the desired response (input) and it needs to process this input and attempt to achieve it. The general control system can then be summarized with the following diagram .
38
www.Vidyarthiplus.com
-You can create and edit fuzzy inference systems with Fuzzy Logic Toolbox software. You can create these systems using graphical tools or command-line functions, or you can generate them automatically using either clustering or adaptive neuro-fuzzy techniques.
39
www.Vidyarthiplus.com
CONCLUSION
-In this project we applied a new algorithm using fuzzy logic controller for the control of unconsciousness via blood pressure measurements. -A simulation platform was built around a non-linear recirculatory physiological model which was modified to include a more efficient way of delivering the anesthetic. -The simulation results showed that the fuzzy-based algorithm was effective in terms of set-point tracking and drug consumption. -A comparison with the PID controlled is carried out and the performances of the FLC over the PID are shown.
40
www.Vidyarthiplus.com
Introduction
Neuro-fuzzy systems
Soft computing methods that combine in various ways neural networks and fuzzy concepts
ANN nervous system low level perceptive and signal integration Fuzzy part represents the emergent higher level reasoning aspects
41
www.Vidyarthiplus.com
Introduction
Fuzzification of neural networks Endowing of fuzzy system with neural learning features
42
www.Vidyarthiplus.com
43
www.Vidyarthiplus.com
NEFPROX
The input units are labelled x1..xn, hidden rule units are called R1Rk and the output units are denoted as y1 ym Each connection is weighted with a fuzzy set and is labelled with a linguistic term Connection coming from the same input unit and having same label are weighted by the same common weight (shared weight). The same holds for the connections that lead to the same output unit There is no pair of rules with identical antecedents
44
www.Vidyarthiplus.com
NEFPROX learning
45
www.Vidyarthiplus.com
NEFPROX learning
46