• Home
  • User Manual
  • Tutorials
  • Updates
Search Results for

    Show / Hide Table of Contents
    • Welcome to twin
    • Getting Started
      • Install and uninstall twin
      • Install and uninstall a licence
      • Start twin
    • Simulation Component Library
      • Automation
        • ScriptComponent
        • Sequence
      • BitManipulator
        • BitsToBytesConverter
        • BytesToBitsConverter
        • EndiannessChanger
      • BooleanOperations
        • BooleanFunction
        • Invert
        • InputSwitch
      • ControlPanel
        • ControlPanel
      • Conveyor
        • Conveyor
        • VacuumConveyor
      • Debug
        • Counter
      • DataManipulator
        • DataReader
        • DataTypeConverter
        • DataWriter
      • FMU
        • FMU
      • Gripper
        • KinematicGripper
        • ObjectCoupler
        • VacuumGripper
      • HardwareConnector
        • PLCConnector
        • RobotControllerConnector
      • Math
        • Gain
        • LinearFunction
        • LowPassFilter
        • NumberComparer
        • Sum
      • Motor
        • FCControlledMotor
        • ServoMotor
      • Movers
        • BoolToSignedDirection
        • DynamicCylinder
        • DynamicRotationMover
        • DynamicTranslationMover
        • KinematicCylinder
        • KinematicPathMover
        • KinematicRotationMover
        • KinematicTranslationMover
      • ObjectManipulator
        • Colorizer
        • Object3DCutter
        • VisiblityChanger
      • Sensors
        • AngleLimitSwitch
        • CollisionObserver
        • DistanceSensor
        • DynamicObjectDetector
        • LightBarrier
        • PositionLimitSwitch
        • PositionTracker
      • Sinks
        • FileLogger
        • CollisionSink
        • RaySink
      • Sources
        • BoolConstant
        • BoxSource
        • DoubleConstant
        • Object3DFileSource
        • Object3DSource
        • RandomBoolean
        • RandomNumber
        • SinusGenerator
        • SphereSource
        • StringConstant
      • Timers
        • IntervalTrigger
        • TOF
        • TON
    • Collision Detection
      • What is essential for collision detection?
      • Where can I find the mesh simplifiers?
      • Which mesh simplification methods are available?
    • twin Mirror
      • Install the twin Mirror
      • Embed the twin Mirror into your HMI
      • React on user-events
      • Manipulate 3D objects
      • Add labels and buttons
    • Video Guides
      • How to install twin
      • How to organize projects
      • How to import CAD files
      • How to handle 3D objects
      • How to activate physics in your simulation
      • How to simulate conveyor systems
      • How to simulate cylinders
      • How to simulate axis systems and portals
      • How to simulate sensors
      • How to simulate grippers
      • How to create program sequences
      • How to connect to PLCs
      • How to simulate robots
      • How to model complex mechanical motion systems
      • How to debug and analyse signals in twin

    SinusGenerator

    This simulation component outputs a configurable sinus signal.

    SinusGenerator

    When to use

    Use this simulation component if you want to output a configurable sinus signal.

    How to use

    Add this simulation component from the simulation component library. Define the properties Amplitude, Frequency, Mean and PhaseOffset and start the simulation to generate the signal.

    Note

    The SinusGenerator outputs a sinus signal only if the simulation is running.

    Parameters

    Amplitude

    Indicates the amplitude of the sinus signal.

    Frequency

    Indicates the frequency of the sinus signal in Hz.

    Mean

    Indicates the constant value added to the sinus signal. Also known as bias.

    PhaseOffset

    Indicates the phase offset (shift) of the sinus signal in degrees.

    Outputs

    Signal

    Outputs the waveform by the given formula: Signal = Amplitude * sin (2 * PI * Frequency * SimulationTimeInSeconds + PhaseOffset * PI/180) + Mean

    Example

    In this example, the generated output Signal is recorded by the FileLogger simulation component, which logs the input data into a csv-File.

    SinusGenerator Signal recorded by FileLogger

    The defined parameters of the sinus signal are shown in the picture below.

    SinusGenerator Example Properties

    In the chart below, which is created within the *.csv-File, the periodic generated oscillation with an Amplitude of 1, a Frequency of 1 Hz, a Bias of 0.5 and a PhaseOffset of 90 degrees is shown.

    SinusGenerator Signal Evaluated

    Further Information

    For more details visit the Video Guides section, where you can find a video guide demonstrating this topic under Add 3D-Object with random pose to the simulation.

    Further Information

    For more details visit the Video Guides section, where you can find a video guide demonstrating this topic under Data Logging.

    In This Article
    Back to top Copyright © Eberle Automatische Systeme GmbH & Co KG