zapta / ble_stepper_motor_analyzer

A low cost stepper motor analyzer that uses wireless BLE link to display the data in real time on a Windows/Mac/Linux PC.
40 stars 13 forks source link

[Q] Working? #6

Closed Sineos closed 1 year ago

Sineos commented 1 year ago

I have received a bunch from JLCPCB. I'd be grateful if you could take a look at https://drive.google.com/file/d/1WODmPNKCghbgU1xkgDg3Vb5cSd95qMt8/view Is this what is to be expected, i.e. does it work like it should?

Basically just

G0 F9000 X245.0
G0 F9000 X1.0

repeated on a 0.9 stepper with 64 microsteps.

zapta commented 1 year ago

Looks very good. The driver maintains a clean signal and high current at high speed.

I cannot see well the current graph (third from the top). Ideally it should be flat except for idle timeout where some drivers lower the current when the motor doesn't move. Can you send me a closeup that shows the signal and the Y axis?

On Sun, Jun 25, 2023 at 3:08 AM Sineos @.***> wrote:

I have received a bunch from JLCPCB. I'd be grateful if you could take a look at https://drive.google.com/file/d/1WODmPNKCghbgU1xkgDg3Vb5cSd95qMt8/view Is this what is to be expected, i.e. does it work like it should?

Basically just

G0 F9000 X245.0 G0 F9000 X1.0

repeated on a 0.9 stepper with 64 microsteps.

— Reply to this email directly, view it on GitHub https://github.com/zapta/ble_stepper_motor_analyzer/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQVMQMPE4MJTOLFDUJM473XNAE2LANCNFSM6AAAAAAZTBX47Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sineos commented 1 year ago

Playing around with the new toy currently :-)

grafik

What I'm wondering:

grafik

Why is this so asymmetrical, i.e. the Lissajous figure shifted to the right and top and the oscilloscope graph also shifted upwards?

zapta commented 1 year ago

Yes, I think that you need to calibrate the zeros of your sensor, it's a one time thing, and it may also solve the fluctuations in the third graph from the top.

  1. With the power off, disconnect the stepper cables (to have zero current)
  2. Power the analyzer the analyzer
  3. Press on the button on the PCB for a few seconds until the LED will blink 3 times, to indicate that the zero calibration values were stored properly on the device.

Please let me know how it worked for you.

Also, since you have multiple boards, you may want to look into the 'nick name' feature https://github.com/zapta/ble_stepper_motor_analyzer . You can assign board names such as MOTOR_X or EXTRUDER and then use those names instead of the numeric ids.

Zapta.

On Sun, Jun 25, 2023 at 10:52 AM Sineos @.***> wrote:

Playing around with the new toy currently :-)

[image: grafik] https://user-images.githubusercontent.com/4459312/248576705-6ccc66bb-4f43-434c-a8aa-35f1b7c7c754.png

What I'm wondering:

[image: grafik] https://user-images.githubusercontent.com/4459312/248576774-51f41015-3fe7-4a47-9bd0-aa25c4346a88.png

Why is this so asymmetrical, i.e. the Lissajous figure shifted to the right and top and the oscilloscope graph also shifted upwards?

— Reply to this email directly, view it on GitHub https://github.com/zapta/ble_stepper_motor_analyzer/issues/6#issuecomment-1606196501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQVMQM42UJ73GYNPY3B5H3XNB3GZANCNFSM6AAAAAAZTBX47Q . You are receiving this because you commented.Message ID: @.***>

zapta commented 1 year ago

... the third graph (current) shows the radius of the circle you see in the phase graph so if it's not centered by zero calibration, the radius is different in different angles and thus the third graph shows fluctuation, depending at what phase it happened to sample the X and Y currents. Very interesting. Never seen it before because I always zero calibrate the sensors first.

Zapta.

On Sun, Jun 25, 2023 at 4:30 PM Tal Dayan @.***> wrote:

Yes, I think that you need to calibrate the zeros of your sensor, it's a one time thing, and it may also solve the fluctuations in the third graph from the top.

  1. With the power off, disconnect the stepper cables (to have zero current)
  2. Power the analyzer the analyzer
  3. Press on the button on the PCB for a few seconds until the LED will blink 3 times, to indicate that the zero calibration values were stored properly on the device.

Please let me know how it worked for you.

Also, since you have multiple boards, you may want to look into the 'nick name' feature https://github.com/zapta/ble_stepper_motor_analyzer . You can assign board names such as MOTOR_X or EXTRUDER and then use those names instead of the numeric ids.

Zapta.

On Sun, Jun 25, 2023 at 10:52 AM Sineos @.***> wrote:

Playing around with the new toy currently :-)

[image: grafik] https://user-images.githubusercontent.com/4459312/248576705-6ccc66bb-4f43-434c-a8aa-35f1b7c7c754.png

What I'm wondering:

[image: grafik] https://user-images.githubusercontent.com/4459312/248576774-51f41015-3fe7-4a47-9bd0-aa25c4346a88.png

Why is this so asymmetrical, i.e. the Lissajous figure shifted to the right and top and the oscilloscope graph also shifted upwards?

— Reply to this email directly, view it on GitHub https://github.com/zapta/ble_stepper_motor_analyzer/issues/6#issuecomment-1606196501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQVMQM42UJ73GYNPY3B5H3XNB3GZANCNFSM6AAAAAAZTBX47Q . You are receiving this because you commented.Message ID: @.***>

Sineos commented 1 year ago

grafik grafik

Sigh A classic case of RTFM. Thanks for your support. Appreciated!

zapta commented 1 year ago

Awesome. Thanks for updating me.

I learned something new.

On Sun, Jun 25, 2023 at 10:37 PM Sineos @.***> wrote:

[image: grafik] https://user-images.githubusercontent.com/4459312/248674073-11681edd-d4f7-4ab4-988d-e846ec6fd844.png [image: grafik] https://user-images.githubusercontent.com/4459312/248674196-1b6d5c8f-4ad6-4a19-b2c8-9c8df2c5418f.png

Sigh A classic case of RTFM. Thanks for your support. Appreciated!

— Reply to this email directly, view it on GitHub https://github.com/zapta/ble_stepper_motor_analyzer/issues/6#issuecomment-1606686724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQVMQO33O6NAQUPNUDPOKDXNEN2ZANCNFSM6AAAAAAZTBX47Q . You are receiving this because you commented.Message ID: @.***>

Sineos commented 1 year ago

Thanks for the work and effort you put into providing this!