this part i understand and i fixed the problem.An 8vpp signal swings 4v above zero and 4v below zero, so for the pot, if it is connected to the output with no other resistors and no load, the output should be adjustable from 4v peak down to 0v peak which is 8vpp down to 0vpp. If you dont get that then either something is not connected right, the pot is not working properly, there is a load resistance that is too small connected to the arm, or there is an output offset. If you have an output offset you should see it go down to zero when you adjust the pot down to a low value, but when you adjust the pot upward you will see a wave that is not symmetrical about zero so it may go higher than lower (for example +5v down to -3v instead of +4v down to -4v). You can check for this, and also maybe draw a little circuit showing how you have the pot connected exactly. Also, check the pot with a meter to make sure it works and it is about the right value. A pot that is too high in value or too low in value would cause problems too depending on how you intend to load the arm.
but this is still not clear for me. i understand that 20k is the ideal feedback resistance. 1/180+1/20 = 18k this is 2k difference with 20kFirst, the 180k was calculated based on a 20k feedback value to begin with, but with 22k to begin with we end up with 99k because 99k in parallel with 22k is 18k which is 2k less than 20k, and with 22k we have 2k more than 20k, so with an ideal diode we have a gain range that is roughly equally low as it is high meaning the circuit should be able to 'find' the right gain dynamically. We can also figure in the diode drop to make this estimate more accurate which will tend to change the value of the series resistance (for example 77k).
but we have a 22k resistor so it is 1/18-1/22=1/99 is 99k
This part i understand.
But what does the 99k say? and how the gain range is working. i understand that an ACG circuit increases the gain when the signal is too low and decreases when the signal is too high. but how is that working in the system.