新增气体流量控制 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,27 @@
time_s,timestamp,flow_after_slm,opening_pct,pressure_before_kpa,pressure_after_kpa,motor_position
0.000000,2026-09-03T14:36:53.577,186.300000,100.000000,206.175000,124.550000,800.000000
1.009534,2026-09-03T14:36:54.587,186.206250,100.000000,206.559375,124.400000,800.000000
2.018970,2026-09-03T14:36:55.597,184.837500,100.000000,207.750000,124.375000,800.000000
3.029327,2026-09-03T14:36:56.607,185.653125,100.000000,206.878125,124.550000,800.000000
4.039865,2026-09-03T14:36:57.618,186.187500,100.000000,206.850000,124.875000,800.000000
5.049509,2026-09-03T14:36:58.627,185.925000,100.000000,206.812500,124.775000,800.000000
6.059955,2026-09-03T14:36:59.638,185.559375,100.000000,206.831250,124.937500,800.000000
7.068847,2026-09-03T14:37:00.647,185.756250,100.000000,206.653125,124.812500,800.000000
8.079927,2026-09-03T14:37:01.658,186.459375,100.000000,206.709375,124.812500,800.000000
9.090449,2026-09-03T14:37:02.668,76.059375,0.000000,306.000000,-0.175000,1000.000000
10.099598,2026-09-03T14:37:03.677,17.353125,0.000000,306.000000,-0.250000,1000.000000
11.109955,2026-09-03T14:37:04.688,6.412500,0.000000,306.000000,-0.275000,1000.000000
12.120598,2026-09-03T14:37:05.698,3.131250,0.000000,306.000000,-0.312500,1000.000000
13.130787,2026-09-03T14:37:06.709,0.909375,0.000000,306.000000,-0.312500,1000.000000
14.141024,2026-09-03T14:37:07.719,0.909375,0.000000,306.000000,-0.337500,1000.000000
15.151936,2026-09-03T14:37:08.730,0.909375,0.000000,306.000000,-0.312500,1000.000000
16.161696,2026-09-03T14:37:09.739,0.881250,0.000000,306.000000,-0.337500,1000.000000
17.170813,2026-09-03T14:37:10.749,0.900000,0.000000,306.000000,-0.337500,1000.000000
18.181591,2026-09-03T14:37:11.759,0.900000,0.000000,306.000000,-0.337500,1000.000000
19.192289,2026-09-03T14:37:12.770,0.900000,0.000000,306.000000,-0.337500,1000.000000
20.201665,2026-09-03T14:37:13.779,0.900000,0.000000,306.000000,-0.337500,1000.000000
21.210939,2026-09-03T14:37:14.789,0.881250,0.000000,306.000000,-0.350000,1000.000000
22.221416,2026-09-03T14:37:15.799,0.900000,0.000000,306.000000,-0.337500,1000.000000
23.231089,2026-09-03T14:37:16.809,0.881250,0.000000,306.000000,-0.312500,1000.000000
24.242616,2026-09-03T14:37:17.820,0.881250,0.000000,306.000000,-0.312500,1000.000000
25.251933,2026-09-03T14:37:18.830,0.881250,0.000000,306.000000,-0.337500,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:36:53.577 186.300000 100.000000 206.175000 124.550000 800.000000
3 1.009534 2026-09-03T14:36:54.587 186.206250 100.000000 206.559375 124.400000 800.000000
4 2.018970 2026-09-03T14:36:55.597 184.837500 100.000000 207.750000 124.375000 800.000000
5 3.029327 2026-09-03T14:36:56.607 185.653125 100.000000 206.878125 124.550000 800.000000
6 4.039865 2026-09-03T14:36:57.618 186.187500 100.000000 206.850000 124.875000 800.000000
7 5.049509 2026-09-03T14:36:58.627 185.925000 100.000000 206.812500 124.775000 800.000000
8 6.059955 2026-09-03T14:36:59.638 185.559375 100.000000 206.831250 124.937500 800.000000
9 7.068847 2026-09-03T14:37:00.647 185.756250 100.000000 206.653125 124.812500 800.000000
10 8.079927 2026-09-03T14:37:01.658 186.459375 100.000000 206.709375 124.812500 800.000000
11 9.090449 2026-09-03T14:37:02.668 76.059375 0.000000 306.000000 -0.175000 1000.000000
12 10.099598 2026-09-03T14:37:03.677 17.353125 0.000000 306.000000 -0.250000 1000.000000
13 11.109955 2026-09-03T14:37:04.688 6.412500 0.000000 306.000000 -0.275000 1000.000000
14 12.120598 2026-09-03T14:37:05.698 3.131250 0.000000 306.000000 -0.312500 1000.000000
15 13.130787 2026-09-03T14:37:06.709 0.909375 0.000000 306.000000 -0.312500 1000.000000
16 14.141024 2026-09-03T14:37:07.719 0.909375 0.000000 306.000000 -0.337500 1000.000000
17 15.151936 2026-09-03T14:37:08.730 0.909375 0.000000 306.000000 -0.312500 1000.000000
18 16.161696 2026-09-03T14:37:09.739 0.881250 0.000000 306.000000 -0.337500 1000.000000
19 17.170813 2026-09-03T14:37:10.749 0.900000 0.000000 306.000000 -0.337500 1000.000000
20 18.181591 2026-09-03T14:37:11.759 0.900000 0.000000 306.000000 -0.337500 1000.000000
21 19.192289 2026-09-03T14:37:12.770 0.900000 0.000000 306.000000 -0.337500 1000.000000
22 20.201665 2026-09-03T14:37:13.779 0.900000 0.000000 306.000000 -0.337500 1000.000000
23 21.210939 2026-09-03T14:37:14.789 0.881250 0.000000 306.000000 -0.350000 1000.000000
24 22.221416 2026-09-03T14:37:15.799 0.900000 0.000000 306.000000 -0.337500 1000.000000
25 23.231089 2026-09-03T14:37:16.809 0.881250 0.000000 306.000000 -0.312500 1000.000000
26 24.242616 2026-09-03T14:37:17.820 0.881250 0.000000 306.000000 -0.312500 1000.000000
27 25.251933 2026-09-03T14:37:18.830 0.881250 0.000000 306.000000 -0.337500 1000.000000