Not sure what you mean by PID calculation frequency. PID control involves using a PID controller to set the behaviour of a feedback system... to make the output behave in a particular way in response to particular control inputs. If the system is a digital one... then choice of sampling frequency will definitely have an effect on control system behaviour. But.... for now.... what do mean by pid frequency?