Docsity

Lance's Smith Chart Program: A Comprehensive Guide, Study notes of Electrical Engineering

Toggle sidebar
bg1
Lance’s Smith Chart Program Introduction
Or
“All the help you’re going to get until Lance figures out how to generate Windows Help”
Lance Lascari
Changes 3/16/2003
• Changed the location of the install slightly
• Moved some features from a more advanced version I was working on (and gave up on certain features such
as scalable fonts, variable trace widths, etc.). Only major feature added was a fix to the print preview, that
should now work.
Changes on this edit (4/6/2002)
• Cleaned up more dialog boxes
• May have fixed a bug in the trajectory plotting (surprised it didn’t stand out before)
• Added “adaptive” VSWR circle, text display of VSWR, Mismatch Loss, /Return loss
• Added “flip” network around command (not sure if it works perfectly) CTRL-F
• Added “simple filter synthesis” wizard – for lumped LPF and HPF’s.
Changes on this edit (10/28/2001)
• Cleaned up some dialog boxes
• Mainly a “safety” release as I went through and put some headers in all the source files
• Added new “check boxes” to the setup dialog that pretty much makes it so that anything that is a setup
parameter is handled in the setup dialog. Specific additions were
o Q arc button
o Admittance circle button
o Text marker button
o Gamma mode button
Changes on this edit (8/24/2001)
• MatchMe now makes a lame attempt at compensating for the complex source (starting impedance) and load (Goal
impedance) by matching the reactive parts (or duplicating them)
• Overall MatchMe got some redo – still quite crude and not optimal, but it probably will never be – it’s just to get you
started.
• Added a title option which gets saved and displayed at the top of the c hart. This causes old files saved to be
incompatible, sorry /
Changes on this edit (8/23/2001)
• MatchMe can now start at the higher or lower impedance (needs testing, any feedback welcomed)
• Added Edit-> options to bring chart setup dialog
• Added a “setup” button on the toolbar to bring up chart setup dialog
Changes on this edit (8/20/2001)
• Added the “MatchMe” wizard. This is a quick (very quick) and dirty implementation of something I did in
mathcad a few years ago. It computes N-section matching networks to transform one real impedance to
another. The options are lumped-LP, lumped-HP, and series QW transformers. The transformation is
“constant Q” at least with the lumped stuff, and only works between two real impedances. I figured it’s a good
place to start anyway…
Changes on this edit (8/19/2001)
• Added magnitude/angle format to impedance popup dialog
• I think I finally fixed the Q plotting problems!!!!
• Trajectory plotting “settings” changed slightly
• The Q of the starting impedance is accounted for, i.e. if that’s the highest Q of the network, that is what is
shown
Changes on this edit (8/18/2001)
• Added mucho rodent support – try left clicking or right clicking in the chart.
• Fixed the File->New behavior
• Added an “impedance” popup box for mouse-probing the chart and looking what impedance was at the probed
point
• More single-valued parameters can now be edited with the shortcut keys rather than pulling up the monster
setup dialog box (freq, precent tuning, Z0, etc).
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Lance's Smith Chart Program: A Comprehensive Guide and more Study notes Electrical Engineering in PDF only on Docsity!

Lance’s Smith Chart Program Introduction

Or “All the help you’re going to get until Lance figures out how to generate Windows Help”

Lance Lascari

Changes 3/16/

  • Changed the location of the install slightly
  • Moved some features from a more advanced version I was working on (and gave up on certain features such as scalable fonts, variable trace widths, etc.). Only major feature added was a fix to the print preview, that should now work.

Changes on this edit (4/6/2002)

  • Cleaned up more dialog boxes
  • May have fixed a bug in the trajectory plotting (surprised it didn’t stand out before)
  • Added “adaptive” VSWR circle, text display of VSWR, Mismatch Loss, /Return loss
  • Added “flip” network around command (not sure if it works perfectly) CTRL-F
  • Added “simple filter synthesis” wizard – for lumped LPF and HPF’s.

Changes on this edit (10/28/2001)

  • Cleaned up some dialog boxes
  • Mainly a “safety” release as I went through and put some headers in all the source files
  • Added new “check boxes” to the setup dialog that pretty much makes it so that anything that is a setup parameter is handled in the setup dialog. Specific additions were o Q arc button o Admittance circle button o Text marker button o Gamma mode button

Changes on this edit (8/24/2001)

  • MatchMe now makes a lame attempt at compensating for the complex source (starting impedance) and load (Goal impedance) by matching the reactive parts (or duplicating them)
  • Overall MatchMe got some redo – still quite crude and not optimal, but it probably will never be – it’s just to get you started.
  • Added a title option which gets saved and displayed at the top of the chart. This causes old files saved to be incompatible, sorry /

Changes on this edit (8/23/2001)

  • MatchMe can now start at the higher or lower impedance (needs testing, any feedback welcomed)
  • Added Edit-> options to bring chart setup dialog
  • Added a “setup” button on the toolbar to bring up chart setup dialog

Changes on this edit (8/20/2001)

  • Added the “MatchMe” wizard. This is a quick (very quick) and dirty implementation of something I did in mathcad a few years ago. It computes N-section matching networks to transform one real impedance to another. The options are lumped-LP, lumped-HP, and series QW transformers. The transformation is “constant Q” at least with the lumped stuff, and only works between two real impedances. I figured it’s a good place to start anyway…

Changes on this edit (8/19/2001)

  • Added magnitude/angle format to impedance popup dialog
  • I think I finally fixed the Q plotting problems!!!!
  • Trajectory plotting “settings” changed slightly
  • The Q of the starting impedance is accounted for, i.e. if that’s the highest Q of the network, that is what is shown

Changes on this edit (8/18/2001)

  • Added mucho rodent support – try left clicking or right clicking in the chart.
  • Fixed the File->New behavior
  • Added an “impedance” popup box for mouse-probing the chart and looking what impedance was at the probed point
  • More single-valued parameters can now be edited with the shortcut keys rather than pulling up the monster setup dialog box (freq, precent tuning, Z0, etc).
  • When a component is added, it can now be inserted. Previously it was always added after the last element in the network. Now it is always added to the “right” (i.e. after) the “selected” component.
  • Please read the other stuff below to understand better how the rodent support is supposed to work

Changes on this edit (8/16/2001)

  • Added complex elements, parallel /series RLC networks ( us x key to add). This is a very nice feature that turned out to take a little less work than I expected. The series RLC in a shunt configuration is very nice for simulating real capacitors in low-Z matching networks. At high frequencies it also helps. The parallel RLC was included for completeness, and also for the purposes of modeling coils with known parasitics.
  • Changed file format to include new element types (two types, series/parallel RLC, two configurations, Series, Shunt)
  • Added a button (with the clean “x” in it) for adding the complex element, also setup “e” edit function to handle the complex elements appropriately.
  • This version could use some serious testing, so I would appreciate anyone’s help who is willing to try it.
  • Cut down some of the fat in this document

Changes on this edit (8/15/2001)

  • Added (C,R,L,T) keystrokes for quickly adding parts with keyboard (bye bye mouse!)
  • Added new dialog boxes for R,C,L,TRL, so only the necessary parameters can be edited

Changes on this edit (8/13/2001)

  • Fixed the plotting of the Q curve so any dependence on Z0 is removed (gosh that was annoying).
  • There is still a Q quirk or two, hopefully you don’t notice it / Changes on this edit (8/12/2001):
  • Save As now works (got bungled before)
  • File-New (CTRL-N is shortcut) works
  • Added a “delete” button to the toolbar (looks like a sloppy X), acts just like the delete key
  • Fixed the coloring on some of the buttons that are on the toolbar so they don’t look so goofy (yes, they still are sloppy)
  • Printing seems to work with limited testing, print PREVIEW does not seem to work properly for me.
  • Mouse left/right button “increment/decrement active component” functionality removed for now, someday this will hopefully evolve into a real “click nearest the given trajectory” and select function but no work has been done on this yet.
  • Q curve plotting is still messed up at Z0 extremes.

Changes on this edit (8/7/2001):

  • File saving/loading now is included, seems to work. File menu re-enabled, as well as save icon and “CTRL-S”. should be pretty self explanatory.
  • Q curve plotting has been changed slightly, but there are still some bugs. TBD.

Changes on this edit (5/30/2001):

  • Trajectory plotting continues to get a little work here and there… there are now a couple of annoying warning messages (which are better than the program hanging). The two main sources of error are: o When a series transmission line is added to a point where it won’t cause any movement on the chart (i.e. start at 50 ohms and add a 50 ohm transmission line). This sucks, but I have to think about what to do about this case… o When an extremely low/high reactance is plotted, this causes a similar problem… as my new adaptive plotting routines try to show the movement as the element is added, it either doesn’t move far enough with each impedance step, or it moves too far.
  • Maybe I can come up with easy solutions to these problems… not sure.
  • Added Q curve to display (toggle on /off with the “q” key)… the Q plotted is the maximum Q of the network

Changes on this edit (5/28/2001):

  • Trajectory plotting has been entirely redone. In most cases this is good, some it wigs out (for very extreme impedances). If this gives you grief, please let me know. The new trajectory plotting may significantly slow down the response, let me know what you find… I will try to improve this.
  • New command: holding shift and using the up/down arrows will move Z0 of the chart up and down. Shift and rolling the mouse wheel does the same thing (for now)

Reactances of L/C are plotted next to text description

  1. extremely high reactances cause some grief. I need to revisit my scaling algorithm (too few lines along the trajectory get drawn so it looks screwy).
  2. the text can and will overlap the chart (maybe I’ll get fancy with fonts someday)

Keystroke (lowercase if letters)

Action Description/notes

w MatchMe wizard is started

A simple matching network synthesis routine, for limited cases (resistive to resistive) c, r, l, t Add component with keystroke

Cap, Resistor, Inductor, Transmission line A dialog box will pop up to ask for the device configuration (series, shunt, shunt (open or shorted for trl)) x Add “complex” component

Pops up a dialog box where you can configure the many parameters of the “complex” component. A “complex” component is a series or parallel combination of a resistor, inductor, and capacitor. See the Dialog box screen shot below for a better understanding a Toggle admittance curves

Turns on and off the admittance curves e Edit component Pops up Edit Component Dialog with parameters of the currently selected component when pressed f Set frequency for analysis

Brings up a simple dialog box for editing the chart frequency. m Toggle text labels This turns on and off the impedance labels (text) that appear at the endpoint of each trajectory g Toggle Gamma display Default display is in R+/-jX format, this turns on magnitude and angle. s Chart setup Brings up chart setup dialog when pressed

Keystroke (lowercase if letters)

Action Description/notes

p Set tuning percentage Brings up a simple dialog box for setting the amount that elements are tuned for each “kick” z Set characteristic impedance of chart (Z0)

Brings up a simple dialog box for editing the chart characteristic impedance q Toggle Q curve Toggles the Q curve on and off, the Q displayed is the maximum Q of the network This is a little quirky, and will be refined. Delete key Delete selected component

Obvious

Left arrow/right arrow Select component Moves back and forth through the “ladder” network selecting components Up arrow/down arrow Tune component Increases/decreases component value. For R, L, C this is obvious. For transmission lines, the only “tuned” item is the electrical length. Z0 and frequency must be set using the Edit Component dialog CTRL - Up arrow/down arrow

Tune Frequency Increases/decreases frequency value. SHIFT-Up arrow/down arrow

Tune Z0 of chart Increases/decreases Z value for zooming in and out on a section of the chart CTRL-F Flip Network Conjugates the starting and goal impedances, and swaps them. Swaps the components around in the network so that the source/load ends are swapped (kind of like reversing a two port)

closer to this point than the equivalent point of any other element. Note, the “midpoint” will NOT usually be on the actual trajectory, but on the center of the line that goes between the endpoints. I know this may seem odd, but it is probably the simplest way to implement such a function. b. Left click on the text that is on the left half of the screen (this may be helpful in very dense smith-chart-situations).

  1. At any time you can also delete a component from the “ladder” network by selecting it (left right arrow keys) and hitting your delete key.

That’s really about it. I’m looking forward to hearing the positive and negative feedback on the chart.

Figure 1: Main Program Window

Figure 2: Chart Setup Dialog

Figure 3: Component Edit Dialog (when capacitor is selected)

Figure 7: “Complex” element Editor. This is for editing compound elements such as Series RLC and Parallel RLC components. Both types can be placed in series or shunt with the circuit.

Figure 8: “Impedance Popup”. This is found when you right-click anywhere in the smith chart. I think it’s operation is fairly straightforward. In case it isn’t: the impedance that is displayed is that which is found where you clicked the mouse. You can for

Figure 10: Simple Filter Synthesis Dialog

Figure 11: And of course, the "About" box