'2021/12/22'에 해당되는 글 3건

  1. 2021.12.22 rpitx on rpi4
  2. 2021.12.22 FFT RBW - Resolution Band Width
  3. 2021.12.22 rtl sdr gps gnss-sdr 실패
embeded/raspberry pi2021. 12. 22. 16:53

install.sh 하면 이것저것 받고 config.txt를 수정하냐고 물어본다.

easytest.sh는 ncurse 기반으로 테스트 프로그램을 이것저것 실행할 수 있다.

git clone https://github.com/F5OEO/rpitx
cd rpitx
./install.sh
./easytest.sh

 

install.sh로 설치하면 config.txt에 아래와 같이 추가되는데,

라즈베리 4로 하다 보니 굳이 저걸 넣을 필요있나 싶어서 주석처리 해주고 리부팅 안하는데 문제없이 실행된다.

gpu_freq=250
force_turbo=1

 

easytest 실행하면 가장 처음에 주파수 넣으라는데 기본값은 434MHz

 

아직 신호가 나가진 않고, F Set frequency 에서 다시 설정이 가능하다.

 

0 Tune을 엔터치면 다음화면이 나오면서 송출된다.

 

Tune 을 해보면 아래와 같이 나오는데, GPIO에 핀연결없이 그냥 보드에서 송출하는 거라 신호가 약하다.

대충 직선거리 3m 이내에서는 저정도 세기로 나오는 듯(gqrx에서 신호 강도의 단위를 모름..)

 

Chirp

IQ balance를 켜놔서 그런가 이중 나선 처럼 나온다.

 

한번.. 5MHz HF 쪽을 시도해보는데

direct sampling 해야하니 아래와 같이 설정하고

5MHz 에 Chrip 하니 신호가 잘나온다.

10cm 남짓한 점퍼선으로는 파장 길이를 충족시키지 못해서 인지 수신이 안되고 손으로 잡고 있어주니 송출된다.

(물론 24cm 정도 되는 DMB 안테나라 수신측도 정상은 아니지만..)

아무튼 안테나는 UV가 아닌 HF로 해주니 수신 확인 성공!

(이전에 점퍼 날려서 HF쪽 작동은 하게 해놨던게 효과는 있는지 보려면 또 떼야 하나?!)

 

주파수는 1Ghz 까지 가능하다고 되어있는데 그거 보다 높은 주파수로 하면 라즈베리 자체가 뻗어버리니 주의!

3MHz는 되는데 2MHz는 또 죽는다. 50kHz 되는거 맞나?

[링크 : https://github.com/F5OEO/rpitx]

'embeded > raspberry pi' 카테고리의 다른 글

rpi 7" dsi  (0) 2022.01.21
rpi DSI 7인치 터치 스크린  (0) 2022.01.20
rpitx  (0) 2021.12.16
wayland on rpi  (0) 2021.11.22
rpi 3b 2초 부팅 fs  (0) 2021.11.20
Posted by 구차니
이론 관련/전기 전자2021. 12. 22. 16:17

FFT에서 얼마나 세밀하게 분석을 하냐의 단위

동일한 파형이라도 RBW가 낮아질수록 원본에 가까운 형태로 볼 수 있는 듯.

 

The resolution bandwidth (RBW) determines the fast-Fourier transform (FFT) bin size, or the smallest frequency that can be resolved.

[링크 : https://zone.ni.com/reference/en-XX/help/372058U-01/nirfsa/resolution_bandwidth/]

 

 

+

2023.07.14

엇.. RBW 계산에 윈도우 타입에 따른 계수가 들어간다고..

kaiser window에서 beta1=16.7일 때 k=2.23 이라는데, k 값이 그러면 amplitude 관련 보정에 대한 그 계수가 아닌가?

Where k is a window-related coeffcient, N is the number of time-domain samples used in the DFT calculation, and Fs is the sampling frequency. For the Kaiser window with beta1 = 16.7, k is about 2.23. The RBW shape factor, defned as the frequency ratio between the spectrum amplitude at 60 dB and 3 dB, is about 4:1. On the RSA5100/6100, the spectrum analysis measurement uses Equation 2 to calculate the required number of samples for the DFT based on the input span and RBW settings.

[링크 : https://download.tek.com/document/37W_17249_6_Fundamentals_of_Real-Time_Spectrum_Analysis1.pdf]

 

 

15p
RBW의 크기에 따라 측정되는 Noise의 크기도 달라짐.
Dynamic Range 확보를 위해서는 상대적으로 작은 RBW가 요구된다.

[링크 : http://ebook.pldworld.com/_eBook/-계측기-/Rohde-Schwarz/board/스펙트럼%20분석기술%20세미나.pdf]

 

+

2023.07.19

팔수록 이상한 용어만 잔뜩 나오냐 ㅠㅠ

RBW = (NENBW * samplerate) / input_length

인데 NENBW는 normalized effective noise bandwidth of the window 라..

RBW - Resolution bandwidth

Resolution bandwidth of the estimate, returned as a scalar.

The resolution bandwidth, RBW, is the smallest positive frequency, or frequency interval, that can be resolved. It is equal to NENBW*SampleRate/L, where L is the input length, and NENBW is the normalized effective noise bandwidth of the window.

The data type of RBW matches the data type of the input.

[링크 : https://kr.mathworks.com/help/dsp/ref/dsp.spectrumestimator.getrbw.html]

 

equivalent noise bandwidth 라는 함수인데..

이건 또 어떻게 구현되는거냐.. normalized가 빠졌는데 동일한건가?

bw = enbw(hamming(1000))
bw = 1.3638

bw = enbw(flattopwin(10000),44.1e3)
bw = 16.6285

[링크 : https://kr.mathworks.com/help/signal/ref/enbw.html]

'이론 관련 > 전기 전자' 카테고리의 다른 글

ac dc coupling  (0) 2022.02.23
led 와 solar panel  (0) 2022.02.22
MPPT 컨트롤러  (0) 2021.10.10
인산철 배터리  (0) 2021.10.09
220V 전원  (0) 2021.09.21
Posted by 구차니
프로그램 사용/rtl-sdr2021. 12. 22. 11:19

 

제대로 잡히면 아래와 같이 좌표, 고도, 속도가 나오는 듯?

First position fix at 2020-Jun-07 21:28:30.100000 UTC is Lat = 33.4932 [deg], Long = -111.901 [deg], Height= 335.778 [m]
Position at 2020-Jun-07 21:28:30.500000 UTC using 4 observations is Lat = 33.492972657 [deg], Long = -111.901343224 [deg], Height = 323.726 [m]
Velocity: East: 0.019 [m/s], North: -0.009 [m/s], Up = -0.015 [m/s]

[링크 : https://github.com/gnss-sdr/gnss-sdr/issues/295]

 

리눅스에서 gui로 볼 순 있는데 qt랑 온갖것을 설치하고 빌드해야 하니 조금 귀찮네

[링크 : https://github.com/acebrianjuan/gnss-sdr-monitor]

 

+

GPS 안테나를 찾아보는데 거의 3~5V 전원 공급 이야기가 있어서 보니

RTL-SDR.COM v3의 경우 RF로 4.5V의 전원을 공급해서 외부 LNA를 작동시킬수 있는

USB bias tee 라는 것이 존재한다.

[링크 : https://www.rtl-sdr.com/rtl-sdr-blog-v-3-dongles-user-guide/]

[링크 : https://www.rtl-sdr.com/signalseverywhere-sdr-bias-tees-and-enabling-the-v3-bias-tee/]

[링크 : https://www.onesdr.com/2020/02/07/software-defined-radios-and-bias-tees/]

 

[링크 : https://www.rtl-sdr.com/receiving-gps-with-an-rtl-sdr-dongle-and-gps-antenna/]

[링크 : https://www.rtl-sdr.com/rtl-sdr-blog-v-3-dongles-user-guide/]

[링크 : https://electro.pizza/2019/01/biast-adsb/]

 

 

 

혹시나 해서 내가 가진 것에 -T 옵션을 주고 해보았으나 UV쪽 포트에 전압이 0V로 뜬다.

RTL-SDR.com v3 를 사야하나...

$ rtl_tcp --help
rtl_tcp: invalid option -- '-'
rtl_tcp, an I/Q spectrum server for RTL2832 based DVB-T receivers

Usage: [-a listen address]
[-p listen port (default: 1234)]
[-f frequency to tune to [Hz]]
[-g gain (default: 0 for auto)]
[-s samplerate in Hz (default: 2048000 Hz)]
[-b number of buffers (default: 15, set by library)]
[-n max number of linked list buffers to keep (default: 500)]
[-d device index (default: 0)]
[-P ppm_error (default: 0)]
[-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]

'프로그램 사용 > rtl-sdr' 카테고리의 다른 글

gnu radio  (0) 2021.12.23
NEO-6M GPS 안테나  (0) 2021.12.23
sdr gnss  (0) 2021.12.21
sdr noaa 준비  (0) 2021.12.21
RTL-SDR NOAA 위성 수신하기 2차 시도도 반쪽 성공  (2) 2021.12.19
Posted by 구차니