Integrating a BCL-AMP capacitive sensor to LinuxCNC

More
22 Jan 2025 23:47 - 23 Jan 2025 13:18 #319686 by prokopcio

A cleaner, linear response signal could be the ticket, as I have fiddled with the PID parameters quite a bit as well as my Z axis velocities and accelerations and it is still not really where I'd like it to be.

Have you considered linearizing the output (with lincurve) before feeding the linearized distance to the
PID loop?


This has already been done.

Have you seen linear graphs?

This has its drawbacks though.

Non-linear characteristics are very good because they have higher resolution/accuracy for useful focus ranges and lower for a larger distance which is not very important but you are right, it is more difficult to handle for a standard PID.

The sensor can be switched between linear and non-linear characteristics as needed and desired.

Last edit: 23 Jan 2025 13:18 by prokopcio.

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

More
24 Jan 2025 02:14 - 24 Jan 2025 02:16 #319741 by Uthayne

A cleaner, linear response signal could be the ticket, as I have fiddled with the PID parameters quite a bit as well as my Z axis velocities and accelerations and it is still not really where I'd like it to be.

Have you considered linearizing the output (with lincurve) before feeding the linearized distance to the
PID loop?
 


 

PCW: That is not something that I had thought to try. I'll have to give that some thought and see how it performs. Thanks for the tip


prokopcio, I'd recommend starting a new thread in this subforum so we can discuss your design. Looks promising!
Last edit: 24 Jan 2025 02:16 by Uthayne.
The following user(s) said Thank You: prokopcio

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

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