A flexible power electronic converter system with rapid control prototyping for research and teaching.