Next Article in Journal
The Barriers Analysis for Waste-to-Energy Project Development in Thailand: Using an Interpretive Structural Modeling Approach
Next Article in Special Issue
Stochastic Security-Constrained Economic Dispatch of Load-Following and Contingency Reserves Ancillary Service Using a Grid-Connected Microgrid during Uncertainty
Previous Article in Journal
Impact of Adding Bioethanol and Dimethyl Carbonate on Gasoline Properties
Previous Article in Special Issue
Cross-Correlated Scenario Generation for Renewable-Rich Power Systems Using Implicit Generative Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predictive Controller Based on Paraconsistent Annotated Logic for Synchronous Generator Excitation Control

by
João Inácio Da Silva Filho
1,*,
Raphael Adamelk Bispo de Oliveira
1,
Marcos Carneiro Rodrigues
1,
Hyghor Miranda Côrtes
1,
Alexandre Rocco
1,
Mauricio Conceição Mario
1,
Dorotéa Vilanova Garcia
1,
Jair Minoro Abe
2,
Claudio Rodrigo Torres
3,
Viviane B. Duarte Ricciotti
4,
Antonio Carlos Duarte Ricciotti
4,
Arnaldo de Carvalho, Jr.
5 and
Germano Lambert-Torres
1,6,*
1
Laboratory of Applied Paraconsistent Logic, Santa Cecilia University–UNISANTA, Oswaldo Cruz Street 288, Santos 11045-907, SP, Brazil
2
Graduate Program in Production Engineering, Paulista University, José Maria Whitaker Avenue, 320, São Paulo 04057-000, SP, Brazil
3
Post Graduation Program in Management and Technology in Productive Systems-Paula Souza State Center for Technological Education (CEETEPS), Bandeirantes Street, 169, São Paulo 01124-010, SP, Brazil
4
Academic Department of Electrical Engineering, Federal University of Rondônia, Porto Velho 76801-058, RO, Brazil
5
Federal Institute of Education, Science and Technology of São Paulo (IFSP), Cubatão 11533-160, SP, Brazil
6
Gnarus Institute, Itajuba 37500-052, MG, Brazil
*
Authors to whom correspondence should be addressed.
Energies 2023, 16(4), 1934; https://doi.org/10.3390/en16041934
Submission received: 24 January 2023 / Revised: 10 February 2023 / Accepted: 12 February 2023 / Published: 15 February 2023
(This article belongs to the Special Issue Optimization and Energy Management in Smart Grids)

Abstract

:
This study presents a new Model Predictive Controller (MPC), built with algorithms based on Paraconsistent Annotated Logic (PAL), with application examples in the excitation control of a synchronous generator. PAL is a non-classical evidential and propositional logic that is associated with a Hasse lattice, and which presents the property of accepting the contradiction in its foundations. In this research, the algorithm was constructed with a version of the PAL that works with two information signals in the degrees of evidence format and, therefore, is called Paraconsistent Annotated Logic with annotation of two values (PAL2v). For the validation of the algorithmic structure, the computational tool MATLAB® Release 2012b, The MathWorks, Inc., Natick, MA, United States was used. Simulations were performed which compared the results obtained with PPC-PAL2v to those obtained in essays with the AVR (Automatic Voltage Regulator) controls in conjunction with the PSS (Power System Stabilizer) and the conventional MPC of fixed weights. The comparative results showed the PPC-PAL2v to display superior performance in the action of the excitation control of the synchronous generator, with a great efficiency in response to small signals.

1. Introduction

An Electrical Power System (EPS) is eventually subject to disturbances that can cause stability problems in the generation and distribution of energy [1]. When an EPS changes from one operating point to another, the voltage and speed of the synchronous generator can consequently enter oscillatory states at low frequency. For small-scale disturbances, such as load and voltage variations in the electrical network, effective excitation circuits and speed controllers are required to keep the system within the proper conditions for its operation [1].
The excitation control, in addition to providing voltage control at the generator terminals and reactive power control, plays an important role in maintaining stability, and response to small signals [1,2,3]. In order to mitigate these problems of instability under these conditions, network analyzers and special devices have been developed to aid in the analysis of system behavior. For example, one of the most important circuits of this type is the AVR, or Automatic Voltage Regulator, which allows the analysis of the interconnection in order to minimize the oscillations. However, with the expansions of the industrial parks and consequent demand for electricity, the electricity transmission networks have expanded, and thus, there is a great variety of parameters of power systems with extreme operating conditions [3,4,5]. To avoid the risk of power failure, the EPSs had to be adapted to these new situations in which. Despite the good performance of the AVR—Automatic Voltage Regulator—in the SEPs, it was verified that, in some situations, when switching for example large blocks of load, this type of regulator does not provide a sufficient response in magnitude and speed so as to dampen the oscillations in the system effectively. Therefore, in order to alleviate these problems, a supplementary excitation controller called the Power System Stabilizer (PSS) has been added to reduce the electromechanical oscillations of the generator [3,4,5,6,7,8,9,10].
As described in [1,2,3,4], the stabilizing action of the PSS in the control mesh is in the feedback receiving the addition of the effects of the inertia of the generator, with the final result of a faster damping of the frequency and output voltage. In this way, with the addition of the PSS (Power System Stabilizer) to the AVR (Automatic Voltage Regulator), any negative effect can be eliminated to damping the oscillations after a disturbance. However, it has been found that the combination of these two controls can generate inconvenient control situations [8,9,10]. On these aspects, it can be verified in their applications that AVR and the PSS are normally projected separately, since both have different objectives in the process, to soften the excitation failures [5].
The difference between the AVR and PSS is that the AVR is developed to meet requirements for voltage regulation and the PSS is designed to damp electromechanical oscillations [8,9]. Therefore, the coordination of the two objectives in joint actions can present problems when there is a change in the operating conditions of the system [1,3,4]. Recently, studies have been developed to discover new techniques with which to improve the performance of these types of control, and thus reduce the risk of failure in the EPS. For instance, a linear optimum control used for excitation control is highlighted in [3]. This control was developed to minimize the variations in system state. In order to work with voltage and velocity deviations, a cost function was formulated [4,6,7,8,9,10,11,12]. In Ref. [4] a controller with actions was presented, minimizing the cost function, and an optimized control was obtained. In this approach, the results were compared to those obtained by the PSS, and a wide frequency band could be obtained with a good response. However, because it is based on a specific operating point, this controller did not perform well when subjected to large variations in the system operating point. In order to achieve this, several methods of analysis and stability control using artificial intelligence (AI) and techniques with non-classical logic have been developed for these power systems, such as: Backstepping, Fuzzy Control, Direct Feedback Linearization (DFL), Artificial Neural Network (ANN), LgV, among others [5,13,14,15,16].
The adaptive controllers use Integrated Circuits (IC microcontrollers) with special algorithms based on nonlinear models to improve control performance [17,18]. In some cases, the algorithms use the precision of the predictions of the model making a common approach to consider the uncertainty in the parameters. For this, it adds an extra term in the cost function of a Minimum Variance controller, which penalizes the uncertainty in the parameters of the nonlinear approximation. Another similar approach has been proposed in [19], which is based on minimizing two separate cost functions. The first minimization is used to improve the parameter estimation and the second to generate the system output in accordance with a given reference signal [20]. Thus, adaptive controls can change their parameters according to the new operating point through preprogrammed rules by using neural networks or other non-classical techniques. However, depending on the number of instructions and the hardware of the microcontroller, the processing may not meet the speed required by the controlled system [21].
With the help of microcontrollers, special algorithms that consider both past states and future states, estimates can be used together with the adaptive control. In the interval, or step of actuation, a finite horizon of time is given in which these estimates present the minimum of possible uncertainties. This gives an excitation controller capable of defining a voltage-optimized value in a one-step prediction horizon. This type of Predictive Controller, despite the good performance in control, has a high computational cost since the algorithm needs an adjustment strategy for the cost matrix variables of the quadratic cost function [18,19].
In order to extract a better performance of this control method, the techniques involving predictive control can be improved using algorithms based on non-classical logics that are capable of responding well to uncertainties and with a greater speed. In this case, theories based on paraconsistent logics, which do not ignore contradictions and, instead, extract information from them, can present researchers with a good choice in adaptive and predictive control [17,19,20,21].
The Paraconsistent Annotated Logic (PAL) used in this work is one of the non-classical logics [22,23] suitable for reasoning with data that can bring inconsistent information. Therefore, it is possible to extract from its foundation efficient algorithms of predictive control. These can be applied in the control of excitation of a generator installed in an EPS [24,25,26,27,28]. With these considerations, this paper demonstrates the development and analysis of an excitation control for a synchronous generator, integrating the foundations of the Paraconsistent Logic Annotated in its special form of two values, PAL2v [24], into a Model Predictive Control (MPC). The application of the PAL2v will be performed in order to obtain a mechanism of intelligent self-adjustment to the classic MPC, one that can offer greater efficiency in the maintenance of the stability of the EPS when submitted to variations in load and in tension.
In addition to this introduction, the text of this work is presented as follows: in Section 2, the main foundations of Paraconsistent Logic and Paraconsistent Annotated Logic are presented. At the end of Section 2, the algorithms of PAL2v and the Paraconsistent Analysis Network (PANnet), used in the proposed Model Predictive Control, are presented. In Section 3, we present initial information about Predictive Control, based on MPC (Model Predictive Control), and the cost function equations used in the mathematical method. In Section 4 (Materials and Methods), we present the configuration of the Predictive Control, based on MPC, with the algorithms of PAL2v and its mathematical logic configuration in control of the excitation of a synchronous generator installed in an EPS. Additionally, in Section 4, the details of the computational tool MATLAB® Release 2012b implementation of the Predictive Controller, based on MPC built with the algorithms of PAL2v (PPC-PAL2v), are presented. In Section 5, the results obtained by the simulation of the PPC-PAL2v Controller and the comparative graphical results with the AVR and PSS are presented. In Section 6, discussions about the results, obtained in the tests performed, are presented. In Section 7, the final considerations on the application of the PPC-PAL2v controller which was applied to the excitation control of an EPS synchronous generator are presented.

2. Paraconsistent Logic

Paraconsistent Logic (PL) belongs to the class of non-classical logics whose fundamental structures differ from classical binary logic, opposing the law of non-contradiction. Due to these fundamentals, PL can be adapted acting as theoretical support for the algorithms that constitute computational systems for the treatment of uncertainties [22,23,24].
PL can be studied through an annotation concept in which its representation is considered a lattice. This can be the one of 4 vertices (Lattice FOUR), according to Figure 1a. Each annotation assigns to the proposition, P, a Paraconsistent Logical State, Ɛτ, that is represented at the vertex of the lattice. With an annotated logic structuring, PAL allows its algorithms to manipulate inconsistent information, where logical states are represented at the vertices of its associated lattice. Thus, the values of information signals obtained by measurements are represented by normalized degrees of evidence and considered in the annotation that gives logical connotation to the given proposition, P [24,25,26,27,28]. The four vertices lattice, τ, may be associated via the Paraconsistent Annotated Logic with the annotation composed of two degrees of evidence (μ, λ). Through performing analysis with the Paraconsistent Annotated Logic of annotation with two values (PAL2v), one can establish an improved representation of how much the annotations, or evidence, express the knowledge about a proposition, P [24,25,26,27,28]. In this case, a value, μ, represents the evidence favorable to proposition, P, and the other value, λ, represents the evidence unfavorable to proposition P. In the PAL2v, an associated lattice, τ, formed by pairs of independent degrees of evidence is used in the formalization of PAL2v, where μ is the degree of evidence favorable to P and λ is the degree of evidence unfavorable to P, such that [24,25,26,27,28]: τ = {(μ, λ)|μ, λ ∈ [0, 1] ⊂ }.
For better representation of an annotation, and also for the practical use of the PAL2 lattice in the treatment of uncertainties, some algebraic interpretations involving a Unitary Square in the Cartesian Plane (USCP) and the representative lattice of PAL2v are made. With the representation of the degrees of evidence in an USCP, one can be applied geometric and linear transformations to obtain points of intersection represented in the lattice τ associated with PAL2v and obtain equations resulting in algorithms for practice applications. The transformations between USPC and PAL2v–lattice are defined through three steps: scale change (T1), rotation (T2) and translation (T3) [24,25,26,27,28]. By making the composition of the three phases that generated the transformations T3, T2, T1, we obtain the final transformation represented by Equation (1) [24]:
T ( X , Y ) = ( x y , x + y 1 )
Relating the components of the transformation according to the usual nomenclature of PAL2v: x = μ → degree of evidence favorable to proposition P and y = λ → degree of evidence unfavorable to proposition P. The first term obtained in the pair of values of the transformation equation is: X = x y = μ λ , which we call degree of certainty—Dc. Therefore, the degree of certainty [24,25,26] is obtained by Equation (2):
D c = μ λ
Its values, which belong to the set , vary in the closed interval +1 and −1, and are on the horizontal axis of the lattice, which is called the “Degrees of Certainty Axis”. When Dc results in +1, it means that the logical state resulting from the paraconsistent analysis is True, and when Dc results in −1 means that the logical state resulting from the analysis is False [24,25,26,27,28]. The second term obtained in the pair of values of the transformation equation has: Y = x + y 1 = μ + λ 1 , which is called the degree of contradiction—Dct. Therefore, the degree of contradiction Dct [24,25,26,27,28] is obtained Equation (3):
D c t = μ + λ 1
Their values, which belong to the set , vary in the closed interval +1 and −1, and are on the vertical axis of the lattice, which is called the “Axis of degrees of Contradiction”. When Dct results in +1, it means that the logical state resulting from the paraconsistent analysis is Inconsistent, and when Dct is −1, the logical state resulting is either Paracomplete, or Undetermined [24].
The paraconsistent analysis that resulted in the calculations of certainty (Dc) and degree of contradiction (Dct) (Equations (2) and (3), respectively) produced values that are interpolated in the lattice at an internal point (Dc, Dct), according to Figure 1b. The distance d of the line from the point of maximum degree of certainty, t, represented at the right vertex of the lattice, to the point of interpolation, is calculated by Equation (4) [24]:
d = ( 1 | D c | ) 2 + D c t 2
The projection of the distance, d, in the axis of certainty values gives the point whose value will be considered the degree of real certainty—DCR. In Figure 1b, this condition is shown where the value of the real certainty degree—DCR—is obtained [24].
If the certainty degree (Dc) calculated by Equation (2) results in a negative value, the distance, d, will be obtained from the point of certainty False, f, represented at the left vertex of the lattice, to the point of internal interpolation (-Dc, Dct). It is verified that, at any point in the lattice of values, it is possible to obtain the degree of real certainty, DCR. The values of negative Dct do not modify the means of obtaining DCR. Therefore, the value of the true degree of DCR is obtained from the determination of distance, d, according to the conditions shown by Equation (5) and (6) [24,25]:
For Dc > 0
D C R = 1 ( 1 | D C | ) 2 + D c t 2
For Dc < 0
D C R = ( 1 | D C | ) 2 + D c t 2 1
These DCR values are normalized to become the actual resulting degree of evidence, as follows in Equation (7) [24,29,30]:
μ E R = D C R + 1 2
where: μER = resulting degree of evidence and DCR = degree of real certainty.
With these fundamental equations, it is possible to construct Paraconsistent Annotated Logic (PAL2v) algorithms for applications in analysis and logical signal processing. These algorithms are capable of being interconnected to form Decision Analysis networks with different topologies [24].

2.1. Algorithms of PAL2v Used in the Paraconsistent Model

Paraconsistent Systems or Analysis Nodes are algorithms extracted from the Paraconsistent Logic, capable of forming Paraconsistent Analysis Networks for the treatment of information signals [24,26,31,32,33,34]. With their inputs being fed by the evidence degrees taken from external measurements or from the Uncertain Knowledge database, the Paraconsistent algorithms use the equations obtained from the PAL2v methodology and present the results in the form of the actual resulting evidence degrees, μER. The PAL2v equations and their interpretation allow for the creation of algorithms for direct applications. In this work, three types of PAL2v algorithms are used in Paraconsistent Predictive Control; the algorithm for extracting the degree of evidence; the Paraconsistent Analysis Node (PAN) algorithm; and the Paraconsistent Logic Maximization Algorithm.
These three algorithms will be described below [24,29,30,32]:

2.1.1. Algorithm for Extracting the Degree of Evidence

The algorithm, named the Extractor of Evidence Degree, calculates the value of the degree of evidence of the quantity when measured through a function which has been considered in a Discourse Universe or Interval of Interest. Depending on the application, a straight-line equation can be used to obtain the value of the degree of evidence. The Extractor of Evidence Degree is exposed in Algorithm 1 below.
Algorithm 1: Extractor of Evidence Degree
     1.
Enter the Maximum Limit Value of the magnitude in your unit of measure to form the Discourse Universe.
     Maximum Limit Value (Maxvalue) = ......................
     2. Enter the Minimum Limit Value of the magnitude in your unit of measure to form the Discourse Universe.
       Minimum Limit Value (Minvalue) = ........................
     3. Display the Measured Value of Greatness in your unit of measurement.
       Value Greatness X (X value) = ..........................
     4. Determine the Degree of Evidence favorable, μ, through the equations, considering the conditions:               μ 1 = 1 If   X v a l u e M a x v a l u e X v a l u e M a x v a l u e M a x v a l u e M i n v a l u e If   X v a l u e M i n v a l u e , M a x v a l u e 0 If   X v a l u e M i n v a l u e
     5. Determine the unfavorable Degree of Evidence, λ, by complementing the favorable degree of Evidence:
               λ = 1 μ
     6. End.
The symbolic representation of extractor of Degree of Evidence is seen in Figure 2a.

2.1.2. PAN Paraconsistent Analysis Node Algorithm

The Algorithm Paraconsistent Analysis Node (PAN) receives two information signals, represented by degrees of evidence, and presents as a final result a single value of the resulting degree of evidence. The degree of evidence resulting from the output is a value that expresses a representation of the analysis, where the effect of the contradiction between the two values applied in its inputs is null [24]. In the construction of PAN, the equations of PAL2v are used, and its structure is the minimum cell of analysis of a Paraconsistent System of Treatment of Uncertainties [24,29,31,32].
The description of the PAN is shown in Algorithm 2.
Algorithm 2: Paraconsistent Analysis Node—PAN
 1.
Present two input values:
   μ */ favorable Evidence degree 0 ≤ μ ≤1 */
   λ */ unfavorable Evidence degree 0 ≤ λ ≤1 */
 2. Calculate the Degree of Certainty: D c = μ λ
 3. Calculate the Degree of Contradiction: D c t = ( μ + λ ) 1
 4. Calculate the Normalized Degree of Contradiction: μ c t = μ + λ 2
 5. Calculate the distance d (projection on the axis (horizontal) of the degrees of certainty on the PAL2v lattice): d = ( 1 | D c | ) 2 + D c t 2
 6. Determine the output signal.
    If d > 1, then do: S 1 = 0.5 → Consider Undefinition and go to End.
    Otherwise go to the next item
 7. Determine the Real Certainty Degree
    If D c > 0 Calculate: D C R = ( 1 d )
    If D c < 0 Calculate: D C R = ( d 1 )
 8. Calculate the resultant Real Evidence Degree: μ E R = D C R + 1 2
 9. Present the results in the output: Do S 1 = μ E R
 10. End
In the PAN the projection of the distance value d, Equation (4) on the axis of the degrees of certainty establishes the extraction of the effect of the contradiction between the degrees of evidence of the inputs. Thus, the value of the output, evidence degree, represents the value of the resulting evidence regarding the proposition analyzed without the effect of the contradiction [26,27]. In Ref. [27], details about the PAN algorithm are shown, including its data flowchart with the steps for the PAL2v analysis.

2.1.3. Paraconsistent Algorithm of Maximization Logical Connection— A P l C M a x

The Paraconsistent Algorithm of Logical Maximization Connection has the function of establishing logical connectives between signals, representing degrees of evidence. In this work, we use the algorithm that makes a logical connection of maximization OR [24]. For maximization, a simple analysis is initially made by determining the normalized resulting degree of evidence, the result of which will inform which of the two input signals is the highest value [26]. With this information, the algorithm establishes the output signal as being the maximum value.
The equation used in the algorithm and the conditions that determine the outputs for a maximization process are presented in the description of Algorithm 3 below:
Algorithm 3: Maximization Logical Connection— A P l C M a x
Since the input variables are:
μ 1 A , such that: 0 μ 1 A 1 , and μ 1 B , such that: 0 μ 1 B 1 ,
   then
    1. Do: μ 1 A = μ 1 and λ 2 = 1 μ 1 B
    2. Calculate the Degree of Certainty by equation (2): D c = μ 1 λ 2
    3. Calculate the resulting normalized Evidence Degree by: μ E R = ( μ 1 λ 2 ) + 1 2
    4. Select the highest value in the output S1 by making the conditionals:
      If: μ E R 0 , 5 μ 1 A μ 1 B → Present in Output S1 the value of μ 1 A
                     Indicate in the output S2Bit() = 1
      If not: → Present in Output S1 the value of μ 1 B
                     Indicate in the output S2Bit() = 0
    5. End
The symbolic representation of A P l C M a x is seen in Figure 2c.

2.2. Paraconsistent Analysis Network (PANnet)

The paraconsistent system of treatment of uncertainties defined by the PAN can be used in several fields of knowledge. With its application, incomplete and contradictory information will receive adequate treatment through the equations of PAL2v [24,25,26].
As the output of a PAN has normalized value, this result value can be used as a degree of evidence for another PAN, and thus different configurations of analysis networks can be created. These configurations are called Paraconsistent Analysis Networks (PANnet). In this way, the computational structures of PANnet are used for the logical treatment of signals according to the purpose for which they are proposed.
Figure 2d shows a PANnet, composed of 3 PANs configured in the way it will be used in this work.
Initially, the modeling algorithms, which are called the Evidence Degree Detection Extractors, create the normalized degrees of evidence for the analyses in the PANnet [24,25,26,27] from the values extracted from measures of physical quantities. The PAN1 and PAN2 algorithms have their outputs, interconnected through the Paraconsistent Maximization Logic Algorithm which selects the highest value between the two outputs μEr1 and μEr2. A signaling Bit() indicates which of the two output values of the PANs are in the μ0 output. This PANnet configuration still has the PAN3 that uses the degrees of evidence from information sources. To compose this annotation, it uses the favorable degree of evidence, μ4, and the degree of unfavorable evidence, λ2 = 1 − μ2. The PAN3 performs the paraconsistent analyses and displays the result at its separate output, Sμ3. This PANNet configuration will be used in the treatment of the signals to control the excitation of the synchronous generator, and its operation will be explained in detail below.
Recently, PAL2v algorithms, forming paraconsistent analysis networks (PANnet), have been used successfully in several applications which cover different fields of knowledge. As an example, we can mention in [26,27], where PAL2v algorithms were used to detect skin cancer by analyzing Raman spectroscopy signals. In Ref [28], the PAL2v algorithms were used to support the operation of electricity transmission networks. In Ref [31], the authors used the PAL2v algorithms to support the control of a flow loop, forming a Hybrid Proportional Integral (PI) Controller.

3. Model-Based Predictive Control—MBPC

The characteristic of Model-Based Predictive Control—MBPC—is its ability to predict the future responses of the controlled system. This feature distinguishes it from other types of controllers [1,2,3,4]. The Model Predictive Control MPC uses information signals, represented by discrete steps (k + 1) (or pulses) through a sample frame. If the prediction of the future output path of the process {ŷ (k + i), i = 1, …, P}, then the controller calculates the necessary control action {Δu (k + i), i = 0, 1, …, m − 1} so that the difference between the predicted path and the user-specified reference (Set Point) is minimized. The MPC can be described as a state space model and is calculated with the state-space equations, which are generally used for the mathematical modeling of a time-varying physical system [14,15].

3.1. State-Space Equations in Discrete Time

The state-space equations can be described as:
x . ( t ) = A t x ( t ) + B t u ( t ) y ( t ) = C x ( t )
where x ( t ) is the state vector of the system, A t is the state matrix, B t is the matrix related to the input, u ( t ) is the input variable (manipulated variable), y ( t ) is the output vector, and Cx(t) is the output matrix.
Considering a sampling interval Δ t , it is possible to define a value k = 1 , 2 , 3 , N , such that k = t Δ t , therefore, making the system discrete in time. Through Equation of Differences, we obtain the set of simplified discrete time state equations, represented by Equation (8) [1,2,3,4,5]:
x . ( k ) = x ( k + 1 ) x ( k ) Δ t x ( k + 1 ) = A x ( k ) + B u ( k + 1 ) and y ( k ) = C x ( k )
y ( k + 1 ) = C x ( k + 1 )
where: A = A t Δ t I , B = B t Δ t .
In the set of equations, it is possible to observe that the variables correspond to the future state given the conditions of the system in the present. The MBPC algorithm, at each instant of time, attempts to optimize the behavior of the controlled system by calculating the future values of the manipulated variables to achieve this goal [13]. An illustrative block diagram of a predictive controller is shown in Figure 3, where the plant is driven by a control generated in a system termed Optimizer. In this work, an Optimizer Block, with algorithms based on PAL2v, will be constructed [14,15].

3.2. Quadratic Cost Function

The MBPC makes an instantaneous time, t, measurement of the output variable of the plant and, through the mathematical model of the controlled system, makes a prediction. Based on this measurement and the reference r, a prediction horizon, N, is stipulated and future values for the manipulated variable are calculated by minimizing of an equation called the quadratic cost function [13,14,15].
The quadratic cost function is represented by Equation (9) [15]:
J = [ r y ( k + 1 ) ] T Q [ r y ( k + 1 ) ] + Δ u T R Δ u
where Δ u = u ( k + 1 ) u ( k ) .
Since matrices Q and R are called weights or cost matrices, they are used to determine degrees of importance to certain inputs and outputs, and can be represented in Equation (10):
y ( k + 1 ) = CA x ( k ) + CB u ( k ) + CB Δ u
Putting Equation (10) into (9) and applying the minimization of the function J, δ J Δ u = 0 results in Equation (11):
Δ u = ( CB ) T QE [ ( CB ) T QCB + R ]
where:
The matrix Q is a positive definite matrix that is related to the states.
The matrix R, is a positive semi definite matrix that is related to the input.
The matrices Q and R are usually diagonal, with positive elements on their diagonal.

4. Materials and Methods

In this work, a Paraconsistent Predictive Controller-PPC-PAL2v was developed. This was composed of a computational architecture, constructed from algorithms based on PAL2v. The PPC-PAL2v was applied to the model of a synchronous machine connected to an Electrical Power System (EPS) where for its performance, we established:
  • Voltage regulation at the generator terminals and;
  • Damping of the electromechanical oscillation that is directly related to the rotor speed variations.
For the study of the control model developed in this work, the EPS used in the modeling has a synchronous generator connected to the infinite bus, as represented in the circuit of Figure 4a.
The synchronous generator is connected via a voltage transformer to two parallel transmission lines which, at the other end, are connected to the infinite bus. Figure 4b shows the model of the EPS, where vt is the voltage at the terminals of the generator and vo is the voltage in the infinite bus. The reactance, XTR, is the transformer and the XLT transmission lines connected in parallel.
From a mathematical model created, a simulation was performed in the MATLAB® software R2012b to analyze the excitation control actions for the electric field of the synchronous generator, integrating the fundamentals of the Paraconsistent Annotated Logic in its special two-valued form (PAL2v) into a Model Predictive Control (MPC).
The dynamic variations of the synchronous generator will be expressed in the simulation in the face of the variations of voltage and speed caused by the small perturbations applied to the EPS.
All the mathematical logical modeling of the PPC-PAL2v was performed based on the dynamic conditions of the EPS, where it was then applied to act on the excitation control of the synchronous generator.
Table 1 shows the data concerning the reactance of the EPS transformers used in this work.
Table 2 shows the data of the synchronous generator used.
The variables selected to achieve optimum performance in voltage regulation at the generator terminals and the damping of electromechanical oscillations are electromagnetic torque, T e , voltage at the generator terminals, V t and rotor speed, ω r . These variables, in the MBPC representation, are generated through the outputs, y ( k + 1 ) , predicted by the synchronous generator model, and the reference values to be applied in the equations of the reference trajectories that are processed in the optimization algorithm PAL2v. In the control of the voltage variations at the generator terminals, the variable is used Δ e v t , which is expressed by the difference between the voltage deviation in the step, k , and the deviation predicted in the step k + 1 , according to the following discrete time state Equation (12):
Δ e v t ( k + 1 ) = Δ v t ( k ) Δ v t ( k + 1 )
Being the voltage reference r v t = Δ v t ( k ) .
The voltage deviation in the step k is determined from the set-point of the voltage V 0 and the voltage in the step k , called V t ( k ) , at the terminals of the generator. As for the damping characteristic of electromechanical oscillations, there are two variables that participate in this function: Δ e ω r , which is related to the rotor speed, and Δ e T e , related to the electromagnetic torque. These two variables are expressed, respectively, by Equation (13) and Equation (14).
Δ e ω r ( k + 1 ) = Δ ω r ( k + 1 ) 1 2 H Δ t Δ T e ( k + 1 )
Being the reference of the speed of the rotor r ω r = 1 2 H Δ t Δ T e ( k + 1 )
Δ e T e ( k + 1 ) = T m T e ( k ) Δ T e ( k + 1 )
Being the torque reference r T e = T m T e ( k ) , where: Δ e ω r ( k + 1 ) is the prediction value of the model of the speed deviation of the generator and Δ e T e ( k + 1 ) is the prediction of the model of the deviation of the electromagnetic torque.

4.1. General Aspects of the Paraconsistent Predictive Model

In the optimization of the control, the values of the current speed ω r ( k ) , the values of the speed in the previous instant ω r ( k 1 ) , and the reference voltage (Set Point) V 0 are used. The variables involved in the PPC-PAL2v model applied to the excitation control of the synchronous generator are shown in Figure 5.

4.2. Paraconsistent Predictive Controller-PPC-PAL2v

In order to meet the voltage regulation and damp effects of electromechanical oscillations, the PPC-PAL2v was structured in functional blocks, where each block has specific actions to compose joint actions in the predictive control in the excitation of the synchronous generator. For better understanding, the details of the control configuration used in the PPC-PAL2v are described below.
  • Structural configuration of PPC-PAL2v
The structural configuration of the model-based Paraconsistent Predictive Controller—PPC-PAL2v—will be presented in two main blocks which are interconnected by the signal flow of the variables involved. The general configuration of the PPC-PAL2v is shown in Figure 6, with its signal flows in its two main blocks: OT-PAL2v—Optimizer— and MM—mathematical model of the synchronous generator.
  • OT-PAL2v—Optimizer Block
In the Predictive Controller model, the PAL2v algorithms were used in the construction of the Optimizer block (OT-PAL2v). In Figure 7, the composition of Optimizer PAL2v with three secondary blocks is shown, as follows: Paraconsistent Analysis Network (PANnet), Weight Adjustment Mechanisms (WAM) and Field Voltage Setting Determination Block (FVSD).
As shown in Figure 8, the Paraconsistent Analysis Network (PANnet), inserted into the Optimizer-PAL2v block, has the objective of performing the logical treatment of the normalized values. These values are obtained by measuring the generator speed, ω r and the voltage, V t .
The result of the paraconsistent logical treatment in the signals will serve to determine the weight factors used in the block of Adjustment Mechanisms.
The PANnet configuration was developed by analyzing the conditions of the quantities involved in the control, and the optimization of the signals was performed through the configurations of PANs.
Table 3 shows the analysis of the field voltage variation according to the speed and voltage variation conditions at the generator terminals. Two points of contradiction are observed:
1. When there is acceleration of the rotor and the voltage is above the desired voltage V 0 ;
2. When there is deceleration of the rotor and the voltage is below the desired value V 0 .
From the conditions indicated in Table 3, we can define the equations of the algorithms that extract the degrees of evidence that represent the values for the input signals of PPC-PAL2v.
  • PPC-PAL2v Input Variables with Normalized and Selected Values
As seen in Figure 8, the PANnet, inserted into the Optimizer-PAL2v block, has algorithms for extracting the degree of evidence that normalizes and selects the signals of the input variables. These are: the speed at the present instant ω r ( k ) , speed at the previous instant ω r ( k 1 ) , voltage at the generator terminals at the present instant V t ( k ) and the reference voltage (Set Point) V 0 .
The first select/normalization that results in μ1 for PAN 1 is performed by considering the acceleration condition above the desired value, so the mathematical function that extracts the degree of evidence and selects the output for this condition is:
μ 1 = 0 i f   [ ω r ( k ) ω r ( k 1 ) ] 0 [ ω r ( k ) ω r ( k 1 ) ] 20.41 × 10 9 i f   0 < [ ω r ( k ) ω r ( k 1 ) ] 20.41 × 10 9 1 i f   [ ω r ( k ) ω r ( k 1 ) ] > 20.41 × 10 9
The second select/normalization that results in λ2 = 1-μ2 for PAN 1and λ4 = 1-μ2 for PAN 3 is made considering the maximum deviation of 5% of the voltage at the generator terminals above the desired voltage, and so the mathematical function that extracts the degree of evidence for this condition is:
μ 2 =   1   i f   [ V t V 0 ] 0 0 . 05 [ V t V 0 ] 0.05 i f   0 < [ V t V 0 ] 0.05   0   i f   [ V t V 0 ] > 0.05
The third select/normalization that results in μ3 for PAN 2 is made considering a deceleration condition with a maximum tolerance of 20.41 × 10 9 below the desired value. Therefore, the mathematical function that extracts the degree of evidence for this condition is:
μ 3 = 0 i f   [ ω r ( k 1 ) ω r ( k ) ] 0 [ ω r ( k 1 ) ω r ( k ) ] 20.41 × 10 9 i f   0 < [ ω r ( k 1 ) ω r ( k ) ] 20.41 × 10 9 1 i f   [ ω r ( k 1 ) ω r ( k ) ] > 20.41 × 10 9
The fourth select/normalization that results in λ3 = 1-μ4 for PAN 2 and μ4 for PAN 3 is made considering the maximum deviation of 5% of the voltage at the generator terminals above the desired voltage. Therefore, the mathematical function that extracts the degree of evidence for this condition is:
μ 4 =   1   i f   [ V 0 V t ] 0 0 . 05 [ V 0 V t ] 0.05 i f   0 < [ V 0 V t ] 0.05   0   i f   [ V 0 V t ] > 0.05
The inputs to PAN 3 are the same normalized values μ 2 , obtained by Equation (16), and μ 4 , obtained by Equation (18).

4.3. Detail of the Paraconsistent Analysis Network (PANnet)

The PANnet is the first block of the OT-PAL2v-Optimizer and is where the values of the speed ω r ( k ) at actual instant, the speed at the previous instant ω r ( k 1 ) , the voltage at the terminals of the generator at the actual instant V t ( k ) and the reference voltage V 0 are applied. In the PANnet inputs, all these values were transformed into degrees of evidence, and from these paraconsistent variables PANnet defines the degree of real evidence for speed μ E R _ ω r . This represents the evidence (intensity) e f d of the need to increase or decrease to satisfy both the voltage control and the damping of electromechanical oscillations.
The result, in terms of the degree of real evidence for the voltage μ E R _ V that is simultaneously obtained in PANnet, represents evidence (intensity) of the need for tension control. Based on these control conditions, the function of each PAN in the PANnet configuration shown in Figure 8 is described below:
  • PAN 1 ⇒ Analysis of the increase condition of e f d ;
  • PAN 2 ⇒ Analysis of the decrease condition of e f d ;
  • PAN 3 ⇒ Analysis of the variation of K v .
After the analysis performed by PANs 1 and 2, the resultant evidence degrees, μ E R 1 and μ E R 2 , corresponding to the need to increase e f d and the need to decrease e f d , are passed through a Paraconsistent Logic Maximization Algorithm A P l C M a x . The A P l C M a x acts on only the greater value between the two, and sends the resulting signal directly to the Weighting Mechanism Block. Thus, dominant degree of evidence that is represented by μ E R _ ω will provide the increase or decrease in e f d to satisfy both the voltage control and the damping of electromechanical oscillations. Simultaneously, after the analysis performed by the PAN3, the degree of evidence resultant of its output is represented by μ E R _ V . This will act in the Weights Adjustment Mechanism (WAM) Block for the control of the tension.
The WAM Block is described below.

4.4. Weights Adjustment Mechanism Block (WAM)

In the Mechanism of Adjustment of Weights, an analysis of the degrees of evidence, received from the PANs that compose the PANnet, is made to decide how to modify the weights in order to achieve optimal control. In the outputs of this block are:
K ω ( p ω ) which represents the weight relative to the speed adjustment.
K V ( P V ) which is the weight relative to the voltage.
K T e ( p T e ) which is the weight relative to the electromagnetic torque.
Thus, in the PAL2v-Optimizer block, the resulting signals from the Mechanism of Adjustment of Weights block are obtained through the equations of the multiplier factors for the Q-Matrix, as shown below.
  • Equations of the multiplier factors for the Q-Matrix
From the resultant degrees of evidence provided by PANnet, we calculate the multiplier factors ρ ω , ρ V and ρ T e which, respectively, change the weights, K ω = 8 , K V = 1 , K T e = 0.05 . The dominant degree of evidence μ E R _ ω varies in the interval [ 0 , 1 ] , and when the output of Paraconsistent Logic Maximization Algorithm- A P l C M a x provides zero (or one) value bit, the multiplier factors vary according to Equation (19):
ρ ω = ρ T e = 2 μ E R _ ω + 1
Likewise, since the value of the resultant evidence degree μ E R _ V referring to the voltage is within the range, then the multiplier of the weight relative to the voltage is expressed by Equation (20):
ρ V = μ E R V + 2
Once the weights and factors have been defined, it is possible to express the Q matrix in its complete form through Equation (21):
Q = ρ ω K ω 0 0 0 ρ V K ω 0 0 0 ρ T e K T e
  • Field Voltage Setting Determination block (FVSD)
The Field Voltage Setting Determination Block (FVSD) operates using a matrix equation in which the field voltage variation is effectively obtained to achieve the required values of the controlled variables.
The selected variables, which are required to reach the optimum performance in voltage regulation at the generator terminals and the damping of electromechanical oscillations, are: (a) electromagnetic torque T e ; (b) voltage at the generator terminals V t and; (c) rotor speed ω r . In the representation of the PPC-PAL2v, these variables generate, through the outputs, y ( k + 1 ) , predicted by the synchronous generator model and the reference values, the reference trajectories that are processed in the optimization algorithm PAL2v. The constants, represented in the equations of the trajectories, are dependent on the initial conditions and the inductances of the system and are obtained in the small signal stability study.

4.5. MM-Mathematical Model of the Synchronous Generator

The PPC-PAL2v model must act to regulate the voltage at the generator terminals and damp the electromechanical oscillation directly related to the rotor speed variations. These two premises can be described mathematically through the output vector of the state space formulation, as shown Equation (22) [18]:
y ( k ) = w r ( k ) V t ( k )
where: w r is the rotor speed and V t is the voltage at the terminals of the synchronous generator.
To obtain the equations of the model in the MM (Mathematical Model of the synchronous Generator), the simplification of a synchronous machine with the inclusion of the dynamic effect of the field circuit is performed [10,12,18]. The state space matrix of the corresponding model is represented by Equation (23):
Δ ω r . Δ δ . Δ Ψ f d . = a 11 a 12 a 13 a 21 0 0 0 a 32 a 33 Δ ω Δ δ Δ Ψ + b 11 0 0 0 0 b 33 Δ T m Δ E f d
where: ω r is the rotor speed, δ is the power angle and Ψ f d is the field flow.
The elements of the state matrix are function of the system parameters and the following equations show how they are obtained.
a 11 = K D 2 H a 12 = K 1 2 H a 13 = K 3 2 H a 21 = ω 0 a 32 = ω 0   R f d   L f d m 1 L a d s a 33 = ω 0   R f d   L f d 1 L a d s L f d + m 2 L a d s b 11 = 1 2 H b 32 = ω 0   R f d   L a d u
where: K 1 , K 2 , m 1 and m 2 are constants that depend on the parameters of the system and its initial conditions of operation. K D is the damping coefficient and H is the inertia constant.
  • Dynamic analysis of the synchronous generator
In the aspect of the dynamic analysis of the synchronous generator, the state variables are represented by the state space matrix. Therefore, the dynamics of the synchronous generator through the differential equations from these state variables is described as:
For   rotor   speed   ω r     ω . r ( k ) = 1 2 H T m ( k ) T e ( k )
For   power   angle   δ     δ . ( k ) = ω 0 Δ ω r ( k )
For   field   flow   Ψ f d     Ψ . f d ( k ) = ω 0 Δ e f d ( k )
where T m is the mechanical torque, T e is the electromagnetic torque and H is the inertia constant. Therefore, the state of the system can be described at any instant t, or step k , by the matrix represented by Equation (25):
x ( k ) = δ ( k ) ω r ( k ) Ψ f d ( k )
This modeling is performed through the equations of the reference trajectories, as explained below.
  • Equations of the reference trajectories
The control signal, that is, the input u ( k ) of the state space equations, is represented in the dynamic analysis of the synchronous generator by the voltage applied to the field circuit e fd .
The equations of the reference trajectories are expressed by measurable quantities of the synchronous generator. For the reference trajectory related to the voltage at the terminals, we have: Δ e V t ( k + 1 ) = Δ V t ( k ) K 3 Δ δ ( k ) K 4 Δ Ψ f d ( k ) .
Where the final analysis is performed by Equation (26):
Δ e V t ( k + 1 ) = ( K 3 ω 0 Δ t ) Δ ω r ( k ) + Δ V t ( k ) + ( K 4 ω 0 Δ t ) Δ e f d ( k )
For the reference trajectory related to the speed of the synchronous generator, we have: Δ e ω r ( k + 1 ) = 2 Δ ω ( k ) Δ ω ( k 1 ) Δ t 2 H ( K 1 Δ δ ( k ) + K 2 Δ Ψ f d ( k ) ) .
Where the final analysis is performed by Equation (27):
Δ e ω r ( k + 1 ) = ( 1 ) Δ ω ( k 1 ) + 2 K 1 ω 0 Δ t 2 2 H Δ ω r ( k ) + K 2 ω 0 Δ t 2 2 H Δ e f d ( k )
Additionally, for the reference trajectory related to the electromagnetic torque of the generator, we have: Δ e T e ( k + 1 ) = 2 H Δ t Δ ω ( k 1 ) + 2 H Δ t Δ ω ( k ) K 1 Δ δ ( k ) K 2 Δ Ψ f d ( k ) .
Where the final analysis is performed by Equation (28):
Δ e T e ( k + 1 ) = 2 H Δ t Δ ω ( k 1 ) + 2 H Δ t K 1 ω 0 Δ t Δ ω ( k ) + K 2 ω 0 Δ t Δ e f d ( k )
Therefore, the reference trajectory in its matrix form is represented by Equation (29):
Δ e T e ( k + 1 ) = A 1 Δ ω ( k 1 ) + A 2 Δ ω ( k ) + A 3 Δ V t ( k ) + E 2 Δ e f d ( k )
where the multiplier matrices used in the simplification are:
E 2 = K 4 ω 0 Δ t K 2 ω 0 Δ t 2 2 H K 2 ω 0 Δ t A 1 = 0 1 2 H Δ t A 2 = K 3 ω 0 Δ t 2 K 1 ω 0 Δ t 2 2 H 2 H Δ t K 1 ω 0 Δ t A 3 = 1 0 0
Reducing the matrix equation even more by joining the first three terms, results in Equation (31):
E 1 = A 1 Δ ω ( k 1 ) + A 2 Δ ω ( k ) + A 3 Δ V t ( k )
Equation (29) can be rewritten as Equation (32):
Δ e T e ( k + 1 ) = E 1 + E 2 Δ e f d ( k )
The quadratic cost function can be written as Equation (33):
J = Δ e T Q Δ e + Δ e f d T R Δ e f d
By doing (32) in (33), we get the quadratic cost function represented as Equation (34):
J = E 1 + E 2 Δ e f d ( k ) T Q E 1 + E 2 Δ e f d ( k ) + Δ e f d T R Δ e f d
Rearranging the terms, it remains:
J = E 1 T QE 1 + ( E 1 T QE 2 + E 2 T QE 1 ) Δ e f d + ( E 2 T QE 2 + R ) Δ e f d 2
Applying the minimization of the function J, that is: δ J Δ e = 0
E 1 T QE 2 + E 2 T QE 1 + 2 E 2 T QE 2 + R Δ e f d = 0
The final equation is represented as Equation (36):
Δ e f d = E 1 T QE 2 + E 2 T QE 1 2 E 2 T QE 2 + R
The Q matrix from Equation (21) is included in Equation (36) and was developed with the weights extracted from the analysis and modeling of PAL2v. In the model of the PPC-PAL2v, the factors obtained from the characteristics of the EPS are applied in Equation (36) to optimize the value for the field excitation control of the synchronous generator according to the variables involved in the process.

5. Results

In this work, two particular cases are presented for the performance evaluation of the PPC-PAL2v:
Case 1—Variation of 5% of the mechanical power of the generator.
Case 2—Variation of 2% in the reference voltage at the generator terminals.
Comparisons of results are made in relation to those obtained with the AVR and PSS, acting together and using the conventional MPC (Model Predictive Controller).
The results which are obtained for these two conditions with a prediction horizon N = 1 are shown below.
Results in case 1: At the 10 s instant, the synchronous generator begins to suffer a decrease in the mechanical torque of 0.018 pu/min, which, in nominal values of the generator, is equivalent to 10 MW/min. This causes an initial imbalance between mechanical torque and electric torque, and the machine rotor begins to decelerate.
Figure 9a shows the comparisons of velocity deviation, resulting in the 3 control methods: AVR+PSS, conventional MPC and the PPC-PAL2v.
The graphs show the behavior of the speed at the moment when the mechanical torque reaches its final value of −5% of its initial value.
Figure 9b shows the comparisons of values resulting from voltage at the generator terminals in the 3 control methods: AVR+PSS, conventional MPC and the PPC-PAL2v.
The graphs show the behavior of voltage values at the generator terminals at the moment when the mechanical torque applied reaches the stabilization.
Figure 10a–c show the degrees of evidence of the outputs of the Paraconsistent Analysis Network algorithms.
Figure 10d,e show the behaviors of the multiplier factors of weights that act in the Q Matrix in this case 1.
Results in case 2: The performance of the voltage at the generator terminals, in case 2, when a decrease of 2% of the reference voltage in the generator bus is realized at the instant of time 10 s.
Figure 11a shows the comparisons of velocity deviation resulting in the 3 control methods: AVR+PSS, conventional MPC and the PPC-PAL2v.
The graphs show the behavior of the speed in the moment when the mechanical torque reaches its final value of −2% of its initial value.
Figure 11b shows the comparisons of values resulting from voltage at the generator terminals in the 3 control methods: AVR+PSS, conventional MPC and the PPC-PAL2v.
The graphs show the behavior of voltage values at the generator terminals in the moment when the mechanical torque applied reaches the stabilization.
Figure 12a–c show the degrees of evidence of the outputs of the Paraconsistent Analysis Network algorithms.
Figure 12d,e show the behaviors of the multiplier factors of weights that act in the Q Matrix in this case 2.

6. Discussion

Case 1: In case 1, at the initial moment the velocity deviation, the PPC-PAL2v and conventional MPC controllers presented better performance than the AVR+PSS in terms of the peak values of the oscillations and the speed in the oscillation damping. As can be seen in Figure 9, the PPC-PAL2v and conventional MPC controllers reach a practically constant value after 12 s, where the speed is lower than the nominal value, while the AVR+PSS controller tends to have an accommodation with a lower speed than the other two.
The performance of the PPC-PAL2v cushions the electromechanical oscillation faster compared to the conventional MPC. In Figure 9a, in 160.4 s the mechanical torque reaches the final value, but electric torque continues to decrease in a short time, causing the acceleration of the rotor. Thus, its velocity increases, reaching stability in 162 s for PPC-PAL2v, 162.25 s for MPC and 163 s for AVR+PSS.
In Figure 9b, when the synchronous generator initiates the descent of the mechanical torque, the voltage at the terminals of the generator decreases and soon after an ascending ramp begins. The conventional MPC controller starts its rise by a value above the PPC-PAL2v, and the AVR+PSS controller has a higher slope than the other two controllers. When the mechanical torque reaches its final value, with increasing rotor speed, the voltage tends to rise in a small step and stabilizes within the 5% variation band determined by the controllers, with the value for PPC-PAL2v a little above the accommodation value for the conventional MPC, and below the value for the AVR+PSS.
Figure 10 shows the values resulting from the actions of the Paraconsistent Algorithms to perform the control in the circuit under study. We can verify that, for the optimized control obtained by PPC-PAL2v in case 1, there was no saturation of any output values of the PANs nor of the multiplier factors of the weight.
Case 2: It is observed in Figure 11a that, for the deviation in velocity, the PPC-PAL2v and MPC controllers presented better performance than the AVR+PSS for damping the oscillation. It is found that the MPC achieves stability after 12 s, while the PPC-PAL2v controller approaches the desired value faster. Regarding the voltage performance at the generator terminals in case 2, shown in Figure 11b, until the instant 10.3 s, the AVR+PSS controller has a more efficient response in the voltage adjustment than the PPC-PAL2v and MPC controllers, while the MPC controller walks faster to 0.98 p.u. than the PPC-PAL2v at the initial time. After 10.6 s, the PPC-PAL2v crosses 0.98 p.u., and accommodates quickly compared to AVR+PSS and MPC controllers.
Figure 12 shows the values resulting from the actions of the Paraconsistent Algorithms to perform the control in the circuit under study. We can verify that, for the optimized control obtained by PPC-PAL2v in case 2, there was saturation in some moments of the output values of the PANs and in the multiplier factors of the weight. However, the system was able to carry out the control more efficiently than the other methods.

7. Conclusions

In this paper, we presented a predictive controller, implemented with the fundamentals of Paraconsistent Annotated Logic (PAL) in their extended form, which we denoted Paraconsistent Annotated Logic with annotation of two values—PAL2v. This Paraconsistent Predictive Controller (PPC-PAL2v) was applied in the control of a Synchronous Generator in the case of stability to small signals. For the validation tests of the PPC-PAL2v, a mathematical model of a Single-Machine Infinite Bus (SMIB) was developed, as well as the model of an Automatic Voltage Regulator (AVR) in conjunction with a Power System Stabilizer (PSS) and a classical Model Predictive Control (MPC). After this, the results of the performances of the three control methods were compared. From the computational simulation of the proposed model, it was verified that the PPC-PAL2v effectively presented a superior result to the classical control of the AVR in conjunction with the PSS in the two cases studied. Regarding the MPC, which presents constant weight adjustment, the PPC-PAL2v was also superior due to its characteristic of variable adjustment in a continuous space of values with predetermined limits. The application of the algorithms of PAL2v, forming the Paraconsistent Analysis Network (PANnet) which acts on the stability of the small signals of power systems, is innovative and has shown very promising properties. The results found in this research will serve as a basis for new developments and future applications of the PAL2v in the control and automation of electric power systems.

Author Contributions

Resources and methodology, J.I.D.S.F. and R.A.B.d.O.; Formal analysis, M.C.R., H.M.C. and A.R.; original draft preparation, M.C.M., D.V.G. and J.M.A.; writing, C.R.T. and V.B.D.R. writing—review and editing, A.C.D.R., A.d.C.J. and G.L.-T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kundur, P.; Dandeno, P.L. Implementation of Advanced Generator Models into Power System Stability Programs. IEEE Power Eng. Rev. 1983, PER-3, 31. [Google Scholar] [CrossRef]
  2. Rogers, G. Power System Oscillations; Kluwer Academic Publishers: Alphen aan den Rijn, The Netherlands, 2000; pp. 28–50. [Google Scholar] [CrossRef]
  3. Yu, Y.-N.; Moussa, H.A.M. Optimal Stabilization of a Multi-Machine System. IEEE Trans. Power Appar. Syst. 1972, PAS-91, 1174–1182. [Google Scholar] [CrossRef]
  4. Kazmierkowski, M.P. Power System Dynamics: Stability and Control, Third Edition [Book News]. IEEE Ind. Electron. Mag. 2020, 14, 94–95. [Google Scholar] [CrossRef]
  5. Ali, M.A.S.; Mehmood, K.K.; Kim, C.-H. Power System Stability Improvement through the Coordination of TCPS-based Damping Controller and Power System Stabilizer. Adv. Electr. Comput. Eng. 2017, 17, 27–36. [Google Scholar] [CrossRef]
  6. Kumar, K.; Prakash, A.; Parida, S.K.; Ghosh, S.; Kumar, C. Coordinated Tuning of AVRs and PSSs for Local and Inter-Area Modes of Oscillation in Eastern Regional Grid of India. In Proceedings of the 2021 IEEE 2nd International Conference on Smart Technologies for Power, Energy and Control (STPEC), Bilaspur, India, 19–22 December 2021. [Google Scholar] [CrossRef]
  7. Izdebski, M.; Małkowski, R.; Miller, P. New Performance Indices for Power System Stabilizers. Energies 2022, 15, 9582. [Google Scholar] [CrossRef]
  8. Law, K.; Hill, D.; Godfrey, N. Robust controller structure for coordinated power system voltage regulator and stabilizer design. IEEE Trans. Control Syst. Technol. 1994, 2, 220–232. [Google Scholar] [CrossRef]
  9. Arrillaga, J.; Arnold, C.P.; Harker, B.J. Computer Modeling of Electrical Power Systems; John Wiley & Sons: Hoboken, NJ, USA, 1983. [Google Scholar] [CrossRef]
  10. CIGRE. Practical use of expert systems in planning and operation of power systems. Électra 1993, 2, 30–67. [Google Scholar]
  11. Eremia, M.; Shahidehpour, M. Handbook of Electrical Power System Dynamics: Modeling, Stability, and Control; John Wiley & Sons: Hoboken, NJ, USA, 2013; ISBN 9781118497173. [Google Scholar] [CrossRef]
  12. Škultéty, J.; Miklovičová, E.; Bars, R. Predictive Synchronous Generator Excitation Control Based on Laguerre Model. J. Electr. Eng. 2013, 64, 173–179. [Google Scholar] [CrossRef] [Green Version]
  13. Bolognani, S.; Peretti, L.; Zigliotto, M. Design and Implementation of Model Predictive Control for Electrical Motor Drives. IEEE Trans. Ind. Electron. 2008, 56, 1925–1936. [Google Scholar] [CrossRef]
  14. Mao, C.; Fan, J.; Malik, O.; Hope, G. Studies of real-time adaptive optimal excitation controller and adaptive optimal power system stabilizer. IEEE Trans. Energy Convers. 1992, 7, 598–605. [Google Scholar] [CrossRef]
  15. Jin, N.; Pan, C.; Li, Y.; Hu, S.; Fang, J. Model Predictive Control for Virtual Synchronous Generator with Improved Vector Selection and Reconstructed Current. Energies 2020, 13, 5435. [Google Scholar] [CrossRef]
  16. Clarke, D.W.; Mothadi, C.; Tuffs, P.S. Generalized Predictive Control Part 1 & 2. Automatica 1987, 23, 137–160. [Google Scholar]
  17. Landau, I.D. Evolution of Adaptive Control. J. Dyn. Syst. Meas. Control. 1993, 115, 381–391. [Google Scholar] [CrossRef]
  18. Bittanti, S.; Piroddi, L. Neural implementation of GMV control schemes based on affine input/output models. IEE Proc.-Control Theory Appl. 1997, 144, 521–530. [Google Scholar] [CrossRef]
  19. Fabri, S.; Kadirkamanathan, V. Dual adaptive control of nonlinear stochastic systems using neural networks. Automatica 1998, 34, 245–253. [Google Scholar] [CrossRef]
  20. Ilina, I.-D.; Tudorache, T. Determination of Operation Characteristics of a Synchronous Generator by Static Experimental Tests. Adv. Electr. Comput. Eng. 2016, 16, 93–100. [Google Scholar] [CrossRef]
  21. Zhang, Y.; Chen, G.P.; Malik, O.P.; Hope, G.S. A multi-input power system stabilizer based on artificial neural networks. In Proceedings of the IEEE WESCANEX 93 Communications, Computers and Power in the Modern Environment—Conference Proceedings, Saskatoon, SK, Canada, 17–18 May 1993; pp. 240–246. [Google Scholar] [CrossRef]
  22. Blair, H.A.; Subrahmanian, V. Paraconsistent logic programming. Theor. Comput. Sci. 1989, 68, 135–154. [Google Scholar] [CrossRef]
  23. Abe, J.M.; Nakamatsu, K.; Da Silva Filho, J.I. Three decades of paraconsistent annotated logics: A review paper on some applications. Procedia Comput. Sci. 2019, 159, 1175–1181. [Google Scholar] [CrossRef]
  24. Da Silva Filho, J.I.; Lambert-Torres, G.; Abe, J.M. Uncertainty Treatment Using Paraconsistent Logic: Introducing Paraconsistent Artificial Neural Networks; Frontiers in Artificial Intelligence and Applications; IOS Press: Amsterdam, The Netherlands, 2010; Volume 211, p. 328. [Google Scholar] [CrossRef]
  25. Da Silva Filho, J.I.; Rocco, A. Power systems outage possibilities analysis by Paraconsistent Logic. In Proceedings of the 2008 IEEE Proceedings of the Power and Energy Society General Meeting—Conversion and Delivery of Electrical Energy in the 21st Century, Pittsburgh, PA, USA, 20–24 July 2008. [Google Scholar] [CrossRef]
  26. Da Silva Filho, J.I.; Nunes, C.V.; Garcia, D.V.; Mario, M.C.; Giordano, F.; Abe, J.M.; Pacheco, M.T.T.; Silveira, L.; Silveira, L., Jr. Paraconsistent analysis network applied in the treatment of Raman spectroscopy data to support medical diagnosis of skin cancer. Med. Biol. Eng. Comput. 2016, 54, 1453–1467. [Google Scholar] [CrossRef]
  27. Ribeiro, J.C.; Cardoso, G.; Silva, V.B.; Oliveira, A.L.; Ricciotti, A.C.D.; Oliveira, P.T. Paraconsistent analysis network for uncertainties treatment in electric power system fault section estimation. Int. J. Electr. Power Energy Syst. 2021, 134, 107317. [Google Scholar] [CrossRef]
  28. Ricciotti, A.C.D.; Da Silva Filho, J.I.; Oliveira, R.A.B.; Ricciotti, V.B.D.; Côrtes, H.M.; Nicolini, M.A. A new strategy of modulation based on Space Vector Modulation and Annotated Paraconsistent Logic for a three-phase converter. In Proceedings of the 2019 IEEE 15th Brazilian Power Electronics Conference and 5th IEEE Southern Power Electronics Conference (COBEP/SPEC), Santos, Brazil, 1–4 December 2019; pp. 1–6. [Google Scholar] [CrossRef]
  29. Garcia, D.V.; Da Silva Filho, J.I.; Silveira, L.; Pacheco, M.T.T.; Abe, J.M.; Carvalho, A.; Blos, M.F.; Pasqualucci, C.A.G.; Mario, M.C. Analysis of Raman spectroscopy data with algorithms based on paraconsistent logic for characterization of skin cancer lesions. Vib. Spectrosc. 2019, 103, 102929. [Google Scholar] [CrossRef]
  30. Da Silva Filho, J.I.; Camargo, J.M.; Santos, M.R.; Onuki, A.; Mario, M.; Ferrara, L.; Garcia, D.; Pereira, J.; Rocco, A. Support at Decision in Electrical Systems of subtransmission through selection of Topologies by a Paraconsistent Simulator. IEEE Lat. Am. Trans. 2016, 14, 1993–1999. [Google Scholar] [CrossRef]
  31. Coelho, M.S.; Da Silva Filho, J.I.; Côrtes, H.M.; de Carvalho, A.; Blos, M.F.; Mario, M.C.; Rocco, A. Hybrid PI controller constructed with paraconsistent annotated logic. Control Eng. Pract. 2018, 84, 112–124. [Google Scholar] [CrossRef]
  32. Da Silva Filho, J.I.; Abe, J.; Marreiro, A.; Martinez, A.; Torres, C.; Rocco, A.; Côrtes, H.; Mario, M.; Pacheco, M.; Garcia, D.; et al. Paraconsistent Annotated Logic Algorithms Applied in Management and Control of Communication Network Routes. Sensors 2021, 21, 4219. [Google Scholar] [CrossRef]
  33. Côrtes, H.M.; Santos, P.E.; Da Silva Filho, J.I. Monitoring electrical systems data-network equipment by means of Fuzzy and Paraconsistent Annotated Logic. Expert Syst. Appl. 2021, 187, 115865. [Google Scholar] [CrossRef]
  34. de Carvalho, A.; Justo, J.F.; Angelico, B.A.; de Oliveira, A.M.; Da Silva Filho, J.I. Rotary Inverted Pendulum Identification for Control by Paraconsistent Neural Network. IEEE Access 2021, 9, 74155–74167. [Google Scholar] [CrossRef]
Figure 1. Paraconsistent Annotated Logic Representation—PAL. (a) Lattice FOUR associated at PAL. (b) Real Certainty (DCR) PAL2vlattice.
Figure 1. Paraconsistent Annotated Logic Representation—PAL. (a) Lattice FOUR associated at PAL. (b) Real Certainty (DCR) PAL2vlattice.
Energies 16 01934 g001
Figure 2. Symbolic representation of PAL2v algorithms and Paraconsistent Analysis Network (PANnet). (a) Extractor of degree of evidence. (b) PAN—Paraconsistent Analysis Node. (c) Maximization Logical Connection Algorithm— A P l C M a x . (d) Structure of a PANnet with 3 PANs, two outputs and one signaling bit.
Figure 2. Symbolic representation of PAL2v algorithms and Paraconsistent Analysis Network (PANnet). (a) Extractor of degree of evidence. (b) PAN—Paraconsistent Analysis Node. (c) Maximization Logical Connection Algorithm— A P l C M a x . (d) Structure of a PANnet with 3 PANs, two outputs and one signaling bit.
Energies 16 01934 g002
Figure 3. Simplified Model-Based Predictive Control-MBPC Blocks Diagram algorithms.
Figure 3. Simplified Model-Based Predictive Control-MBPC Blocks Diagram algorithms.
Energies 16 01934 g003
Figure 4. EPS model with synchronous generator connected to the infinite bus. (a) The Electrical Power System. (b) Electrical Power System Modeling is a figure. Schemes follow the same formatting.
Figure 4. EPS model with synchronous generator connected to the infinite bus. (a) The Electrical Power System. (b) Electrical Power System Modeling is a figure. Schemes follow the same formatting.
Energies 16 01934 g004
Figure 5. Variables involved in the PPC-PAL2v model applied to the excitation control of the synchronous generator.
Figure 5. Variables involved in the PPC-PAL2v model applied to the excitation control of the synchronous generator.
Energies 16 01934 g005
Figure 6. General PPC-PAL2v configuration with the two master blocks that make up the PAL2v Predictive Controller.
Figure 6. General PPC-PAL2v configuration with the two master blocks that make up the PAL2v Predictive Controller.
Energies 16 01934 g006
Figure 7. Optimizer block (OT-PAL2v) flowchart.
Figure 7. Optimizer block (OT-PAL2v) flowchart.
Energies 16 01934 g007
Figure 8. Paraconsistent Analysis Network (PANnet), inserted into the Optimizer-PAL2v block to determine the weight factors.
Figure 8. Paraconsistent Analysis Network (PANnet), inserted into the Optimizer-PAL2v block to determine the weight factors.
Energies 16 01934 g008
Figure 9. Case 1—Graphical results with deviations in speed and voltage values at the generator terminals using the three control methods: AVR+PSS, conventional MPC and the PPC-PAL2v. (a) Comparison of the deviation in Velocity—Case 1. (b) Comparison of the voltage generator values deviation—Case 1.
Figure 9. Case 1—Graphical results with deviations in speed and voltage values at the generator terminals using the three control methods: AVR+PSS, conventional MPC and the PPC-PAL2v. (a) Comparison of the deviation in Velocity—Case 1. (b) Comparison of the voltage generator values deviation—Case 1.
Energies 16 01934 g009
Figure 10. Case 1—Graphical results with evidence degrees at PANnet outputs and the Matrix Q weights using the PPC-PAL2v. (a) Resultant real evidence Degree-Output PAN 1. (b) Resultant real evidence Degree-Output PAN 2. (c) Resultant real evidence Degree-Output PAN 3. (d) Multiplier factor of the weight relative to the speed. (e) Multiplier factor of the weight relative to voltage at the generator terminals and multiplier factor of the weight relative to the torque.
Figure 10. Case 1—Graphical results with evidence degrees at PANnet outputs and the Matrix Q weights using the PPC-PAL2v. (a) Resultant real evidence Degree-Output PAN 1. (b) Resultant real evidence Degree-Output PAN 2. (c) Resultant real evidence Degree-Output PAN 3. (d) Multiplier factor of the weight relative to the speed. (e) Multiplier factor of the weight relative to voltage at the generator terminals and multiplier factor of the weight relative to the torque.
Energies 16 01934 g010aEnergies 16 01934 g010b
Figure 11. Case 2—Graphical results with deviations in speed and voltage values at the terminals using the three control methods: AVR+PSS, conventional MPC and the PPC-PAL2v. (a) Comparison of the deviation in Velocity—Case 2. (b) Comparison of the voltage generator values deviation—Case 2.
Figure 11. Case 2—Graphical results with deviations in speed and voltage values at the terminals using the three control methods: AVR+PSS, conventional MPC and the PPC-PAL2v. (a) Comparison of the deviation in Velocity—Case 2. (b) Comparison of the voltage generator values deviation—Case 2.
Energies 16 01934 g011aEnergies 16 01934 g011b
Figure 12. Case 2—Graphical results with evidence degrees at PANnet outputs and the Matrix Q weights using the PPC-PAL2v. (a) Resultant real evidence Degree-Output PAN 1. (b) Resultant real evidence Degree-Output PAN 2. (c) Resultant real evidence Degree-Output PAN 3. (d) Multiplier factor of the weight relative to the speed. (e) Multiplier factor of the weight relative to voltage at the generator terminals and multiplier factor of the weight relative to the torque.
Figure 12. Case 2—Graphical results with evidence degrees at PANnet outputs and the Matrix Q weights using the PPC-PAL2v. (a) Resultant real evidence Degree-Output PAN 1. (b) Resultant real evidence Degree-Output PAN 2. (c) Resultant real evidence Degree-Output PAN 3. (d) Multiplier factor of the weight relative to the speed. (e) Multiplier factor of the weight relative to voltage at the generator terminals and multiplier factor of the weight relative to the torque.
Energies 16 01934 g012
Table 1. Electrical Power System data.
Table 1. Electrical Power System data.
Electrical Power System Parameters
X T R 0.15
X L T 1 0.5
X L T 2 0.93
Table 2. Synchronous Generator Data.
Table 2. Synchronous Generator Data.
Nominal ValuesParametersSaturation
Nominal power555 MVA X d 1.81 p.u. X l 0.15 p.u. A s a t 0.031
Nominal voltage24 kV X q 1.76 p.u. R a 0.003 p.u. B s a t 6.93
Frequency60 Hz X d 0.30 p.u. T d 0 8.00 s Ψ T 1 0.80
Number of poles2 X q 0.65 p.u. T q 0 1.00 s
Cte of Inertia3.5 MWs/MVA X d 0.23 p.u. T d 0 0.03 s
Cte of Damping0 X q 0.25 p.u. T q 0 0.07 s
Table 3. Analysis of the Variations of Voltage and Speed.
Table 3. Analysis of the Variations of Voltage and Speed.
SignalCondition Value   of   e f d
Δ ω r PositiveAccelerationIncreases
Δ V t PositiveOvervoltageDecreases
Δ ω r PositiveAccelerationIncreases
Δ V t NegativeUndervoltageIncreases
Δ ω r NegativeDecelerationDecreases
Δ V t NegativeUndervoltageIncreases
Δ ω r NegativeDecelerationDecreases
Δ V t PositiveOvervoltageDecreases
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Da Silva Filho, J.I.; de Oliveira, R.A.B.; Rodrigues, M.C.; Côrtes, H.M.; Rocco, A.; Mario, M.C.; Garcia, D.V.; Abe, J.M.; Torres, C.R.; Ricciotti, V.B.D.; et al. Predictive Controller Based on Paraconsistent Annotated Logic for Synchronous Generator Excitation Control. Energies 2023, 16, 1934. https://doi.org/10.3390/en16041934

AMA Style

Da Silva Filho JI, de Oliveira RAB, Rodrigues MC, Côrtes HM, Rocco A, Mario MC, Garcia DV, Abe JM, Torres CR, Ricciotti VBD, et al. Predictive Controller Based on Paraconsistent Annotated Logic for Synchronous Generator Excitation Control. Energies. 2023; 16(4):1934. https://doi.org/10.3390/en16041934

Chicago/Turabian Style

Da Silva Filho, João Inácio, Raphael Adamelk Bispo de Oliveira, Marcos Carneiro Rodrigues, Hyghor Miranda Côrtes, Alexandre Rocco, Mauricio Conceição Mario, Dorotéa Vilanova Garcia, Jair Minoro Abe, Claudio Rodrigo Torres, Viviane B. Duarte Ricciotti, and et al. 2023. "Predictive Controller Based on Paraconsistent Annotated Logic for Synchronous Generator Excitation Control" Energies 16, no. 4: 1934. https://doi.org/10.3390/en16041934

APA Style

Da Silva Filho, J. I., de Oliveira, R. A. B., Rodrigues, M. C., Côrtes, H. M., Rocco, A., Mario, M. C., Garcia, D. V., Abe, J. M., Torres, C. R., Ricciotti, V. B. D., Ricciotti, A. C. D., de Carvalho, A., Jr., & Lambert-Torres, G. (2023). Predictive Controller Based on Paraconsistent Annotated Logic for Synchronous Generator Excitation Control. Energies, 16(4), 1934. https://doi.org/10.3390/en16041934

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop