Sunday, April 18, 2010

LABVIEW control

Megan and I have been working on the ability to control devices on the POX board. In the near future, a software solution will be developed to adaptively control all devices. This first bit of test code is meant to demonstrate abilities and help test and debug.

The program below offers control of all 4 DAC's. DAC 1/2 represent Channel 1/2 and offer ability to specify DC value to subtract. DAC 3/4 offer ability to control brightness of LED by adjusting bias voltage on base of transistor.

In the next work we will be integrating this control with the ADC and PGA. The adaptive software will act as a feedback system. The goal is to get maximum performance of ADC. This requires true DC subtraction and for the PPG signal to operate rail to rail (0 to +5v). To accomplish this we will have three (2) routes.

(1) modify PGA gain. This will allow major gain but steps (1, 2, 5, 10, 50, etc.) limit the maximum gain as we can't saturate.
(2) modify the brightness of LED. This will allow minor variations.


No comments:

Post a Comment