Two input sum stage with multi-mode second-order filter.

##### Parameters

corner_frequency

gain_input1

gain_input2

quality_factor

##### Options
input2_polarity $$\in \{$$ NONINVERTING $$,$$ INVERTING $$,$$ INPUT_DISABLED $$\}$$

filter_type $$\in \{$$ LOWPASS $$,$$ HIGHPASS $$,$$ BANDPASS $$\}$$

filter_topology $$\in \{$$ TYPE_I $$,$$ TYPE_II $$,$$ UNDEFINED $$\}$$

opamp_mode $$\in \{$$ DEFAULT $$,$$ CHOPPER_STABILIZED $$\}$$

##### Inputs

input1 Half-Cycle

input2 Half-Cycle

##### Outputs

output Continuous

##### Transfer Function

$$V_{out} = \frac{\beta}{s^2 + \frac{2\pi f_c}{Q}s + 4\pi^2 f_c^2} \\~\\ \beta = \alpha \pm 4\pi^2f_c^2G_2V_{in2}(s) \\~\\ \alpha = \begin{cases} -4\pi^2f_c^2G_1V_{in1}(s) & \text{if LP} \\ -G_1V_{in1}(s)s^2 & \text{if HP} \\ -2\pi f_c \frac{G_1}{Q}sV_{in1}(s) & \text{if BP} \\ \end{cases}$$

##### Analog Resource Usage

$$\begin{array}{|c|c|} \hline \text{Opamps} & \text{2 of 8} \\ \hline \text{Capacitors} & \text{8 of 32} \\ \hline \end{array}$$