PostProductionTesting » History » Version 1
Anonymous, 02/19/2016 10:52 PM
1 | 1 | ||
---|---|---|---|
2 | Basic checks to perform after production to make sure there are no critical issues with manufacturing. |
||
3 | |||
4 | == Required instruments: == |
||
5 | |||
6 | 1. Laboratory Power Supply Unit (PSU) 3-15V/0-2A with DC current indication or external ammeter. |
||
7 | 2. Voltmeter or multimeter with good accuracy. |
||
8 | 3. Spectrum analyzer, at least as good as Signal Hound. |
||
9 | 4. PC with 1GbE port, configured with IP 192.168.10.1/24. |
||
10 | 5. 1GbE capable cable, plugged into the PC port described above. |
||
11 | 6. RF cables, adapters, attenuators etc. |
||
12 | |||
13 | == UHD == |
||
14 | |||
15 | You should download and [wiki:Building_firmware build] the Fairwaves version of UHD. |
||
16 | |||
17 | Then follow [http://files.ettus.com/uhd_docs/manual/html/build.html normal UHD build instructions]. You only need to build 'host' part of UHD. |
||
18 | |||
19 | == Testing == |
||
20 | |||
21 | === 1. Critical issues === |
||
22 | |||
23 | Check that all [https://code.google.com/p/umtrx/issues/list?can=2&q=Priority%3DCritical critical issues] are fixed or worked around for the unit under the test. |
||
24 | |||
25 | === 2. Short circuit === |
||
26 | |||
27 | Adjust PSU current limit to 1-1.5A, set voltage to 3-4V and double check polarity. Apply power to UmTRX and check UmTRX current consumption with the PSU: |
||
28 | |||
29 | * If the current consumption of UmTRX is limited by the PSU, check the power polarity. If the polarity is correct, mark this UmTRX unit as defective with the "over-current" label. |
||
30 | * If the current consumption is below the limit, slowly increase PSU output voltage to 12V. Current consumption should be less then 0.5A at 12V - probably around 0.3A (without Ethernet cable connected and without firmware loaded). |
||
31 | |||
32 | === 3. DC-DC converters === |
||
33 | |||
34 | Test voltages of all the following test points: |
||
35 | || C140 || 2.5V || |
||
36 | || C138 || 1.2V || |
||
37 | || C141 || 3.3V || |
||
38 | || C131 || 6V || |
||
39 | || U18 || 5V || |
||
40 | || U28 || 3.3V || |
||
41 | || U29-1, U29-2 || 3.3V || |
||
42 | || U30-1, U30-2 || 2.5V || |
||
43 | || U31-1, U31-2,[[br]]U32-1, U32-2 || 1.8V || |
||
44 | || Collector Q3[[br]] near GBEth || 1.0V || |
||
45 | |||
46 | === 4. Clock source === |
||
47 | |||
48 | Check that both switches of the S3 dip-switch are turned down (position "master"). Check that LED-I lights constantly (indicates that clock is OK) and LED-G lights constantly (indicates that GPS is powered on). |
||
49 | |||
50 | === 5. Ethernet PHY === |
||
51 | |||
52 | Plug in an Ethernet cable, connected to a 1GbE network. |
||
53 | |||
54 | * Current draw should increase by about 100-150mA. |
||
55 | * LED6 and the right LED on the Ethernet connector should light constantly, LED5 and the left LED on the Ethernet connector might blink. |
||
56 | |||
57 | |||
58 | === 6. FPGA firmware === |
||
59 | |||
60 | 1. Switch off power. |
||
61 | 2. Connect JTAG adapter. |
||
62 | 3. Switch on power back. |
||
63 | 4. [http://umtrx.org/hardware/flashing/ Load firmware]. |
||
64 | |||
65 | Firmware images: |
||
66 | |||
67 | * [http://people.osmocom.org/ipse/umtrx-v2/current/ UmTRXv2] |
||
68 | |||
69 | [[span(style=color: #FF0000, Describe LED status and debug port output.)]] |
||
70 | |||
71 | === 7. GPS sync === |
||
72 | |||
73 | Connect GPS antenna and wait for ~1 min for LED G to start blinking - this means that GPS sync is acquired. |
||
74 | |||
75 | === 8. LEDs status === |
||
76 | |||
77 | Check all LED's in according to functionality as described in [FeaturesAndTechnicalSpecification]. |
||
78 | |||
79 | === 9. LMS init === |
||
80 | |||
81 | [[span(style=color: #FF0000, Describe for both LMS chips.)]] |
||
82 | |||
83 | Connect the spectrum analyzer (SA) to the TX1 port and set the SA and TX to the same frequency, e.g. 960MHz. Find the TxLO leakage level. |
||
84 | |||
85 | To check LMS control lines adjust its configuration. |
||
86 | |||
87 | Usual contents of *.bat* file to init basic functions: |
||
88 | {{{ |
||
89 | set lms=%C:\Python32\UmTRX\umtrx_lms.py --umtrx-addr 192.168.10.2 --lms 1% |
||
90 | %LMS% --lms-init |
||
91 | %LMS% --lms-tx-enable 1 |
||
92 | %LMS% --lms-rx-enable 1 |
||
93 | %LMS% --lms-set-tx-vga1-gain -10 |
||
94 | %LMS% --pll-ref-clock 26e6 --lpf-bandwidth-code 0x0f --lms-auto-calibration |
||
95 | %LMS% --lms-tx-pll-tune 960000000 |
||
96 | %LMS% --lms-set-tx-pa 2 |
||
97 | %LMS% --lms-set-tx-vga2-gain 20 |
||
98 | %LMS% --lms-rx-pll-tune 915000000 |
||
99 | %LMS% --lms-set-rx-vga2-gain 9 |
||
100 | %LMS% --lms-set-rx-lna 3 |
||
101 | }}} |
||
102 | |||
103 | === 10. Modulated Tx === |
||
104 | |||
105 | Generate a modulated signal and check power consumption by functionality as described in [wiki:PowerConsumption]. |
||
106 | |||
107 | Exercise case as the modulated signal of UmTRX will be much higher than TxLO leakage and could damage your SA! |
||
108 | |||
109 | To get ideal GMSK modulation might be used the next example: |
||
110 | {{{ |
||
111 | tx_samples_from_file.exe --rate 1083333 --freq 9478e5 --file gmsk.cfile --loop |
||
112 | }}} |
||
113 | To make measurements of phase error etc, better to [http://umtrx.org/software/openbts/ run OpenBTS] after [wiki:LMS6002DCalibration]. |