{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,12]],"date-time":"2026-03-12T00:10:41Z","timestamp":1773274241495,"version":"3.50.1"},"reference-count":39,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2023,3,4]],"date-time":"2023-03-04T00:00:00Z","timestamp":1677888000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Federal University of Pernambuco (UFPE)","award":["001"],"award-info":[{"award-number":["001"]}]},{"name":"Federal University of Pernambuco (UFPE)","award":["#307966\/2018-6"],"award-info":[{"award-number":["#307966\/2018-6"]}]},{"name":"Brazilian National Council for Scientific and Technological Development (CNPq)","award":["001"],"award-info":[{"award-number":["001"]}]},{"name":"Brazilian National Council for Scientific and Technological Development (CNPq)","award":["#307966\/2018-6"],"award-info":[{"award-number":["#307966\/2018-6"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Energies"],"abstract":"<jats:p>Repetitive controllers (RCs) are linear control structures based on the internal model principle. This control strategy is known for its ability to control periodic reference signals, even if these signals have many harmonic components. Despite being a solution that results in a good performance, several parameters of the repetitive controller need to be correctly tuned to guarantee its stability. Among these parameters, one that has high impact on the system performance and stability is the finite impulse response (FIR) filter, which is usually used to increase the stability domain of RC-based controllers. In this context, this paper presents a complete tutorial for designing the zero-phase FIR filter, which is often used to stabilize control systems that use RC-based controllers. In addition, this paper presents a Matlab\u00ae application developed for performing the stability analysis of RC systems and designing its FIR filter. Simulation and experimental results of a shunt active power filter are used to validate the algorithm and the Matlab\u00ae application.<\/jats:p>","DOI":"10.3390\/en16052451","type":"journal-article","created":{"date-parts":[[2023,3,6]],"date-time":"2023-03-06T02:06:43Z","timestamp":1678068403000},"page":"2451","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":5,"title":["Zero-Phase FIR Filter Design Algorithm for Repetitive Controllers"],"prefix":"10.3390","volume":"16","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7373-6076","authenticated-orcid":false,"given":"Pedro V. S. G.","family":"de Lima","sequence":"first","affiliation":[{"name":"Department of Biomedical Engineering, Center of Technology and Geosciences, Federal University of Pernambuco, Recife 50740-530, PE, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7963-4051","authenticated-orcid":false,"given":"Rafael C.","family":"Neto","sequence":"additional","affiliation":[{"name":"Power Electronics and Drives Research Group (GEPAE), Department of Electrical Engineering, Center of Technology and Geosciences, Federal University of Pernambuco, Recife 50740-530, PE, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0564-7500","authenticated-orcid":false,"given":"Francisco A. S.","family":"Neves","sequence":"additional","affiliation":[{"name":"Power Electronics and Drives Research Group (GEPAE), Department of Electrical Engineering, Center of Technology and Geosciences, Federal University of Pernambuco, Recife 50740-530, PE, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2086-7862","authenticated-orcid":false,"given":"Fabr\u00edcio","family":"Bradaschia","sequence":"additional","affiliation":[{"name":"Power Electronics and Drives Research Group (GEPAE), Department of Electrical Engineering, Center of Technology and Geosciences, Federal University of Pernambuco, Recife 50740-530, PE, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2431-2565","authenticated-orcid":false,"given":"Helber E. P.","family":"de Souza","sequence":"additional","affiliation":[{"name":"Department of Industry, Instituto Federal de Educa\u00e7\u00e3o, Ci\u00eancia e Tecnologia de Pernambuco, Pesqueira 55200-000, PE, Brazil"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2055-0195","authenticated-orcid":false,"given":"Eduardo J.","family":"Barbosa","sequence":"additional","affiliation":[{"name":"Power Electronics and Drives Research Group (GEPAE), Department of Electrical Engineering, Center of Technology and Geosciences, Federal University of Pernambuco, Recife 50740-530, PE, Brazil"}]}],"member":"1968","published-online":{"date-parts":[[2023,3,4]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"1559","DOI":"10.1109\/TCST.2010.2100044","article-title":"Adaptive Robust Repetitive Control of an Industrial Biaxial Precision Gantry for Contouring Tasks","volume":"19","author":"Hu","year":"2011","journal-title":"IEEE Trans. Control. Syst. Technol."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"775","DOI":"10.1080\/00207721.2011.625478","article-title":"Repetitive control of electrically driven robot manipulators","volume":"44","author":"Fateh","year":"2013","journal-title":"Int. J. Syst. Sci."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Luo, Z., Su, M., Yang, J., Sun, Y., Hou, X., and Guerrero, J.M. (2016). A Repetitive Control Scheme Aimed at Compensating the 6k + 1 Harmonics for a Three-Phase Hybrid Active Filter. Energies, 9.","DOI":"10.3390\/en9100787"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Neto, R.C., De Souza, H.E.P., Rech, C., and Neves, F.A. (2018, January 13\u201315). A nk pm m-Order Harmonic Repetitive Control Scheme with Improved Stability Characteristics. Proceedings of the 2018 IEEE 27th International Symposium on Industrial Electronics (ISIE), Cairns, QLD, Australia.","DOI":"10.1109\/ISIE.2018.8433680"},{"key":"ref_5","unstructured":"Biagiotti, L. (2020, January 11\u201317). Repetitive Control of Nonlinear Systems via Feedback Linearization: An Application to Robotics. Proceedings of the 21st IFAC World Congress, Berlim, Germany."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Liu, D., Li, B., Huang, S., Liu, L., Wang, H., and Huang, Y. (2022). An Improved Frequency-Adaptive Virtual Variable Sampling-Based Repetitive Control for an Active Power Filter. Energies, 15.","DOI":"10.3390\/en15197227"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"82015","DOI":"10.1109\/ACCESS.2022.3196776","article-title":"Novel Fractional-Order Repetitive Controller Based on Thiran IIR Filter for Grid-Connected Inverters","volume":"10","author":"Zhao","year":"2022","journal-title":"IEEE Access"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Yuan, T., and Zhang, Y. (2022). Current Harmonic Suppression of BLDC Motor Utilizing Frequency Adaptive Repetitive Controller. Machines, 10.","DOI":"10.3390\/machines10111071"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"659","DOI":"10.1109\/9.1274","article-title":"Repetitive control system: A new type servo system for periodic exogenous signals","volume":"33","author":"Hara","year":"1988","journal-title":"IEEE Trans. Autom. Control"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"4653","DOI":"10.1109\/TIA.2015.2458960","article-title":"Resonant\u2013Repetitive Combined Control for Stand-Alone Power Supply Units","volume":"51","author":"Lidozzi","year":"2015","journal-title":"IEEE Trans. Ind. Appl."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"2660","DOI":"10.1109\/TIA.2013.2292997","article-title":"Repetitive Control for High-Performance Resonant Pulsed Power Supply in Radio Frequency Applications","volume":"50","author":"Ji","year":"2014","journal-title":"IEEE Trans. Ind. Appl."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Oh, S., and Longman, R. (2002, January 5\u20138). Methods of Real-Time Zero-Phase Low-Pass Filtering for Robust Repetitive Control. Proceedings of the AIAA\/AAS Astrodynamics Specialist Conference and Exhibit, Monterey, CA, USA.","DOI":"10.2514\/6.2002-4916"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Teo, Y.R., and Fleming, A.J. (2014, January 4\u20136). A new repetitive control scheme based on non-causal FIR filters. Proceedings of the 2014 American Control Conference, Portland, OR, USA.","DOI":"10.1109\/ACC.2014.6858916"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"405","DOI":"10.1109\/TIE.2013.2240634","article-title":"Filters With Linear-Phase Properties for Repetitive Feedback","volume":"61","author":"Escobar","year":"2014","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"8454","DOI":"10.1109\/TPEL.2020.3045981","article-title":"Parameter Robustness Improvement for Repetitive Control in Grid-Tied Inverters Using an IIR Filter","volume":"36","author":"Zhu","year":"2021","journal-title":"IEEE Trans. Power Electron."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"2857","DOI":"10.1109\/TIE.2018.2847661","article-title":"A Complex Repetitive Controller Based on the Generalized Delayed Signal Cancelation Method","volume":"66","author":"Zimann","year":"2019","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_17","first-page":"219","article-title":"Frequency based optimal design of FIR zero-phase filters and compensators for robust repetitive control","volume":"123","author":"Panomruttanarug","year":"2006","journal-title":"Adv. Astronaut. Sci."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"47960","DOI":"10.1109\/ACCESS.2021.3068680","article-title":"Unified Approach to Evaluation of Real and Complex Repetitive Controllers","volume":"9","author":"Neto","year":"2021","journal-title":"IEEE Access"},{"key":"ref_19","unstructured":"Inoue, T., Nakano, M., Kubo, T., Matsumoto, S., and Baba, H. (1981, January 24\u201328). High Accuracy Control of a Proton Synchrotron Magnet Power Supply. Proceedings of the 8th IFAC World Congress on Control Science and Technology for the Progress of Society, Kyoto, Japan."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"457","DOI":"10.1016\/0005-1098(76)90006-6","article-title":"The internal model principle of control theory","volume":"12","author":"Francis","year":"1976","journal-title":"Automatica"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"1018","DOI":"10.1109\/TIE.2004.834961","article-title":"Repetitive-based control for selective harmonic compensation in active power filters","volume":"51","author":"Mattavelli","year":"2004","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"1132","DOI":"10.1007\/s40313-020-00623-7","article-title":"Complex Controllers Applied to Space Vectors: A Survey on Characteristics and Advantages","volume":"31","author":"Neto","year":"2020","journal-title":"J. Control Autom. Electr. Syst."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"3573","DOI":"10.1109\/TPEL.2020.3017735","article-title":"Complex nk + m Repetitive Controller Applied to Space Vectors: Advantages and Stability Analysis","volume":"36","author":"Neto","year":"2021","journal-title":"IEEE Trans. Power Electron."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"237","DOI":"10.1109\/TPEL.2006.886609","article-title":"Application of a Repetitive Controller for a Three-Phase Active Power Filter","volume":"22","year":"2007","journal-title":"IEEE Trans. Power Electron."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Zhang, Y., Dai, Z., and Fang, Y. (2021, January 23\u201325). Current Control of Shunt Active Power Filter Based on Repetitive Control. Proceedings of the 2021 IEEE Sustainable Power and Energy Conference (iSPEC), Nanjing, China.","DOI":"10.1109\/iSPEC53008.2021.9735587"},{"key":"ref_26","first-page":"1516","article-title":"A Novel Cascaded Repetitive Controller of an LC-Filtered H6 Voltage-Source Inverter","volume":"61","author":"Yang","year":"2022","journal-title":"IEEE J. Emerg. Sel. Top. Power Electron."},{"key":"ref_27","unstructured":"Lu, W., and Zhou, K. (2011, January 22\u201324). A novel repetitive controller for nk \u00b1 m order harmonics compensation. Proceedings of the 30th Chinese Control Conference, Yantai, China."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"1516","DOI":"10.1109\/TIE.2013.2258295","article-title":"A Generic Digital nk \u00b1 m-Order Harmonic Repetitive Control Scheme for PWM Converters","volume":"61","author":"Lu","year":"2014","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"70","DOI":"10.1080\/00207179.2012.718798","article-title":"General parallel structure digital repetitive control","volume":"86","author":"Lu","year":"2013","journal-title":"Int. J. Control"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Middlestead, R. (2017). Digital Communications with Emphasis on Data Modems: Theory, Analysis, Design, Simulation, Testing, and Applications, Wiley.","DOI":"10.1002\/9781119011866"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Neto, R.C., Neves, F.A.S., de Souza, H.E.P., Zimann, F.J., and Batschauer, A.L. (2018, January 13\u201315). Design of Repetitive Controllers Through Sensitivity Function. Proceedings of the 2018 IEEE 27th International Symposium on Industrial Electronics (ISIE), Cairns, Australia.","DOI":"10.1109\/ISIE.2018.8433720"},{"key":"ref_32","unstructured":"MathWorks (2022, December 30). Packaging and Installing MATLAB Apps. Available online: https:\/\/www.mathworks.com\/videos\/packaging-and-installing-matlab-apps-101563.html."},{"key":"ref_33","unstructured":"MathWorks (2022, December 30). MATLAB App Installer File\u2014mlappinstall. Available online: https:\/\/www.mathworks.com\/help\/matlab\/creating_guis\/what-is-an-app.html."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"20","DOI":"10.1109\/MIE.2009.931894","article-title":"Digital current-control schemes","volume":"3","author":"Limongi","year":"2009","journal-title":"IEEE Ind. Electron. Mag."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1443","DOI":"10.1109\/TIE.2011.2167117","article-title":"Generalized Design of High Performance Shunt Active Power Filter With Output LCL Filter","volume":"59","author":"Tang","year":"2012","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Neto, R.C., Neves, F.A.S., Stangler, E.V., Bradaschia, F., and de Souza, H.E.P. (2019, January 1\u20134). Structural and Performance Comparison Between Harmonic Selective Repetitive Controllers for Shunt Active Power Filter. Proceedings of the 2019 IEEE 15th Brazilian Power Electronics Conference and 5th IEEE Southern Power Electronics Conference (COBEP\/SPEC), Santos, Brazil.","DOI":"10.1109\/COBEP\/SPEC44138.2019.9065854"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Neto, R.C., Neves, F.A.S., Azevedo, G.M.S., and de Souza, H.E. (2019, January 14\u201317). A Comparison Between Real and Complex Harmonic Selective Repetitive Control Schemes with Improved Stability Characteristics. Proceedings of the IECON 2019\u201445th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal.","DOI":"10.1109\/IECON.2019.8927444"},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Buso, S., and Mattavelli, P. (2006). Digital Control in Power Electronics, Morgan & Claypool Publishers. Lectures on Power Electronics.","DOI":"10.1007\/978-3-031-02495-5"},{"key":"ref_39","unstructured":"(2014). IEEE Recommended Practice and Requirements for Harmonic Control in Electric Power Systems (Standard No. IEEE Std 519-2014 (Revision of IEEE Std 519-1992))."}],"container-title":["Energies"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1996-1073\/16\/5\/2451\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T18:47:46Z","timestamp":1760122066000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1996-1073\/16\/5\/2451"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,3,4]]},"references-count":39,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2023,3]]}},"alternative-id":["en16052451"],"URL":"https:\/\/doi.org\/10.3390\/en16052451","relation":{},"ISSN":["1996-1073"],"issn-type":[{"value":"1996-1073","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,3,4]]}}}