Changeset 14272 for firmware/ShutterController/docs
- Timestamp:
- 07/17/12 13:17:18 (12 years ago)
- Location:
- firmware/ShutterController/docs
- Files:
-
- 7 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/ShutterController/docs/FactShutter.tex
r14271 r14272 10 10 \usepackage{multirow} 11 11 \usepackage{eurosym} 12 \usepackage{url} 13 \usepackage{hyperref} 12 14 % Normal DIN A4 page format 13 15 % … … 91 93 \vspace*{40 mm} 92 94 93 \section{\label{sec:1} Introduction}94 The new remote controllable shutter system for the FACT telescope is built around two low voltage 24~V linear actuatorrs from Linak\footnote{Linak AG}95 \section{\label{sec:1} System overview} 96 The new remotely controllable shutter system for the FACT telescope is built around two low voltage 24~V linear actuators from Linak\footnote{Linak AG} driven by two VHN-5019 motor driver which are controlled by an Arduino Ethernet micro controller board. 95 97 96 The two motors are connected to a dual VHN-5019 motor driver Arduino shield which is able to control simultaneously 2 mid-high power motors using Pulse Width Modulation (PWM). The VHN-5019 also grant the possibility of performing current sensing on the A0/A1 pins of the Arduino board. The current sensing coefficient is 0.14 V/A and for this reason, in view of low current measurement, two 10x amplifiers followed by each followed by a low pass 2$^{nd}$ \mbox{($\nu_{cut}=1~$ kHz)} Butterworth filter were included on a custom circuit mounted as an Arduino shield.98 The Arduino is an open-source electronics prototyping platform based on the ATmega AVR micro-controller line. We chose the {\bf Arduino Ethernet} model which mounts a ATmega328 micro-controller with has 32 KB of ROM and 2 KB of SRAM and already includes a 10 Mbit ethernet interface (WizNet W5100 chipset). 97 99 100 The Arduino boards feature a bus like structure on the sides where composed by two lines of pass through connectors where Arduino compatible boars (shields) can be plugged in. Arduino shields are normally stackable 101 and more shields can be mounted on one controller, provided that their pinout are compatibles. 102 \begin{figure}[b!] 103 \centering 104 \includegraphics[width=1\textwidth]{shutter_sketch.pdf} 105 \caption{\label{figShutterSketch} {Sketch of the shutter system}} 106 \end{figure} 107 108 A sketch of the new shutter system is shown in Fig.\ref{figShutterSketch}. The two motors are connected to an Arduino\cite{arduino} shield which contains two VHN-5019 motor drivers which also enable current sensing. A filter/amplifier shield has been developed to reduce the noise on the position sensor and on the current measurement which is mainly caused by the length of the cables to the telescope (about 35 m). 109 110 The firmware can be uploaded in the Arduino through a standard RS232 serial port although an USB to Serial converter adapter is provided with the board. The firmware which is currently uploaded provide a simple web server with two button linked to the opening and closing commands of the shutter. 111 112 \subsection{The motor controller board} 113 The motor controller shield is a {\bf Pololu Dual VNH5019 Motor Driver Shield\footnote{\href{http://www.pololu.com/catalog/product/2502}{http://www.pololu.com/catalog/product/2502}}}. The schematic of the shield and the layout of the connection are shown in Fig.\ref{figMotorShield} and Fig.\ref{figMotorShieldUse} respectively. 114 115 Each of the VHN-5019 is able to control a mid-high power motor using Pulse Width Modulation (PWM) and, in addition, grants the possibility of performing current sensing on the A0 (M1CS signal) and A1 (M2CS signal) pins of the Arduino board by embedding a current to voltage converter with a current sensing coefficient of 0.14 V/A. 98 116 %In view of an - almost - completely remote operability of the FACT telescope the shutter 99 117 … … 102 120 %Each lid can move independently by a 55 mm stroke actuator which grant the necessary excursion to reach the $110^{\circ}$ which is required in order no to shadow the camera. 103 121 122 \begin{figure}[b!] 123 \centering 124 \includegraphics[width=0.8\textwidth]{pololu_sch_small.png} 125 \caption{\label{figMotorShield} {Diagram of the dual VHN5019 motor driver Arduino shield}} 126 \end{figure} 127 \begin{figure}[t!] 128 \centering 129 \includegraphics[width=0.6\textwidth]{pololu_use.jpg} 130 \caption{\label{figMotorShieldUse} {Connection layout of the dual VHN5019 motor driver Arduino shield}} 131 \end{figure} 132 \subsection{Amplifier and filter shield} 133 In view of low current measurement, two 10x amplifiers followed by each preceded by a low pass 2$^{nd}$ \mbox{($\nu_{cut}=1~$ kHz)} Butterworth filters were included on a custom circuit mounted as an Arduino shield. The diagram of the filter/amplifier Arduino shield is shown in Fig.\ref{figFilterShield}. The input current sensing signal is taken from the A0 and A1 analog Arduino pins while the amplified and filtered output is fed on the A4 and A5 analog pins respectively. 134 135 The analog signals of the Hall position sensors are also fed a low pass 2$^{nd}$ \mbox{($\nu_{cut}=1~$ kHz)} Butterworth filters and their output is connected to the A2/A3 analog Arduino pins. 136 137 \begin{figure}[t!] 138 \centering 139 \includegraphics[width=1\textwidth]{dpnc303_sch.pdf} 140 \caption{\label{figFilterShield} {Diagram of the custom filter/amplifier Arduino shield}} 141 \end{figure} 104 142 105 143 106 \begin{figure}[b!] 107 \centering 108 \includegraphics[width=1\textwidth]{shutter_sketch.pdf} 109 \caption{\label{fig1} {Sketch of the shutter system}} 110 \end{figure} 144 \clearpage 111 145 112 \section{Diagram of the filter board}146 %\section{Diagram of the filter board} 113 147 114 \section{Logic Block of the firmware}148 %\section{Logic Block of the firmware} 115 149 116 \section{The preliminary web interface} 150 %\section{The preliminary web interface} 151 \begin{thebibliography}{50} 152 \small 153 \bibitem{arduino} \href{http://www.arduino.cc}{http://www.arduino.cc} 154 \end{thebibliography} 117 155 \end{document}
Note:
See TracChangeset
for help on using the changeset viewer.