Download Mains Frequency Fluctuation Metering
Transcript
Figure 11. Frequency tracking pulse generation circuit (Eagle schematic). The frequency tracking circuit is designed to periodically generate digital pulses that are at the same frequency as the incoming 50Hz sinusoidal waveform. A low-pass filter attenuates the incoming signal’s frequency past the cut-off point of 500Hz in order to reduce high frequency noise while minimising attenuation at the 50Hz frequency. A 1N4148 diode is connected with the anode to ground and the cathode connected to the T1 transistor’s base. This diode allows current to flow through the capacitor C1 and resistor R4 during the negative cycle of the input waveform. The diode’s action prevents damage to Transistor T1 as the Emitter-Base voltage cannot exceed more than 6V [46]. T1 switches on when the base-emitter voltage is above 0.7V [46]. Due to the positive, non-zero voltage that the transistor turns on at, the square wave that is produced has a mark/space ratio that is slightly less than 50%, but still easily long enough (on the order of milliseconds) to be measured by the Arduino, which can measure on the order of microseconds [36]. Figure 12 displays the transistor’s pulse triggering but it appears that the square wave’s positive and negative edges is very close to zero due to the larger AC signal voltage. 29