| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>伺服驱动选型工具 - 使用指南</title>
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
-
- body {
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- line-height: 1.6;
- color: #333;
- background-color: #f8f9fa;
- padding: 20px;
- }
-
- .container {
- max-width: 1200px;
- margin: 0 auto;
- background: white;
- border-radius: 10px;
- box-shadow: 0 0 20px rgba(0,0,0,0.1);
- overflow: hidden;
- }
-
- .header {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- padding: 30px;
- text-align: center;
- }
-
- .header h1 {
- font-size: 2.5rem;
- margin-bottom: 10px;
- }
-
- .header p {
- font-size: 1.2rem;
- opacity: 0.9;
- }
-
- .content {
- padding: 30px;
- }
-
- .section {
- margin-bottom: 40px;
- }
-
- .section h2 {
- color: #4a5568;
- margin-bottom: 20px;
- padding-bottom: 10px;
- border-bottom: 2px solid #e2e8f0;
- }
-
- .section h3 {
- color: #2d3748;
- margin: 15px 0 10px 0;
- }
-
- .steps {
- counter-reset: step-counter;
- list-style: none;
- }
-
- .steps li {
- counter-increment: step-counter;
- position: relative;
- padding: 15px 0 15px 60px;
- margin-bottom: 15px;
- background: #f7fafc;
- border-left: 4px solid #667eea;
- border-radius: 5px;
- }
-
- .steps li:before {
- content: counter(step-counter);
- position: absolute;
- left: 15px;
- top: 15px;
- width: 30px;
- height: 30px;
- background: #667eea;
- color: white;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: bold;
- }
-
- .transmission-types {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
- gap: 20px;
- margin-top: 20px;
- }
-
- .type-card {
- background: #f7fafc;
- padding: 20px;
- border-radius: 8px;
- border: 1px solid #e2e8f0;
- }
-
- .type-card h4 {
- color: #4a5568;
- margin-bottom: 10px;
- display: flex;
- align-items: center;
- }
-
- .type-card h4:before {
- content: "⚙️";
- margin-right: 10px;
- }
-
- .tips {
- background: #ebf8ff;
- border-left: 4px solid #4299e1;
- padding: 20px;
- border-radius: 5px;
- margin: 20px 0;
- }
-
- .tips h3 {
- display: flex;
- align-items: center;
- }
-
- .tips h3:before {
- content: "💡";
- margin-right: 10px;
- }
-
- .warning {
- background: #fff5f5;
- border-left: 4px solid #e53e3e;
- padding: 20px;
- border-radius: 5px;
- margin: 20px 0;
- }
-
- .warning h3 {
- display: flex;
- align-items: center;
- }
-
- .warning h3:before {
- content: "⚠️";
- margin-right: 10px;
- }
-
- .btn-group {
- display: flex;
- gap: 10px;
- margin-top: 20px;
- flex-wrap: wrap;
- }
-
- .btn {
- padding: 10px 20px;
- background: #667eea;
- color: white;
- text-decoration: none;
- border-radius: 5px;
- font-weight: bold;
- transition: background 0.3s;
- }
-
- .btn:hover {
- background: #5a67d8;
- }
-
- .btn-secondary {
- background: #718096;
- }
-
- .btn-secondary:hover {
- background: #4a5568;
- }
-
- @media (max-width: 768px) {
- .header {
- padding: 20px;
- }
-
- .header h1 {
- font-size: 2rem;
- }
-
- .content {
- padding: 20px;
- }
-
- .transmission-types {
- grid-template-columns: 1fr;
- }
- }
- </style>
- </head>
- <body>
- <div class="container">
- <div class="header">
- <h1>🔧 伺服驱动选型工具使用指南</h1>
- <p>专业级伺服电机与驱动器选型计算,支持多种传动结构类型</p>
- </div>
-
- <div class="content">
- <div class="section">
- <h2>🎯 快速开始</h2>
- <ol class="steps">
- <li><strong>选择传动类型</strong>:从下拉菜单中选择您的应用对应的传动类型(滚珠丝杠、同步带、减速机等)</li>
- <li><strong>输入参数</strong>:根据所选传动类型,填写相应的机械参数</li>
- <li><strong>设置通用参数</strong>:调整安全系数、允许惯量比、摩擦系数和传动效率</li>
- <li><strong>点击计算</strong>:点击"计算选型结果"按钮获取详细的选型建议</li>
- <li><strong>查看结果</strong>:分析计算结果,包括转矩、转速、惯量、功率等关键参数</li>
- </ol>
-
- <div class="btn-group">
- <a href="index.html" class="btn">立即开始使用</a>
- <a href="#transmission-types" class="btn btn-secondary">查看传动类型说明</a>
- </div>
- </div>
-
- <div class="section" id="transmission-types">
- <h2>⚙️ 传动类型详解</h2>
- <p>本工具支持7种常见的传动结构类型,每种类型都有其特定的应用场景:</p>
-
- <div class="transmission-types">
- <div class="type-card">
- <h4>滚珠丝杠</h4>
- <p><strong>适用场景:</strong>CNC机床、3D打印机、精密定位平台</p>
- <p><strong>关键参数:</strong>丝杠直径、导程、行程距离、负载质量</p>
- </div>
-
- <div class="type-card">
- <h4>同步带</h4>
- <p><strong>适用场景:</strong>自动化装配线、高速长行程应用、物料搬运</p>
- <p><strong>关键参数:</strong>滑轮直径、负载质量、最大线速度</p>
- </div>
-
- <div class="type-card">
- <h4>减速机</h4>
- <p><strong>适用场景:</strong>机器人关节、高扭矩低速应用、工业机械臂</p>
- <p><strong>关键参数:</strong>减速比、负载惯量、负载转矩</p>
- </div>
-
- <div class="type-card">
- <h4>转盘</h4>
- <p><strong>适用场景:</strong>分度台、旋转工作台、转台设备</p>
- <p><strong>关键参数:</strong>转盘质量、转盘半径、最大转速</p>
- </div>
-
- <div class="type-card">
- <h4>收放卷</h4>
- <p><strong>适用场景:</strong>薄膜处理、纸张卷绕、张力控制系统</p>
- <p><strong>关键参数:</strong>材料密度、宽度、初始/最终直径、张力</p>
- </div>
-
- <div class="type-card">
- <h4>直接驱动</h4>
- <p><strong>适用场景:</strong>高精度直接耦合、精密仪器、光学平台</p>
- <p><strong>关键参数:</strong>负载惯量、摩擦转矩、最大转速</p>
- </div>
-
- <div class="type-card">
- <h4>组合传动</h4>
- <p><strong>适用场景:</strong>复杂多级传动系统、特殊机械结构</p>
- <p><strong>关键参数:</strong>组合负载质量、主要/次要传动类型</p>
- </div>
- </div>
- </div>
-
- <div class="section">
- <h2>🔧 通用参数设置</h2>
-
- <h3>安全系数</h3>
- <p>安全系数用于增加选型余量,确保系统在实际运行中有足够的安全裕度。</p>
- <p><strong>推荐值:</strong>1.2 - 2.0</p>
- <p><strong>默认值:</strong>1.5</p>
-
- <h3>允许惯量比</h3>
- <p>惯量比是负载惯量与电机惯量的比值,影响系统的响应性能和稳定性。</p>
- <p><strong>典型范围:</strong>5 - 50</p>
- <p><strong>默认值:</strong>10</p>
- <p><em>注意:如果计算结果显示惯量比超过允许值,系统会显示警告信息</em></p>
-
- <h3>摩擦系数</h3>
- <p>表示机械系统中的摩擦阻力,影响所需的驱动转矩。</p>
- <p><strong>典型值:</strong>0.01 - 0.1</p>
- <p><strong>默认值:</strong>0.01</p>
-
- <h3>传动效率</h3>
- <p>考虑机械传动过程中的能量损耗。</p>
- <p><strong>典型值:</strong>0.8 - 0.95</p>
- <p><strong>默认值:</strong>0.9</p>
- </div>
-
- <div class="section">
- <h2>📊 结果解读</h2>
- <p>计算完成后,工具会显示以下关键参数:</p>
-
- <ul style="margin: 15px 0 15px 30px;">
- <li><strong>转速范围 (RPM)</strong>:电机的工作转速范围</li>
- <li><strong>连续转矩 (N·m)</strong>:持续工作所需的转矩,已包含安全系数</li>
- <li><strong>峰值转矩 (N·m)</strong>:加速阶段的最大转矩需求,已包含安全系数</li>
- <li><strong>负载惯量 (kg·m²)</strong>:折算到电机轴的总惯量</li>
- <li><strong>惯量比</strong>:负载惯量与电机惯量的比值</li>
- <li><strong>额定功率 (W)</strong>:电机所需的额定功率,已包含安全系数</li>
- </ul>
-
- <div class="tips">
- <h3>结果使用建议</h3>
- <p>• 根据连续转矩和峰值转矩选择合适的电机型号</p>
- <p>• 确保所选电机的额定转速覆盖计算的转速范围</p>
- <p>• 检查惯量比是否在合理范围内(通常 ≤ 10 为佳)</p>
- <p>• 验证电机的额定功率满足计算需求</p>
- </div>
- </div>
-
- <div class="section">
- <h2>💾 实用功能</h2>
-
- <h3>保存和加载配置</h3>
- <p>您可以保存当前的参数配置,以便后续快速加载使用。</p>
- <ul style="margin: 10px 0 10px 30px;">
- <li>点击"保存配置"按钮将当前设置保存到浏览器本地存储</li>
- <li>点击"加载配置"按钮从本地存储恢复之前的设置</li>
- </ul>
-
- <h3>结果导出</h3>
- <p>计算结果可以导出为文本文件,便于记录和分享。</p>
- <ul style="margin: 10px 0 10px 30px;">
- <li>点击"导出结果"按钮下载包含所有计算结果的文本文件</li>
- <li>文件名包含日期信息,便于版本管理</li>
- </ul>
-
- <h3>图表可视化</h3>
- <p>工具提供直观的性能指标图表,帮助您快速理解关键参数的关系。</p>
- </div>
-
- <div class="warning">
- <h3>安全提示</h3>
- <p>• 本工具的计算结果基于简化物理模型,仅供参考</p>
- <p>• 实际工程应用中,请结合具体产品规格手册进行最终选型</p>
- <p>• 关键应用建议咨询专业工程师或电机供应商</p>
- <p>• 考虑环境因素(温度、湿度、振动等)对电机性能的影响</p>
- <p>• 验证所选电机的热性能和长期可靠性</p>
- </div>
-
- <div class="section">
- <h2>🚀 启动方式</h2>
- <p>本工具可以在任何现代浏览器中直接运行,但推荐使用本地服务器以获得最佳体验:</p>
-
- <div class="steps">
- <li><strong>直接打开:</strong>双击 <code>index.html</code> 文件在浏览器中打开</li>
- <li><strong>本地服务器(推荐):</strong>在项目目录中运行启动脚本:
- <ul style="margin: 10px 0 0 20px;">
- <li><code>./start_optimized.sh</code> - Python 3.7+ 环境(推荐)</li>
- <li><code>./start_compatible.sh</code> - Python 3.6 兼容环境</li>
- <li><code>./start_ultralight.sh</code> - 超轻量级启动(无资源限制)</li>
- </ul>
- </li>
- </div>
- </div>
-
- <div class="section">
- <h2>❓ 常见问题解答 (FAQ)</h2>
-
- <h3>Q: 为什么计算结果显示惯量比警告?</h3>
- <p><strong>A:</strong> 惯量比超过设定的允许值(默认10)时会显示警告。高惯量比可能导致系统响应变慢或不稳定。建议:
- • 选择更大惯量的电机
- • 优化机械设计减少负载惯量
- • 调整允许惯量比参数(但需谨慎)</p>
-
- <h3>Q: 如何确定安全系数应该设置多少?</h3>
- <p><strong>A:</strong> 安全系数取决于应用的可靠性要求:
- • 一般工业应用:1.2 - 1.5
- • 高可靠性要求:1.5 - 2.0
- • 实验性/非关键应用:1.0 - 1.2</p>
-
- <h3>Q: 传动效率如何影响选型结果?</h3>
- <p><strong>A:</strong> 传动效率越低,所需的电机转矩越大。例如90%效率意味着需要约11%更大的转矩来补偿损耗。对于多级传动,总效率是各级效率的乘积。</p>
-
- <h3>Q: 组合传动类型应该如何使用?</h3>
- <p><strong>A:</strong> 组合传动适用于同时存在多种传动方式的复杂系统。主要传动类型应选择对系统性能影响最大的那个,次要因素通过调整摩擦系数和效率来考虑。</p>
-
- <h3>Q: 计算结果中的连续转矩和峰值转矩有什么区别?</h3>
- <p><strong>A:</strong>
- • <strong>连续转矩</strong>:电机长时间运行所需的转矩,决定电机的热性能要求
- • <strong>峰值转矩</strong>:加速/减速阶段的瞬时最大转矩,决定电机的动态性能
- 选型时两个参数都必须满足,通常峰值转矩需求更高。</p>
-
- <h3>Q: 如何验证计算结果的准确性?</h3>
- <p><strong>A:</strong> 建议采用以下方法验证:
- • 与供应商提供的选型软件对比
- • 参考类似成功案例的参数
- • 进行小规模原型测试
- • 咨询专业伺服系统工程师</p>
- </div>
-
- <div class="section">
- <h2>🤝 技术支持</h2>
- <p>如果您在使用过程中遇到问题或有改进建议,请联系开发者或提交 Issue。</p>
- <p>本工具基于 MIT 许可证发布,免费用于个人和商业项目。</p>
- </div>
- </div>
- </div>
- </body>
- </html>
|