A novel DSTATCOM with 5-level CHB architecture and selective harmonic mitigation algorithm