日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

【Paper】2015_Song_Consensus of Heterogeneous Agents with Linear Discrete Dynamics

發布時間:2025/4/5 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【Paper】2015_Song_Consensus of Heterogeneous Agents with Linear Discrete Dynamics 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

原文地址: Y. Song, “Consensus of heterogeneous agents with linear discrete dynamics,” 2015 34th Chinese Control Conference (CCC), 2015, pp. 7416-7422, doi: 10.1109/ChiCC.2015.7260815.

原文地址:Song, Yun-Zhong. “Consensus of agents with mixed linear discrete dynamics.” International Journal of Control, Automation and Systems 14.4 (2016): 1139-1143.

分享宋老師的兩篇文章,題目及引用格式如上所述。

Consensus of Heterogeneous Agents with Linear Discrete Dynamics

  • Paper
  • Codes
  • Results

Paper

Second order agent dynamics:
ξi(k+1)=ξi(k)+ui(k)(8.1)\xi_i(k+1) = \xi_i(k) + u_i(k) \tag{8.1} ξi?(k+1)=ξi?(k)+ui?(k)(8.1)

[xi(k+1)vi(k+1)]=[xi(k)+vi(k)vi(k)+ui(k)]\left[\begin{matrix} x_{i}(k+1) \\ v_{i}(k+1) \\ \end{matrix}\right] = \left[\begin{matrix} {x}_{i}(k) + v_i(k) \\ {v}_{i}(k) + u_i(k) \\ \end{matrix}\right][xi?(k+1)vi?(k+1)?]=[xi?(k)+vi?(k)vi?(k)+ui?(k)?]


公式的一些展開和推論過程:

Codes

% Paper: Consensus of Heterogeneous Agents with Linear Discrete Dynamics % Protocol Simulation Results % Author: Zhao-Jichao % Date: 2021-04-15 % Update: 2021-05-15 重新考慮了二階的協議,為什么二階的速度最終為0,因為協議使用的是 vi,而不是 vj-vi。 clear clc%% Initial Parameters x1 = 3; x2 = [2; -2]; x3 = -1; x4 = [-2; 2]; x5 = -2; x6 = 4; X0 = [x1, x3, x5, x6, x2(1,1), x4(1,1), x2(2,1), x4(2,1)]; Xt(:,1) = X0; k = 1;% Time Params tBegin = 0; tFinal = 4; dT = 0.01; times = (tFinal - tBegin) / dT; t(1,1) = 0;%% Relation Matrix n1 = 4; n2 = 2;L_a = [2 0 0 -1 -1 0;0 2 0 0 -1 -1;0 0 2 -1 0 -1;-1 0 -1 2 0 0;-1 -1 0 0 2 0;0 -1 -1 0 0 2;];Pbar = L2P(L_a, dT, n1, n2);%% Iterations for i=1:timest(:,i+1) = t(:,i) + dT;Xt(:,i+1) = Pbar * Xt(:,i); end%% Draw Result Diagram subplot(1,2,1) plot(t,Xt(1,:), 'linewidth',1.5); hold on % x1 plot(t,Xt(2,:), 'linewidth',1.5); hold on % x3 plot(t,Xt(3,:), 'linewidth',1.5); hold on % x5 plot(t,Xt(4,:), 'linewidth',1.5); hold on % x6 plot(t,Xt(5,:), 'linewidth',1.5); hold on % x2 plot(t,Xt(6,:), 'linewidth',1.5); hold on % x4 title('Position Trajectory'); grid on; box on;subplot(1,2,2) plot(t,Xt(7,:), 'linewidth',1.5); hold on % v2 plot(t,Xt(8,:), 'linewidth',1.5); hold on % v4 title('Velocity Trajectory'); grid on; box on;%% Transformation SubFunction function Pbar = L2P(L, dT, n1, n2)L1 = L(1:n1, 1:n1);L2 = L(1:n1, (n1+1):(n1+n2));L3 = L((n1+1):(n1+n2),1:n1);L4 = L((n1+1):(n1+n2),(n1+1):(n1+n2));Pbar(1:n1, 1:n1) = eye(n1) - dT * L1;Pbar(1:n1, (n1+1):(n1+n2)) = -dT * L2;Pbar(1:n1, (n1+n2+1):(n1+n2+n2)) = zeros(n1,n2);Pbar((n1+1):(n1+n2), 1:n1) = zeros(n2,n1);Pbar((n1+1):(n1+n2), (n1+1):(n1+n2)) = eye(n2);Pbar((n1+1):(n1+n2), (n1+n2+1):(n1+n2+n2)) = eye(n2);Pbar((n1+n2+1):(n1+n2+n2), 1:n1) = -dT * L3;Pbar((n1+n2+1):(n1+n2+n2), (n1+1):(n1+n2)) = -dT * L4;Pbar((n1+n2+1):(n1+n2+n2), (n1+n2+1):(n1+n2+n2)) = zeros(n2); end

Results


總結

以上是生活随笔為你收集整理的【Paper】2015_Song_Consensus of Heterogeneous Agents with Linear Discrete Dynamics的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。