Thursday, May 21, 2020

Fuzzy Logic - Free Essay Example

Sample details Pages: 8 Words: 2363 Downloads: 1 Date added: 2017/09/23 Category Advertising Essay Type Argumentative essay Tags: Information Essay Did you like this example? Fuzzy Logic B. Vasanth, Electrical and Electronics Department, Rajalakshmi Engineering College Thandalam, Chennai, India [emailprotected] com I. INTRODUCTION Fuzzy logic was developed by Lotfi A. Zadeh in the 1960s in order to provide mathematical rules and functions which permitted natural language queries. Fuzzy logic provides a means of calculating intermediate values between absolute true and absolute false with resulting values ranging between 0. 0 and 1. 0. With fuzzy logic, it is possible to calculate the degree to which an item is a member. Fuzzy logic has rapidly become one of the most successful of todays technologies for developing sophisticated control systems. The reason for which is very simple. Fuzzy logic addresses such applications perfectly as it resembles human decision making with an ability to generate precise solutions from certain or approximate information. It fills an important gap in engineering design methods left vacant by purely mathematical ap proaches (e. . linear control design), and purely logic-based approaches (e. g. expert systems) in system design. While other approaches require accurate equations to model real-world behaviours, fuzzy design can accommodate the ambiguities of real-world human language and logic. It provides both an intuitive method for describing systems in human terms and automates the conversion of those system specifications into effective models. II. HOW DOES FUZZY LOGIC WORK? Fuzzy Logic requires some numerical parameters in order to operate such as what is considered significant error and significant rate-of-change-of-error, but exact values of these numbers are usually not critical unless very responsive performance is required in which case empirical tuning would determine them. For example, a simple temperature control system could use a single temperature feedback sensor whose data is subtracted from the command signal to compute error and then time-differentiated to yield the error sl ope or rate-of-change-of-error, hereafter called error-dot. Error might have units of degs F and a small error considered to be 2F while a large error is 5F. The error-dot might then have units of degs/min with a small error-dot being 5F/min and a large one being 15F/min. These values dont have to be symmetrical and can be tweaked once the system is operating in order to optimize performance. Generally, FL is so forgiving that the system will probably work the first time without any tweaking. III. FUZZY SETS A fuzzy set is a set whose elements have degrees of membership. That is, a member of a set can be full member (100% membership status) or a partial member (e. g. ess than 100% membership and greater than 0% membership). †¢A fuzzy subset F of a set S can be defined as a set of ordered pairs. The first element of the ordered pair is from the set S, and the second element from the ordered pair is from the interval [0, 1]. †¢The value zero is used to represent non-membe rship; the value one is used to represent complete membership and the values in between are used to represent degrees of membership. IV. FUZZY SET OPERATIONS ?Union The membership function of the Union of two fuzzy sets A and B with membership functions and respectively is defined as the maximum of the two individual membership functions. This is called the maximum criterion. The Union operation in Fuzzy set theory is the equivalent of the OR operation in Boolean algebra. ?Intersection The membership function of the Intersection of two fuzzy sets A and B with membership functions and respectively is defined as the minimum of the two individual membership functions. This is called the minimum criterion. The Intersection operation in Fuzzy set theory is the equivalent of the AND operation in Boolean algebra ? Complement The membership function of the Complement of a Fuzzy set A with membership function is defined as the negation of the specified membership function. This is cale ed the negation criterion. The Complement operation in Fuzzy set theory is the equivalent of the NOT operation in Boolean algebra. The following rules which are common in classical set theory also apply to Fuzzy set theory. ?De Morgan’s Law ?Associativity ?Commutativity ?Distributivity V. WHY USE FUZZY LOGIC? Fuzzy Logic offers several unique features that make it a particularly good choice for many control problems. 1) It is inherently robust since it does not require precise, noise-free inputs and can be programmed to fail safely if a feedback sensor quits or is destroyed. The output control is a smooth control function despite a wide range of input variations. 2) Since the Fuzzy Logic controller processes user-defined rules governing the target control system, it can be modified and tweaked easily to improve or drastically alter system performance. New sensors can easily be incorporated into the system simply by generating appropriate governing rules. 3) Fuzzy Logic is not limited to a few feedback inputs and one or two control outputs, nor is it necessary to measure or compute rate-of-change parameters in order for it to be implemented. Any sensor data that provides some indication of a systems actions and reactions is sufficient. This allows the sensors to be inexpensive and imprecise thus keeping the overall system cost and complexity low. 4) Because of the rule-based operation, any reasonable number of inputs can be processed (1-8 or more) and numerous outputs (1-4 or more) generated, although defining the rule base quickly becomes complex if too many inputs and outputs are chosen for a single implementation since rules defining their interrelations must also be defined. It would be better to break the control system into smaller chunks and use several smaller Fuzzy Logic controllers distributed on the system, each with more limited responsibilities. 5) Fuzzy Logic can control nonlinear systems that would be difficult or impossible to mo del mathematically. This opens doors for control systems that would normally be deemed unfeasible for automation. VI. HOW IS FUZZY LOGIC USED? 1) Define the control objectives and criteria: What am I trying to control? What do I have to do to control the system? What kind of response do I need? What are the possible (probable) system failure modes? ) Determine the input and output relationships and choose a minimum number of variables for input to the Fuzzy Logic engine (typically error and rate-of-change-of-error). 3) Using the rule-based structure of Fuzzy Logic, break the control problem down into a series of IF X AND Y THEN Z rules that define the desired system output response for given system input conditions. The number and complexity of rules depends on the number of input parameters that are to be processed and the number fuzzy variables associated with each parameter. If possible, use at least one variable and its time derivative. Although it is possible to use a single , instantaneous error parameter without knowing its rate of change, this cripples the systems ability to minimize overshoot for a step inputs. 4) Create Fuzzy Logic membership functions that define the meaning (values) of Input/Output terms used in the rules. 5) Create the necessary pre- and post-processing Fuzzy Logic routines if implementing in S/W, otherwise program the rules into the Fuzzy Logic H/W engine. 6) Test the system, evaluate the results, tune the rules and membership functions, and retest until satisfactory results are obtained. VII. DEGREES OF TRUTH Fuzzy logic and probabilistic logic are mathematically similar – both have truth values ranging between 0 and 1 – but conceptually distinct, due to different interpretations. Fuzzy logic corresponds to degrees of truth, while probabilistic logic corresponds to probability, likelihood; as these differ, fuzzy logic and probabilistic logic yield different models of the same real-world situations. Both degree s of truth and probabilities range between 0 and 1 and hence may seem similar at first. It is essential to realize that fuzzy logic uses truth degrees as a mathematical model of the vagueness phenomenon while probability is a mathematical model of randomness. 1)Truth values A basic application might characterize subranges of a continuous varirable. For instance, a temperature measurement for anti-lock brakes might have several separate membership functions defining particular temperature ranges needed to control the brakes properly. Each function maps the same temperature value to a truth value in the 0 to 1 range. These truth values can then be used to determine how the brakes should be controlled. Fuzzy logic temperature In this image, the meaning of the expressions cold, warm, and hot is represented by functions mapping a temperature scale. A point on that scale has three truth values—one for each of the three functions. The vertical line in the image represents a pa rticular temperature that the three arrows (truth values) gauge. Since the red arrow points to zero, this temperature may be interpreted as not hot. The orange arrow (pointing at 0. 2) may describe it as slightly warm and the blue arrow (pointing at 0. 8) fairly cold. 2)Linguistic variables While variables in mathematics usually take numerical values, in fuzzy logic applications, the non-numeric linguistic variables are often used to facilitate the expression of rules and facts. A linguistic variable such as age may have a value such as young or its antonym old. However, the great utility of linguistic variables is that they can be modified via linguistic hedges applied to primary terms. The linguistic hedges can be associated with certain functions. VIII. LIMITATIONS OF FUZZY LOGIC It is difficult to make arguments for certain theories if it cant be shown to perform alongside existing and accepted theories. Things like propositional logic are exact. If a statement in proposit ional logic could be illustrated with fuzzy logic and fuzzy logic did it better, then maybe fuzzy would be more widely accepted. Fuzzy logic cannot be used for unsolvable problems. This seems fairly reasonable, but its perception of being a guessing game may lead people to believe that it can be used for anything. An obvious drawback to fuzzy logic is that its not always accurate. The results are perceived as a guess, so it may not be as widely trusted as an answer from classical logic. Certainly, though, some chances need to be taken. How else can dressmakers succeed in business by assuming the average height for women is 56? Fuzzy logic can be easily confused with probability theory, and the terms used interchangeably. While they are similar concepts, they do not say the same things. Probability is the likelihood that something is true. Fuzzy logic is the degree to which something is true (or within a membership set). Classical logicians argue that fuzzy logic is unnecessary. A nything that fuzzy logic is used for can be easily explained using classic logic. For example, true and false are discrete. Fuzzy logic claims that there can be a gray area between true and false. But classic logic says that the definition of terms is inaccurate, as opposed to the actual truth of the statement. Fuzzy logic has traditionally low respectability. That is probably its biggest problem. While fuzzy logic may be the superset of all logic, people dont believe it. Classical logic is much easier to agree with because it delivers precision. Open-mindedness on the part of those who use logic is needed in order to change the acceptance of fuzzy logic. IX. EXAMPLES EXAMPLE 1 Fuzzy set theory defines fuzzy operators on fuzzy sets. The problem in applying this is that the appropriate fuzzy operator may not be known. For this reason, fuzzy logic usually uses IF-THEN rules, or constructs that are equivalent, such as fuzzy associative matrices. Rules are usually expressed in the form: IF variable IS property THEN action For example, a simple temperature regulator that uses a fan might look like this: IF temperature IS very cold THEN stop fan IF temperature IS cold THEN turn down fan IF temperature IS normal THEN maintain level IF temperature IS hot THEN speed up fan There is no ELSE – all of the rules are evaluated, because the temperature might be cold and normal at the same time to different degrees. The AND, OR, and NOT operators of Boolean logic exist in fuzzy logic, usually defined as the minimum, maximum, and complement; when they are defined this way, they are called the Zadeh operators. So for the fuzzy variables x and y: NOT x = (1 truth(x)) x AND y = minimum(truth(x), truth(y)) x OR y = maximum(truth(x), truth(y)) There are also other operators, more linguistic in nature, called hedges that can be applied. These are generally adverbs such as very, or somewhat, which modify the meaning of a set using a mathematical formula. EXAMPLE 2 Consider the colour wheel. Remember that there are 3 primary colours: Red, Yellow, and Blue. These colours, separately, represent crisp sets. For example, true red is a non-member of true blue and of true yellow; true blue is a non-member of true yellow and of true red; yellow is a non-member of true red and of true blue. There is a crisp boundary between these primary colours. But, it is possible to mix these colours with varying amounts of the true colours resulting in different shades of non-true colours. For example, mixing true red with true blue in equal portions of each will result in violet with a membership degree of 0. 5 in true red and 0. 5 in true blue. Different amounts of true red and true blue will result in varied membership values for the violet. The different violets represent the fuzzy boundaries between true red and true blue! EXAMPLE 3 Here is an example describing a set of young people using fuzzy sets. In general, young people range from the age of 0 to 20 . But, if we use this strict interval to define young people, then a person on his 20th birthday is still young (still a member of the set). But on the day after his 20th birthday, this person is now old (not a member of the young set). How can one remedy this? By RELAXING the boundary between the strict separation of young and old. This separation can easily be relaxed by considering the boundary between young and old as fuzzy. The figure below graphically illustrates a fuzzy set of young and old people. Notice in the figure that people whose ages are = zero and 20 and 30 are partial members of the young set. For example, a person who is 25 would be young to the degree of 0. 5. Finally people whose ages are = 30 are non-members of the young set. Don’t waste time! Our writers will create an original "Fuzzy Logic" essay for you Create order

Wednesday, May 6, 2020

Intersectionality And Gender Discrimination How It s...

For this project there was an opportunity for me to interview anybody on the topics of intersectionality and gender discrimination that happens in peoples workplace. I choose my roommate Ria who is 24 years old which is more in the younger side to people might seem as she will not have many encounters with the topics mentioned. In that case, I want to show how it’s the opposite being young Mexican women there comes more discrimination and not many employers hire them. In order to get a better understanding of how other people can be towards some employers I asked her many questions about her jobs environments which are Denny s and Jasmine Adult Day Health Center. This important to see how young Mexican women or women in general get criticized for their gender and some for their race. The topics intersectionality and gender discrimination are words many people do not know of in full knowledge in this class it became understandable that it s everywhere. This two words have strong meaning because intersectionality is only having one gender and one race working for a certain job not having diversity. As for gender discrimination it is based on the gender and one gender having more privileges which is usually men. My interviewee Ria was knowledgeable in this because she went to school and right away she felt a connection to this topics. At her job Dennys she is a server and at the Jasmine Adult Day Center she is the social workers assistant they both receive many people

Orchestra Concert Free Essays

The music played throughout all of the concerts adhered to be diverse. The instruments, the individuals performing, and the conductor all proved to be outstanding. The concerts proved to be interesting as I witnessed them, first hand. We will write a custom essay sample on Orchestra Concert or any similar topic only for you Order Now The first concert I attended was performed by the Dallas Symphony Orchestra. The orchestra had performed Shostakovich’s â€Å"Symphony NO. 7, Leningrad† from the Romantic era. The orchestra was a large ensemble (1) containing various instruments that contributed to the overall sound of the piece. Since the orchestra was a large ensemble, just like the instrumentation common in the Romantic era, the orchestra was able to perform in a lively, vigorous manner, probably vivace (2). The orchestra performed tutti (3), in which all of the instruments of the ensemble played together. Every member of the orchestra played with exactness and steady energy, or in other words, con gusto (4). Overall, all the instruments included in the ensemble were needed for the piece to sound fanciful. In addition to the large ensemble, the orchestra played in an allargando (5) manner, in which the orchestra grew louder and then softer, which is also common to the Romantic era. As the orchestra progressed through the piece, the orchestra used various bow styles in order to dramatize the music. The ensemble played the symphony using legato, marcato (5), and spiccato (6), which contributed to the immense sound. The composer’s style of this piece was typical for the Romantic era because the composition was extensive, and included the piano, which is a well-known, as well as, important instrument in the Romantic era. The symphony, although has many characteristics included in the Romantic era, is not completely similar to other pieces that I have performed that are included in the Romantic era. Unlike the Shostakovich’s symphony, â€Å"Largo†, is a slow and steady piece that includes dynamic fluctuations. Similar to the symphony, the piece â€Å"Bacchanale† involves using marcato throughout the piece. While the orchestra was performing, the audience sat silent in order to observe the orchestra. All of the members of the orchestra seemed to be attentive to the conductor, which is important because every member of the orchestra needs to be aware of what is going to happen next in the music. The brass and the string had sections in the music, where they were the most important parts. Overall, the Dallas Symphony Orchestra performed well as a whole group. The second concert I attended was performed by the Richardson Symphony Orchestra. The orchestra performed â€Å"Passacaglia and Fugue in C minor, BWV 582† by Bach, which is part of the Baroque era. The string instruments of the orchestra performed with the hair of the bow, in other words, arco (7). By using lots of motion or most commonly known as mosso (8), the orchestra increased the tension of the piece. The orchestra played at a pretty fast tempo (9), probably allegro. The piece had a distinct part where the harp played. The ensemble was large, in order to attain the full sound of the piece. The instruments played in the orchestra did not comply with the typical orchestras of the Baroque era because it did not have a distinct part where were the main instruments were the piano and the bass, or more commonly known as basso continuo (10). Along with the use of basso continuo, the orchestra used ornamentation by adding grace notes (11) throughout the piece. The Baroque era also included the doctrine of affections (12), in which the Richardson Symphony Orchestra demonstrated by playing faster notes to demonstrate happiness. The style of the composer was distinctive of the Baroque era because he use both ornamentation and doctrine of affections. The bow stroke of the piece that was mostly used was legato. Unlike the piece we previously played in orchestra which is also part of the Baroque era (â€Å"Allegro in D for Strings†), the piece the symphony performed did not have the marcato stroke. My favorite part of the whole composition was when the harp was playing distinctly, but overall the orchestra played magnificently. The intonation of the orchestra was precise and all of the members of the orchestra played well as a whole. The orchestra also performed â€Å"Concerto #23 in A major, K. 488† by Mozart, which is part of the Mozart era. The orchestra included many instruments, as well as the piano, which had a very important part in the piece. The piano seemed to have the solo (13) in the piece. The use of the piano is not a standard to the classical era, although it contributed to the overall sound of the piece. The piece that the orchestra performed was extensive, which is a common characteristic of the Classical era. The composition reflected a fanciful style, known as caprice (14). The composer used some of the typical characteristics of the Classical era, by making the piece lengthier than those of the Baroque era, but the composer also added a twist by using the piano. The orchestra used both legato and marcato to reflect a whimsical style. The composition most likely included cue notes (15), in order to guide the players who were not playing while the piano was. Similarly to the piece that the Richardson Symphony Orchestra performed, â€Å"Menuetto† by Mozart also reflects a fanciful style that uses legato. The composition that the orchestra performed made me feel light-hearted. All of the professional musicians that performed had paid attention to the piano solo, in addition to paying attention to the conductor. Most of the string instruments used the middle part of their bow, in order to play quickly which reflected a fast sound. All of the professional concerts that I attended were a great learning experience but were also a blast to watch. How to cite Orchestra Concert, Essay examples