新增气体流量控制 GUI 与 Windows 可执行程序

新增 Tkinter 单窗口操作界面和后台设备状态机,支持连接与断开 PLC、在线设置目标流量、实时显示传感器数据与下发总开度,并在监测及闭环阶段统一执行安全保护。

默认将 valve_model_004.json 内置到单文件 EXE,同时支持校验并选择外部阀模型;整理标定 JSON/PNG 到 valve_model 目录并同步配置路径。补充运行层离线测试、PyInstaller 构建配置、交付文件和完整的 README 使用及重新打包说明。
This commit is contained in:
2026-09-03 17:35:40 +08:00
parent d7ed4181df
commit ead625bf2d
51 changed files with 44578 additions and 24 deletions
@@ -0,0 +1,25 @@
time_s,timestamp,flow_after_slm,opening_pct,pressure_before_kpa,pressure_after_kpa,motor_position
0.000000,2026-09-03T14:33:33.002,180.825000,100.000000,201.375000,121.100000,800.000000
1.009349,2026-09-03T14:33:34.012,180.834375,100.000000,201.581250,121.450000,800.000000
2.019912,2026-09-03T14:33:35.022,180.459375,100.000000,201.909375,121.237500,800.000000
3.029416,2026-09-03T14:33:36.031,181.378125,100.000000,202.031250,121.375000,800.000000
4.038972,2026-09-03T14:33:37.041,174.637500,0.000000,212.353125,39.475000,1000.000000
5.048765,2026-09-03T14:33:38.051,34.912500,0.000000,306.000000,-0.237500,1000.000000
6.059989,2026-09-03T14:33:39.062,8.325000,0.000000,306.000000,-0.275000,1000.000000
7.069332,2026-09-03T14:33:40.071,3.675000,0.000000,306.000000,-0.300000,1000.000000
8.078579,2026-09-03T14:33:41.081,0.900000,0.000000,306.000000,-0.312500,1000.000000
9.089545,2026-09-03T14:33:42.092,0.881250,0.000000,306.000000,-0.312500,1000.000000
10.100123,2026-09-03T14:33:43.102,0.900000,0.000000,306.000000,-0.312500,1000.000000
11.110366,2026-09-03T14:33:44.113,0.881250,0.000000,306.000000,-0.337500,1000.000000
12.122532,2026-09-03T14:33:45.125,0.881250,0.000000,306.000000,-0.337500,1000.000000
13.134354,2026-09-03T14:33:46.136,0.900000,0.000000,306.000000,-0.312500,1000.000000
14.144802,2026-09-03T14:33:47.147,0.900000,0.000000,306.000000,-0.312500,1000.000000
15.154118,2026-09-03T14:33:48.156,0.881250,0.000000,306.000000,-0.337500,1000.000000
16.164254,2026-09-03T14:33:49.166,0.862500,0.000000,306.000000,-0.312500,1000.000000
17.174010,2026-09-03T14:33:50.176,0.881250,0.000000,306.000000,-0.312500,1000.000000
18.182420,2026-09-03T14:33:51.184,0.862500,0.000000,306.000000,-0.337500,1000.000000
19.191267,2026-09-03T14:33:52.193,0.881250,0.000000,306.000000,-0.312500,1000.000000
20.201921,2026-09-03T14:33:53.204,0.881250,0.000000,306.000000,-0.312500,1000.000000
21.211323,2026-09-03T14:33:54.214,0.862500,0.000000,306.000000,-0.312500,1000.000000
22.222314,2026-09-03T14:33:55.224,0.862500,0.000000,306.000000,-0.337500,1000.000000
23.232360,2026-09-03T14:33:56.235,0.862500,0.000000,306.000000,-0.350000,1000.000000
1 time_s timestamp flow_after_slm opening_pct pressure_before_kpa pressure_after_kpa motor_position
2 0.000000 2026-09-03T14:33:33.002 180.825000 100.000000 201.375000 121.100000 800.000000
3 1.009349 2026-09-03T14:33:34.012 180.834375 100.000000 201.581250 121.450000 800.000000
4 2.019912 2026-09-03T14:33:35.022 180.459375 100.000000 201.909375 121.237500 800.000000
5 3.029416 2026-09-03T14:33:36.031 181.378125 100.000000 202.031250 121.375000 800.000000
6 4.038972 2026-09-03T14:33:37.041 174.637500 0.000000 212.353125 39.475000 1000.000000
7 5.048765 2026-09-03T14:33:38.051 34.912500 0.000000 306.000000 -0.237500 1000.000000
8 6.059989 2026-09-03T14:33:39.062 8.325000 0.000000 306.000000 -0.275000 1000.000000
9 7.069332 2026-09-03T14:33:40.071 3.675000 0.000000 306.000000 -0.300000 1000.000000
10 8.078579 2026-09-03T14:33:41.081 0.900000 0.000000 306.000000 -0.312500 1000.000000
11 9.089545 2026-09-03T14:33:42.092 0.881250 0.000000 306.000000 -0.312500 1000.000000
12 10.100123 2026-09-03T14:33:43.102 0.900000 0.000000 306.000000 -0.312500 1000.000000
13 11.110366 2026-09-03T14:33:44.113 0.881250 0.000000 306.000000 -0.337500 1000.000000
14 12.122532 2026-09-03T14:33:45.125 0.881250 0.000000 306.000000 -0.337500 1000.000000
15 13.134354 2026-09-03T14:33:46.136 0.900000 0.000000 306.000000 -0.312500 1000.000000
16 14.144802 2026-09-03T14:33:47.147 0.900000 0.000000 306.000000 -0.312500 1000.000000
17 15.154118 2026-09-03T14:33:48.156 0.881250 0.000000 306.000000 -0.337500 1000.000000
18 16.164254 2026-09-03T14:33:49.166 0.862500 0.000000 306.000000 -0.312500 1000.000000
19 17.174010 2026-09-03T14:33:50.176 0.881250 0.000000 306.000000 -0.312500 1000.000000
20 18.182420 2026-09-03T14:33:51.184 0.862500 0.000000 306.000000 -0.337500 1000.000000
21 19.191267 2026-09-03T14:33:52.193 0.881250 0.000000 306.000000 -0.312500 1000.000000
22 20.201921 2026-09-03T14:33:53.204 0.881250 0.000000 306.000000 -0.312500 1000.000000
23 21.211323 2026-09-03T14:33:54.214 0.862500 0.000000 306.000000 -0.312500 1000.000000
24 22.222314 2026-09-03T14:33:55.224 0.862500 0.000000 306.000000 -0.337500 1000.000000
25 23.232360 2026-09-03T14:33:56.235 0.862500 0.000000 306.000000 -0.350000 1000.000000