Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Tutorial 2 — Designing an OWChirp waveform

Corporate Research Analytical Laboratory, 3M

An optimally windowed chirp (OWChirp) is a constant-amplitude sinusoid whose instantaneous frequency sweeps exponentially from ω0\omega_0 to ω1\omega_1 over a duration TT,

ω(t)=ω0(ω1ω0)t/T,\omega(t) = \omega_0 \left(\frac{\omega_1}{\omega_0}\right)^{t/T},

multiplied by a cosine-tapered (Tukey) window that suppresses spectral leakage and nonlinear artefacts at the signal edges (Geri et al., 2018). The window tapers a fraction rr of the signal: r=0r = 0 disables tapering and 0.05≤r≤0.150.05 \le r \le 0.15 works well in practice.

The time–bandwidth product

TB=T(ω1−ω0)2πTB = \frac{T(\omega_1 - \omega_0)}{2\pi}

controls the spectral resolution of the chirp and should satisfy TB≳100TB \gtrsim 100 to keep leakage low. OWChirpGeneration computes the waveform, TBTB and the piecewise zone equations needed to program the signal in a TA Instruments TRIOS Arbitrary Wave method.

Setup

Generated files (parameter summary, waveform samples and figure) are written to the gitignored results/ directory next to this notebook.

Define the signal

OWChirpGeneration is a helper class, not a piblin transform: configure it once, then inspect, export and plot the signal.

  • waiting_time — quiet interval before the chirp (s). Data acquired here quantify systematic offsets (motor bias, encoder drift) that are removed before the Fourier transform.

  • signal_duration — chirp duration TT (s).

  • signal_amplitude — imposed strain (dimensionless, 0.01 = 1 %) or stress (Pa), depending on the controlled variable.

  • initial_frequency, final_frequency — ω0\omega_0 and ω1\omega_1 (rad/s).

  • tapering_parameter — Tukey window fraction rr.

  • initial_phase_shift — starting phase (degrees).

print_parameters reports the derived quantities: TBTB, the piecewise zone equations and the shortest chirp duration compatible with ω0\omega_0.

Shorter chirp signal: 13.9626 (s), TB = 133.0
Total length of chirp signal: 14.0 (s)
Initial Frequency: 0.3 (rad/s)
Final Frequency: 60.0 (rad/s)
Signal amplitude: 8.5e-05 
Waiting time: 1.0 (s)
Tapering parameter: 0.1 
Time Bandwidth: 133.0
Initial Phase Shift: 0.0 (°)
-------------------------------------------------------------------------
For t = waiting_time = 1.0s write: 0
For the first segment duration = 0.7s write: 8.5e-05*cos(2.244*t -3.8148)^2*sin(0.5428*exp(0.3785*t)-0.7926+0.0)
For the second segment duration = 12.6s write: 8.5e-05*sin(0.5428*exp(0.3785*t)-0.7926+0.0)
For the third segment duration = 0.7s write: 8.5e-05*cos(2.244*t -32.0891)^2*sin(0.5428*exp(0.3785*t)-0.7926+0.0)
--------------------------------------------------------------------------

Export and inspect

to_txt writes every parameter and the piecewise zone equations to enter in the TRIOS Arbitrary Wave dialog. visualize plots the tapered chirp next to the untapered (r=0r = 0) reference and saves the waveform samples and a .png snapshot. The dashed line marks the end of the waiting window. Use y_axis="stress" for a stress-controlled chirp.

<Figure size 800x600 with 1 Axes>

References

  • Geri, M., Keshavarz, B., Divoux, T., Clasen, C., Curtis, D. J. and McKinley, G. H., Time-Resolved Mechanical Spectroscopy of Soft Materials via Optimally Windowed Chirps, Physical Review X 8, 041042 (2018). DOI: 10.1103/PhysRevX.8.041042.

  • Ghiringhelli, E., Roux, D., Bleses, D., Galliard, H. and Caton, F., Optimal Fourier rheometry, Rheologica Acta 51, 413–420 (2012). DOI: Ghiringhelli et al. (2012).

  • Perego, A., Vadillo, D. C., Mills, M. J. L., Das, M. and McKinley, G. H., Evaluation of Optimally Windowed Chirp Signals in Industrial Rheological Measurements: Method Development and Data Processing, Rheologica Acta 64, 391–406 (2025). DOI: Perego et al. (2025).

References
  1. Ghiringhelli, E., Roux, D., Bleses, D., Galliard, H., & Caton, F. (2012). Optimal fourier rheometry: Application to the gelation of an alginate. Rheologica Acta, 51(5), 413–420. 10.1007/s00397-012-0616-z
  2. Perego, A., Vadillo, D. C., Mills, M. J. L., Das, M., & McKinley FRS, G. H. (2025). Evaluation of optimally windowed chirp signals in industrial rheological measurements: method development and data processing. Rheologica Acta, 64(8), 391–406. 10.1007/s00397-025-01511-0