Sampling

We will be sampling all three phases of the output, plus the rectified sum of all three voltages, thus using all four channels of the A/D converter. We'll only sample the positive-going part of the Phase 1, 2, and 3 waveforms. Channel 4 of the A/D converter will sample the rectified output.

The sampling challenge arises because at the speed the wind turbine is rotating, sampling each of the four waveforms in real-time and sending them to StampPlot does not result in a good real-time display. What our program needs, then, is a way to sample each of the four A/D converter input signals for later display, similar to what we did in Experiment 4. The big difference, however, is that we now need to save four sample groups instead of just one - AND - we need a mechanism to keep the samples "in sync" with the actual real-time voltages that are being generated by the wind turbine.

To solve this problem, we'll take 10 samples of the waveform's voltage, as we did in Experiment 4, except now we'll do this for each of the four waveforms -- phase 3, phase 2, phase 1, and rectified output. This means we'll need to store a total of 40 samples, each sample taking one byte, for a total of 40 bytes. That's a large amount of data. Fortunately, the BASIC Stamp module provides a large memory bank, called EEPROM, for data storage, as well as built-in commands which make it easy to store and retrieve data from EEPROM memory.

Solar Stirling Engine Basics Explained

Solar Stirling Engine Basics Explained

The solar Stirling engine is progressively becoming a viable alternative to solar panels for its higher efficiency. Stirling engines might be the best way to harvest the power provided by the sun. This is an easy-to-understand explanation of how Stirling engines work, the different types, and why they are more efficient than steam engines.

Get My Free Ebook


Post a comment