Accelerogram and stepper motor

I am thinking of making a code where I can read data from an accelerogram. I have an assembled table, with stepper motors that are with rubber bands to be able to move the base of the table.
An accelerogram has acceleration and time data. I was thinking of using myStepper.setSpeed (); In order to handle the motor speed, for that command the speed is entered in rpm, in which case it would be complicated for me I would use the library that handles the acceleration and for the time, I planned to put a delay before the myStepper.setSpeed () command; I mean, first I had the delay and then I gave it the speed. That way it would control the stepper motor with the time and speed that the accelerogram had. Is my idea good? Thanks a lot.

0avendan0:
I am thinking of making a code where I can read data from an accelerogram. I have an assembled table, with stepper motors that are with rubber bands to be able to move the base of the table.
An accelerogram has acceleration and time data. I was thinking of using myStepper.setSpeed (); In order to handle the motor speed, for that command the speed is entered in rpm, in which case it would be complicated for me I would use the library that handles the acceleration and for the time, I planned to put a delay before the myStepper.setSpeed () command; I mean, first I had the delay and then I gave it the speed. That way it would control the stepper motor with the time and speed that the accelerogram had. Is my idea good? Thanks a lot.

Really hard to determine what your idea is. What have you tried? What are the results?
Paul

Its much more natural to use steppers to set position - if you try to control speed you'll get drift
over time and lose the one big advantage of a stepper, drift-free control.

If the rubber bands are converting motor position into a force, then you should directly drive the
motor position from the accelerometer trace as the table acceleration will be proportional to applied
force. However that assumes the bands are long compared to the table displacements.

Also you'll have to arrange suitable damping to prevent resonance.

You could also double-integrate the accelerometer data and directly drive the table from this
by position, say by a toothed belt drive. However that means the same issue of drift has to be addressed.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.