Show a resonant curve in a simulation between 800hz and 4.5khz

  • Context: Engineering 
  • Thread starter Thread starter leejohnson222
  • Start date Start date
  • Tags Tags
    Circuit Simulation
Click For Summary

Discussion Overview

The discussion revolves around creating a resonance curve using a simulation program for a circuit involving an AC voltage source, resistors, inductors, and capacitors. Participants are exploring the use of simulation software, specifically LTspice and other tools, to analyze resonance between 800 Hz and 4.5 kHz. The conversation includes troubleshooting issues with the simulation setup and understanding resonance in the context of the given circuit parameters.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related
  • Debate/contested

Main Points Raised

  • One participant expresses uncertainty about how to proceed with the simulation after creating the circuit.
  • Another participant suggests that resonance may not occur with the current circuit setup due to the voltage source configuration, proposing the use of a current source instead.
  • There are questions about the appropriate settings for the current source, including whether to use peak or RMS values.
  • Participants discuss the need for a source resistance to achieve resonance in the circuit.
  • Some participants inquire about the nature of the assignment, questioning whether it is schoolwork or self-directed learning.
  • There are technical challenges mentioned regarding the installation of LTspice on a Mac, with suggestions to use a Windows laptop instead.
  • One participant mentions the need to produce a resonance curve and discusses the possibility of plotting impedance or current versus frequency.
  • Another participant provides a starter circuit file for LTspice to assist with the simulation process.
  • Frustration is expressed regarding the learning curve of LTspice and the difficulties faced in using a Windows computer after a long time.

Areas of Agreement / Disagreement

Participants generally agree that the current circuit configuration may not allow for resonance as intended, but there is no consensus on the best approach to resolve the issues with the simulation or the specifics of the assignment. Multiple competing views on how to achieve resonance and use the simulation software remain present.

Contextual Notes

Participants note limitations in their understanding of the simulation software and the specific requirements of the assignment. There are unresolved technical issues related to software installation and configuration that may affect the ability to complete the task.

Who May Find This Useful

Students learning about resonance in electrical circuits, individuals interested in using simulation software for circuit analysis, and those seeking assistance with LTspice or similar tools.

  • #31
this is what i have so far, looks like a very wide curve here
Screenshot (5).png
 
Last edited by a moderator:
Physics news on Phys.org
  • #32
leejohnson222 said:
this is what i have so far, looks like a very wide curve here
The Q of the resonance is low, because the resistor value is too low.
Work out the reactance of the L or the C at the centre frequency, give the resistor that value in ohms. Then increase that resistor value by 10, 100, 1000, to reduce the damping of the resonance, to see a sharper resonance with higher Q.
 
  • Like
Likes   Reactions: berkeman
  • #33
Baluncore said:
Then increase that resistor value by 10, 100, 1000, to reduce the damping of the resonance, to see a sharper resonance with higher Q.

Also, a tip for you as an early SPICE user is that you can set up simulations to run in "steps", so that you get multiple plots on the same graph for multiple step values... :smile:

1699306824955.png

https://qucs-help.readthedocs.io/en/spice4qucs/ASim.html
 
  • #34
Baluncore said:
You have a voltage source, probably with zero internal resistance. A current will flow through the individual parallel RLC components, but there will not be resonance, because the components are short-circuited by the voltage source.

If you replaced the voltage source with a current source, LC resonance would be possible.
So called "resonance curves" can be concave up (like a notch filter) or concave down. If a simulation is run on the circuit of post #1 and the current supplied by the voltage source (call it Is) is plotted, the result will be a low Q, concave up, "resonance curve". Plotting the reciprocal of Is (1/Is) will result in a concave down "resonance curve". Increasing the value of R1 to 150 ohms gives nicer looking "resonance curves". The 1/Is curve will have the same shape as plotting the impedance seen by the voltage source.
 
  • Informative
Likes   Reactions: berkeman
  • #35
Here's what I get for various plots. I plotted over a wider frequency range. The red curve is the impedance seen by the voltage source in post #1. The blue curve is Vo from the right hand circuit of post #31. The green curve is the current supplied by the voltage source in post #1.

Curv15.png


If I increase the value of all the 15 ohm resistors to 150 ohms I get these curves:
Curv150.png
 
  • Like
Likes   Reactions: berkeman
  • #36
right so changing these parameters will give me different shape resonance and it makes sense if you widen the range you get to see more of the curve, as this is the first time using spice i just wanted to get an indication that i am going in the right direction. I will continue to play with this circuit and see the different results. The 150ohms resistors give an interesting curve and this is more of what i expected very much like a notch filter, the graph is helpful showing the relationship between Vo and Current.
 
  • #37
leejohnson222 said:
I will continue to play with this circuit and see the different results.
Do not be afraid to try new or different things. You cannot destroy the components in a simulator, and you can always use the "undo" to revert your changes.

Node numbers can change between runs, so give nodes names by labelling them like "out".
Look at the differential voltage across R2 by placing the red voltmeter probe on one side, then dragging the black reference probe to the other side of R2 and dropping it there.

More complex things like runtime parameters and stepping values can wait until you are more confident and have looked at oscilloscope plots of voltage against time using transient analysis.
 
  • #38
oh yes this will be a slow process but there is no rush, so i will just see what i can pick up by trial and error
how do you label a node ? right click it ?
 
  • #39
leejohnson222 said:
how do you label a node ?
Click on the tool with an 'A' in a box. Label Net.
Pull down menu 'Edit' 'Label Net'
Shortcut F4.
 
  • Like
Likes   Reactions: leejohnson222

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K