Superbly reliable lighting Fast access to Don Lancaster books.
Don  Lancaster's Guru's Lair 
Fastsol Preliminary
Magic Sinewave Calculators  
15 or fewer pulses per quadrant
 
 
Click here for instant resources. CCS PIC MCU Compilers.

To find a magic sinewave:

To analyze a possible magic sinewave:

      By ANGLES: Enter or alter the desired start and ending angles
      for each pulse in their respective boxes. Then click on Enter
      Angles
      . An analysis of the funamental amplitude and power
      will appear, along with the harmonic strength of the first
      49 harmonics. Angles are limited to the first quadrant and
      must not overlap. The start angle must always be less than
      the stop angle as well.

To explore data table quantization effects:

      Optimize the magic sinewave. Then click on ONE quantization
      button to view the attainable distortion. Always reoptimize before
      changing your quant selection. Quantization values are only a
      guideline approximation.

To export angle or pulse data values:

      Cut and paste from their respective Export areas. Present format
      is in the PostScript language. This can be customized.

Click select your Magic Sinewave here:  

Set Amplitude Set Angles Improve Instacalc deBug
8-bit Quant 10-bit Quant 12-bit Quant 16-bit Quant 24-bit Quant

Pulse Positions
in Degrees
                   Target Amplitude: 
                          Target Power: 
  p1s:      Fundamental Amplitude: 
  p1e:      THD     is    percent.
  p2s:     h03:   h59:  
  p2e:     h05:   h61:  
  p3s:     h07:   h63:  
  p3e:     h09:   h65:  
  p4s:     h11:   h67:  
  p4e:     h13:   h69:  
  p5s:     h15:   h71:  
  p5e:     h17:   h73:  
  p6s:     h19:   h75:  
  p6e:     h21:   h77:  
  p7s:     h23:   h79:  
  p7e:     h25:   h81:  
  p8s:     h27:   h83:  
  p8e:     h29:   h85:  
  p9s:     h31:   h87:  
  p9e:     h33:   h89:  
  p10s:   h35:   h91:  
  p10e:   h37:   h93:  
  p11s:   h39:   h95:  
  p11e:   h41:   h97:  
  p12s:   h43:   h99:  
  p12e:   h45:   h101:
  p13s:   h47:   h103:
  p13e:   h49:   h105:
  p14s:   h51:   h107:
  p14e:   h53:   h109:
  p15s:   h55:   h111:
  p15e:   h57:   h113: 

Exportable Angle-Position Pairs ( scroll for all )

Exportable Delay-Pulsewidth Pairs ( scroll for all )