CCS PIC MCU Compilers. Click here for instant resources.
Don  Lancaster's Guru's Lair 
Fastsol Preliminary
Magic Sinewave Calculators  
23 or fewer pulses per quadrant
 
 
Click for latest energy updates. Superbly reliable lighting

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 Set
      Angles
      . An analysis of the funamental amplitude and power
      will appear, along with the harmonic strength of the first
      113 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:   h91:   
  p2s:     h05:   h93:   
  p3s:     h07:   h95:   
  p3e:     h09:   h97:   
  p4s:     h11:   h99:   
  p4e:     h13:   h101: 
  p5s:     h15:   h103: 
  p5e:     h17:   h105: 
  p6s:     h19:   h107: 
  p6e:     h21:   h109: 
  p7s:     h23:   h111: 
  p7e:     h25:   h113: 
  p8s:     h27:   h115: 
  p8e:     h29:   h117: 
  p9s:     h31:   h119: 
  p9e:     h33:   h121: 
  p10s:   h35:   h123: 
  p10e:   h37:   h125: 
  p11s:   h39:   h127: 
  p11e:   h41:   h129: 
  p12s:   h43:   h131: 
  p12e:   h45:   h133: 
  p13s:   h47:   h135: 
  p13e:   h49:   h137: 
  p14s:   h51:   h139: 
  p14e:   h53:   h141: 
  p15s:   h55:   h143: 
  p15e:   h57:   h145: 
  p16s:   h59:   h147: 
  p16e:   h61:   h149: 
  p17s:   h63:   h151: 
  p17e:   h65:   h153: 
  p18s:   h67:   h155: 
  p18e:   h69:   h157: 
  p19s:   h71:   h159: 
  p19e:   h73:   h161: 
  p20s:   h75:   h163: 
  p20e:   h77:   h165: 
  p21s:   h79:   h167: 
  p21e:   h81:   h169: 
  p22s:   h83:   h171: 
  p22e:   h85:   h173: 
  p23s:   h87:   h175: 
  p23e:   h89:   h177: 

Exportable: Angle-Position Pairs ( scroll for all )

Exportable: Delay-Pulsewidth Pairs ( scroll for all )

.

Debugging: Gauss-Jordan Input ( scroll for all )

Debugging: Gauss Reduction ( scroll for all )

Debugging: Full GJ Reduction ( scroll for all )