Chemandy Electronics Logo Chemandy Electronics Logo CHEMANDY ELECTRONICS Suppliers of the Unusual

Matching Pi Attenuator Calculator

  Calculates the resistor values, attenuation, minimum attenuation, 'impedance', reflection coefficient, VSWR and return loss of a matching Pi attenuator. This can be built into a FLEXI-BOX and a transmission line (50 Ohm track) PCB is available which easily adapts for this circuit with one simple trimming operation. There is also a selection of 50 Ohm RF connectors available.

[pi attenuator circuit]


1) Enter the required input impedance, output impedance and attenuation then press "Calculate" below to obtain the Ideal resistor values.

  INPUT DATA
 
Input Impedance:   Ohms
Output Impedance:   Ohms
Attenuation:   dB
 
 
  IDEAL VALUES
 
Ideal Shunt In resistor:   Ohms
Ideal Shunt Out resistor:   Ohms
Ideal Series resistor:   Ohms
Minimum attenuation to achieve impedance match:   dB
 
 

  2) Change the calculated Ideal resistor values in the amber text boxes below to the nearest Preferred Resistor Values or to those available then press " Calculate" below to get the resulting attenuator parameters.

  SELECTED VALUES
 
Shunt In resistor:  Ohms 
Shunt Out resistor:   Ohms
Series resistor:   Ohms
Mismatch Losses:  Included
(see note below)  
 
  PARAMETERS
 
Forward Attenuation:   dB
Input Impedance:   Ohms
Input VSWR: 
Input Reflection Coefficient: 
Input Return Loss:   dB
 
 
Reverse Attenuation:   dB
Output Impedance:   Ohms
Output VSWR:   
Output Reflection Coefficient: 
Output Return Loss:   dB
 
 

This calculator uses JavaScript and will function in most modern browsers. For more information see About our calculators


  The required input and output impedance are used to calculate the minimum attenuation possible for correct impedance matching with an equation from RF Design Guide, Systems, Circuits and Equations by Peter Vizmuller Published by Artech House ISBN 0-89006-754-6

 Minimum attenuation = [Minimum attenuation equation] dB  Equation 1.

Where Zin is the input system characteristic impedance

Zout is the output system characteristic impedance

  Peter Vizmuller also gives equations for calculating the resistor values directly. This calculator uses equations that I have derived and first finds the output voltage with a source EMF of 2 Volts and therefore an input PD of 1 Volt. This calculation only applies to a matched circuit and a warning is given if matching cannot be achieved within the input constraints.

 [Output voltage equation] Volts  Equation 2.

  The individual ideal resistor values can now be found.

 [Ideal shunt in resistor equation] Ohms  Equation 3.

 [Ideal shunt in resistor equation] Ohms  Equation 4.

 [Ideal series resistor equation] Ohms  Equation 5.

 The traditional way of calculating attenuator values is using Voltage and Resistance as above but this calculator also includes Impedance Mismatch, which is rarely taken into account in attenuator calculators. As the real mechanism for Reflection at an Impedance Mismatch is that some electrons are reflected but there is no voltage change, it is more realistic to calculate using Current and Resistance. The results by calculating using Voltage or Current are identical which allows the possibilities that the change could be in voltage only or in Current only. It is easy to imagine the charged electrons taking different paths but an instantaneous change of charge is much more difficult to explain.

  The following simple equations show how Resistance and Current are used to find the Input Power and Output Power in order to find the Attenuation. A simple input to output Current or Voltage ratio would not suffice as there is a change in Impedance.

 [Attenuator Input impedance equation] Ohms  Equation 6.

  The EMF is again set at 2 Volts and the Incident Current is found by using Ohms Law.

 [Incident current equation] Amps  Equation 7.

  The Incident Power to the attenuator is calculated using I2 x R.

 [Incident Power equation] Watts  Equation 8.

  The Input Reflection Coefficient is calculated and this may have a negative value, indicating that there is a phase reversal of the Reflected current (and that the Characteristic Impedance of the source is higher than the Input Impedance of the attenuator). This negative sign is ignored for calculation purposes.

  [Reflection Coefficient equation]   Equation 9.

  The forward current into the attenuator is calculated using the Incident Current and the Reflection Coefficient if Mismatch Losses are selected in the calculator.

  [Forward Current] Amps  Equation 10.

  The current into the Series resistor is found using a current divider as described at https://engineering.usu.edu/students/tutoring/topics/electric-circuits/voltage-and-current-divider-circuits

  [Series current] Amps  Equation 11.

  The current divider is used again to calculate the Output Current from the Attenuator into the output load impedance Z0.

  [Output Current] Amps  Equation 12.

  The output current and output load impedance are used to calculate the output power.

  [Output power equation] Watts  Equation 13.

  The input power and output power are used to calculate the attenuation in the forward direction.

  [Forward attanuation equation] dB  Equation 14.

  Calculations are then repeated to find the reverse direction characteristics.

This calculator is provided free by Chemandy Electronics in order to promote the FLEXI-BOX

Calculation changed from Voltage to Current 22/4/2026

Mismatch Losses added on 31/12/2012


Return to Calculator Index