Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test-and-measurement:analog-discovery-pro-5250:transistor-tester [2022/01/13 09:04] – [Writing the Script] Álmos Veres-Vitályos | test-and-measurement:analog-discovery-pro-5250:transistor-tester [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| * [[test-and-measurement: | * [[test-and-measurement: | ||
| * [[https:// | * [[https:// | ||
| - | * 2x 10W 100Ω ceramic resistors | + | * 2x 10W 51Ω ceramic resistors |
| === Software === | === Software === | ||
| Line 29: | Line 29: | ||
| In this test, the drain current versus the drain-source voltage of the selected MOSFET will be plotted for varying gate-source voltages. Connect the gate of the transistor to the waveform generator and the source to the ground. | In this test, the drain current versus the drain-source voltage of the selected MOSFET will be plotted for varying gate-source voltages. Connect the gate of the transistor to the waveform generator and the source to the ground. | ||
| - | To limit the maximum drain current, a 50Ω resistor is needed in series with the transistor. The maximum output current of the ADP5250 on the +25V supply | + | To limit the maximum drain current |
| + | |||
| + | The maximum output current of the ADP5250 on the +25V and -25V supplies | ||
| </ | </ | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| Line 41: | Line 43: | ||
| </ | </ | ||
| </ | </ | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| ---- | ---- | ||
| Line 47: | Line 49: | ||
| ===== Writing the Script ===== | ===== Writing the Script ===== | ||
| <WRAP group> | <WRAP group> | ||
| - | The full script can be downloaded {{|here}}. | + | The full script can be downloaded {{ : |
| </ | </ | ||
| <WRAP group>< | <WRAP group>< | ||
| + | Import the necessary packages into your script and define the measurement parameters. | ||
| </ | </ | ||
| from WF_SDK import device, supplies, wavegen, dmm # import instruments | from WF_SDK import device, supplies, wavegen, dmm # import instruments | ||
| Line 61: | Line 63: | ||
| # 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 69: | Line 71: | ||
| <WRAP group>< | <WRAP group>< | ||
| + | Connect to the device, initialize the digital multimeter and generate the lists of voltages which will be generated in the following. Also create empty lists for the results. | ||
| </ | </ | ||
| # connect to the device | # connect to the device | ||
| Line 96: | Line 98: | ||
| <WRAP group>< | <WRAP group>< | ||
| + | Step through the list of gate-source voltages. Output every voltage on the waveform generator. | ||
| + | For every gate-source voltage, step through the list of drain voltages, outputting each on the +25V supply. After the voltage change is commanded, wait a bit for the supply voltage to settle, then use the digital multimeter to measure the drain-source voltage and the drain current. Don't forget to invert the voltage. | ||
| </ | </ | ||
| try: | try: | ||
| Line 107: | Line 111: | ||
| print(" | print(" | ||
| # set the drain voltage | # set the drain voltage | ||
| - | supplies.switch_25V(device_handle, | + | |
| + | | ||
| + | else: | ||
| + | supplies.switch_25V(device_handle, | ||
| # delay | # delay | ||
| Line 125: | Line 132: | ||
| <WRAP group>< | <WRAP group>< | ||
| + | When the measurement is finished, close every instrument and disconnect from the device. | ||
| </ | </ | ||
| # reset the scope | # reset the scope | ||
| Line 142: | Line 149: | ||
| <WRAP group>< | <WRAP group>< | ||
| + | Finally, plot the results. | ||
| </ | </ | ||
| # plot results | # plot results | ||
| Line 160: | Line 167: | ||
| ===== Testing ===== | ===== Testing ===== | ||
| <WRAP group>< | <WRAP group>< | ||
| + | Turn on the ADP5250 and start the script. Wait for it to finish. You can save the plotted results by clicking on the respective button. Compare your results to the one presented in the datasheet of the transistor. | ||
| - | </WRAP>< | + | < |
| + | The resistors and the MOSFET might get hot! Don't let the setup unsupervised!!! | ||
| + | </WRAP> | ||
| + | </ | ||
| + | {{ : | ||
| </ | </ | ||
| ---- | ---- | ||

