IMPULSE
  • Home
  • Mechanical
  • Electrical
  • Software
  • Budget
  • Team

Servo Motors

         In order to move the Stewart platform and provide haptic feedback, there must be actuators on the platform's arms.  However, most types of actuator would not be suitable for the task.  Open-loop motors such as stepper motors would not be able to detect the user's motions, and normal closed-loop motors such as hobby servomotors would not be compliant enough for the user to push the platform.  We therefore decided to build our own servomotors.

        Building smooth, durable servos is usually difficult and expensive.  Precise gears are expensive, and motors that can exert continuous torque without overheating are rare.  Therefore, instead of starting from scratch, we bought six hobby servos and turned them into custom servomotors with the features we needed.  We removed the electronics, leaving only the motors, geartrains, and encoders.  We connected the motors to three double-H-bridge brushed motor drivers.  The encoders are simple analog potentiometers, so we wired them directly to the control board.  The control board is a Teensy 3.2 microcontroller board, with enough I/O pins to drive all six motors and read from all six potentiometers.

        The motors are driven with PID control loops, taking feedback from the encoders to correct their positions.  The PID control algorithm is a common algorithm used when speed and precision are important, and when feedback is available.  The Teensy has enough processing power to run six PID loops in parallel, while maintaining steady communication with the computer.

Modify 6 Servos

  • In order to control the servo motors and potentiometer's independently, the servos internals must be modified.
  1. Remove the back of the servo by undoing the 4 screws.
  2. Remove the logic board from the servo and cut the connection between the board and the DC motor. The potentiometer come out along with the board.
  3. Desolder the potentiometer from the board. 
  4. Connect new wires to the DC motor as well as the potentiometer (shown to the right). Be sure to wire all the servos in the same orientation. 
  5. Replace the servo backing while maintaining the wire connections. You may need to file out the existing opening to allow for the 5 wires to come out safely. 
Picture

Potentiometers

Picture
  1. For ease of simplicity and wire management, solder all 6 potentiometer power and ground leads together.
  2. Wire each of the signal pins to the teensy or other micro-controller with sufficient pins. 

Motor Controller

  • Each of the motor controllers are able to control 2 separate DC Motors
  • Each motor controller requires a 6 Volt input into the +12V power terminal and ground from the middle terminal (as shown to the right).
  • Wire Each motor to an output on a motor controller and be sure to keep the polarity the same for each motor. 
  • Each motor also requires one PWM pin in the enable input and two digital pins in the 1,2 input. 
Picture

aselker/poe-3d-mouse

Contribute to poe-3d-mouse development by creating an account on GitHub.

Create a free web site with Weebly
  • Home
  • Mechanical
  • Electrical
  • Software
  • Budget
  • Team