|
- <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="760" viewBox="0 0 1200 760">
- <style>
- text { font-family: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; fill: #172033; }
- .title { font-size: 22px; font-weight: 700; }
- .sub { font-size: 15px; fill: #526078; }
- .axis { stroke: #39465e; stroke-width: 1.5; }
- .grid { stroke: #d9dfeb; stroke-width: 1; stroke-dasharray: 4 5; }
- .boundary { stroke: #97a2b7; stroke-width: 1; stroke-dasharray: 5 5; }
- .good { fill: none; stroke: #087f5b; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
- .bad { fill: none; stroke: #d94841; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
- .label { font-size: 14px; }
- .small { font-size: 13px; fill: #526078; }
- .pill-good { fill: #dff5ec; stroke: #087f5b; }
- .pill-bad { fill: #ffebe9; stroke: #d94841; }
- </style>
-
- <rect width="1200" height="760" fill="#fbfcff"/>
- <text x="600" y="32" text-anchor="middle" class="title">5 段 PLSR 理论频率包络(横轴:累计脉冲数)</text>
- <text x="600" y="55" text-anchor="middle" class="sub">等待条件均为 4;同向连续执行;理想连续值,实际定时器频率会有少量量化</text>
-
- <!-- Recommended global-lookahead chart -->
- <text x="80" y="82" class="title" font-size="18">A. 满足脉冲数、加减速度、最终停止速度的全轨迹规划</text>
- <rect x="80" y="92" width="66.25" height="238" fill="#eef4ff"/>
- <rect x="146.25" y="92" width="198.75" height="238" fill="#f7f9fd"/>
- <rect x="345" y="92" width="331.25" height="238" fill="#eef4ff"/>
- <rect x="676.25" y="92" width="397.5" height="238" fill="#f7f9fd"/>
- <rect x="1073.75" y="92" width="66.25" height="238" fill="#eef4ff"/>
-
- <line x1="80" y1="330" x2="1140" y2="330" class="axis"/>
- <line x1="80" y1="70" x2="80" y2="330" class="axis"/>
- <line x1="80" y1="278" x2="1140" y2="278" class="grid"/>
- <line x1="80" y1="226" x2="1140" y2="226" class="grid"/>
- <line x1="80" y1="174" x2="1140" y2="174" class="grid"/>
- <line x1="80" y1="122" x2="1140" y2="122" class="grid"/>
- <line x1="80" y1="70" x2="1140" y2="70" class="grid"/>
-
- <g>
- <line x1="146.25" y1="92" x2="146.25" y2="330" class="boundary"/>
- <line x1="345" y1="92" x2="345" y2="330" class="boundary"/>
- <line x1="676.25" y1="92" x2="676.25" y2="330" class="boundary"/>
- <line x1="1073.75" y1="92" x2="1073.75" y2="330" class="boundary"/>
- </g>
-
- <!-- Frequency envelope: S1, S2, S3, S4 accel/plateau/brake, S5 brake -->
- <path class="good" d="M80 327.4 Q81.2 310 83.31 304 L146.25 304
- Q150 285 156.19 278 L345 278
- Q360 238 384.75 226 L676.25 226
- Q735 145 835.25 122 L928 122
- Q990 147 1073.75 213.7
- Q1112 247 1140 327.4"/>
-
- <rect x="760" y="86" width="292" height="30" rx="15" class="pill-good"/>
- <text x="906" y="106" text-anchor="middle" class="label">段 4 提前制动,段 5 完成最终减速</text>
-
- <text x="113" y="350" text-anchor="middle" class="label">段1</text>
- <text x="246" y="350" text-anchor="middle" class="label">段2</text>
- <text x="511" y="350" text-anchor="middle" class="label">段3</text>
- <text x="875" y="350" text-anchor="middle" class="label">段4</text>
- <text x="1107" y="350" text-anchor="middle" class="label">段5</text>
- <text x="1075" y="207" text-anchor="end" class="label">≈4473 Hz</text>
- <text x="1140" y="322" text-anchor="end" class="label">100 Hz</text>
-
- <g class="small" text-anchor="end">
- <text x="72" y="334">0</text>
- <text x="72" y="282">2000</text>
- <text x="72" y="230">4000</text>
- <text x="72" y="178">6000</text>
- <text x="72" y="126">8000</text>
- <text x="72" y="75">10000 Hz</text>
- </g>
- <g class="small" text-anchor="middle">
- <text x="80" y="369">0</text>
- <text x="146.25" y="369">1000</text>
- <text x="345" y="369">4000</text>
- <text x="676.25" y="369">9000</text>
- <text x="1073.75" y="369">15000</text>
- <text x="1140" y="369">16000</text>
- </g>
-
- <!-- Current local-per-segment behavior chart -->
- <text x="80" y="420" class="title" font-size="18">B. 若强制段 4 以 8000 Hz 结束:段 5 距离不足,只能高速切断</text>
- <line x1="80" y1="690" x2="1140" y2="690" class="axis"/>
- <line x1="80" y1="430" x2="80" y2="690" class="axis"/>
- <line x1="80" y1="638" x2="1140" y2="638" class="grid"/>
- <line x1="80" y1="586" x2="1140" y2="586" class="grid"/>
- <line x1="80" y1="534" x2="1140" y2="534" class="grid"/>
- <line x1="80" y1="482" x2="1140" y2="482" class="grid"/>
- <line x1="80" y1="430" x2="1140" y2="430" class="grid"/>
- <g>
- <line x1="146.25" y1="430" x2="146.25" y2="690" class="boundary"/>
- <line x1="345" y1="430" x2="345" y2="690" class="boundary"/>
- <line x1="676.25" y1="430" x2="676.25" y2="690" class="boundary"/>
- <line x1="1073.75" y1="430" x2="1073.75" y2="690" class="boundary"/>
- </g>
- <path class="bad" d="M80 687.4 Q81.2 670 83.31 664 L146.25 664
- Q150 645 156.19 638 L345 638
- Q360 598 384.75 586 L676.25 586
- Q735 505 835.25 482 L1073.75 482
- Q1105 495 1140 517.5 L1140 687.4"/>
- <rect x="810" y="445" width="286" height="30" rx="15" class="pill-bad"/>
- <text x="953" y="465" text-anchor="middle" class="label">段 5:8000 → 约6633 Hz → Gate</text>
- <text x="1136" y="512" text-anchor="end" class="label">≈6633 Hz</text>
- <text x="1140" y="708" text-anchor="middle" class="small">第16000脉冲后高速切断</text>
- <g class="small" text-anchor="end">
- <text x="72" y="694">0</text>
- <text x="72" y="642">2000</text>
- <text x="72" y="590">4000</text>
- <text x="72" y="538">6000</text>
- <text x="72" y="486">8000</text>
- <text x="72" y="435">10000 Hz</text>
- </g>
-
- <text x="600" y="744" text-anchor="middle" class="sub">注意:图示是频率包络,不是 Y0 的高低电平方波;正常连续段边界不应出现额外低电平间隔。</text>
- </svg>
|