Abstract
Quantization, sampling and delay may cause undesired oscillations in digitally controlled systems. These vibrations are often neglected or replaced by random noise (Widrow and Kollár in Quantization noise: roundoff error in digital computation, signal processing, control, and communications, Cambridge University Press, Cambridge, 2008); however, we have shown that digital effects may lead to small amplitude deterministic chaotic solutions—the so-called micro-chaos (Csernák and Stépán in Int J Bifurc Chaos 5(20):1365–1378, 2010). Although the amplitude of the micro-chaotic oscillations is small, multiple chaotic attractors can appear in the state space of the digitally controlled system—situated far away from the desired state—causing significant control error (Csernák and Stépán in Proceedings of the 19th mediterranean conference on control and automation, 2011). In this paper, we are interested in the analysis of a digitally controlled inverted pendulum with both input and output quantizers along with sampling. We show that this twofold quantization creates patterns in the state space corresponding to different control effort (force or torque) values for a simple PD control. We also highlight how these patterns lead to chaotic attractors or periodic cycles with superimposed chaotic oscillations.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
Nowadays, digitally controlled devices are becoming more and more popular, as the field of automation, smart devices, and the Internet of Things continuously grows.
The three main digital effects: sampling, quantization and processing delay are usually present in all kinds of digitally controlled devices [13, 18]. Because of high-performance applications are featuring fast CPUs, high resolution analog-to-digital (adc) and digital-to-analog converters (dac), these effects were often negligible—in the last years—thanks to the small sampling time, fast computation and high resolution of quantizers.
Currently, however, low- and medium-cost controllers (from Atmel\(^{\copyright }\) AVRs in Arduinos to ARM Cortex\(^{\copyright }\) ST microcontrollers) are becoming widespread in several applications, which usually use 8–12 bit adcs/dacs and communicate in larger and wider networks which often introduce noticeable lags. That is, the corresponding digital effects: sampling, quantization and delay are becoming more significant.
We have shown in our previous works [2, 4] that in case of rounding and sampling, digitally controlled systems can exhibit small amplitude chaotic oscillations—the so-called micro-chaos. Rounding partitions the state space into bands corresponding to different control effort values, and sampling adds irregularity to switching events. Trajectories are allowed to cross switching lines unnoticed for a random amount of time—until the next sampling occurs. It can happen that multiple chaotic attractors appear in the state space of these systems and—depending on the initial conditions—the system may arrive to an attractor far away from the desired state. Thus, the control errors becomes large. Usually, the size of the chaotic attractor is so small that the solution is practically stable [14]. Depending on the nature of the instability of the uncontrolled system, periodic orbits with superimposed chaotic oscillations can also appear [6, 7, 12].
Note that the explicit control of chaos itself is not our goal with the PD-control. However, an elegant feedback control approach was introduced in [17] and applied to a simple system in [1].
The single quantization cases—where either only the measured state or only the outgoing control effort is quantized—are well known [3, 5]. In some cases, when both quantizations are present, the less significant can be neglected, and one can return to a single quantization case.
Our current aim is to create a model for twofold quantization from which the single quantization cases can be inherited, and to discover the range of quantization resolutions for which the effect of the less important quantizer is negligible.
In this paper, the effects of twofold quantization are presented on an inverted pendulum with a simple PD-control. Two new types of bifurcations are also introduced: deadzone crisis (Sect. 3.3) and collision of switching lines (Sect. 4.1).
2 Digitally controlled inverted pendulum
Consider a single degree-of-freedom (DoF) inverted pendulum with digital control, i.e. the measured states and the output control torque are sampled and quantized. The processing delay is neglected and the controller realizes zero-order-hold, see Fig. 1. The measured angle \(\varphi \) and angular velocity \({\dot{\varphi }}\) are quantized according to input resolution \(r_{{\mathrm {I}}}\), and the calculated control effort M is quantized with output resolution \(r_{{\mathrm {O}}}\).
After linearization, the equation of motion of the inverted pendulum assumes the following form:
where \(\alpha \) is the reciprocal of the time constant characterizing the instability of the upper equilibrium position, \(\delta \) is the relative damping, P and D are control gains, \(\tau \) is the sampling period and Eq. (1) is valid between subsequent sampling instants.
Introducing the dimensionless time \(T=t/\tau \) and using the notation \(\square '={\mathrm d \square }/{\mathrm dT}\), Eq. (1) can be rewritten as
where
Taking input and output quantization into account, and temporarily returning to the original control parameters (P and D) introduced in Eq. (1), we arrive at the following:
In this paper, we use a mid-tread quantizer with double deadzone, that is \({\mathrm {Int}}(x)\) yields the integer part of x (see Fig. 2).
Note, that the resolution of the angular velocity \({\dot{\varphi }}_i\) is \(r_{{\mathrm {I}}}/\tau \). Thus, according to the definition of the dimensionless time T, one can write \({\dot{\varphi }}_i\,\tau /r_{{\mathrm {I}}} = \varphi '_i/r_{{\mathrm {I}}}\). This results in the same dimension in displacement and velocity with the same quantization resolutions, \(r_{{\mathrm {I}}}\) at the input and \(r_{{\mathrm {O}}}\) at the output.
In some cases, one of the quantizations is dominant over the other, and therefore, the quantization with higher resolution can be neglected, and one of the single quantization models can be used (where either the input or the output is quantized) [3]. However, our goal is to analyse the joint effect of twofold quantization and examine the transition between the twofold and single quantization cases. Doing so, we can also highlight those ranges, where neglecting the less influential quantizer is valid.
In order to reduce the number of resolution parameters, we re-scale the space coordinate with a properly chosen (see Sects. 2.1, 2.2) characteristic displacement X. Introducing the notations \(x=\varphi /X\), \(x'=\varphi '/X\) and \(x''=\varphi ''/X\), the equation of motion can be rewritten as
If we want to transform the output quantizer to a unit resolution one, \(X_{{\mathrm {O}}}=r_{{\mathrm {O}}}\,\tau ^2\) characteristic displacement should be used. Similarly, using \(X_{{\mathrm {I}}}=r_{{\mathrm {I}}}\) results in unit resolution input quantization.
2.1 Characteristic displacement for unit resolution output quantization
Using \(X_{{\mathrm {O}}}\), the equation of motion assumes the following form:
Introducing \(\rho _{{\mathrm {I}}}=r_{{\mathrm {I}}}/(r_{{\mathrm {O}}}\,\tau ^2)=r_{{\mathrm {I}}}/X_{{\mathrm {O}}}\) one can write:
where \({\hat{P}}\) and \({\hat{D}}\) can be recognized [see Eq. (3)] and it can be seen that \(\rho _{{\mathrm {I}}}\) acts as a resolution for the input quantization and the output quantizer has unit resolution:
2.2 Characteristic displacement for unit resolution input quantization
Using \(X_{{\mathrm {I}}}\) and \(\rho _{{\mathrm {O}}}=r_{{\mathrm {O}}}\,\tau ^2/r_{{\mathrm {I}}}=1/\rho _{{\mathrm {I}}}\), a similar derivation leads to:
Exploiting the definition of \({\hat{P}}\), \({\hat{D}}\) and \(\rho _{{\mathrm {O}}}\) we arrive at the following equation:
where the input quantizer has unit resolution and \(\rho _{{\mathrm {O}}}\) acts as a resolution for the output quantization.
In Equations (\(4_{{\mathrm {I}}}\)–\(4_{{\mathrm {O}}}\)), a single quantization ratio (\(\rho \)) characterizes the ratio of input and output quantization resolutions. For large \(\rho _{{\mathrm {I}}}\) or small \(\rho _{{\mathrm {O}}}\) values, the input quantization dominates, and the outer quantization can be practically neglected. Similarly, for large \(\rho _{{\mathrm {O}}}\) or small \(\rho _{{\mathrm {I}}}\) values, the output quantization is more significant. Lastly, when the characteristic displacements \(X_{{\mathrm {I}}}\) and \(X_{{\mathrm {O}}}\) are equal, \(\rho _{{\mathrm {O}}} = \rho _{{\mathrm {I}}} = 1\), therefore both quantizations have the same unit resolution.
It may seem that one could continue by choosing one of the characteristic displacements \(X_{{\mathrm {I}}}\) (and the corresponding resolution \(\rho =\rho _{{\mathrm {O}}}\)) or \(X_{{\mathrm {O}}}\) (with \(\rho = \rho _{{\mathrm {I}}}\)) and examine the \(\rho \rightarrow 0\) and \(\rho \rightarrow \infty \) limits to express the single quantization cases. However, neither of the two choices are perfect, as the upper limit of quantization is
consequently the control effort turns to zero in Equations (\(4_{{\mathrm {I}}}\)–\(4_{{\mathrm {O}}}\)); thus, this model does not reflect the physical properties of the single quantization controller.
Taking the lower limit, we obtain
which means that the twofold quantization turns to single quantization because the infinitely fine resolution quantizer yields the original signal itself (see Fig. 3).
Consequently, it can be firmly stated that none of the single-parameter twofold quantization equations (\(4_{{\mathrm {I}}}\)) or (\(4_{{\mathrm {O}}}\)) can be solely used to analyse the transition to both single quantization cases.
Therefore, we use Eq. (\(4_{{\mathrm {I}}}\)) to examine the transition from twofold quantization to single quantization at the output (\(\rho _{{\mathrm {I}}} \rightarrow 0\)), and similarly Eq. (\(4_{{\mathrm {O}}}\)) to inspect the transition to the single quantization at the input (as \(\rho _{{\mathrm {O}}} \rightarrow 0\)):
It is worth noting that one can trivially switch between (\(4_{{\mathrm {I}}}\)) and (\(4_{{\mathrm {O}}}\)) at \(\rho _{{\mathrm {I}}} = \rho _{{\mathrm {O}}} = 1\) or also can use one of the representations to examine the effect of rather large values of \(\rho \), without switching to the other representation.
3 Numerical analysis of the micro-chaos map
3.1 Micro-chaos map
Equations (\(4_{{\mathrm {I}}}\)–\(4_{{\mathrm {O}}}\)) characterize the behaviour of the inverted pendulum with sampling, PD-control and quantization at both input and output. Rewriting it as a system of first-order differential equations, one can formulate its solution as:
where \({\mathbf {y}}=[x(T)\quad x'(T)]^T\), \({\varGamma }=\sqrt{1+\delta ^2}\), F is the control effort,
and
Substituting \(T=1\), the so-called micro-chaos map [10] is obtained, which is valid at sampling instants:
Here \(F_i\) is the control effort between the dimensionless sampling instants \(T = i\) and \(T=i+1\).
Note, that the Lyapunov exponents of the micro-chaos map are known analytically, as they are the eigenvalues of \({\mathbf {U}}(1)\):
As \({\varGamma } > \delta \), the Lyapunov exponents are always real numbers with opposite signs.
It is clear that the quantization causes the control effort \(F_i\) to be a piecewise constant function over the state space, which consists of domains, each corresponding to a specific \(F_i\) value. When the output quantization is dominant, \(F_i = {\mathrm {Int}}\left( \hat{P}\,x_{i}+\hat{D}\,x'_{i}\right) \). Thus, the aforementioned domains are parallel bands separated by parallel switching lines that can be given as
For the input quantization case, however, these domains are rectangular areas since \(F_i = \hat{P}\,{\mathrm {Int}}(x_{i})+\hat{D}\,{\mathrm {Int}}(x'_{i})\). Consequently, the quantization results in a grid of horizontal and vertical switching lines (see Figs. 5 and 6).
Based on former research [3, 8], in the case of single quantization at the output, multiple chaotic attractors can be found in the state space, at the intersections of switching lines and the x-axis, as it is illustrated in Fig. 4. Depending on system and control parameters, attractors may appear or disappear due to border collision bifurcation, or some of them may become repellers, and form one or more bigger attractors, by pushing the trajectory towards each other [2].
In case of input quantization, our general observation is that a periodic orbit (with superimposed chaotic oscillations) appears around the internal structure of repellers. Depending on the parameters, one or more chaotic attractors spanning over multiple control effort bands can be found, see Fig. 5.
3.2 Cell mapping results
In order to explore the effect of varying the quantization ratio and examine the transitions from twofold to single quantization cases, Cell Mapping Methods [11] were utilized. Simple Cell Mapping (SCM) is suitable to obtain a global picture of a certain state space region, i.e. to find periodic orbits, fixed points and their domains of attraction. Chaotic attractors are usually covered by one or more high-period cell groups [11].
Utilizing Clustered Simple Cell Mapping [9], it is possible to automatically extend the analysed state space region and also execute cell mapping in a parallel computing environment.
Our primary goal is to express the control error; therefore, we extract the location (centre of mass; \(x_{{\mathrm {attr}}}\), \(y_{{\mathrm {attr}}}\)) and size (\(S_x,S_y\)) of chaotic attractors (see Fig. 7). In the output quantization case, the attractors reside on the x-axis (\(y_{{\mathrm {attr}}}=0\)). Since the desired control state is the origin, any solution arriving to a specific attractor will yield a mean control error of \(x_{{\mathrm {attr}}}\).
We have generated a series of SCM solutions by sweeping the parameter \(\rho _{{\mathrm {I}}}\) for some fixed \(\alpha , \beta , \hat{P}\) and \(\hat{D}\) values. Figure 8 shows the transition from \(\rho _{{\mathrm {I}}}=0\) to \(\rho _{{\mathrm {I}}}=16\) at \(\hat{P}=0.007, \hat{D}=0.02, \alpha = 0.074\) and \(\delta = 0\), which correspond to the parameters of a realistic experimental device. Here the output quantization case has eight separated chaotic attractors (four-four on both sides, see Fig. 9top) and as the quantization ratio increases, these attractors eventually become repellers. At \(\rho _{{\mathrm {I}}}=1.28\) (see Fig. 9bottom), the outermost attractors disappear resulting in a more favourable state space configuration in terms of control error.
We trace back the aforementioned results to two phenomena: as it can be seen in Fig. 7, the switching lines become jagged, and consequently regions appear in the state space corresponding to only-P and only-D control (so-called input deadzones, see Fig. 6), due to the quantization of measured values. In the next section, we examine the effect of these new deadzones.
3.3 Deadzone crisis
For output quantization, the deadzone of the output quantizer creates an unstable band between switching lines \({\textsc {sw}}_{-1}\) and \({\textsc {sw}}_{1}\) (see Figs. 4 and 6). On the other hand, in case of input quantization the two deadzones (corresponding to the measured values’ quantizers) around the x and \(x'\) axes will cause the PD-control to work as only-P control for small velocities and only-D control for small displacements (see Fig. 6).
In the case of twofold quantization, during the variation of the quantization ratio, the borders of the output deadzone (uncontrolled region between the \({\textsc {sw}}_{\pm 1}\) switching lines, where the control effort is \(F=0\)) and input deadzones (deadzones around x and \(x'\) axes, where either part of the PD-control is offline) move, thus state space objects (e.g. attractors or periodic orbits) can disappear or qualitatively change. This is called deadzone crisis.
To illustrate a possible scenario, consider Fig. 10. As the quantization ratio \(\rho _{{\mathrm {I}}}\) increases, the steps on the switching lines grow. At the intersection of the x-axis and the switching line, the switching line becomes locally vertical in the range of the input quantizer’s deadzone and the attractor adapts to this by expanding proportionally. At a certain point—as the switching line gets close to the stable manifold of the nearby saddle point—a deadzone crisis happens, and the solution will be able to escape from the chaotic attractor, leaving a transient chaotic repeller behind.
During the transition from the output quantization to twofold quantization, a series of deadzone crises occur and eventually all chaotic attractors turn to repellers. The interactions of the repellers lead to a newly formed recurring orbit with superimposed chaotic oscillations (see Sect. 3.2 and Fig. 8).
Based on these results, it is obvious that the non-smooth, stair-like shape of the switching lines play an important role in manipulating state space objects by opening up escape possibilities from the previously closed domains of chaotic attractors.
To gain a deeper insight in this phenomenon, the following section examines the topology of switching lines.
4 Analysis of switching lines
4.1 Switching line collision
For the single quantization cases, the switching lines corresponding to different efforts of the PD-control are simple to express: parallel lines ( \(\hat{P}\,x+\hat{D}\,x'=m, m \in {\mathbb {Z}}\)) for the output quantization, and a grid of lines (\(x=i\,\rho _{{\mathrm {I}}},\)\(x'=j\,\rho _{{\mathrm {I}}},\)\(i,j \in {\mathbb {Z}}\)) for the input quantization. In the twofold quantization case, however, their explicit expression is not straightforward.
For this section of the paper, we use Eq. (\(4_{{\mathrm {I}}}\)) and \(\rho _{{\mathrm {I}}}\). Starting with the implicit equation of the control effort:
The domain of control effort band \(F_i = m\) is bounded by two switching lines: \({\textsc {sw}}_{{\mathrm {m}}}\) and \({\textsc {sw}}_{\mathrm {m+1}}\), see Fig. 4. The equation of the lower bounding switching line is
while the upper bounding switching line can be expressed implicitly as
Expressing the quantized velocity (\(\rho _{{\mathrm {I}}}\,{\mathrm {Int}}(x'/\rho _{{\mathrm {I}}})\)) from Eq. (11):
and applying the conjugated version (\({\mathrm {Int}}^*\)) of the rounding function used in quantizers, i.e. rounding towards infinity without deadzone (see Fig. 11), yields the explicit formula of the switching lines:
One can similarly derive the inverse expression:
As the quantization ratio increases further, the stairs on the switching lines become larger, and at some point, the jagged switching lines will touch each other (see Fig. 12). This event—which will be referred to as Switching Line Collision (slc)—changes the topology of control effort bands in the state space, regardless of the dynamics of the system under control as the switching lines depend only on the control strategy.
When switching line collision occurs, trajectories gain the ability to bypass certain control bands by passing through a switching line intersection point. In the case of PD-control—if there is no switching line collision—bands corresponding to the same control effort are connected domains. However, if the switching lines \({\textsc {sw}}_{{\mathrm {m}}}\) and \({\textsc {sw}}_{\mathrm {m+1}}\) collide, the band \(F_i = m\) becomes disconnected (see Fig. 12).
Observing the collision of \({\textsc {sw}}_m\) and \({\textsc {sw}}_{m+1}\) at \(x=i\,\rho _{{\mathrm {I}}}\), \(x'=j\,\rho _{{\mathrm {I}}}\), one can write the following condition:
Here the left and right hand sides correspond to switching lines \({\textsc {sw}}_m\) and \({\textsc {sw}}_{m+1}\), respectively (see Eq. (11–12)), both sides equal to \(x' = j\,\rho _{{\mathrm {I}}}\) and \(\{i,j,m\} \in {\mathbb {Z}}\).
Since the quantization \({\mathrm {Int}}(i)\) has a discontinuity (see Fig. 14), we analyse a small neighbourhood \(\varepsilon \) around \(x=i\,\rho _{{\mathrm {I}}}\) and express the collision between the upper corner of the lower switching line (\({\textsc {sw}}_m\)) and the lower corner of the upper switching line (\({\textsc {sw}}_{m+1}\)).
Expressing the limits, we can substitute \(\lim _{\,\varepsilon \rightarrow 0}{\mathrm {Int}}(i-\varepsilon )=i-1\) for \({\textsc {sw}}_m\) and use \(\lim _{\,\varepsilon \rightarrow 0}{\mathrm {Int}}(i+\varepsilon )=i\) for \({\textsc {sw}}_{m+1}\), resulting in the following equation:
Resolving the quantization to infinity (\({\mathrm {Int}}^*\)) in Eq. (15), the following inequalities can be written:
The inequalities in Eq. (16) can be reformulated as
For a given m and i, Eq. (17–18) can be solved for \(j \in {\mathbb {Z}}\) to find switching line collisions between \({\textsc {sw}}_m\) and \({\textsc {sw}}_{m+1}\) at \([x,x']=\rho _{{\mathrm {I}}}\,[i,j]\).
These kind of slcs will be referred to as first-order switching line collisions (while in general, the \(k{{\mathrm {th}}}\) order slc means the collision of \({\textsc {sw}}_m\) and \({\textsc {sw}}_{m+k}\)).
It can be observed that there is a lowest quantization ratio for first-order switching line collisions to appear at a certain value of i in the state space:
When \(\rho _{{\mathrm {I}}} \ge \rho _{{\mathrm {I}}}^{L,i}\), first-order slcs are present in the state space and by increasing \(\rho _{{\mathrm {I}}}\), they become more and more frequent (see Fig. 13). Equation (17) reveals the value of the critical quantization ratio for which there is a solution for every i:
When \(\rho _{{\mathrm {I}}} = \rho _{{\mathrm {I}}}^{1,i}\), every switching line collides with its neighbour at coordinates \(x = i\,\rho _{{\mathrm {I}}}\), for all i. To prove this statement, one can substitute \(\rho _{{\mathrm {I}}}^{1,i}\) into Eq. (17), and the four inequalities are reduced to two relations:
This result shows that there is a solution \(j\in {\mathbb {Z}}\) for every \(\{i,m\}\in {\mathbb {Z}}\):
Note, that it does not imply that collision occurs for every \(x' = j\,\rho _{{\mathrm {I}}}\), too (see Fig. 13centre panel).
It follows from (18) that one can introduce the highest quantization ratio corresponding to the disappearance of first-order switching line collisions:
When \(\rho _{{\mathrm {I}}} > \rho _{{\mathrm {I}}}^{H,i}\), first-order switching line collisions no longer present, because higher-order collisions take their place.
Expressing the condition for the collision of \({\textsc {sw}}_m\) and \({\textsc {sw}}_{m+1}\) for i (instead of j, similarly to Eq. (15)), one can write:
which yields the following inequalities:
Here another critical quantization ratio is revealed for which Eqs. (25–26) have a solution for every j (but not necessarily for every \(x = i\,\rho _{{\mathrm {I}}}\)):
Combining Eqs. (20) and (27), one can express a combined critical quantization ratio:
If \(\rho _{{\mathrm {I}}} \ge \rho _{{\mathrm {I}}}^{1}\), switching line collisions occur for all i and j.
Expressing higher-order switching line collisions in a similar fashion, one can arrive at the formulae of k-th order critical quantization ratios for the collision of \({\textsc {sw}}_m\) and \({\textsc {sw}}_{m+k}\) at \(\forall \,i \in {\mathbb {Z}}\) and \(\forall \,j \in {\mathbb {Z}}\), respectively:
It is important to note that due to the double deadzone of the mid-tread quantizer (see Fig. 2), switching line collisions of \({\textsc {sw}}_{-1}\) and \({\textsc {sw}}_{+1}\) are \(2{{\mathrm {nd}}}\) order ones.
Here we considered only the case of positive \(\hat{P}\) and \(\hat{D}\), but a similar analysis can be carried out for negative control parameters, as well.
In the following sections, we show how the transition between the twofold and single quantization cases affects the switching lines.
4.2 Transition from twofold quantization to output quantization
It is clear—based on Sect. 4, and Eq. (13)—that refining the input quantizer (\(\rho _{{\mathrm {I}}} \rightarrow 0\)) means smaller steps on the jagged switching lines, and eventually the transition to output quantization leads to a set of parallel lines.
One can imagine this kind of transition by looking at Fig. 12. The transition from twofold quantization to input quantization, however, is not this trivial.
4.3 Transition from twofold quantization to input quantization
Switching lines corresponding to input quantizations form a regular grid of horizontal (Int(y)) and vertical (Int(x)) lines (see Fig. 6right). The square shaped domains (or rectangle shaped domains around the axes) between switching lines correspond to integer value linear combination of the control parameters, e.g. \(F=i\,\hat{P}+j\,\hat{D}\) control effort at \({\mathrm {Int}}(x)=i,\,{\mathrm {Int}}(x')=j\).
If we would like to achieve the same structure of switching lines in the twofold quantization case, the following conditions must be satisfied:
-
Condition 1 switching lines must partition the state space into square shaped domains, i.e. for every \(x'\) value, crossing \(x=i,\,(i\in {\mathbb {Z}})\) values must result in a switch in the control effort value. Similarly, for every x value, crossing \(x'=j,\,(j\in {\mathbb {Z}})\) must also result in a switch.
-
Condition 2 for each domain between the switching lines, the control effort value should be the same as in the case of input quantization.
Condition 1 can be satisfied by using \(\rho _{{\mathrm {O}}} \le \rho _{{\mathrm {O}}}^{1}\) (where \(\rho _{{\mathrm {O}}}^{1} = 1/\rho _{{\mathrm {I}}}^{1}={\mathrm {min}}(\hat{P},\hat{D})\)), which corresponds to \(\rho _{{\mathrm {I}}} \ge {\mathrm {max}}(1/\hat{P},1/\hat{D})\) (see Eq. (28)), because in this case, for all \(i,j \in {\mathbb {Z}}\)—at least first order—switching line collision takes place.
It can be seen, that once Condition 1 is satisfied (and the structure of the state space matches the input quantization case), the control effort value of twofold quantization will be within an error of \(\rho _{{\mathrm {O}}}\) to the control effort value of the input quantization case [see Eq. (8)]. It follows therefore, that \(\rho _{{\mathrm {O}}}\rightarrow 0\) will satisfy Condition 2.
5 Conclusion
We have shown that twofold quantization in digital control can be characterized by the quantization ratio, corresponding to the ratio of input and output quantizers’ resolution. We have presented that twofold quantization can be reduced to a single quantization case (input or output quantization) if an appropriate quantization ratio \(\rho \) is used and its limit \(\rho \rightarrow 0\) is analysed.
The micro-chaos map corresponding to a digitally controlled inverted pendulum was presented and the Clustered Simple Cell Mapping method was used to analyse the effect of varying the quantization ratio. Numerical results revealed, that the chaotic attractors disappear or merge due to the change of the switching lines and deadzones corresponding to input quantization.
We have presented, that deadzone crisis occurs, when the innermost stair on the switching line—governed by the input quantization deadzone—grows large enough to collide with other state space objects. Analysing an example transition from output to twofold and finally input quantization, we have highlighted that a series of deadzone crises happen and separated chaotic attractors merge into a single recurring orbit.
Another interesting effect, the switching line collision was also introduced, which can induce qualitative changes in the state space of continuous flows. Since the solutions of maps are allowed to “jump” in the phase-space, the effects of slc are less pronounced in the case of maps. This is the reason why no slc-related sudden bifurcations were detected during the analysis of the micro-chaos map.
From practical point of view, it is possible to improve the properties of the control for a given application, by carrying out an analysis of the quantization ratio and selecting a favourable range as illustrated in Sect. 3.2. Doing so, one can also find out how to improve a certain controlled system, i.e. which quantizer should be replaced by a higher-resolution one. In some cases one can even arrive to an unnatural conclusion, that using lower-resolution output quantizer or larger sampling time will actually result in lower control error. Similar results were found in [15, 16], where the quantization improved the stability properties of the controlled system.
References
Avanço, R.H., Tusset, A.M., Balthazar, J.M., Nabarrete, A., Navarro, H.A.: On nonlinear dynamics behavior of an electro-mechanical pendulum excited by a nonideal motor and a chaos control taking into account parametric errors. J. Braz. Soc. Mech. Sci. Eng. 40(1), 23 (2018)
Csernák, G., Gyebrószki, G., Stépán, G.: Multi-baker map as a model of digital PD control. Int. J. Bifurc. Chaos 26(2), 1650023 (2016)
Csernák, G., Stépán, G.: Digital control as source of chaotic behavior. Int. J. Bifurc. Chaos 5(20), 1365–1378 (2010)
Csernák, G., Stépán, G.: Sampling and round-off, as sources of chaos in PD-controlled systems. In: Proceedings of the 19th Mediterranean Conference on Control and Automation (2011)
Delchamps, F.D.: Stabilizing a linear system with quantized state feedback. IEEE Trans. Autom. Control 35, 916–924 (1990)
Domokos, G., Szász, D.: Ulam’s scheme revisited: digital modeling of chaotic attractors via micro-perturbations. Discrete Contin. Dyn. Syst. Ser. A 9(4), 859–876 (2003)
Garay, B., Csikja, R., Tóth, J.: Some chaotic properties of the beta-hysteresis transformation. In: Proceedings of International Symposium on Nonlinear Theory and its Applications, Budapest, Hungary 108(1), pp. 191–194 (2008)
Gyebrószki, G., Csernák, G.: Methods for the quick analysis of micro-chaos. In: Awrejcewicz, J. (ed.) Applied Non-Linear Dynamical Systems, Chapter 28, pp. 383–395. Springer, Berlin (2014)
Gyebrószki, G., Csernák, G.: Clustered simple cell mapping: an extension to the simple cell mapping method. Commun. Nonlinear Sci. Numer. Simul. 42, 607–622 (2017)
Haller, G., Stépán, G.: Micro-chaos in digital control. J. Nonlinear Sci. 6, 415–448 (1996)
Hsu, C.: Cell-to-Cell Mapping: A Method of Global Analysis for Nonlinear Systems, Applied Mathematical Sciences, vol. 64. Springer, Singapore (1987)
Insperger, T., Milton, J.: Sensory uncertainty and stick balancing at the fingertip. Biol. Cybern. 108(1), 85–101 (2014)
Kuo, B.C.: Digital Control Systems. SRL Publishing, Champaign (1977)
Lakshmikantham, V., Leela, S., Martynyuk, A.A.: Practical Stability of Nonlinear Systems. World Scientific, Singapore (1990)
Milton, J., Insperger, T., Cook, W., Harris, D., Stepan, G.: Microchaos in human postural balance: sensory dead zones and sampled time-delayed feedback. Phys. Rev. E 98(2), 022223 (2018)
Stepan, G., Milton, J., Insperger, T.: Quantization improves stabilization of dynamical systems with delayed feedback. Chaos 27, 114306 (2017)
Tereshko, V., Chacón, R., Preciado, V.: Controlling chaotic oscillators by altering their energy. Phys. Lett. A 320(5), 408–416 (2004)
Widrow, B., Kollár, I.: Quantization Noise: Roundoff Error in Digital Computation, Signal Processing, Control, and Communications. Cambridge University Press, Cambridge (2008)
Acknowledgements
Open access funding provided by Budapest University of Technology and Economics (BME). This research was supported by the Hungarian National Science Foundation under Grant No. NKFI-128422. The research reported in this paper was supported by the Higher Education Excellence Program of the Ministry of Human Capacities in the frame of Artificial intelligence research area of Budapest University of Technology and Economics (BME FIKP-MI).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Gyebrószki, G., Csernák, G. Twofold quantization in digital control: deadzone crisis and switching line collision. Nonlinear Dyn 98, 1365–1378 (2019). https://doi.org/10.1007/s11071-019-05268-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11071-019-05268-z