<xml xmlns="https://developers.google.com/blockly/xml">
<description>
<![CDATA[


# Half wave rectifier

<img class="ui image fluid" src='data:image/svg+xml;base64,[encoded data, 21884 characters]'/>

Set the WG frequency to 1000 Hz. Connect the Diode and observe the output waveform at A2. 
The output in the negative half is due to the junction capacitance. 
The voltage drop is low because the load is only the input impedance of A2 (1Meg)

Now connect a 1K load resistor to observe the change. The capacitively coupled
current will not make an observable voltage across 1K. The voltage drop across the diode increases 
because the current is now high. 

Connect different values of filter capacitor and measure the ripple voltage.

---



]]>	
</description>


  <variables>
    <variable id="@X+|E..Oe?D`3VPgf,]h">timestamps</variable>
    <variable id="iI7+@[._G[|uQoWWCkZ-">data1</variable>
    <variable id="Y@b#km#djBlB(dLmI#Pj">data2</variable>
  </variables>
  <block type="set_frequency" id="RLR%UpGc}k_6b0jP.3~4" x="6" y="2">
    <field name="CHANNEL">WG</field>
    <value name="FREQUENCY">
      <block type="math_number" id="_hk^8a9DlF`w^Z40ak_$">
        <field name="NUM">1000</field>
      </block>
    </value>
    <next>
      <block type="controls_whileUntil" id="4zA6w#iFS6sXjLrU~Ctf">
        <field name="MODE">WHILE</field>
        <value name="BOOL">
          <block type="logic_boolean" id="||B8-,v+Bw6BiZwRLdy!">
            <field name="BOOL">TRUE</field>
          </block>
        </value>
        <statement name="DO">
          <block type="capture_plot" id="ZAK~2p.A_T1r3e*WMtb0">
            <field name="CHANNEL">A1</field>
            <field name="TIMESTAMPS" id="@X+|E..Oe?D`3VPgf,]h">timestamps</field>
            <field name="DATA1" id="iI7+@[._G[|uQoWWCkZ-">data1</field>
            <field name="DATA2" id="Y@b#km#djBlB(dLmI#Pj">data2</field>
          </block>
        </statement>
      </block>
    </next>
  </block>
</xml>
