Medical device for delivering at least one fluid, said medical device comprising: - an electromechanical device (8, 70), wherein said electromechanical device is a motor, - a control unit, - a main control unit and - a motion detector (10, 10a), wherein: - said control unit and said main control unit are realized with microprocessors, and - said motion detector (10, 10a) and said main control unit are configured such that information about the movement of said electromechanical device (8, 70) is provided by said motion detector (10, 10a) to said main control unit and said control unit, - said main control unit is configured to provide information regarding the control of the electromechanical device to said control unit, and, in response to receiving the information, said control unit is configured to in turn provide a control signal corresponding to the information to said electromechanical device (8, 70) to control said electromechanical device (8, 70), - said control unit is configured to perform a comparative operation between the control signal sent to said electromechanical device (8, 70) and the information about the movement of said electromechanical device, and - said main control unit is configured to compare the information provided by the main control unit to the control unit with the information about the movement of said electromechanical device provided by the motion detector to the main control unit, and, in the case of a mismatch between the information provided by the main control unit and the information about the movement of said electromechanical device, said main control unit is configured to interrupt a connection between the control unit and the electromechanical device. - an electromechanical device (8, 70), wherein said electromechanical device is a motor, - a control unit, - a main control unit and - a motion detector (10, 10a), wherein: - said control unit and said main control unit are realized with microprocessors, and - said motion detector (10, 10a) and said main control unit are configured such that information about the movement of said electromechanical device (8, 70) is provided by said motion detector (10, 10a) to said main control unit and said control unit, - said main control unit is configured to provide information regarding the control of the electromechanical device to said control unit, and, in response to receiving the information, said control unit is configured to in turn provide a control signal corresponding to the information to said electromechanical device (8, 70) to control said electromechanical device (8, 70), - said control unit is configured to perform a comparative operation between the control signal sent to said electromechanical device (8, 70) and the information about the movement of said electromechanical device, and - said main control unit is configured to compare the information provided by the main control unit to the control unit with the information about the movement of said electromechanical device provided by the motion detector to the main control unit, and, in the case of a mismatch between the information provided by the main control unit and the information about the movement of said electromechanical device, said main control unit is configured to interrupt a connection between the control unit and the electromechanical device. - said control unit and said main control unit are realized with microprocessors, and - said motion detector (10, 10a) and said main control unit are configured such that information about the movement of said electromechanical device (8, 70) is provided by said motion detector (10, 10a) to said main control unit and said control unit, - said main control unit is configured to provide information regarding the control of the electromechanical device to said control unit, and, in response to receiving the information, said control unit is configured to in turn provide a control signal corresponding to the information to said electromechanical device (8, 70) to control said electromechanical device (8, 70), - said control unit is configured to perform a comparative operation between the control signal sent to said electromechanical device (8, 70) and the information about the movement of said electromechanical device, and - said main control unit is configured to compare the information provided by the main control unit to the control unit with the information about the movement of said electromechanical device provided by the motion detector to the main control unit, and, in the case of a mismatch between the information provided by the main control unit and the information about the movement of said electromechanical device, said main control unit is configured to interrupt a connection between the control unit and the electromechanical device.