One more thing that i tried is that i changed the current 10k linear pot with a 100k pot not linear and i managed to regulate the current from 0 to almost 1A. But this is also not right. The led turns on ONLY when i regulate the current to zero and the voltages drop to -0.06 only then.
Hi Giova,
The LED should light EVERY time the circuit is regulating the current. The output voltage of U3 goes low which turns-on Q3 and the LED and pulls-down the output voltage through D9. U3 is in a feedback loop with the output-current-measuring resistor R7 so its output voltage drops just enough to regulate the output current.
Use the original 10K current setting pot again and measure the voltages at U3 with a high-input-resistance voltmeter:
1) Connect the meter's negative wire to the negative output terminal of the project.
2) Without a load, measure the voltage at the negative terminal of C1. It should measure 0V at any voltage or current setting.
3) Without a load, measure the voltage at pin 3 of U3. It should be about positive 1.7V with the current pot at maximum and drop to 0V smoothly as the current pot setting is reduced.
4) Without a load, measure the output voltage of U3 (pin 6), It should be positive 20-something volts most of the time and drop whenever the circuit current-regulates. Add a load to the PSU and adjust the output voltage to within its rating. Turn the current pot up and the PSU's output voltage should be at your setting and the output voltage of U3 should be at positive 20-something volts. Now turn the current pot down and the circuit should current-regulate according to the setting of the current pot and the voltage pot.
5) Add a resistive 2A or 3A load (don't use a lightbulb) to the PSU, set the output voltage so that it should draw 2A or 3A and turn-up the current pot. You should measure a positive voltage at pin 3 of U3. Turn down the current pot and the voltage at pin 3 of U3 should also drop and reach 0V when the circuit should current-regulate at a pot setting of 2A or 3A.