4627 views|2 replies

2624

Posts

6

Resources
The OP
 

SIMterix-Simplis~9~ parameter sweep [Copy link]

SIMterix-Simplis~9~ parameter sweep

In LTspice, the most exciting function is .Step. In fact, this function also exists in SS, but its name is .STP. For details, see the multi step analyses section of the manual.

Figure 1: Multi-step analysis instructions

With the instruction manual, let's build a simple circuit diagram (Figure 2) to test the function. Then use F11 to call up the simulation command line. See Figure 3.

Figure 2: RC circuit used for testing

Figure 3: Simulation command line

Code 1: Simulation control code

.simulator SIMETRIX

* represents the simulation time of 1ms. Sweep represents the sweep. Device is the device, and V1 is the device being scanned.

*Device name, STP stands for scan scan type 0 stands for start 5 stands for end, 0.1 stands for step value

.tran 1m SWEEP DEVICE V1 STP 0 5 0.1

.IC V(VOUT)=0

.simulator DEFAULT

Code 2: Simulation netlist Note: You can see it under the simulator menu

* C:\Users\xutong\Desktop\simplis 9.sxsch

*#SIMETRIX

V1 V1_P 0 5

R1 VOUT V1_P 1K

C1 VOUT 0 1n

.GRAPH VOUT curveLabel= VOUT nowarn=true ylog=auto xlog=auto analysis=tran|ac|dc disabled=false PROBEREF=Probe1

.tran 1m SWEEP DEVICE V1 STP 0 5 0.1

.IC V(VOUT)=0

Figure 4: Simulation results // Attractive crow's feet

In addition to using .STP, there are many options to choose from. Let's look at them one by one, starting with LIN. See code 3

Code 3: Simulation control code

.simulator SIMETRIX

**LIN represents the number of simulation points. The first 5 represents 5 simulation points and 1 represents the starting point is 1.

** The second 5 represents the termination point is 5V

.tran 1m SWEEP DEVICE V1 LIN 5 1 5

.IC V(VOUT)=0

.simulator DEFAULT

Figure 5: LIN simulation results

Code 4: Simulation control code

.simulator SIMETRIX

*dec represents the number of points of 10 times the frequency. Here 5 represents 5 points. 1 is the start and 100 is the end.

.tran 1m SWEEP DEVICE V1 DEC 5 1 100

.IC V(VOUT)=0

.simulator DEFAULT

Figure 6: DEC simulation points

That’s all for today~ Bye~

Where are you going for the New Year? Promote your hometown and visit Cangnan

This post is from Analog electronics

Latest reply

The simulation result shows a beautiful crow's feet pattern. How was it made? Please introduce more   Details Published on 2023-1-20 18:49
Personal signature

希望做一些大家觉得好用的东西!


6552

Posts

0

Resources
2
 

The simulation result shows a beautiful crow's feet pattern.

How was it made?

Please introduce more

This post is from Analog electronics

Comments

Follow the steps and click Run to get this waveform.  Details Published on 2023-1-21 07:21
 
 

2624

Posts

6

Resources
3
 
Jacktang posted on 2023-1-20 18:49 The charming crow's feet pattern of the simulation result is very beautiful. How was it made? Can you tell me more about it?

Follow the steps and click Run to get this waveform.


This post is from Analog electronics
 
 
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list