Skip to content

A piezoelectric bimorph bends with the voltage: electro-mechanics

FEM piezo_bimorph.py

A piezoelectric ceramic strains when a field is applied across it. Bond two layers poled in opposite directions into a cantilever and put a voltage across the pair: the same field makes one layer longer and the other shorter, and the beam bends. This is the series bimorph, the actuator in a piezo fan or a micro-positioner.

A piezoelectric bimorph cantilever bending as the voltage across it swings through one sine period, in millimetres, clamped at the left: the computed electric field along the poling, from -500 to 500 V/mm, in two layers (teal and brown, which swap as the voltage reverses), with the lines of the potential every 100 V in white and the two electrodes in ink. At +500 V the beam bends down, at -500 V up; the beam is drawn at 60 times its true displacement.

The beam over one voltage period, at sixty times its displacement, coloured by the field along each layer's own poling axis; the white lines are equipotentials.

The problem

Displacement \(\mathbf u\) and potential \(\varphi\), linked by the piezoelectric coupling tensor \(\mathbf e\), in plane stress:

\[\nabla\!\cdot\!\big(\mathbb C\boldsymbol\varepsilon-\mathbf e^{\mathsf T}\mathbf E\big)=\mathbf 0,\qquad \nabla\!\cdot\!\big(\mathbf e\,\boldsymbol\varepsilon+\boldsymbol\kappa^{\varepsilon}\mathbf E\big)=0,\qquad \mathbf E=-\nabla\varphi,\]

with a PZT-5A-like ceramic. \(\mathbf e\) is \(+\) in the upper layer and \(-\) in the lower. Euler–Bernoulli bending with the strain jump \(\pm d_{31}V/t\) gives the tip deflection

\[\delta=\frac{3\,d_{31}\,V\,L^2}{2\,t^2},\]

and keeping the field that the bending itself feeds back, with \(k_{31}^2=Yd_{31}^2/\kappa^\sigma\), multiplies it by \((1-k_{31}^2)/(1-\tfrac34k_{31}^2)\).

The jNO code

Two layers meshed with one conforming interface, each carrying its poling direction pol; both fields are P2:

up = jno.shape.rect(0, T / 2, L, T, size=0.06).name("up").attach(pol=1.0)
down = jno.shape.rect(0, 0, L, T / 2, size=0.06).name("down").attach(pol=-1.0)
d = (down + up).domain()
u, phi = d.unknown.vector(2, order=2), d.unknown.scalar(name="phi", order=2)

The coupling is written once, couple, the tensor \(\mathbf e\) on a strain, and used in both equations; the electrodes are the two Dirichlet conditions on \(\varphi\):

couple = lambda w: E31 * eps(w)[..., 0, 0] + E33 * eps(w)[..., 1, 1]  # e : eps(w), the coupling tensor on a strain
phi_y, psi_y = phi.bind(x=x, y=y).y, psi.bind(x=x, y=y).y
fem = jno.fem(
    [
        ddot(stress(u), eps(v)) + d.pol * phi_y * couple(v),  # div(C eps - e E) = 0, E = -grad phi
        KAPPA_S * dot(grad(phi), grad(psi)) - d.pol * psi_y * couple(u),  # div(e eps + kappa E) = 0
        u(*root) - (0.0, 0.0),  # clamped root
        phi(*top) - volts,
        phi(*bottom) - 0.0,
    ]
)

Result

83,115 unknowns, 500 V across a beam 20 mm long and 1 mm thick:

tip deflection value
computed −0.04943 mm
\(3d_{31}VL^2/(2t^2)\) −0.05130 mm (ratio 0.9635)
with the \(k_{31}^2\) correction −0.04966 mm (ratio 0.9953)

A second solve at \(-V/2\) gives \(-\tfrac12\) of the displacement to \(10^{-9}\): the model is linear.

References. A. Erturk and D. J. Inman, Piezoelectric Energy Harvesting (Wiley, 2011); IEEE Standard on Piezoelectricity, ANSI/IEEE Std 176-1987.

Full script

The whole script, as it runs in the tests
"""A piezoelectric bimorph cantilever: displacement and electric potential solved together, against the beam formula."""

import jax
import numpy as np

import jno

jax.config.update("jax_enable_x64", True)
run = jno.setup(__file__)
# PZT-5A-like ceramic in mm, N, V and mC (so MPa for stress, mC/mm^2 for charge density)
Y, NU = 6.1e4, 0.3  # Young's modulus (MPa) and Poisson ratio of the ceramic
D31, D33 = -1.71e-7, 3.74e-7  # piezoelectric strain constants (mm/V): strain per field along the poling axis
KAPPA = 1.53e-8  # permittivity at constant stress (mC/(V mm))
L, T, VOLTS = 20.0, 1.0, 500.0  # the beam's length and total thickness (mm), the voltage across it
lam, mu = Y * NU / (1 - NU**2), Y / (2 * (1 + NU))  # plane-stress Lame parameters
E31, E33 = (lam + 2 * mu) * D31 + lam * D33, lam * D31 + (lam + 2 * mu) * D33  # stress per unit field, plane stress
KAPPA_S = KAPPA - (E31 * D31 + E33 * D33)  # permittivity at constant strain

# two bonded layers, poled in opposite directions (pol = +1: along +y, -1: along -y)
up = jno.shape.rect(0, T / 2, L, T, size=0.06).name("up").attach(pol=1.0)
down = jno.shape.rect(0, 0, L, T / 2, size=0.06).name("down").attach(pol=-1.0)
d = (down + up).domain()
x, y, _ = d.variable("interior", split=True)
root, top, bottom = (d.variable(side, split=True) for side in ("left", "top", "bottom"))
u, phi = d.unknown.vector(2, order=2), d.unknown.scalar(name="phi", order=2)
v, psi = u.test(), phi.test()

grad, eps, tr = (lambda w: jno.np.jacobian(w, [x, y])), (lambda w: jno.np.symgrad(w, [x, y])), jno.np.trace
dot, ddot = jno.np.inner, lambda a, b: jno.np.inner(a, b, n_contract=2)
stress = lambda w: 2 * mu * eps(w) + lam * tr(eps(w)) * jno.np.identity(2)  # the ceramic's elastic stress
couple = lambda w: E31 * eps(w)[..., 0, 0] + E33 * eps(w)[..., 1, 1]  # e : eps(w), the coupling tensor on a strain
phi_y, psi_y = phi.bind(x=x, y=y).y, psi.bind(x=x, y=y).y


def bimorph(volts):
    """u and phi with the top electrode at `volts` and the bottom one grounded (the two layers share one field)."""
    fem = jno.fem(
        [
            ddot(stress(u), eps(v)) + d.pol * phi_y * couple(v),  # div(C eps - e E) = 0, E = -grad phi
            KAPPA_S * dot(grad(phi), grad(psi)) - d.pol * psi_y * couple(u),  # div(e eps + kappa E) = 0
            u(*root) - (0.0, 0.0),  # clamped root
            phi(*top) - volts,
            phi(*bottom) - 0.0,
        ]
    )
    sol = fem.solve(linear=jno.solve.lu())
    return fem, np.asarray(sol.u).reshape(-1, 2), np.asarray(sol.phi)


fem, disp, pot = bimorph(VOLTS)
tip = np.asarray(fem.field_points[fem.block_index(u)])[:, 0] > L - 1e-9
deflection = disp[tip, 1].mean()
classical = 3 * D31 * VOLTS * L**2 / (2 * T**2)  # series bimorph, E = V/t in both layers
k2 = Y * D31**2 / KAPPA  # electromechanical coupling k31^2: the field the beam's own bending feeds back
corrected = classical * (1 - k2) / (1 - 0.75 * k2)
half = bimorph(-VOLTS / 2)[1]  # linear problem: half the voltage, reversed, gives -1/2 of the displacement
print(f"bimorph: {fem.dofs} DOFs; tip deflection {deflection:.5f} mm, 3 d31 V L^2 / (2 t^2) = {classical:.5f} mm")
print(f"  ratio {deflection / classical:.4f}; with the coupling correction ({k2:.3f}) {deflection / corrected:.4f}")
assert abs(deflection / classical - 1) < 0.05  # the beam formula, to the slenderness and the coupling it neglects
assert abs(deflection / corrected - 1) < 0.01 and np.abs(half + disp / 2).max() < 1e-9 * np.abs(disp).max()