Lemonergy · Studio block

Linear frequency sweep

Sweeps frequency linearly, then continues at the final frequency without a phase discontinuity.

Implementation ID
native-chirp
Reviewed
2026-10-27

Behavior

τ = max(t − delay, 0); s = min(τ, duration). cycles = f₀s + (f₁−f₀)s²/(2 duration) + f₁ max(τ−duration,0). y = bias + amplitude × sin(2π cycles + phase).

Interface

Linear frequency sweep interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Linear frequency sweepStudio blockout0
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
out0output1Signal; real scalar.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
Amplitude
params[0]
11Configured value for Amplitude.
Initial frequency
params[1]
Hz1Configured value for Initial frequency.
Final frequency
params[2]
Hz3Configured value for Final frequency.
Sweep duration
params[3]
s2Configured value for Sweep duration.
Initial phase
params[4]
rad0Configured value for Initial phase.
Bias
params[5]
10Configured value for Bias.
Start delay
params[6]
s0Configured value for Start delay.

Equations and rules

  • τ = max(t − delay, 0); s = min(τ, duration)
  • cycles = f₀s + (f₁−f₀)s²/(2 duration) + f₁ max(τ−duration,0)
  • y = bias + amplitude × sin(2π cycles + phase)

Worked example

Linear frequency sweep — worked example

Use the configured source parameters. Signal at 0 s = 0; Signal at 0.75 s = 0.19509032201612825.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Signal
out0
0011e-08
Signal
out0
0.750.1950903220161282511e-08

Explore the recorded outputs

Linear frequency sweep recorded example

Linear frequency sweep
Linear frequency sweep against timeRecorded synthetic simulation values. Time in seconds; output in —.-0.0156072300.040968970.18750.097545160.3750.15412140.56250.21069750.75—Time (s)
Linear frequency sweep: 0 — at 0 s

2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.

Download the recorded samples (JSON) · Open this Studio example after release

Use in a workflow

Linear frequency sweep — worked example

Sweeps frequency linearly, then continues at the final frequency without a phase discontinuity.

  1. Linear frequency sweep: τ = max(t − delay, 0); s = min(τ, duration). cycles = f₀s + (f₁−f₀)s²/(2 duration) + f₁ max(τ−duration,0). y = bias + amplitude × sin(2π cycles + phase).
    • Use the block reference for settings and connections.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • Only a linear frequency sweep is implemented. Before the delay the initial phase value is held; after the sweep frequency remains at its final value.

Reference basis

This software operation is defined by its public contract and worked example; no external research result is claimed.

Implementation sources

This reference follows the public interface and locally verified numerical checks for an upcoming release.

Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27

  • docs/glossary/native-block-verification.json

This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)