如何最好地制作表示行星齿轮系的列线图

如何最好地制作表示行星齿轮系的列线图

我有一个相当哲学的问题。我需要制作几个所谓的诺模图,它们代表自动变速箱或丰田混合动力车中的功率分配装置中使用的行星齿轮系的关系。在下图中,您可以看到方程式和图表。我用蛮力做了这个图表,但我想用变量来生成一个。我可以在下面的代码中做到这一点,但也许pgfplots会更好。你怎么看?我希望代码中的注释足够清楚。输入是电动机、内燃机 (ICE) 的转速和齿数z_crownz_sun。输出是第三个垂直轴。

PS:我刚刚修正了公式中的一个错误,现在图中的公式已经不同了。我还引入了参数。

\documentclass[border=3mm,tikz]{standalone}

\usetikzlibrary{arrows,calc}
\usetikzlibrary{patterns,decorations.pathreplacing}

\newcommand\revem{2600/1000}
\newcommand\revice{0}
\newcommand\zcrown{78/10}
\newcommand\zsun{30/10}

\newcommand\zdiv{2.6}

\def\revgen{\revice+\revice*\zdiv-\revem*\zdiv}

\begin{document}
\begin{tikzpicture}
% x-axis
\draw[thick, red] (0,0) -- (12,0);

% first y-axis
\draw[thick, red,->] (0,0) -- (0,5);
\node at (0,5.5) {\Large $\omega_{em}$};

% revolutions electric motor
\draw[very thick, blue] (0,0) -- (0,\revem);

% second y-axis
\draw[thick, red,->] (\zsun,0) -- (\zsun,5);
\node at (\zsun,5.5) {\Large $\omega_{ice}$};
% revolutions ICE
\draw[very thick, blue] (\zsun,0) -- (\zsun,\revice);

% third y-axis
\draw[thick, red,->] (\zcrown+\zsun,0) -- (\zcrown+\zsun,5);
\node at (\zcrown+\zsun,5.5) {\Large $\omega_{gen}$};
% revolutions  generator
\draw[very thick, blue] (\zcrown+\zsun,0) -- (\zcrown+\zsun, \revgen);

% connecting revolutions with line
\draw[very thick, blue] (0,\revem) -- (\zcrown+\zsun,\revgen);

\draw [
    thick,
    decoration={
        brace,
        mirror,
        raise=0.1cm
    },
    decorate
] (0,0) -- (\zsun,0) node [pos=0.5,anchor=north,yshift=-0.55cm] {$z_{sun}$}; 
\draw [
    thick,
    decoration={
        brace,
        mirror,
        raise=0.1cm
    },
    decorate
] (\zsun,0) -- (\zcrown+\zsun,0) node [pos=0.5,anchor=north,yshift=-0.55cm] {$z_{crown}$}; 

\node at (4,-6) {\Large $\omega_{gen}=\omega_{ice}+(\omega_{ice}-\omega_{em})\frac{z_{crown}}{z_{sun}}$};
\node at (4,-7) {\Large $\omega_{gen}=0+(0-2600)\frac{78}{30}=-6760$};

    \end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容