Circuit Maker <<questions>>

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
In chapter 17 you'll find a section 'Working with Spice Models' with some subsections about editing Spice Models.
Steven
Thanks for this advice. Until this time I have choice this way (manual editing, Fig. 17.11 and 17.12). But I want to transfer this parameters about a mouse click in circuitmaker, if I have found a new device and its p-spice parameter on the web. Unfortunately there isn't a chapter "Import of P-Spice parameters".
To find therefore the right way I must read and deal with follow subsection:
"Adding New Models to an existing Symbol" on page 17-24.
The term "single ASCII library file" is complete new for me, because I am not a real computer expert
 
Last edited:
New Problem by Manual Wire Routing - no end of the wire by double-click

This I have never observe before: no reaction by double-click of left mouse button.
The only thing that remains is the exhaustion of the wire down at the lower end to get the mouse pointer in the task bar to close with right-click the program "circuit maker"
What could have changed?
Thank you for some advices.
 
THD Calculate

I im using simple Simulation Program, and know that is this old thread but if someone could help me if i correctly calulated THD using picture od THD taken from CircuitMaker..and also if there is possible to do in CircuitMaker macro or Math function of simulated THD diagram to be calulated automatically using Math in circuit? I see that i have Math function in CircuitMaker Fouirer Analysis but i don't know how to take THD points so that i can then calulate using above formula that Steven have provided....

Here is calulation using Steven formula from diagram attached here...input is 250mVpp and frequency is 1kHz, gain of simulated preamplifier is 14,85dB.

1k 2k 3k 4k 5k 6k 7k 8k 9k 10k
------------------------------------------------------------------------------------------------------------------------
2.80 -128.10 -131.55 -133.80 -135.26 -146.84 -147.64 -137.77 -138.26 -138.65
-------------------------------------------------------------------------------------------------------------
0 -130,9 -134,35 -136,60 -138,06 -149,64 -150,44 -140,57 -141,06 -141,45
2,851e-7 1,916e-7 1,479e-7 1,250e-7 3,296e-8 3,006e-8 9,364e-8 8,851e-8 8,462e-8


THD = SQRT((2,851e-7)^2 + 1,916e-7)^2 + etc...)/1

THD = 0,00000000000008128201
0,00000000000003671056
0,00000000000002187441
0,000000000000015625
0,0000000000000010863616
0,0000000000000009036036
0,0000000000000087684496
0,0000000000000078340201
0,0000000000000071605444
--------------------------
SQRT(0,0000000000001812449593)/1 = 4,2572e-7 = 0,000042572%

So from diagram THD @ 250mVpp @ 1kHz is 0,000042572%? To me this is too low..i think it needs to be like 0,042572%
 

Attachments

  • THD_GRAPH.jpg
    THD_GRAPH.jpg
    115 KB · Views: 76
I Write vbscript that reads CircuitMaker Fourier Analysis.txt file and calculate THD using Steven formula...

I im also attaching output from simulated preamplifier from CircuitMaker so that you can read values and check if all is well calculated...and i im also including vbscript that needs to be placed in Folder and this Folder must have subfolder named Projects...put in that subfolder this Fourier Analysis.txt and click on THD.vbscript from root of folder...and you will get message about calculated THD that is for this example:

0,0000004486%

So if someone could verify if this is correct...thanks

And rename THD.txt to THD.vbs so that script will run on your PC.
 

Attachments

  • THD.txt
    2.9 KB · Views: 40
  • Fourier Analysis.txt
    746 bytes · Views: 52
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.