RF Signal-to-Noise Ratio (SNR) Calculator

.calc-header { margin-bottom: 30px; padding: 25px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); color: white; } .calc-header h2 { margin-top: 0; color: white; font-size: 28px; margin-bottom: 10px; } .calc-header p { margin: 10px 0; opacity: 0.95; font-size: 15px; } .form-group { margin-top: 20px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; } .input-wrapper { display: flex; flex-direction: column; } .input-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: white; opacity: 0.95; } .calc-input { padding: 14px; font-size: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 6px; font-family: 'Courier New', monospace; background: rgba(255,255,255,0.95); transition: all 0.3s ease; color: #333; } .calc-input:focus { outline: none; border-color: #4CAF50; background: white; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); } .calc-button { padding: 14px 35px; font-size: 16px; background: #4CAF50; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.2); margin-top: 15px; min-width: 150px; } .calc-button:hover { background: #45a049; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.3); } .calc-button:active { background: #3d8b40; transform: translateY(0); } .result-section { background: white; border: 1px solid #e0e0e0; border-radius: 8px; margin-top: 30px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: all 0.3s ease; display: none; } .result-section.show { display: block; } .result-section:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .section-header { background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; user-select: none; } .section-header h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 10px; } .section-header .icon { font-size: 20px; } .section-content { padding: 20px; background: #fafafa; } .data-row { display: flex; margin: 12px 0; padding: 10px; background: white; border-radius: 4px; border-left: 3px solid #4CAF50; } .data-label { font-weight: bold; color: #555; min-width: 180px; flex-shrink: 0; } .data-value { color: #333; font-family: 'Courier New', monospace; word-break: break-word; } .data-value.highlight { color: #4CAF50; font-weight: bold; font-size: 18px; } .result-alert { padding: 15px 20px; border-radius: 8px; border-left: 4px solid; margin: 15px 0; display: flex; align-items: flex-start; gap: 15px; } .result-alert.success { background: #e8f5e9; border-color: #4CAF50; color: #2e7d32; } .result-alert.warning { background: #fff3e0; border-color: #ff9800; color: #e65100; } .result-alert.error { background: #ffebee; border-color: #f44336; color: #c62828; } .result-icon { font-size: 28px; flex-shrink: 0; } .result-content { flex: 1; } .result-title { font-weight: bold; font-size: 16px; margin-bottom: 8px; } .result-details { font-size: 14px; line-height: 1.6; } .help-text { margin-top: 15px; font-size: 14px; color: rgba(255,255,255,0.9); background: rgba(0,0,0,0.1); padding: 10px 15px; border-radius: 4px; } .help-text strong { color: white; } .info-section { margin-top: 30px; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); border-top: 3px solid #4CAF50; } .info-section h4 { margin-top: 0; color: #333; font-size: 16px; } .info-section p { color: #666; font-size: 14px; line-height: 1.6; margin: 10px 0; } .snr-table { width: 100%; margin-top: 15px; border-collapse: collapse; } .snr-table th, .snr-table td { padding: 10px; text-align: left; border-bottom: 1px solid #e0e0e0; } .snr-table th { background: #f5f5f5; font-weight: bold; color: #555; } .snr-table td:first-child { font-family: 'Courier New', monospace; font-weight: bold; } /* Responsive design */ @media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } .data-row { flex-direction: column; } .data-label { margin-bottom: 5px; min-width: auto; } .calc-button { width: 100%; } }

射频信噪比计算器

计算信噪比 (SNR) 以确定无线信号质量并预测设备连接问题。

笔记:SNR 的计算方式为“信号 - 噪声”。值越高表示信号质量越好。为了实现可靠的无线连接,建议最小 SNR 为 15-20 dB。

📊结果

了解信噪比 (SNR)

信噪比是无线通信中的一个关键指标,用于测量所需信号相对于背景噪声的强度。 它是通过从信号强度(均以 dBm 为单位)中减去噪声水平来计算的。

SNR 质量指南:

信噪比范围 质量 预期表现
40+分贝 出色的 最大吞吐量,无丢包
25-40分贝 非常好 高吞吐量,最少的问题
15-25分贝 好的 连接可靠,吞吐量适中
10-15分贝 公平的 基本连接,可能丢包
5-10分贝 贫穷的 连接不稳定,经常掉线
< 5 分贝 很差 无法使用,连接失败