Alberto Castillo
Research Subjects
Alberto Castillo has a total of 39 co-authors. Here are the top co-authors by number of shared publications:
- Ricardo Sanz
Instituto de Automática e Informática Industrial Universitat Politècnica de València Valencia Spain
5 shared publications Pedro Garcia
4 shared publications- Pedro García
Universitat Politècnica de València
4 shared publications - Anas El Fathi
Department of Biomedical Engineering, McGill University, Montreal, Canada
2 shared publications - Boris P. Kovatchev
Center for Diabetes Technology, University of Virginia, Charlottesville, USA
2 shared publications - Elliott Carroll Pryor
Center for Diabetes Technology, University of Virginia, Charlottesville, VA, USA
2 shared publications
Latest Publications
- Open Access
- 5 May 2026
- Published by MDPI AG in Electronics
- Vol. 15 (9) , 1953
Scaling Computer Vision: A Comparative Analysis of Cloud Infrastructures for AI-Based Image Processing and Classification Applications
Artificial intelligence-driven computer vision has undergone rapid expansion in recent years, largely propelled by progress in deep learning techniques and the availability of extensive annotated datasets. Nevertheless, the large-scale adoption of such systems remains challenging for many organizations due to financial constraints and technological complexity. In this context, cloud computing has become an appealing alternative, as it offers elastic, on-demand resources under a pay-as-you-go model. Despite these advantages, the use of cloud platforms also introduces specific challenges for computer vision applications. One of the key open issues concerns the assessment of whether it is better to use classical Infrastructure (IaaS) or Containers (CaaS) to build applications. In this paper, we evaluated and compared these two models by using a real-world use case: an AI-based image processing and classification application. The best-performing model achieved speed-ups of up to 2.12× and reduced resource consumption and costs by up to 22% compared with the other evaluated alternatives.
- 5 May 2026
- Published by MDPI AG in Electronics
- Vol. 15 (9) , 1953
Open AccessScaling Computer Vision: A Comparative Analysis of Cloud Infrastructures for AI-Based Image Processing and Classification Applications
Artificial intelligence-driven computer vision has undergone rapid expansion in recent years, largely propelled by progress in deep learning techniques and the availability of extensive annotated datasets. Nevertheless, the large-scale adoption of such systems remains challenging for many organizations due to financial constraints and technological complexity. In this context, cloud computing has become an appealing alternative, as it offers elastic, on-demand resources under a pay-as-you-go model. Despite these advantages, the use of cloud platforms also introduces specific challenges for computer vision applications. One of the key open issues concerns the assessment of whether it is better to use classical Infrastructure (IaaS) or Containers (CaaS) to build applications. In this paper, we evaluated and compared these two models by using a real-world use case: an AI-based image processing and classification application. The best-performing model achieved speed-ups of up to 2.12× and reduced resource consumption and costs by up to 22% compared with the other evaluated alternatives.
- 5 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Cybernetics
- Vol. 55 (7) , 3062-3072
Neural Networks for On-Chip Model Predictive Control: A Method to Build Optimized Training Datasets and its Application to Type-1 Diabetes
Training neural networks (NNs) to behave as model predictive control (MPC) algorithms is an effective way to implement them in constrained embedded devices. By collecting large amounts of input-output data, where inputs represent system states and outputs are MPC-generated control actions, NNs can be trained to replicate MPC behavior at a fraction of the computational cost. However, although the composition of the training data critically influences the final NN accuracy, methods for systematically optimizing it remain underexplored. In this article, we introduce the concept of optimally-sampled datasets (OSDs) as ideal training sets and present an efficient algorithm for generating them. An OSD is a parametrized subset of all the available data that 1) preserves existing MPC information up to a certain numerical resolution; 2) avoids duplicate or near-duplicate states; and 3) becomes saturated or complete. We demonstrate the effectiveness of OSDs by training NNs to replicate the University of Virginia’s MPC algorithm for automated insulin delivery in Type-1 Diabetes, achieving a fourfold improvement in final accuracy. Notably, two OSD-trained NNs received regulatory clearance for clinical testing as the first NN-based control algorithm for direct human insulin dosing. This methodology opens new pathways for implementing advanced optimizations on resource-constrained embedded platforms, potentially revolutionizing how complex algorithms are deployed.
- 5 May 2025
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Cybernetics
- Vol. 55 (7) , 3062-3072
Neural Networks for On-Chip Model Predictive Control: A Method to Build Optimized Training Datasets and its Application to Type-1 Diabetes
Training neural networks (NNs) to behave as model predictive control (MPC) algorithms is an effective way to implement them in constrained embedded devices. By collecting large amounts of input-output data, where inputs represent system states and outputs are MPC-generated control actions, NNs can be trained to replicate MPC behavior at a fraction of the computational cost. However, although the composition of the training data critically influences the final NN accuracy, methods for systematically optimizing it remain underexplored. In this article, we introduce the concept of optimally-sampled datasets (OSDs) as ideal training sets and present an efficient algorithm for generating them. An OSD is a parametrized subset of all the available data that 1) preserves existing MPC information up to a certain numerical resolution; 2) avoids duplicate or near-duplicate states; and 3) becomes saturated or complete. We demonstrate the effectiveness of OSDs by training NNs to replicate the University of Virginia’s MPC algorithm for automated insulin delivery in Type-1 Diabetes, achieving a fourfold improvement in final accuracy. Notably, two OSD-trained NNs received regulatory clearance for clinical testing as the first NN-based control algorithm for direct human insulin dosing. This methodology opens new pathways for implementing advanced optimizations on resource-constrained embedded platforms, potentially revolutionizing how complex algorithms are deployed.
- 30 May 2024
- Published by SAGE Publications in Diabetes Technology & Therapeutics
- Vol. 26 (6) , 375-382
Neural-Net Artificial Pancreas: A Randomized Crossover Trial of a First-in-Class Automated Insulin Delivery Algorithm
Background: Automated insulin delivery (AID) is now integral to the clinical practice of type 1 diabetes (T1D). The objective of this pilot-feasibility study was to introduce a new regulatory and clinical paradigm—a Neural-Net Artificial Pancreas (NAP)—an encoding of an AID algorithm into a neural network that approximates its action and assess NAP versus the original AID algorithm. Methods: The University of Virginia Model-Predictive Control (UMPC) algorithm was encoded into a neural network, creating its NAP approximation. Seventeen AID users with T1D were recruited and 15 participated in two consecutive 20-h hotel sessions, receiving in random order either NAP or UMPC. Their demographic characteristics were ages 22–68 years old, duration of diabetes 7–58 years, gender 10/5 female/male, White Non-Hispanic/Black 13/2, and baseline glycated hemoglobin 5.4%–8.1%. Results: The time-in-range (TIR) difference between NAP and UMPC, adjusted for entry glucose level, was 1 percentage point, with absolute TIR values of 86% (NAP) and 87% (UMPC). The two algorithms achieved similar times <70 mg/dL of 2.0% versus 1.8% and coefficients of variation of 29.3% (NAP) versus 29.1 (UMPC)%. Under identical inputs, the average absolute insulin-recommendation difference was 0.031 U/h. There were no serious adverse events on either controller. NAP had sixfold lower computational demands than UMPC. Conclusion: In a randomized crossover study, a neural-network encoding of a complex model-predictive control algorithm demonstrated similar performance, at a fraction of the computational demands. Regulatory and clinical doors are therefore open for contemporary machine-learning methods to enter the AID field. Clinical Trial Registration number: NCT05876273.
- 30 May 2024
- Published by SAGE Publications in Diabetes Technology & Therapeutics
- Vol. 26 (6) , 375-382
Neural-Net Artificial Pancreas: A Randomized Crossover Trial of a First-in-Class Automated Insulin Delivery Algorithm
Background: Automated insulin delivery (AID) is now integral to the clinical practice of type 1 diabetes (T1D). The objective of this pilot-feasibility study was to introduce a new regulatory and clinical paradigm—a Neural-Net Artificial Pancreas (NAP)—an encoding of an AID algorithm into a neural network that approximates its action and assess NAP versus the original AID algorithm. Methods: The University of Virginia Model-Predictive Control (UMPC) algorithm was encoded into a neural network, creating its NAP approximation. Seventeen AID users with T1D were recruited and 15 participated in two consecutive 20-h hotel sessions, receiving in random order either NAP or UMPC. Their demographic characteristics were ages 22–68 years old, duration of diabetes 7–58 years, gender 10/5 female/male, White Non-Hispanic/Black 13/2, and baseline glycated hemoglobin 5.4%–8.1%. Results: The time-in-range (TIR) difference between NAP and UMPC, adjusted for entry glucose level, was 1 percentage point, with absolute TIR values of 86% (NAP) and 87% (UMPC). The two algorithms achieved similar times <70 mg/dL of 2.0% versus 1.8% and coefficients of variation of 29.3% (NAP) versus 29.1 (UMPC)%. Under identical inputs, the average absolute insulin-recommendation difference was 0.031 U/h. There were no serious adverse events on either controller. NAP had sixfold lower computational demands than UMPC. Conclusion: In a randomized crossover study, a neural-network encoding of a complex model-predictive control algorithm demonstrated similar performance, at a fraction of the computational demands. Regulatory and clinical doors are therefore open for contemporary machine-learning methods to enter the AID field. Clinical Trial Registration number: NCT05876273.
- 8 September 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Aerospace and Electronic Systems
- Vol. 59 (6) , 8614-8623
Reactive and Predictive Control Scheme for Evasive Maneuvers in Aerial Robots
A theoretical control solution to improve navigation performance of an aerial vehicle, focusing on a quadcopter vehicle, is presented in this paper. The main control purpose is to endow the aerial vehicle with predictive and reactive properties (evasive maneuvers) to avoid collisions with dynamic objects (or other aerial agents) that may be in direct collision with it. The proposed control architecture is formed by three modules: a predictor algorithm, an upper-level command generator and a lower-level drone controller. The trajectory predictor algorithm gives a horizon of possible future positions where an object could collide with the aerial vehicle. These predictions are sent to the second module which, based on an artificial particle field, generates velocity commands to avoid possible collisions. These commands are then sent to the drone controller, which was designed using the Lyapunov formalism to guarantee an agile and stable response to the aggressive nature of the problem. The overall architecture was validated and tested in real time with different scenarios and using a cyber-physical twin framework, showing good capabilities to anticipate (predictive properties) and avoid (reactive properties) imminent collisions.
- 8 September 2023
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Aerospace and Electronic Systems
- Vol. 59 (6) , 8614-8623
Reactive and Predictive Control Scheme for Evasive Maneuvers in Aerial Robots
A theoretical control solution to improve navigation performance of an aerial vehicle, focusing on a quadcopter vehicle, is presented in this paper. The main control purpose is to endow the aerial vehicle with predictive and reactive properties (evasive maneuvers) to avoid collisions with dynamic objects (or other aerial agents) that may be in direct collision with it. The proposed control architecture is formed by three modules: a predictor algorithm, an upper-level command generator and a lower-level drone controller. The trajectory predictor algorithm gives a horizon of possible future positions where an object could collide with the aerial vehicle. These predictions are sent to the second module which, based on an artificial particle field, generates velocity commands to avoid possible collisions. These commands are then sent to the drone controller, which was designed using the Lyapunov formalism to guarantee an agile and stable response to the aggressive nature of the problem. The overall architecture was validated and tested in real time with different scenarios and using a cyber-physical twin framework, showing good capabilities to anticipate (predictive properties) and avoid (reactive properties) imminent collisions.
- Open Access
- 11 April 2022
- Published by Universitat Politecnica de Valencia in Revista Iberoamericana de Automática e Informática Industrial
- Vol. 19 (4) , 343-355
Reguladores basados en observadores de perturbaciones: principios de funcionamiento y métodos de diseño
Durante las últimas décadas, los reguladores lineales basados en observadores de perturbaciones han experimentado un interés creciente entre la comunidad científica, principalmente, debido a sus buenas propiedades para tolerar cambios o incertidumbres en los sistemas. En este tutorial se aborda una revisión de dichos reguladores, analizando sus elementos más característicos – esdecir: i) los modelos con entradas de perturbación, ii) los algoritmos observadores de perturbaciones, y iii) el diseño de leyes decontrol –, así como sus principales técnicas de diseño. Se consideran también algunos aspectos de la teoría del control que motivan y justifican la utilización de estos reguladores; principalmente: la incertidumbre de los modelos, su importancia dentro del paradigma del control robusto y la capacidad de los modelos perturbados para representar sistemas inciertos. El tutorial concluye con u nejemplo ilustrativo sobre el diseño de este tipo de reguladores para el control de glucosa en personas diabéticas (páncreas artificial).
- 11 April 2022
- Published by Universitat Politecnica de Valencia in Revista Iberoamericana de Automática e Informática Industrial
- Vol. 19 (4) , 343-355
Open AccessReguladores basados en observadores de perturbaciones: principios de funcionamiento y métodos de diseño
Durante las últimas décadas, los reguladores lineales basados en observadores de perturbaciones han experimentado un interés creciente entre la comunidad científica, principalmente, debido a sus buenas propiedades para tolerar cambios o incertidumbres en los sistemas. En este tutorial se aborda una revisión de dichos reguladores, analizando sus elementos más característicos – esdecir: i) los modelos con entradas de perturbación, ii) los algoritmos observadores de perturbaciones, y iii) el diseño de leyes decontrol –, así como sus principales técnicas de diseño. Se consideran también algunos aspectos de la teoría del control que motivan y justifican la utilización de estos reguladores; principalmente: la incertidumbre de los modelos, su importancia dentro del paradigma del control robusto y la capacidad de los modelos perturbados para representar sistemas inciertos. El tutorial concluye con u nejemplo ilustrativo sobre el diseño de este tipo de reguladores para el control de glucosa en personas diabéticas (páncreas artificial).
- 1 June 2021
- Published by Elsevier in ISA Transactions
- Vol. 112, 161-167
Predictive ESO-based control with guaranteed stability for uncertain MIMO constrained systems
- 1 June 2021
- Published by Elsevier in ISA Transactions
- Vol. 112, 161-167
Predictive ESO-based control with guaranteed stability for uncertain MIMO constrained systems
- Open Access
Predicting the future state of disturbed LTI systems: A solution based on high-order observers
Predicting the state of a system in a relatively near future time instant is often needed for control purposes. However, when the system is affected by external disturbances, its future state is dependent on the forthcoming disturbance; which is, in most of the cases, unknown and impossible to measure. In this scenario, making predictions of the future system-state is not straightforward and, indeed, there are scarce contributions provided to this issue. This paper treats the following problem: given a LTI system affected by continuously differentiable unknown disturbances, how its future state can be predicted in a sufficiently small time-horizon by high-order observers. Observer design methodologies in order to reduce the prediction errors are given. Comparisons with other solutions are also established.
Open AccessPredicting the future state of disturbed LTI systems: A solution based on high-order observers
Predicting the state of a system in a relatively near future time instant is often needed for control purposes. However, when the system is affected by external disturbances, its future state is dependent on the forthcoming disturbance; which is, in most of the cases, unknown and impossible to measure. In this scenario, making predictions of the future system-state is not straightforward and, indeed, there are scarce contributions provided to this issue. This paper treats the following problem: given a LTI system affected by continuously differentiable unknown disturbances, how its future state can be predicted in a sufficiently small time-horizon by high-order observers. Observer design methodologies in order to reduce the prediction errors are given. Comparisons with other solutions are also established.
- 1 December 2019
- Published by Elsevier in Systems & Control Letters
- Vol. 134
Extended state observer-based control for systems with locally Lipschitz uncertainties: LMI-based stability conditions
- 1 December 2019
- Published by Elsevier in Systems & Control Letters
- Vol. 134
Extended state observer-based control for systems with locally Lipschitz uncertainties: LMI-based stability conditions
- 1 January 2019
- Published by Elsevier in Control Engineering Practice
- Vol. 82, 14-23
Disturbance observer-based quadrotor attitude tracking control for aggressive maneuvers
- 1 January 2019
- Published by Elsevier in Control Engineering Practice
- Vol. 82, 14-23
Disturbance observer-based quadrotor attitude tracking control for aggressive maneuvers