Changeset 11666 for firmware/FSC/doc
- Timestamp:
- 07/27/11 18:57:49 (13 years ago)
- Location:
- firmware/FSC/doc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
firmware/FSC/doc/FSC.aux
r10668 r11666 9 9 \@writefile{lot}{\contentsline {table}{\numberline {2}{\ignorespaces composition of the sensor ID - ad exemplum}}{2}} 10 10 \newlabel{tdl_sensor_id}{{2}{2}} 11 \@writefile{toc}{\contentsline {subsection}{\numberline {1.3}Sensor Data}{ 2}}12 \newlabel{sec_sensor_data}{{1.3}{ 2}}11 \@writefile{toc}{\contentsline {subsection}{\numberline {1.3}Sensor Data}{3}} 12 \newlabel{sec_sensor_data}{{1.3}{3}} 13 13 \@writefile{lot}{\contentsline {table}{\numberline {3}{\ignorespaces sensor data format}}{3}} 14 14 \newlabel{tbl_sensor_data_format}{{3}{3}} … … 16 16 \@writefile{lot}{\contentsline {table}{\numberline {4}{\ignorespaces FSC commands}}{3}} 17 17 \newlabel{tbl_FSC_CMDS}{{4}{3}} 18 \@writefile{lot}{\contentsline {table}{\numberline {5}{\ignorespaces composition of FSC commands}}{ 3}}19 \newlabel{tbl_FSC_CMD_PACKAGE}{{5}{ 3}}18 \@writefile{lot}{\contentsline {table}{\numberline {5}{\ignorespaces composition of FSC commands}}{4}} 19 \newlabel{tbl_FSC_CMD_PACKAGE}{{5}{4}} 20 20 \@writefile{lot}{\contentsline {table}{\numberline {6}{\ignorespaces composition of FSCs acknowledgement}}{4}} 21 21 \newlabel{tbl_FSC_ACK}{{6}{4}} -
firmware/FSC/doc/FSC.log
r10668 r11666 1 This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=pdflatex 2011.3.24) 9 MAY 2011 15:241 This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9) (preloaded format=pdflatex 2011.3.24) 16 MAY 2011 08:05 2 2 entering extended mode 3 3 **FSC.tex … … 133 133 {C:/Users/neise/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] [2] [3] [4] 134 134 [5] 135 (E:\FACT\fact.isdc.unige.ch_svn_firmware\FSC\doc\FSC.aux) ) 135 (E:\FACT\fact.isdc.unige.ch_svn_firmware\FSC\doc\FSC.aux) 136 137 LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. 138 139 ) 136 140 Here is how much of TeX's memory you used: 137 141 1324 strings out of 494019 138 142 16155 string characters out of 3146498 139 8 0978 words of memory out of 3000000143 82978 words of memory out of 3000000 140 144 4634 multiletter control sequences out of 15000+200000 141 145 14064 words of font info for 33 fonts, out of 3000000 for 9000 142 146 714 hyphenation exceptions out of 8191 143 147 25i,11n,19p,879b,238s stack positions out of 5000i,500n,10000p,200000b,50000s 144 <C:\Users\neise\App 145 Data\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm0800.pk> <C:\Users 146 \neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm0600.pk> 147 <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ec 148 bx1200.pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec 149 \ dpi600\ecrm0700.pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\j150 knappen\ec\dpi600\ecrm1000.pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\p 151 k\ljfour\jknappen\ec\dpi600\ecbx1000.pk> <C:\Users\neise\AppData\Local\MiKTeX\2 152 .9\fonts\pk\ljfour\jknappen\ec\dpi600\ecbx1440.pk> <C:\Users\neise\AppData\Loca 153 l\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm1200.pk> <C:\Users\neise\Ap 154 pData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm1728.pk><E:/Progr 155 am Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><E:/Program Files 156 /MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><E:/Program Files/MiKTeX 2 157 .9/fonts/type1/public/amsfonts/cm/cmr7.pfb><E:/Program Files/MiKTeX 2.9/fonts/t 158 ype1/public/amsfonts/cm/cmsy10.pfb>159 Output written on FSC.pdf (5 pages, 1 21844 bytes).148 <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ 149 ecrm0800.pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ 150 ec\dpi600\ecrm0600.pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour 151 \jknappen\ec\dpi600\ecbx1200.pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts 152 \pk\ljfour\jknappen\ec\dpi600\ecrm0700.pk> <C:\Users\neise\AppData\Local\MiKTeX 153 \2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm1000.pk> <C:\Users\neise\AppData\Lo 154 cal\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecbx1000.pk> <C:\Users\neise\ 155 AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecbx1440.pk> <C:\Us 156 ers\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ecrm1200. 157 pk> <C:\Users\neise\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600 158 \ecrm1728.pk><E:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10 159 .pfb><E:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi7.pfb><E:/ 160 Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><E:/Program F 161 iles/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr7.pfb><E:/Program Files/MiKTe 162 X 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb> 163 Output written on FSC.pdf (5 pages, 130624 bytes). 160 164 PDF statistics: 161 27 3PDF objects out of 1000 (max. 8388607)165 277 PDF objects out of 1000 (max. 8388607) 162 166 0 named destinations out of 1000 (max. 500000) 163 167 1 words of extra memory for PDF output out of 10000 (max. 10000000) -
firmware/FSC/doc/FSC.tex
r10668 r11666 53 53 \end{itemize} 54 54 55 FSC uses an 8MHz ATmega32L micro controller(MCU) to readout the muxed 24bit sigma delta ADC (AD7719) which is connected to the RTDs. In addition the ATmegas internal 10bit ADCis used to monitor the humidity, LV-voltages and LV-currents.55 FSC uses an 8MHz ATmega32L micro controller(MCU) to readout the muxed 24bit sigma delta ADC (AD7719) which is connected to the RTDs. In addition the 10bit ADC, which is part of the ATmegas32L, is used to monitor the humidity, LV-voltages and LV-currents. 56 56 The muxers on FSC belong to analog devices ADG77xx family, and are controlled by the MCU. 57 The User has access to FSC via Ethernet Interface, provided by WIZNETs W5100, the younger brother of W5300, which is used on FACTs FAD boards. 58 59 AD7719 and W5100 communicate with the MCU via an SPI bus, which results in the fact, that a lot of user interaction might slow down temperature measurement or vice versa. Additionally the user should be aware, that sigma delta ADCs have a prolonged settling time, when muxed. Redout of all 64 temperature channels takes about 13s, while one single channel might be readout with at a rate of 10Hz. In addition FSC runs a 32bit timer, counting miliseconds since timer init. The timer is initialized to zero, when FSC is powered. User may synchronize FSCs timer to Unix time. 57 The User has access to FSC via an Ethernet Interface, provided by WIZNETs W5100, the brother of W5300, which is used on FACTs FAD boards. 58 59 AD7719 and W5100 communicate with the MCU via the same SPI bus, which results in the fact, that a lot of user interaction might slow down temperature measurement or vice versa. Additionally the user should be aware, that sigma delta ADCs have a prolonged settling time, when muxed. Redout of all 64 temperature channels takes about 13s, while one single channel might be readout with at a rate of 10Hz. 60 61 In addition FSC runs a 32bit timer, counting miliseconds since timer init. The timer is initialized to zero, when FSC is powered. User may synchronize FSCs timer to Unix time. 60 62 61 63 \subsection{Measuring} 62 64 \label{sec_measuring} 63 65 The user may send a command telling FSC, what to measure. FSC will measure it and return the result, right after the measurement was finished. It is possible to tell FSC to measure several sensors at a time. 64 Users may issue an 'activate' command (see table \ref{tbl_FSC_CMDS}), to specify which channel should be measured during the next measurement phase. In case one is not sure which channel was activated beforehand users may issue a 'status' command, to gather information about FSCs current status. Whenever the user completed the channel activation process the 'measure' commands may be issued. Since the high resolution ADC AD7719 used for resistance measurement and the 10bit ADC used for voltage measurement run independently on different time scales, different 'measure' commands are defined. 'measure resistances' will start a measurement possibly taking some seconds, while 'measure voltages' will be ready almost instantaneosly. 65 Since a measurement might take some time, FSC generates an answer, once the 'measure' command received, informing the user about the command reception. The results are then submitted in a single message to the user, which is called a telegram. 66 Users may activate (see table \ref{tbl_FSC_CMDS}) beliebige sensor channels, by writing into the aproriate 'enable register', to specify which channel should be measured during the next measurement phase. 67 %In case one is not sure which channel was activated beforehand users may issue a 'status' command, to gather information about FSCs current status. 68 Whenever the user completed the channel activation process the 'measure' commands may be issued. Since the high resolution ADC AD7719 used for resistance measurement and the 10bit ADC used for voltage measurement run independently on different time scales, different 'measure' commands are defined. 'measure resistances' will start the measurement of all activated resistance channels possibly taking some seconds, while 'measure voltages' will start a measurement of the activated voltage channel and be ready almost instantaneosly. 69 Since a measurement might take some time, FSC generates an answer, once the 'measure' command received, informing the user about the command reception. The results are later submitted in a single message to the user, which is called a telegram. 70 Since the maximum readout data rate for the MCU from W5100 memory (~100kb/s) is substantially smaller than the data rate over ethernet, is is possible for the user to fill the W5100 receive memory, while FSC is still working on the first command. Although not extensivly tested, the reaction of W5100 to a completly filled memomry is not critical. It will stop acknowledging incoming TCP/IP packets, which ususally causes the sender to keep sending them. Eventually a time out on user side will occur and the connection will look like lost, but actually it was just given up by the sender. 66 71 During a 'measure resistance' FSC is not checking for incoming commands. So incoming commands will pile up in W5100 input FIFO. Which means, sending a lot of on demand commands will delay FSCs reaction to the following commands consecutivly. 67 72 The W5100 transmission FIFO can recieve 4kbyte. I am not sure what happens in case this FIFO is completely full, but I guess W5100 will reject incoming TCP/IP packets and the user side PC will constantly keep on (re)sending them. Since a typical command consists of less than 10bytes it is necessary to send a lot of commands without receiving any answer before the FSC FIFO is full. -
firmware/FSC/doc/FSC.toc
r10668 r11666 3 3 \contentsline {subsubsection}{\numberline {1.1.1}RTD switching}{2} 4 4 \contentsline {subsection}{\numberline {1.2}The Telegram}{2} 5 \contentsline {subsection}{\numberline {1.3}Sensor Data}{ 2}5 \contentsline {subsection}{\numberline {1.3}Sensor Data}{3} 6 6 \contentsline {section}{\numberline {2}Ethernet Interface}{3} 7 7 \contentsline {subsection}{\numberline {2.1}FSC Registers}{4}
Note:
See TracChangeset
for help on using the changeset viewer.