Files
bassofono/note.txt
2022-01-12 01:09:32 +01:00

279 lines
8.4 KiB
Plaintext

######## HW ###########
# guadagni
3,3 / (2 * 2 * 64)
evince Documenti/tech/docs/dsheet/boards/dm00493601-stm32g4-nucleo32-board-mb1430-stmicroelectronics.pdf
da modificare su MB1430: SB9 and SB10 ON
# direct sampling
http://armradio.weaksignals.com/
https://hackaday.io/project/171053-arm-radio-for-system-workbench
### 2200m
http://www.strobbe.eu/on7yd/136ant/
http://www.strobbe.eu/on7yd/136ant/#Loops
### 630m
http://www.472khz.org/
http://njdtechnologies.net/
https://www.g0mrf.com/630m.htm P-P, con rosmetro
http://njdtechnologies.net/wb4jwm-630-meter-non-linear-amplifier/ S-E
# ferrite antenna
http://www.saunalahti.fi/hohtola/ham/active-ferrite-rod-antenna/active-ferrite-rod-antenna.html
### filtri:
https://www.changpuak.ch/electronics/ceramic_bandpass_filter.php
materiale #2, #3 o #8 (µ 35), #52 (µ75), #18 o #19 (55µ)
https://cdn-reichelt.de/documents/datenblatt/B400/Amidon%23AMI.pdf # Q toroidi amidon
https://52ebad10ee97eea25d5e-d7d40819259e7d3022d9ad53e3694148.ssl.cf3.rackcdn.com/UK_MIS_Q%20Curve%20for%20iron%20powder%20cores_TN.pdf
http://www.w1tag.com/518%20Filter.htm 518 kHz Elliptical 50 Ohm Low-Pass Filter
qrp-labs 630m lpf: 2.2n//2.2n + 10n + 10n + 2.2n//2.2n - 64@T50-2 (20uH) + 70@T50-2 (24uH)
filtro IF http://sim.okawa-denshi.jp/en/OPttool.php
100khz, gain -2
150lhz
### trafo:
N49
### oscillatore
https://www.rfzero.net/tutorials/si5351a/
### oscillatore locale
https://www.ti.com/lit/szza043 - Use of the CMOS Unbuffered Inverter in Oscillator Circuits
# encoding
http://www.472khz.org/pages/technical-topics/weak-signal-modes.php
# preamp
https://www.qsl.net/ik2pii/lf/prea136.htm
https://i.stack.imgur.com/eS0fJ.png
https://electronics.stackexchange.com/questions/299396/i-am-looking-for-recommendations-how-to-lower-the-noise-in-this-preamplifier-cir
http://www.u-electronique.com/annuaire/montages/cache/1777/preamplis-rf.html
https://www.sv1afn.com/en/product-category-5/2x-j310-push-pull-low-noise-hf-pre-amplifier-500-khz-54-mhz-diy-kit-2-1.html
https://radioaficionsdr.es.tl/Amplificadores-de-Bajo-Ruido.htm
https://www.okdxf.eu/files/preamp_r60.pdf
https://www.qsl.net/ko6bb/lf-preamp-1.html j310 2n3904 s-e
3.3 poche per j310
meglio j113
j201 ha -1,5
https://rezzonics.blogspot.com/2016/09/dirty-little-secret-3v3-clone-ltspice.html jfet per basse tensioni
# audio amp
http://techlib.com/electronics/audioamps.html
# oscillatore test
https://leap.tardate.com/electronics101/oscillators/colpitts/ 2n3904 5v
# PA
http://www.k3pgp.org/Notebook/Wd5cvg/Classetx/classetx.htm
######## SW ###########
https://www.eevblog.com/forum/projects/digital-clock-source-for-simple-diy-sdr-radio-with-tayloe-mixer/25/
https://mightydevices.com/index.php/2020/02/stm32l4-discovery-radio-receiver/
https://www.st.com/resource/en/application_note/dm00607955-guideline-for-using-analog-features-of-stm32g4-series-versus-stm32f3-series-devices-stmicroelectronics.pdf
https://www.st.com/resource/en/application_note/dm00625282-stm32g4-adc-use-tips-and-recommendations-stmicroelectronics.pdf
https://www.st.com/resource/en/datasheet/stm32g431kb.pdf
# DAC DMA
https://elastic-notes.blogspot.com/p/blog-page_1.html
https://controllerstech.com/dac-in-stm32/
https://www.programmersought.com/article/32934896275/
https://electronics.stackexchange.com/questions/510050/stm32g474-signal-generation-with-dma-dac-using-stm32cubemx-hal
make clean && make -j4 && udisksctl mount -b /dev/sda && cp build/codice.bin /media/$USER/NOD_G431KB
# decimazione
http://www.ws.binghamton.edu/fowler/fowler%20personal%20page/EE521_files/IV-06%20Multistage%20Schemes_2007.pdf
https://dspguru.com/dsp/faqs/multirate/decimation/
https://github.com/cHemingway/CM4_CIC_Filter
http://www.radiopassioni.it/pdf/Renon2013_I2PHD.pdf
https://www.dsprelated.com/showarticle/903.php
# fir
https://www.theunterminatedstring.com/cmsis-arm-fir-comparison/
https://github.com/ARM-software/CMSIS/blob/master/CMSIS/DSP_Lib/Source/FilteringFunctions/arm_fir_decimate_q31.c
# iir
https://hackernoon.com/fast-iir-filtering-on-arm-cortex-m-with-cmsis-dsp-and-gnu-octave-qk1n3y66
# fir coeffs
http://www.labbookpages.co.uk/audio/firWindowing.html
https://dsp.stackexchange.com/questions/31066/how-many-taps-does-an-fir-filter-need/31077
// 2st
--- octave ---
pkg load signal
coeff = fir1(127, 0.02);
printf ("%d, %d, %d, %d,\n",round(coeff * 2^32))
freqz(coeff); %Plot filter response
--------------
https://www.dsprelated.com/showarticle/1113.php
--- half band fir ---
pkg load signal
ntaps= 15;
N= ntaps-1;
n= -N/2:N/2;
sinc= sin(n*pi/2)./(n*pi+eps); % truncated impulse response; eps= 2E-16
sinc(N/2 +1)= 1/2; % value for n --> 0
win= kaiser(ntaps,6); % window function
b= sinc.*win';
printf ("%d, %d, %d, %d,\n",round(b * 2^30))
freqz(b)
--------------
https://dsp.stackexchange.com/questions/36190/designing-a-half-band-fir-filter-with-scilab/36847#36847
----
# ---
# calcolo coeff onboard
https://github.com/kvdijken/fir_filters
http://www.iowahills.com/A7ExampleCodePage.html
https://www.dsprelated.com/freebooks/sasp/FIR_Digital_Filter_Design.html
# percorso guadagni
adc in 14bit * 16bit nco => 30bit
30bit/16 => 26bit
fir => 32bit
1450965318 236khz
1561345318 254khz
arm-none-eabi-objdump -d -marm build/codice.elf |less
https://www.changpuak.ch/electronics/Deliyannis_Bandpass.php 100khz 560pf
fig 12 in https://www.changpuak.ch/electronics/downloads/FilterDesignIn3oSeconds.pdf
############
LUT:
http://amarkham.com/?p=49
https://www.daycounter.com/Calculators/Sine-Generator-Calculator.phtml
sin (x+h) ≈ sin x + h*cos x
CORDIC:
https://www.st.com/resource/en/application_note/dm00614795-getting-started-with-the-cordic-accelerator-using-stm32cubeg4-mcu-package-stmicroelectronics.pdf
https://community.st.com/s/question/0D50X0000BJ2FP5/cordic-configuration-stm32g4
https://brushless.zone/stm32g4-cordic-vs-sinf-for-motor-control/
https://www.youtube.com/watch?v=SeDyNtKRDMU CORDIC in Practice, Part 2: Cosine and Sine
https://st-onlinetraining.s3.amazonaws.com/STM32G4-Peripheral-Cordic_Coprocessor_%28CORDIC%29/index.html
https://community.st.com/s/question/0D50X0000BJ2FP5/cordic-configuration-stm32g4
DEMOD:
https://github.com/df8oe/UHSDR/wiki/How-does-your-UHSDR-software-DSP-work
https://forum.pjrc.com/attachment.php?attachmentid=9746&d=1487439697 Weaver SSB Modulation/Demodulation - A Tutorial
http://science.lpnu.ua/sites/default/files/journal-paper/2018/sep/14625/5.pdf DIGITAL METHOD OF SSB MODULATION
http://www.microtelecom.it/ssbdex/ssbdex-e.htm
FIR:
arm_fir_decimate_init_q15
https://stackoverflow.com/questions/38264429/cmsis-fir-bandpass-filter
DAC
https://community.st.com/s/question/0D53W000006rVnHSAU/stm32g431kb-dac-dma-not-working
FMAC
https://st-onlinetraining.s3.amazonaws.com/STM32G4-Peripheral-Filter_Math_Accelerator_%28FMAC%29/index.html
### DEV
make clean && make && udisksctl mount -b /dev/sda && cp build/bassofono.bin /media/fra/NOD_G431KB/
##
precisione
13 * 16 -> 29
29 / 33
# si5351
http://www.simonsdialogs.com/2018/11/si5351a-any-frequency-cmos-clock-generator-and-vco-specifications-myths-and-truth/
# ottimizzazione
vuole almeno O2
# memoria byte
1 id
4 freq
2 rit
16 nome
2 fc
2 fbw
1 fbeta
# filtro pre-adc
TSV7722
https://electronics.stackexchange.com/questions/20528/calculating-symbolic-input-impedance-of-multiple-feedback-low-pass-filters
http://sim.okawa-denshi.jp/en/OPttool.php
fc = 116660[Hz]
R1 = 3.3kΩ
R2 = 12kΩ
R3 = 3.3kΩ
C1 = 470pF
C2 = 100pF
fc = 138909[Hz]
R1 = 3.9kΩ
R2 = 15kΩ
R3 = 3.9kΩ
C1 = 330pF
C2 = 68pF
fc = 168834[Hz]
R1 = 3.3kΩ
R2 = 12kΩ
R3 = 3.3kΩ
C1 = 330pF
C2 = 68pF
# LC
qrp-labs 2200m
2.2n+10n 4.7n+22n 4.7n+22n 2.2n+10n
105T (54uH) 105T (54uH) T50-2 (red)
# opamp
https://stompville.co.uk/?p=470
http://www.ko4bb.com/getsimple/index.php?id=isolation-amplifiers
https://www.analog.com/en/analog-dialogue/articles/avoiding-op-amp-instability-problems.html # sul mid-rail
#
git pull
git add <filename>
git add *
git commit -m "Commit message"
git push origin master
git push origin --force
# undersampling
fc = 700
nyq 350 700 1050
0 - 350
350 - 700
700 - 1050
centri: 175, 525, 875
oversampling = 2
ok 0 - 175
med 175 - 350
med 350 - 525
ok 525 -
passabasso 175 350 525
525 700
M24C32-RMN6P