Text this: Control of the photovoltaic emulator using fuzzy logic based resistance feedback and binary search