PID tuning for LS Mecapion setup with MESA 7i77

More
6 years 7 months ago #161407 by alex.statie
Hello everyone!

Trying to PID tune the following setup:

L7SA004A Driver and APM-SB04 motor controlled by Analog Speed input Mesa 7i77.

The setup works overall, but the motor encounters periodic shocks.

Attached the hal scope:



Any idea what causes this shocks?

Thanks!

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #161409 by PCW
Hard to tell if this is a noise issue or a tuning issue
Can you post your hal/ini files?

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #161411 by alex.statie
Attached.

The "problem" is on Axis Y - joint 2

File Attachment:

File Name: plasma.hal
File Size:10.7 KB

File Attachment:

File Name: plasma.ini
File Size:8.86 KB


Thank you!

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #161414 by PCW
Just to test whether this is a noise issue, can you set the encoder sample frequency to 1 MHZ (1000,000)

Note that if the drives are in velocity mode, FF1 does 99% of the tuning

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #161421 by alex.statie
Could you please give me just a bit more info on how to do that?

Should i create a new thread with higher frequency and assign the halscope to that thread?

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #161431 by PCW
setp hm2_5i25.0.encoder.muxed-sample-frequency 1000000

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.143 seconds
Powered by Kunena Forum