Variable frequency drives (VFDs) are used in automation and programmable logic control systems to run AC motors at variable speeds and provide smooth motor starts. A VFD adjusts the frequency and voltage supplied to the motor to control its speed. It converts the input AC voltage to DC, filters it with capacitors, and converts it back to AC at the desired output frequency using transistors to control the motor speed. VFDs allow motors to run at speeds between 50-100% of their rated speed by varying the frequency supplied.