Académique Documents
Professionnel Documents
Culture Documents
100192
TMS320VC5509A DSP 8192
TLV320AIC23
8 kHz LCD 4
32 Hz~4 kHz 0.98 Hz
TMS320VC5509A TLV320AIC23
TN709
Abstract Tuner is used for identifying fundamental frequency and pitch of orchestral instrument. A TMS320VC5509A DSP chip
is used in the tuner for digital signal processing doing 8192 point FFT algorithm to achieve the sound signal spectrum analysis. A
speech codec TLV320AIC23 is used to convert the analog signal from the microphone into digital format and the sampling rate is
8 kHz. The device has a LCD screen to display frequency and pitch information. The product PCB is 4 layer layout. The device can
catch the range of orchestral frequencies from 32 Hz to 4 kHz and the resolution of spectrum is 0.98 Hz.
Key words fast Fourier transformation TMS320VC5509A TLV320AIC23 sound fundamental frequency examination tuner
DSP
LCD 1
DSP
CPLD
LCD
DSP
Fast Fourier Transformation FFT
2
2.1
Mic
30 Hz
30
2015 34 16
~20 kHz 48 V
CODEC
PCB 4
PCB PCB
17 MICBIAS 3/4
Mic
Line
C3 C4
Line
AVDD
[ 1]
2
ADC
DVDD
1 BV
DGND
DD
2
DVDD
D 127 130 3 CLKOUT
X2
D 124
4 BCLK
X1
D 125
5 DIN
LRCIN
SCLK
D 128
6 DOUT
SDIN
D 129
7 LRCOUT
MODE
AVDD
8 HPV
CS
DD
9
LLINEIN
10 LHPOUT
RLINEIN
AGND 11 RHPOUT
MICIN
12 HPGND
LOUT
MICBIAS
13 ROUT
VMID
AVDD 14 AV
AGND
DD
TLV320AIC23B
2
28
27
26
25
24
23
22
21
20
19
18
17
16
15
Y1
DGND
DVDD
C1 22 pF
12 MHz
C2 22 pF
D 90
D 89
DGND
DGND
C3+
10 F
+ C4
10 F
C5
0.1 F
+
C6
10 F
5
4
3
2
1
linjeck
5
4
3
2
1
ADC
2 TLV320AIC23B D_90 24
DSP TMS320VC5509APGE 90
3
3.1 FFT
8 kHz 8 192 FFT
A0 C8
C1 B7 32.70 Hz
~3 951 Hz
3 kHz
32.70 Hz ~4 kHz
16 C19 C20
VDD
8 kHz
33.66 Hz
2.2
TMS320VC5509APGE 16
DSP DSP
= =8 0000.99=8 081
loader EEPROM
8 192
8 0008 192=0.98 Hz
12 12
12
DSP
1.059 46 [ 3]
DSP boot-
DSP [2]
DSP 1.8 V
3.3 V
8 192 C1
B7
3.2 DSP
3.3 V
DSP 5 ADC
FFT LCD
2.3
EPM240T100C5 CPLD
EMIF MCBSP
CODEC
FFT
CPLD CPLD
LCD
2015 34 16
DSP
www.pcachina.com
31
3.2.1
if i<j
FFT
#pragma DATA_SECTION
k=LH
while j>=k { j-=k k>>=1 }
j=j+k
sin_t
}
.databuf1
}
float sin_t[8192]
CMD MEMORY
int i j k b p L
float TR TI temp
b=1<< L-1
.databuf1>SARAM3 fill=0
sin_t
p= 1 << ORDER-L *j
0016000h 5000h [ 4]
3.2.2 FFT
D_R[k]=D_R[k]+D_R[k+b]*cos_t[p]+D_I[k+b]*sin_t[p ]
FFT -2 FFT
D_I[k]=D_I[k]-D_R[k+b]*sin_t[p]+D_I[k+b]*cos_t[p ]
FFT
D_R[k+b]=TR-D_R[k+b]*cos_t[p]-D_I[k+b]*sin_t[p ]
D_I[k+b]=TI+temp*sin_t[p]-D_I[k+b]*cos_t[p]
[ 5]
FFT
//point FFT
/* */
w[i]=sqrt D_R[i]*D_R[i]+D_I[i]*D_I[i]
}
ORDER FFT
8 192
3.2.3
DSP
8 192 16 bit 3
1
A
{
int i j k LH pt2
float T
32
2015 34 16
F=Pfs N
F P fs
N
C5
7 C2
32 Hz~4 kHz C1
C5 CCS
B7
4 096 5
6.6104
5.1104
3.6104
2.2104
7 282
0
-7 282
[ 1] . TLV320AIC23
0
1 024
2 048
3 072
4 096
5 C5
DSP [ J] . 2002
1 265-268.
[ 2] .TMS320C55xDSP 3 [ M] .
2011.
[ 6]
536 3 1
[ 3] . [ M] . 2003 .
[ 4] . DSP -
TMS320C55x[ M] . 2011 .
[ 5] . [ M] .
2011.
[ 6] . [ M] . 2003 .
2015 - 05 - 25
3.2.4
1.059 46 5
C C5 1
1993 -
1967-
Bb5
B5
C5
Db5
D5
/Hz
466.16
493.88
523.25
554.37
587.33
C5
508 Hz~539 Hz
1/64
YES -
+
4
C5
6
OK CCS 5
C5 523.25 Hz
C2 7
2015 34 16
!!!!!!!!!!!!!!!!!!!!!"
!!!!!!!!!!!!!!!!!!!"
!!!!!!!!!!!!!!!!!!!"
82-417
20 / ( 480 )
www.pcachina.com
!!!!!!!!!!!!!!!!!!!!!"
www.pcachina.com
33