TatianaResend / SPIF-A_v2

Development of a compact incremental stamping machine.
GNU General Public License v3.0
1 stars 0 forks source link

Receive the encoder signal and measure the positioning error #22

Open TatianaResend opened 1 year ago

TatianaResend commented 1 year ago
TatianaResend commented 1 year ago

I'm still not sure, but I don't think I can read the pulses in real time with code and calculate the positioning error. If I want to see the positioning error, I can see it in the Drive Software “Launch STEPPERONLINE”.

As it is in a closed loop, theoretically it will receive feedback and run accordingly if the PID values are correct. But I need to confirm this.

TatianaResend commented 1 year ago

Graphic in Drive Software with SpeedProfile and SpeedFeedback: SpeedMotorGrafic

Graphic in Drive Software with PositionProfile and PositionFeedback: PositionMotorGrafic

TatianaResend commented 1 year ago

Add this part when writing about Drive and Drive Software.

:pencil:

TatianaResend commented 1 year ago

A closed-loop stepper drive is a type of stepper motor driver that incorporates a feedback mechanism to improve the performance and accuracy of the stepper motor.

In a traditional open-loop stepper motor system, the motor rotates a certain number of steps in response to each command signal from the controller, but there is no feedback mechanism to confirm that the motor has actually moved that precise number of steps. This can lead to errors, especially when the load on the motor changes or when the motor is operating at high speeds.

A closed-loop stepper drive system, on the other hand, uses a feedback sensor to measure the actual position of the motor shaft and provide this information back to the driver. The driver can then adjust the number of steps sent to the motor to ensure that it reaches the desired position accurately. This closed-loop control helps to compensate for any errors that may occur and improve the overall performance and accuracy of the stepper motor system.

Closed-loop stepper drives are commonly used in applications that require high precision and accuracy, such as in CNC machines, robotics, and medical equipment.

TatianaResend commented 1 year ago

In the future, if there is an error in the positioning, I have to study the PID parameters

TatianaResend commented 1 year ago

The motor is not showing power, so see the encoder parameters.

TatianaResend commented 1 year ago

In principle the encoder is working correctly but the PID parameters can be improved.