Thursday, May 26, 2016

simulated controlled voltage source

Day 3

On Wednesday, 5/25/2016, we used the Leader (Leader 718-3D DC voltage source) along with a 10k potentiometer and a red LED to visualize a controlled voltage source that utilized pulse width modulation.  As shown below,  we used simulink to produce a constant value that could vary between zero and 255, this minimum and maximum value was discovered by starting with a larger window and testing how high we could make the constant while still changing the voltage, the max of 255 comes from the max number of bits the arduino can produce at any given time for pulse width modulation.  The main error with this is that the periods of the pulse width modulation are not phase correct. As a result the voltages that were produced by the arduino board were not linear, it made a strange sine wave.

No comments:

Post a Comment