xuos-web/docs/doc/hardware/connector/NB-IOT.md

588 lines
18 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# NB-IOT
<!--不放在这里会导致标题不等高-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ProgId" content="Excel.Sheet">
<meta name="Generator" content="Aspose.Cell 18.4">
<link rel="File-List" href="092117352726_files/filelist.xml">
<link rel="Edit-Time-Data" href="092117352726_files/editdata.mso">
<link rel="OLE-Object-Data" href="092117352726_files/oledata.mso">
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{
mso-header-data:"";
mso-footer-data:"";
margin:0.75in 0.7in 0.75in 0.7in;
mso-header-margin:0.3in;
mso-footer-margin:0.3in;
mso-page-orientation:Portrait;
}
tr
{mso-height-source:auto;
mso-ruby-visibility:none;}
col
{mso-width-source:auto;
mso-ruby-visibility:none;}
br
{mso-data-placement:same-cell;}
ruby
{ruby-align:left;}
.style0
{
mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
.font0
{
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif"; }
.font1
{
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif"; }
.font2
{
color:#000000;
font-size:9pt;
font-weight:400;
font-style:normal;
font-family:"等线","monospace"; }
.font3
{
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace"; }
td
{mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
border:none;
mso-protection:locked visible;
mso-ignore:padding;}
.style0
{
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
mso-style-name:"Normal";
}
.style1
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style2
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style3
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style4
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style5
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style6
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style7
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style8
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style9
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style10
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style11
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style12
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style13
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.style14
{
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
}
.x15
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
.style16
{
mso-number-format:"0%";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Percent";
}
.style17
{
mso-number-format:"_ \0022¥\0022* \#\,\#\#0\.00_ \;_ \0022¥\0022* -\#\,\#\#0\.00_ \;_ \0022¥\0022* \0022-\0022??_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency";
}
.style18
{
mso-number-format:"_ \0022¥\0022* \#\,\#\#0_ \;_ \0022¥\0022* -\#\,\#\#0_ \;_ \0022¥\0022* \0022-\0022_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Currency [0]";
}
.style19
{
mso-number-format:"_ * \#\,\#\#0\.00_ \;_ * -\#\,\#\#0\.00_ \;_ * \0022-\0022??_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma";
}
.style20
{
mso-number-format:"_ * \#\,\#\#0_ \;_ * -\#\,\#\#0_ \;_ * \0022-\0022_ \;_ \@_ ";
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:10pt;
font-weight:400;
font-style:normal;
font-family:"Arial","sans-serif";
mso-protection:locked visible;
mso-style-name:"Comma [0]";
}
.x21
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
mso-protection:locked visible;
}
.x22
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:normal;word-wrap:break-word;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
mso-protection:locked visible;
}
.x23
{
mso-style-parent:style0;
mso-number-format:General;
text-align:general;
vertical-align:middle;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"宋体","monospace";
mso-protection:locked visible;
}
.x24
{
mso-style-parent:style0;
mso-number-format:General;
text-align:center;
vertical-align:bottom;
white-space:nowrap;
background:white;
mso-pattern:auto;
color:#000000;
font-size:11pt;
font-weight:400;
font-style:normal;
font-family:"等线","sans-serif";
mso-protection:locked visible;
}
-->
</style>
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>Sheet1</x:Name>
<x:WorksheetOptions>
<x:StandardWidth>2304</x:StandardWidth>
<x:Print>
<x:ValidPrinterInfo/>
<x:PaperSizeIndex>9</x:PaperSizeIndex>
<x:HorizontalResolution>600</x:HorizontalResolution>
<x:VerticalResolution>600</x:VerticalResolution>
</x:Print>
<x:Selected/>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
<x:WindowHeight>12576</x:WindowHeight>
<x:WindowWidth>23256</x:WindowWidth>
<x:WindowTopX>-108</x:WindowTopX>
<x:WindowTopY>-108</x:WindowTopY>
<x:RefModeR1C1/>
<x:TabRatio>600</x:TabRatio>
<x:ActiveSheet>0</x:ActiveSheet>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
## 模块介绍
### Quectel BC28
<div style="display: flex;justify-content: center;align-items: center;">
<img src = "./imagesrc/bc28.jpg" alt="bc28" width =50% max-width= 50% >
</br>
</div>
BC28 是一款超紧凑、高性能、低功耗的多频段 NB-IoT 无线通信模块,支持 B1/B3/B8/B5/B20/B28 频段。其尺寸仅为17.7 mm × 15.8 mm × 2.0 mm能最大限度地满足终端设备对小尺寸模块产品的需求同时有效地帮助客户减小产品尺寸并优化产品成本。BC28 在设计上兼容移远通信 GSM/GPRS 系列的 M26 模块和 NB-IoT 系列的 BC26 模块,方便客
户快速、灵活的进行产品设计和升级。</br></br>
BC28 采用更易于焊接的 LCC 封装,可通过标准 SMT 设备实现模块的快速生产为客户提供可靠的连接方式特别适合自动化、大规模、低成本的现代化生产方式。SMT 贴片技术也使 BC28 具有高可靠性,以满足复杂环境下的应用需求。</br></br>
凭借紧凑的尺寸、超低功耗和超宽工作温度范围BC28 成为 IoT 应用领域的理想选择,常被用于无线抄表、共享单车、智能停车、智慧城市、安防、资产追踪、智能家电、农业和环境监测以及其它诸多行业,以提供完善的短信和数据传输服务。</br></br>
#### Quectel BC28 特性
+ 尺寸紧凑的多频段 NB-IoT 无线通信模块
+ 超低功耗、超高灵敏度
+ LCC 封装,适合批量生产
+ 封装设计兼容移远通信 GSM/GPRS M26 模块和 NB-IoT 系列的 BC26
+ 模块,易于产品升级
+ 内嵌网络服务协议栈
+ 通过提供参考设计、评估板和及时的技术支持可满足客户产品快速上市的要求
#### 基本参数
<body link='blue' vlink='purple' >
<table border='0' cellpadding='0' cellspacing='0' width='632' style='border-collapse:
collapse;table-layout:fixed;width:474pt'>
<col width='188' style='mso-width-source:userset;width:141pt'>
<col width='444' style='mso-width-source:userset;width:333pt'>
<tr height='18' style='mso-height-source:userset;height:13.8pt' id='r0'>
<td height='16' class='x25' width='188' style='mso-ignore:style;height:12.3pt;width:141pt;font-size:11pt;color:#2E75B6;font-weight:700;text-decoration:none;text-line-through:none;font-family:"等线";background:auto;mso-pattern:auto;border-top:.5pt solid #5B9BD5;border-right:none;border-bottom:.5pt solid #5B9BD5;border-left:none;'>参数</td>
<td class='x25' width='444' style='mso-ignore:style;width:333pt;font-size:11pt;color:#2E75B6;font-weight:700;text-decoration:none;text-line-through:none;font-family:"等线";background:auto;mso-pattern:auto;border-top:.5pt solid #5B9BD5;border-right:none;border-bottom:.5pt solid #5B9BD5;border-left:none;'>数值</td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r1'>
<td height='18' class='x26' style='mso-ignore:style;height:13.65pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;border-top:.5pt solid #5B9BD5;border-right:none;border-bottom:none;border-left:none;'>供电电压</td>
<td class='x26' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;border-top:.5pt solid #5B9BD5;border-right:none;border-bottom:none;border-left:none;'>&nbsp;2.1~3.63 V典型值 3.3 V GPIO 电压域: 1.8 V</td>
</tr>
<tr height='38' style='mso-height-source:userset;height:28.8pt' id='r2'>
<td height='38' class='x27' style='mso-ignore:style;height:28.8pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:auto;mso-pattern:auto;'>温度范围</td>
<td class='x28' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:auto;mso-pattern:auto;'>正常工作温度:-35 °C ~ +75 °C<br>扩展工作温度:-40 °C ~ +85 °C </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r3'>
<td height='19' class='x29' style='mso-ignore:style;height:14.4pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;'>外形尺寸</td>
<td class='x29' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;'>17.7 mm × 15.8 mm × 2.0 mm </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r4'>
<td height='19' class='x27' style='mso-ignore:style;height:14.4pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:auto;mso-pattern:auto;'>输出功率</td>
<td class='x27' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:auto;mso-pattern:auto;'>23 dBm ±2 dB </td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r5'>
<td height='19' class='x29' style='mso-ignore:style;height:14.4pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;'>重传灵敏度</td>
<td class='x30' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;'>-129dBm</td>
</tr>
<tr height='76' style='mso-height-source:userset;height:57.6pt' id='r6'>
<td height='76' class='x27' style='mso-ignore:style;height:57.6pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:auto;mso-pattern:auto;'>Cat NB1 功耗(典型值)</td>
<td class='x28' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:auto;mso-pattern:auto;'>3.5 μA @ PSM<br>0.24 mA @ 空闲模式eDRX = 81.92 s<br>0.35 mA @ 空闲模式DRX = 2.56 s<br>110 mA @ LTE Cat NB1, 23 dBm</td>
</tr>
<tr height='19' style='mso-height-source:userset;height:14.4pt' id='r7'>
<td height='18' class='x31' style='mso-ignore:style;height:13.65pt;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;border-top:none;border-right:none;border-bottom:.5pt solid #5B9BD5;border-left:none;'>Cat NB2 功耗(典型值)</td>
<td class='x31' style='mso-ignore:style;font-size:11pt;color:#2E75B6;font-weight:400;text-decoration:none;text-line-through:none;font-family:"宋体";background:#DEEBF7;mso-pattern:auto none;border-top:none;border-right:none;border-bottom:.5pt solid #5B9BD5;border-left:none;'>待定</td>
</tr>
<![if supportMisalignedColumns]>
<tr height='0' style='display:none'>
<td width='188' style='width:141pt'></td>
<td width='444' style='width:333pt'></td>
</tr>
<![endif]>
</table>
</body>
## 模块配置和代码树
对于NB-IOT 模块默认配置就可以测试可能需要修改的是UART设备的名字</br>
[\*] Enable NB-IOT ---></br>
&ensp;&ensp;&ensp;&ensp;--- Enable NB-IOT</br>
&ensp;&ensp;&ensp;&ensp;[\*] Quectel BC28 ---></br>
&ensp;&ensp;&ensp;&ensp;[ ] Gosuncn ME3616</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;[ ] Enable initialize by thread</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;[\*] Enable sample ---> (是否编译测试例程)</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(-1) Power pin ---> (电源引脚配置,与电路板相关,模块测试无需修改)</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(-1) Power status pin ---> (电源状态引脚配置,与电路板相关,模块测试无需修改)</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(uart3) AT client device name ---> 模块连接的UART名字取决于模块和主板的连接方式</br>
&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;&ensp;(1024) The maximum length of receive line buffer ---> 缓存大小建议在1K以上</br>
<div>
<img src = "./imagesrc/bc-28_codetree.png" alt="bc-28_codetree" width =300 >
</div>