Force and Position Control of Mechatronic Systems: Design and Applications in Medical Devices