1 Introduction

Fractional calculus is a branch of mathematics related to the differentiation and integration of orders that are non-integer in nature. The branch has gained popularity in various fields and is being used in multiple interdisciplinary and applied fields [20] including bio-instrumentation [46, 58], control systems [11, 21], signal processing [6, 7, 56], circuits [51, 54, 61], and agriculture and modelling [33, 39, 63]. The fractional-order circuits offer the advantage of having greater degrees of freedom based on their parameters as compared to the integer order [60]. They also offer the advantage of exploiting the intermediate range of attenuation which helps to process the dynamic nature of real-world applications. A lot of research works have been followed to realize the fractional elements physically [5, 10, 13, 19, 40]. Though there are FOEs present as supercapacitors, electrolytic capacitor, etc. [47], the open literature related to circuit-based realizations suggests that compact integrated circuits for FOE are still unavailable. Therefore, various approximation techniques like continued fraction expansion (CFE) and rational approximation (RA) [49] are used for the realization of fractional circuits from integer-order circuits using passive RC tree networks [69]. The general fractance device or the constant phase element (CPE) has been used to realize different electrical and electronic circuits, especially the fractional-order filters (FOFs) and their analogue counterpart [4, 27, 53]. These analogue circuits can be designed using basic building blocks such as operational amplifiers (Op-Amps), current conveyers (CCs), and operational transconductance amplifiers (OTAs).

The fractional-order calculus is based on two general approaches of defining the derivatives of fractional orders: (1) Riemann–Liouville (RL) and (2) Caputo [49]. These techniques define the \(\alpha ^{th}\)-order differentiation and integration of a function. Realization of these techniques is based on fractional-order elements. In the circuit theory, a fractional-order element is defined as an element with impedance Z(s) proportional to \(s^\alpha \), where \(\alpha \) is the fractional order and \(\kappa \) is a constant [30, 36] and is defined as

$$\begin{aligned} Z(s)=\kappa s^\alpha \end{aligned}$$
(1)

One of the most common applications of fractional-order arithmetic in electrical and electronic circuits to design FOFs which explore the intermediate range of attenuation and are used in signal processing. The filters are designed utilizing either fractional-order elements [30] or their equivalent ladder network defined by mathematical approximations like CFE and RA [12, 66].

Chebyshev filters are one such filters that find applications in signal processing and biomedical instrumentation. They are popular for separating different groups of frequencies and are widely used in the filtering of biomedical signals like ECG [14, 32, 57] and speech signal processing. Chebyshev filters offer higher speed and faster roll-off [61] compared to other filters. The faster roll-off is attained by allowing ripples in either passband or stopband. These filters derive their name from Chebyshev polynomials given by P.L. Chebyshev. The polynomial defines the filter characteristics and is used as a design parameter. The filters are distinguished as type 1 and type 2 filters depending on if the ripples exist in the passband or stopband, respectively. The proposed work deals with the design of a fractional-order type 1 Chebyshev filter. The magnitude response for a normalized type 1 Chebyshev filter [61] is defined as

$$\begin{aligned} |H_{n}(j\omega )|^2=\frac{1}{1+\epsilon ^{2}C_{n}^{2}(\omega )} \end{aligned}$$
(2)

where \(C_n\) is Chebyshev polynomial of order n dependent on the frequency \(\omega \) (rad/s) and \(\epsilon \) is defined in terms of prescribed passband attenuation as \(\epsilon =\sqrt{10^{\alpha _{\max }/10}-1}\). \(\alpha _{\max }\) is the maximum attenuation of passband and is considered as 3 dB in this work, producing the value of \(\epsilon =0.996\). The magnitude response of type 1 Chebyshev filter given by (2) is presented in Fig. 1.

Fig. 1
figure 1

Magnitude response of Chebyshev low-pass filter

The design of Chebyshev filters can be extended in the fractional domain as well. Most of the fractional-order Chebyshev filters design methods reported in the literature depend upon approximating the desired fractional-order filters with next higher integer-order filter. This design methodology fails to produce an optimum magnitude response as compared to the ideal Chebyshev filter response. The motivation behind this work is to design a simple, reliable, and efficient fractional-order low-pass Chebyshev filter (FOLCF) such that the magnitude response obtained closely approximates the behaviour of an ideal FOLCF. The proposed method uses nonlinear optimization to compare a continuous-time rational polynomial with the magnitude response of the desired filter over a multidimensional, multimodal, non-uniform search space. In this method, the ideal magnitude response of a type 1 Chebyshev filter of fractional-order has been approximated as a transfer function of integer order. The optimization is performed by using metaheuristic evolutionary algorithms [45]. Section 2 discusses the fractional-order filters and the literature related to the design and applications. The proposed design and methodology are introduced in Sect. 3 along with the design equations. Different metaheuristic algorithms utilized to design the filter are discussed as well. In the Results section, the optimized filters are presented as a graphical comparison between the magnitude of the integer-order filters and derived fractional-order filters. Further, in this section, the results obtained from different metaheuristic optimization algorithms such as particle swarm optimization, firefly algorithm, and real genetic algorithm are compared based on the errors of stopband and passband and the computation time involved. The obtained filters are also compared with different designs available in the literature to display the superiority of the proposed design. The higher-order FOLCF designs are proposed and compared with the existing literature. The SPICE implementation of the optimized filter is carried out using operational amplifiers and operational transconductance amplifier (OTA), and a comparison of the transfer characteristics of the realized filter with the ideal filters has been made in the Simulation section followed by the conclusion of the work.

2 Fractional-Order Filters

Fractional-order filters offer a great advantage over integer-order filters and are widely used for signal processing, control systems, biomedical instrumentation, etc. [8, 9, 22, 29, 34, 42, 62, 65]. These filters offer the possibility of continuous variation in the rate of attenuation in the transition band. Therefore, extensive research is being done in the field of fractional-order filter design. However, due to the unavailability of fractance elements commercially as IC components, most fractional-order filters are designed by using RC/RLC ladder networks and second-order continued fraction expansion (CFE) of \(s^\alpha \) proposed by Freeborn et al. in [26]. The authors in [52, 55] used fractional-order capacitors to design fractional-order filters. These circuits were only stable for \((n+\alpha )<2\) and also had issue of inherent peaking [44]. Approximation of \(s^\alpha \) in terms of integer-order filter has been explored to design fractional-order bandpass filters [23, 44, 50].

Conventionally, the least square approximation has been used extensively to obtain equivalent counterparts of Butterworth, Chebyshev, inverse Chebyshev, and elliptical filters [2, 24, 25, 27, 37, 38, 41] in fractional domain. It helps in designing an equivalent transfer function that closely follows the response of ideal fractional-order filter by the method of curve fitting. Different techniques have been explored for the approximations of fractional-order low-pass Chebyshev filters in [23, 26, 42, 44, 52, 53, 55]. In [2], a fractional-order complex Chebyshev filter has been designed by exploring the fractional-order differentiation of the Chebyshev polynomial. The polynomial is solved using fractional Taylor series. The obtained solutions are realized using CFOA, and the Valsa CPE technique is used to approximate the fractional-order elements. In [27] and [17], the least square method and particle swarm optimization have been used, respectively, to obtain the fractional-order filters of orders \(1+\alpha , 2+\alpha \text { and } 3+\alpha \), where the transfer functions of the respective filters are produced by expanding the \(s^\alpha \) as second-order continuous fraction. The filters of orders 1.2, 1.5, and 1.8 are realized using Tow-Thomas biquad topology with LT1037 Op-Amp in [27], and the CPE is realized as a Foster- 1 ladder network using fourth-order CFE. The realization is feasible till 20kHz range due to constraints of the approximation. In [17], the filters of orders 1.2, 1.5, and 1.8 are realized by using OTA-based Tow-Thomas biquad topology. The CPE is expanded as the fifth-order CFE as Foster-1 ladder network leading to tunable FOLCF. In [64], approximation of the \(1+\alpha \) order FOLCF has been done by using different optimization algorithms like simulated annealing (SA), nonlinear search (NLS), and interior search algorithms (ISA). The filters use two CPEs of different orders for the design of desired filters. The filters are further realized using Tow-Thomas biquad topology, and both the CPEs are approximated as ladder network using fourth-order CFE. In [67], digitally programmed Chebyshev fractional-order filters of orders 1.2, 1.5, and 1.8 are designed using the nonlinear least square curve fit method. The filters are realized by using follow-the-leader topology where current mirrors are utilized as current division network. The value of \(s^\alpha \) is expanded as second-order CFE for the design. A general method of designing FOCLF using s-plane poles has been presented in [3] where the Chebyshev polynomial is solved to design a particular filter based on the order of the filter. The realization of the CPE is done as semi-infinite ladder networks in case the \(\alpha <1\) and as general impedance converter (GIC) in case \(\alpha >1\), while in [1] filters behaving like Chebyshev low-pass filters have been designed using the integer-order poles and the effect of change of order on poles has been studied as well. The realization is done using passive filters and Sallen–Key filters. The papers [2, 17, 27, 64, 67] are designed for 3 dB ripple in the passband and use second-order CFE. A comparison of these design techniques is made in Table 1 with the proposed work. To the best of the authors’ knowledge, the work done till date for designing FOLCF majorly depends on comparing second-order CFE-approximated fractional-order transfer functions with integer-order transfer functions. The second-order CFE [66] is given as

$$\begin{aligned} s^\alpha \cong \frac{(\alpha ^2+3\alpha +2)s^2+(8-2\alpha ^2)s+(\alpha ^2-3\alpha +2)}{(\alpha ^2-3\alpha +2)s^2+(8-2\alpha ^2)s+(\alpha ^2+3\alpha +2)} \end{aligned}$$
(3)
Table 1 Comparison of the literature with the proposed work

This approximation methodology, however, fails to produce optimal results and leads to large mean square errors. To prove this fact, in Fig. 2 the comparisons are made between ideal responses of phase and magnitude of \(s^{0.5}\) and the second-order CFE-approximated responses. The magnitude and phase responses of both are compared using MATLAB 2019b software. It is observed that approximated curve closely follows the ideal response at frequencies close to 1 rad/s. However, as the frequency range increases the responses become incongruous. This proves that the approximation method used earlier to derive the circuits lacks the precision of magnitude.

Fig. 2
figure 2

Comparison of ideal and second-order continuous fractional expansion approximation of \(s^{0.5}\)

3 Proposed Work

Earlier works have majorly consisted of comparing the approximated fractional-order functions for filters with the higher integer-order transfer functions. As shown in Fig. 2, the error between the approximated and the ideal response of \(s^{0.5}\) does not lead to optimum results. Work reported in [17, 27] used the \((1+\alpha )\)-order transfer function and compared it with the second order transfer function of the filter to obtain the values of coefficients of the desired filters. However, it has been observed that these do not produce the optimal results for magnitude response. The comparisons and approximations leave a significant error in the results. This work presents a technique that reduces this error by deriving the design equations of the rational form of \((1+\alpha )\)-order filter, by comparing its magnitude with the magnitude of the ideal \((1+\alpha )\)-order filter itself. Further, it uses evolutionary algorithms to optimize the transfer function of realized FOLCF of \((1+\alpha )\) order. In this work, three different nature-inspired evolutionary metaheuristic optimization algorithms: particle swarm optimization (PSO), firefly algorithm (FA), and real genetic algorithm (RGA) have been used for designing the FOLCF. The designs produced by each algorithm are compared based on various key parameters like the deviation from the response of ideal \((1+\alpha )\) fractional-order LPF, stopband and passband errors in the magnitude response. The robustness, speed, and accuracy of the algorithms have been compared further. These results predict that the transfer functions of FOLCF derived using the PSO algorithm are the most reliable, efficient, and optimal. A comparison is also drawn between the proposed work and earlier designs of FOLCF through calculations of magnitude errors. Implementation of the designed filter circuits of orders 1.5 and 1.7 based on Op-Amp 741 and OTA has been carried out using LTspiceXVII. Moreover, the magnitude responses observed are compared with the ideal filter responses.

3.1 Cost Function

The transfer function of any integer-order continuous time filter of order N can be given as a rational polynomial function of s as

$$\begin{aligned} H_{I}(s)=\frac{\sum _{i=0}^{M}f_{i}s^{M-i}}{\sum _{j=0}^{N}g_{j}s^{N-j}} \end{aligned}$$
(4)

where \(H_{I}(s)\) is the rational polynomial transfer function and \(f_{i}\) and \(g_j\) are the coefficients of the numerator and denominator polynomials, respectively, and \((i=0,1,2\dots M, j=0,1,2\dots N)\). The transfer function of a normalized Chebyshev modelled low-pass filter of order n is defined by (2). The values of \(C_n\) for different integer-order filters are defined as [61]:

$$\begin{aligned} C_{0}(\omega )&=1\nonumber \\ C_{1}(\omega )&=\omega \nonumber \\ C_{2}(\omega )&=2\omega ^{2}-1 \nonumber \\ C_{3}(\omega )&=4\omega ^{3}-3\omega \nonumber \\ C_{n}(\omega )&=2\omega C_{n-1}(\omega )- C_{n-2}(\omega ) \end{aligned}$$
(5)

Here, \(C_{n}\) is Chebyshev polynomial of order n which is also defined as a sinusoidal function given as

$$\begin{aligned} C_{n}(\omega )&= \cos (n\cos ^{-1}\omega )&;\omega <1\nonumber \\ C_{n}(\omega )&= \cosh (n\cosh ^{-1}\omega )&;\omega \ge 1 \end{aligned}$$
(6)

For \(\omega \ge 1\), \(\cosh \) is used in place of \(\cos \), else the value of \(C_{n}\) in (6) will be undefined for \(\omega >1\). The series expansion of (6) produces the defined values of \(C_{n}\) for integer-order filters as shown in (5). To obtain the transfer characteristic of a \((n+\alpha )\)-order FOLCF, (6) can be transformed and Chebyshev polynomial \(C_{n+\alpha }\) can be given as [31]:

$$\begin{aligned} C_{n+\alpha }(\omega )&= \cos ((n+\alpha )\cos ^{-1}\omega )&;\omega <1\nonumber \\ C_{n+\alpha }(\omega )&= \cosh ((n+\alpha )\cosh ^{-1}\omega )&;\omega \ge 1 \end{aligned}$$
(7)

Using (2) and (7), magnitude response for a normalized FOLCF \(H_{C}^{n+\alpha }(s)\) can be defined as

$$\begin{aligned} |H_{C}^{n+\alpha }(s)|=\frac{1}{\sqrt{1+\epsilon ^{2}C_{n+\alpha }^{2}(\omega )}} \end{aligned}$$
(8)

To derive the optimal values of \(f_i\) and \(g_j\) given by (4) such that the rational polynomial function mimics the response of the fractional-order filter, the cost function for the algorithms is defined in terms of a least square error (LSE) by comparing (8) with (4) and is given as

$$\begin{aligned} \textrm{LSE} = \sum _{i=1}^{M}{||H_{C}^{n+\alpha }(\omega _i)|- |H_{I}(\omega _i)||^2} \end{aligned}$$
(9)

where \(\omega \)(rad/s) varies from 0.01 to 10 and is sampled over \(M=10{,}000\) in this work. The response over this frequency range is examined to study the behaviour of both passband and stopband effectively. In this work, to design \((1+\alpha )\)-order FOLCF, a polynomial function of order \(N=3\) is chosen to match the response of fractional-order of \(1+\alpha \). The higher the order N, the more accurate the generated results are. However, it increases the complexity of the hardware circuit. Therefore, to avoid the hardware overhead and retain the accuracy of the designed filters, the orders of numerator and denominators are chosen to be N, \(M=3\). PSO along with FA and RGA is used to find the minimum value of the cost function (9). These evolutionary algorithms search through the nonlinear, multimodal, multidimensional, non-uniform search space to produce 8 coefficients \( \begin{bmatrix} f_3&\quad f_2&\quad f_1&\quad f_0&\quad g_4&\quad g_3&\quad g_2&\quad g_1&\quad g_0 \end{bmatrix}\) of integer-order transfer function given by (4), which produce the minimum value of (9) and best matches the response of the Chebyshev modelled fractional-order filter.

3.2 Evolutionary Algorithms

The proposed design uses three optimization algorithms; PSO, FA, and RGA. Particle swarm optimization is one of the relatively novel metaheuristic computation techniques which is evolutionary in nature and is based on the swarm behaviour of birds and fishes [18, 35]. The equations for the algorithm are given as follows:

$$\begin{aligned} x_{i,j+1}= & {} x_{i,j}+\nu _{i,j+1} \end{aligned}$$
(10)
$$\begin{aligned} \nu _{i,j+1}= & {} w_j\nu _{i,j}+a_1r_1(P_{pb,i,j}-x_{i,j})+ a_2r_2(P_{gb,i,j}-x_{i,j}) \end{aligned}$$
(11)

where \(x_{i,j+1}\) and \(v_{i,j+1}\) are the position and velocity of the particle i at \(j+1\) iteration step, respectively. The PSO can be further improved by using formulations like the constriction factor method (CFM) or particle neighbourhoods [15, 35, 70, 71] which have been used in this work as

$$\begin{aligned} \nu _{i,j+1}&=K[\nu _{i,j}+a_1r_1(P_{pb,i,j}-x_{i,j})+ a_2r_2(P_{gb,i,j}-x_{i,j})]\nonumber \\ K&=\frac{2}{|2-\phi -\sqrt{\phi ^2-4\phi }|}\nonumber \\ \phi&=a_1+a_2;\phi >4 \end{aligned}$$
(12)

where K is constriction coefficient depending on \(\phi \) and \(\phi \) depends on acceleration coefficients \(a_1\) and \(a_2\) as given in (12)).

The firefly algorithm is based on the flashing behaviour of the fireflies [72]. The brightness or flash of a firefly acts as an attraction agent to other fireflies. The behaviour of firefly algorithm is governed by (13) in which the attractiveness factor \(\beta (r)\) decreases monotonically with respect to distance. The randomization factor \(\kappa \) decreases as well with each iteration to search for more precise solutions in the localized search space. The movement of each firefly \(x_j\) is calculated as a function of attractiveness and the vector between positions of two fireflies as given by (13).

$$\begin{aligned} \beta (r)&=\beta _{0}\,\exp (-\gamma r_{ij}^{2})\nonumber \\ \kappa (\textrm{iter})&=\frac{\kappa _{\max }-(\kappa _{\max }-\kappa _{\min })}{N}*iter\nonumber \\ x_j&=x_i+\beta _0\exp ( -\gamma r_{ij}^{2})*(x_j-x_i)+\kappa *\left( \textrm{rand}-\frac{1}{x}\right) \end{aligned}$$
(13)

Genetic algorithms are based on techniques derived from evolution and genetics (crossovers, mutations, and selection). The versions of genetic algorithms are based on choice of mutation, crossover technique, and selection technique [28].

The pseudocodes for all three algorithms are presented in the Appendix, and the respective parameters for the algorithm are stated in Tables 2, 3, and 4. These values have been chosen by running multiple cycles of code by varying the parameters. The values of the coefficients are taken to be greater than 0.001 such that the values are positive to ensure the stability of the transfer function. Along with the necessary condition of stability, the sufficient condition has been fulfilled by including the death penalty [16] in the algorithms.

Table 2 Key parameters of PSO
Table 3 Key parameters of FA
Table 4 Key parameters of RGA
Table 5 Values of coefficients of the rational polynomial obtained through PSO, FA, and RGA

4 Results

The cost function of the required fractional-order filter defined by (9) is optimized by running the evolutionary algorithms. These traverse the multimodal and nonlinear space to find the coefficients to produce the optimum cost by reducing the error between (4) and (8). The parameters for each algorithm are chosen specifically to obtain the best results for given number of iterations as presented in Tables 2, 3, and 4. The coefficients of the integer-order polynomial defined by (4), which is used to design the \(1+\alpha \)-order filter have been obtained by running the three optimization algorithms. These coefficients are summarized in Table 5. The value of \(\alpha \) is considered from 0.1 to 0.9. The magnitude responses of the obtained FOLCF with the specified coefficients have been plotted in linear scale in Fig. 3 and semi-log scale in Fig. 4. Plots of Figs. 3a and 4a correspond to FOLCF responses obtained through PSO, Figs. 3b and 4b correspond to FOLCF responses obtained through FA and Figs. 3c and 4c correspond to FOLCF responses obtained through RGA. In these figures, the magnitude responses for first- and second-order filters and display the behaviour corresponding to individual fractional-order by showing the required change in the slope for each curve. A slope of \(-20(n+\alpha )\) dB/dec is observed corresponding to a curve associated with \((n+\alpha )\) FOF. The slopes can be seen increasing by a factor of − 2 dB/dec with an increase in order by 0.1. While all three algorithms produce the filters following the ideal fractional-order Chebyshev low-pass filters, it has been observed that the plots for the PSO optimized LPFs are more accurate. This analysis has been derived from the fact that PSO plots for fractional-order filters show properly distinguished plots, which lie within the curves of first- and second-order plots with equidistant treads. In the subsequent subsection, this observation has been confirmed analytically as well.

Fig. 3
figure 3

Magnitude plot of \(1+\alpha \)-order FOLCF compared to first- and second-order Chebyshev filter in linear scale based on coefficients obtained by: a PSO b FA c RGA

Fig. 4
figure 4

Magnitude plot of \(1+\alpha \)-order FOLCF compared to first- and second-order Chebyshev filter in semi-log scale based on coefficients obtained by: a PSO b FA c RGA

4.1 Comparison of Magnitude Responses of Obtained Filters

The results obtained from the three optimization algorithms are further compared on the basis of errors observed in stopband and passband. The stopband error (SE) and the passband error (PE) are calculated as [43]

$$\begin{aligned} {{ ERROR}}=20\log _{10}{\sqrt{\frac{\sum _{i=1}^{Q}\vert \vert H_C^{1+\alpha }(\omega _i)\vert -\vert H_I(\omega _i)\vert \vert ^2}{Q}}}\textrm{dB} \end{aligned}$$
(14)

where \(1< \omega < 10\) for SE and \(0.01< \omega < 1 \) for PE and Q is number of frequency points over which error is measured (1000 in this work).

Table 6 summarizes the calculated PE and SE for all three algorithms. It is seen that the error produced by PSO in stopband and passband is minimum compared to the other two algorithms which infers that the performance of PSO obtained filters is the best among the three.

Table 6 Comparison of PSO, FA, and RGA based on the values of SE and PE obtained for different orders

The comparative analysis of the algorithms for the passband and stopband errors is shown in Fig. 5a, b, respectively. These figures draw the error histogram for \(\alpha \) varying from 0.1 to 0.9 for PSO, FA, and RGA. The errors for PSO are plotted as a line graph, while the errors for the FA and RGA are plotted as columns for clear comparison. The line plot for the PSO treads much below the columns of SE and PE of FA and RGA. The maximum stopband and passband errors produced by PSO are − 49.86 dB and − 34.99 dB for 1.6 and 1.4 order FOLCF, respectively.

Fig. 5
figure 5

Comparison of magnitude errors of filters obtained through PSO, FA and RGA a passband error b stopband error

4.2 Comparison of the Convergence Rate of Obtained Filters

All three algorithms are further compared on the basis of convergence and the time taken to iterate. The comparison is done by running all three algorithms for 1.5 order and recording the time of the simulation. The graphs for best cost with respect to the number of iterations are displayed in Fig. 6, and the time taken to exhaust the stopping criteria is compared in Fig. 7. The stopping criterion considered here is the number of maximum iterations. The value is taken as 500 for all three algorithms. It is observed that PSO takes the least amount of time. This is due to the fact that the PSO does not require ranking the solutions in each iteration first and then exploring the best solution, while both the real genetic algorithm and firefly algorithm require the ranking and selection of best solutions in each iteration, thus, consuming greater time.

Fig. 6
figure 6

Comparison of the convergence rate of three algorithms

Fig. 7
figure 7

Comparison of PSO, FA, and RGA based on simulation time

4.3 Comparison of Magnitude Responses of Obtained Fractional-Order Chebyshev Filter Using PSO with the Literature

As discussed earlier, Chebyshev modelled low-pass fractional-order filters have been approximated and designed using different techniques in the past. Some techniques involve manipulation of the Chebyshev differential equation [2, 14]. Some involve approximating the second-order CFE of \(s^\alpha \) for low-pass fractional-order filters with a higher integer-order Chebyshev low-pass filters [17, 27, 57, 67]. A comparison of the proposed FOLCF on the basis of stopband and passband errors for some state-of-the-art works reported in the literature on FOLCF has been made.

Table 7 Comparison of proposed work and state-of-the-art FOLCF reported in the literature based on the values of SE and PE obtained for different orders

Table 7 along with Fig. 8a, b infers that the performance of the FOLCFs designed in present work is better as compared to the other techniques existing in the literature. It has been observed that the magnitude error generated in both the passband and the stopband is much smaller in the proposed designs. This is due to the fact that designing technique used in this paper utilizes the magnitude function of an ideal low-pass Chebyshev fractional-order filter to derive the coefficients of the continuous time rational transfer function. This helps in producing an accurate and optimum magnitude response rather than comparing the approximated fractional-order filters of \((n+\alpha )\) order with transfer function of \((n+1)\) integer-order low-pass filter. From Table 7, it has been calculated that the stopband and passband errors observed in the proposed FOLCF are much lower than the others reported in the literature by an average of 25.98 dB.

Fig. 8
figure 8

Comparison of the proposed work with the reported literature based on a passband error and b stopband error

4.4 Designing of Higher-Order Filters

The technique presented in this paper can be used to derive the higher-order FOLCFs as well. This can be done by increasing the order of denominator and numerator polynomials in (4) while ensuring the stability of the circuit. This method has been used to derive the \((2+\alpha )\)-order FOLCFs. The order of the numerator polynomial is taken as 3 (\(M=3\)) and that of the denominator polynomial is increased to 4 (\(N=4\)). The coefficients for the rational transfer function are derived using the evolutionary algorithms can be defined in terms of matrix x as

$$\begin{aligned} x= \begin{bmatrix} f_3&\quad f_2&\quad f_1&\quad f_0&\quad g_4&\quad g_3&\quad g_2&\quad g_1&\quad g_0 \end{bmatrix} \end{aligned}$$
(15)

Table 8 shows the values of coefficients obtained for \((2+\alpha )\)-order Chebyshev LPF using PSO. Figure 9 shows the magnitude plot of the obtained filters, juxtaposed with the second- and third-order Chebyshev LPF. The magnitude plots of the designed \((2+\alpha )\)-order filters lie within the magnitude curves of Chebyshev low-pass filters of second and third orders and the uniform treading in the slopes over the range signifies the accurate design of the filters.

Table 8 Values of coefficients of rational polynomial obtained through PSO to design \((2+\alpha )\)-order Chebyshev LPF
Fig. 9
figure 9

Comparison of \((2+\alpha )\)-order FOLCF with the 2nd and 3rd order Chebyshev LPF a linear scale b dB scale

FOLCF of any desired order can be designed using the similar technique of replacing the value of \(C_n\) by \(C_{(n+\alpha )}\) where \((n+\alpha )\) corresponds to the order of the desired filter. The magnitude of the desired filter can be compared with the rational polynomial of order N where the value of N increases with the value of n for the denominator and numerators.

4.5 Comparison of Magnitude Responses of Obtained \((2+\alpha )\)-Order Filter Using PSO with Previous Work

In this subsection, the obtained \((2+\alpha )\)-order Chebyshev filters are compared with the similar filters available in the literature. Filters of orders 2.2, 2.5, and 2.8 are compared based on stopband and passband errors in the magnitude. The comparison is made over a frequency range of \(0.01<\omega < 1\) for the passband and \(1<\omega < 10\) for the stopband. The results of the comparison are presented in Table 9. The results are further plotted graphically in Fig. 10 for a better comparison. It is observed that the SE and PE for the proposed work are much smaller than the work available in the literature. The maximum error produced in stopband is − 48.84 dB for the 2.8-order FOLCF in the stopband and − 30.99 dB for 2.8 FOLCF in the passband. The errors are lower than the reported literature by an average of 14.38 dB.

Table 9 SE and PE comparison of \((2+\alpha )\)-order FOLCF with the reported literature
Fig. 10
figure 10

Comparison of the proposed work with the literature based on SE and PE of magnitude for \((2+\alpha )\)-order FOLCF a passband error b stopband error

4.6 Stability Analysis

The designed filters are tested on the basis of stability. During the computation stage through the algorithms, it was ensured that the obtained coefficients follow the necessary and sufficient conditions for stability. This was done by introducing a death penalty in the algorithms. Stability of the designed filters is tested by plotting the pole-zero map of the transfer functions in the s-plane. If any pole lies in the unstable region, the filter is said to be unstable. Figure 11a–c shows the pole-zero plots for \((1+\alpha )\)-order FOLCF filters obtained through PSO, FA, and RGA algorithms. Figure 11d shows the pole-zero plots for \((2+\alpha )\)-order FOLCF filters obtained through the PSO algorithm. These figures show that all the poles lie in the stable region, confirming the stability of the designed filters.

Fig. 11
figure 11

Pole-zero plots for the designed filters a \((1+\alpha )\) PSO b \((1+\alpha )\) FA c \((1+\alpha )\) RGA a \((2+\alpha )\) PSO

4.7 SPICE Implementation of \((n+\alpha )\)-Order Filters

The rational transfer function of FOLCF can be represented as a signal flow graph shown in Fig. 12. This signal flow graph has been implemented using the Op-Amp-based follow-the-leader topology and OTA-based circuits, as shown in Figs. 13 and 14, respectively. Both circuits are realized using LTspiceXVII by implementing the transfer function as respective circuits using Op-Amp 741 and LT1228. The time constant for the circuit is considered to be 1 ms. The values of capacitances, transconductance, and resistances have also been scaled by a factor of 1000 to ensure feasibility.

Fig. 12
figure 12

Signal flow graph corresponding to the rational transfer function for \((1+\alpha )\) FOLCF implementation

Fig. 13
figure 13

Op-Amp-based equivalent circuit for design of \((1+\alpha )\)-order FOLCF

Fig. 14
figure 14

OTA-based equivalent circuit for design of \((1+\alpha )\)-order FOLCF

4.7.1 Design Using Op-Amp-Based Circuit

The transfer function of the SFG can be given as

$$\begin{aligned} \frac{V_{\textrm{out}}}{V_{\textrm{in}}}=\frac{b_0 s^3+b_1 s^2+b_2 s+b_3}{s^3+a_1 s^2+a_2 s+a_3}. \end{aligned}$$
(16)

The feedforward and feedback path resistor values are obtained by equating the transfer function of the circuit with the canonical form of the desired fractional-order filter obtained using PSO. The circuit diagram is presented in Fig. 13, and the values of the resistors for the design of 1.5- and 1.7-order filters are presented in Table 10. All the simulations are done using LTspiceXVII. It has been observed that the slope of the 1.5-order FOLCF is − 30.42 dB/dec and that of the 1.7-order filter is \(-\) 34.53 dB/dec, which is very close to the ideal slopes of − 30 dB/dec and − 34 dB/dec for orders 1.5 and 1.7, respectively.

Table 10 Values of resistors for the design of 1.5- and 1.7-order FOLCF using Op-Amp-based circuit shown in Fig. 13

4.7.2 Design Using OTA-Based Circuit

The OTA-based implementation of fractional-order filters has been done in the [59, 68] as they provide compact circuits with tunability. An equivalent OTA-based circuit can be implemented based on the SFG, as shown in Fig. 14. The values of the transconductance can be found by comparing Eq. (16) with Eq. (17).

$$\begin{aligned} \frac{V_{\textrm{out}}}{V_{\textrm{in}}}=\frac{\frac{g_9}{g_4}s^3+\frac{g_6g_{10}}{g_4C_1}s^2+\frac{g_1g_5g_{10}}{g_4C_1C_2}s+\frac{g_1g_2g_3g_{10}}{g_4C_1C_2C_3}}{s^3+\frac{g_7g_{10}}{g_8C_1}s^2+\frac{g_1g_{11}g_{10}}{g_8C_1C_2}s+\frac{g_1g_2g_{10}g_{12}}{g_8C_1C_2C_3}} \end{aligned}$$
(17)

Taking the values \(g_1, g_2,g_3,g_4,g_8,C_1,C_2 \text { and } C_3\) as 1 and scaling the components by 1000 with the time constant as 1 ms, values of different circuit elements can be calculated. Table 11 shows the values obtained to design OTA-based FOLCFs of orders 1.5 and 1.7 shown in Fig. 14. The slopes obtained for the realized filters are − 30.67 dB/dec and − 34.46 dB/dec, respectively.

Table 11 Values of transconductance for the design of 1.5- and 1.7-order FOLCF using OTA LT1228

The magnitude plots produced by LTspice are shown in Fig. 15. In this figure, the frequency characteristics for the 1.5- and 1.7-order low-pass Chebyshev filter have been plotted for both Op-Amp-based circuit and OTA-based circuit. The results obtained from circuit implementation are compared with the ideal fractional-order filters. The plots showing the error curve between the magnitudes of designed filters and the ideal filters for both 1.5- and 1.7-order FOLCF are shown in Fig. 15. It can be observed that the plots are nearly overlapping. The maximum and mean square errors between the filters are presented in Table 12. The maximum error between the curves for 1.5 order is observed to be − 38.82 dB and − 29.47 dB for Op-Amp and OTA, respectively, and for 1.7 order it is observed to be − 24.37 dB and − 44.02 dB. This is sufficient to say that the proposed design outperforms the reported literature. The improvement in the values of the magnitude errors is large, and thus the proposed design produces optimum magnitude response. Further, the realization of the filters does not involve the approximation of the CPE as ladder networks. This ensures the substantiality of the filter characteristics over a large range as opposed to approximated CPE-based filters. The comparisons of the realized 1.5- and 1.7-order filters with the ideal filter response showcase minimal error and confirm the significant feasibility of the filters. Moreover, Sect. 4.5 shows that the proposed work may be extended to design higher-order filters and the comparison with the literature of \((2+\alpha )\)-order filters showed that higher-order designs outperform the traditional designs as well.

Fig. 15
figure 15

Comparison of the realized filter with the ideal filter response. a 1.5-order FOLCF magnitude response b 1.7-order FOLCF magnitude response

Table 12 Error comparison of the spice implemented and the ideal 1.5- and 1.7-order FOLCF

5 Conclusion

Design of a \((n+\alpha )\)-order fractional-order Chebyshev low-pass filter which gives the optimum magnitude response has been proposed in this paper. This is achieved by comparing the magnitude of the integer-order equivalent function of the desired FOLCF with the magnitude of the same ideal FOLCF. It has been observed that the stopband and passband errors produced by the design presented in this paper are much lower than designs presented in the literature with an average of 26.85 dB in the passband and 25.12 dB in the stopband. All the codes for optimization were written using MATLAB programming language and executed in MATLAB 2019b software, and SPICE implementations have been carried out using LTspiceXVII on an Intel(R) Core(TM) i7-10750H processor of 2.60 GHz, with 16 GB RAM. The optimization performed by using PSO showed the best response compared to FA and the RGA. PSO also took lesser time to exhaust the stopping criteria. This is due to the fact that PSO does not require to rank individual solutions for each iteration, unlike the FA and RGA. PSO also traverses the multimodal plane efficiently, and the chances of being trapped in the local solution are minimized. It takes into knowledge all three factors of the individual best solution, swarm best solution, and randomness. The optimized coefficients have been used to realize the canonical form of the filter. The Op-Amp-based FOLCF of orders 1.5 and 1.7 has been implemented using LTspice. The designed filters displayed the transfer characteristics of the ideal \((n+\alpha )\)-order Chebyshev filter closely, and the mean and maximum errors between the proposed design and the ideal filters showed that the proposed design produces optimum magnitude response with significantly low errors. Mean square errors of − 74.97 dB and − 70.94 dB are observed for 1.5-order FOLCF designed using Op-Amps and OTAs, respectively. Similarly, for these designs the mean square errors of − 69.81 dB and − 86.13 dB are observed for 1.7-order FOLCF. The proposed work thus presents a simple, efficient, and reliable method to design \((1+\alpha )\)-order fractional-order low-pass Chebyshev filters with optimum magnitude. The proposed design outperforms the reported literature effectively, and the canonical form realization proved the feasibility of the proposed design. The work can further be extended to design the higher-order filters as presented or to design the high-pass or bandpass filters in the future.