Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test-and-measurement:analog-discovery-pro-5250:transistor-tester [2022/01/13 11:53] – [Inventory] Álmos Veres-Vitályostest-and-measurement:analog-discovery-pro-5250:transistor-tester [2022/09/12 13:49] (current) – changed forum.digilentinc.com to forum.digilent.com Jeffrey
Line 1: Line 1:
 ====== High Voltage Transistor Tester with the Analog Discovery Pro 5250 ====== ====== High Voltage Transistor Tester with the Analog Discovery Pro 5250 ======
- 
-<WRAP center round todo 60%> 
-This page is under construction. 
-</WRAP> 
  
 <WRAP group> <WRAP group>
-While you can use the [[test-and-measurement:transistor-tester-adapter:start|]] to test small signal bipolar junction transistors (BJTs) and field-effect transistors (FETs) with the Analog Discovery 2, several mid- to high power devices are out of the range of these devices. In these cases, you can use the variable voltage supply and the digital multimeter on the ADP5250 to create your high voltage test bench and to plot the characteristic curves of power transistors.+While you can use the [[test-and-measurement:transistor-tester-adapter:start|]] to test small signal bipolar junction transistors (BJTs) and field-effect transistors (FETs) with the Analog Discovery 2, several mid- to high power devices are out of the range of these devices. In these cases, you can use the variable voltage supply and the digital multimeter on the ADP5250 to create your high voltage test bench and to plot the characteristic curves of power transistors. This article demonstrates how to do this in Python through the use of WaveForms SDK.
 </WRAP> </WRAP>
 ---- ----
Line 49: Line 45:
 ===== Writing the Script ===== ===== Writing the Script =====
 <WRAP group> <WRAP group>
-The full script can be downloaded {{|here}}.+The full script can be downloaded {{ :test-and-measurement:analog-discovery-pro-5250:transistor.zip |here}}.
 </WRAP> </WRAP>
  
Line 63: Line 59:
 # parameters # parameters
 Vd_resolution = 500 # drain voltage resolution in mV Vd_resolution = 500 # drain voltage resolution in mV
-Vd_limit = 25       # maximum drain voltage in V+Vd_limit = 40       # maximum drain voltage in V
 Vg_resolution = 2   # gate voltage resolution in V Vg_resolution = 2   # gate voltage resolution in V
 Vg_limit = 12       # maximum gate voltage in V Vg_limit = 12       # maximum gate voltage in V
Line 111: Line 107:
             print("\tDrain voltage: " + str(drain_voltage) + "V")             print("\tDrain voltage: " + str(drain_voltage) + "V")
             # set the drain voltage             # set the drain voltage
-            supplies.switch_25V(device_handle, True, False, drain_voltage, 0)+            if drain_voltage > 25: 
 +                supplies.switch_25V(device_handle, True, True, drain_voltage - 25, -25) 
 +            else: 
 +                supplies.switch_25V(device_handle, True, True, 0, drain_voltage * (-1))
  
             # delay             # delay
Line 167: Line 166:
  
 <WRAP center round important 80%> <WRAP center round important 80%>
-The resistors and the MOSFET might get hot! Don'let the setup unsupervised!!!+The resistors and the MOSFET might get hot! Don'leave the setup unsupervised!!!
 </WRAP> </WRAP>
  
 </WRAP><WRAP half column> </WRAP><WRAP half column>
 +{{ :test-and-measurement:analog-discovery-pro-5250:output_zvn3310a.png?600 |}}
 </WRAP></WRAP> </WRAP></WRAP>
 ---- ----
Line 181: Line 180:
 For information on the Transistor Tester Adapter, check out its [[test-and-measurement:transistor-tester-adapter:start|Resource Center]]. For information on the Transistor Tester Adapter, check out its [[test-and-measurement:transistor-tester-adapter:start|Resource Center]].
  
-For technical support, please visit the [[https://forum.digilentinc.com/forum/8-test-and-measurement/|Test and Measurement]] section of the Digilent Forum.+For technical support, please visit the [[https://forum.digilent.com/forum/8-test-and-measurement/|Test and Measurement]] section of the Digilent Forum.
 </WRAP> </WRAP>