Welcome to subsim!!!
AOB is an art thats impossible to master, the best way to do this is to wait for a ship to be direclty in front of where your U BOAT is pointing so you can say 90 Degrees and be sure its right.
Remember AOB is not where the ship is in your view, its where you are if he was looking at you through binoculers.