Files
PBSwissMX/MXfastStageDoc/Scratch.tex
2019-03-06 12:38:20 +01:00

56 lines
1.6 KiB
TeX

\newpage
\section{SCRATCH}
\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,colbacktitle=red!50,coltitle=black,title=TODO]
Here is still work to do...
\end{tcolorbox}
\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,colbacktitle=red!50,coltitle=black,title=TODO]
Make simulations in MATLAB. Set C/D filter to compensate resonance and the current loop.\\
This sshould be mostly the inverse of the figures: \ref{fig:mot1_chirp} and \ref{fig:mot2_chirp}.\\
Use $K_{fff}$
\end{tcolorbox}
\begin{verbatim}
clear;
clear global;
close all;
[mot1,mot2]=identifyFxFyStage();
[pb]=simFxFyStage(mot1);sim('stage_closed_loop');
close all;[ssc]=StateSpaceControlDesign(mot1);sim('observer');
[pb]=simFxFyStage(mot2);sim('stage_closed_loop');
close all;[ssc]=StateSpaceControlDesign(mot2);sim('observer');
mögliche tf:
iqCmd---->iqMeas
iqVolts-->iqMeas
iqMeas--->actPos
identifyFxFyStage.m
controlSystemDesigner('bode',1,mot1.tf_py); % <<<<<<<<< This opens a transferfunction that can be edited
\end{verbatim}
\begin{figure}[h!]
\center
\framebox[5cm]{\vtop{\vspace{2cm}\hbox{INSERT GRAPHICS}\vspace{2cm}}}
\framebox[5cm]{\vtop{\vspace{2cm}\hbox{INSERT GRAPHICS}\vspace{2cm}}}
%\includegraphics[scale=.7]{model4.eps}
\caption{Motor 1 sim Motor 2 sim}
\end{figure}
%proces compiled as job \texttt{\jobname} from the file \texttt{\currfileabspath}\\
%\eject
%
%hyperref package sample
%\url{http://stackoverflow.com/questions/9845292/converting-matlab-to-python}\\
%
%fancyvrb package sample
%\begin{Verbatim}[frame=single]
%Verbatim Verbatim Verbatim
%Verbatim
% Verbatim
%\end{Verbatim}
\newpage