How often do you walk him?
I find that Poppy barks when she is bored... especially at night she will look out of the window and bark at her own reflection.
When she gets like this I play ball with her or take her out for a walk.. A tired yorkie is a happy yorkie (and usually a quiet one too)