scieee AI-readable full text Open interactive document viewer

Implementación de los formatos de telemetría científica de Gaia-3 en el TM CODEC

Dosal Roiz, Borja

Abstract

La misión Gaia de la Agencia Espacial Europea (ESA) tiene por objetivo realizar un mapa tridimensional y extremadamente preciso de más de mil millones de estrellas de nuestra galaxia. Para ello será necesario que este satélite transmita a tierra una gran cantidad de datos científicos. Por consiguiente, para dimensionar el satélite y garantizar su correcto funcionamiento es necesario realizar numerosas simulaciones de telemetría. Un grupo de investigadores españoles participantes en Gaia desarrollo el software adecuado para realizar estas simulaciones de telemetría y lo bautizó como “Telemetry CODEC” (codificador/decodificador de telemetría), cuya implementación está realizada usando C++ y se ejecuta bajo el sistema operativo Linux. Como el principal contratista de Gaia (EADS/Astrium) decidió mejorar el diseño de la misión, entonces se hizo necesaria la adaptación del TM CODEC de su versión anterior “Gaia-2” a su nueva versión “Gaia-3”. Es en este campo en el que se circunscribe el presente trabajo fin de carrera que se ha desarrollado en el Instituto de Estudios Espaciales de Cataluña (IEEC). Más específicamente este trabajo contempla el desarrollo de un nuevo módulo del TM CODEC llamado ptmcode (Packet Telemetry Coder). El módulo ptmcode es capaz de tomar los datos generados por el simulador de misión GASS (Gaia System Simulator), que contiene la telemetría científica bajo la versión “Gaia-3”, y convertir esos datos a los formatos binarios adecuados, así como calcular, generar e insertar las cabeceras de source packet para cumplir con los estándares de la Agencia Espacial Europea. Además de esto, el módulo ptmcode es capaz de calcular unas estadísticas con el número de estrellas que el satélite ha medido o con la cantidad de telemetría enviada a tierra, entre otras cosas. Tras un buen número de simulaciones y pruebas realizadas se pueden mencionar como resultados más significativos que Gaia analizará unos 2,6 millones de estrellas hasta magnitud 20 en un periodo de 3 horas, lo que da una media aproximada de 242 estrellas analizadas por segundo. También en el apartado de telemetría se ha llegado a los 9200 Kilobits por segundo, en los momentos de mayor densidad estelar.

Full text

TREBALL DE FI DE CARRERA TÍTOL: Implementación de los formatos de telemetría científica de Gaia-3 en el TM CODEC AUTOR: Borja Dosal Roiz DIRECTOR: Enrique García-Berro Montilla, Jordi Portell i de Mora DATA: 29-06-2007 3 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Títol: Implementación de los formatos de telemetría científica de Gaia-3 en el TM CODEC Autor: Borja Dosal Roiz Director: Enrique García-Berro Montilla, Jordi Portell i de Mora Data: 29-06-2007 Resum La misión Gaia de la Agencia Espacial Europea (ESA) tiene por objetivo realizar un mapa tridimensional y extremadamente preciso de más de mil millones de estrellas de nuestra galaxia. Para ello será necesario que este satélite transmita a tierra una gran cantidad de datos científicos. Por consiguiente, para dimensionar el satélite y garantizar su correcto funcionamiento es necesario realizar numerosas simulaciones de telemetría. Un grupo de investigadores españoles participantes en Gaia desarrollo el software adecuado para realizar estas simulaciones de telemetría y lo bautizó como “Telemetry CODEC” (codificador/decodificador de telemetría), cuya implementación está realizada usando C++ y se ejecuta bajo el sistema operativo Linux. Como el principal contratista de Gaia (EADS/Astrium) decidió mejorar el diseño de la misión, entonces se hizo necesaria la adaptación del TM CODEC de su versión anterior “Gaia-2” a su nueva versión “Gaia-3”. Es en este campo en el que se circunscribe el presente trabajo fin de carrera que se ha desarrollado en el Instituto de Estudios Espaciales de Cataluña (IEEC). Más específicamente este trabajo contempla el desarrollo de un nuevo módulo del TM CODEC llamado ptmcode (Packet Telemetry Coder). El módulo ptmcode es capaz de tomar los datos generados por el simulador de misión GASS (Gaia System Simulator), que contiene la telemetría científica bajo la versión “Gaia-3”, y convertir esos datos a los formatos binarios adecuados, así como calcular, generar e insertar las cabeceras de source packet para cumplir con los estándares de la Agencia Espacial Europea. Además de esto, el módulo ptmcode es capaz de calcular unas estadísticas con el número de estrellas que el satélite ha medido o con la cantidad de telemetría enviada a tierra, entre otras cosas. Tras un buen número de simulaciones y pruebas realizadas se pueden mencionar como resultados más significativos que Gaia analizará unos 2,6 millones de estrellas hasta magnitud 20 en un periodo de 3 horas, lo que da una media aproximada de 242 estrellas analizadas por segundo. También en el apartado de telemetría se ha llegado a los 9200 Kilobits por segundo, en los momentos de mayor densidad estelar. 4 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Title: Implementation of the Gaia-3 science telemetry formats in the TM CODEC Author: Borja Dosal Roiz Director: Enrique García-Berro Montilla, Jordi Portell i de Mora Date: 29-06-2007 Overview The Gaia mission of the European Space Agency (ESA) has as a main goal to produce a three-dimensional and extremely precise map of more than a thousand millions of stars of our own Galaxy. In order to do that this satellite will have to send a huge amount of scientific data back to Earth. Consequently, in order to develop the satellite and guarantee its correct functioning, it is necessary to carry out many telemetry simulations. The research team that participates in Gaia developed the appropriate software capable of carrying out these telemetry simulations and called it “Telemetry CODEC” (telemetry coder/decoder). Its implementation was made under C++ and it runs under the Linux operative system. As the main contractor of Gaia (EADS/Astrium) decided to improve the design of the satellite, it was necessary to adapt the TM CODEC from its previous version “Gaia-2” to its new version “Gaia-3”. The present master thesis is inscribed in this research line, which has been done at the Institute for Space Studies of Catalonia (IEEC). Specifically, it involves the development of a new software module of the TM CODEC called ptmcode (Packet Telemetry Coder). This module ptmcode is capable of taking the data generated by the mission simulator GASS (Gaia System Simulator), that contains the scientific telemetry under version “Gaia-3”, and converting it to its binary format, as well as calculating, generating and inserting the source packet headers in order to comply with the standards of the European Space Agency. Furthermore the ptmcode module is capable of computing the statistics with the number of stars that the satellite has measured or the telemetry that it has sent to Earth, among other things. After a number of simulations carried out with the ptmcode it is worth to mention as main results that Gaia will analyze 2,6 millions of stars up to the 20th magnitude in a period of three hours, what means an average of 242 stars analyzed per second. Moreover, in the telemetry side it has reached the 9200 Kilobits per second, in the moments of highest stellar density. 5 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Dedicated to my parents 6 Implementation of the Gaia-3 science telemetry formats in the TM CODEC INDEX INTRODUCTION................................................................................................ 8 1 THE TELEMETRY OF GAIA-3 ................................................................ 11 1.1. Current status of the Gaia TM CODEC.......................................................................... 11 1.2. Gaia-3 Telemetry format ................................................................................................. 11 1.3. Assumptions and simplifications.................................................................................. 13 1.4. Implementation of the software ..................................................................................... 14 2 SIMULATIONS......................................................................................... 15 2.1. Magnitude 10 simulations............................................................................................... 15 2.2. Magnitude 13 simulations............................................................................................... 17 2.3. Magnitude 16 simulations............................................................................................... 20 2.3.1. Mission day 1478th: 24 hours simulation .............................................................. 21 2.3.2. Mission day 1494th: 6 hours simulation ................................................................ 24 2.4. Magnitude 20 simulations............................................................................................... 29 2.4.1. Mission day 1478th: 6 hours simulation ................................................................ 29 2.4.2. Mission day 1494th: 6 hours simulation ................................................................ 33 2.4.3. Mission day 1504th: 6 hours simulation ................................................................ 34 3 SUMMARY OF RESULTS....................................................................... 38 4 CONCLUSIONS....................................................................................... 40 5 REFERENCES......................................................................................... 42 5.1 Applicable Documents.................................................................................................... 42 5.2 Reference Documents..................................................................................................... 42 ANNEX A DEFINITIONS AND ACRONYMS................................................... 43 7 Implementation of the Gaia-3 science telemetry formats in the TM CODEC LIST OF FIGURES & TABLES Fig. 1.1: Example of GASS-3 output ................................................................ 12 Fig. 1.2: Flux diagram illustrating the operation of the ptmcode ....................... 14 Fig. 2.1: Field Density Index at different integration times for 10th magnitude .. 15 Fig. 2.2: Field Density Index and TM Curve for the 10th magnitude simulation 16 Fig. 2.3: Field Density Index at different integration times for 13th magnitude .. 17 Fig. 2.4: Field Density Index and TM Curve for the 13th magnitude simulation 18 Fig. 2.5: Field Density Index at different integration times for 13th magnitude .. 19 Fig. 2.6: Telemetry Curve at different integration times for 13th magnitude ...... 20 Fig. 2.7: Sketch illustrating the analysis of the 16th magnitude simulations ...... 21 Fig. 2.8: Field Density Index of both Fields of View for 16th magnitude............ 22 Fig. 2.9: Field Density Index at different integration times for 16th magnitude .. 23 Fig. 2.10: Field Density Index and TM Curve for the 16th magnitude................ 23 Fig. 2.11: Telemetry Curve at different integration times for 16th magnitude .... 24 Fig. 2.12: Field Density Index of both Fields of View for 16th magnitude .......... 25 Fig. 2.13: Field Density Index at different integration times for 16th magnitude 25 Fig. 2.14: Field Density Index and TM Curve for the 16th magnitude................ 26 Fig. 2.15: Telemetry Curve at different integration times for 16th magnitude .... 26 Fig. 2.16: Snapshot of the console output of ptmcode, for 6 h. at 16th mag. .... 28 Fig. 2.17: Sketch illustrating the analysis of the 20th magnitude simulations .... 29 Fig. 2.18: Field Density Index of both Fields of View for 20th magnitude .......... 30 Fig. 2.19: Field Density Index at different integration times for 20th magnitude 31 Fig. 2.20: Telemetry Curve at different integration times for 20th magnitude .... 32 Fig. 2.21: Field Density Index of both Fields of View for 20th magnitude .......... 32 Fig. 2.22: Field Density Index at different integration times for 20th magnitude 33 Fig. 2.23: Telemetry Curve at different integration times for 20th magnitude .... 34 Fig. 2.24: Field Density Index of both Fields of View for 20th magnitude .......... 35 Fig. 2.25: Field Density Index at different integration times for 20th magnitude 36 Fig. 2.26: Telemetry Curve at different integration times for 20th magnitude ... 36 Fig. 3.1: Probability of the stars depending on its magnitude ........................... 39 Table 1.1: Complete sampling scheme to be used in Gaia-3 ........................... 13 Table 3.1: Summary of the averages and peaks in stellar density for 20th magnitude ................................................................................................. 38 Table 3.2: Summary of the averages and peaks in Telemetry for 20th magnitude .................................................................................................................. 38 Table 4.1: Summary of the most representative parameters in the simulations40 8 Implementation of the Gaia-3 science telemetry formats in the TM CODEC INTRODUCTION Gaia is a new and ambitious mission of the European Space Agency (ESA). This satellite will measure the positions and proper motions of more than one billion stars and other objects with unprecedented accuracy, providing a sample of more than 1% of the stellar content of our Galaxy. At the end of its lifetime, the largest and most complete three-dimensional map of our Galaxy will be produced. Such a mission implies large technological and design efforts, since it will have to detect, select and measure hundreds of stars every second, sending huge amounts of scientific data back to Earth which is more than 1.5 million kilometers away. Scheduled to be launched in 2011 and after a four-month voyage Gaia will be orbiting around L2 (Lagrange point 2), which is at 1.5 million kilometers from Earth in the outer direction of the Solar System, and will operate for 5 years. The operation of Gaia is based on a continuous all-sky scanning. The satellite will spin around its own axis, with this axis maintaining a fixed angle with respect to the Sun while at the same time also performing a precession motion. The observations will be made in the visible spectrum and will include position and proper motion of the objects measured, as well as photometric and spectrometric data. Two telescopes (Astro-1 and Astro-2) will perform the astrometric and broad-band photometric measurements. Gaia will not only measure stars, but also any astronomical object with enough apparent brightness to be detected and observed by its instruments. Millions of binary stars, some hundred thousand white dwarfs, more than 50 thousand brown dwarfs and millions of galaxies will be measured, as well as thousands of solar system objects including NEOs (Near-Earth Objects). Also, about 105 supernovae and 30 thousand extra-solar planets are envisaged to be catalogued, as well as some 500 thousand quasars and some 200 gravitational microlensing events. Introduction 9 In order to develop the satellite and guarantee its correct functioning it is necessary to carry out many telemetry simulations. The research team that participates in Gaia developed the appropriate software capable of carrying out this telemetry simulations and called it “Telemetry CODEC” (coder/decoder of telemetry). Its implementation was made using C++ and runs under the Linux operative system. As the main contractor of Gaia (EADS/Astrium) decided to improve the design of the mission, then it was necessary to adapt the TM CODEC from its previous version “Gaia-2” to its new version “Gaia-3”. This research is focused on a new module of the TM CODEC, called ptmcode (Packet Telemetry Coder) that had to be implemented in order to adapt the TM CODEC from the previous conception of the mission (Gaia-2) to its new, and probably final, conception Gaia-3. The ptmcode module is a C++ programme that is capable of reading the scientific data coming from the mission simulator GASS (Gaia System Simulator), in Gaia-3 format, and then writes the telemetry in binary and insert the Source Packet headers in order to comply with the standards of the European Space Agency. Moreover, the ptmcode module develops statistics of the Field Density Index (FDI), which basically is the number of stars analyzed over a period of time. It also obtains statistics of the Telemetry Curves (TMC), which is the amount of telemetry sent to Earth. All these statistics are done starting with bright stars at 10th magnitude and finishing with the faintest stars at 20th magnitude, which is the most realistic environment, as Gaia will be able to measure the properties of stars up to 20th magnitude. With the results of these new simulations (the first set using GASS v3, and hence, the most realistic at the moment), we provide useful information to the science and engineering teams of Gaia. Our project is inscribed in the general roadmap of Gaia. The figure above illustrates the place that the ptmcode occupies in the TM CODEC design and implementation roadmap. We shall notice the amount of modules that were developed for the previous version “Gaia-2” and the position of ptmcode in the new version “Gaia-3”, as it is the first module that receives and processes data from the GASS simulator. 16 Implementation of the Gaia-3 science telemetry formats in the TM CODEC from Astro-1 and 218391 from Astro-2. As it could be expected in such a longterm simulation, both fields of view have observed approximately the same amount of transits. The following figures illustrate the different data provided by the ptmcode module. The red curve in Fig. 2.1 FDI 120 seconds means that every 120 sec the ptmcode has taken a sample of the star density and plotted it. More specifically, every 120 seconds it takes the amount of processed stars since the last sample and divides this amount by this period of time, thus obtaining the stars/second value averaged during 120 seconds. The green plot has used a sampling time (better said, an integration or averaging time) of 30 min, and the blue plot an integration time of 6 hours (equivalent to a revolution of the satellite or Great Circle). It can be seen that FDI 120 sec shows higher peaks of star density compared to an integration time of 30 min and 6 hours. This result is obvious, because it takes samples in shorter periods of time and hence short-term peaks are revealed, while they get smoothed at longer integration times. It is important to point out that these star densities (indicated as stars per minute) are obtained from the sum of stars coming from both Astro-1 and Astro-2. Note also the longterm increase in the star density, especially when reaching day 1504. The explanation lies in the Nominal Scanning Law (NSL) of the satellite, which perpendicularly scans the Galactic Plane around day 1478 (hence leading to a lower average density), while it scans the Galactic Plane almost in a tangential way around day 1504, leading to a higher and sustained star density. We must note that the TM CODEC, in general, deals only with observations (or star transits), although it refers to them as stars. Fig. 2.2: Field Density Index and TM Curve for the 10th magnitude simulation Simulations 17 Fig. 2.2 shows the Field Density Index (stars/sec) combined with the Input Telemetry Rate (Kbps). What we can see here is that the TM Rate in Kbps is approximately three times the FDI in stars/sec. This is a result of the telemetry model, where a bright star is coded using approximately 3000 bits of data. The average trend of the TM curve also increases with time until day 1504, as we could expect from its FDI dependence. 2.2. Magnitude 13 simulations For the simulation of the 13th magnitude stars the same period of 26 days has been selected. These GASS-3 data were extracted from the already available GASS-LSS-1-B set provided by CU2. Although this simulated data set contains some limitations such as the maximum star motion and distance, the differences with an unlimited set at this magnitude are minimal. Again, this period goes from the 1478th to the 1504th mission day. During this period of time Gaia analyzed 4662347 stars, as reported by the ptmcode statistics. It is interesting to compare the 4662347 stars analyzed during this simulation with the number of 10th magnitude stars analyzed in the same period of time (432812 stars). The result is that now we are processing 10.7 times more stars in the 13th magnitude than in the 10th magnitude. Fig. 2.3: Field Density Index at different integration times for 13th magnitude In Fig. 2.3 we can see the FDI values for the simulation with stars up to the 13th magnitude. While Fig. 2.1 revealed a maximum peak around 45 stars per 18 Implementation of the Gaia-3 science telemetry formats in the TM CODEC minute, now it reaches over 800 stars per minute when using the same integration times of 120 seconds, 30 minutes and 6 hours. The gaps that we can see in the blue line FDI 6 hours around day 1494 and day 1501 are due to the simulation procedure. The GASS-3 file that contained the data of those 26 days at 13th magnitude occupied around 5.7 GB, while the TM CODEC does not accept files larger than 2GB yet. Hence, in order to analyze such a large amount of data, we divided the file in three pieces of 1.7 Gb each. It is at the long term integration times, such as the 6 hours, where this division becomes noticeable. Fig. 2.4: Field Density Index and TM Curve for the 13th magnitude simulation In Fig. 2.4 the FDI is plotted together with the TM Rate. Once again, the factor of 3 between both plots appears here. It is also worth saying that; both the FDI and the TM values significantly increase as we start simulating fainter stars. In this case, both the Star Field Density and the Input TM Rate reveal peaks which are approximately 18 times higher than in the 10th magnitude simulation (Fig. 2.2), with a TM peak reaching over 51 Kilobits per second. Simulations 19 Fig. 2.5: Field Density Index at different integration times for 13th magnitude In this simulation we have essayed different integration times in the analysis of data. Fig. 2.5 illustrates the results obtained when using shorter integration times (5 sec, 3 min and 2 hours). When compared to Fig. 2.3 (with longer integration times of 120 sec, 30 min and 6 hours) for the same period of time and the same 13th magnitude simulation, we appreciate much more details in the plots. At this higher time resolution, taking samples in shorter periods, we can appreciate some oscillations on the FDI 2 hours (Fig. 2.5) that are completely hidden in the FDI 6 hours (Fig. 2.3). The reason for these oscillations is, again, the Gaia NSL, which leads to an observation through the Galactic Plane (with a much higher star density) every 6 hours in every field of view. The case of the shorter-term FDI plots is even more interesting. Whereas Fig. 2.3 revealed peaks of 820 stars per minute, now it reaches 4600 stars per minute with an integration time of 5 sec (Fig. 2.5). This result is especially useful when sizing the on-board data processing systems, in order to correctly size the processing resources. Take notice that those gaps that were clearly visible in the blue line of Fig. 2.3, around days 1494 and 1501, now are barely visible in Fig. 2.5, because we are taking a shorter integration time of 2 hours. 20 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Fig. 2.6: Telemetry Curve at different integration times for 13th magnitude We have also essayed these shorter integration times with the telemetry curve. In Fig. 2.6 we plot the results obtained when using the same three integration times used for the FDI in Fig. 2.5. Again, the three curves reveal the expected similarities with the three FDI curves. We can also find here the actual downlink load in the worst cases (reaching day 1504), where a telemetry rate of 285Kbps is revealed – while Fig. 2.4 only revealed a maximum peak of 51Kbps. 2.3. Magnitude 16 simulations In this section we analyse stars up to the 16th magnitude, which means that we have to deal with large amounts of stars and therefore large amounts of data. In order to provide clear information, some changes in the analysis procedure adopted up to now have to be done. First of all, we emphasize that in the following figures the star field density is now given in stars per second instead of stars per minute. Also, we are no longer simulating large periods of time. Instead of this we will show shorter periods of time ranging from 6 to 24 hours. Finally, references to the initial, long-term simulation, of up to the 10th magnitude will be done, in order to easily understand which region we are analyzing in every simulation. Simulations 21 Fig. 2.7: Sketch illustrating the analysis of the 16th magnitude simulations Fig. 2.7 is just an illustration of these changes in the simulation procedure. The left panel covers the 24 hours of mission day 1478, and it is explained (and shown in an expanded version) in section 2.3.1 below. The right panel covers the first 6 hours of mission day 1494, and is thoroughly discussed in section 0. 2.3.1. Mission day 1478th: 24 hours simulation For the simulation of the 16th magnitude stars a period of 24 hours has been selected. This period goes from day 1478 to 1479. During this short period of time GASS simulated 1236601 transits, almost one fourth of the transits simulated in the 26 days up to the 13th magnitude. 501951 of those transits were observed by Astro-1 and 734650 were observed by Astro-2. 22 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Fig. 2.8: Field Density Index of both Fields of View for 16th magnitude In Fig. 2.8, the Field Density Index (FDI) is plotted separately for Astro-1 and Astro-2, while in all the previous plots both Fields of View (FOV) where combined into a single plot (because of the large amount of data). Now that we are simulating shorter periods of time it is worth showing the two FOV separated. The time required by Gaia to observe a Great Circle (GC), equivalent to a complete spin over its axis, is six hours. That is the reason why every six hours we can clearly see two peaks, each one corresponding to the crossing of the Galactic Plane (GP). The largest one is produced when Gaia is looking towards the centre of the Galaxy and the smallest one when Gaia looks towards its outer side. It is also important to notice that two consecutive peaks corresponding to the same region of the Galaxy, first observed by Astro-1 and then by Astro-2, are not exactly the same. That is because the NSL causes an across-scan shift from one FOV to the next one. For example, looking at Fig. 2.8 the first two peaks correspond to the moment when Gaia is looking at the outer part of the Galaxy, reaching 60 stars per second for Astro-1 and 80 stars per second for Astro-2. The next two peaks (with a higher density) correspond to the observation of the centre of the Galaxy, reaching 180 stars per second for Astro-1 and 220 stars per second for Astro-2. Simulations 23 Fig. 2.9: Field Density Index at different integration times for 16th magnitude Fig. 2.10: Field Density Index and TM Curve for the 16th magnitude In Fig. 2.9 we plot the FDI at different integration times. The short-term curve combines both FDI curves shown in the previous figure. It is noticeable that FDI 2 hours reveals the average star density being observed by Gaia, which is the one affecting the on-board memory occupation and the downlink occupation. 24 Implementation of the Gaia-3 science telemetry formats in the TM CODEC The average density in this plot is about 15 stars per second, while the highest short-term peak reaches 240 stars per second. In Fig. 2.10 we depict the FDI and TM Rates for this simulation, where it can be noticed again the direct relation between FDI and TMC. For the TMC 5 seconds the peaks reach over 930 Kilobits per second. This can also be seen in Fig. 2.11, where the Telemetry Rates are plotted alone using different integration times and an approximate average of 50 Kbps is revealed. Fig. 2.11: Telemetry Curve at different integration times for 16th magnitude 2.3.2. Mission day 1494th: 6 hours simulation In order to simulate the load of Gaia during a Great Circle (GC), we have selected the first 6 hours of day 1494. During this period of time Gaia observed 1222435 transits: 577722 from Astro-1 and 644713 from Astro-2. This statistical information can be seen at the bottom of Fig. 2.16, which will be discussed later. Simulations 25 Fig. 2.12: Field Density Index of both Fields of View for 16th magnitude In Fig. 2.12 we show the evolution of the number of stars per second seen by Gaia during a GC. As it was previously explained, the large peaks correspond to the crossing of the centre of the Galaxy and the small peaks to the edge of the Galaxy. Now we can see with great detail that two consecutive peaks, although similar, have small differences as the two telescopes Astro-1 and Astro-2 do not sweep exactly the same portion of the sky. Fig. 2.13: Field Density Index at different integration times for 16th magnitude 32 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Fig. 2.20: Telemetry Curve at different integration times for 20th magnitude Fig. 2.21: Field Density Index of both Fields of View for 20th magnitude In Fig. 2.20 we show the telemetry curves for this simulation, where the highest TM peak reaches some 8400 Kilobits per second at the fifth hour of the simulation. Comparing it with the same peak at 16th magnitude, which was of 800Kbps, the Telemetry has increased about 10.5 times. Simulations 33 2.4.2. Mission day 1494th: 6 hours simulation In mission day 1494th the total number of stars analyzed will be 2462345; 712387 stars will be observed during the first three hours (297179 coming from Astro-1 and 415208 from Astro-2). During the last three hours a total of 1749958 stars will be analyzed (719715 from Astro-1 and 1030243 from Astro- 2). The average star rate of this simulation is 114 stars per second or, equivalently, about 10 thousand stars per deg2. Fig. 2.22: Field Density Index at different integration times for 20th magnitude Fig. 2.21 shows the FDI for both Astro-1 and Astro-2. In this figure it is clearly visible that the first two peaks look quite similar and reach more than 800 stars per second, while they differ with the two following peaks, where Astro-1 reaches 2500 stars/s and Astro-2 3400 stars/s. If we compare Fig. 2.21 with Fig. 2.18 we notice that before the first two peaks have significantly increased (from 500 stars per second to over 800). It is confirmed by the ptmcode statistics, as in the first three hours of day 1478 the total number stars analyzed will be 662436 while on day 1494 that figure will be 712387 stars − both looking at the edge of the Galaxy. That follows the predicted evolution deduced from the initial simulations, which indicated that we are moving to a denser area – as can be seen in Fig. 2.17. But this logical evolution stops in the last three hours, when looking at the centre of the Galaxy. As the statistics confirm, the number of stars analyzed from the third to the sixth hour of day 1478 will be 2621540 stars, while in day 1494 it will be 1749958 stars – which means an important decrease in density. Despite of this decrease, the highest peak value has increased from 3100 stars/s in Fig. 2.18 to the 3400 stars per second of Fig. 34 Implementation of the Gaia-3 science telemetry formats in the TM CODEC 2.21. Comparing this 20th magnitude simulation of mission day 1494 with the same day at 16th magnitude, there has been a huge increase in the star field density peak, passing from the 425 stars per second of Fig. 2.12 to the 3400 stars per second (8 times larger) of Fig. 2.21. In Fig. 2.22 we show the FDI at different integration times (5 sec, 1 min and 30 min). In the last three hours of this simulation we see that the FDI 30 min moves between 30 and 400 stars per second, what is below the 100-600 range of Fig. 2.19. This is another parameter that enables us to see the decrease in stellar density that has been mentioned in the previous paragraph. Fig. 2.23: Telemetry Curve at different integration times for 20th magnitude In order to finish this 1494th mission day simulation at 20th magnitude, in Fig. 2.23 we show the TM Rate where the highest peak exceeds 9000 Kbps. Comparing this number with the 1600Kbps of 16th magnitude the increase is of 5.75 times. 2.4.3. Mission day 1504th: 6 hours simulation In the six-hour simulation of day 1504 the total number of stars analyzed will be 1485172. During the first three hours of the simulation Gaia will observe 815732 stars: 324880 from Astro-1 and 490852 from Astro-2. During the last three hours the total was 669440 stars: 251348 from Astro-1 and 418092 from Astro- 2. The average star density will be 68.758 stars per second, or equivalently about 6 thousand stars per deg2. Simulations 35 Fig. 2.24: Field Density Index of both Fields of View for 20th magnitude In Fig. 2.24 we see a significant change in the distribution of the field density over the Great Circle. On the one hand, the first three hours have experienced an astonishing increase reaching 1200 stars per second, which is a large figure, especially if it is compared with the 800 stars per second of day 1494 (Fig. 2.21) or the 500 stars per second of day 1478 (Fig. 2.18). On the other hand, the last three hours of the simulation present a more surprising evolution as both peaks does not exceed the 1300 stars per second that is a very low figure if we compare it with the 3400 stars per second of day 1494 (Fig. 2.21). This is a contradictory conclusion, as we expected that the 20th magnitude simulations would also reveal an increase in the star density as we were approaching to day 1504, reproducing the stellar density evolution clearly visible in the 13th magnitude simulations shown in Fig. 2.3. 36 Implementation of the Gaia-3 science telemetry formats in the TM CODEC Fig. 2.25: Field Density Index at different integration times for 20th magnitude Fig. 2.26: Telemetry Curve at different integration times for 20th magnitude Moreover in Fig. 2.25 it can be seen that the first part of the Great Circle has peaks with the same height as in the second part, which does not happen in the two previous simulations of 20th magnitude. This is proved by the ptmcode statistics as the average stars per second analyzed in the first three hours was 75.53 stars/s while for the last three hours it was 62.071 stars/s. Hence, in the Great Circle of the 1504th mission day it seems that Gaia does not point towards the centre and the outer edge of the Galaxy, but to the two “sides” of the Simulations 37 Galactic Plane, perpendicularly to the centre. We also notice that the FDI 30 min line reaches larger values in the first part of the simulation (ranging from 20 to 200 stars per second) than in the second part of it (ranging from 20 to 130 stars per second). For example, in day 1494 the average stars per second in the first part of the simulation was 66 stars/s while in the last part it was 162 stars/s (Fig. 2.22), which are quite different to the average values of 75.53 stars/s and 61.985 stars/s of day 1504. These values are summarized in Table 3.1. Finally, Fig. 2.26 shows the TM rate for this simulation where we see that the highest peak reaches about 3400 Kilobits per second and is located between the fifth and the sixth hour. The TMC 30 min line ranges from 60 to 500Kbps in the first part of the simulation and from 60 to 375Kbps in the last part of it. We must note a decrease in the telemetry rate from 9200Kbps of day 1494 (Fig. 2.23) to 3400Kbps of day 1504 (Fig. 2.26). 38 Implementation of the Gaia-3 science telemetry formats in the TM CODEC 3 SUMMARY OF RESULTS In this chapter are resumed the main results achieved with the simulations. We pay particular attention to the results of the 20th magnitude simulations. Table 3.1: Summary of the averages and peaks in stellar density for 20th magnitude 20th magnitude First 3 hours of simulation -looking at the edge of the Galaxy- Last 3 hours of simulation -looking at the centre of the Galaxy- Mission Day Averages in FDI (stars/sec)-(stars/deg2) Peaks in FDI (stars/sec)-(stars/deg2) Averages in FDI (stars/sec)-(stars/deg2) Peaks in FDI (stars/sec)-(stars/deg2) 1478th 61.33 – 5446.636 500 – 44400 242.73 – 21554.86 3100 – 275280 1494th 65.96 – 5857.336 800 – 71040 162.03 – 14388.53 3400 – 301920 1504th 75.53 – 6707.064 1200 – 106560 61.98 – 5504.26 1250 - 111000 Table 3.1 is a summary of the most representative values of the Field density index over the 20th magnitude simulations. On the one hand, we can see that for the first three hours of simulation both the averages and the peaks in FDI increase as we move forward in time. On the other hand, we notice the inverse trend for the second part, although the highest peak is reached in day 1494. Table 3.2: Summary of the averages and peaks in Telemetry for 20th magnitude 20th magnitude First 3 hours of simulation -looking at the edge of the Galaxy- Last 3 hours of simulation -looking at the centre of the Galaxy- Mission Day Averages in TM (Kbps) Peaks in TM (Kbps) Averages in TM (Kbps) Peaks in TM (Kbps) 1478th 171.88 1500 660.214 8400 1494th 184.168 2250 443.96 9200 1504th 208.516 3250 171.197 3400 Summary of results 39 Table 3.2 covers the same period and star magnitude, but this time for Telemetry. We can see an equivalent trend of the TM occupation. The highest peak takes place in day 1494 and reaches 9200 Kbps. Fig. 3.1: Probability of the stars depending on its magnitude In Fig. 3.1 can be seen the distribution of stars depending on its magnitude. The distribution grows exponentially as the Gaia magnitude increases, as we expected from the Galaxy model. On the one hand, the three plots that reach the 20th G magnitude correspond to the three simulations studied in section 2.4, where the faintest stars have a probability density function between 6% and 8%. On the other hand, the plot that sharply drops after the 16th G magnitude corresponds to the simulation of section 2.3.1, which reaches about 1% for G=16. This result is quite normal, since just 1% of the stars that will be observed by Gaia have a magnitude brighter than 16. Besides, all the plots have a similar trend (or magnitude distribution) and, hence, we can summarize that GASS is offering correct results from this point of view. 40 Implementation of the Gaia-3 science telemetry formats in the TM CODEC 4 CONCLUSIONS We have implemented the first module of the Gaia TM CODEC that is able to process and convert GASS-3 data, that is, Gaia-3 simulated data. This module, called ptmcode (Packet Telemetry coder), receives raw GASS-3 data in ASCII format, calculates and includes the Source Packet headers, and outputs the result in binary format. In this way, the actual size of the GASS-3 telemetry data can be known. It is also required for the next step to be implemented in the TM CODEC, which is the data compression. Furthermore, the software generates detailed statistics of the star densities being processed, as well as on the telemetry rates being generated. This, together with the improved models used by GASS-3 (including the Galaxy model), leads to very accurate estimates on the actual system load that can be expected in the latest design of Gaia. We have tested various scenarios until the realistic one in which Gaia will be involved, ranging from a limiting magnitude of 10 up to the 20th magnitude. On one hand, in the 10th magnitude simulation Gaia should analyze 432812 stars in 26 days, which means 0.192 stars per second or an average density of 17.049 stars per deg2. On the other hand, in the 20th magnitude simulations Gaia should analyze up to 2621540 stars in just 3 hours (the last 3 hours of the GC of day 1478), which means an average of 242.735 stars per second or 21554.88 stars per deg2. This last figure approaches to the average density of 25000 stars per deg2 expected for Gaia (as indicated by the Parameter Database). Table 4.1: Summary of the most representative parameters in the simulations Star Magnitude (integration time) Simulation period (since mission day) Peaks in FDI (stars/sec)-(stars/deg2) Average (stars/sec)-(stars/deg2) Peaks in TM (Kbps) Average data rate (Kbps) 10th (120 sec) 26 days (day 1478) 0.767 – 68.11 0.19 – 17.05 2.8 0.714 13th (120 sec) 26 days (day 1478) 13 – 1154.4 2 – 177.6 48 7.684 13th (5 sec) 26 days (day 1478) 76.667 – 6808.03 2 – 177.6 285 7.684 13th (1 sec) 26 days (day 1478) 250 – 22200 2 – 177.6 900 7.684 16th (5 sec) 24 hours (day 1478) 240 – 21312 14.312– 1270.95 875 52.838 16th (5 sec) 6 hours (day 1494) 425 – 37740 56.6 – 5026.08 1600 208.744 20th (5 sec) 6 hours (day 1478) 3100 – 275280 152 – 13497.6 8400 416.047 20th (5 sec) 6 hours (day 1494) 3400 – 301920 114 – 10123.2 9200 314.064 20th (5 sec) 6 hours (day 1504) 1250 – 111000 68.75 – 6105 3400 189.857 Conclusions 41 Table 4.1 summarizes the information shown in the different plots, with the peak and average values obtained in the simulations. We must note that, although the average values are reasonable, they are still below the average sky density expected for Gaia – apart of a different star distribution depending on the limiting magnitude. These issues should be further investigated by CU2. Regarding my personal conclusions I admit that this has been my first job as an aerospace engineer. I also must admit than I am an enthusiastic of astronomy. All in all it was my dream to end up working in space science projects, but I could not imagine that I would achieve this dream without even having finished my degree. I hope that this trend of working in space projects will last for ever.