Controlling PWM of Peristaltic Pump using PID Controller

Hello, I need help about my project. I want to control PWM of peristaltic pump using PID controller. But I have a problem when the PWM Output below than 180, my pump stuck. I'm using peristaltic pump with 5000 rpm and driver motor L298N to control the PWM. The frequency of PWM set to 1000 Hz.

My question is, should I add additional circuit to gain the PWM? or any idea?

Sorry for bad english.

is the dosage small enough at say, 200? i.e. what is the minimum you need?

The PID loop should be able to detect that your pump is not pumping and increase power. Perhaps there is a mistake somewhere in the sketch but I cannot see it from here.