License

Recommend Projects

Making measurements

5 years ago 4673
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

How to use some of the more advanced features of EasyEDA to make measurements of your simulation.

Thanks to ngspice, EasyEDA has some powerful features for controlling simulations and carrying out calculations on data from them.

This Project folder showcases some of the more frequently used techniques.

To run the simulation from the view window, click on the little green pencil in the upper right, then when the schematic opens in EasyEDA, press:

Ctrl+R

and Save - if prompted - to Anonymous Files or your own project if you are logged in, then press:

CtrL+R

again.

Then do:

Green Man > Simulation Results...

and scroll down to see the measure statement results.

For detailed information on the syntax and usage of meas statements please refer to:

http://ngspice.sourceforge.net/docs/ngspice-manual.pdf#subsection.17.5.37

in:

http://ngspice.sourceforge.net/docs/ngspice-manual.pdf#chapter.17

Note that the 'param' and 'par(expression)' forms referred to in:

http://ngspice.sourceforge.net/docs/ngspice-manual.pdf#subsection.15.4.9

and:

http://ngspice.sourceforge.net/docs/ngspice-manual.pdf#subsection.15.4.10

are replaced by the 'let' statement described in:

http://ngspice.sourceforge.net/docs/ngspice-manual.pdf#subsection.17.5.33 This project is part of the EasyEDA spice simulation learning resource.

https://easyeda.com/project_view_Simulation-Quickstarter_iLN8usOaw.htm

https://easyeda.com/project_view_Spice-tutorials_AysKEWevN.htm

https://easyeda.com/project_view_Spice-tutorials-02_YxrJ1Vd7p.htm

https://easyeda.com/project_view_EasyEDA-functions_kUOHZhbtn.htm

https://easyeda.com/project_view_Spice-simulation-skills_sysmEWQ7p.htm

https://easyeda.com/project_view_Making-measurements_1BTb4mEWe.htm

https://easyeda.com/project_view_Transformers-and-coupled-inductors_LWewOI0ic.htm

https://easyeda.com/project_view_How-to-use-Regulators-in-EasyEDA_ACwUgasKE.htm

https://easyeda.com/project_view_How-to-use-basic-elements-of-EasyEDA_BDxrlDVdv.htm

https://easyeda.com/project_view_Current-source-devices_EFztNHZhy.htm

Documents

Find gain and bandwidth

Probe expressions

Measuring WaveForm parameters 01

Measuring WaveForm parameters 02

Measuring settling time

RMS and average of chopped sinusoids

Be careful when trying to find MAX and MIN points

BOM

ID Name Designator Footprint Quantity Manufacturer Part Manufacturer Supplier Supplier Part Price LCSC Assembly Mounted
1 1 R1,R2,E1,H2 4
2 {1/(2*pi)} C1,C2 2
3 1Meg G1,G2 2
4 AC 1 0 V1,V4 2
5 1k R4 1
6 9k R6 1
7 V=-(V(ac1,ac2)^2) B1 1
8 1k R1 0603 1
9 SIN(0 5 50) AC 1 V1 1
10 SIN(0 1 {period}) V1 2P-5.0 1
11 1G R1 R3 1
12 V=V(a,b) B1 1
13 PULSE(0 1 1.1 1n 1n 100n) VRESET 2P-5.0 1
14 V=V(fbpeak) B3 1
15 Voltage_Controlled_Switch S1,S2 2
16 D D1,D2,D3,D4 DO35-7 4
17 1u C1,C2,C4 1206 3
18 I=(V(bvout)-V(fbpeak))*1Meg B2 1
19 1m RPAR1,RPAR2 R3 2
20 V=V(fbtrough) B5 1
21 I=(V(bvout)-V(fbtrough))*1Meg B4 1
22 10Meg R4,R5 R3 2
23 10u C3 1206 1
24 V=V(low_pass_filt) B8 1
25 V=V(hiout)^2 BSQUARE1 1
26 V=sqrt(V(mean)) BROOT1 1
27 0 VIMON1,VIMON2,VSIGLOADIMON,VREFLOADIMON 2P-5.0 4
28 1 RLOAD,R7,RSIGLOAD,RREFLOAD R3 4
29 V=I(Vimon1) B11 1
30 PULSE({lev0} {lev1} {tdel} {tr} {tf} {pw-tr} {period}) VSIG 2P-5.0 1
31 SINE(0 1 {1/period}) VREF 2P-5.0 1
32 PULSE(0 1 {tdel} {tr}) VSIG 2P-5.0 1
33 5 RSOURCE R3 1
34 1m L1 INDUCTOR-1206 1
35 {loref} VLOREF 2P-5.0 1
36 {hiref} VHIREF 2P-5.0 1
37 {halfrise} VHALFRISE 2P-5.0 1
38 SIN(0 1 1) V1 2P-5.0 1
39 V=ABS(V(sine)) B1 1
40 PULSE(0 1 0 1n 1n {duty*0.5} 0.5) VDUTY 2P-5.0 1
41 V=ABS(V(sine))*V(duty) B2 1

Attachments

None

Members

Success
The owner does not allow comments in this project now

Comments (0)

goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.