Pattern independent automatic bias control, high repeatability and reliability