Projects/USLO
Line 18: | Line 18: | ||
== Controller == | == Controller == | ||
+ | |||
The Controller is realized on a [[Hardware/FPGARack|HEI FPGA-Rack FPGA board]]. This is a standard FPGA board used at UIT for various projects designed to fit in [http://en.wikipedia.org/wiki/Rack_unit two rack units (2U)]. The controlling is implemented in the [http://www.xilinx.com/products/silicon-devices/fpga/spartan-6/lx.html Xilinx Spartan-6 LX FPGA]. The USB connector is used to send the collected data on to a computer. On the other side, the VME 96 pin connects to other electronic components used for signal transformation. | The Controller is realized on a [[Hardware/FPGARack|HEI FPGA-Rack FPGA board]]. This is a standard FPGA board used at UIT for various projects designed to fit in [http://en.wikipedia.org/wiki/Rack_unit two rack units (2U)]. The controlling is implemented in the [http://www.xilinx.com/products/silicon-devices/fpga/spartan-6/lx.html Xilinx Spartan-6 LX FPGA]. The USB connector is used to send the collected data on to a computer. On the other side, the VME 96 pin connects to other electronic components used for signal transformation. | ||
== Mirror Controller == | == Mirror Controller == | ||
− | The mirrors' angle is | + | The mirrors' angle is proportional to a current of ±10 mA and ±15 mA and controlled by an FPGA. For this we use an DAC to transform the digital signal from the FPGA into a tension, and then a Howland Current Pump to transform the tension into current. |
TBD: basic schematic | TBD: basic schematic | ||
Line 31: | Line 32: | ||
[[File:ADC-DAC_board_with_resistors.jpeg|300px|thumb|right|ADC-DAC board with soldered resistors for DAC DC-offset]] | [[File:ADC-DAC_board_with_resistors.jpeg|300px|thumb|right|ADC-DAC board with soldered resistors for DAC DC-offset]] | ||
− | The DAC in use is the [http://www.ti.com/product/pcm1793 PCM1793] 24-BIT, 192kHz Stereo D/A converter on the [[Hardware/Parallelport/Audio_ADC_DAC|HEI PP Audio ADC DAC board]]. This DAC was chosen, because it fulfils the requirements of this project and we had it ready to use on our [[Hardware/Parallelport/Audio_ADC_DAC|PP Audio ADC DAC board]]. This board is designed for audio applications and therefore cancels out any DC-offset. We soldered a | + | The DAC in use is the [http://www.ti.com/product/pcm1793 PCM1793] 24-BIT, 192kHz Stereo D/A converter on the [[Hardware/Parallelport/Audio_ADC_DAC|HEI PP Audio ADC DAC board]]. This DAC was chosen, because it fulfils the requirements of this project and we had it ready to use on our [[Hardware/Parallelport/Audio_ADC_DAC|PP Audio ADC DAC board]]. This board is designed for audio applications and therefore cancels out any DC-offset. We soldered a 6.4 kΩ pull-up resistor on the positive input of the OpAmp on the Analogue Output Stage. This resistor forms a voltage divider with the 3.3 kΩ resistor to halve the supply voltage. |
:: <math>V_{out} = - \frac{R_2}{R_1} (V_- - V_+) + \frac{R_2}{R_3} * V_{cc}</math> | :: <math>V_{out} = - \frac{R_2}{R_1} (V_- - V_+) + \frac{R_2}{R_3} * V_{cc}</math> | ||
Line 47: | Line 48: | ||
:: <math>R_3 = R_2 * \frac{V_{cc}}{V_{out}} = 3.3\ k\Omega * \frac{5\ V}{2.5\ V} = 6.6\ k\Omega</math> | :: <math>R_3 = R_2 * \frac{V_{cc}}{V_{out}} = 3.3\ k\Omega * \frac{5\ V}{2.5\ V} = 6.6\ k\Omega</math> | ||
− | As it is a stereo Audio-DAC, it is furnished with 2 channels: left and right. In this application we use | + | As it is a stereo Audio-DAC, it is furnished with 2 channels: left and right. In this application we use one channel per mirror. |
=== Howland Current Pump === | === Howland Current Pump === | ||
− | A Howloand Current Pump is used to convert the voltage signal from the DAC into a current signal for the mirrors. Thereby we use the "Improved Howland Current Pump" (for more information please refer to [http://www.ti.com/lit/an/snoa474a/snoa474a.pdf AN-1515 A Comprehensive Study of the Howland Current Pump]). | + | [[File:HowloandCurrentPump_PCB.png|300px|thumb|right|ADC-DAC board with soldered resistors for DAC DC-offset]] |
+ | |||
+ | A Howloand Current Pump is used to convert the voltage signal from the DAC into a current signal for the mirrors. Thereby we use the "Improved Howland Current Pump" with trimmer (for more information please refer to [http://www.ti.com/lit/an/snoa474a/snoa474a.pdf AN-1515 A Comprehensive Study of the Howland Current Pump]). | ||
+ | |||
+ | We did a simulation in [http://en.wikipedia.org/wiki/PSpice P-Spice] to better understand the circuit and to specify the resistors' values. | ||
TBD: howland schematic and simulation | TBD: howland schematic and simulation | ||
+ | |||
+ | This functionality was then realized on a specific PCB with a [http://en.wikipedia.org/wiki/Phone_connector_%28audio%29 phone connector] for the input signals from the audio DAC and a [http://en.wikipedia.org/wiki/D-subminiature D-sub] connector towards the mirrors. | ||
+ | |||
+ | == Sensor Data Acquisition == | ||
+ | |||
+ | |||
== PP-backplane == | == PP-backplane == | ||
− | [[File:USLO-rack-card.png| | + | [[File:USLO-rack-card.png|300px|thumb|right|USLO PP Backplane with daughtercards]] |
+ | |||
+ | The above boards are mounted on PP Backplane board to be inserted into the HEI Rack system to connect to the controlling FPGA. | ||
== Synthesis Flow == | == Synthesis Flow == | ||
+ | |||
HDL-Designer -> Synplify -> ISE | HDL-Designer -> Synplify -> ISE | ||
[[TBC]] | [[TBC]] |
Revision as of 17:05, 21 August 2014
|
The aim of the project is to demonstrate the feasibility of a cheap and miniature ophthalmoscope based on versatile and portable MEMS scanning mirrors, capable of three-dimensional measurements of different structures of the fundus, including the optic nerve head, and functional measures requiring excitation. Such a device could be acquired by ophthalmologists, but also by general practice or paramedical staff (orthoptists, nurses and opticians) for the systematic and remote screening of glaucoma. This page describes the electronic system. For details about the optical system see TBD.
System
The proposed electronic system contains three main parts:
- a controller
- the mirror controller
- the sensor data acquisition
TBD: schematic
The Controller forms the bridge between a computer on one side and the electronic circuitry on the other side. The computer is used to analyze and visualize the collected data. The electronic circuitry transforms the signals from the digital domain into the analogue domain of the mirrors and also from analogue to digital for the image sensor.
Hardware
Controller
The Controller is realized on a HEI FPGA-Rack FPGA board. This is a standard FPGA board used at UIT for various projects designed to fit in two rack units (2U). The controlling is implemented in the Xilinx Spartan-6 LX FPGA. The USB connector is used to send the collected data on to a computer. On the other side, the VME 96 pin connects to other electronic components used for signal transformation.
Mirror Controller
The mirrors' angle is proportional to a current of ±10 mA and ±15 mA and controlled by an FPGA. For this we use an DAC to transform the digital signal from the FPGA into a tension, and then a Howland Current Pump to transform the tension into current.
TBD: basic schematic
DAC
The DAC in use is the PCM1793 24-BIT, 192kHz Stereo D/A converter on the HEI PP Audio ADC DAC board. This DAC was chosen, because it fulfils the requirements of this project and we had it ready to use on our PP Audio ADC DAC board. This board is designed for audio applications and therefore cancels out any DC-offset. We soldered a 6.4 kΩ pull-up resistor on the positive input of the OpAmp on the Analogue Output Stage. This resistor forms a voltage divider with the 3.3 kΩ resistor to halve the supply voltage.
As we like to define the DC current, i.e. when there is no differential voltage applied:
- V − − V + = 0.
Therefore we can simplify:
And with this:
As it is a stereo Audio-DAC, it is furnished with 2 channels: left and right. In this application we use one channel per mirror.
Howland Current Pump
A Howloand Current Pump is used to convert the voltage signal from the DAC into a current signal for the mirrors. Thereby we use the "Improved Howland Current Pump" with trimmer (for more information please refer to AN-1515 A Comprehensive Study of the Howland Current Pump).
We did a simulation in P-Spice to better understand the circuit and to specify the resistors' values.
TBD: howland schematic and simulation
This functionality was then realized on a specific PCB with a phone connector for the input signals from the audio DAC and a D-sub connector towards the mirrors.
Sensor Data Acquisition
PP-backplane
The above boards are mounted on PP Backplane board to be inserted into the HEI Rack system to connect to the controlling FPGA.
Synthesis Flow
HDL-Designer -> Synplify -> ISE