S- and X-band Communication System for CubeSats
Abstract
3Cat-8 is a mission based on a 6U satellite developed by the UPC NanosatLab group (technical University of Catalonia). The main goal of the satellite is for academic purposes and for ionospheric research. The satellite is composed in different subsystems. This Final degree thesis is focused on the communication subsystem, designing and implementing the S-band and X-band communication system.
Full text
S- and X-band Communication System for CubeSats Bachelor’s Degree Thesis Submitted to the Faculty at the Escola Tècnica Superior d'Enginyeria de Telecomunicació de Barcelona de la Universitat Politècnica de Catalunya by José Faneca Ruedas In partial fulfillment of the requirements for the DEGREE IN TELECOMUNICATION TECHNOLOGIES AND SERVICES ENGINEERING Advisor: Adriano Jose Camps Carmona Barcelona, January 2024 ETSETB – Degree in Telecomunication Technologies and Services Engineering
-2- Summary Resum______________________________ 3Cat-8 és una missió basada en un satèl·lit 6U, desenvolupada pel NanosatLab de l’UPC (Universitat Politècnica de Catalunya) Els principals objectius d’aquest satèl·lit són en primer lloc acadèmics i per altre banda de recerca sobre la Ionosfera. El satèl·lit està dividit en diferents subsistemes. Aquest Treball de Final de Grau està enfocat a la part de comunicacions, més concretament en la part del disseny e implementació del sistema de comunicacions de banda X i banda S. ____________________________Resumen 3Cat-8 es una misión basada en un satélite 6U, desarrollado por el NanosatLab de la UPC (Universidad politécnica de Cataluña) Los Principales objetivos de este satélite son académicos para investigar sobre la Ionosfera. El satélite está dividido en diferentes subsistemas, este TFG está enfocado a la parte de Comunicaciones, más concretamente, al diseño e implementación del sistema de comunicaciones de banda X y banda S. Summary____________________________ 3Cat-8 is a mission based on a 6U satellite developed by the UPC NanosatLab group (technical University of Catalonia). The main goal of the satellite is for academic purposes and for ionospheric research. The satellite is composed in different subsystems. This Final degree thesis is focused on the communication subsystem, designing and implementing the S-band and X-band communication system.
-3-
-4- This degree Thesis is the culmination of the journey done during these 4 years of the degree in telecommunications Engineering, and honestly I could not have been here without the help of my family, but more precisely, my brother and my mother that have supported me always, furthermore, I want to be grateful with all the professors who push me to keep working and not abandon despite the consequences. For that reason I want to dedicate it to all of them.
-5-
-6- Acknowledgements I would like to appreciate to the professor Adriano José Camps Carmona, who apart to be my supervisor has helped to lead the project towards the correct direction with patience and trust. Besides, I want to express sincerely gratitude to Guillem Gràcia for all the time spent in meetings and face to face to help me to achieve the main goal of this thesis and aid me to fully understand all the theory behind the work done. I would also like to thank the UPC NanosatLab team in general, but in special Luis Contreras, Youssef El-Kaisi, and Alex Perea to help me without any complains when I needed.
-7-
-8- Revision history and approval record Revision Date Author(s) Description 1.0 16/12/2023 AME Document creation 1.1 14/01/2024 AME, JPV Error correction 2.0 15/01/2024 AME, MLO Revised after review 3.0 17/01/2024 AME Final version LLISTA DE DISTRIBUCIÓ DEL DOCUMENT Role Surname(s) and Name Student José Faneca Ruedas Project Supervisor 1 Adriano Jose Camps Carmona Written by: Reviewed and approved by: Date 16/12/2024 Date 17/01/2024 Name José Faneca Ruedas Name Adriano José Camps Carmona Role Project Author Role Project Supervisor
-9-
-16- ____________________________________________________________ CHAPTER 1 Introduction The 3Cat-8 is a 6U nanosatellite developed by the UPC NanoSatlab team. Its main mission is ionospheric research. The satellite is divided into different subsystems to simplify the management of different tasks, such as the EPS to provide electrical power, or the ADCS to control the satellite's attitude. For the aforementioned explanation, the project is composed by a lot of members including, PhD students and final degree and masters students, each member is in charge of different subsystems. This thesis belongs to the communication system. More specifically, this thesis aims to design the spacecraft's transmitters to send data to the ground station on Earth using X- and S-bands and to upload commands to the CubeSat using an S-band receiver. 1.1. Work goals The aim of this diploma thesis is to develop a communication subsystem for a nanosatellite, implementing the RF circuitry and the power circuitry, and implementing them, the system must ensure the communication of the satellite, which means being able to transmit data in S and X bands (downlink) and receive data from an S band receiver (uplink). The final work is focused on the development of the X and S band front-ends, which must be compatible with the antennas and the SDR, and must be able to meet the minimum requirements due to the link budget.
-17- 1.2. Requirements and specifications The requirements for this project are the following ones obtained due to different test done and summarized in Table 2. Table 1 Requirements and Specifications COMMS-01 The COMMS system has to be able to ensure the communication from a 550 Km LEO orbit. COMMS-02 The SNR has to be higher than 12 dB to guarantee the proper communication at least during the 70º of the elevation of the satellite respect its ground station. COMMS-03 The harmonics at X-band have to be at least to -40 dBm COMMS-04 The communication X-band frequency has to be between 10.4-10.5 GHz range. COMMS-05 The power consumption has to be reduced as much as possible less than 18 W COMMS-06 Reduce the size of the components to attach the components in the size of the PCB to achieve a 6 x 4.5 cm . COMMS-07 The COMMS has to the monitor the transmitted power and be able to control the temperature with a resolution of a 2% in the voltage supplied COMMS-08 The S-band communication has to be between 2.3 and 2.45 Ghz. 1.3. Methods and procedures A variety of software and tools were used to design and implement the S- and X-band communication system. For the development of the transmitters and receivers. Kicad software was used for the circuit and PCB design, TI PLLatinum Sim for the implementation of the PLL, ADS for the simulation of the various components using their S-parameters, Matlab for various simulations related to the link budget [Appendix B], Vivado for the implementation and testing of the SDR, and various components such as a 7000 Zynq board and an Adalm Pluto [Appendix G].
-18- 1.4. Work plan The Gantt Diagram and milestone is found in the appendix A Project: Tools familiarization WP ref: (WP1) Major constituent: Tools familiarization Sheet 1 of 6 Short description: Get familiarized with the software and software required for the project Planned start date: 14/08/2023 Planned end date:01/09/2023 Start event: Understand the documentation End event: present the schematics Internal task T1: Get familiarized with the kicad. Internal task T2: Get familiarized with ADS and Vivado Deliverables: Design and simulation from Kicad and Vivado Dates: 01/09/2023 Project: Link Budget / CPWG Characterisation WP ref: (WP2) Major constituent: Tools familiarization Sheet 2 of 6 Short description: Figure out the power required for a reliable communication and figure out the dimensions and material of the CPWG for the propagation. Planned start date: 01/09/2023 Planned end date:14/09/2023 Start event: Understand the theory End event: Present the simulations Internal task T1: Figure out. Internal task T2: Get familiarized with ADS and Vivado Deliverables: Simulation from Kicad Dates: 14/09/2023
-19- Project: ADS Simulation WP ref: (WP3) Major constituent: Simulation Sheet 3 of 6 Short description: Simulate to find the proper components for the transmitters and receive Planned start date: 01/09/2023 Planned end date: 25/10/2023 Start event: implement the components End event: Achieve the simulated results Internal task T1: Simulate X-Band Transmitter Components Internal task T2: Simulate S-band Transmitter Components Deliverables: Simulation in ADS of the power and harmonics. Dates: 25/10/2023 Project: Vivado simulation / Simulink WP ref: (WP4) Major constituent: Simulation Sheet 4 of 6 Short description: Configurate the Adalm Pluto/ Zynq-7000 to stablish the sdr. Planned start date: comprehend the theory Planned end date: present the simulation. Start event: 25/10/2023 End event: 21/01/2024 Internal task T1: Install all the repositories required and understand all the elements Internal task T2: Modify the components in Verilog to test the sdr. Deliverables: Vivado Simulation Dates: 01/09/2023
-20- Project: Kicad project WP ref: (WP5) Major constituent: Design and Schematic Sheet 5 of 6 Short description: Design the circuitry and selection of components, selecting the passives required, creating the footprints and simbols. Planned start date: 26/10/2023 Planned end date: 21/1/2024 Start event: Design the components End event: Design all the schematics Internal task T1: Get information on the components and design all the elements. Deliverables: Design in Kicad Dates: 26/10/2023 Project: Kicad project PCB WP ref: (WP6) Major constituent: Design Sheet 6 of 6 Short description: From the footprints done, create a PCB connecting al the elements required and finding the final design. Planned start date: 26/12/2023 Planned end date: 21/1/2024 Start event: link all the components End event: design the final PCB Internal task T1: Design the PCB in Kicad Deliverables: Design PCB Dates: 26/12/2023
-21- 2. State of the art of the technology used or applied in this thesis ____________________________________________________________ CHAPTER 2 State of the art of the technology used or applied in this thesis Communication in a satellite is crucial to its development because it requires highfrequency transmission. This is necessary to send large amounts of data in a short period of time. The communication front-end will be implemented as a PC-104 board, dividing the communication front-end into two different parts. The first part will be the X-band transmitter using a high frequency between 10.4-10.5 GHz range and the second part will be the S-band transmitter and receiver using a frequency range between 2.3 GHz - 2.45 GHz. There are two transmitters because the S-band is a very busy frequency band, which means there could be a lot of interference, and if one fails it is important to have an alternative. The communication system must be able to close the link, i.e. the SNR must be higher than 12dB in at least 70° of the elevation of the satellite at an altitude of 550 km (LEO orbit), and the power consumption of the two parts of the communication front-end must be reduced as much as possible. The front-end will be placed between the SDR (software defined radio) and the antennas as a bridge to adapt the RF signals and will communicate with the OBC via a microcontroller using CAN (control area network). A diagram of the communication subsystem is shown in Figure 1. FRONT-END COMMUNICATION SUBSYSTEM DIAGRAM. Figure 1. FRONT END COMMUNICATIONS SUBSYTEM DIAGRAM. This work will focus on the communication front-end, assuming that the AD9361 transceiver from Analog Devices will be our SDR.
-22- 3 Methodology/Project Development Methodology/Project Development ____________________________________________________________ CHAPTER 3 Methodology/Project Development The communication system is divided in two different parts, the XCOMMS and the SCOMMS, each part is divided at the same time into two different layers, the RF layer and the interface layer, separated by a ground plane layer. The top layer contains the radio frequency components and the bottom layer contains the power supplies and connectors. The main schematic is shown in Figure 2. Figure 2. COMMS FRONT-END DIAGRAM The RF (Radio Frequency) layer plays a critical role in optimising the transmission (Tx) and reception (Rx) of radio frequency signals between the Software-Defined Radio (SDR) and the antennas. It acts as a vital bridge, boosting signal power while attenuating unwanted harmonics. This layer is responsible for adapting the RF signals to ensure efficient communication between the SDR and the antennas. The Tx chain at X-band has to modulate the signal to transmit receiving the signal from the Software-Defined Radio (SDR), to achieve the purpose. A preamplifier is essential to facilitate this process. A mixer is then used to convert the signal to the desired frequency range, specifically between 10.4 and 10.5 GHz. The chain then requires a passband filter to remove unwanted harmònics, and finally, a power amplifier is used to achieve the output power level required for successful transmission.
-23- The S-band chain includes a receiver, where the inclusion of a couple of Low-Noise Amplifiers (LNA) is essential to increase the signal strength for the effective decoding by the Software-Defined Radio (SDR). It is important to note that the signal strength should not exceed 7 dBm, according to the specifications in the data sheet [17]. The S-band transmitter consists of a preamplifier and a power amplifier. This configuration is necessary because the S-band and the SDR share the same frequency band, is not necessary to shift the frequency. The preamplifier amplifies the signal for transmission, while the power amplifier ensures that the signal meets the required power levels, 3.1 Link Budget The most important requirement in the development of communication front-ends is the determination of the transmitted power, which requires a comprehensive study of the link budget. Taking into account the satellite is a low earth orbit (LEO) at an altitude of 550 km, a meticulous study is required, taking into account the evolution of the altitude throughout the communication process. The optimum power requirement identified for successful communication is 2 W. This determination is driven by the requirement to achieve a signal-to-noise ratio (SNR) of 12 dB and to maintain this level for at least 70° over the satellite's elevation relative to the ground station. This critical parameter ensures robust and reliable communications with the specified bands, as shown in the images below. Figure 3 XCOMMS LINK BUDGET Figure 4 SCOMMS LINK BUDGET The power received at the ground station can be obtained from equation (1), which is expressed in dB and shows that the power received, Pt (Transmitted Power), is proportional to the gain of the receiver and transmitter antennas (Gt,Gr) and inversely proportional to the losses due to atmospheric conditions, free space losses and polarisation.
-24- Pr=Pt+Gt+Gr−Ls−Lpol−Latm (1) The free space losses is calculated using the equation (2) The losses clearly increases depending on the distance of the satellite between the receiver and transmitter antenna., Applying the sinusoidal theorem to obtain the equation related to the elevation, (3) and knowing that the sum of all the angles are 180º (4). Knowing that φ is 67° when the elevation is 0° the final result appears in the equation (5) obtaining the distance respecting the φ and the elevation. (Note: 𝜑 is the angle between D (distance to the ground station) and Re + h, meanwhile a + elevation is the angle between D and Re) Ls=20·log(4·𝜋·d·f c) (2) 𝐷 𝑆𝐼𝑁(𝜑) =𝑅𝑒+𝐻 𝑆𝐼𝑁(𝑒𝑙𝑒𝑣𝑎𝑡𝑖𝑜𝑛+𝛼) =𝑅𝑒 𝑆𝐼𝑁(𝑁𝑎𝑑𝑖𝑟𝑎𝑛𝑔𝑙𝑒) (3) 180º=𝜑+𝑁𝑎𝑑𝑖𝑟𝑎𝑛𝑔𝑙𝑒+𝑒𝑙𝑒𝑣𝑎𝑡𝑖𝑜𝑛+𝑎 (4) 𝐷=𝑅𝑒∗sin(180−𝜑−𝑒𝑙𝑒𝑣𝑎𝑡𝑖𝑜𝑛) sin(𝜑) (5) Figure 5 DISTANCE CALCULATION FOR THE LINK BUDGET Atmospheric losses influenced by water vapour absorption lines vary with frequency and weather conditions. For the simulation, molecular dispersion will be used (number 4). Molecular dispersion results from the interaction of light with atmospheric particles whose size is smaller than the wavelength of the incident light. Dispersion caused by gas molecules in the atmosphere (Rayleigh scattering) contributes to the overall attenuation of electromagnetic radiation. The graph shows an attenuation of 0.1 dB/Km at 10.5 GHz. At the S-band frequency the attenuation is lower, 0.01 dB/Km. This highlights the importance of frequency selection and the effect of atmospheric conditions on the communication system.
-25- Figure 6 ATMOSPHERIC LOSSES Figure 6 shows the losses due to the Earth's atmosphere in different climates. 1 is heavy rain, 2 is cloudy, 3 is moderate rain and 4 is the molecular dispersion, to simplify the simulation of the link budget, as has been aforementioned, has been calculated using the molecular dispersion. A linear polarisation antenna and a circular polarisation antenna are used, there is an additional polarisation loss of 3 dB besides the transmitted antenna has a gain of 13.5 dB. The gain of the receiving antenna is determined by equation (6), is influenced by its directional characteristics, with a limited bandwidth of 2°, where EA is the antenna efficiency and ∆E-∆H is the electric field bandwidth multiplied by the magnetic field bandwidth, this formula can only be used if the antenna has a high directivity. GR=10·Log(𝐸𝐴·4· 𝜋 ∆E·∆H) (6) To obtain the signal-to-noise ratio (SNR), the noise signal (Pn) must be determined. Given a noise factor of 1.5 dB, a bandwidth of 1 MHz, a received antenna temperature of 20 K, and using formula (7), and finally to obtain the SNR is necessary substrat the noise signal from the received on a logarithmic scale. This last step is crucial because the quality of the received signal in the system depends entirely on the parameters. Pn=k·(TA+T0·(10NF 10 −1))·BW (7)
-32- ensures compatibility with the desired frequency range and optimises the performance of the bias tee in the circuit. Figure 13 CAPACITOR SELF RESONANCE 600L100KW200T. The mixer's task is to perform the frequency up-conversion, generating the resulting frequencies as a combination of the input reference frequencies generated by the local oscillator (LO) chain and the software defined radio (SDR). This process facilitates the desired frequency conversion to enable effective signal transmission in the communication system. Figure 14 MIXER SIMBOL. 𝐹𝑟𝑓=𝐹𝑖𝑓+𝐹𝑙𝑜 (16) The mixer is designed to up-convert the SDR signal (2.4 GHz) to 10.4 GHz for transmission to the antennas. To achieve this, the frequency introduced at the LO port must be 8 GHz to facilitate the necessary shift. Despite the mixer's -8 dB losses, the initial strategy was to use an active mixer, optimising space utilisation and eliminating the need for an additional amplifier. After the mixer, the revised approach suggested using two filters and a preamplifier instead of a single filter and preamplifier. The aim of this adaptation is to effectively eliminate harmonics generated by the mixer, thus ensuring clean and accurate transmission of the signal.
-33- The post-mixer chain consists of a BFCN-1052+ band filter covering the range 9700 to 11950 MHz, followed by a PMA-153+ preamplifier with a gain of approximately 18 dB. An additional BFCN-1052+ filter precedes the selected power amplifier. The power amplifier selected to achieve the desired 2W power in the transmitted signal is the HMC952. This medium power amplifier has a temperature-compen- sated on-chip power detector, operates between 8-14 GHz, provides 32 dB of gain and has a saturated power of 34.5 dBm. It requires two power supplies: VDD, a 6V supply with an intensity of 1400 mA, and Voltage Gate, with a supply range of 0 to -2 V, as specified in the datasheet [55]. To mitigate variations due to high temperatures, a control bias is used to regulate the power supply to ensure stability. The final simulation, performed using ADS simulation, was critical in verifying that the system met the frequency and power requirements, providing confidence in the overall design. Figure 15 shows the FR-4 schematic, and it's important to note that the simulation shows a slightly higher power level due to unaccounted for solder losses. Notably, the Software-Defined Radio (SDR) power is adjustable from 7 dBm to -83 dBm, providing flexibility in controlling the transmitted signal strength. Figure 15 ADS SCHEMATIC. The schematic has been designed using the CPWG calculated in the Manufacturing and Materials section separately for each element of the schematic, the components have been implemented using their S-parameters to simulate the final response of the transmitter, generating two tones the main one at -15 dBm and the LO at +10 dBm, the main problem with the simulations are that they don't take into account the dB compression of the different components, but this has been taken into account when the components have been selected. The graphs show the power levels at various frequencies that are important to the Xcomms transmitter. The first graph shows the power after the mixer, followed by graphs after the first and second filters. The last graph shows the end of the transmitter's signal path.
-34- In particular, the final graph highlights the successful elimination of secondary lobes, achieving a power level of less than -55 dBm. This result confirms the effective suppression of secondary harmonics, thus achieving the desired performance objectives for the transmitter. Figure 16 SIMULATION AND RESULTS. The simulation shows the response of the transmitter in different points (after the mixer, after the 1st filter, after the 2nd filter) to check if the main lobul do not exceed the limited power of the diferents amplifiers and the greater simulation shows the final response of the transmitter showing the difference between the most dangerous harmonic that is located at 8 GHz, and the main lobul achieving the results established in the requirements.
-35- 3.3.1.3 Bias Controller The final element in the RF circuit is the bias control, which is responsible for managing the power supply to the power amplifier. The bias controller helps the voltage to fluctuate at high temperatures, the implementation of a control bias becomes essential to regulate and stabilise the transmitted power. In this context, the chosen control bias is the HMC980 [12]. The HMC980 acts as an active bias controller, automatically adjusting the gate voltage of an external amplifier to maintain a constant bias current. This integrated controller provides effective regulation, ensuring consistent performance despite variations caused by temperature changes. In order to meet the power amplifier requirements outlined in the datasheet, the specified parameters of the power amplifier are considered critical to the successful implementation of the control bias. Table 3 PA Specifications Spec 1 Voltage drain has to be 6V Spec 2 I drain has to be 1400 mA Spec 3 Voltage gate has to be between 0 – (-2V) V𝐷𝐷 =V𝐷𝑅𝐴𝐼𝑁+𝐼𝐷𝑅𝐴𝐼𝑁·R𝐷𝑆_𝑂𝑁 (17) The V𝐷𝐷parameter is user-defined, while the R𝐷𝑆_𝑂𝑁 is subject to changes based on the circuitry configuration, determined by the values of S0 and S1. These configurations involve the selection of either GND or V𝐷𝐼𝐺=3.3V, showcasing the adaptability and control provided by the bias controller in response to the specific needs and operational settings of the circuit. Table 4 Control Biased configuration depending in the IDRAIN. 0.05 to 0.3 A S0 = GND, S1 = GND RDS_ON = 2.8 (Ohm) 0.3 to 0.6 A S0 = GND S1 = Vdig RDS_ON = 1.55 (Ohm) 0.6 to 1.2 A S0 = Vdig, S1 = GND RDS_ON = 0.85 (Ohm) 1.2 to 1.6 A S0 = Vdig, S1 = Vdig RDS_ON = 0.7 (Ohm) The bias current passing through the external amplifier can be adjusted with 𝑅𝑆𝐸𝑁𝑆𝐸 where 𝑅𝑆𝐸𝑁𝑆𝐸 is the 𝑅10 connected from 𝐼𝑆𝐸𝑁𝑆𝐸 to GND. 𝐼𝐷𝑅𝐴𝐼𝑁 =150/𝑅𝑆𝐸𝑁𝑆𝐸(A) (18) The Control Bias includes a secondary voltage, 𝑉𝐺2, which may be implemented if required. However, based on the specifications outlined in the graphics concerning the voltage gate, it is not necessary. Nevertheless, as a precautionary measure, a resistor divider is incorporated to facilitate the adjustment of 𝑉𝐺2, offering flexibility and adaptability in the event it becomes necessary.
-36- 𝑉𝐺2(V)=𝑉𝐷𝐷 ·R4 R3+R4−1.3 (19) The HMC980 incorporates a valuable feature - an over and under current alarm indicator, the ALM (pad#2) signal. This ALM signal is configured to be pulled up to VDIG when the IDRAIN current exceeds the ±6% threshold. Resistors R11, R12 and R13 play a key role in determining the characteristics and response of this alarm mechanism, enhancing the controller's ability to detect and signal abnormal current conditions in the circuit. Iocth=𝐼𝐷𝑅𝐴𝐼𝑁(1+ R11 R12+R13)(20a)Iucth=𝐼𝐷𝑅𝐴𝐼𝑁(1− R12 R12+R13)(20b) Due to the large number of specifications given, an Excel sheet has been created to simplify the work with the proposed circuit according to the specifications in table (3). Figure 17 HMC980 RESULTS [12]
-37- 3.3.2 X-Band Transmitter Interface Circuitry The X-Band transmitter has a second layer that is in charge of the power supply and the digital stage. 3.3.2.1 Power Supply The power stage serves as a critical component with the primary objective of providing the required power to various elements within the X-COMMS transmitter, drawing power from a 12V cubesat supply line. The different voltage requirements are 5V, 3.3V, 6.98V and -5V. The specific power requirements and consumption values for each component are summarised and detailed in the following table. Table 5 Power Consumption Component Function Supply (V) Consumption (mA) STM32L476R MCU 3.3 1.05 ADM6320CY29ARJZ- R7 WATCHDOG 3.3 0.005 TMP1827NGRR Temp_Sensor 5V 0.4 TCXO_ECS_2016_100 10 MHz TCXO 3.3V 4 TCXO_ECS_2016_500 50 MHz TCXO 3.3V 7 LMX-2572 Tx PLL 3.3V 75 HMC575 Freq_Multiplier 5V 90 LHA-1+ Amplifier 5V 146 PMA-153LN+ 2nd Amplifier 5V 50 HMC952ALP5GE Power Amplifier 6V 1400 HMC980 Control Biased 6.98 20 The power consumption of the transmitter varies depending on the operating mode, with the X-Comms mode having a higher consumption of 10.25 W, especially when switching between S-Comms and X-Comms. To understand the power supply optimisation diagram stage, it is important to distinguish between a buck converter and a low dropout output (LDO). The LDO is advantageous when minimal voltage change is required. Its voltage reduction mechanism not only minimises heat dissipation, but also keeps noise at a low level. However, its efficiency fluctuates with input voltage variations, making it suitable for scenarios with modest voltage changes. On the other hand, buck converters excel at handling high currents, maintaining an efficiency consistently above 85%. This makes them an ideal choice for scenarios where a stable and efficient power supply is required, particularly in situations with significant voltage fluctuations.
-38- For this reason, the main idea is to use the power supply as shown in the following figure, using a buck to drastically reduce the voltage and then using the LDO to make small changes. For this reason, the block diagram of the power stage is as shown in figure (18). Figure 18 POWER SUPPLY SCHEMATIC To achieve the required supply voltages, the design incorporates the TPS562202 [37] buck converter from Texas Instruments to step down to 6V and the TPS566242 [34] buck converter, also from Texas Instruments, to achieve 6.98V. The TPS7A54[35] is also used to step down to 5V and 3.3V. A TC7660EOA [36] buck converter is used to generate the final output of -5V with a current capability of over 4A. The output voltages of each converter are precisely defined by the implementation of a current divider, as specified in the respective low dropout output (LDO) and buck converter datasheets. This approach ensures accuracy and control of the desired voltage levels for optimum operation of the X-COMMS transmitter.
-39- (TPS562202) Vout=0.804·(1+Rfbt Rfbb) (21) (TPS566242) Vout=0.6·(1+Rfbt Rfbb) (22) (TPS7A54) Vout=0.8·(1+Rfbt Rfbb) (23) The power supply schematic stage is shown in figure 19. Figure 19 POWER SUPPLY SCHEMATIC
-40- 3.3.2.2 Digital Stage The STM32L476RG [19] microcontroller (MCU) plays the key role of monitoring and managing the X-comms and S-comms, facilitating communication with the onboard computer (OBC) via the CAN protocol. The decision to use the CAN protocol is driven by its ability to streamline communication with a two-wire bus (CANH and CANL), minimising the complexity. CAN is the communication protocol and operates on a multiple access framework with collision detection and prioritisation based on message priority (CSMA/CD+AMP). CSMA requires each node on the bus to wait for a specified period of inactivity before attempting to transmit a message. The phase-locked loops (PLLs) are complexly controlled by the CE pin and are communicated using a Serial Peripheral Interface (SPI) implemented in the MCU. The PLL datasheet specified that the protocol required is the SPI communication system. For that reason a change to CAN for PLL operation would be required changing the peripherals. The MCU stores the PLL programming code and orchestrates the tuning frequency, adjusting it based on the requirements specified by the OBC. The microcontroller variant chosen is a 64-pin model, selected with additional pin options in mind for possible future expansion or enhancements. The MCU has an external 10MHz clock reference implemented with a TCXO, providing more stable sampling for temperature variation. The TMP18247NGRR temperature sensor from Texas Instruments is connected to a GPIO pin on the MCU and uses a 16-bit analogue-to-digital converter (ADC) to accurately decode the temperature in the -55 to 150ºC range, as specified by the manufacturer. The correct operation of the system depends on a pull-up resistor whose calculation is determined by the following formula (16). This resistor is essential to provide the electrical characteristics required to ensure accurate temperature measurements. Vpur−Vol(max) 4∗10−3 <Rpur<Vpur−1.6 300∗10−6 (24) The watchdog, ADM8320WCY29, monitors both the MCU supply and a designated GPIO pin to prevent the MCU from becoming unresponsive or hanging. The watchdog system is designed to trigger a reset signal if either of the following conditions occur: if the MCU supply falls below 2.97V or if the monitored GPIO pin of the MCU remains inactive for more than 1.1 seconds. This mechanism ensures reliability and stability of MCU operation. To maintain synchronisation and precision across all MCU peripherals, an external 10MHz temperature compensated crystal oscillator (TCXO) [20] is integrated and configured to provide a 10MHz reference, the recommended one is to use a TCXO to provide 8MHz but I could not find one. This configuration ensures consistent
-41- and accurate timing across the various components, contributing to the overall reliability of the system. 3.4 S-Band Transmitter & Receiver The S-band transmitter is implemented in 2 different layers as the X-band the range will be from 2.3 to 2.45 Ghz and it will transmit as the same band as the SDR. The S-band has 2 different chains divided using an RF switch, one chain is to transmit and the other chain is used as a receiver. Figure 20 S-BAND SCHEMATIC. The Tx chain is strategically divided into two main components: firstly, the HMC311SC70 [15] preamplifier, and secondly, the TCQ9111 [14] power amplifier from QCORVUS. This division aims to prevent the SDR from using its full power to achieve the required output, thus optimising power consumption. However, it is important to note that the amplifier has certain limitations, particularly in terms of saturated power, which reaches 32.8 dBm. This value may not be perfectly in line with the requirements and electrical specifications, as the amplifier is not inherently matched at 50 ohms, despite successful testing. On the other hand, the Rx chain is also split into two components: two LNAs, PMA- 63GLN+1 [16], are used to boost the received power, followed by a BFCN-2435+ [38] filter to eliminate any unwanted harmonics in the SDR signal. The ADS schematics show the final results of this configuration, demonstrating the careful design for optimum performance.
-48- The first layer is implemented using as the requirement, using a PCB of 6 cm to 4.5 cm the biggest problem to deal with is how to organise the components to reduce the space and conect the components with the power supplies with any obstraction. Figure 32 1st Layer (RF) Due to the problems generated by the space and the connectivity between the different components of the circuitry the PCB is not completed and it needs a significant enhancement because the some parts of the PCB has interferences because the constitution of the components and its pins obstruct the design. Figure 33 2nd Layer (Interface)
-49- 5 Sustainability Analysis and Ethical Implications ____________________________________________________________ CHAPTER 5 Sustainability Analysis and Ethical Implications 5.1 Environmental perspective The environmental impact of all the equipment used for the final thesis, taking into account all the hours worked on the project and all the hardware and servers used for the use of the different software and the consumption of the computer, can be measured in the table. • Taking into account that a server has a consumption of 0.16 KW/h. • The laptop consumption is around 30 W per hour • The consumption of the trips (bus) 28,4 gr for each passenger. • Power consumed by the X-band S-band transmitters. Table 6 Sustainability Consumption Elements related with the environmental impact Consumption. Servers used for the diferents softwares 51,2 KW (320h) Wats consumed by the computer 16KW(320h) Adalm pluto/zynq-7700 20W X-Comms/S-comms 16 W
-50- Table 7 Sustainability emissions Consumption Elements C02 Emissions (g) Bus trips 5112 g (180) Servers used for the diferent softwares 10768 g (320h) Wats consumed by the computer 3313 g (320h) Adalm-Pluto 4 g X-comms/S-comms 3 g TOTAL 19.2 Kg A tree absorbs 25 kg of C02 per year, which means that 1 tree per year would be needed to offset the emissions. The choice of the different components has been chosen to consume as little as possible to save as much power as possible for the satellite, at the same time this is a good point to preserve the environment. The main suppliers, such as Mini-Circuits, Panasonic, Texas Instruments, Xilinx, Qcorvo, have environmental reports in which they outline their compliance, pollution prevention and continuous improvement. Mini-Circuits publishes its environmental policy on its main website, guaranteeing compliance with all applicable environmental laws and regulations. Working with a management team to ensure that the components used are designed to promote the conservation of resources and protect the environment in which we work and live. Panasonic is committed to contributing to the development of a better future through a variety of devices, implementing them with a lower environmental impact and at the same time they guarantee a maximisation of recycled resources, reducing waste and hazardous chemical substance in used. As part of its product stewardship programme, Texas Instruments has established a Restricted Chemicals and Materials (RCM) programme. This includes managing firsttier suppliers and internal manufacturing processes for materials. Xilinx Devices uses the global environmental management standard ISO14001 and the occupational health and safety standard ISO45001 as the basis for its EHS management system. Management and control of activities that have an impact on the environment.
-51- Qcorvo doesn't realease an environmental policy report but on their website they outline their need to focus on regulatory compliance, social responsibility and sustainability. All the components are made of plastic and semiconductor elements like silicon that is made from sand, all the elements used are milimetric elements meaning that the sources used are quite low in terms of use. But during the satellite launch the satellite has to communicate with the ground station meaning that there will be a consumption of servers due to the computers and the servers used in the ground station. In theory, the satellite will be used for scientific purposes, but at the same time the purpose of the satellite is to obtain information about the ionosphere. The satellite is a cube-sat, and when its life comes to an end and it returns to the atmosphere, it will disintegrate, leaving nothing behind. The project, in case I had to do it again, honestly I would have managed it better, meaning a better a huge reduction in C02 used due to a huge reduction of servers and computing hours, but on the other hand due to the final thesis is required various components from other companies is necessary to use a huge amount of C02 to receive all the components required. 5.2 Economic perspective The budget of this project is distributed into the components used for the Transmitters pro-totypes, hardware and the human resources used during the 6 months that this project has last. The different cost parts of the budget are summarized in Table 8. The total cost of the project is 4222.89€. Table 8 Budget Budget Parts Cost Components X-Comms 343,25€ Components S-Comms 50.25€ Hardware 629.39€ Human Resources 3200€ SMP Connectors 29€ Total Budget 4222.89€ The components cost are obtained from the total sum of the cost of each component in the board adding all the passive component (resistors capacitors and inductors) all the list could be found in the appendix. The software used did not cost anything meaning that all the software tools used had a total of 0.
-52- The hardware used has a total cost of 629.39€ using an adalm plutó and a zynq-7700 for the sdr Testings. And finally the human resources in that aspect i only take into accout the normal salary of a junior engineer of 10€ per hour meaning a total of 320 hours, taking into considered the specifications of the Final thesis it is a total amount of 3200€ All the projects that required an analysis of the Earth will need footprints and data from the sensors of the satellites in the space for that reason our satellite could help that projects in the future. The cost as the environmental part, to dismantle the satellite will be 0 because the satellite will be consumed by the atmosphere. The cost has been a crucial part in the selection of diferent components, trying to reduce it as much as possible an trying to obtain the best result. For the selection os passive elements and the main elements of the transmition chain, even the selection of the material despite the increase of losses. 5.3 Social perspective The work done does not reflect on personal or ethical standards, and inclusive and non-sexist language has not been used. All the manufacturers in question, such as Panasonic, Minicircuits Analogue Devices, Texas Instruments, have their public codes with a social responsibility and a code of conduct with high ethical standards. The project has been done with an academic purpose and visualise the Earth thanks to a multiespectral càmera in charge to take photos around the space monitoring different aspects as for example the ionosphere, it could help to all the companies/institutions that needs some footprints of the Earth in the space. The project is able to communicate the SDR with the antenna fulfilling the communication between the ground station and the satellite, and honestly is the only method valid to modualte the signal to achieve the communication with the ground station.
-53- 6 Conclusions and Future Work ____________________________________________________________ CHAPTER 6 Conclusions and Future Work 6.1 Conclusions The main results in my opinion have been quite satisfactory despite the amount of work, its true that my inexperience has driven me not to meet all the objectives set, the requirements of power and harmonics in my opinion are going to be met the main problem could be the reliability of the power amplifiers due to their complexity circuit I would like to find better, but the problems due to the power supply, and the prices plays a crucial role to select the power amplifiers finally chosen, The LO chain because of the results and the lack of space, I am very proud of it because it seems very reliable from the graphs and simulations. The control bias due to the voltage supplied and for the power required, it meets the required specifications. The FPGA part was the most difficult part and to be honest I felt quite angry and lost in this aspect because the first simulation using the FPGA did not work properly due to the zynq-7000 not working properly and finally I could not get positive results using the Adalm-Pluto due to the complexity of the block diagram. I am very proud to have chosen the TFG because, thanks to the whole team of the UPC NanoSat Lab, I have been able to learn a lot of topics that I honestly could never have imagined and for this reason I am very excited to continue working on the project and to help as much as I can.
-54- 6.2 Future Directions The designed PCB can be highly improved. Due to the composition of the LDO and the distribution of the PCB, the main key is to improve it and make the circuit as compact as possible. If it is possible it would be great to find out better power amplifiers than the ones in use now. After the design and manufacture of the PCB, it is necessary to test the final PCB, for this reason in some parts of the schematic has been implemented a connector, MSC- 156 to test the PCB in different places, and finally when the testings and corrections will be implemented, obtain the final PCB, but this time changing the material of the RF layer to Rogers-4350b to improve the losses.
-55- Bibliography [1] nanosatlab/kicad-lib: Repository of the KiCad Libraries from NSL (github.com) [2] No Slide Title (itu.int) [3] 3.8: Co-Planar Waveguide - Engineering LibreTexts [4] Introduction to CAN (Controller Area Network) - Technical Articles (allaboutcircuits.com) [5] SMT Linear Amplifier, 50 - 6000 MHz, 50Ω | LHA-1+ | Mini-Circuits (minicircuits.com) [6] SIM-153+.pdf (minicircuits.com) [7] LMX2572 data sheet, product information and support | TI.com [8] hmc575 (v00.0506) (analog.com) [9] BFCN-1052+.pdf (minicircuits.com) [10] BFCN-7700+.pdf (minicircuits.com) [11] HMC952ALP5GE (v03.0418) (analog.com) [12] HMC980LP4E (Rev.C) (analog.com) [13] MS-156C series - HIROSE Electric Group [Connector] [14] TQP9111 - Qorvo [15] HMC311SC70/HMC311SC70E (v05.0517) (analog.com) [16] PMA3-63GLN+.pdf (minicircuits.com) [17] AD9363 (Rev. D) (analog.com) [18] Bing Vídeos [19] Datasheet - STM32L476xx - Ultra-low-power Arm® Cortex®-M4 32-bit MCU+FPU, 100DMIPS, up to 1MB Flash, 128 KB SRAM, USB OTG FS, LCD, ext. SMPS [20] ECS_TXO_2016MV-3045144.pdf (mouser.com) [21] Beginner's Guide to KiCad - SparkFun Learn [22] Regulador reductor vs LDO para AC, DC y RF | Altium [23] RO4350B™ Laminates (rogerscorp.com) [24] Características del FR4 para placas de circuitos impresos | Altium [25] Distribuidor de Componentes Electrónicos - Mouser Electronics España [26] Atmospheric Absorption (Specific Attenuation) Chart - RF Cafe [27] What is a Bias Tee? - OneSDR - A Wireless Technology Blog [28] Inverting DC/DC Controller Converts a Positive Input to a Negative Output with a Single Inductor | Analog Devices [29] Introducción al uso de la FPGA del Adalm Pluto (youtube.com) [30] Aquí te explico como funciona un SDR TODO-SDR.com [31] Phase-Locked Loop (PLL) Fundamentals (analog.com)
-56- [32] ADM8316/ADM8318/ADM8319/ADM8320/ADM8321/ADM8322 (Rev. C) (analog.com) [33] TMP1827 1-Wire®, ±0.2°C Accurate Temperature Sensor With SHA-256-HMAC Authentication Engine, 2Kb EEPROM datasheet (Rev. A) [34] TPS56624x 3-V to 16-V Input Voltage, 6-A Synchronous Buck Converter in a SOT-563 Package datasheet (Rev. A) (ti.com) [35] TPS7A54 4-A, High-Accuracy (0.5%), Low-Noise (4.4 µVRMS), LDO Voltage Regulator datasheet (Rev. A) (ti.com) [36] TC7660 Charge Pump DC-to-DC Voltage Converter Data Sheet (mouser.es) [37] TPS562202 4.3-V to 17-V Input, 2-A Synchronous Buck Converter in SOT563 datasheet (ti.com) [38] BFCN-2435+.pdf (minicircuits.com)
-57- Appendix A _________________________________________________________ APPENDIX A GANTT DIAGRAM AND MILESTON Figure 34 Gantt Diagram Table 9 Milestone WP# Task# Short title Milestone / deliverable Date (week) 1 1 Kicad Blinker Schematic Tools Familiarisation 1 1 2 Vivado Master lab sessions Tools Familiarisation 2 1 3 PCB Kicad Blinker Tools Familiarisation 1 2 1 CPWG information Related to the formulation Link Budget/CPWG Characterisation 3 2 2 Kicad calculator CPWG dimensions Link Budget/CPWG Characterisation 3 2 3 X-Band Link Budget Link Budget/CPWG Characterisation 3 2 4 S-Band Link Budget Link Budget/CPWG Characterisation 3 3 1 X-band Simulation ADS Simulation 3 3 2 S-band Receiver simulation ADS Simulation 4 3 3 S-band Transmitter Simulation ADS Simulation 5 3 4 X-band LO Simulation ADS Simulation 3 4 1 Verilog Code and schematic in Simulink Vivado Simulation 3 4 2 FPGA 1 Vivado zynq-7000 Vivado Simulation 3
-64- C83 1 nF Capacitor_SMD:C_0603_1608Metric KYOCERA AVX KGM15ACG2A102 FT 1 D1, D2 bat54slt1 Package_TO_SOT_SMD:SOT-23 ONSEMI bat54slt1 2 FL1 BFCN-7700 Front_End_Library:FV1206-9 Mini-Circuits BFCN-7700 1 FL2, FL3 BFCN-1052+ Front_End_Library:FV1206-9 Mini-Circuits BFCN-1052+ 2 HMC1 HMC980 Package_CSP:LFCSP-24- 1EP_4x4mm_P0.5mm_EP2.5x2.5mm Analog-Devices HMC980 1 J1 FSI-110-10-L-D- AD-P-TR Connector_PinHeader_2.54mm:PinHea der_2x10_P2.54mm_Vertical SAMTEC FSI-110-10-L-D-AD- P-TR 1 J2 CSMP_MSSB_PC T_5T Connector_Coaxial:SMA_Amphenol_13 2134-16_Vertical Amphenol RF SMP-MSSB-PCT-5T 1 J3 SMP-MSSB-PCT- 5T Connector_Coaxial:SMA_Amphenol_13 2134-16_Vertical Amphenol RF SMP-MSSB-PCT-5T 1 L1 3.9 nH Inductor_SMD:L_0603_1608Metric Coil-Craft 0603DC-3N3XJRW 1 L2 1.6 nH Inductor_SMD:L_0603_1608Metric Coilcraft 0603CS-1N6XJR_ 1 L3, L4 3.3 uF Inductor_SMD:L_0603_1608Metric Wurth Electronics CL21B335KOQVPN E 2 R1, R21-R23, R34 0 Inductor_SMD:L_0603_1608Metric Panasonic ERJ-3GEY0R00V 5 R2, R6, R13-R16, R28, R29 10 k Resistor_SMD:R_0402_1005Metric Panasonic ERJ-PA2F1002X 8 R3 4.64 k Resistor_SMD:R_0402_1005Metric Panasonic ERA-2AEB4641X 1 R4, R5 0.36 k Resistor_SMD:R_0402_1005Metric Panasonic ERA-2AEB361X 2 R7 5.1 k Resistor_SMD:R_0402_1005Metric ROHM Semiconductors ESR01MZPJ512 1 R8 16.09 k Resistor_SMD:R_0402_1005Metric KOA Speer RK73G1ETTP1692F 1 R9 422 k Resistor_SMD:R_0402_1005Metric Panasonic ERJ-2RKF4223X 1 R10 254.9 k Resistor_SMD:R_0402_1005Metric Panasonic ERJ-U02F2553X 1 R11, R12, R19, R32 100 k Resistor_SMD:R_0402_1005Metric Panasonic ERJ-1GJF1003C 4 R17 180 Resistor_SMD:R_0402_1005Metric Panasonic ERA-2VEB1800X 1 R18 3 k Resistor_SMD:R_0402_1005Metric Panasonic ERA-2ARC302X 1 R20, R33 11.3k Inductor_SMD:L_0603_1608Metric Panasonic ERJ-3EKF1132V 2 R24 12.4 k Inductor_SMD:L_0603_1608Metric Panasonic ERA-2VRB1242X 1 R25 2.37 k Resistor_SMD:R_0603_1608Metric Panasonic ERA-3VEB2371V 1
-65- R26 11.8 k Resistor_SMD:R_0402_1005Metric Panasonic ERA-2VRB1182X 1 R27 3.74 k Resistor_SMD:R_0603_1608Metric Panasonic ERA-3VEB3741V 1 R30 270 k Resistor_SMD:R_0603_1608Metric Panasonic ERJ-1GNJ274C 1 R31, R36 30 k Resistor_SMD:R_0603_1608Metric Panasonic ERJ-UP3F3002V 2 R35 316 k Resistor_SMD:R_0603_1608Metric Panasonic ERA-3AEB3163V 1 TP1-TP5 MS-156C Connector_Coaxial:CoaxialSwitch_Hiro se_MS-156C3_Horizontal Mouser/Hirose MS-156C 5 U1, U9 LMX-2572 Package_CSP:LFCSP-40- 1EP_6x6mm_P0.5mm_EP4.6x4.6mm Texas Instruments LMX-2572 2 U2 HMC575 Package_CSP:LFCSP-24- 1EP_4x4mm_P0.5mm_EP2.5x2.5mm Analog-Devices HMC575 1 U3 LHA-1+ Package_DFN_QFN:Mini- Circuits_FG873-4_3x3mm Mini-Circuits LHA-1+ 1 U4 SIM-153+ Front_End_Library:HV1195 Mini-Circuits SIM-153+ 1 U5 PMA-153LN+ Front_End_Library:MC1631-1 Mini-Circuits PMA-153LN+ 1 U6, U7 HMC952ALP5GE Package_CSP:LFCSP-24- 1EP_4x4mm_P0.5mm_EP2.5x2.5mm Analog-Devices HMC952ALP5GE 2 U8 AD8603 Package_TO_SOT_SMD:TSOT-23-5 Analog_Devices AD8603 1 U10 TMP1827NGRR Package_SON:WSON-8- 1EP_3x2.5mm_P0.5mm_EP1.2x1.5mm _PullBack TMP1827NGRR 1 U11 ADM6320CY29A RJZ-R7 Package_TO_SOT_SMD:SOT-23-8 ADM6320CY29ARJ Z-R7 1 U12 STM32L476RGTx Package_QFP:LQFP- 64_10x10mm_P0.5mm 1 U13 TPS562202 Package_TO_SOT_SMD:SOT-563 Texas Instruments TPS562202 1 U14, U15 tps7a54 Front_End_Library:VQFN 12 Texas Instruments ONSEMI tps7a54 2 U16 TPS566242 Package_TO_SOT_SMD:SOT-563 Texas Instruments TPS566242 ...
-66- Appendix E _________________________________________________________ APPENDIX E KICAD FOOTPRINTS CREATED FOR THE IMPLEMENTATION Figure 35 MIXER-153 Figure 36 FV1206-9 FOR BFCN+ Filters Figure 37 LDO TPS7A54
-67- Figure 38 TMP1827NGRR Figure 39 TCXO Figure 40 PMA-153LN+
-68- Appendix F _________________________________________________________ APPENDIX F PCB CONNECTOR The PCB designed has the necessity to implement a connector between the begin and the end of the PCB to link the transmitter between the SDR and the Antenna to reduce the lack of space for that reason the connector selected is a SMP type from Amphenol RF a CSMP_MSSP_PCT_5T-2450869. Figure 41 SMP Connector
-69- Appendix G _________________________________________________________ APPENDIX G SDR IMPLEMENTATION I decided to dedicate a chapter of the SDR implementation in the APPENDIX due to the lack of pages referred in the final thesis, because this chapter is quite long. A software-defined radio (SDR) is a wireless device that typically consists of a configurable RF front end with an FPGA or programmable system-on-chip (SoC) to perform digital functions. The final form of the FPGA is the following one: Figure 42 FPGA diagram block The FPGA is divided in 9 different blocks as is seen the first of them is the REEDSOLOMON outer encoder, it is a type of error-correcting code use in this case for the Data source, adding information to the original data, that is based on the Galois Field algorithm, if you are interested in know the Galois Field algorithm you could search information in the following link: http://content.sakai.rugers.edu/access/content/user/ak892/Reed- SolomonProjectReport.pdf
-70- The symbol Interleaving buffer is in charge to reorder the symbols before the transmission. This is very useful to mitigate the impact of burst errors improving the reliability of the data transmission. The convolutional inner encoder is used to encode the input data into a coded sequence to add redundancy to the transmitted data using a sliding window in this case a square root. The modulation is in charge to modulate the signal, it can be a amplitude modulation, frequency modulation or a phase modulation, in that case the FPGA is going to use the simplest modulation that is BPSK, consisting of two different phases to represent two binary values as 0 and 1. The demodulation has to be able to reverse the process done by the modulator obtaining the original signal. Using the Viterbi algorithm that consists of calculating a metric for each path, considering the likelihood of the received sequence given each possible path, the algorithm aims to correct the errors introduced during transmission. The symbol deinterleaving has to revert the order of the symbols back to their original sequence. To recover the original data, using a frame synchronization to identify the beginning and the end of each symbol received. And finally the Reed-Salomon decoder as the encoder it processes the received symbols, correcting errors obtaining the original data. The idea of the implementation is summary in the following image and the first part to verify the implementation of the FPGA is split in 3 different parts as is specified in the image. Figure 43 FPGA schematic and divided
-71- Using the knowledge acquired in the lab sessions done, in the first part of the Final thesis to get familiarised with Vivado, the idea was implementing the communication library installed in Simulink use it to make the first part of the FPGA implementing the Modulation and the pulse for the transmitter and the demodulation and the matched filter for the receiver in Verilog and exported to Vivado to the implementation with the Zynq-7000 that is a FPGA board to test it sending a constant. Figure 44 Rx Simulink As is has been aforementioned, part of the receiver is going to be tested in this case the Square root, typically used to shape the signal and control the bandwidth. And then implementing the BPSK to demodulate the signal.. Figure 45 Tx_Simulink The transmitter use a BPSK modulation to change the phase of the Tx_in and finally using a square root.
-72- Figure 46 FPGA_ZINQ7000 TESTING Compound by the fpga1_rx(matched filter demodulator) fpga_tx_0(Modulator(Bpsk)) and the filter, a constant generator, the zynq7000 and the reset system.
-73- The Adalm Pluto diagram block is divided in a lot of block diagram for that reason to understand the theory behind the block diagram. For that reason up next the different blocks are going to be described to understand the problems due to the implementation of the FPGA Figure 47 Adalm Pluto FPGA The first block is the zynq7 processing System it is divided in the same ZYNQ and it has implemented an ARM processor, and a lot of peripheries a DDR controller, different systems of protocol communication to control as SPI, UART ,CAN and I2C. The pins dedicated to the SPI0 are in charge to control the transceiver AD9363 of the Adalm-Pluto that has the same frequency of transmition as we wish that is 2.4 Ghz. The M_AXI_GP0 is a master bus that is in charge to connect with multiple devices in the same hardware in this way the ZYNQ could control all the devices required in the Adalm pluto. It has two clocks to sample, and create states machines, normally it is 100 Mhz but is could be changed, it has a reset as well. Note: Its important to understand the concept master and Slave, the master has the responsibility to modify and send orders meanwhile the slave has the mission to obey
-80- CONSTANT DirectLookupTable_data : std_logic_vector(7 DOWNTO 0) := ('0', '1', '1', '1', '0', '1', '0', '0'); -- ufix1 [8] -- Signals SIGNAL in0_re_signed : signed(15 DOWNTO 0); -- int16 SIGNAL in0_im_signed : signed(15 DOWNTO 0); -- int16 SIGNAL inphase_lt_zero : std_logic; SIGNAL inphase_eq_zero : std_logic; SIGNAL quadrature_eq_zero : std_logic; SIGNAL decisionLUTaddr : unsigned(2 DOWNTO 0); -- ufix3 SIGNAL hardDecision : std_logic; -- ufix1 SIGNAL out0_tmp : unsigned(7 DOWNTO 0); -- uint8 BEGIN in0_re_signed <= signed(in0_re); inphase_lt_zero <= '1' WHEN in0_re_signed < to_signed(16#0000#, 16) ELSE '0' inphase_eq_zero <= '1' WHEN in0_re_signed = to_signed(16#0000#, 16) ELSE '0'; in0_im_signed <= signed(in0_im); quadrature_eq_zero <= '1' WHEN in0_im_signed = to_signed(16#0000#, 16) ELSE '0'; decisionLUTaddr <= unsigned'(inphase_lt_zero & inphase_eq_zero & quadrature_eq_zero); hardDecision <= DirectLookupTable_data(to_integer(decisionLUTaddr)); out0_tmp <= '0' & '0' & '0' & '0' & '0' & '0' & '0' & hardDecision; out0 <= std_logic_vector(out0_tmp); END rtl; RECEIVED FILTER LIBRARY IEEE; USE IEEE.std_logic_1164.ALL; USE IEEE.numeric_std.ALL; ENTITY Raised_Cosine_Receive_Filter IS PORT( clk : IN std_logic; reset : IN std_logic; enb_1_1_1 : IN std_logic;
-81- In1_re : IN std_logic_vector(15 DOWNTO 0); -- int16 In1_im : IN std_logic_vector(15 DOWNTO 0); -- int16 Out1_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 Out1_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END Raised_Cosine_Receive_Filter; ARCHITECTURE rtl OF Raised_Cosine_Receive_Filter IS -- Component Declarations COMPONENT FIR_Decimation PORT( clk : IN std_logic; enb_1_1_1 : IN std_logic; reset : IN std_logic; FIR_Decimation_in_re : IN std_logic_vector(15 DOWNTO 0); -- int16 FIR_Decimation_in_im : IN std_logic_vector(15 DOWNTO 0); -- int16 FIR_Decimation_out_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 FIR_Decimation_out_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END COMPONENT; -- Component Configuration Statements FOR ALL : FIR_Decimation USE ENTITY work.FIR_Decimation(rtl); -- Signals SIGNAL FIR_Decimation_out1_re : std_logic_vector(15 DOWNTO 0); -- ufix16 SIGNAL FIR_Decimation_out1_im : std_logic_vector(15 DOWNTO 0); -- ufix16 BEGIN u_FIR_Decimation : FIR_Decimation PORT MAP( clk => clk, enb_1_1_1 => enb_1_1_1, reset => reset, FIR_Decimation_in_re => In1_re, -- int16 FIR_Decimation_in_im => In1_im, -- int16 FIR_Decimation_out_re => FIR_Decimation_out1_re, -- int16 FIR_Decimation_out_im => FIR_Decimation_out1_im -- int16
-82- ); Out1_re <= FIR_Decimation_out1_re; Out1_im <= FIR_Decimation_out1_im; END rtl; The decimator is left due to the number of pages that it occupies. FPGA1_tx: LIBRARY IEEE; USE IEEE.std_logic_1164.ALL; USE IEEE.numeric_std.ALL; ENTITY fpga1_tx IS PORT( clk : IN std_logic; reset : IN std_logic; clk_enable : IN std_logic; Tx_in : IN std_logic_vector(7 DOWNTO 0); -- uint8 ce_out_0 : OUT std_logic; ce_out_1 : OUT std_logic; Tx_out_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 Tx_out_im : OUT std_logic_vector(15 DOWNTO 0); -- int16 BPSK_mod_out_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 BPSK_mod_out_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END fpga1_tx; ARCHITECTURE rtl OF fpga1_tx IS -- Component Declarations COMPONENT BPSK_Modulator_Baseband PORT( in0 : IN std_logic_vector(7 DOWNTO 0); -- uint8 out0_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 out0_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END COMPONENT; COMPONENT fpga1_tx_tc PORT( clk : IN std_logic; reset : IN std_logic;
-83- clk_enable : IN std_logic; enb_1_1_1 : OUT std_logic; enb_1_4_1 : OUT std_logic ); END COMPONENT; COMPONENT Raised_Cosine_Transmit_Filter1 PORT( clk : IN std_logic; reset : IN std_logic; enb_1_1_1 : IN std_logic; In1_re : IN std_logic_vector(15 DOWNTO 0); -- int16 In1_im : IN std_logic_vector(15 DOWNTO 0); -- int16 Out1_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 Out1_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END COMPONENT; -- Component Configuration Statements FOR ALL : BPSK_Modulator_Baseband USE ENTITY work.BPSK_Modulator_Baseband(rtl); FOR ALL : fpga1_tx_tc USE ENTITY work.fpga1_tx_tc(rtl); FOR ALL : Raised_Cosine_Transmit_Filter1 USE ENTITY work.Raised_Cosine_Transmit_Filter1(rtl); -- Signals SIGNAL enb_1_1_1 : std_logic; SIGNAL enb_1_4_1 : std_logic; SIGNAL bpsk_out_re : std_logic_vector(15 DOWNTO 0); -- ufix16 SIGNAL bpsk_out_im : std_logic_vector(15 DOWNTO 0); -- ufix16 SIGNAL sdr_re : std_logic_vector(15 DOWNTO 0); -- ufix16 SIGNAL sdr_im : std_logic_vector(15 DOWNTO 0); -- ufix16 BEGIN u_BPSK_Modulator_Baseband : BPSK_Modulator_Baseband PORT MAP( in0 => Tx_in, -- uint8 out0_re => bpsk_out_re, -- int16
-84- out0_im => bpsk_out_im -- int16 ); u_fpga1_tx_tc : fpga1_tx_tc PORT MAP( clk => clk, reset => reset, clk_enable => clk_enable, enb_1_1_1 => enb_1_1_1, enb_1_4_1 => enb_1_4_1 ); u_Raised_Cosine_Transmit_Filter1 : Raised_Cosine_Transmit_Filter1 PORT MAP( clk => clk, reset => reset, enb_1_1_1 => enb_1_1_1, In1_re => bpsk_out_re, -- int16 In1_im => bpsk_out_im, -- int16 Out1_re => sdr_re, -- int16 Out1_im => sdr_im -- int16 ); ce_out_0 <= enb_1_1_1; ce_out_1 <= enb_1_4_1; Tx_out_re <= sdr_re; Tx_out_im <= sdr_im; BPSK_mod_out_re <= bpsk_out_re; BPSK_mod_out_im <= bpsk_out_im; END rtl; Raised_Cosine_Transmit LIBRARY IEEE; USE IEEE.std_logic_1164.ALL; USE IEEE.numeric_std.ALL; ENTITY Raised_Cosine_Transmit_Filter1 IS PORT( clk : IN std_logic; reset : IN std_logic; enb_1_1_1 : IN std_logic;
-85- In1_re : IN std_logic_vector(15 DOWNTO 0); -- int16 In1_im : IN std_logic_vector(15 DOWNTO 0); -- int16 Out1_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 Out1_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END Raised_Cosine_Transmit_Filter1; ARCHITECTURE rtl OF Raised_Cosine_Transmit_Filter1 IS -- Component Declarations COMPONENT FIR_Interpolation PORT( clk : IN std_logic; enb_1_1_1 : IN std_logic; reset : IN std_logic; FIR_Interpolation_in_re : IN std_logic_vector(15 DOWNTO 0); -- int16 FIR_Interpolation_in_im : IN std_logic_vector(15 DOWNTO 0); -- int16 FIR_Interpolation_out_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 FIR_Interpolation_out_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END COMPONENT; -- Component Configuration Statements FOR ALL : FIR_Interpolation USE ENTITY work.FIR_Interpolation(rtl); -- Signals SIGNAL FIR_Interpolation_out1_re : std_logic_vector(15 DOWNTO 0); -- ufix16 SIGNAL FIR_Interpolation_out1_im : std_logic_vector(15 DOWNTO 0); -- ufix16 BEGIN u_FIR_Interpolation : FIR_Interpolation PORT MAP( clk => clk, enb_1_1_1 => enb_1_1_1, reset => reset, FIR_Interpolation_in_re => In1_re, -- int16 FIR_Interpolation_in_im => In1_im, -- int16 FIR_Interpolation_out_re => FIR_Interpolation_out1_re, -- int16 FIR_Interpolation_out_im => FIR_Interpolation_out1_im -- int16
-86- ); Out1_re <= FIR_Interpolation_out1_re; Out1_im <= FIR_Interpolation_out1_im; END rtl; BPSK_Modulator_Baseband LIBRARY IEEE; USE IEEE.std_logic_1164.ALL; USE IEEE.numeric_std.ALL; ENTITY BPSK_Modulator_Baseband IS PORT( in0 : IN std_logic_vector(7 DOWNTO 0); -- uint8 out0_re : OUT std_logic_vector(15 DOWNTO 0); -- int16 out0_im : OUT std_logic_vector(15 DOWNTO 0) -- int16 ); END BPSK_Modulator_Baseband; ARCHITECTURE rtl OF BPSK_Modulator_Baseband IS -- Signals SIGNAL in0_unsigned : unsigned(7 DOWNTO 0); -- uint8 SIGNAL bpsk_sel : std_logic; SIGNAL inphase_val0 : signed(15 DOWNTO 0); -- int16 SIGNAL inphase_val1 : signed(15 DOWNTO 0); -- int16 SIGNAL inphase : signed(15 DOWNTO 0); -- int16 SIGNAL quadrature : signed(15 DOWNTO 0); -- int16 BEGIN in0_unsigned <= unsigned(in0); bpsk_sel <= in0_unsigned(0); inphase_val0 <= to_signed(16#0001#, 16); inphase_val1 <= to_signed(-16#0001#, 16); inphase <= inphase_val0 WHEN bpsk_sel = '0' ELSE inphase_val1; out0_re <= std_logic_vector(inphase); quadrature <= to_signed(16#0000#, 16); out0_im <= std_logic_vector(quadrature); END rtl;
-87- Appendix H _________________________________________________________ APPENDIX H FIRST MODEL OF THE X-BAND AT 8.2 GHZ Figure 51 8,2 GHz Schematic Figure 52 8,2 GHz Simulation/Results Figure 53 FR-4 Losses respect Rogers-4350b
-88- Appendix I _________________________________________________________ APPENDIX I PCB CONNECTION DESIGN Figure 54 Kicad PCB Schematic The space left is where the SMP are going to be connected in the PCB.
-89- Appendix J _________________________________________________________ APPENDIX J OUTPUT POWER 1 dB COMPRESSION This Appendix is used to explain important theory related to the different amplifiers used in the schematics, all the amplifiers have an output power 1 dB Compression. As an input power increases there is a point where the output power no longer increases for that reason is important to take into account this value meaning that the output power starts to saturate. The 1 dB compression point (P1dB) is the output power level at which the gain decreases 1 dB from its constant line. Figure 55 Power 1dB Compression