Sine Complex Generator

From Visuino
Revision as of 05:59, 19 August 2025 by Visuino (talk | contribs) (Created page with "Image:TArduinoSineComplexGenerator.png == Summary == Generates a complex-valued sine waveform with configurable amplitude, frequency, offset, and phase. == Description == The **Sine Complex Generator** produces a periodic sine waveform represented as a complex number output. The signal is defined by its **Amplitude**, **Frequency**, **Offset**, and **Phase** properties. The generator also supports **Elements** that can trigger actions at specific phases of the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

File:TArduinoSineComplexGenerator.png

Summary

Generates a complex-valued sine waveform with configurable amplitude, frequency, offset, and phase.

Description

The **Sine Complex Generator** produces a periodic sine waveform represented as a complex number output. The signal is defined by its **Amplitude**, **Frequency**, **Offset**, and **Phase** properties.

The generator also supports **Elements** that can trigger actions at specific phases of the waveform cycle. Each **Reached Phase** element allows specifying a phase value at which an event is triggered, making it useful for synchronization and control logic.

Additional behavior can be controlled when the component is disabled, such as completing the current cycle or resetting immediately.

Diagram:

Categories

Properties

  • Amplitude – Complex amplitude of the waveform (Imaginary, Real).
  • Elements – Click the **…** button to add **Reached Phase** elements.
    • Reached Phase Properties:**
    • • Phase** – The phase angle (0–360°) at which the element is triggered.
    • • Enabled** – Enables or disables the phase trigger.
  • Enabled – Enables or disables the generator.
  • Frequency – Frequency of the waveform in Hertz.
  • Offset – Complex offset (Imaginary, Real) added to the waveform.
  • Phase – Initial phase offset of the waveform.
  • When Disabled – Defines behavior when the generator is disabled:
    • • Complete Cycle (boolean)** – If true, continues until the current cycle is completed.
    • • Reset (boolean)** – If true, resets the generator immediately.

Pins

Input Pins

  • Clock – Clock input to advance the generator step-by-step.
  • Reset – Clock input to reset the generator to its initial phase.

Output Pins

  • Out – Complex sine waveform output.