A new bidirectional soft-switching multi-input dc-dc converter for automotive applications