FPGA-based control system of an ultrasonic phased array