System Integration » History » Version 13

DE GENDRE, Raphaëlle, 03/23/2016 04:10 PM

1 1 BASTIDE, Paul
h1. System Integration
2 1 BASTIDE, Paul
3 5 BASTIDE, Paul
{{>toc}}
4 5 BASTIDE, Paul
5 13 DE GENDRE, Raphaëlle
The system we are proposing in order to achieve the objectives we defined, is composed by the following subsystems :
6 12 BASTIDE, Paul
* The development board (DB)
7 3 BASTIDE, Paul
* The DSPIC33F microprocessor of Microchip / Analog-to Digital Converter (ADC)
8 3 BASTIDE, Paul
* The thermocouple
9 3 BASTIDE, Paul
* LEDS to monitor the state of the program 
10 3 BASTIDE, Paul
* The 2-FSK  RF transimter
11 3 BASTIDE, Paul
* We are developing on the development board rather than the motherboard in order to test and validate our system.
12 3 BASTIDE, Paul
* As it is in a testing phase, we we also have the In-Circuit-Debugger ICD3 and our computer
13 2 BASTIDE, Paul
14 12 BASTIDE, Paul
The DSPIC33D is monted on the development board. We are using the Cubesat bus in order to connect the different equipment.
15 12 BASTIDE, Paul
We are using the ADC already installed in the DSPIC33F to measure the difference of voltage in the thermocouple and to software-tranform it in temperature.
16 12 BASTIDE, Paul
The DB is fed by a power source, and the ICD3 is fed by the computer.
17 1 BASTIDE, Paul
18 12 BASTIDE, Paul
h2. Sub-systems
19 1 BASTIDE, Paul
20 3 BASTIDE, Paul
h3. LEDs
21 2 BASTIDE, Paul
22 12 BASTIDE, Paul
p. We are using  standard 5 mm diameter red LEDs as monitors during the unfolding of the program.
23 12 BASTIDE, Paul
We are connecting them on the BUS connector, with their input side on I/O port 47,43,39,35, 31 and 29 and their output  on I/O ports 46,42,38,34,30. During the program, setting the inputs I/O ports to high would turnon the LED, and to Low to turn them off
24 2 BASTIDE, Paul
25 6 BASTIDE, Paul
h3. ADC
26 1 BASTIDE, Paul
27 2 BASTIDE, Paul
We are using the already  integrated ADC to recover the voltage on each wire of the thermocouple.
28 1 BASTIDE, Paul
The ADC is a device used to transform a continuous voltage to a digital bit stream. During the process, it has to quantify the analog input. We are taking advantage of that functionality so as to retrieve that quantification and reconvert it to voltage .
29 1 BASTIDE, Paul
30 12 BASTIDE, Paul
The ADC's principle is simple. Each ADC, (there is two of them on a DSPIC33F) samples the analog input it has been specified, during an interval of time wich cannot be smaller than 75 ns. After the sampling has been done, it begins the conversion to a 16-bit word, stored in a buffer. 
31 6 BASTIDE, Paul
32 7 BASTIDE, Paul
p=. !{width:60%}ADC_sequence.PNG! 
33 6 BASTIDE, Paul
Figure : ADC sampling and conversion sequence
34 6 BASTIDE, Paul
35 12 BASTIDE, Paul
The ADC is controlled by a set of registers, 16-bits words used to store the options of the ADC (the “x” is used to specify the number of the considered ADC) :
36 3 BASTIDE, Paul
* ADxCON1 : ADCx Control Register 1 : this register contains the following interesting options
37 3 BASTIDE, Paul
** ADON : ADC ON and OFF signal
38 3 BASTIDE, Paul
** AD12B : 10-bit or 12-bit Operation Mode : the ADC constore data on 10 or 12 bits in the 16-bit buffer.
39 3 BASTIDE, Paul
** FORM : Data ouput format : can be one of the following four:
40 3 BASTIDE, Paul
*** Signed fractional
41 3 BASTIDE, Paul
*** Fractional
42 3 BASTIDE, Paul
*** Signed integer
43 3 BASTIDE, Paul
*** Integer
44 3 BASTIDE, Paul
** SSRC : Sample Clock Source Select : select if the clock of the ADC is internally or externally driven
45 3 BASTIDE, Paul
** ASAM : ADC auto-Start : select wheter the sampling begins automatically after previuous conversion or when manually set
46 3 BASTIDE, Paul
** DONE : the hardware store here a “1” when the conversion has been finished, and is reset automatically
47 3 BASTIDE, Paul
* ADxCON2 : ADCx Control Register 2 : this register contains the following interesting options
48 3 BASTIDE, Paul
** VCFG  Converter Voltage reference Configuration :   
49 3 BASTIDE, Paul
** CHIPS : Channel select :  the ADC can scan up to 4 channels (CH0, CH1, CH2, CH3), and we have to select which one(s) we want to use
50 3 BASTIDE, Paul
* ADxCON3 : ADCx Control Register 3 : this register contains the following interesting options
51 3 BASTIDE, Paul
** ADRC : ADC Conversion Clock source: internal or external
52 12 BASTIDE, Paul
** SAMC auto sample Time : set the time taken to sample, as a multiple of a period "Tad", which is a period set by the system for unitary conversion and which can’t be lower than 75 ns
53 12 BASTIDE, Paul
** ADC conversion clock : used to specify "Tad" by a calculation
54 3 BASTIDE, Paul
* ADxCHS123 : ADCx Input Channel 1,2,3 Select : used to set the input and ouput of the channels 1,2 and 3, but won’t be used by us.
55 12 BASTIDE, Paul
* ADxCHS0 : ADCx Input Channel 0 Select : we are to note here that each channel can buffer one input. It does that by defining "sample A" and "sample B", and then doing the conversion on either one of them alternatively. Here we will be using only the sample A. The register contains the following interesting fields :
56 3 BASTIDE, Paul
** CH0NA : Channel 0 Negative Input select for sample A
57 1 BASTIDE, Paul
** CH0SA : Channel 0 Positive Input select for sample A : for CH0S/NA, we select the analagog input to read
58 3 BASTIDE, Paul
** ADxCSSH/L : ADCx Input scan select registers : used to select if the considered input are digitals or analog. If digital is selected, there won’t be any quantification possible with the 
59 3 BASTIDE, Paul
* ADCxPCFGH/L : ADCx Port configuration registers : used to select if the considered input are digitals or analog. If digital is selected, there won’t be any quantification possible with the ADC
60 2 BASTIDE, Paul
61 6 BASTIDE, Paul
h2. RF Transmitter
62 2 BASTIDE, Paul
63 2 BASTIDE, Paul
For the RF transmitter and the monopole antenna, we are simpling reusing what's was described in project Sputnik srikes back
64 2 BASTIDE, Paul
The RF transmitter is a 2-FSK transmitter suited to ON-OFF modulations of digital signals. It has a serial input port and a RF out port for a dedicated antenna apart from power and ground port.
65 1 BASTIDE, Paul
 
66 1 BASTIDE, Paul
RF Transmitter pinout.
67 3 BASTIDE, Paul
68 4 BASTIDE, Paul
|_.Pin 	|_.Type |_.Function |
69 4 BASTIDE, Paul
|1 	|G 	|Ground     |
70 4 BASTIDE, Paul
|2 	|I 	|Data input |
71 4 BASTIDE, Paul
|4 	|G 	|Ground     |
72 4 BASTIDE, Paul
|11 	|O 	|RF output |
73 4 BASTIDE, Paul
|13 	|G 	|Ground |
74 4 BASTIDE, Paul
|15 	|P 	|+V |
75 2 BASTIDE, Paul
76 1 BASTIDE, Paul
Ground pins (1, 4 and 13) are internally interconnected.
77 2 BASTIDE, Paul
78 1 BASTIDE, Paul
Connection types: G = Ground, P = Power, I = Input, O = Output.
79 1 BASTIDE, Paul
80 2 BASTIDE, Paul
The interface between the motherboard and the transmitter is composed by the set of connections presented below.
81 11 BASTIDE, Paul
82 10 BASTIDE, Paul
p=. !{width: 30%}RF_setting.png!
83 1 BASTIDE, Paul
 
84 9 BASTIDE, Paul
h3. Monopole antenna
85 2 BASTIDE, Paul
86 1 BASTIDE, Paul
From mission requirements and targeted objectives, the antenna must be omnidirectional. In addition, deployable wired antennas are well suited to Cubesats. For the scope of the project, a simple monopole whip antenna is appropriate.
87 2 BASTIDE, Paul
88 2 BASTIDE, Paul
h4. Antenna design
89 1 BASTIDE, Paul
90 2 BASTIDE, Paul
A typical monopole quarter-wave antenna is built from a radiating wire whose length L is defined as follows:
91 9 BASTIDE, Paul
92 1 BASTIDE, Paul
p=. L=c/(4fc)
93 9 BASTIDE, Paul
Where fc is the carrier frequency and c the speed of light.
94 2 BASTIDE, Paul
95 1 BASTIDE, Paul
Since the carrier frequency of the 2-FSK modulator is 433.92 MHz, the required length of the wire is: L = 17.3 cm.
96 1 BASTIDE, Paul
The figure belows shows the designed antenna to be mounted on the payload, connected to the RF transmitter.
97 1 BASTIDE, Paul
98 11 BASTIDE, Paul
p=. !{width: 30%}wired_antenna.png!