Research Article

On Optimal Truncated Biharmonic Current Waveforms for Class-F and Inverse Class-F Power Amplifiers

Algorithm 1

Input:
   //
   // , e.g. (the value of has no influence on the output results)
  ,   // , e.g.
   // half of the conduction angle
   // (current waveform is an even function of )
Output:
   ,   // parameters of optimal waveform of type
  begin
;  ;
for    to    do
   ;
   ; // expression (8)
   ;  ;
   for    to    do
    ;
    ;
    ;
   end for  //  end -loop
   ;
   if    do
    ;  ;  ;
   end if
end for  // end -loop
;
if    do
   print   “no solution found – increase the value of and try again”
else
   ;
   find such that ; // find index of the maximum element of
   ;  ;
end if
  end.