{"id":97608,"date":"2024-09-11T11:01:20","date_gmt":"2024-09-11T03:01:20","guid":{"rendered":"\/\/www.viralrail.com\/?p=97608"},"modified":"2024-09-11T11:01:51","modified_gmt":"2024-09-11T03:01:51","slug":"lysmfftqwtb","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/97608.html","title":{"rendered":"LoRa\u7528\u4ec0\u4e48\u65b9\u6cd5\u63d0\u53d6\u4f4d\u540c\u6b65"},"content":{"rendered":"\n
\u3000\u3000\u5728LoRa(Long Range)\u901a\u4fe1\u7cfb\u7edf<\/strong>\u4e2d\uff0c\u4f4d\u540c\u6b65(bit synchronization)\u662f\u786e\u4fdd\u63a5\u6536\u7aef\u80fd\u591f\u6b63\u786e\u89e3\u7801\u53d1\u5c04\u7aef\u53d1\u9001\u7684\u6bd4\u7279\u6d41\u7684\u5173\u952e\u6b65\u9aa4\u3002LoRa\u91c7\u7528\u4e86\u72ec\u7279\u7684\u8c03\u5236\u6280\u672f\uff0c\u5373\u7ebf\u6027\u8c03\u9891\u6269\u9891(CSS\uff0cChirp Spread Spectrum)\uff0c\u8fd9\u79cd\u8c03\u5236\u65b9\u5f0f\u5bf9\u4f4d\u540c\u6b65\u63d0\u51fa\u4e86\u7279\u5b9a\u7684\u8981\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u5e27\u7684\u5f00\u5934\u901a\u5e38\u5305\u542b\u4e00\u4e2a\u524d\u5bfc\u7801(Preamble)\uff0c\u5b83\u7531\u4e00\u7cfb\u5217\u7279\u5b9a\u7684Chirp\u4fe1\u53f7\u7ec4\u6210\u3002\u524d\u5bfc\u7801\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u5e2e\u52a9\u63a5\u6536\u7aef\u8fdb\u884c\u4f4d\u540c\u6b65\u548c\u9891\u7387\u540c\u6b65\u3002\u63a5\u6536\u7aef\u901a\u8fc7\u68c0\u6d4b\u524d\u5bfc\u7801\u4e2d\u7684Chirp\u4fe1\u53f7\uff0c\u80fd\u591f\u786e\u5b9a\u5e27\u7684\u5f00\u59cb\u4f4d\u7f6e\uff0c\u5e76\u8fdb\u884c\u521d\u6b65\u7684\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u524d\u5bfc\u7801\u4e4b\u540e\uff0cLoRa\u5e27\u901a\u5e38\u5305\u542b\u4e00\u4e2a\u540c\u6b65\u5b57(Sync Word)\u3002\u540c\u6b65\u5b57\u662f\u4e00\u4e2a\u7279\u5b9a\u7684\u6bd4\u7279\u5e8f\u5217\uff0c\u7528\u4e8e\u8fdb\u4e00\u6b65\u786e\u8ba4\u5e27\u7684\u5f00\u59cb\u4f4d\u7f6e\uff0c\u5e76\u5e2e\u52a9\u63a5\u6536\u7aef\u8fdb\u884c\u4f4d\u540c\u6b65\u3002\u63a5\u6536\u7aef\u5728\u68c0\u6d4b\u5230\u524d\u5bfc\u7801\u540e\uff0c\u4f1a\u7ee7\u7eed\u5bfb\u627e\u540c\u6b65\u5b57\uff0c\u4ee5\u786e\u4fdd\u540c\u6b65\u7684\u51c6\u786e\u6027\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u7684\u8c03\u5236\u65b9\u5f0f\u662f\u57fa\u4e8e\u7b26\u53f7(Symbol)\u7684\uff0c\u6bcf\u4e2a\u7b26\u53f7\u4ee3\u8868\u591a\u4e2a\u6bd4\u7279\u3002\u901a\u8fc7\u68c0\u6d4b\u524d\u5bfc\u7801\u548c\u540c\u6b65\u5b57\u4e2d\u7684Chirp\u4fe1\u53f7\uff0c\u63a5\u6536\u7aef\u53ef\u4ee5\u8fdb\u884c\u7b26\u53f7\u540c\u6b65\uff0c\u786e\u5b9a\u6bcf\u4e2a\u7b26\u53f7\u7684\u5f00\u59cb\u548c\u7ed3\u675f\u4f4d\u7f6e\u3002\u7b26\u53f7\u540c\u6b65\u662f\u4f4d\u540c\u6b65\u7684\u57fa\u7840\uff0c\u56e0\u4e3a\u53ea\u6709\u6b63\u786e\u8bc6\u522b\u7b26\u53f7\uff0c\u624d\u80fd\u6b63\u786e\u89e3\u7801\u6bd4\u7279\u3002<\/p>\n\n\n\n \u3000\u3000\u9891\u7387\u540c\u6b65\u662f\u4f4d\u540c\u6b65\u7684\u4e00\u4e2a\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002LoRa\u7684CSS\u8c03\u5236\u65b9\u5f0f\u5bf9\u9891\u7387\u504f\u5dee\u8f83\u4e3a\u654f\u611f\uff0c\u56e0\u6b64\u63a5\u6536\u7aef\u9700\u8981\u5bf9\u9891\u7387\u8fdb\u884c\u7cbe\u786e\u7684\u540c\u6b65\u548c\u6821\u6b63\u3002\u63a5\u6536\u7aef\u901a\u8fc7\u5206\u6790\u524d\u5bfc\u7801\u548c\u540c\u6b65\u5b57\u4e2d\u7684Chirp\u4fe1\u53f7\uff0c\u53ef\u4ee5\u68c0\u6d4b\u5e76\u6821\u6b63\u9891\u7387\u504f\u5dee\uff0c\u4ece\u800c\u5b9e\u73b0\u9891\u7387\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000\u81ea\u52a8\u589e\u76ca\u63a7\u5236(AGC)\u662f\u63a5\u6536\u7aef\u7684\u4e00\u9879\u91cd\u8981\u6280\u672f\uff0c\u7528\u4e8e\u8c03\u6574\u63a5\u6536\u4fe1\u53f7\u7684\u589e\u76ca\uff0c\u4ee5\u786e\u4fdd\u4fe1\u53f7\u5f3a\u5ea6\u5728\u4e00\u4e2a\u5408\u9002\u7684\u8303\u56f4\u5185\u3002AGC\u53ef\u4ee5\u5e2e\u52a9\u63a5\u6536\u7aef\u66f4\u51c6\u786e\u5730\u68c0\u6d4b\u524d\u5bfc\u7801\u548c\u540c\u6b65\u5b57\uff0c\u4ece\u800c\u63d0\u9ad8\u4f4d\u540c\u6b65\u7684\u7cbe\u5ea6\u3002<\/p>\n\n\n\n \u3000\u3000\u63a5\u6536\u7aef\u901a\u5e38\u4f1a\u4f7f\u7528\u6570\u5b57\u4fe1\u53f7\u5904\u7406(DSP)\u6280\u672f\u6765\u63d0\u53d6\u4f4d\u540c\u6b65\u4fe1\u606f\u3002\u901a\u8fc7\u5bf9\u63a5\u6536\u5230\u7684\u4fe1\u53f7\u8fdb\u884c\u5feb\u901f\u5085\u91cc\u53f6\u53d8\u6362(FFT)\u548c\u5176\u4ed6\u4fe1\u53f7\u5904\u7406\u7b97\u6cd5\uff0c\u53ef\u4ee5\u7cbe\u786e\u5730\u68c0\u6d4b\u524d\u5bfc\u7801\u3001\u540c\u6b65\u5b57\u548c\u7b26\u53f7\u7684\u7279\u5f81\uff0c\u4ece\u800c\u5b9e\u73b0\u4f4d\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u901a\u4fe1\u7cfb\u7edf\u901a\u8fc7\u524d\u5bfc\u7801\u3001\u540c\u6b65\u5b57\u3001\u7b26\u53f7\u540c\u6b65\u3001\u9891\u7387\u540c\u6b65\u3001\u81ea\u52a8\u589e\u76ca\u63a7\u5236\u548c\u6570\u5b57\u4fe1\u53f7\u5904\u7406\u7b49\u591a\u79cd\u6280\u672f\u624b\u6bb5\uff0c\u5b9e\u73b0\u4e86\u4f4d\u540c\u6b65\u7684\u7cbe\u786e\u63d0\u53d6\u3002\u8fd9\u4e9b\u6280\u672f\u5171\u540c\u4f5c\u7528\uff0c\u786e\u4fdd\u4e86LoRa\u901a\u4fe1\u7684\u53ef\u9760\u6027\u548c\u7a33\u5b9a\u6027\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u63a5\u6536\u7aef\u901a\u5e38\u4f1a\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\uff0c\u4ee5\u63d0\u9ad8\u540c\u6b65\u7684\u51c6\u786e\u6027\u548c\u9c81\u68d2\u6027\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u6280\u672f\u4e2d\u524d\u5bfc\u7801\u548c\u540c\u6b65\u5b57\u7684\u5177\u4f53\u5de5\u4f5c\u539f\u7406\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000\u524d\u5bfc\u7801\u7528\u4e8e\u4fdd\u6301\u63a5\u6536\u673a\u4e0e\u8f93\u5165\u7684\u6570\u636e\u6d41\u540c\u6b65\uff0c\u786e\u4fdd\u63a5\u6536\u7aef\u80fd\u591f\u6b63\u786e\u5730\u89e3\u7801\u6570\u636e\u3002\u524d\u5bfc\u7801\u901a\u5e38\u4f4d\u4e8e\u6570\u636e\u5305\u7684\u5f00\u5934\uff0c\u7531\u53d1\u9001\u65b9\u4e3b\u52a8\u53d1\u9001\u7684\u4e00\u4e32\u540c\u6b65\u4fe1\u53f7\u7ec4\u6210\uff0c\u5176\u76ee\u7684\u662f\u4f7f\u63a5\u6536\u5668\u80fd\u591f\u4e0e\u4f20\u5165\u4fe1\u53f7\u4fdd\u6301\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000\u524d\u5bfc\u7801\u7684\u957f\u5ea6\u53ef\u4ee5\u53d8\u5316\uff0c\u4ece10\u523065.536\u4e2a\u7b26\u53f7\u4e0d\u7b49\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u524d\u5bfc\u7801\u53ef\u80fd\u5305\u542b8\u4e2a\u7b26\u53f7\u957f\u5ea6\u621612\u4e2a\u7b26\u53f7\u957f\u5ea6\u3002\u524d\u5bfc\u7801\u7531\u56db\u4e2a\u7b26\u53f7\u7684\u56fa\u5b9a\u90e8\u5206\u548c\u53ef\u7f16\u7a0b\u7684\u90e8\u5206\u7ec4\u6210\uff0c\u6700\u5c0f\u957f\u5ea6\u4e3a6\u4e2a\u7b26\u53f7\uff0c\u6700\u5927\u957f\u5ea6\u4e3a65.532\u4e2a\u7b26\u53f7\u3002<\/p>\n\n\n\n \u3000\u3000\u63a5\u6536\u5668\u901a\u8fc7\u68c0\u6d4b\u8fde\u7eed\u4e09\u4e2a\u632f\u8361\u7b26\u53f7\u6765\u8bc6\u522b\u65b0\u5e27\u7684\u5f00\u59cb\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u524d\u5bfc\u7801\u4ee5\u4e24\u4e2a\u7f16\u7801\u540c\u6b65\u5b57\u7684\u632f\u8361\u7b26\u53f7\u5f00\u5934\uff0c\u8fd9\u4e24\u4e2a\u632f\u8361\u7b26\u53f7\u7684\u6b63\u8d1f\u503c\u4e0d\u540c(\u4f8b\u5982x\u548cN\u2212x)\uff0c\u5f53\u63a5\u6536\u5668\u68c0\u6d4b\u5230\u8fd9\u4e09\u4e2a\u632f\u8361\u7b26\u53f7\u65f6\uff0c\u5c31\u4f1a\u8ba4\u4e3a\u6709\u65b0\u7684\u6570\u636e\u5e27\u5230\u6765\u3002<\/p>\n\n\n\n \u3000\u3000\u524d\u5bfc\u7801\u8fd8\u5305\u542b\u7528\u4e8e\u9891\u7387\u540c\u6b65\u7684\u4e24\u4e2a\u4e0b\u884c\u632f\u8361\u7b26\u53f7\uff0c\u5728\u6700\u540e\u4e00\u4e2a\u7b26\u53f7\u4e4b\u540e\u6709\u4e00\u4e2a0.25\u7b26\u53f7\u65f6\u95f4\u7684\u9759\u9ed8\u671f\uff0c\u8fd9\u5141\u8bb8\u63a5\u6536\u5668\u5bf9\u9f50\u5176\u5b9a\u65f6\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u5728\u524d\u5bfc\u7801\u672b\u5c3e\u5305\u542b\u4e24\u4e2a\u672a\u7f16\u7801\u7684\u57fa\u672c\u632f\u8361\u7b26\u53f7\uff0c\u7528\u4e8e\u7cbe\u786e\u5b9a\u65f6\u548c\u9891\u7387\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000\u540c\u6b65\u5b57\u662f\u7528\u4e8e\u786e\u4fdd\u53d1\u9001\u548c\u63a5\u6536\u8bbe\u5907\u4e4b\u95f4\u540c\u6b65\u7684\u4e00\u4e2a\u6216\u4e24\u4e2a\u5b57\u8282\u7684\u914d\u7f6e\u503c\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u533a\u5206\u6765\u81ea\u4e0d\u540c\u7f51\u7edc\u7684\u8bbe\u5907\uff0c\u5e76\u786e\u4fdd\u63a5\u6536\u5668\u80fd\u591f\u51c6\u786e\u5730\u89e3\u7801\u6570\u636e\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u4e00\u4ee3LoRa\u6a21\u7ec4(\u5982SX127X)\u4e2d\uff0c\u540c\u6b65\u5b57\u7531\u4e00\u4e2a\u5b57\u8282\u5bc4\u5b58\u5668RegSyncWord\u914d\u7f6e\uff0c\u9ed8\u8ba4\u5185\u5bb9\u4e3a0x12.\u6269\u5c55\u4e3a2\u5b57\u8282\u540e\u4e3a0x1424.\u540c\u6b65\u5b57\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u6bcf\u4e2a\u7f51\u7edc\u7684\u72ec\u7279\u503c\u6765\u533a\u5206\u6765\u81ea\u4e0d\u540c\u7f51\u7edc\u7684\u8bbe\u5907\u3002<\/p>\n\n\n\n \u3000\u3000\u540c\u6b65\u5b57\u901a\u5e38\u88ab\u914d\u7f6e\u4e3a\u4e00\u4e2a\u5305\u542b\u7279\u5b9a\u503c\u7684\u5e8f\u5217\uff0c\u63a5\u6536\u5668\u901a\u8fc7\u5339\u914d\u8fd9\u4e2a\u5e8f\u5217\u6765\u786e\u8ba4\u6570\u636e\u5305\u7684\u6709\u6548\u6027\u3002\u5982\u679c\u524d\u5bfc\u7801\u6216\u5934\u4e0d\u5305\u542b\u9884\u671f\u7684\u4fe1\u606f\uff0c\u5219\u7269\u7406\u5c42\u4e0d\u4f1a\u5c06\u6709\u6548\u8d1f\u8f7d\u4f20\u8f93\u5230MAC\u5c42\u3002<\/p>\n\n\n\n \u3000\u3000LoRa\u6280\u672f\u4e2d\u7684\u524d\u5bfc\u7801\u548c\u540c\u6b65\u5b57\u5206\u522b\u7528\u4e8e\u4fdd\u6301\u63a5\u6536\u5668\u4e0e\u6570\u636e\u6d41\u7684\u540c\u6b65\u4ee5\u53ca\u786e\u4fdd\u63a5\u6536\u5668\u80fd\u591f\u51c6\u786e\u5730\u89e3\u7801\u6765\u81ea\u4e0d\u540c\u7f51\u7edc\u7684\u6570\u636e\u3002<\/p>\n\n\n\n \u3000\u3000SX1278\u5185\u7f6e\u7684\u4f4d\u540c\u6b65\u5668\u662f\u5176\u5173\u952e\u529f\u80fd\u4e4b\u4e00\uff0c\u7528\u4e8e\u5b9e\u73b0\u65f6\u949f\u6062\u590d\u548c\u6570\u636e\u5305\u89e3\u7801\u3002\u4ee5\u4e0b\u662f\u5173\u4e8eSX1278\u5185\u7f6e\u4f4d\u540c\u6b65\u5668\u7684\u6280\u672f\u7ec6\u8282\u548c\u5b9e\u73b0\u65b9\u5f0f\u7684\u8be6\u7ec6\u8bf4\u660e\uff1a<\/p>\n\n\n\n \u3000\u3000\u4f4d\u540c\u6b65\u5668\u57fa\u4e8e\u63a5\u6536\u5230\u7684\u6570\u636e\u8fb9\u7f18\u8f6c\u6362\u7684\u65f6\u95f4\u6765\u63d0\u4f9b\u65f6\u95f4\u6062\u590d\u4fe1\u606f\uff0c\u4ece\u800c\u5b9e\u73b0\u6e05\u6d01\u4e14\u540c\u6b65\u7684\u6570\u5b57\u8f93\u51fa\u3002\u8fd9\u610f\u5473\u7740\u5b83\u80fd\u591f\u68c0\u6d4b\u6570\u636e\u6d41\u4e2d\u7684\u7279\u5b9a\u6a21\u5f0f(\u5982\u524d\u5bfc\u7801)\uff0c\u5e76\u636e\u6b64\u8c03\u6574\u5185\u90e8\u65f6\u949f\uff0c\u4ee5\u786e\u4fdd\u63a5\u6536\u7684\u6570\u636e\u4e0e\u53d1\u9001\u65f6\u7684\u65f6\u95f4\u4e00\u81f4\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u6570\u636e\u5305\u6a21\u5f0f\u4e0b\uff0c\u4f4d\u540c\u6b65\u5668\u4f1a\u81ea\u52a8\u6fc0\u6d3b\uff0c\u5e76\u7531\u5bc4\u5b58\u5668RegBitrate\u63a7\u5236\u5176\u6bd4\u7279\u7387\u3002\u8fd9\u4f7f\u5f97\u7528\u6237\u65e0\u9700\u624b\u52a8\u8bbe\u7f6e\uff0c\u53ea\u9700\u901a\u8fc7\u914d\u7f6e\u5bc4\u5b58\u5668\u5373\u53ef\u542f\u7528\u6216\u8c03\u6574\u540c\u6b65\u5668\u7684\u5de5\u4f5c\u53c2\u6570\u3002<\/p>\n\n\n\n \u3000\u3000\u8981\u786e\u4fdd\u4f4d\u540c\u6b65\u5668\u6b63\u786e\u8fd0\u884c\uff0c\u5fc5\u987b\u6ee1\u8db3\u4e00\u5b9a\u7684\u6761\u4ef6\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u81f3\u5c11\u9700\u898112\u4f4d\u7684\u524d\u5bfc(0x55 \u6216 0xAA)\u6765\u5b9e\u73b0\u540c\u6b65\u3002\u8f83\u957f\u7684\u540c\u6b65\u9636\u6bb5\u5c06\u5e26\u6765\u66f4\u597d\u7684\u540e\u7eed\u6570\u636e\u5305\u89e3\u7801\u6027\u80fd\uff0c\u56e0\u6b64\u5728\u8bbe\u8ba1\u901a\u4fe1\u534f\u8bae\u65f6\u5e94\u8003\u8651\u8fd9\u4e00\u56e0\u7d20\u3002<\/p>\n\n\n\n \u3000\u3000\u5c3d\u7ba1\u5728\u6700\u4f73\u63a5\u6536\u6027\u80fd\u7684\u60c5\u51b5\u4e0b\u5f3a\u70c8\u5efa\u8bae\u4f7f\u7528\u4f4d\u540c\u6b65\u5668\uff0c\u4f46\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u7981\u7528\u8be5\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u5728\u8fde\u7eed\u6a21\u5f0f\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u5bc4\u5b58\u5668\u8bbe\u7f6e\u7981\u7528\u4f4d\u540c\u6b65\u5668\u7684\u8f93\u51fa\u3002\u8fd9\u79cd\u7075\u6d3b\u6027\u5141\u8bb8\u7528\u6237\u6839\u636e\u5177\u4f53\u9700\u6c42\u4f18\u5316\u7cfb\u7edf\u6027\u80fd\u3002<\/p>\n\n\n\n \u3000\u3000SX1278\u82af\u7247\u5b8c\u5168\u6574\u5408\u4e86\u591a\u79cd\u8c03\u5236\u65b9\u5f0f\uff0c\u5305\u62ecFSK\u3001GFSK\u3001MSK\u3001LoRaTM\u548cOOK\u7b49\u3002\u8fd9\u4e9b\u8c03\u5236\u65b9\u5f0f\u90fd\u4f9d\u8d56\u4e8e\u9ad8\u6548\u7684\u4f4e\u529f\u8017\u8c03\u5236\u89e3\u8c03\u6280\u672f\uff0c\u800c\u5185\u7f6e\u7684\u4f4d\u540c\u6b65\u5668\u5219\u662f\u5176\u4e2d\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u7528\u4e8e\u786e\u4fdd\u5728\u5404\u79cd\u8c03\u5236\u6a21\u5f0f\u4e0b\u90fd\u80fd\u83b7\u5f97\u7a33\u5b9a\u7684\u65f6\u949f\u6062\u590d\u548c\u6570\u636e\u89e3\u7801\u80fd\u529b\u3002<\/p>\n\n\n\n \u3000\u3000SX1278\u5e7f\u6cdb\u5e94\u7528\u4e8e\u7269\u8054\u7f51\u3001\u65e0\u7ebf\u4f20\u611f\u5668\u7f51\u7edc\u548c\u8fdc\u7a0b\u76d1\u63a7\u7b49\u9886\u57df\u3002\u7531\u4e8e\u5176\u51fa\u8272\u7684\u6297\u5e72\u6270\u80fd\u529b\u548c\u957f\u8ddd\u79bb\u4f20\u8f93\u7279\u6027\uff0c\u7ed3\u5408\u9ad8\u6548\u7684\u4f4d\u540c\u6b65\u5668\uff0c\u4f7f\u5f97\u8be5\u82af\u7247\u975e\u5e38\u9002\u5408\u9700\u8981\u9ad8\u53ef\u9760\u6027\u548c\u4f4e\u529f\u8017\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n\n\n\n \u3000\u3000SX1278\u5185\u7f6e\u7684\u4f4d\u540c\u6b65\u5668\u901a\u8fc7\u57fa\u4e8e\u6570\u636e\u8fb9\u7f18\u8f6c\u6362\u7684\u65f6\u95f4\u6062\u590d\u673a\u5236\uff0c\u5b9e\u73b0\u4e86\u9ad8\u6548\u4e14\u7a33\u5b9a\u7684\u6570\u5b57\u8f93\u51fa\u3002<\/p>\n\n\n\n \u3000\u3000LoRaWAN\u534f\u8bae\u4e2d\u7684\u5e94\u7528\u5c42\u65f6\u949f\u540c\u6b65\u4e3b\u8981\u901a\u8fc7\u7f51\u7edc\u4e2d\u7684\u7f51\u5173\u5b9e\u73b0\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u7ec8\u7aef\u8bbe\u5907\u9996\u5148\u9700\u8981\u4e0e\u7f51\u7edc\u4fe1\u6807\u540c\u6b65\uff0c\u4f7f\u5176\u5185\u90e8\u65f6\u949f\u53c2\u8003\u4e0e\u7f51\u7edc\u4fdd\u6301\u540c\u6b65\u3002\u5728\u542f\u7528Class B\u529f\u80fd\u4e4b\u524d\uff0c\u7ec8\u7aef\u8bbe\u5907\u5e94\u9996\u5148\u4e0e\u7f51\u7edc\u4fe1\u6807\u540c\u6b65\uff0c\u4e00\u65e6\u542f\u7528\uff0c\u7ec8\u7aef\u8bbe\u5907\u5e94\u5b9a\u671f\u641c\u7d22\u5e76\u63a5\u6536\u7f51\u7edc\u4fe1\u6807\u4ee5\u6d88\u9664\u5176\u5185\u90e8\u65f6\u949f\u65f6\u95f4\u57fa\u51c6\u4e0e\u7f51\u7edc\u5b9a\u65f6\u4e4b\u95f4\u7684\u6f02\u79fb\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0c\u5728\u591a\u7f51\u5173\u573a\u666f\u4e0b\uff0c\u4e3a\u4e86\u63d0\u9ad8\u540c\u6b65\u7cbe\u5ea6\u548c\u9002\u5e94\u7ec8\u7aef\u8bbe\u5907\u7684\u79fb\u52a8\u6027\uff0c\u6bcf\u4e2a\u7f51\u5173\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u65f6\u95f4\u4ee5\u4e0d\u540c\u7684\u6269\u5c55\u56e0\u5b50\u5e7f\u64ad\u540c\u6b65\u62a5\u6587\u3002\u5982\u679c\u7ec8\u7aef\u8bbe\u5907\u6682\u65f6\u65e0\u6cd5\u63a5\u6536\u5230\u4fe1\u6807(\u4f8b\u5982\u7531\u4e8e\u8fdc\u79bb\u7f51\u7edc\u7f51\u5173\u6216\u5e72\u6270)\uff0c\u5219\u5e94\u9010\u6e10\u6269\u5927\u4fe1\u6807\u548cping-slot\u63a5\u6536\u7a97\u53e3\u6765\u9002\u5e94\u53ef\u80fd\u7684\u65f6\u949f\u6f02\u79fb\u3002\u5728\u4fe1\u6807\u4e22\u5931\u7684\u60c5\u51b5\u4e0b\uff0c\u7ec8\u7aef\u8bbe\u5907\u5e94\u80fd\u591f\u5728\u63a5\u6536\u5230\u6700\u540e\u4e00\u4e2a\u4fe1\u6807\u540e\u7ef4\u63012\u5c0f\u65f6\u7684\u65e0\u4fe1\u6807\u64cd\u4f5c\uff0c\u4f9d\u9760\u81ea\u8eab\u7684\u65f6\u949f\u6765\u4fdd\u6301\u65f6\u95f4\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u6ca1\u6709GPS\u6388\u65f6\u7684\u5ba4\u5185\u4e0b\u884c\u540c\u6b65LoRaWAN\u7f51\u7edc\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u7f51\u5173\u95f4LoRa\/GFSK\u4fe1\u9053\u5e7f\u64ad\u4f20\u8f93\u65f6\u949f\u7684\u65b9\u6cd5\u5b9e\u73b0\u6240\u6709\u7f51\u5173\u65f6\u949f\u540c\u6b65\u3002\u6b64\u5916\uff0cNS\u4fa7\u901a\u8fc7NTP\u534f\u8bae\u540c\u6b65\u65f6\u949f\u5230\u7f51\u5173\uff0c\u518d\u901a\u8fc7\u5e7f\u64ad\u4fe1\u9053\u5468\u671f\u540c\u6b65\u65f6\u949f\u5230\u8282\u70b9\u3002<\/p>\n\n\n\n \u3000\u3000\u5728LoRa\u7f51\u7edc\u4e2d\uff0c\u81ea\u9002\u5e94\u7b97\u6cd5\u63d0\u9ad8\u540c\u6b65\u7cbe\u5ea6\u7684\u5177\u4f53\u673a\u5236\u4e3b\u8981\u901a\u8fc7\u9009\u62e9\u6700\u4f73\u7684\u540c\u6b65\u65f6\u95f4\u548c\u6269\u9891\u56e0\u5b50\u6765\u5b9e\u73b0\u3002\u6839\u636e\uff0c\u4e01\u5955\u6587\u7b49\u4eba\u63d0\u51fa\u4e86\u4e00\u79cd\u57fa\u4e8e\u9057\u4f20\u7b97\u6cd5\u7684\u542f\u53d1\u5f0f\u7b97\u6cd5\uff0c\u7528\u4e8e\u4f18\u5316LoRa\u7f51\u7edc\u4e2d\u7684\u65f6\u95f4\u540c\u6b65\u65b9\u6848\u3002\u8be5\u7b97\u6cd5\u901a\u8fc7\u8fed\u4ee3\u751f\u6210\u548c\u9009\u62e9\u65b0\u7684\u67d3\u8272\u4f53(\u5373\u4e0d\u540c\u7684\u540c\u6b65\u65f6\u95f4\u548c\u6269\u9891\u56e0\u5b50\u7ec4\u5408)\uff0c\u9010\u6b65\u63d0\u9ad8\u7f51\u7edc\u7684\u540c\u6b65\u7cbe\u5ea6\u3002\u5728\u591a\u7f51\u5173\u573a\u666f\u4e0b\uff0c\u7ec8\u7aef\u8bbe\u5907\u9700\u8981\u4ece\u4e0d\u540c\u7684\u7f51\u5173\u4e2d\u9009\u62e9\u4e00\u4e2a\u6269\u9891\u56e0\u5b50\u548c\u540c\u6b65\u65f6\u95f4\u6765\u63a5\u6536\u540c\u6b65\u62a5\u6587\uff0c\u8fd9\u51b3\u5b9a\u4e86\u5176\u65f6\u95f4\u540c\u6b65\u7684\u7cbe\u5ea6\u3002\u901a\u8fc7\u4f18\u5316\u95ee\u9898\u5c06\u7ec8\u7aef\u8bbe\u5907\u4e0e\u7f51\u5173\u5339\u914d\uff0c\u5e76\u9009\u62e9\u6700\u4f73\u540c\u6b65\u65f6\u95f4\u548c\u6269\u9891\u56e0\u5b50\uff0c\u4ee5\u6700\u5c0f\u5316\u7f51\u7edc\u4e2d\u65f6\u95f4\u540c\u6b65\u5931\u8d25\u7684\u7ec8\u7aef\u8bbe\u5907\u6570\u91cf\u3002<\/p>\n\n\n\n \u3000\u3000\u6b64\u5916\uff0c\u4e5f\u63d0\u5230\u4e86\u6269\u9891\u56e0\u5b50\u7684\u9009\u62e9\u5bf9\u65f6\u95f4\u540c\u6b65\u7cbe\u5ea6\u7684\u5f71\u54cd\u3002\u4e0d\u540c\u7684\u6269\u9891\u56e0\u5b50\u4f1a\u5f71\u54cd\u4fe1\u53f7\u7684\u4f20\u64ad\u8ddd\u79bb\u548c\u7a33\u5b9a\u6027\uff0c\u4ece\u800c\u5f71\u54cd\u65f6\u95f4\u540c\u6b65\u7684\u51c6\u786e\u6027\u3002\u5728\u591a\u7f51\u5173\u573a\u666f\u4e2d\uff0c\u5229\u7528\u4e0d\u540c\u7f51\u5173\u7684\u4e0d\u540c\u6269\u9891\u56e0\u5b50\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u9ad8\u7f51\u7edc\u7684\u540c\u6b65\u7cbe\u5ea6\u3002<\/p>\n\n\n\n \u3000\u3000\u8bc4\u4f30LoRa\u4f4d\u540c\u6b65\u65b9\u6cd5\u7684\u6709\u6548\u6027\u548c\u51c6\u786e\u6027\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\u8fdb\u884c\uff1a<\/p>\n\n\n\n \u3000\u3000\u901a\u8fc7\u6d4b\u91cf\u7ec8\u7aef\u8bbe\u5907\u672c\u5730\u65f6\u949f\u4e0e\u5168\u5c40\u65f6\u949f\u4e4b\u95f4\u7684\u5dee\u503c(\u5373\u65f6\u949f\u6f02\u79fb)\uff0c\u53ef\u4ee5\u8bc4\u4f30\u540c\u6b65\u7684\u51c6\u786e\u6027\u3002\u5982\u679c\u65f6\u949f\u6f02\u79fb\u6ca1\u6709\u8d85\u8fc7\u4fdd\u62a4\u65f6\u95f4\uff0c\u5219\u8ba4\u4e3a\u540c\u6b65\u7cbe\u5ea6\u8f83\u9ad8\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u65f6\u949f\u6f02\u79fb\u5bb9\u9650\u6765\u8868\u793a\u7ec8\u7aef\u8bbe\u5907\u5f53\u524d\u7684\u65f6\u949f\u504f\u79fb\u4e0e\u6210\u529f\u7684\u65f6\u95f4\u540c\u6b65\u7684\u5dee\u8ddd\u3002<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8e\u7269\u7406\u5c42\u540c\u6b65\u7b97\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u4eff\u771f\u7ed3\u679c\u6765\u9a8c\u8bc1\u5176\u6709\u6548\u6027\u548c\u53ef\u9760\u6027\u3002\u4f8b\u5982\uff0c\u6709\u7814\u7a76\u901a\u8fc7\u4eff\u771f\u5bf9\u6bd4\u8868\u660e\u6240\u8bbe\u8ba1\u7684\u4f4e\u590d\u6742\u5ea6\u5b9a\u65f6\u4e0e\u8f7d\u6ce2\u9891\u7387\u540c\u6b65\u7b97\u6cd5\u4e0e\u5b9e\u9645\u6548\u679c\u57fa\u672c\u4e00\u81f4\uff0c\u4ece\u800c\u9a8c\u8bc1\u4e86\u5176\u6709\u6548\u6027\u3002\u7c7b\u4f3c\u5730\uff0c\u9488\u5bf9\u536b\u661fIoT\u901a\u4fe1\u7cfb\u7edf\u7684\u63a5\u6536\u673a\u540c\u6b65\u65b9\u6848\u4e5f\u901a\u8fc7\u4eff\u771f\u8bc1\u660e\u4e86\u5176\u6709\u6548\u6027\u3002<\/p>\n\n\n\n \u3000\u3000\u63d0\u51fa\u5e76\u5e94\u7528\u4f18\u5316\u7684\u540c\u6b65\u65b9\u6cd5\uff0c\u5982\u5dee\u5206\u7b97\u6cd5\u548c\u63d2\u503c\u7b97\u6cd5\u5bf9\u524d\u5bfc\u4fe1\u53f7\u7684\u5f52\u4e00\u5316\u7684\u5c0f\u6570\u9891\u504f\u548c\u5c0f\u6570\u65f6\u5ef6\u8fdb\u884c\u4f30\u8ba1\uff0c\u5e76\u7ed3\u5408FFT\u540c\u6b65\u8fdb\u884c\u8054\u5408\u4f30\u8ba1\uff0c\u53ef\u4ee5\u63d0\u9ad8\u540c\u6b65\u7cbe\u5ea6\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5177\u4f53\u7cfb\u7edf\u6a21\u578b\u4e2d\uff0c\u8003\u8651\u4fe1\u9053\u6761\u4ef6(\u5982AWGN\u4fe1\u9053)\u4e0b\u7684\u7f16\u7801\u975e\u76f8\u5e72LoRa\u4f20\u8f93\u7cfb\u7edf\uff0c\u901a\u8fc7\u4eff\u771f\u9a8c\u8bc1\u540c\u6b65\u65b9\u6848\u7684\u6709\u6548\u6027\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5206\u6790\u4e0d\u540c\u6269\u9891\u56e0\u5b50\u4e0b\u7684\u4fdd\u62a4\u65f6\u95f4\u6765\u8bc4\u4f30\u540c\u6b65\u7cbe\u5ea6\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d\uff0c\u901a\u8fc7\u4f4e\u5f00\u9500\u7684\u540c\u6b65\u548c\u8c03\u5ea6\u673a\u5236\uff0c\u5c06\u65f6\u95f4\u5212\u5206\u4e3a\u65f6\u95f4\u69fd\uff0c\u5e76\u7531\u7f51\u7edc\u670d\u52a1\u5668\u4e2d\u7684\u8c03\u5ea6\u5b9e\u4f53\u7ef4\u62a4\u8fd9\u4e9b\u65f6\u95f4\u69fd\u3002\u7ec8\u7aef\u8282\u70b9\u53ef\u4ee5\u6839\u636e\u56de\u590d\u786e\u5b9a\u5f53\u524d\u65f6\u95f4\u548c\u672a\u6765\u53ef\u4ee5\u4f20\u8f93\u7684\u65f6\u95f4\u69fd\uff0c\u4ece\u800c\u5b9e\u73b0\u9ad8\u6548\u7684\u540c\u6b65\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u591a\u7f51\u5173\u573a\u666f\u4e0b\uff0c\u901a\u8fc7\u9009\u62e9\u5408\u9002\u7684\u540c\u6b65\u65f6\u95f4\u548c\u6269\u9891\u56e0\u5b50\uff0c\u4ee5\u53ca\u91c7\u7528\u79fb\u52a8\u611f\u77e5\u7684\u81ea\u9002\u5e94\u7b97\u6cd5\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u63d0\u9ad8\u540c\u6b65\u7cbe\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5728LoRa(Long Range)\u901a\u4fe1\u7cfb\u7edf\u4e2d\uff0c\u4f4d\u540c\u6b65(bit synchronization)\u662f\u786e\u4fdd\u63a5\u6536\u7aef\u80fd\u591f\u6b63\u786e\u89e3\u7801\u53d1\u5c04\u7aef\u53d1\u9001\u7684\u6bd4\u7279\u6d41\u7684\u5173\u952e\u6b65\u9aa4\u3002LoRa\u91c7\u7528\u4e86\u72ec\u7279\u7684\u8c03\u5236\u6280\u672f\uff0c\u5373\u7ebf\u6027\u8c03\u9891\u6269\u9891<\/p>\n","protected":false},"author":1,"featured_media":96079,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[54],"class_list":["post-97608","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-l-2"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97608"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=97608"}],"version-history":[{"count":1,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97608\/revisions"}],"predecessor-version":[{"id":97609,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/97608\/revisions\/97609"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/96079"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=97608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=97608"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=97608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 LoRa\u7528\u4e8e\u63d0\u53d6\u4f4d\u540c\u6b65\u7684\u4e00\u4e9b\u4e3b\u8981\u65b9\u6cd5\uff1a<\/h2>\n\n\n\n
\u3000\u30001. \u524d\u5bfc\u7801(Preamble)<\/h3>\n\n\n\n
\u3000\u30002. \u540c\u6b65\u5b57(Sync Word)<\/h3>\n\n\n\n
\u3000\u30003. \u7b26\u53f7\u540c\u6b65(Symbol Synchronization)<\/h3>\n\n\n\n
\u3000\u30004. \u9891\u7387\u540c\u6b65(Frequency Synchronization)<\/h3>\n\n\n\n
\u3000\u30005. \u81ea\u52a8\u589e\u76ca\u63a7\u5236(AGC)<\/h3>\n\n\n\n
\u3000\u30006. \u6570\u5b57\u4fe1\u53f7\u5904\u7406(DSP)\u6280\u672f<\/h3>\n\n\n\n
\u3000\u30007. \u603b\u7ed3<\/h3>\n\n\n\n
\u3000\u3000\u4e8c\u3001 LoRa\u6280\u672f\u4e2d\u524d\u5bfc\u7801\u548c\u540c\u6b65\u5b57\u7684\u5177\u4f53\u5de5\u4f5c\u539f\u7406<\/h2>\n\n\n\n
\u3000\u30001. \u524d\u5bfc\u7801\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n\n\n\n
\u3000\u30002. \u540c\u6b65\u5b57\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n\n\n\n
\u3000\u3000\u4e09\u3001 SX1278\u5185\u7f6e\u4f4d\u540c\u6b65\u5668\u7684\u6280\u672f\u7ec6\u8282<\/h2>\n\n\n\n
\u3000\u3000\u56db\u3001 LoRaWAN\u534f\u8bae\u4e2d\u7684\u5e94\u7528\u5c42\u65f6\u949f\u540c\u6b65\u5982\u4f55\u5b9e\u73b0<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u5728LoRa\u7f51\u7edc\u4e2d\u81ea\u9002\u5e94\u7b97\u6cd5\u63d0\u9ad8\u540c\u6b65\u7cbe\u5ea6\u7684\u5177\u4f53\u673a\u5236<\/h2>\n\n\n\n
\u3000\u3000\u516d\u3001 LoRa\u4f4d\u540c\u6b65\u65b9\u6cd5\u7684\u6709\u6548\u6027\u548c\u51c6\u786e\u6027?<\/h2>\n\n\n\n