Table of Contents

  1. Introduction
  2. List of Features
  3. List of Tabs
    1. Main
    2. Limits
    3. Design
      1. Manual Hunting
      2. Automated Hunting
    4. Sweep
    5. Store
    6. Credits
  4. Download

Pi-Network Simulator

A free, open-source simulator and calculator for pi-network RF impedance transformers.

 home: ky8d.net/free 


Introduction    ↑   → 

An off-line Pi network calculator which works as a free-running loop. Thus no tedius Calculate button needing to be re-clicked again and again. Change any value to get an instant result. Or hunt automatically to find a match.

graphic
Main Tab

graphic
Design Tab

graphic
Sweep Tab


List of Features     ←   ↑   → 


List of Tabs     ←   ↑   ↓   → 

Program began life as a simple simulator, with bells and whistles added later. Thus simulation is the main tab.

  1. Main    ↑   → 

    Set the source impedance here. Value will carry across all tabs.

    Adjust component values for C1, L, and C2 at random to see what results. Thereby get a feel for how Pi networks function. Readouts show the load which any combination of settings transform to. Shown also are the losses avoided by such a match.

    For solving against a specific load, go to the Design tab instead.

  2. Limits     ←   ↑   → 

    This simulator mimics real-world components. Specify the ranges of C1, L, and C2 here.

    Find here also a setting named Divisions for changing the speed and accuracy of the Hunt button on the Design tab. Set higher for slower, more accurate hunting.

  3. Design     ←   ↑   ↓   → 

    For any value of Virtual R (by definition, less than both source and load) a match will exist at some Q or other. Said match might fall outside one or more component ranges (either user-set or default), in which case an out-of-range message will display.

    1. Manual Hunting    ↑   → 

      Adjust the control for Virtual R either by typing or clicking next to a digit, then using the up/down arrow keys. Observe how values then change for C1, L, C2, and Q.

      As with other cacluators, some combinations of C1, L, and C2 produce nonsensical results. These instances will show as NaN (Not a Number). Explanatory message appears in the window. A trifling change of any value will restore a sane result.

    2. Automated Hunting     ←   ↑ 

      Find that match which gives a hoped-for Q like so:

      1. Click the Hunt button.
        • Readout for Q will be replaced by an entry box for Q.
      2. Type the hoped-for Q into the box. Then press Enter.
        • Entry of a non-zero value triggers start-of-search.
        • Un-click Hunt if wanting to abandon the search.
        • Changing tab will also abandon the search.
      3. Observe continuing progress of search.
        • Entry box for Virtual R will ramp down in steps according to the Divisions setting from the Limits tab.
        • Entry box for Q will have changed back to a readout. Values will ramp up from zero toward chosen Q.
        • Instances of NaN will be skipped over without any issue.
      4. Hunting will stop when:
        • The hoped-for Q has been found.
        • A component limit has been been exceeded.
      5. If hunt was achieved coarsly with a low value set for Divisions entered into the Limits tab, then simply fine tune results manually with the up/down arrow keys on least digit of Virtual R.
  4. Sweep     ←   ↑   → 

    See a frequency sweep of the pi network's current settings. Click on a button to store them for comparison and/or exporting.

  5. Store     ←   ↑   → 

    See the collection of stored values here. Export them to a file if you wish.

  6. Credits     ←   ↑ 

    All that I myself did was to code existing formulae into LabVIEW. Here see the list of my sources. Also my standard EULA, given as a humorous poem.


Download     ←   ↑ 

You’ll need two things for it to run: my *.exe application itself, plus also the interpreter program on which it runs. Kind of like Java that way, except that the Java interpreter is probably pre-installed on your system. The LabVIEW run-time engine will not be.

  1. Download 1st:  LabVIEW Runtime Engine 
  2. Download 2nd:  KY8D_Pi_Network_Simulator.zip 
  3. Important! Best to employ a stand-alone ZIP archive software (like  7-Zip ) for extracting the *.exe file. Otherwise, Windows will issue dire warnings of an unrecognized app. Once extracted from out of its archive, however, Windows will know to pass it off to the LabVIEW Run-Time Engine instead.
  4. Source Code, for any who want it.