Hey woszwoz,
The same here. When I changed my PMG5 in 2010 for a quiet Mac Mini (C2D 2,66GHz) I also found my 20" ACD with the exact same behaviour - mine does the hum-thing like that:
Brightness on 5 (from 16) Points - no hum.
Brightness decreasing from 5 to zero: increasing hum.
Brightness increasing from 5 to 14: increasing hum.
Brightness on 15 and 16: no hum.
I searched the web and didn`t find deeper knowledge about this "feature". Someone wrote it could be the inverter. As far as I found out, it could be a pretty hard thing to repair that with "normal" technical skills.
Conclusion: I still love my display. It cost me round 750 € in 2005 and I planned to work with this one for the next 10-15 Years. It is pretty annoying that I now have to use it on only two or three brightness-positions, otherwise it gets on my nerves...!
Seriously, I wish, Apple would do a repair-program "for us 20-inch-users". So, please, Apple...! :-)
Until then: do the brightness-shuffle - altogether!
Chris