Exploring the Adoption of Collaborative Robots for the Preparation of Galenic Formulations
Abstract
1. Introduction
2. Related Works
2.1. Collaborative Robots in the Pharmaceutical Sector
2.2. End-User Robot Programming
3. Methodology
- User research: in this stage, various methods were adopted, such as interviews, document analysis, personas, and scenarios, for knowledge elicitation and domain comprehension, and to delineate users’ profiles and possible interaction flows with the system to be designed. A pharmacist, a nurse working in a pharmacy, and a PhD student in pharmacology were the three domain experts involved in the user research stage. The first two are used to prepare galenic medicines and know very well the work practice and its limitations; the third expert helped us study the domain by providing articles, books, videos, and comprehensible explanations. This stage was fundamental to understanding where and how automation could be introduced in pharmacists’ workflow by means of a collaborative robot and identifying the EUD techniques to be included in the environment for collaborative robot programming. Details about the activities performed and results obtained are provided in Section 4.
- Design and development: in this stage, a software system targeted at pharmacists, allowing them to define the tasks of a collaborative robot, was iteratively designed and developed. This activity started from the creation of low-fidelity mock-ups using Balsamiq (see [43] for more details on the results of this step); then, iterative development of a web-based application took place using JavaScript/Typescript React for the front-end and Python Django for the backend. The web application also integrates OpenAI ChatGPT to make pharmacists’ EUD activities easy and engaging. One of the three experts involved in the user research participated throughout the system prototyping activity, providing feedback and suggestions for improvement. This was fundamental to progressively refine the system and satisfy users’ expectations in terms of usability and user experience.
- Evaluation: an exploratory user study with nine real users was performed on the first version of the web application using direct observation during task execution and semi-structured interviews to collect qualitative data.
4. User Research
- Current procedures for the preparation of galenic formulations;
- Problems and challenges affecting current work practices;
- Opportunities and threats related to the introduction of collaborative robots.
4.1. Themes That Emerged from the Interviews
4.1.1. Current Procedure for the Preparation of Galenic Formulations
- Formulation Design: The first step is to determine the composition of the galenic solution, including the active pharmaceutical ingredients (shortly, ingredients in the following) and excipients.
- Solubility Assessment: This step helps in selecting appropriate solvents and co-solvents to achieve the desired solubility and stability of the solution.
- Ingredient Weighting: Accurate weighting of ingredients and excipients is crucial to ensure the formulation meets the desired specifications.
- Mixing and Dissolution: The weighed ingredients are mixed and dissolved in the chosen solvent(s). Different mixing techniques, such as stirring, shaking, or vortexing, are employed to ensure uniform distribution and dissolution of the ingredients. In technologically advanced pharmacies, an automatic mixer is used in this step, but most pharmacists still adopt a manual process.
- pH Adjustment: Depending on the formulation requirements, the pH of the solution may need to be adjusted.
- Filtration and Clarification: To remove any particulate matter or undissolved solids, the solution may undergo filtration using filters of appropriate pore sizes.
- Quality Control and Analysis: The prepared galenic solution is subjected to rigorous quality control measures to ensure its safety, efficacy, and compliance with regulatory standards.
- Packaging: Packaging consists of transferring the solution into the capsules, ensuring uniformity of dosage, and avoiding cross-contamination. In this phase, a specialized piece of equipment, called an operculator or operculating machine, is used to divide capsules into two halves, filling them with the galenic preparation and then sealing capsules. Specifically, the human operator places void capsules in the cavities of a grid, and then the grid is inserted into the operculator, which is used to separate the capsules into two halves. Different grids can be used, whose cavities correspond to the shape and size of the capsules to be produced. Then, the human operator fills the bottom half of the capsules with the galenic preparation, and once this activity is completed, the operculator is used again for proper alignment of the top halves with the bottom ones and to ensure their sealing by applying controlled compression force.
- Storage: The storage step consists of transferring the capsules from the operculator into suitable containers, such as glass or plastic bottles.
4.1.2. Problems and Challenges Affecting the Current Work Practice
4.1.3. Opportunities and Threats Related to the Introduction of Collaborative Robots
4.2. Human–Robot Collaboration in Galenic Preparation
4.3. User Requirements for the EUD Environment
5. Interaction Design
- Design time: here, PRAISE supports end users in defining domain items, namely, objects (e.g., operculator grids, containers, etc.) that the robot must recognize and be able to manipulate and the mixing actions that the robot must be able to carry out during the mixing and dissolution phase. In this stage, the EUD environment exploits image recognition algorithms and graphic interfaces to allow pharmacists to “teach” the robot domain concepts. A basic setting of the system can be prepared by software developers, but pharmacists must be able to extend the domain when needed, e.g., new grid types must be recognized, and new mixing actions must be performed by the robot.
- Programming time: the EUD environment supports the definition of tasks for the preparation of galenic formulations using a multi-modal approach based on a chat-based interface integrating an LLM and a graphic interface; the latter permits the verification of the programmed task and is crucial to obtain adequate system explainability and trustworthiness. In fact, the natural language dialogue with the chat-based interface exploiting the LLM leads to the definition of a robot program, whose correctness must be verified by the user before its deployment. Since the user is not an expert in robot programming, representing the program as a sequence of blocks in the graphic interface allows the user to evaluate program correctness and directly modify the blocks and/or their parameters if needed.
- Execution time: the execution of the programmed tasks requires collaboration between the pharmacist and the robot. For example, chemicals can be put by the pharmacist in a specific bowl, and the robot can subsequently perform a blending activity; to ensure effective collaboration, proper human–robot coordination must be managed through the system.
6. Interaction with PRAISE to Create Robot Programs
Listing 1. JSON structure of the defined task. |
7. Discussion
7.1. Findings from an Exploratory User Study
7.2. Design Implications
7.3. Limitations of the Work
8. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Fortané, N. Antimicrobial resistance: Preventive approaches to the rescue? Professional expertise and business model of French “industrial” veterinarians. Rev. Agric. Food Environ. Stud. 2020, 102, 213–238. [Google Scholar] [CrossRef] [PubMed]
- Burlo, F.; Zanon, D.; Minghetti, P.; Taucar, V.; Benericetti, G.; Bennati, G.; Barbi, E.; De Zen, L. Pediatricians’ awareness of galenic drugs for children with special needs: A regional survey. Ital. J. Pediatr. 2023, 49, 76. [Google Scholar] [CrossRef]
- Uriel, M.; Marro, D.; Gómez Rincón, C. An Adequate Pharmaceutical Quality System for Personalized Preparation. Pharmaceutics 2023, 15, 800. [Google Scholar] [CrossRef]
- EudraLex European Commission. Good Manufacturing Practice (GMP) Guidelines; EudraLex European Commission: Brussels, Belgium, 2023. [Google Scholar]
- World Health Organization. Health Products Policy and Standards; World Health Organization: Geneva, Switzerland, 2023. [Google Scholar]
- Mathew, R.; McGee, R.; Roche, K.; Warreth, S.; Papakostas, N. Introducing Mobile Collaborative Robots into Bioprocessing Environments: Personalised Drug Manufacturing and Environmental Monitoring. Appl. Sci. 2022, 12, 10895. [Google Scholar] [CrossRef]
- Wolf, Á.; Wolton, D.; Trapl, J.; Janda, J.; Romeder-Finger, S.; Gatternig, T.; Farcet, J.B.; Galambos, P.; Széll, K. Towards robotic laboratory automation Plug & Play: The “LAPP” framework. SLAS Technol. 2022, 27, 18–25. [Google Scholar] [CrossRef] [PubMed]
- Sauppé, A.; Mutlu, B. The Social Impact of a Robot Co-Worker in Industrial Settings. In Proceedings of the CHI ’15: 33rd Annual ACM Conference on Human Factors in Computing Systems, Seoul, Republic of Korea, 18–23 April 2015; pp. 3613–3622. [Google Scholar] [CrossRef]
- Löfving, M.; Almström, P.; Jarebrant, C.; Wadman, B.; Widfeldt, M. Evaluation of flexible automation for small batch production. Procedia Manuf. 2018, 25, 177–184. [Google Scholar] [CrossRef]
- Lieberman, H.; Paternò, F.; Wulf, V. End User Development (Human-Computer Interaction Series); Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
- Paternò, F.; Wulf, V. (Eds.) New Perspectives in End-User Development; Springer: Cham, Switzerland, 2017. [Google Scholar] [CrossRef]
- Barricelli, B.R.; Cassano, F.; Fogli, D.; Piccinno, A. End-user development, end-user programming and end-user software engineering: A systematic mapping study. J. Syst. Softw. 2019, 149, 101–137. [Google Scholar] [CrossRef]
- Beschi, S.; Fogli, D.; Tampalini, F. CAPIRCI: A multi-modal system for collaborative robot programming. In Proceedings of the End-User Development: 7th International Symposium, IS-EUD 2019, Hatfield, UK, 10–12 July 2019; Proceedings 7. Springer: Berlin/Heidelberg, Germany, 2019; pp. 51–66. [Google Scholar]
- Fogli, D.; Gargioni, L.; Guida, G.; Tampalini, F. A hybrid approach to user-oriented programming of collaborative robots. Robot. Comput.-Integr. Manuf. 2022, 73, 102234. [Google Scholar] [CrossRef]
- Shneiderman, B. Human-Centered AI; Oxford University Press: Oxford, UK, 2022. [Google Scholar]
- Shneiderman, B. Human-Centered Artificial Intelligence: Reliable, Safe & Trustworthy. Int. J. Hum.-Comput. Interact. 2020, 36, 495–504. [Google Scholar] [CrossRef]
- Chu, X.; Fleischer, H.; Roddelkopf, T.; Stoll, N.; Klos, M.; Thurow, K. A LC-MS integration approach in life science automation: Hardware integration and software integration. In Proceedings of the 2015 IEEE International Conference on Automation Science and Engineering (CASE), Gothenburg, Sweden, 24–28 August 2015; pp. 979–984. [Google Scholar] [CrossRef]
- Fleischer, H.; Baumann, D.; Chu, X.; Roddelkopf, T.; Klos, M.; Thurow, K. Integration of Electronic Pipettes into a Dual-arm Robotic System for Automated Analytical Measurement Processes Behaviors. In Proceedings of the 2018 IEEE 14th International Conference on Automation Science and Engineering (CASE), Munich, Germany, 20–24 August 2018; pp. 22–27. [Google Scholar] [CrossRef]
- Fleischer, H.; Baumann, D.; Joshi, S.; Chu, X.; Roddelkopf, T.; Klos, M.; Thurow, K. Analytical Measurements and Efficient Process Generation Using a Dual–Arm Robot Equipped with Electronic Pipettes. Energies 2018, 11, 2567. [Google Scholar] [CrossRef]
- Ajaykumar, G.; Steele, M.; Huang, C.M. A Survey on End-User Robot Programming. Comput. Surv. 2021, 54, 164. [Google Scholar] [CrossRef]
- Barricelli, B.R.; Fogli, D.; Locoro, A. EUDability: A new construct at the intersection of End-User Development and Computational Thinking. J. Syst. Softw. 2023, 195, 111516. [Google Scholar] [CrossRef]
- Argall, B.D.; Chernova, S.; Veloso, M.; Browning, B. A Survey of Robot Learning from Demonstration. Robot. Auton. Syst. 2009, 57, 469–483. [Google Scholar] [CrossRef]
- Zhu, Z.; Hu, H. Robot Learning from Demonstration in Robotic Assembly: A Survey. Robotics 2018, 7, 17. [Google Scholar] [CrossRef]
- Liu, Y.; Li, Z.; Liu, H.; Kan, Z. Skill transfer learning for autonomous robots and human–robot cooperation: A survey. Robot. Auton. Syst. 2020, 128, 103515. [Google Scholar] [CrossRef]
- Alexandrova, S.; Tatlock, Z.; Cakmak, M. RoboFlow: A flow-based visual programming language for mobile manipulation tasks. In Proceedings of the 2015 IEEE International Conference on Robotics and Automation (ICRA), Seattle, WA, USA, 26–30 May 2015; pp. 5537–5544. [Google Scholar] [CrossRef]
- Paxton, C.; Hundt, A.; Jonathan, F.; Guerin, K.; Hager, G.D. CoSTAR: Instructing Collaborative Robots with Behavior Trees and Vision. In Proceedings of the 2017 IEEE International Conference on Robotics and Automation (ICRA), Singapore, 29 May–3 June 2017; pp. 564–571. [Google Scholar] [CrossRef]
- Resnick, M.; Maloney, J.; Monroy-Hernández, A.; Rusk, N.; Eastmond, E.; Brennan, K.; Millner, A.; Rosenbaum, E.; Silver, J.; Silverman, B.; et al. Scratch: Programming for All. Commun. ACM 2009, 52, 60–67. [Google Scholar] [CrossRef]
- Lovett, A. Coding with Blockly; Cherry Lake Publishing: Ann Arbor, MI, USA, 2017. [Google Scholar]
- Huang, J.; Cakmak, M. Code3: A System for End-to-End Programming of Mobile Manipulator Robots for Novices and Experts. In Proceedings of the HRI ’17: 2017 ACM/IEEE International Conference on Human-Robot Interaction, Vienna, Austria, 6–9 March 2017; pp. 453–462. [Google Scholar] [CrossRef]
- Weintrop, D.; Afzal, A.; Salac, J.; Francis, P.; Li, B.; Shepherd, D.C.; Franklin, D. Evaluating CoBlox: A Comparative Study of Robotics Programming Environments for Adult Novices. In Proceedings of the CHI ’18: 2018 CHI Conference on Human Factors in Computing Systems, Montreal, QC, Canada, 21–26 April 2018; pp. 1–12. [Google Scholar] [CrossRef]
- Schou, C.; Andersen, R.S.; Chrysostomou, D.; Bøgh, S.; Madsen, O. Skill-based instruction of collaborative robots in industrial settings. Robot. Comput.-Integr. Manuf. 2018, 53, 72–80. [Google Scholar] [CrossRef]
- Buchina, N.; Kamel, S.; Barakova, E. Design and evaluation of an end-user friendly tool for robot programming. In Proceedings of the 2016 25th IEEE International Symposium on Robot and Human Interactive Communication (RO-MAN), New York, NY, USA, 26–31 August 2016; pp. 185–191. [Google Scholar] [CrossRef]
- Buchina, N.G.; Sterkenburg, P.; Lourens, T.; Barakova, E.I. Natural language interface for programming sensory-enabled scenarios for human-robot interaction. In Proceedings of the 2019 28th IEEE International Conference on Robot and Human Interactive Communication (RO-MAN), New Delhi, India, 14–18 October 2019; pp. 1–8. [Google Scholar] [CrossRef]
- Misra, D.K.; Sung, J.; Lee, K.; Saxena, A. Tell Me Dave: Context-Sensitive Grounding of Natural Language to Manipulation Instructions. Int. J. Rob. Res. 2016, 35, 281–300. [Google Scholar] [CrossRef]
- Paternò, F.; Santoro, C. End-user development for personalizing applications, things, and robots. Int. J. Hum.-Comput. Stud. 2019, 131, 120–130. [Google Scholar] [CrossRef]
- Paternò, F. End User Development: Survey of an Emerging Field for Empowering People. ISRN Softw. Eng. 2013, 532659. [Google Scholar] [CrossRef]
- Maceli, M.G. Tools of the Trade: A Survey of Technologies in End-User Development Literature. In End-User Development; Barbosa, S., Markopoulos, P., Paternò, F., Stumpf, S., Valtolina, S., Eds.; Springer: Cham, Switzerland, 2017; pp. 49–65. [Google Scholar]
- Ponce, V.; Abdulrazak, B. Context-Aware End-User Development Review. Appl. Sci. 2022, 12, 479. [Google Scholar] [CrossRef]
- Andrao, M.; Gini, F.; Greco, F.; Cappelletti, A.; Desolda, G.; Treccani, B.; Zancanaro, M. “React”, “Command”, or “Instruct”? Teachers Mental Models on End-User Development. In Proceedings of the CHI ’25: 2025 CHI Conference on Human Factors in Computing Systems, Yokohama, Japan, 26 April–1 May 2025. [Google Scholar] [CrossRef]
- Costabile, M.F.; Mussio, P.; Parasiliti Provenza, L.; Piccinno, A. End Users as Unwitting Software Developers. In Proceedings of the WEUSE ’08: 4th International Workshop on End-User Software Engineering, Leipzig, Germany, 12 May 2008; pp. 6–10. [Google Scholar] [CrossRef]
- Vemprala, S.; Bonatti, R.; Bucker, A.; Kapoor, A. ChatGPT for Robotics: Design Principles and Model Abilities; Technical report; Microsoft: Washington, DC, USA, 2023. [Google Scholar]
- Norman, D.; Draper, S. User Centered System Design: New Perspectives on Human-Computer Interaction; Taylor & Francis: Oxford, UK, 1986. [Google Scholar]
- Gargioni, L.; Fogli, D.; Baroni, P. Designing Human-Robot Collaboration for the Preparation of Personalized Medicines. In Proceedings of the GoodIT ’23: 2023 ACM Conference on Information Technology for Social Good, Lisbon, Portugal, 6–8 September 2023; pp. 135–140. [Google Scholar] [CrossRef]
- Gargioni, L.; Fogli, D.; Baroni, P. Preparation of Personalized Medicines through Collaborative Robots: A Hybrid Approach to the End-User Development of Robot Programs. ACM J. Responsib. Comput. 2025. [Google Scholar] [CrossRef]
- Braun, V.; Clarke, V. Using thematic analysis in psychology. Qual. Res. Psychol. 2006, 3, 77–101. [Google Scholar] [CrossRef]
- Cripps, R.A. Galenic Pharmacy: A Practical Handbook to the Processes of the British Pharmacopoeia; J. & A. Churchill: London, UK, 1893. [Google Scholar]
- Tomić, S.; Sučić, A.; Martinac, A. Good manufacturing practice: The role of local manufacturers and competent authorities. Arch. Ind. Hyg. Toxicol. 2010, 61, 425–436. [Google Scholar] [CrossRef]
- Schrepp, M.; Hinderks, A.; Thomaschewski, J. Construction of a Benchmark for the User Experience Questionnaire (UEQ). Int. J. Interact. Multimed. Artif. Intell. 2017, 4, 40–44. [Google Scholar] [CrossRef]
- Norman, D.A. The Psychology of Everyday Things; Basic Books: New York, NY, USA, 1988. [Google Scholar]
- Corbett, E.; Weber, A. What can I say? addressing user experience challenges of a mobile voice user interface for accessibility. In Proceedings of the 18th International Conference on Human-Computer Interaction with Mobile Devices and Services, Florence, Italy, 6–9 September 2016; pp. 72–82. [Google Scholar]
ID | Age | Profession | Work Experience | Technical Proficiency |
---|---|---|---|---|
E1 | 32 | Pharmacist | 6 years | 3 |
E2 | 33 | Nurse assistant in pharmacy | 10 years | 4 |
E3 | 29 | PhD student in pharmacology | 2 years | 3 |
Part 1: Questions about the current work process. |
|
|
|
|
|
Part 2: Questions about the role of a collaborative robot in the preparation of galenic formulations (before asking these questions, a brief description of a collaborative robot in terms of a robot arm that can safely work close to the human was provided). |
|
|
|
|
Theme | Codes |
---|---|
Current procedure for the preparation of galenic formulations |
|
Problems and challenges in current work practice |
|
Opportunities and threats in introducing collaborative robots |
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gargioni, L.; Fogli, D.; Baroni, P. Exploring the Adoption of Collaborative Robots for the Preparation of Galenic Formulations. Information 2025, 16, 559. https://doi.org/10.3390/info16070559
Gargioni L, Fogli D, Baroni P. Exploring the Adoption of Collaborative Robots for the Preparation of Galenic Formulations. Information. 2025; 16(7):559. https://doi.org/10.3390/info16070559
Chicago/Turabian StyleGargioni, Luigi, Daniela Fogli, and Pietro Baroni. 2025. "Exploring the Adoption of Collaborative Robots for the Preparation of Galenic Formulations" Information 16, no. 7: 559. https://doi.org/10.3390/info16070559
APA StyleGargioni, L., Fogli, D., & Baroni, P. (2025). Exploring the Adoption of Collaborative Robots for the Preparation of Galenic Formulations. Information, 16(7), 559. https://doi.org/10.3390/info16070559