Stamp Keypad and Registers
Whale
Posts: 5
·I have an application where I want drive a stepper motor to advance a roller to move lengths of material. The distance is not fixed so needs to be programmable from a keypad. I want to use the steps of the stepper motor and the gearing to be able to move the material a predetermined distance.
······The lengths will be repeated so the values should be stored in a register so they can be recalled in the future if that length needs to used again.
······I would also like the steps that the stepper motor is taking to be visible on a readout.
The readout should display the present value being used as well as the register #. (ie - if we are using 20 programmable registers to store the values in, each register should be assigned a number so when these values are displayed that I can tell which register is in use. This number I would like to have displayed on a large 1" 2 digit 7 segment LED display)
Any help anyone can give me on this application would be most appreciated.
······The lengths will be repeated so the values should be stored in a register so they can be recalled in the future if that length needs to used again.
······I would also like the steps that the stepper motor is taking to be visible on a readout.
The readout should display the present value being used as well as the register #. (ie - if we are using 20 programmable registers to store the values in, each register should be assigned a number so when these values are displayed that I can tell which register is in use. This number I would like to have displayed on a large 1" 2 digit 7 segment LED display)
Any help anyone can give me on this application would be most appreciated.
Comments
kelvin
I am planning to use a 5:1 reduction belt drive to drive a 1.5" roller that is going to drive the·angle iron·I want to measure. I think that I should be able to attain about a .010" accuracy ( 1 step).
Can the acceleration of the stepper be controlled so the roller doesn't slip on start up or shutdown?
Should I use a separate encoder to monitor the material travel so I don't have to rely on the stepper for accuracy or is that over kill?
I think for ease of use that there should be external control switches to initiate the stepper and also a jog feature to allow the iron to be moved manually up to the cutter.
A future option that would be useful is to have a control relay that will initiate the cutter after a short delay ( also programmable) so this whole operation can be automated when all the bugs get worked out.
Wade
I don't know how big / strong the cutter is, but if you implement automatic cutting make sure you also implement good safety interlocks as well. I'm not experienced in industrial automation, but I'm sure others are and can offer suggestions. However, I'd see a requirement for either a complete hood with safety interlocks, or a two handed deadman switchs so that the cutter can not operate unless the operators hands are well away from it.
Jim
I am an industrial maintence electrician so I have worked on and designed automated equipment but not using a stamp to control the operation.
Good idea with the double pushbuttons to get the operators hands out of the way· before the cut is made.
Thanks,
Wade
1. Timing belts can do 2mm (better than 1/10 Inch). There is a good but expensive US supplier called
Special Drive Products http://www.sdp-si.com/ which I am sure many of your machine builders
use. They also supply an amazing set of catalogues (a must-have for builders of small machines)
2 I thought one chose stepper motors as follows - Calculate required torque, multiply this by a service
factor, multiply this by a safety factor, choose the next size up of stepper motor. No chance
of slip if your calculations are right (There are some big stepper motors available).
Kelvin, I agree that a rethink on any project is usually time well spent and there are often many
solutions to any engineering problem. I have found that the trick is choosing the one which best fits
you, the developer.
There is an old saying "Anything in life that is truly worth doing seems at first impossible".
Good luck Whale.
Kind Regards from Kwa Dukuza
John Bond
It would take some careful planning and trial/error to get it operating properly. Operation would be pretty simple, once you manually postion the piece at the exact measurement you want, you just store the encoder value to memory in the stamp, to be recalled for the next time it is required. After the first piece is cut, then the encoder would be reset to zero, ready for the next to be positioned. Also, you should look into a motor controller that has an encoder input built into it, easy to set up and interface with the stamp.They also have a ramping feature, which accelerates/deaccelerates the motor from the maximum speed, saving wear and reducing any frictional slippage. Solutions-cubed sells a couple of them and they are fairly inexpensive. I am pretty sure the motor driver you have there is the kind typically connected to a pc running nc control software. The stamp would then be only working as a controller to read your keypad input and to send out serial commands to the motor controller, as to move to a certain position. This would probably be the least expensive way to get it working.
kelvin
If you go through the math on this setup, the circumference of the 1.5" roller is 4.713" / 5(:1) = .942" per revolution of the stepper motor. 0.942 / 200 (steps) = .0047" per step. This what I figured my accuracy with. The cuts do not have to be exactly repeatable·so 1 to 2 mm accuracy is fine.
I was also concerned with being able to control the acceleration/ deceleration rate of the stepper to prevent slipping of the roller ( also the reason for the spring loaded pressure wheel).
To make this a more reliable·machine, a feedback encoder of some kind would be required.
My biggest concern is if there is someone who could help me with designing the code for the stamp. I have really very little programming exerience in this kind of programming.
Wade
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don Buczynski
http://www.buczynski.com
Thank you very much for the acceleration code. It is most appreciated.
Wade