I have the following issue:
I want to control a linear moving DC motor based on the feedback from a pod meter. The problem is that whenever the controller is slowing the motor down it starts to make a horrible peeping noise (caused by the PWM frequency of the controller) and since the error never gets to zero, this peep is constant untill the next command is issued. I trieed to find better settings for the PID controller such that it would reach the perfect position but I was out of luck.
We identified the following solutions:
- Get the PID to accept a small error and stop sending commands to the motor
- Disable the PID and replace it with an alogrithm that just moves to the disered position and turns the motor of (the motor is relativly slow and responds immidiatly to the command PID is therefor not necesary)
- Switch online to speed control wait for a period long enough to make sure that the pid algorithm is in its final fase (and effectivly only making noise and not moving the motor) and send a zero speed command
The interface to the SMC03A does however not support any of these opperations, do you have any suggestions?