MandM

Discussion in 'The Projects Forum' started by nsaspook, Oct 10, 2012.

  1. nsaspook

    Thread Starter AAC Fanatic!

    Aug 27, 2009
    2,913
    2,187
    Motor Manipulator. MANDM

    This was a work related project so I can't give all the hardware details but the system software is GPL'd and it's been uploaded to github along with some pictures and videos of the prototypes that were built and operational tuning of the controller.

    My task was to build a controller using a PIC18 that emulates the motor controllers in some old equipment. These older controllers don't use modern DC motor PWM or H-bridge controllers but have relays and resistors to control movement. For MANDM to also to be a high fidelity control unit it had to use the same methods of control so a technician rebuilding a part could watch it move in the same way as when installed in a machine.

    The controller handles 3-axis motor control via a system of 8 DPDT relays and slowing resistors for 24 or 5 volt DC motor drive with analog 10 turn pot voltage or digital encoder 500 counts per turn position feedback.

    The user interface is a 4*20 LCD with several status leds. User input is from several front panel push-buttons with two optical rotary encode dials to select menu options and to control motors in either free movement or tracking modes. Data-logging is done via a RS-232 port that also provide and command interface for detailed motor controller information.

    The RS-232 port also handles the main controller commands, that software module is not included. :(

    [​IMG]

    Software:
    https://github.com/nsaspook/mandm.git

    Images and videos:
    http://www.flickr.com/photos/nsaspook/sets/72157630632759744/with/8073729225/
     
  2. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    Just from what you've said, I'm not sure you can meet the requirements for the Completed Project collection. The main issue is local documentation

    Any chance you can stick a generic motor on this sucker? People are always needing a motor controller, the 3D printer thread comes to mind.

    And now for the boilerplate:

    Please read the rules of the Completed Projects forum.

    This project has sat in limbo basically because it didn't meet the above requirements. If you want to resubmit this entry please rework the entry to meet the requirements, then drop one of the moderators a PM pointing to it. If it is acceptable a moderator can move it back to the Completed Projects forum and clean up notices and suggestions (making them invisible).

    All documents must be hosted locally. AAC allows for attachments and albums, use them. You Tube video links allowed, but they in no way constitute proper documentation.

    As usual this post will self destruct if the requirements are met.
     
  3. nsaspook

    Thread Starter AAC Fanatic!

    Aug 27, 2009
    2,913
    2,187
    I can't really make all the requirements so putting it in the "Completed Project collection" was a mistake on my part so I put it inEmbedded Systems and Microcontrollers instead a few days ago.

    You can delete this thread is you like. :D

    You could but the motor adjustment requirements for this device are pretty different for a printer. Focus, tuning and aiming direction for high energy ION beams producing high levels of EMI and RF based transients that would eat a generic motor driver for lunch..

    The source code could be a good example for someone writing motion control code for something built in this century but I think a normal PWM chip based controller would be better.

    This is an example of the type of machine my controller would be used in.
     
    • imp.jpg
      imp.jpg
      File size:
      39.5 KB
      Views:
      12
  4. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    No problem, and better luck next time.

    I'll moderate this in a day or so.