The quick identification terminal ID of a kind of wireless kilowatt meter reading-out system number methodTechnical field
The present invention relates to a kind of quick identification terminal ID(IDentity) number method, the quick identification terminal ID of a kind of wireless kilowatt meter reading-out system number method is particularly disclosed, greatly reduce the power consumption of table end module, realize the super long standby time of table end module.
Background technology
Domestic wireless kilowatt meter reading-out system, general battery-powered wireless terminal, repeater, concentrator and write by hand device consist of, and wherein the wireless terminal module mainly is comprised of MCU, RFIC and wireless signal treatment circuit.The mode of Wireless Data Transmission has unidirectional and the both-way communication dual mode.The intelligent wireless remote installed meter is at the table end one wireless module to be installed, wireless module is regularly detected aerial signal one time, such as 1s, after when detecting, finding homogenous frequency signal is arranged in the air, the data message that certain-length will be waken and receive to module up carries out Data Analysis, judge according to the data message that receives whether the data of this reception meet predetermined agreement, receive complete data and resolve notebook data if meet then continue, the longest 1.2s that needs, the Termination ID that taking-up is carried with data, and and self ID compare, the related command of the middle agreement that carries on an agreement if comparison is correct, if compare incorrect then abandon the order of this reception, after finishing dealing with, the inter-related task of module then enters dormant state.
There are several shortcomings in such mode of operation:
1, when under the concentrator a lot of attached table being arranged, all can allow contiguous table receive partial data to this table handling to the operation of any one table, and receive the time that partial data will consume about 1.2s, if under a concentrator 200 tables are arranged like this, any one all can be waken up 200 times in the scope that RF covers so, and it is huge that the module net cycle time is exactly the 240s power consumption.
2, module not only is subject to concentrator and copies and get the interference that contiguous table signals, but also is subject to the interference that contiguous table reports signal at regular time and quantity, thereby greatly reduces the table battery life, reduces lifetime of system.
Summary of the invention
The objective of the invention is the defective that exists in the above-mentioned prior art, the quick identification terminal ID of a kind of wireless kilowatt meter reading-out system number method is provided, can solve concentrator copies with wireless mode and interferes with contiguous table when getting the terminal list data, and contiguous when showing reported data at regular time and quantity or when replying the data of concentrator to the interference problem of contiguous table, shorten the single module and finish the time that the comparison of table number and self table number consumes in the Frame, prolong the life-span of system battery.
The present invention is achieved in that the quick identification terminal ID of a kind of wireless kilowatt meter reading-out system number method, comprise battery-powered wireless terminal table end module, concentrator or write by hand device host module and repeater, it is characterized in that: described concentrator or write by hand device host module adopt the Target id CRC16 value that is fixed byte in waking introduction up, the carrier sense channel (RXD channel) of described wireless terminal table end module and send out data channel (TXD channel) separately to aerial, overcome the interference to contiguous table when the table of uploading data or wireless terminal table end module is replied concentrator or write by hand device host module meter reading data at regular time and quantity of wireless terminal table end module, realize quick identification terminal ID number purpose.
Wireless terminal table end module judges that concentrator or write by hand device host module issue Target id time shorten in the data to 0.024s, the time of judging Termination ID number reduces 50 times than normal mode, reduce the power consumption of wireless terminal table end module, increase system battery serviceable life.
The invention has the beneficial effects as follows: phase mutual interference between having solved table and having shown.Changed the before teletransmission wireless module mode that wireless terminal table end module is differentiated after need receiving whole packet again when checking meter in real time, the large phenomenon of power consumption has been overcome in the environment when the communication of vicinity table, thereby adopts battery powered module can show in vicinity the requirement of the environment borough chief phase continuous working of continuous communication in the assurance system.
Embodiment
Host module can be sent out first 240 groups to wake introduction 0x55 0x55 0x55 0x56 CRC16(CRC16 up be the CRC16 calculated value of Target id (IDentity) during the each and table communication of concentrator or write by hand device host module (abbreviation host module)) about 1.2s, and then an active data frame.And wireless terminal table end module (be called for short table end module) detects an aerial signal every the 1s 670 μ s that can wake up.When detecting aerial signal intensity greater than setting value, as-106dBm, the MCU of table end module will switch to the RXD pattern to RFIC, continue to receive the 0x55 0x55 0x55 0x56 CRC16 data that the certain-length main frame issues, such as 3 groups of complete data, then the CRC16 of CRC16 short address and self ID in the data is compared, think that if CRC16 is in full accord this secondary data namely is the data towards oneself, then continue to receive the Frame after remainder is waken introduction up, until receive complete Frame.Then checking data is also resolved comparison to the ID of the ID in the complete data frame and module self, and whether the destination object of further differentiating Frame is oneself.If be yes, the related command that then comprises in the executing data frame, then dormancy.If the CRC16 of CRC16 data and self ID is inconsistent in the first complete 3 groups of data that receive, then abandons the data of this reception and enter rapidly dormant state.Thus module by the receive data time shorten of original 1.2s to 0.024s, namely nearly 50 times have been reduced in the time of judging datum target ID number than normal mode, the method that employing the present invention is quick identification terminal ID number greatly reduces the power consumption of table end module, has increased the table battery life.
The RXD of table end module and TXD channel are separately, the channel and the module that are exactly the module carrier sense are separated to the aerial channel of sending out data, RXD and the TXD channel of corresponding host module also separate with it, channel spacing such as 500KHz, table end module reports and gives the correct time at regular time and quantity in the active fault like this, the channel of its channel that reports and other module carrier senses is not on same frequency, just can appearance table end module active fault not report the phenomenon that interferes with contiguous table module with the data that report at regular time and quantity, thereby the phenomenon of having avoided table table module to interfere with each other occurs, reduced the table module and because detecting the ordinary probability of waking up of homogenous frequency signal has been arranged in the air, and the overall power when further having reduced the module standby increases the ability of the battery continuation of the journey of table end module.
The present invention can produce by using for reference this paper disclosure all combinations and method open and that disclose, although combination of the present invention and method are described by detailed implementation process, but those skilled in the art obviously can be spliced the described method and apparatus of the application within not breaking away from content of the present invention, spirit and scope or change, or increase and decrease some parts, more particularly, the replacement that all are similar and change apparent to those skilled in the artly, they are deemed to be included among spirit of the present invention, scope and the content.