永磁同步电机模型第三篇之两相电机坐标变换

前言

本文主要介绍两相永磁电机模型的坐标变化极其推导过程。本文主要参考资料:

R.Krishnan.永磁无刷电机及其驱动技术.机械工程出版社

根据上一篇博客<永磁同步电机模型第二篇之两相电机实时模型>,可以得到如下两相永磁同步电机的在静止坐标系下的模型:

电压方程为:
[ V a V b ] = [ R 0 0 R ] [ i a i b ] + d d t [ λ a λ b ] \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 V_a\\ %第一行元素 V_b\\ %第二行元素 \end{bmatrix}= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 R&0\\ %第一行元素 0&R\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_a\\ %第一行元素 i_b\\ %第二行元素 \end{bmatrix}+ \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix} [VaVb]=[R00R][iaib]+dtd[λaλb]

磁链方程为:
[ λ a λ b ] = [ L a L m L m L b ] [ i a i b ] + λ f [ cos θ sin θ ] = [ L 1 − L 2 cos 2 θ − L 2 sin 2 θ − L 2 sin 2 θ L 1 + L 2 cos 2 θ ] [ i a i b ] + λ f [ cos θ sin θ ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 L_{a}&L_{m}\\ %第一行元素 L_{m}&L_{b}\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_a\\ %第一行元素 i_b\\ %第二行元素 \end{bmatrix}+ \lambda_f \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup {cos} \theta\\ %第一行元素 \textup {sin} \theta\\ %第二行元素 \end{bmatrix}\\& = \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 L_1-L_2\textup {cos} 2\theta&-L_2\textup {sin} 2\theta\\ %第一行元素 -L_2\textup {sin} 2\theta& L_1+L_2\textup {cos} 2\theta\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_a\\ %第一行元素 i_b\\ %第二行元素 \end{bmatrix}+ \lambda_f \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup {cos} \theta\\ %第一行元素 \textup {sin} \theta\\ %第二行元素 \end{bmatrix} \end{aligned} [λaλb]=[LaLmLmLb][iaib]+λf[cosθsinθ]=[L1L2cos2θL2sin2θL2sin2θL1+L2cos2θ][iaib]+λf[cosθsinθ]

可以知道,磁链方程中的参数依赖转子的位置,尽管目前计算能力越来越强大,但是求解上述方程依然相当繁琐,而且从上述方程中也无法洞悉到电机的动态性能。这篇博客任务就是,通过变换,消除方程中对转子位置的依赖。

可以借助博客<永磁同步电机模型第一篇之坐标变换>中的2s/2r变换。
在这里插入图片描述

磁链方程

首先可以得到:
[ λ d λ q ] = [ cos θ sin θ − sin θ cos θ ] [ λ a λ b ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_d\\ %第一行元素 \lambda_q\\ %第二行元素 \end{bmatrix}&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix} \end{aligned} [λdλq]=[cosθsinθsinθcosθ][λaλb]
以及:
[ i a i b ] = [ cos θ sin θ − sin θ cos θ ] − 1 [ i d i q ] = [ cos θ − sin θ sin θ cos θ ] [ i d i q ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_a\\ %第一行元素 i_b\\ %第二行元素 \end{bmatrix}&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix}^{-1} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_d\\ %第一行元素 i_q\\ %第二行元素 \end{bmatrix} \\&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &-\textup{sin} \theta \\ %第一行元素 \textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_d\\ %第一行元素 i_q\\ %第二行元素 \end{bmatrix} \end{aligned} [iaib]=[cosθsinθsinθcosθ]1[idiq]=[cosθsinθsinθcosθ][idiq]
综上,可以推知:
[ λ d λ q ] = [ cos θ sin θ − sin θ cos θ ] ( [ L 1 − L 2 cos 2 θ − L 2 sin 2 θ − L 2 sin 2 θ L 1 + L 2 cos 2 θ ] [ i a i b ] + λ f [ cos θ sin θ ] ) = [ cos θ sin θ − sin θ cos θ ] [ L 1 − L 2 cos 2 θ − L 2 sin 2 θ − L 2 sin 2 θ L 1 + L 2 cos 2 θ ] [ cos θ − sin θ sin θ cos θ ] [ i d i q ] + λ f [ cos θ sin θ − sin θ cos θ ] [ cos θ sin θ ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_d\\ %第一行元素 \lambda_q\\ %第二行元素 \end{bmatrix}& = \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \left( \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 L_1-L_2\textup {cos} 2\theta&-L_2\textup {sin} 2\theta\\ %第一行元素 -L_2\textup {sin} 2\theta& L_1+L_2\textup {cos} 2\theta\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_a\\ %第一行元素 i_b\\ %第二行元素 \end{bmatrix}+ \lambda_f \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup {cos} \theta\\ %第一行元素 \textup {sin} \theta\\ %第二行元素 \end{bmatrix} \right)\\&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 L_1-L_2\textup {cos} 2\theta&-L_2\textup {sin} 2\theta\\ %第一行元素 -L_2\textup {sin} 2\theta& L_1+L_2\textup {cos} 2\theta\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &-\textup{sin} \theta \\ %第一行元素 \textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_d\\ %第一行元素 i_q\\ %第二行元素 \end{bmatrix}+ \lambda_f \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup {cos} \theta\\ %第一行元素 \textup {sin} \theta\\ %第二行元素 \end{bmatrix}\\ \end{aligned} [λdλq]=[cosθsinθsinθcosθ]([L1L2cos2θL2sin2θL2sin2θL1+L2cos2θ][iaib]+λf[cosθsinθ])=[cosθsinθsinθcosθ][L1L2cos2θL2sin2θL2sin2θL1+L2cos2θ][cosθsinθsinθcosθ][idiq]+λf[cosθsinθsinθcosθ][cosθsinθ]

分开计算,后半部分:

λ f [ cos θ sin θ − sin θ cos θ ] [ cos θ sin θ ] = λ f [ cos 2 θ + sin 2 θ − sin θ cos θ + cos θ sin θ ] = [ λ f 0 ] \begin{aligned} &\lambda_f \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup {cos} \theta\\ %第一行元素 \textup {sin} \theta\\ %第二行元素 \end{bmatrix}\\ =&\lambda_f \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos}^2 \theta +\textup{sin}^2 \theta \\ %第一行元素 -\textup{sin} \theta \textup{cos}\theta+\textup{cos}\theta \textup{sin} \theta \\ %第二行元素 \end{bmatrix}\\=& \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_f\\ %第一行元素 0\\ %第二行元素 \end{bmatrix}\\ \end{aligned} ==λf[cosθsinθsinθcosθ][cosθsinθ]λf[cos2θ+sin2θsinθcosθ+cosθsinθ][λf0]
前半部分:
[ cos θ sin θ − sin θ cos θ ] [ L 1 − L 2 cos 2 θ − L 2 sin 2 θ − L 2 sin 2 θ L 1 + L 2 cos 2 θ ] [ cos θ − sin θ sin θ cos θ ] [ i d i q ] = [ L 1 cos θ − L 2 cos θ cos 2 θ − L 2 sin 2 θ sin θ L 1 sin θ − L 2 cos θ sin 2 θ + L 2 sin θ cos 2 θ L 2 sin θ cos 2 θ − L 2 sin 2 θ cos θ − L 1 sin θ L 2 sin 2 θ sin θ + L 1 cos θ + L 2 cos θ cos 2 θ ] [ cos θ − sin θ sin θ cos θ ] [ i d i q ] = [ ( L 1 − L 2 ) cos θ ( L 1 − L 2 ) sin θ − ( L 1 + L 2 ) sin θ ( L 1 + L 2 ) cos θ ] [ cos θ − sin θ sin θ cos θ ] [ i d i q ] = [ ( L d ) cos θ ( L d ) sin θ − ( L q ) sin θ ( L q ) cos θ ] [ cos θ − sin θ sin θ cos θ ] [ i d i q ] = [ L d 0 0 L q ] [ i d i q ] \begin{aligned} &\begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 L_1-L_2\textup {cos} 2\theta&-L_2\textup {sin} 2\theta\\ %第一行元素 -L_2\textup {sin} 2\theta& L_1+L_2\textup {cos} 2\theta\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &-\textup{sin} \theta \\ %第一行元素 \textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_d\\ %第一行元素 i_q\\ %第二行元素 \end{bmatrix}\\ =& \begin{bmatrix} L_1\textup {cos} \theta-L_2\textup {cos} \theta \textup {cos} 2\theta -L_2\textup {sin} 2\theta\textup {sin} \theta& L_1\textup {sin} \theta-L_2\textup {cos} \theta\textup {sin} 2\theta+L_2\textup {sin} \theta\textup {cos} 2\theta\\ L_2\textup {sin} \theta\textup {cos} 2\theta -L_2\textup {sin} 2\theta\textup {cos} \theta -L_1\textup {sin} \theta&L_2\textup {sin} 2\theta\textup {sin} \theta+ L_1\textup {cos} \theta+L_2\textup {cos} \theta\textup {cos} 2\theta\\ \end{bmatrix} \begin{bmatrix} \textup{cos} \theta &-\textup{sin} \theta \\ \textup{sin} \theta& \textup{cos}\theta \\ \end{bmatrix} \begin{bmatrix} i_d\\ i_q\\ \end{bmatrix}\\=& \begin{bmatrix} (L_1-L_2)\textup {cos} \theta&(L_1-L_2)\textup {sin} \theta\\ -(L_1+L_2)\textup {sin} \theta&(L_1+L_2)\textup {cos} \theta\\ \end{bmatrix} \begin{bmatrix} \textup{cos} \theta &-\textup{sin} \theta \\ \textup{sin} \theta& \textup{cos}\theta \\ \end{bmatrix} \begin{bmatrix} i_d\\ i_q\\ \end{bmatrix}\\=& \begin{bmatrix} (L_d)\textup {cos} \theta&(L_d)\textup {sin} \theta\\ -(L_q)\textup {sin} \theta&(L_q)\textup {cos} \theta\\ \end{bmatrix} \begin{bmatrix} \textup{cos} \theta &-\textup{sin} \theta \\ \textup{sin} \theta& \textup{cos}\theta \\ \end{bmatrix} \begin{bmatrix} i_d\\ i_q\\ \end{bmatrix}\\=& \begin{bmatrix} L_d&0\\ 0&L_q\\ \end{bmatrix} \begin{bmatrix} i_d\\ i_q\\ \end{bmatrix}\\ \end{aligned} ====[cosθsinθsinθcosθ][L1L2cos2θL2sin2θL2sin2θL1+L2cos2θ][cosθsinθsinθcosθ][idiq][L1cosθL2cosθcos2θL2sin2θsinθL2sinθcos2θL2sin2θcosθL1sinθL1sinθL2cosθsin2θ+L2sinθcos2θL2sin2θsinθ+L1cosθ+L2cosθcos2θ][cosθsinθsinθcosθ][idiq][(L1L2)cosθ(L1+L2)sinθ(L1L2)sinθ(L1+L2)cosθ][cosθsinθsinθcosθ][idiq][(Ld)cosθ(Lq)sinθ(Ld)sinθ(Lq)cosθ][cosθsinθsinθcosθ][idiq][Ld00Lq][idiq]
综上:
[ λ d λ q ] = [ L d 0 0 L q ] [ i d i q ] + [ λ f 0 ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_d\\ %第一行元素 \lambda_q\\ %第二行元素 \end{bmatrix}&= \begin{bmatrix} L_d&0\\ 0&L_q\\ \end{bmatrix} \begin{bmatrix} i_d\\ i_q\\ \end{bmatrix}+ \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_f\\ %第一行元素 0\\ %第二行元素 \end{bmatrix}\\ \end{aligned} [λdλq]=[Ld00Lq][idiq]+[λf0]

即:
λ d = L d i d + λ f λ q = L q i q \begin{aligned} \lambda_d&=L_di_d+ \lambda_f\\ \lambda_q&=L_qi_q \end{aligned} λdλq=Ldid+λf=Lqiq

电压方程

[ V d V q ] = [ cos θ sin θ − sin θ cos θ ] [ V a V b ] = [ cos θ sin θ − sin θ cos θ ] [ R 0 0 R ] [ i a i b ] + [ cos θ sin θ − sin θ cos θ ] d d t [ λ a λ b ] = [ R 0 0 R ] [ i d i q ] + [ cos θ sin θ − sin θ cos θ ] d d t [ λ a λ b ]   \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 V_d\\ %第一行元素 V_q\\ %第二行元素 \end{bmatrix}&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 V_a\\ %第一行元素 V_b\\ %第二行元素 \end{bmatrix}\\&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 R&0\\ %第一行元素 0&R\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_a\\ %第一行元素 i_b\\ %第二行元素 \end{bmatrix}+ \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}\\&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 R&0\\ %第一行元素 0&R\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_d\\ %第一行元素 i_q\\ %第二行元素 \end{bmatrix}+ \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}\ \end{aligned} [VdVq]=[cosθsinθsinθcosθ][VaVb]=[cosθsinθsinθcosθ][R00R][iaib]+[cosθsinθsinθcosθ]dtd[λaλb]=[R00R][idiq]+[cosθsinθsinθcosθ]dtd[λaλb] 
又因为:
[ cos θ sin θ − sin θ cos θ ] d d t [ λ a λ b ] + d d t [ cos θ sin θ − sin θ cos θ ] [ λ a λ b ] = d d t ( [ cos θ sin θ − sin θ cos θ ] [ λ a λ b ] ) \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}+ \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}= \frac{\textup {d}}{\textup {d} t} \left( \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix} \right) \end{aligned} [cosθsinθsinθcosθ]dtd[λaλb]+dtd[cosθsinθsinθcosθ][λaλb]=dtd([cosθsinθsinθcosθ][λaλb])
所以:
[ cos θ sin θ − sin θ cos θ ] d d t [ λ a λ b ] = d d t ( [ cos θ sin θ − sin θ cos θ ] [ λ a λ b ] ) − d d t [ cos θ sin θ − sin θ cos θ ] [ λ a λ b ] = d d t [ λ d λ q ] − w [ − sin θ cos θ − cos θ − sin θ ] [ λ a λ b ] = d d t [ λ d λ q ] + w [ − λ q λ d ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}&= \frac{\textup {d}}{\textup {d} t} \left( \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix} \right)- \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \textup{cos} \theta &\textup{sin} \theta \\ %第一行元素 -\textup{sin} \theta& \textup{cos}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}\\ &= \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_d\\ %第一行元素 \lambda_q\\ %第二行元素 \end{bmatrix}-w \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 -\textup{sin} \theta &\textup{cos} \theta \\ %第一行元素 -\textup{cos} \theta& -\textup{sin}\theta \\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_a\\ %第一行元素 \lambda_b\\ %第二行元素 \end{bmatrix}\\ &=\frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_d\\ %第一行元素 \lambda_q\\ %第二行元素 \end{bmatrix}+w \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 -\lambda_q\\ %第一行元素 \lambda_d\\ %第二行元素 \end{bmatrix} \end{aligned} [cosθsinθsinθcosθ]dtd[λaλb]=dtd([cosθsinθsinθcosθ][λaλb])dtd[cosθsinθsinθcosθ][λaλb]=dtd[λdλq]w[sinθcosθcosθsinθ][λaλb]=dtd[λdλq]+w[λqλd]

其中
w = d θ d t w= \frac{\textup {d}\theta}{\textup {d} t} w=dtdθ

综上:
[ V d V q ] = [ R 0 0 R ] [ i d i q ] + d d t [ λ d λ q ] + w [ − λ q λ d ] \begin{aligned} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 V_d\\ %第一行元素 V_q\\ %第二行元素 \end{bmatrix}&= \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 R&0\\ %第一行元素 0&R\\ %第二行元素 \end{bmatrix} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 i_d\\ %第一行元素 i_q\\ %第二行元素 \end{bmatrix}+ \frac{\textup {d}}{\textup {d} t} \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 \lambda_d\\ %第一行元素 \lambda_q\\ %第二行元素 \end{bmatrix}+w \begin{bmatrix} %该矩阵一共3列,每一列都居中放置 -\lambda_q\\ %第一行元素 \lambda_d\\ %第二行元素 \end{bmatrix} \end{aligned} [VdVq]=[R00R][idiq]+dtd[λdλq]+w[λqλd]

即:
V d = R i d + d λ d d t − w λ q V q = R i q + d λ q d t + w λ d \begin{aligned} V_d&=Ri_d+ \frac{\textup {d} \lambda_d}{\textup {d} t}-w \lambda_q\\ V_q&=Ri_q +\frac{\textup {d} \lambda_q}{\textup {d} t}+w \lambda_d \end{aligned} VdVq=Rid+dtdλdwλq=Riq+dtdλq+wλd

结论

经过坐标变换之后,在dq坐标系中,永磁同步电机的电压方程为:
V d = R i d + d λ d d t − w λ q V q = R i q + d λ q d t + w λ d \begin{aligned} V_d&=Ri_d+ \frac{\textup {d} \lambda_d}{\textup {d} t}-w \lambda_q\\ V_q&=Ri_q +\frac{\textup {d} \lambda_q}{\textup {d} t}+w \lambda_d \end{aligned} VdVq=Rid+dtdλdwλq=Riq+dtdλq+wλd

磁链方程为:
λ d = L d i d + λ f λ q = L q i q \begin{aligned} \lambda_d&=L_di_d+ \lambda_f\\ \lambda_q&=L_qi_q \end{aligned} λdλq=Ldid+λf=Lqiq

在dq坐标系中,电压矢量不在依赖转子位置,而与转子的速度有关,因此,仅当速度恒定时,系统方程为线性方程。在转子速度发生变化的情况下,如果速度变化是由于电流变化引起的,那么,此时的系统方程为非线性的。

### 双三永磁同步电机数学模型 #### 三静止坐标系下的电机模型 在三静止坐标系下,双三永磁同步电机可以被看作个独立的三绕组系统。每个系统的电压方程可表示为: 对于第一个三绕组: \[ v_{a1} = R_s i_{a1} + L \frac{di_{a1}}{dt} - ωL q_1 i_{b1} \] \[ v_{b1} = R_s i_{b1} + L \frac{di_{b1}}{dt} + ωL q_1 i_{a1} \] \[ v_{c1} = R_s i_{c1} + L \frac{di_{c1}}{dt} \] 其中 \(v\) 表示线圈端的电压, \(i\) 是流过线圈的电流, \(R_s\) 和 \(L\) 分别代表定子电阻和电感, 而 \(ω\) 则是角频率[^1]。 第二个三绕组同样遵循类似的表达形式,只是索引变为2而不是1。 #### 静止坐标系下的电机模型 为了简化控制系统的设计,在实际应用中通常会将上述三个变量转换到αβ静止坐标系上。这种变换可以通过克拉克变换(Clark's Transformation)完成: \[ \begin{pmatrix} i_\alpha \\ i_\beta \end{pmatrix}_k = \sqrt{\frac{2}{3}} \begin{pmatrix} 1 & -\frac{1}{2} & -\frac{1}{2}\\ 0 & \frac{\sqrt{3}}{2}&-\frac{\sqrt{3}}{2} \end{pmatrix} \begin{pmatrix} i_a\\ i_b\\ i_c \end{pmatrix}_k, (k=1,2) \] 这里\(i_\alpha,i_\beta\)分别对应于新坐标系上的分量;而矩阵乘法实现了从原始abc坐标至新的αβ坐标的映射操作。 #### 旋转坐标系下的电机模型 进一步地,为了更好地实施矢量控制算法,还需要把数据由固定参考框架转移到随转子磁场一起转动的新坐标体系(d-q),此过程涉及帕克(Park’s)变换: \[ \begin{pmatrix} i_d \\ i_q \end{pmatrix}_{k}= \begin{pmatrix} cosθ&sinθ\\ -sinθ& cosθ \end{pmatrix} \begin{pmatrix} i_\alpha\\ i_\beta \end{pmatrix}_{k}, (k=1,2) \] 最终得到适用于矢量控制器输入端口的标准格式化信号源——即直轴(d-axis)与交轴(q-axis)方向上的瞬态响应特性参数集合。 #### 小结 综上所述,通过对不同坐标系之间互关系的研究以及应变换公式的推导,能够建立起一套完整的用于描述双三永磁同步电动机行为特征的数学模型。该模型不仅有助于理解这类复杂机电装置内部的工作机制,同时也为后续开发高效能驱动器提供了坚实的理论基础。 ```matlab % MATLAB code snippet demonstrating Park transformation function [id, iq] = park_transform(i_alpha, i_beta, theta) % Implementation of the Park transform to convert from alpha-beta frame to dq-frame. c_theta = cos(theta); s_theta = sin(theta); id = c_theta * i_alpha + s_theta * i_beta; iq = -s_theta * i_alpha + c_theta * i_beta; end ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值