Author Topic: doping script  (Read 3244 times)

0 Members and 1 Guest are viewing this topic.

Offline tara

  • Heavy QuantumATK user
  • ***
  • Posts: 37
  • Country: in
  • Reputation: 0
    • View Profile
doping script
« on: March 4, 2015, 08:00 »
1.In the p-n junction tutorial ,
the doping for n region is taken as ,doping and  for p-region it is  -1*doping. why is it opposite?

2.Secondly the length of only right electrode is considered for both p and n regions.  [  len(right_electrode_elements) ]. Has it been assumed that right and left electrodes are identicle and symetric??

3.  The doping script should come before or after
device_configuration = DeviceConfiguration(
    central_region,
    [left_electrode, right_electrode]
    )    ????
                                                                       

# -------------------------------------------------------------
# Add Doping
# -------------------------------------------------------------
doping_density = 2e+19
# Calculate the volume  and convert it to cm^-3
# Note: right and left electrodes have the same volume,
volume = right_electrode_lattice.unitCellVolume()
volume = float(volume/(0.01*Meter)**3)
# Calculate charge per atom
doping = doping_density * volume / len(right_electrode_elements)
# Add p- and n-type doping to the central region
external_potential = AtomicCompensationCharge([
        ('p_doping', -1*doping), ('n_doping',doping)
        ])
central_region.setExternalPotential(external_potential)
# Add doping to left and right electrodes
left_electrode.setExternalPotential(
      AtomicCompensationCharge([(Silicon, -1*doping)]))
right_electrode.setExternalPotential(
      AtomicCompensationCharge([(Silicon, doping)]))

Offline tara

  • Heavy QuantumATK user
  • ***
  • Posts: 37
  • Country: in
  • Reputation: 0
    • View Profile
Re: doping script
« Reply #1 on: March 4, 2015, 08:11 »
Also when i tried  doping  mos2 using

left_electrode.setExternalPotential(
      AtomicCompensationCharge([(Molybdenite, -1*doping)]))
right_electrode.setExternalPotential(
      AtomicCompensationCharge([(Molybdenite, doping)]))

NameError: name 'Molybdenite' is not defined
 what name should we use for doping entire mos2??

Online Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: doping script
« Reply #2 on: March 4, 2015, 09:32 »
What chemical element is Molybdenite? I think you mean Molybdenum.

Offline Umberto Martinez

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 479
  • Country: dk
  • Reputation: 26
    • View Profile
Re: doping script
« Reply #3 on: March 4, 2015, 09:51 »
1 - This is explained in more details in the Doping in ATK: the Ni silicide - Si interfaces tutorial.
negative values correspond to p-dpoing and positive value to n-doping (adding charge).
see also http://www.quantumwise.com/documents/manuals/latest/ReferenceManual/index.html/ref.atomiccompensationcharge.html

2 - yes, in this case the two electrodes have the same size. Please adapt the script to your system.

3- after.