WOLFRAM SYSTEM MODELER

SeriesCircuit

A circuit using an external chirp signal

Diagram

Wolfram Language

In[1]:=
SystemModel["IntroductoryExamples.ExternalFunctions.SeriesCircuit"]
Out[1]:=

Information

This model uses chirp source to test the resonance frequencies of an electrical circuit.

Simulating the model for 10 seconds gives a peak current at 5 seconds:

As the input frequency is swept from 0 to 1000 rad/s during this period, this corresponds to a resonance frequency of 500 rad/s:

This can also be verified by calculating the resonant frequency for the circuit analytically:

Of course for more complicated systems it might be difficult to calculate the resonant frequency analytically, and in these cases a chirp signal can be very useful.

For a step by step tutorial see Using External Code.

Components (6)

ground

Type: Ground

Description: Ground node

signalVoltage

Type: SignalVoltage

Description: Generic voltage source using the input signal as source voltage

chirpSignal

Type: ChirpSignal

Description: A block of an external chirp signal

capacitor

Type: Capacitor

Description: Ideal linear electrical capacitor

inductor

Type: Inductor

Description: Ideal linear electrical inductor

resistor

Type: Resistor

Description: Ideal linear electrical resistor