A self-adjusting delay circuit for pixel read-out chips