How do I realize a transfer function with multiple zeros?
The answer, before the interesting diversion:

A PID + a second derivative will do the trick:







simulate this circuit &ndash; Schematic created using CircuitLab

With transfer function:

$$
H(s) = -\frac{R_{11}}{R_6} C_1 R_1 C_2 R_2 s^2 - \frac{R_{11}}{R_7} C_3 R_3 s + \frac{R_{11}}{R_{10}}\frac{R_6}{R_5} + \frac{R_{11}}{R_9} \frac{1}{R_4 C_4 s}
$$

Which matches your transfer function of:

$$
H(s) = As^2 + Bs + C + \frac{D}{s}
$$

You didn't mention the signs of \$A\$, \$B\$, \$C\$ and \$D\$.

If you would like to reduce the number of op amps, you can combine the PID op amps into one using the information from this article.







simulate this circuit

With transfer function:

$$
H(s) = K \frac{(s/z_1 + 1)(s/z_2 + 1)}{s (s/p_1 + 1)(s/p_2 + 1)}
$$

Here, \$p_1\$ and \$p_2\$ are extra zeros.  Ideal PID controllers don't have either, "filtered derivative" PID controllers only have \$p_1\$, and "type 3" PID have both.  See the article for more information.

Where:

$$ R_1 = Z_{in}\qquad R_2 = \frac{R_1 z_2}{p_1 + z_2}\qquad R_3 = \frac{R_1 p_2 K}{z_1 (p_2 - z_1)}$$

$$ 
C_1 = \frac{p_1-z_2}{R_1 z_2 K}\qquad C_2=\frac{p_2 - z_1}{R_1 p_2 K}\qquad C_3=\frac{z_1}{R_1p_2K}
$$

You can work out the necessary values.

Now for the fun diversion:

So, I think that @Vladimir Cravero is correct, a transfer function with more zeros than poles is unphysical.

Physicists will think about this in terms of susceptibilities in the complex frequency domain (equivalent to what EEs refer to as transfer functions in the Laplace domain), and the Kramers-Kronig(KK) relations, however this can be extended to the [laplace domain](see appendix A) as well.

We know that the convolution theory allows us to take response functions in the time domain (\$h(t) \rightarrow H(s)\$)  and turn them into transfer functions in the laplace domain:

$$ H(s)V(s) = \mathcal{L}\left\{ \int_{-\infty}^{t} h(t-\tau)v(\tau)d\tau \right\}$$

However, we require that \$h(&gt;0)\$ is \$0\$, otherwise the transfer function is reacting to stimuli that hasn't happened yet.  Making sure that this requirement is obeyed is done by making sure that such a function obeys the KK relations in the Laplace domain.

The KK relations have two requirements:


Analyticity in the right half-plane of Laplace space.  This means no poles in the right half-plane.
\$\lim_{s\rightarrow \infty} H(s) = 0\$, and furthermore that it goes to zero at least as fast as \$1/|s|\$.  (This can apparently be relaxed a bit, but I'm not sure how, or how much.)


These requirements make sense:  we can't have any sort of gain for infinite frequency for any real system (energy conservation requires this), and any poles in the right half-plane would also lead to energy conservation violations, finite inputs would lead to infinite power eventually.

Given these requirements, the Kramers-Kronig relations give us a relationship between the real and imaginary parts of the transfer function:

$$ \Re\{H(s)\} ∝ PV \int_{-\infty}^{\infty}\frac{\Im\{H(s')\}}{s'-s}ds' $$

$$ \Im\{H(s)\} ∝ PV \int_{-\infty}^{\infty}\frac{\Re\{H(s')\}}{s'-s}ds' $$

Where \$PV\$ stands for Cauchy's Principle Value integral.

Ultimately, doing this integral isn't actually that important, but we need to make sure that the transfer functions obey the requirements of the KK relations.

For a system where there are more zeros than poles, it is pretty trivial to show that this doesn't hold.

But wait! While @Vladimir Cravero is ultimately correct, realizing a physical transfer function with more zeros than poles is not possible because we would break causality, @Chu is also correct, this is done all the time with PID controllers.  What gives?

The answer is that PID controllers (and all real systems) have low pass filters that give the bandwidth of the system.  The order of this low pass filter is determined by the order of the system.  For PID controllers, this shows up in the \$K_d\$,\$K_i\$ and \$K_p\$ values.  We don't actually have perfect Op amps where these are just numbers, they must always also include a low pass filter that gives the bandwidth of the op amp, and this adds an extra pole.  Furthermore, the response of the thing we are driving has a low pass filter within it (as must any physically realizable system).



Notes:


The KK relations are also known as the Hilbert transform, which I found out while doing the research for this post.  This might be a more well known name here in the EE community.
It is possible that there are typos here.  It is also possible that there are (weird) real valued causal systems that don't obey the KK relationships, but are still causal.  This would be an analog to non-hermitian hamiltonians which happen to have real valued eigenvalues and eigenvectors in quantum mechanics.  I'm not sure about this.  [edit: this paper should be looked at if you are interested in this question]
This actually continues to hold in the small signal limit for nonlinear systems. The nonlinear KK relations are still a thing, references available upon request.