Rav Asher Weiss has an interesting explanation as to why Yosef did not notify his father immediately when he was appointed second to the king.
He waited for the seven years of plenty to pass and well into the years of famine before he brought his father, Yakov down to Egypt. He must have known how much grief was caused by his brothers and he should have tried to alleviate that pain as soon as possible.
The Ramban gave an explanation that Yosef felt it was necessary that his dreams be proven as true. This is difficult to understand when taking into account Yakov’s grief.
Rav Weiss explained that Yosef needed to weigh the consequences of notifying his father in terms of what harm would come to his brothers.
He was aware of the story of Yehuda and Tamar, that it would be better to be thrown into a fiery furnace, rather than embarrass someone.
If he would have sent word to his father immediately, his brothers would have been put to great shame. Everything would have been exposed, including their lies, and selling Yosef as a slave.
If he allowed things to play out as they did, his brother’s honor would have been spared. This is why he accused them of being spies, incarcerated Shimon, and demanded that Binyamin be brought to Egypt.
All of this lightened the blow, so that when he did reveal himself, it was clear that it was all part of a Divine plan. The behavior of the brothers didn’t look so bad, especially after they showed genuine remorse.
This explanation of Rav Weiss does make sense. Despite the extra years of grief of Yakov, it was more important to save his brothers the shame that might have destroyed them.