Cours du jour
This commit is contained in:
parent
bef50f3f61
commit
e74c3a6dc8
3 changed files with 552 additions and 4 deletions
|
@ -777,3 +777,294 @@ Donc~:
|
|||
$$F(p)=\frac{1}{b-a}\times\frac{1}{p+a}+\frac{1}{a-b}\times\frac{1}{p+b}$$
|
||||
$$\mathcal{F}(z)=\frac{1}{b-a}\times\frac{z}{z-e^{-aT}}+
|
||||
\frac{1}{a-b}\times\frac{z}{z-e^{-bT}}$$
|
||||
|
||||
\subsection{Méthode trigonométrique}
|
||||
|
||||
\paragraph{Exemple}
|
||||
|
||||
$$f(t)=\sin(\omega_0.t).u(t)$$
|
||||
|
||||
\paragraph{Calcul de $\mathcal{F}(z)$}
|
||||
|
||||
\begin{figure}[h!]
|
||||
\centering
|
||||
\begin{tikzpicture}[domain=0:4]
|
||||
\draw[very thin,color=gray] (-1.2,-1) grid (4.2,1.0);
|
||||
\draw[->] (-1.2,0) -- (4.2,0) node[right] {$t$};
|
||||
\draw[->] (0,-1.2) -- (0,1.2) node[above] {};
|
||||
\draw[color=blue,domain=-1:0]
|
||||
plot (\x,0);
|
||||
\draw[color=blue]
|
||||
plot (\x,{sin(2*\x r)})
|
||||
node[right] {$f(x)$};
|
||||
\end{tikzpicture}
|
||||
\end{figure}
|
||||
|
||||
On utilise les formules d'Euler~:
|
||||
|
||||
\[
|
||||
\begin{cases}
|
||||
\cos\theta=\frac{e^{j\theta+e^{-j\theta}}}{2}\\
|
||||
\sin\theta=\frac{e^{j\theta-e^{-j\theta}}}{2j}
|
||||
\end{cases}
|
||||
\]
|
||||
$$Z\left[f(t)\right]=
|
||||
Z\left[\frac{e^{j\omega_0t}-e^{-j\omega_0t}}{2j}.u(t)\right]
|
||||
=\frac{1}{2j}\times\left[Z(e^{j\omega_0t}.u(t))-
|
||||
Z(e^{-j\omega_0t}.u(t))\right]$$
|
||||
|
||||
$$a=-j\omega_0\qquad a=+j\omega_0$$
|
||||
$$Z\left[f(t)\right]=\frac{1}{2j}.\left[\frac{z}{z-e^{j\omega_0T}}-
|
||||
\frac{z}{j-e^{-j\omega_0T}}\right]$$
|
||||
$$=\frac{z}{2j}\left[\frac{z-e^{-j\omega_0T}-z+
|
||||
e^{j\omega_0T}}{z^2-(e^{j\omega_0T}+e^{-j\omega_0T})z+1}\right]$$
|
||||
$$=\frac{z.\sin(\omega_0T)}{z^2-2\cos(\omega_0T)z+1}=Z\left[(
|
||||
\sin(\omega_0T).u(t))\right]$$
|
||||
|
||||
\subsubsection{Propriétés de la transformée en $z$}
|
||||
|
||||
\paragraph{Linéarité}
|
||||
|
||||
$$Z\left[\lambda.(f(t)+\mu.g(t))\right]=
|
||||
\lambda.\mathcal{F}(z)+\mu.g(z)\forall\lambda,\mu\text{ constants}$$
|
||||
|
||||
\paragraph{Théorème du retard}
|
||||
|
||||
Rappel dans le cas continu~:
|
||||
$$\mathcal{L}\left[f(t-\tau)\right]=e^{\tau.p}.F(p)$$
|
||||
$$Z\left[f(t-k.T)\right]=z^{-k}.\mathcal{F}(z)$$
|
||||
|
||||
\paragraph{Théorème de la valeur initiale/finale}
|
||||
|
||||
Rappel dans le cas continu~:
|
||||
\[
|
||||
\begin{cases}
|
||||
\lim_{t\rightarrow 0}f(t)=\lim_{p\rightarrow+\infty}\left[p.F(p)\right]\\
|
||||
\lim_{t\rightarrow +\infty}f(t)=\lim_{p\rightarrow 0}\left[p.F(p)\right]
|
||||
\end{cases}
|
||||
\]
|
||||
|
||||
$$\lim_{k\rightarrow 0}f(k.T)=
|
||||
\lim_{z\rightarrow +\infty}\left[\mathcal{F}(z)\right]$$
|
||||
$$\lim_{k\rightarrow+\infty}f(kT)=
|
||||
\lim_{z\rightarrow 1}\left[\frac{z-1}{z}.\mathcal{F}(z)\right]$$
|
||||
$$\Rightarrow\text{régime permabebt en automatique}$$
|
||||
|
||||
\subsection{Transformée en $z$ inverse}
|
||||
|
||||
\paragraph{Définition} $$Z^{-1}\left[\mathcal{\mathcal{F}}(z)\right]=
|
||||
\left\{f(kT)\right\}$$
|
||||
|
||||
\paragraph{Remarque} Il existe une infinité de fonctions continues du temps qui
|
||||
possèdent la même transformée en $z$~:
|
||||
|
||||
\begin{figure}[h!]
|
||||
\centering
|
||||
\begin{tikzpicture}[domain=-0.5:4]
|
||||
\draw[very thin,color=gray] (-0.2,-0.2) grid (4.2,3.1);
|
||||
\draw[->] (-0.2,0) -- (4.2,0) node[right] {$t$};
|
||||
\draw[->] (0,-0.2) -- (0,3.2) node[above] {};
|
||||
\draw[color=blue,smooth]
|
||||
plot coordinates {(-0.2,1.1) (0,0.7) (1,2.2) (1.4,2.6) (2,1.7) (2.5,1.9)
|
||||
(3,1.5) (3.5,1) (4.2,1.1)}
|
||||
node[right] {$f(x)$};
|
||||
\draw[color=orange,smooth]
|
||||
plot coordinates {(-0.2,0.9) (1,2.2) (2,1.7) (2.5,2.1) (3,1.5) (3.8,0.1)
|
||||
(4.2,0.3)}
|
||||
node[right] {$g(x)$};
|
||||
\draw[color=black] plot coordinates {(1,2.2) (1,0)} node[left] {$T$};
|
||||
\draw[color=black] plot coordinates {(2,1.7) (2,0)} node[left] {$2T$};
|
||||
\draw[color=black] plot coordinates {(3,1.5) (3,0)} node[left] {$3T$};
|
||||
\end{tikzpicture}
|
||||
\end{figure}
|
||||
|
||||
$f(t)\neq g(t)$ mais $f(kT)=g(kT)\quad\forall k$
|
||||
|
||||
\paragraph{$\mathcal{F}(z)=g(z)$}
|
||||
$$Z^{-1}\left[\mathcal{F}(z)\right]=Z^{-1}\left[g(z)\right]\neq f(t)\neq g(t)$$
|
||||
$$=\left\{f(kT)\right\}=g\left\{kT\right\}$$
|
||||
|
||||
\subsubsection{Remarque sur les notations}
|
||||
|
||||
$$Z^{-1}\left[\mathcal{F}(z)\right]=\left\{f(kT)\right\}_{k=0,1,\ldots}$$
|
||||
$$Z^{-1}\left[\mathcal{F}(z)\right]=\left\{f(kT)\right\}$$
|
||||
À éviter ~:
|
||||
$$Z^{-1}\left[\mathcal{F}(z)\right]=f(kT)$$
|
||||
|
||||
La transformée en $Z$ inverse est une collection de nombres. Ce n'est pas un
|
||||
seul nombre ou une fonction continue.
|
||||
|
||||
\subsubsection{Quatre méthodes de calcul de $Z^{-1}$}
|
||||
\begin{itemize}
|
||||
\item \textbf{Deux méthodes analytiques~:} (cas simples) $f(kT)=$ fonction de
|
||||
$k$ et de $T$.
|
||||
\item \textbf{Deux méthodes numériques~:} (cas général) $f(0)=\ldots$,
|
||||
$f(T)=\ldots$, $f(2T)=\ldots$, \ldots, pour les 50 premiers échantillons
|
||||
par exemple.
|
||||
\end{itemize}
|
||||
|
||||
\paragraph{Méthode des résidus}
|
||||
|
||||
$$f(nT)=\sum\text{résidus de }\mathcal{F}(z).z^{n-1}$$
|
||||
|
||||
\subparagraph{Cas particulier}
|
||||
|
||||
$\mathcal{F}(z)$ est une fraction rationnelle en $z$ n'ayant que des pôles
|
||||
simples $z_i$.
|
||||
|
||||
$\rightarrow$ fonction auxiliaire~:
|
||||
$$g(z)=\mathcal{F}(z).z^{n-1}=\frac{N(z)}{D(z)}$$
|
||||
|
||||
On pose $D'(z)=\frac{dD(z)}{dz}$.
|
||||
|
||||
La formule d'inversion devient~:
|
||||
|
||||
$$f(nT)=\sum_i\frac{N(z_i)}{D'(z_i)}$$
|
||||
|
||||
\paragraph{Exemple}
|
||||
|
||||
$$\mathcal{F}(z)=\frac{z(z+1)}{(z-a)(z-b)}$$
|
||||
|
||||
Calculer la transformée en $z$ inverse de $\mathcal{F}(z)$, soit $Z^{-1}\left[
|
||||
\mathcal{F}(z)\right]$.
|
||||
|
||||
Ici~: $\mathcal{F}(z)$ a deux pôles simples~: $z_1=a$ et $z_2=b$ (méthode 1
|
||||
applicable).
|
||||
|
||||
$\rightarrow$ fonction auxiliaire~:
|
||||
$$g(z)=\mathcal{F}(z).z^{n-1}=\frac{z^n(z+1)}{(z-a)(z-b)}=\frac{N(z)}{D(z)}$$
|
||||
$$D(z)=(z-a)(z-b)\Rightarrow D'(z)=2z-a-b$$
|
||||
|
||||
$$f(nT)=\sum_i\frac{N(z_i)}{D'(z_i)}=\frac{N(a)}{D'(a)}+\frac{N(b)}{D'(b)}=
|
||||
\frac{a^n(a+1)}{a-b}+\frac{b^n(b+1)}{b-a}$$
|
||||
|
||||
$$Z^{-1}\left[\frac{z(z+1)}{(z-a)(z-b)}\right]=
|
||||
\left\{\frac{a+1}{a-b}a^n+\frac{b+1}{b-a}.b^n\right\}=
|
||||
\left\{1;\frac{a+1}{a-b}.a+\frac{b+1}{b-a}.b;\ldots\right\}$$
|
||||
|
||||
\paragraph{Développement en fractions élémentaires}
|
||||
|
||||
Cette méthode s'inspire de la méthode classique de calcul de
|
||||
$\mathcal{L}^{-1}$.
|
||||
|
||||
Rappel~: $F(p)$ est une fraction rationnelle n'ayant que des pôles simples.
|
||||
$$\mathcal{L}^{-1}\left[F(p)\right]?$$
|
||||
|
||||
On décompose $F(p)$ en éléments simples~:
|
||||
$$F(p)=\frac{A}{p+a}+\frac{B}{p+b}+\ldots$$
|
||||
|
||||
La $\mathcal{L}^{-1}$ s'obtient terme à terme~:
|
||||
$$f(t)=\left[A.e^{-at}.u(t)+B.e^{-bt}.u(t)+\ldots\right]$$
|
||||
|
||||
\begin{figure}[h!]
|
||||
\centering
|
||||
\begin{tabular}{c|c|c}
|
||||
$t$ & $p$ & $z$\\\hline
|
||||
$e^{-at}.u(t)$ & $\frac{1}{p+a}$ & $\frac{z}{z-e^{-aT}}$
|
||||
\end{tabular}
|
||||
\end{figure}
|
||||
|
||||
\subparagraph{Bonne méthode}
|
||||
|
||||
\begin{itemize}
|
||||
\item Fonction auxiliaire~:
|
||||
$$g(z)=\frac{\mathcal{F}(z)}{z}$$
|
||||
\item On décompose $g(z)$ en éléments simples~:
|
||||
$$g(z)=\frac{A}{z+a}+\frac{B}{z+b}$$
|
||||
\item On multiplie les deux membres par $z$~:
|
||||
$$\mathcal{F}(z)=\frac{A.z}{z+a}+\frac{B.z}{z+b}+\ldots$$
|
||||
\end{itemize}
|
||||
|
||||
\paragraph{Exemple}
|
||||
|
||||
$$\mathcal{F}(z)=\frac{2z}{(z-1)(z-0,5)}$$
|
||||
Calculer $Z^{-1}\left[\mathcal{F}(z)\right]$ par la méthode 2 de développement
|
||||
en fractions élémentaires.
|
||||
|
||||
\begin{itemize}
|
||||
\item fonction
|
||||
auxiliaire~: $$g(z)=\frac{\mathcal{F}(z)}{z}=\frac{2}{(z-1)(z-0,5)}
|
||||
=\frac{4}{z-1}-\frac{4}{z-0,5}$$
|
||||
\item on revient à $\mathcal{F}(z)$~:
|
||||
$$\mathcal{F}(z)=\frac{z}{z-1}-\frac{4z}{z-0,5}$$
|
||||
On recheche les solutions dans la table, via $a:0,5=e^{-aT}$,
|
||||
$f(nT)=4(1-e^{-anT})$
|
||||
$$f(nT)=4.u(nT)-4.e^{-anT}.u(nT)$$
|
||||
Maintenant, on doit éliminer $a$.
|
||||
$$f(nT)=4\left[1-(0,5)^n\right]$$
|
||||
\end{itemize}
|
||||
|
||||
$$Z^{-1}\left[\frac{2z}{(z-1)(z-0,5)}=\left\{4
|
||||
\left[1-(0,5)^n\right]\right\}\right]=
|
||||
\left\{0;2;3;3,5;\ldots\right\}$$
|
||||
|
||||
\paragraph{Méthode 3~: Division selon les puissances croissantes de $z^{-1}$}
|
||||
|
||||
Cette méthode se base sur la définition de la transformée en $z$~:
|
||||
$$\mathcal{F}(z)=\sum^{+\infty}_{n=0}f(nT).z^{-n}$$
|
||||
|
||||
\subparagraph{Problème inverse}
|
||||
|
||||
\begin{itemize}
|
||||
\item On recherche un développement de $\mathcal{F}(z)$ sous la forme d'un
|
||||
polynome en $z^{-1}$.
|
||||
\item $f(nT)$ est le coefficient dans ce polynôme de $z^{-1}$
|
||||
\item ce développement peut s'obtenir par division polynomiale
|
||||
\end{itemize}
|
||||
|
||||
\subparagraph{Exemple}
|
||||
|
||||
$$\mathcal{F}(z)=\frac{z^2}{(z-1)(z^2-0,4.z+0,1)}$$
|
||||
$$\mathcal{F}(z)=\frac{z^2}{z^3+1,4z^2+0,5z-0,1}$$
|
||||
$$\mathcal{F}(z)=\frac{z^{-1}}{1-1,4z^{-1}+0,5z^{-2}-0,1z^{-3}}$$
|
||||
On divise haut et bas par $z^3$ pour n'avoir que des puissances de $z^{-1}$
|
||||
|
||||
\paragraph{Méthode 4~: Méthode de l'équation aux différences}
|
||||
|
||||
Théoriquement, \emph{l'équation aux différences} est la transposition au cas
|
||||
discret de l'équation différentielle/
|
||||
|
||||
\subparagraph{Exemple} $$\frac{X(z)}{Y(z)}=\frac{0,3.z}{z-0,2}$$
|
||||
|
||||
\begin{itemize}
|
||||
\item On suppose connue $Z^{-1}\left[Y(z)\right]$ soit
|
||||
$\left\{y(nT)\right\}$.
|
||||
\item On cherche $Z^{-1}\left[X(z)\right]$ soit $\left\{x(nT)\right\}$.
|
||||
\end{itemize}
|
||||
|
||||
Propriété (théorème du retard)~:
|
||||
$$Z\left[f(t-kT)\right]=z^{-k}.\mathcal{F}(z)\qquad k\text{ entier}$$
|
||||
$$Z\left[z^{-k}.\mathcal{F}(z)\right]=f\left[(n-k)T\right]$$
|
||||
$$Z^{-1}\left[\mathcal{F}(z)\right]=f(nT)$$
|
||||
|
||||
On divise haut et bas par $z$~:
|
||||
$$0,3.Y(z)=X(z)-0,2z^{-1}.X(z)$$
|
||||
On applique $Z^{-1}$~:
|
||||
$$0,3.y(nT)=x(nT)-0,2z.x\left[(n-1)T\right]$$
|
||||
On a donc une équation aux différences du 1\ier{} ordre.
|
||||
|
||||
On pose~: $y(nT)=y_n$ et $x(nT)=z_n$
|
||||
|
||||
Équation aux différences~: $x_n=0,3.y_n+0,2.x_{n-1}$
|
||||
|
||||
\begin{figure}[h!]
|
||||
\centering
|
||||
\begin{tabular}{c||c|c||c}
|
||||
$n$ & $0,3.y_n$ & $0,2.x_{n-1}$ & $x_n$\\\hline
|
||||
$0$ & $0,3$ & $0$ & $0,3$\\\hline
|
||||
$1$ & $0,3$ & $0,06$ & $0,36$\\\hline
|
||||
$2$ & $0,3$ & $0,072$ & $0,372$\\
|
||||
\end{tabular}
|
||||
\end{figure}
|
||||
|
||||
$$Z^{-1}\left[X(z)\right]=\left\{0,3;0,36;0,372;\ldots\right\}$$
|
||||
|
||||
\underline{Critère d'arrêt}
|
||||
\begin{enumerate}
|
||||
\item Nombre d'échantillons
|
||||
\item Convergence~: $x_n\longrightarrow_{n\rightarrow+\infty} L$
|
||||
\end{enumerate}
|
||||
|
||||
Si $L$ existe~: $L=0,3+0,2L\Rightarrow L=\frac{0,3}{0,8}=\frac{3}{8}=0,375$.
|
||||
|
||||
C'est la méthode la plus utilisée car facile à programmée.
|
||||
|
|
Reference in a new issue