pyrex.custom.irex.frontends.bridge_rectifier_envelope_model¶
-
pyrex.custom.irex.frontends.
bridge_rectifier_envelope_model
(signal, cap=2e-11, res=500)¶ Model of a diode bridge rectifier envelope circuit.
Passes the input signal through a diode bridge rectifier envelope circuit consisting of four diodes in a diode bridge, a capacitor, and a resistor. The diode used is modeled after an HSMS 2852 diode.
- Parameters
- signalSignal
Signal object used as input to the circuit.
- capfloat, optional
Capacitance (F) of the circuit’s capacitor
C1
.- resfloat, optional
Resistance (ohm) of the circuit’s resistor
R1
.
- Returns
- Signal
Output of the envelope circuit for the given input.
Notes
Ascii depiction of the diode bridge rectifier envelope circuit:
+-----------+ | | | +---+---+ | | | | ^ D1 | D3 v | | | Vin +--gnd +-----+---+---out | | | | | | D4 ^ | | | v D2 C1 R1 | | | | | | +---+---+ +---+ | | | +-----------+ gnd