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:power-measurement-demo [2021/09/25 15:35] Keith M Kolmostest-and-measurement:analog-discovery-pro-5250:power-measurement-demo [2022/09/12 18:10] (current) – changed forum.digilentinc.com to forum.digilent.com Jeffrey
Line 1: Line 1:
 ====== Power Measurement with the Analog Discovery Pro (ADP5250) ====== ====== Power Measurement with the Analog Discovery Pro (ADP5250) ======
 ~~TechArticle~~ ~~TechArticle~~
-{{:test-and-measurement:analog-discovery-pro-5250:chanell2.png?600 |}}+{{ :test-and-measurement:analog-discovery-pro-5250:chanell2.png?600 |}}
  
 ===== Overview ===== ===== Overview =====
Line 8: Line 8:
 ---- ----
 ===== Inventory ===== ===== Inventory =====
-  * Analog Discovery Pro with:+  * Analog Discovery Pro (ADP5250) with:
     * 2 BNC oscilloscope probes     * 2 BNC oscilloscope probes
     * A BNC to minigrabber clip cable     * A BNC to minigrabber clip cable
-  * Analog parts and wires (found in the Analog Parts Kit):+  * Analog parts and wires (found in the [[https://digilent.com/shop/analog-parts-kit-by-analog-devices-companion-parts-kit-for-the-analog-discovery/|Analog Parts Kit]]):
     * A 470 Ω resistor     * A 470 Ω resistor
     * A 4.7 nF capacitor     * A 4.7 nF capacitor
Line 17: Line 17:
     * A breadboard     * A breadboard
   * WaveForms Installation, version 3.15.18 or later   * WaveForms Installation, version 3.15.18 or later
-    * [[https://mautic.digilentinc.com/waveforms-download|Download]] 
  
 ---- ----
Line 31: Line 30:
 <WRAP column half> <WRAP column half>
  
-{{reference:test-and-measurement:analog-discovery-pro-3x50:rc-power.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:smallcircuit.jpg?600 |}}
  
-{{reference:test-and-measurement:analog-discovery-pro-3x50:rc-power-in-use.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:img_6389.jpg?600 |}}
      
 </WRAP> </WRAP>
Line 46: Line 45:
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:configure-wavegen.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:wave.png?600 |}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 52: Line 51:
 <WRAP group> <WRAP group>
 <WRAP column half> <WRAP column half>
-**Open** the //Scope// instrument. Enable Channels 12, and 3 and adjust the ranges to match the image to the right. Adjust the ranges of each channel to 5 mV/div, 1 V/div, and 1 V/div respectively, and the base time division to 10 us/div.+**Open** the //Scope// instrument. Enable Channels 1 and 2, then adjust the ranges to match the image to the right. Adjust the ranges of each channel to 5 mV/div and 1 V/div respectively, and the base time division to 10 us/div.
  
 Clicking the "Docking Windows" button in the upper right on WaveForms will cause WaveForms to show the //Wavegen// and //Scope// instruments in the same window. This is useful in contexts where multiple instruments will be used in quick & repeated succession. Clicking the "Docking Windows" button in the upper right on WaveForms will cause WaveForms to show the //Wavegen// and //Scope// instruments in the same window. This is useful in contexts where multiple instruments will be used in quick & repeated succession.
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:configure-scope-adj.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:scope.png?600 |}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 65: Line 64:
 Without leaving the //Scope// instrument, **Run** All Instruments by clicking the button in the upper right corner of WaveForms, which will start the //Wavegen// and the //Scope// instruments at the same time. Without leaving the //Scope// instrument, **Run** All Instruments by clicking the button in the upper right corner of WaveForms, which will start the //Wavegen// and the //Scope// instruments at the same time.
  
-What should be seen at this stage, is the voltage drop across the sensing resistor (Ch 1), the voltage drop across the entire circuit (Ch 2), and the voltage drop across the two resistors (Ch 3), as seen in the image to the right. The current across each component can be calculated using the Scope's Math Channels, which conveniently plots the calculation alongside the voltage measurements. These next steps detail how to set them up.+What should be seen at this stage, is the voltage drop across the sensing resistor (Ch 1), the voltage drop across the entire circuit (Ch 2 position 1), and the voltage drop across the two resistors (Ch 2 position 2), as seen in the image to the right.  Since the ADP5250 has only 2 channels we have take one power calculation, and then move channel 2 to position 2 and make the other calculation.  The current across each component can be calculated using the Scope's Math Channels, which conveniently plots the calculation alongside the voltage measurements. These next steps detail how to set them up. 
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:run-all-adj.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:top.png?600 |}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 79: Line 78:
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:total-power-math-channel-adj.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:chanell2.png?600 |}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 85: Line 84:
 <WRAP group> <WRAP group>
 <WRAP column half> <WRAP column half>
-The power across the resistor can be calculated as well. To do so, the voltage across the sensing resistor is subtracted from the voltage across both resistors (Channel 3), and the result multiplied by the current passing through the resistor.+The power across the resistor can be calculated as well. To do so, the voltage across the sensing resistor is subtracted from the voltage across both resistors (Channel 2 Position 2), and the result multiplied by the current passing through the resistor.
  
-**Add** another Math channel, this time with the calculation of "(C3-C1)*C1/Rs". If the chart is too cluttered with signals, click the checkmarks in the upper left of the Scope channels to stop them from being plotted. Set the units to "W" and adjust the range of this channel to 20 mW/div to view the power of the resistor component of the circuit. Select Math1 and then drag the red triangle on the left of the chart down to offset the channel from Math2, since they largely overlap.+**Add** another Math channel, this time with the calculation of "(C2-C1)*C1/Rs". If the chart is too cluttered with signals, click the checkmarks in the upper left of the Scope channels to stop them from being plotted. Set the units to "W" and adjust the range of this channel to 20 mW/div to view the power of the resistor component of the circuit. Select Math1 and then drag the red triangle on the left of the chart down to offset the channel from Math2, since they largely overlap.
  
 Note: Scope measurement and math channels can be renamed and relabeled in order to clarify what they represent. This can be done by expanding the channel options (the gear icon) and editing the Name and Label properties of the channel. Note: Scope measurement and math channels can be renamed and relabeled in order to clarify what they represent. This can be done by expanding the channel options (the gear icon) and editing the Name and Label properties of the channel.
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:resistor-power-math-channel-adj.png?600|}} +{{:test-and-measurement:analog-discovery-pro-5250:channel3.png?600 |}}
-</WRAP> +
-</WRAP> +
- +
-<WRAP group> +
-<WRAP column half> +
-The capacitor power can also be calculated, by subtracting the voltage across both resistors from the total voltage across the circuit and multiplying the result by the current passing through the circuit. +
- +
-**Add** one last Math channel with the calculation "(C2 - C3)*C1/Rs", set the units to "W" and adjusting the range accordingly (1 mW/div). This Math channel shows the power of the capacitor component of the circuit. +
-</WRAP> +
-<WRAP column half> +
-{{reference:test-and-measurement:analog-discovery-pro-3x50:capacitor-power-math-channel-adj.png?600|}} +
-</WRAP> +
-</WRAP> +
- +
-<WRAP group> +
-<WRAP column half> +
-Math3 is noisy but by averaging the signals across multiple measurements this can be reduced. To do so, expand the "Advanced Options" underneath the Time base and select 10 from the Average dropdown. +
-</WRAP> +
-<WRAP column half> +
-{{reference:test-and-measurement:analog-discovery-pro-3x50:set-averaging-adj.png?600|}}+
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 118: Line 97:
 <WRAP group> <WRAP group>
 <WRAP column half> <WRAP column half>
-To see the average value of each power measurement, click "View" in the top toolbar, then "Measurements". In the Measurements panel, click the "Add" button then "Defined Measurement". Select Math1 in the left panel, expand Vertical in the right then click Average. Click "Add", then repeat for Math2 and Math3. Once done, click "Close".+To see the average value of each power measurement, click "View" in the top toolbar, then "Measurements". In the Measurements panel, click the "Add" button then "Defined Measurement". Select Math1 in the left panel, expand Vertical in the right then click Average. Click "Add", then repeat for Math2. Once done, click "Close".
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:measurement-averages.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:average.png?600 |}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 130: Line 109:
 </WRAP> </WRAP>
 <WRAP column half> <WRAP column half>
-{{reference:test-and-measurement:analog-discovery-pro-3x50:50hz-measurement-adj.png?600|}}+{{:test-and-measurement:analog-discovery-pro-5250:last1.png?600 |}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 137: Line 116:
 ===== Other Resources ===== ===== Other Resources =====
  
-For more guides and example projects for your Analog Discovery Pro, please visit its [[start|Resource Center]].+For more guides and example projects for your Analog Discovery Pro (ADP5250), please visit its [[start|Resource Center]].
  
-For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forums]].+For technical support, please visit the [[https://forum.digilent.com|Digilent Forums]].