Keywords

1 Introduction

Fuzzy logic has been invented by Prof. Zadeh [1] and used to describe uncertain systems [2] since the 60s of the 20th century. This technique has also been used in control systems. Fuzzy control is now the standard control method which is a constituent of many industrial systems and companies advertise it no more. The used technique is mostly based on application of fuzzy IF-THEN rules; either in the form first used by Mamdani [3], or by Takagi and Sugeno [4]. The success of fuzzy logic control is based on the fact that a description of real systems is quite often imprecise. The imprecision arises from several factors—too large complexity of the controlled system, insufficient precise information, presence of human factor, necessity to save time or money, etc. Frequently, a combination of several of such factors is present.

A special system for fuzzy logic control has been developed at the University of Ostrava by Prof. Novák and his team [57] based on linguistic description. The Linguistic Fuzzy Logic Controller (LFLC) is the result of application of the formal theory of the fuzzy logic in broader sense (FLb). The fundamental concepts of FLb are evaluative linguistic expressions and linguistic description. Evaluative (linguistic) expressions are natural language expressions such as small, medium, big, about twenty-five, roughly one hundred, very short, more or less deep, not very tall, roughly warm or medium hot, roughly strong, roughly medium important, and many others. They form a small, but very important, constituent of natural language since we use them in common sense speech to be able to evaluate phenomena around. Evaluative expressions have an important role in our life because they help us determine our decisions, help us in learning and understanding, and in many other activities.

Simple evaluative linguistic expressions (possibly with signs) have a general form < linguistic modifier > <TE-adjective > (where < TE-adjective > is one of the adjectives (also called gradable) “small—sm, medium—me, big—bi” or “zero —ze”. The < linguistic modifier > is an intensifying adverb such as “extremely—ex, significantly—si, very—ve, rather—ra, more or less—ml, roughly—ro, quite roughly —qr, very roughly—vr”), see Fig. 1. LFLC is a good tool to define the control strategy, then we also use it to control technological processes with sampling period 0.01 [s] or less. This paper presents results obtained when solving problems with control of a magnetic levitation model, representing a very fast control system. This model is very helpful for application, because its description and mathematical model is available, for example [8], see Fig. 2.

Fig. 1
figure 1

A general scheme of intension of evaluative expressions (extremely small, very small, small, medium, big) as a function assigning a specific fuzzy set [7] to each context \(w \in W\)

Fig. 2
figure 2

Magnetic levitation model

2 Magnetic Levitation

Magnetic levitation is a very complex nonlinear problem. We are unable to use classical identification methods to obtain a mathematical model. Fortunately, we have a very good mathematical model developed by the model producer [8], see Fig. 3.

Fig. 3
figure 3

Magnetic levitation simulation model

We also have the PID controller set up to control the magnetic levitation object position, which could be used as a reference for our fuzzy controller, see Fig. 4.

Fig. 4
figure 4

PID control developed by the magnetic levitation model producer

A control result for a desired value generated as a pulse signal is shown in Fig. 5. We see that the magnetic levitation object is very sensitive and the control process is unstable. The control system stabilized the desired position closer to the electromagnet only once.

Fig. 5
figure 5

PID control result

Analyzing the PID control, we can see that the first derivative value is hundred times higher than the control error value and the second derivative value is hundred times higher than first derivative value. This is caused by the sampling period T = 0.002 [s]. Then we cannot develop a classical fuzzy controller based on three input values—control error and its first and second derivatives. For these cases we develop a special strategy based on multiple use of LFLC controllers, see Fig. 6.

Fig. 6
figure 6

LFLC controller developed for the magnetic levitation model

Every partial LFLC controller will react to one input value. Outputs from all partial controllers will be summarized in a discrete integrator. It is also easy to change the control strategy, for example a very small reaction to a small error and a very big reaction to a big error to obtain the needed value faster, see Fig. 7.

Fig. 7
figure 7

LFLC controller behavior

Table 1 presents the LFLC controller contexts set up for a partial controller based on the controlled object behavior. The LFLC control result is shown in Fig. 8. We see that the control process is much better than the PID control results (compare with Fig. 5). The controlled process is still very sensitive, the control accuracy is not ideal, but the problem with the stability has been mostly eliminated thanks to the LFLC control properties.

Table 1 LFLC controller contexts
Fig. 8
figure 8

LFLC control result

3 Conclusions

The presented example of LFLC use has been solved at the University of Ostrava. It is obvious that modern numerical methods such as Fuzzy Logic Control are usable for control of fast technological processes with sampling period 0.01 [s] or less. The Linguistic Fuzzy-Logic Control, developed at the University of Ostrava, is a very helpful tool for control strategy description. The presented results proved how the used technology can help people easily describe control strategy from the technological control strategy point of view. This technology and real models are used as a background for problem-oriented teaching realized at the Department of Informatics and Computers, Faculty of Science, for master students and their collaborative as well as individual final projects. Students learned how to define the control strategy and verify it on a real magnetic levitation model. Having completed these projects, students are able to define control strategies based on LFLC for any similar controlled system [9, 10].