It first measures system voltage and current supplied by source. Then, ir calculates reactive power supplied by source. It compares this reactive power with zero and error is passed to PI controller which calculates firing angle. Firing signal of calculated firing angle is calculated and thyristor is fired at required angle. FCTCR generates(or consumes) required amount of reactive power.