240 likes | 359 Views
Project duration – 1 year. AMC – Adaptive Mirror Controller. Project supervised by: Mony Orbach Project performed by: Koren Erez, Turgeman Tomer. Introduction. The project is a collaboration between the Physic ’ s Adaptive Optics Lab and HS DSL.
E N D
Project duration – 1 year AMC – Adaptive Mirror Controller Project supervised by: Mony Orbach Project performed by: Koren Erez, Turgeman Tomer
Introduction • The project is a collaboration between the Physic’s Adaptive Optics Laband HS DSL. • Developing a system that controls adaptive mirrors, by changing the voltage of their capacitors (up to 124 capacitors).
Signals & Rates Input: • A serial signal from the computer through a USB. Output: • 124 outlines of analog signal (0-295V). Rate: • The system will update all 124 outputs in 1mSec.
USB Optical Device Adaptive Mirror External Flow Chart AMC
AMC MMC USB Amp. Amp. Amp. Amp. Adaptive Mirror Internal Flow Chart USB Interface 8 Bit FPGA 12 Bit D/A
The State Machine (SM) • Implemented as FSM within the FPGA. • Main tasks: • Data flow controlling. • High Voltage Amplifiers power up/down sequence Controlling. • Carrying out a self test. • FPGA-PC communication through the USB module. • Including a Watch Dog Timer (WDT) feature for a PC-FPGA synchronization.
Power on AMC + USB cable connection! DLP, FPGA Power Up DLP ready! HVAmp Power Up Power off AMC + USB cable disconnection! HVAmps are powered on HVAmp Power Down Self test Self Test Byte! MAIN OK/Error Massage Shutdown Byte! Status Byte! DLP to PC Transmit EOT = End Of Transmission WDTR = Watch Dog Timer Reset DLP = USB Module HVAmp = High Voltage Amplifier The Control Bytes are marks in green RUN Byte! EOT RUN All capacitors were charged/ WDTR! The State Machine (SM) System Power Down
Testing The System • The testing process composed of separate checks for all of the system modules. • The modules are: • The MMC card (HW & FW) • The amplification cards • The Wire-Wrap, containing: • Bus-Exchanger • Latches • Switches and Relay • Quad D/A • Comparator
The MMC card (HW & FW) • Checking the HW: • Programming the FPGA with a simple program and sampling the FPGA’s pins and the transceiver’s inputs/outputs • Sampling the regulators • Checking the FW: • Comprehensive Test Bench was created in order to simulate the PC communication • All the SM states were examined
The amplification cards • Two additional cards were made for this test. This cards contained: • Voltage switching capabilities for the power up/down sequence • DIP Switch controlled address and EN signals • Analog signal, connected to a signal generator. • A 5pF capacitor was connected to the output of the tested amplifier, in order to resemble the mirror capacitors.
The Wire-Wrap • We added two headers on the cards that were used to check the amplification capability • This headers simulated logic inputs and control lines that could be switched in order to examine the WW’s components
AMC SW Interface • C++ functions were written in order to communicate with the AMC:
What we’ve learn • HW practice: • Reading datasheets • Component selection • Wire Wrap • Modular testing • FPGA Development flow: • HDL Designer development environment • Logic & timing simulation • Multidiscipline work: • Customer: Physic’s Adaptive Optics Lab • Semi contractor: Supertex • Soldering & Assembly with Bruria
Thanks for your support! Erez & Tomer
HVAmp Power Up/Down • Improper power up/down sequence can damage the HVAmps (High Voltage Amplifiers). • Power up sequence: Vpp(300V)Vnn(-5.5V)Vdd(6.5V) • Power down sequence: Vdd(6.5V)Vnn(-5.5V)Vpp(300V)
HVAmp Power Up/Down • In order to control the Power up/down sequence, The system includes Latch, Switches & Relay. • The switches and the relay responsible on the physical connection between the power supplies and the HVAmps. • The power up/down control lines toggle the switches for the appropriate sequence. • The Latch locks the state of the switches when the system finished power up. This allows a reduction of control lines.
HVAmp Power Supply Power Up/Down Unit Switches HVAmp Transceiver Transceiver Latch Bus Exchange Relay HVAmp Computer DLP (USB) Cyclone FPGA Transceiver Adaptive Mirror HVAmp Quad Voltage Output D/A Comparator CLK EPCS Reset HVAmp '1' HVAmp Power Up/Down
HVAmp Power Supply Switches HVAmp Transceiver Latch Bus Exchange Relay HVAmp Cyclone FPGA Adaptive Mirror HVAmp HVAmp HVAmp Power Up/Down
0xFF 0x00 Control Byte Flag The State Machine- MAIN State • The FPGA waits for a Control Sequence from the PC. • The Control Sequence composed of 3 bytes: • According to The Control Byte the FPGA shifts to the next state: • RUN Byte - updating all 124 outputs with the data received from the PC. • Self Test Byte - initiating a self test cycle. • Shutdown Byte - Power Down the High Voltage Amplifiers. • Status Byte - Status reporting to the PC.
Self Test • The self test gives indication that: • All components were powered up. • All components are working properly. • Proper data flow. • The FPGA sends the test’s result to the PC by the DLP module.
HVAmp Power Supply Switches HVAmp Transceiver Transceiver Latch Bus Exchange Relay HVAmp Computer DLP (USB) Cyclone FPGA Transceiver Adaptive Mirror HVAmp Quad Voltage Output D/A Comparator CLK EPCS Reset HVAmp '1' Self Test
HVAmp Transceiver Transceiver Bus Exchange HVAmp Computer DLP (USB) Cyclone FPGA Transceiver Adaptive Mirror HVAmp Quad Voltage Output D/A Comparator HVAmp '1' Self Test