Implementation of a peak-current-control algorithm within a field-programmable gate arrayIEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICSIF7.22007-02-0141PREAI