Вы находитесь на странице: 1из 8

DEPARTEMENT GENIE MECATRONIQUE

COMPTE RENDU TP III


ECHANTILLONNAGE

REALISE PAR : SUPERVISE PAR :


• NGOYO MOUTSINGA • Mme ASMA
Junior Laurian Elie

ANNEE ACADEMIQUE : 2018-2019


OBJECTIF : Le but de ce TP est de maitriser les problèmes
d’échantillonnage pour la reconstitution des signaux.
I. REPRESENTATION DU SIGNAL
Représentons le signal suivant :𝑥(𝑡) = 𝑠𝑖𝑛𝑐(𝑓0 𝑡)
Avec une fréquence fo=5 Hz et To=0.001s
Grace au code Matlab représenté dans la partie annexe on trouve
la courbe suivante :

✓ Cette courbe représente parfaitement le fonction sinus


cardinal

II. ECHANTILLONNAGE IDEAL


Dans cette partie on désire discrétiser le signal en variant la
fréquence d’échantillonnage (fe1=5 Hz, fe2=10 Hz, fe3=30Hz) et
par conséquent la période d’échantillonnage dans l’intervalle [-2
,2].
Grace au code Matlab représenté dans la partie annexe on trouve
la courbe suivante :
✓ La courbe ressemble à la fonction sinus cardinal mais les
autres courbes diffèrent de peu à cause de la fréquence
d’échantillonnage qui varie. En augmentant une période
d’échantillonnage on perd la forme du signal et en diminuant
on garde la forme du signal donc faut choisir une période
d’échantillonnage très proche et très petite pour garder
l’information du signal.

III. ECHANTILLONNAGE REEL


Pour cet échantillonnage réel on aura recours à une fonction qui
sera écrit dans un autre script Matlab que le script principal et qui
sera appelé <moyenneur> (code situé dans l’annexe). Cette
fonction réalise un échantillonnage moyenneur du signal x(t) avec
une impulsion <deltaT> tout en discrétisant la le signal x(t) et on
trouve la courbe suivante :
✓ On remarque qu’en augmentant τ on suit plus l’allure du
signal d’originale, on doit considérer la constante τ pour le
choix de la période d’échantillonnage. En effet il ne faut pas
toujours chercher à choisir une bonne période
d’échantillonnage mais aussi chercher à trouver une
constante τ qui facilitera la reconstitution du signal (xmoy2
mieux que xmoy1).
IV. RECONSTITUTION DU SIGNAL
A. RECONSTUTITION PAR UN BOZ
Pour reconstituer un signal on aura besoin d’un bloqueur d’ordre
zéro et faire varier la fréquence d’échantillonnage (pour voir son
impacte).
Pour cet échantillonnage réel on aura recours à une fonction qui
sera écrit dans un autre script Matlab que le script principal et qui
sera appelé <BOZ> (code situé dans l’annexe). Cette fonction
réalise un échantillonnage en utilisant un BOZ x(t) et on trouve la
figure suivante
✓ On remarque que lorsqu’on commence à échantillonner un
signal avec un bonne période d’échantillonnage on numérise
bien le signal alors que lorsqu’on commence à
échantillonner avec une mauvaise période
d’échantillonnage on ne numérise pas bien le signal donc
Xboz2 est mieux que Xboz1.

B. RECONSTITUTION PAR INTERPOLATEUR

Pour reconstituer un signal on aura besoin d’un interpolateur et


faire varier la fréquence d’échantillonnage.
Pour cet échantillonnage réel on aura recours à une fonction qui
sera écrit dans un autre script Matlab différent du script principal
et qui sera appelé <interp_lin> (code situé dans l’annexe). Cette
fonction réalise un échantillonnage en utilisant un interpolateur
pour le signal x(t) et on trouve les figures suivantes :
✓ On remarque que le meilleur interpolateur est interp_lin2
donc Xmoy2, avec l’interpolateur on suit généralement bien
l’allure du signal et on observe un manque de blocage du au
BOZ.

CONCLUSION

Il était question dans ce TP d’étudier l’échantillonnage pour un


signal donné et de faire ressortir l’impact de la période
d’échantillonnage sur la discrétisation du signal et nous en
sommes venu à la conclusion que la période d’échantillonnage
doit être la plus minime pour bien discrétiser un signal de sorte à
ne perdre aucune information,neamoins lorsqu’on insère une
constante τ dans le période d’échantillonnage (te1=te1+τ) on doit
prendre τ le plus grand possible pour faciliter l’échantillonnage du
signal donné. De plus lors de l’échantillonnage il faut toujours
commencer par bien échantillonner donc choisir un bon te de sorte
à bien discrétiser un signal car si le processus d’échantillonnage
de départ est faussé alors le signal ne sera pas bien échantillonné
et on perdra de l’information.

ANNEXE

%tp3 echantillonnage %question2


% question 1 representation du xmoy1=moyenneur(x,t,te1,(te1/5))
signal xmoy2=moyenneur(x,t,te2,(te2/5))
clear all; figure(3)
close all; plot(t,x,'g')
fo=5; hold on;
t0=0.001; plot(t1,xmoy1,'r')
fe1=5; hold on;
fe2=10; plot(t2,xmoy2,'b')
fe3=30;
te1=1/fe1; %question 3
te2=1/fe2; Xboz1=BOZ(xmoy1,t,te1)
te3=1/fe3; Xboz2=BOZ(xmoy2,t,te2)
t1=[-2:te1:2]; figure (4)
t2=[-2:te2:2]; plot(t,Xboz1,'b')
t3=[-2:te3:2]; hold on;
t=[-2:t0:2]; plot(t,Xboz2,'g')
x=sinc(fo*t*pi) hold on;
x1=sinc(fo*t1*pi) plot(t,x,'r')
x2=sinc(fo*t2*pi) %question 4
x3=sinc(fo*t3*pi) Xinter1=interp_lin(xmoy1,t,te1)
figure (1) Xinter2=interp_lin(xmoy2,t,te2)
plot(t,x,'g') figure (5)
plot(t,Xinter1,'b')
figure (2) hold on;
plot(t,x,'g') plot(t,Xboz1,'g')
hold on; figure(6)
plot(t1,x1,'y') plot(t,Xinter2,'r')
hold on; hold on;
plot(t2,x2,'r') plot(t,Xboz2,'y')
hold on; hold on;
plot(t3,x3,'b') plot(t,x,'k')
function Xinterp=interp_lin(xechant_reel,t,te);
tech=-2:te:2;
Xinterpole_lin=zeros(size(t));
for p=1:length(tech)-1
nb_point=find((t>=tech(p))&(t<tech(p+1)));
for valeur=1:length(nb_point)
Xinterpole_lin(nb_point(valeur))=(((xechant_reel(p+1)-
xechant_reel(p))./length(nb_point))*(valeur-1))+xechant_reel(p);
end
end
Xinterp=Xinterpole_lin;

function
moy=moyenneur(x,t,te,deltaT);
tech=-2:te:2;
for n=1:length(tech)
nb_points=find((t>=tech(n))&(t<te
ch(n)+deltaT));
Xech_reel(n)=mean(x(nb_points));
end
moy=Xech_reel;

function
Xboz=BOZ(xechant_reel,t,te);
Xbloqueur=zeros(size(t));
tech=-2:te:2;
for m=1:length(tech)-1

nb_point=find((t>=tech(m))&(t<tec
h(m+1)));

Xbloqueur(nb_point)=xechant_reel(
m);
end
Xboz=Xbloqueur;

Вам также может понравиться

  • TP1 ComNum 2016-2017
    TP1 ComNum 2016-2017
    Документ3 страницы
    TP1 ComNum 2016-2017
    abdedeyem
    Оценок пока нет
  • TD Stat 2
    TD Stat 2
    Документ2 страницы
    TD Stat 2
    Firas KACHROUDI
    Оценок пока нет
  • Corrige2 PDF
    Corrige2 PDF
    Документ4 страницы
    Corrige2 PDF
    anas
    100% (1)
  • Enonce 19
    Enonce 19
    Документ2 страницы
    Enonce 19
    yves1ndri
    100% (3)
  • TP Echantillonnage
    TP Echantillonnage
    Документ4 страницы
    TP Echantillonnage
    Kamel Sahraoui
    Оценок пока нет
  • Exercices de logarithmes et d'exponentielles
    Exercices de logarithmes et d'exponentielles
    От Everand
    Exercices de logarithmes et d'exponentielles
    Оценок пока нет
  • Echantillonnage
    Echantillonnage
    Документ2 страницы
    Echantillonnage
    Sara Dadess
    Оценок пока нет
  • Tpcna TP1 2022
    Tpcna TP1 2022
    Документ8 страниц
    Tpcna TP1 2022
    Hamza Ĩķ
    Оценок пока нет
  • Matlb TP
    Matlb TP
    Документ50 страниц
    Matlb TP
    Madani Lkbir
    Оценок пока нет
  • Statistique Descriptive
    Statistique Descriptive
    Документ23 страницы
    Statistique Descriptive
    latinovalent
    Оценок пока нет
  • TP Shannon
    TP Shannon
    Документ6 страниц
    TP Shannon
    Anass TaouFik
    0% (1)
  • TP1 Ca PDF
    TP1 Ca PDF
    Документ3 страницы
    TP1 Ca PDF
    Fathi Kallel
    100% (1)
  • Telecom Controle 2018
    Telecom Controle 2018
    Документ1 страница
    Telecom Controle 2018
    Safae
    Оценок пока нет
  • Correction TD2 Exercices Structures Sous MATLAB
    Correction TD2 Exercices Structures Sous MATLAB
    Документ5 страниц
    Correction TD2 Exercices Structures Sous MATLAB
    rere
    Оценок пока нет
  • TP
    TP
    Документ9 страниц
    TP
    yousfi.najah6085
    100% (1)
  • Tp2-Systeme Discret Lit Et Transformee en Z
    Tp2-Systeme Discret Lit Et Transformee en Z
    Документ14 страниц
    Tp2-Systeme Discret Lit Et Transformee en Z
    Rajaa Madani
    Оценок пока нет
  • TP 2
    TP 2
    Документ16 страниц
    TP 2
    Firas Kachroudi
    Оценок пока нет
  • TP Codage Et Compression Boukenadil PDF
    TP Codage Et Compression Boukenadil PDF
    Документ10 страниц
    TP Codage Et Compression Boukenadil PDF
    Ayoushi آيوشي
    Оценок пока нет
  • TP2 Rii
    TP2 Rii
    Документ4 страницы
    TP2 Rii
    Yousra Chetti
    Оценок пока нет
  • Kalman
    Kalman
    Документ23 страницы
    Kalman
    moime
    100% (1)
  • Codec PDF
    Codec PDF
    Документ66 страниц
    Codec PDF
    Achour Anis
    Оценок пока нет
  • TP Signal
    TP Signal
    Документ13 страниц
    TP Signal
    Rabah Hadjar
    Оценок пока нет
  • TD 4 CN - L3 Télécom
    TD 4 CN - L3 Télécom
    Документ12 страниц
    TD 4 CN - L3 Télécom
    Houda Senoussi
    100% (1)
  • Chapitre 2 Processus Stochastiques
    Chapitre 2 Processus Stochastiques
    Документ62 страницы
    Chapitre 2 Processus Stochastiques
    Mouhamed Moustapha
    Оценок пока нет
  • TP3
    TP3
    Документ5 страниц
    TP3
    aval
    Оценок пока нет
  • Initial Signal Matlab PDF
    Initial Signal Matlab PDF
    Документ36 страниц
    Initial Signal Matlab PDF
    //sites.google.com/site/telecombba/home
    100% (3)
  • Compte Rendu Matlab
    Compte Rendu Matlab
    Документ12 страниц
    Compte Rendu Matlab
    Sa Na
    Оценок пока нет
  • A) Modulation PAM: Les Signaux Du Scope 1
    A) Modulation PAM: Les Signaux Du Scope 1
    Документ16 страниц
    A) Modulation PAM: Les Signaux Du Scope 1
    Maria MEKLI
    Оценок пока нет
  • Traitement Signal
    Traitement Signal
    Документ2 страницы
    Traitement Signal
    Faouzi Tlemcen
    Оценок пока нет
  • coursINTRODUCTION AU FILTRAGE ADAPTATIF ET A L'EGALISATION - Fa - T
    coursINTRODUCTION AU FILTRAGE ADAPTATIF ET A L'EGALISATION - Fa - T
    Документ101 страница
    coursINTRODUCTION AU FILTRAGE ADAPTATIF ET A L'EGALISATION - Fa - T
    sam
    Оценок пока нет
  • Cours de
    Cours de
    Документ45 страниц
    Cours de
    Mouvement pour le Rassemblement Patriotique
    Оценок пока нет
  • Compte Rendu TP 1 Et 2
    Compte Rendu TP 1 Et 2
    Документ6 страниц
    Compte Rendu TP 1 Et 2
    MOHAMED AZOUZ
    100% (1)
  • Exos TV
    Exos TV
    Документ10 страниц
    Exos TV
    Alyna Ela
    Оценок пока нет
  • TP7modulation Démodulation
    TP7modulation Démodulation
    Документ8 страниц
    TP7modulation Démodulation
    Hicham Ait Sellam
    Оценок пока нет
  • Série 6 Supplémentaire - EXERCICES - SUR - SYNTHESE DES FILTRES RII
    Série 6 Supplémentaire - EXERCICES - SUR - SYNTHESE DES FILTRES RII
    Документ5 страниц
    Série 6 Supplémentaire - EXERCICES - SUR - SYNTHESE DES FILTRES RII
    Me Re
    100% (1)
  • TP 3 TAS M1 (1) Converti
    TP 3 TAS M1 (1) Converti
    Документ9 страниц
    TP 3 TAS M1 (1) Converti
    Yanis LV Steward
    Оценок пока нет
  • Communication Analogique
    Communication Analogique
    Документ9 страниц
    Communication Analogique
    Ossama El Khattabi
    Оценок пока нет
  • Correction TD 4
    Correction TD 4
    Документ12 страниц
    Correction TD 4
    Ameny Mellah
    Оценок пока нет
  • Devoir1 Labview
    Devoir1 Labview
    Документ1 страница
    Devoir1 Labview
    Med Amine Meskini
    Оценок пока нет
  • TP Codage
    TP Codage
    Документ23 страницы
    TP Codage
    Amina Qaddouri
    100% (1)
  • Correction Partiel 2008 2009
    Correction Partiel 2008 2009
    Документ4 страницы
    Correction Partiel 2008 2009
    micipsa
    Оценок пока нет
  • TP 3
    TP 3
    Документ1 страница
    TP 3
    karimbeb
    Оценок пока нет
  • Introduction A Matlab Et Simulink
    Introduction A Matlab Et Simulink
    Документ71 страница
    Introduction A Matlab Et Simulink
    ouasti moro
    Оценок пока нет
  • Simulation Stochastique PDF
    Simulation Stochastique PDF
    Документ6 страниц
    Simulation Stochastique PDF
    Hiba Hmito
    Оценок пока нет
  • Intro Codage Source Et Codage de Canal
    Intro Codage Source Et Codage de Canal
    Документ145 страниц
    Intro Codage Source Et Codage de Canal
    toto12345678910
    67% (3)
  • TP2 Matlab M2Pro
    TP2 Matlab M2Pro
    Документ4 страницы
    TP2 Matlab M2Pro
    Mohamed Touzene
    Оценок пока нет
  • Compte Rendu Saps
    Compte Rendu Saps
    Документ15 страниц
    Compte Rendu Saps
    Adel Adel
    Оценок пока нет
  • TD6 - Com Num2005 PDF
    TD6 - Com Num2005 PDF
    Документ3 страницы
    TD6 - Com Num2005 PDF
    Naoumi Akila
    Оценок пока нет
  • Chapitre 3-2019-2020 PDF
    Chapitre 3-2019-2020 PDF
    Документ12 страниц
    Chapitre 3-2019-2020 PDF
    bella
    Оценок пока нет
  • Digital Signal Processor Cours Presentation
    Digital Signal Processor Cours Presentation
    Документ72 страницы
    Digital Signal Processor Cours Presentation
    Affak Affak
    Оценок пока нет
  • Traitement de Parole
    Traitement de Parole
    Документ6 страниц
    Traitement de Parole
    hassna ait ali
    Оценок пока нет
  • 6 - Corrigé Emd2 2008-2009 Traitement Du Signal
    6 - Corrigé Emd2 2008-2009 Traitement Du Signal
    Документ3 страницы
    6 - Corrigé Emd2 2008-2009 Traitement Du Signal
    Bouhafs Abdelkader
    Оценок пока нет
  • Compte Rendu TP2 PDF
    Compte Rendu TP2 PDF
    Документ14 страниц
    Compte Rendu TP2 PDF
    Abderrazak Abd
    0% (1)
  • Cours Java
    Cours Java
    Документ17 страниц
    Cours Java
    gueye
    Оценок пока нет
  • TFD PDF
    TFD PDF
    Документ16 страниц
    TFD PDF
    ELmokhtar Hamrouni
    Оценок пока нет
  • 02-Traitement de Base PDF
    02-Traitement de Base PDF
    Документ39 страниц
    02-Traitement de Base PDF
    sa ra
    Оценок пока нет
  • Solution TD3 Convolution Correlation 2018
    Solution TD3 Convolution Correlation 2018
    Документ12 страниц
    Solution TD3 Convolution Correlation 2018
    oussama jouini
    Оценок пока нет
  • TP CN 2 1 2021
    TP CN 2 1 2021
    Документ5 страниц
    TP CN 2 1 2021
    Houda Senoussi
    100% (1)
  • Codage Canal V2 PDF
    Codage Canal V2 PDF
    Документ68 страниц
    Codage Canal V2 PDF
    Oussama Dariàoui
    Оценок пока нет
  • Cours TF+matlab PDF
    Cours TF+matlab PDF
    Документ27 страниц
    Cours TF+matlab PDF
    TDMA2009
    Оценок пока нет
  • Ia TP
    Ia TP
    Документ27 страниц
    Ia TP
    Hinda dekkan
    Оценок пока нет
  • TP Echentionnage
    TP Echentionnage
    Документ7 страниц
    TP Echentionnage
    rawdhajarray2000
    Оценок пока нет
  • Mspp-ucad-Amu FZ Version 2 Partie 2
    Mspp-ucad-Amu FZ Version 2 Partie 2
    Документ7 страниц
    Mspp-ucad-Amu FZ Version 2 Partie 2
    Ernest Awikodo
    Оценок пока нет
  • TD Complexite
    TD Complexite
    Документ2 страницы
    TD Complexite
    Leboncoin Compte Deux
    Оценок пока нет
  • GELE2442 Chapitre5
    GELE2442 Chapitre5
    Документ63 страницы
    GELE2442 Chapitre5
    Mustapha El Wardi
    Оценок пока нет
  • Tpe Algo para
    Tpe Algo para
    Документ9 страниц
    Tpe Algo para
    Zorbs Roland
    Оценок пока нет
  • ChI New - Introduction - 2
    ChI New - Introduction - 2
    Документ34 страницы
    ChI New - Introduction - 2
    mejj
    Оценок пока нет
  • SMI5 2010 Etudiants
    SMI5 2010 Etudiants
    Документ27 страниц
    SMI5 2010 Etudiants
    Rfx Bzx
    100% (1)
  • Beamer Diag 1
    Beamer Diag 1
    Документ71 страница
    Beamer Diag 1
    Modeste Akaffou
    Оценок пока нет
  • 03 Cours Deep
    03 Cours Deep
    Документ73 страницы
    03 Cours Deep
    KSD
    Оценок пока нет
  • TP1 SNL
    TP1 SNL
    Документ6 страниц
    TP1 SNL
    ramzi salim
    Оценок пока нет
  • Series Chronologiques
    Series Chronologiques
    Документ14 страниц
    Series Chronologiques
    Maria Amina
    100% (1)
  • James Nee
    James Nee
    Документ2 страницы
    James Nee
    James nee de Souza
    Оценок пока нет
  • Solution Du Controle de Ratrappage 18 - 19
    Solution Du Controle de Ratrappage 18 - 19
    Документ6 страниц
    Solution Du Controle de Ratrappage 18 - 19
    Ayoub Vb
    Оценок пока нет
  • Recherche C++
    Recherche C++
    Документ16 страниц
    Recherche C++
    Yassine Moaataz
    Оценок пока нет
  • TD TDS MP
    TD TDS MP
    Документ21 страница
    TD TDS MP
    Steves Douman
    Оценок пока нет
  • Volatilité (Finance) - Wikipédia
    Volatilité (Finance) - Wikipédia
    Документ15 страниц
    Volatilité (Finance) - Wikipédia
    Razanadrasolo Fredo
    Оценок пока нет
  • Corrige Exam Nov 2007
    Corrige Exam Nov 2007
    Документ11 страниц
    Corrige Exam Nov 2007
    Babi Ben
    100% (1)
  • Maths Reserve
    Maths Reserve
    Документ2 страницы
    Maths Reserve
    Solhi Essaid
    Оценок пока нет
  • Cours Numpy Frank
    Cours Numpy Frank
    Документ9 страниц
    Cours Numpy Frank
    abderrahim cheggour
    Оценок пока нет
  • Graphes
    Graphes
    Документ68 страниц
    Graphes
    mulk omar
    Оценок пока нет
  • Cryptage PDF
    Cryptage PDF
    Документ122 страницы
    Cryptage PDF
    Amor Mrabet
    Оценок пока нет
  • TD 1 Transformée de Laplace Et Fonction de Transfert - Sys Asservis
    TD 1 Transformée de Laplace Et Fonction de Transfert - Sys Asservis
    Документ2 страницы
    TD 1 Transformée de Laplace Et Fonction de Transfert - Sys Asservis
    Yasser Yasser
    Оценок пока нет
  • Cours Ecq
    Cours Ecq
    Документ33 страницы
    Cours Ecq
    DENOU
    Оценок пока нет
  • Lois Continues2
    Lois Continues2
    Документ43 страницы
    Lois Continues2
    Mustapha Ziani
    Оценок пока нет
  • Memoire Classification Automatique de Texte Arabe
    Memoire Classification Automatique de Texte Arabe
    Документ79 страниц
    Memoire Classification Automatique de Texte Arabe
    Søûmįã Ks
    Оценок пока нет
  • Exam Math 6 PDF
    Exam Math 6 PDF
    Документ5 страниц
    Exam Math 6 PDF
    Abderrahmane
    Оценок пока нет
  • Enigma
    Enigma
    Документ10 страниц
    Enigma
    Sami Rouainia
    Оценок пока нет
  • Cal 2
    Cal 2
    Документ1 страница
    Cal 2
    Pierre Aguemon
    Оценок пока нет
  • Language de Programmation Structuree
    Language de Programmation Structuree
    Документ11 страниц
    Language de Programmation Structuree
    mrsimonet
    Оценок пока нет