Author Topic: Voltage sweep command would be useful  (Read 6175 times)

0 Members and 1 Guest are viewing this topic.

Offline serhan

  • Heavy ATK user
  • ***
  • Posts: 98
  • Reputation: 1
    • View Profile
Voltage sweep command would be useful
« on: December 9, 2008, 16:15 »
Hi all,

First of all, congratulations for the new company and the forum!

I would suggest that if there were a command that sweeps the bias voltage from an initial value to a final voltage with some steps, and if the current versus bias voltage was written down in the *.vnl file then to be plotted, would be useful in the following versions.

Regards,
Serhan

Offline Anders Blom

  • QuantumATK Staff
  • Supreme ATK Wizard
  • *****
  • Posts: 5012
  • Country: dk
  • Reputation: 85
    • View Profile
    • QuantumATK at Synopsys
Re: Voltage sweep command would be useful
« Reply #1 on: December 12, 2008, 22:25 »
I agree it would be useful. For now, perhaps you can be satisfied with the script published in this post!
« Last Edit: December 12, 2008, 22:38 by Anders Blom »

Offline zdhlover

  • Global Moderator
  • ATK Guru
  • *****
  • Posts: 106
  • Reputation: 2
    • View Profile
Re: Voltage sweep command would be useful
« Reply #2 on: June 21, 2009, 10:04 »
Now I compute the I-V curve ,I found a question:using the script that you offered in Voltage sweep (I-V curve)(http://quantumwise.com/forum/index.php?topic=19.0) , I can compute the I-V by varying the voltage from 0 to ang value ,but I couldn't change the voltage from any value to zero, could your future release notice the problem that we can change the voltage not only from zero to other values but also can vary from  nozero value to zero in computing the I-V curve?

by the way ,how can I solve the problem now?
« Last Edit: November 20, 2009, 14:29 by zdhlover »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme ATK Wizard
  • *****
  • Posts: 5012
  • Country: dk
  • Reputation: 85
    • View Profile
    • QuantumATK at Synopsys
Re: Voltage sweep command would be useful
« Reply #3 on: June 22, 2009, 09:23 »
There isn't really anything magical about sweeping the voltage. The script showed in the post you refer to can by tweaked extremely easily to support a different kind of sweeping. All you need to do, basically, is modify the "voltages" list. For instance, to run from 0 V to -3 V in steps of 0.5 V, use
Code
voltages = [0.,-0.5,-1.,-1.5,-2.,-2.5,-3.]*Volt
or for more flexibility, use NumPy:
Code
import numpy
voltages = numpy.linspace(0.,-3.,7)*Volt
and so on. You can just as well sweep backwards,
Code
voltages = [3,2,1,0]*Volt
but note that it can be hard to converge the high-bias calculation without initializing it from a lower-bias self-consistent density. The updated version of the ivcurve script in this post should also be of relevance, esp. for the case of starting from a high bias, which perhaps is converged by climbing up from zero bias.