← Piezo Actuator / Articles
§7Article 7 of 13

Independent Research 3D-Printed Piezo Stick-Slip Actuator

A 15 V Sawtooth Drive for a Piezo Stack (TDA2050, DAC0800, Arduino Mega)

Published , last updated

After §M6, the only thing left for the drive board was to turn firmware into a sawtooth that ramps slowly from 0 up to 15 volts and then drops back down very fast. The slow ramp is the stick, where friction drags the slider along. Then the foot snaps back underneath it during the fast drop, which is the slip (§M1, Figure 3). From here on I call that fast drop the flyback.

01

The digital half

The waveform starts as a sawtooth lookup table in the Arduino Mega firmware. Timer 4 sets the timing. The table values are written out over the Mega's parallel ports (PORTA, PORTC and PORTL, one port per channel), so all three DAC channels update on the same tick [11, build guide]. There are three channels because the final design is a three-legged robot running 120°-offset waveforms (§M1). Phase 1 uses only one, channel 2 as of early August. The diagnosis section below explains the move.

Figure 1. Jumper wires from the Arduino Mega (bottom right) plugged into the channel 2 header, P2_DA2, July 20, 2026.
1 / Jumper wires from the Arduino Mega (bottom right) plugged into the channel 2 header, P2_DA2, July 20, 2026.

Each DAC0800 is an 8-bit converter, so the ramp is made of 256 small steps, each about 59 mV tall at full scale (Derived: 15 V ÷ 256). At the stack, a 59 mV step works out to a motion step under 8 nanometers (Derived: 2.0 µm stroke ÷ 256), which is far below anything the mechanics can resolve. The firmware default is 5 Hz. When I first read that number I assumed it was a conservative placeholder, but it is set by what the analog half can handle.

02

The analog half

Each DAC0800 outputs a current instead of a voltage. In the Liao design, that current goes into a TDA2050, an audio power amplifier chip. The TDA2050 is both the current-to-voltage converter (15 kΩ feedback resistor with 68 pF compensation) and the stage that drives the waveform into the load [11, build guide]. There is no separate op-amp stage. The rails come from the NICEPOWER bench supply, with two channels wired in series to make ±15 V.

Figure 2. The three TDA2050 amplifiers on their heatsinks, August 10, 2026.
2 / The three TDA2050 amplifiers on their heatsinks, August 10, 2026.

The load is the piezo stack, which is electrically a capacitor, and ours is 1.8 µF [9]. For a capacitor I = C·dV/dt, so how fast the voltage can change depends on how much current can flow in. The slow ramp is easy, but dropping 15 V across 1.8 µF in the sharp ~27 µs flyback the actuator wants takes about one ampere (Derived: I = C·ΔV/Δt = 1.8 µF × 15 V ÷ 27 µs ≈ 1.0 A, flyback time per first_motion_playbook.md §2, set by the TDA2050's current into the stack).

At 5 Hz the amp keeps up. It gives the full 0→15 V amplitude, and the flyback is sharp enough for a clean slip. Above roughly 20 Hz the sawtooth starts to break down, and the peak-to-peak amplitude drops to around 5 V (my bench observation). I don't know yet why the amplitude is the first thing to go, even though the ramp at 20 Hz is slow enough that it should barely draw current. Between 200 Hz and 1 kHz the amplitude falls to roughly 3–5 V p-p, and the flyback is visibly rounded off (measured 2026-07-13) [playbook §1].

A rounded flyback stops the actuator, because the slip phase needs the foot to leave fast. If the drop is slow, the foot does not slip, so the actuator takes no step. For that reason the bench frequency is 5 Hz, where the motion is invisible to the eye, so seeing it took §M8's interferometer.

The high-frequency breakdown could come from an RC-type bandwidth roll-off of the whole waveform, or from a slew or current limit that only affects the flyback. I haven't found out which one it is yet. The playbook has a test for it (sweep frequency while scoping the stack, watch what degrades first). August's bench days went to the motion diagnosis instead (§M10, §M11), so the test is still on the list. Its result will decide whether going "faster" can be an electronics upgrade or has to be a redesign.

On 2026-08-10 the flyback at the stack's own wires measured about 42 µs, against a commanded 60 µs. That means the amplifier sourced at least about 0.6 A into the stack at this rail voltage (Derived: 1.8 µF × 14.7 V ÷ 42 µs ≈ 0.63 A). That number is only a lower limit, because the board beat the commanded time that day. The 27 µs flyback the actuator wants needs about 1.0 A, and whether this board can source that much is the same open question as above.

03

A three-month error in the output voltage

From April until July 17, this project's own documents said the board's output was "~30 V p-p." The BOM and the build guide both said it, and the stroke and step-size projections were computed from it. That figure was wrong by a factor of two, which is embarrassing. The real output is ~15 V peak-to-peak, unipolar, 0 → +15 V [project CLAUDE.md §2, corrected 2026-07-17].

The 30 came from the supply. The board runs on ±15 V rails. Somewhere early on, the 30-volt span between the rails got written down as the signal amplitude, and every later document copied the number from the earlier ones. The number was never measured. It stayed in the docs for three months because it was plausible and I kept citing documents instead of measuring the pins.

I had entirely forgotten the day this error was corrected and had to reconstruct it afterward. On July 17 the stack wasn't moving, I was testing anything I could think of, and one of the attempts was brute force, stepping the bench supply's two series channels up to 30 V each (a ±30 V, 60-volt span across rails designed for ±15 [builder, confirmed 2026-08-06]), trying to push the output toward the 30 V p-p the documents promised.

The output topped out at 15 V p-p no matter what the rails did. That reading is the "user scope measurement" in the correction log. The log settled the question that same day with three sources that agreed: the scope reading, the build guide's own power section ("±15V for 15V p-p output"), and the original paper's manuscript [project CLAUDE.md §2, corrected 2026-07-17]. After that, every stroke projection was rescaled and the docs were searched for every stale "30 V" (§M2's spec box has the corrected value).

The brute-force attempt itself probably did some harm. That 60-volt span is far above the DAC0800's 36 V absolute maximum [design_notes §18 via CLAUDE.md §2], and all three channels share the same rails. My working hypothesis for the underperforming channel 1 (described below) is that this session is where it was damaged [builder hypothesis, 2026-08-06]. The three-channel comparison that would test it has not been run yet, so it stays a hypothesis.

04

Diagnosing the drive by scope and by ear

On the scope, the most important thing I caught was the frequency breakdown described above. The other diagnostic tool ended up being the sound of the stack. At 5 Hz it ticks once per flyback, and the tick is loud and sharp enough to notice right away. I started using that tick to check the drive.

3 / The rig running on August 10, 2026, with sound. Each tick is one flyback, five times a second.

Early on, when I drove the stack from DAC channel 1, the ticks were noticeably quieter. After I switched the drive to channel 2, with the same firmware and the same stack, they got loud. So channel 1 was underperforming, and I noticed it by ear first.

My suspect is the July 17 overdrive session. Channel 1 was the one wired to the stack at the time, and my best guess is that some chip in its path took the damage [builder hypothesis, 2026-08-06]. The tick only shows that channel 1 is weaker. How much weaker still hasn't been measured, with the never-loaded channel 3 as the control.

My bench notes say the stack is connected across two channel outputs ("15 volts across Ch1 and Ch2"). That doesn't match my account of moving the drive from channel 1 to channel 2. I can't say which is right until I trace the leads, so the lead-to-channel wiring and the polarity are still open.

What did get measured, on 2026-08-10, was the voltage at the stack's own wires. Every step-size claim later in the write-up depends on that number. It was 14.7 V p-p, with the ≈42 µs flyback described above [run log 2026-08-10]. The tick that day was loud and sharp, and the stack vibration could be felt under a fingertip. That mattered because it was the session where the actuator would not move (§M11), so the drive had to be ruled out first.

05

Current state of the electronics

The board makes a clean, accurate sawtooth at 5 Hz into the hardest kind of load. The output measured 14.7 V p-p at the stack against a nominal 15, and the parts cost about $50–80 [11]. The board does have a frequency limit. I have measured where it starts, but I haven't found what causes it. The amplitude falls off above tens of hertz, which caps speed until the current source improves. That cap is the documented boundary of Phase 1 and is not a flaw in the build.

Whether that sawtooth actually moves anything depends on the friction and preload in the mechanics (§M9). Before I could answer that, I needed an instrument that could see the motion at all.