Download Print this page

IMST 404600 User Manual

Wireless m-bus range extender
Hide thumbs Also See for 404600:

Advertisement

Quick Links

Wireless M-Bus Range Extender
Document State
final
Date
June 2020
Document ID
4000/40140/0153
© 2020 IMST GmbH - All rights reserved
Carl-Friedrich-Gauß-Str. 2-4, D-47475 Kamp-Lintfort
User Manual
IMST GmbH
Version 1.0

Advertisement

loading

Summary of Contents for IMST 404600

  • Page 1 IMST GmbH Carl-Friedrich-Gauß-Str. 2-4, D-47475 Kamp-Lintfort Wireless M-Bus Range Extender User Manual Version 1.0 Document State final Date June 2020 Document ID 4000/40140/0153 © 2020 IMST GmbH - All rights reserved...
  • Page 2 History Version Date Comment June 2020 Initial Version Content General User Information / Disposal Safety Overview Range Extender Hardware Initial Setup Installation Functional Description Range Extender Startup Calendar Events Wireless M-Bus Packet Filter Recording of Wireless M-Bus Packets Upload of captured Wireless M-Bus Packets Transport Protocol Details Range Extender Status Information LED Usage...
  • Page 3 Terms and Conditions” of IMST GmbH, supplied at the time of order acknowledgment. IMST GmbH assumes no liability for the use of its products and does not grant any licenses for its patent rights or for any other of its intellectual property rights or third-party rights.
  • Page 4 Safety General Read this safety information attentively before using and operation of the Wireless M-Bus Range Extender Do not make any changes to the product. The housing may only be opened for the initial configuration of the Wireless M-Bus Range Extender and only by qualified specialist personnel.
  • Page 5 Overview The Wireless M-Bus standard (EN 13757-4) is used in many wireless sensor and smart meter applications . These meters and sensors communicating according to defined radio operation modes based on a standard FSK modulation with more or less range to the corresponding receiving unit.
  • Page 6 Range Extender Hardware Figure: Wireless M-Bus Range Extender without cover Hardware Features Power Supply via Battery. Radio module including TRX, µC and additional PCB antenna. Data memory User Interface for configuration and signalling The following explains some hardware features, necessary for the user to power and configure the Range Extender. Power Supply Power for the Rage Extender is supplied via the 2-pin connector JST B2B-PH-K-S.
  • Page 7 User Interface Reed Sensor: to be used as magnetic switch with a simple magnet for external user actions, without a need to open the housing. LED for signalling. ® Internal Reset Butto for manual Reset after configuration of LoRaWAN settings. Internal Configuration Interface: Serial Configuration Interface (UART):...
  • Page 8: Initial Setup

    Initial Setup The Wirelesss M-Bus Range Extender requires an initial configuration before usage. This configuration can be done by means of a PC-Tool called WS Configurator which is connected via serial interface to the device. The configuration includes the following steps: ®...
  • Page 9: Installation

    Installation The Wireless M-Bus Range Extender housing consists of mounting brackets for fastening on a flat surface. Installation height must not be higher than 2 meters above ground to avoid any risks in case of falling down. The figure below shows the positions of the LED, the Reed Sensor and especially the integrated PCB antenna. For optimal RF performance please avoid any metal obstacles near the antenna area.
  • Page 10: Functional Description

    Functional Description The following chapters explain the firmware features in more detail. Range Extender Startup Calendar Events Wireless M-Bus Packet Filter Recording of Wireless M-Bus Packets Upload of captured Wireless M-Bus Packets Transport Protocol Details Range Extender Status Information LED Usage LoRaWAN®...
  • Page 11 Range Extender Startup After a power cycle or reset the Range Extender performs a startup procedure which includes the following steps: Step 1 : System Startup & Software Module Configuration After successful system startup the Range Extender reads and validates the required configuration settings. In case of valid settings ®...
  • Page 12: Calendar Events

    Calendar Events The Range Extender features an embedded Real Time Clock (RTC) which needs to be synchronized for proper operation. This ® synchronization can be handled over the LoRaWAN network per Calendar Event or via local configuration interface. Due to the fact that the ®...
  • Page 13 Wireless M-Bus Packet Filter The firmware allows to define up to 32 Wireless M-Bus address filter items which should help to focus on those devices of interest during a Wireless M-Bus capture phase. The header fields mentioned here are present in the data link layer fields of each Wireless M-Bus packet. A single packet filter item consists of the following fields: Manufacturer ID Contains the 2 octet unique User/Manufacturer ID of the sender of a packet...
  • Page 14 Recording of Wireless M-Bus Packets Two calendar event types are used to start a Wireless M-Bus packet capture phase either in S-Mode or combined C- / T-Mode. The received packets will be decoded according to the defined physical layer encoding Manchester, Three Out Of Six or NRZ. Every packet will be checked for CRC errors and only valid packets will be decoded according to the given frame format A or B.
  • Page 15 Upload of captured Wireless M-Bus Packets The upload of captured Wireless M-Bus packets can be started by means of a calendar event. Due to the small payload capacity of LoRaWAN packets a complete Wireless M-Bus packet may require more than one LoRaWAN uplink packet. A reliable upload is ensured ®...
  • Page 16 Transport Protocol Details The transport protocol is used in uplink- and downlink direction on several LoRaWAN® ports which indicate the type of message content. The protocol uses a single octet header field with following format: Figure : Transport Protocol Header Last Segment Indicator (Bit 7) This bit indicates the last segment of a transmission if set to "1".
  • Page 17 Range Extender Status Information ® The Range Extender maintains some status information elements which can be transmitted over LoRaWAN or requested via local serial interface . The transmission can be initiated by means of a calender event. Figure: Range Extender Status Format The Range Extender Status consists of the following elements: Range Extender System Time ( from embedded RTC ) Firmware Version...
  • Page 18: Led Usage

    LED Usage The Wireless M-Bus Range Extender features a dual color led which is used to signal multiple states and activities. Most of time the Range Extender will stay in a power saving state in which the led is switched off to save current. Visualization of internal Range Extender firmware state is done after power-up and can be triggered by means of an magnetic input signal via reed switch.
  • Page 19 LoRaWAN® Ports ® The LoRaWAN Protocol supports port numbers which are used within this application to identify different kind of messages. ® Message Type LoRaWAN Port 67 ( 0x43 ) Range Extender Status Information 68 ( 0x44 ) Wireless M-Bus Packets Wireless M-Bus Range Extender / User Manual Version 1.0 Page 19 of 32...
  • Page 20 Firmware Update via Bootloader Main component of the Wireless M-Bus Range Extender is a radio module which comes with an integrated bootloader. With this bootloader program files ("HEX-Files") can be loaded into the radio modules microcontroller via the Serial Config Interface (UART pins RxD and TxD).
  • Page 21 Step 3 : Download the firmware via bootloader into the Wireless M-Bus Range Extender Establish a connection between PC tool and Bootloader Open and download the wanted HEX-file Disconnect the PC tool from Bootloader after the Download is completed. Wireless M-Bus Range Extender / User Manual Version 1.0 Page 21 of 32...
  • Page 22 Step 4 : Set the Wireless M-Bus Range Extender into normal application mode Remove the jumper from the BOOT Header, disconnect the configuration cable and trigger a reset by pressing the internal reset button or by executing a power cycle Wireless M-Bus Range Extender / User Manual Version 1.0 Page 22 of 32...
  • Page 23: Technical Characteristics

    Technical Characteristics Unless otherwise specified, all characteristics are applied for T = 25°C, VDD = 3.6V and are typical consumption values. Electrical Characteristics Power Supply (VDD) Lithium battery (Li-SOCI2) SL-2880 with connector PHR-2 3.6V, 19Ah, Size D Current Consumption (typ.) Transmit Mode: 35mA Receive Mode: 13mA ;...
  • Page 24 Certification RED (2014/53/EC) RoHS Directive (2011/65/EC) ® LoRaWAN 1.0.2 Wireless M-Bus Range Extender / User Manual Version 1.0 Page 24 of 32...
  • Page 25 Packet Decoding and Reassembly on Application Server Side ® Due to the fact that one Wireless M-Bus packet may not exactly fit into one LoRaWAN packet a tiny Transport Protocol is used. In general there exist two possibilities: ® A Wireless M-Bus packet is spread over multiple LoRaWAN packets ®...
  • Page 26 "applicationID":"30", "applicationName":"applicationName", "deviceName":"deviceName", "devEUI":"qqu7zN3u7/8=", "rxInfo":[ "gatewayID":"ESIzRFVmd4g=", "time":null, "timeSinceGPSEpoch":null, "rssi":-66, "loRaSNR":7, "channel":7, "rfChain":1, "board":0, "antenna":0, "fineTimestampType":"NONE", "context":"8/68TA==", "uplinkID":"7lpqX2uSSzyrlulk989yeA==" "txInfo":{ "frequency":868500000, "modulation":"LORA", "loRaModulationInfo":{ "bandwidth":125, "spreadingFactor":7, "codeRate":"4/5", "polarizationInversion":false "adr":true, "dr":5, "fCnt":11, "fPort":68, "data":"gPoAqV4mQxEiM0RVZneIGgACAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaG//6AKle J0MRIjNEVWZ3iBsAAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhsc//oAqV4oQxEiM0RVZneI HAACAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwd//oAqV4pQxEiM0RVZneIHQACAwQFBgcI CQoLDA0ODxAREhMUFRYXGBkaGxwdHv8=", "objectJSON":"", "tags":{ and is located in the following code snippets in the parameter deviceEvent Javascript offers the possibility to access the values of the json data via the property names.
  • Page 27 if (deviceEvent.fPort == 68) Payload is uploaded as base64 string and must be decrypted as a byte array for further processing. The first byte is the sequence byte ® contains a counter and provides information on whether the segmentation has ended. The LoRaWAN packets must be collected until the sequence byte indicates the final segment The counter in sequence byte of the LoRaWAN®...
  • Page 28 var further = true; var startPos = 0; var endPos = 0; while (further) if (this.wmbusPayload.length > (startPos + 6)) endPos = startPos + 4; var receiveTime = this.wmbusPayload.slice(startPos, endPos); startPos = endPos; endPos = startPos; var length = this.wmbusPayload[startPos]; startPos = endPos + 1;...
  • Page 29 "applicationID": "30", "applicationName":"applicationName", "deviceName":"deviceName", "devEUI": "qqu7zN3u7/E=", "rxInfo": [ "gatewayID": "qlVaAAAAQyE=", "time": null, "timeSinceGPSEpoch": null, "rssi": -48, "loRaSNR": 9.5, "channel": 6, "rfChain": 1, "board": 0, "antenna": 0, "fineTimestampType": "NONE", "context": "MNLOtA==", "uplinkID": "EJJJe2JvTiKDDFc/1ZIEMg==" "txInfo": { "frequency": 868300000, "modulation": "LORA", "loRaModulationInfo": { "bandwidth": 125, "spreadingFactor": 7, "codeRate": "4/5",...
  • Page 30 let base64Payload = deviceEvent.base64Payload; let statusData = Buffer.from(base64Payload, 'base64'); var systemTimeBuffer = statusData.slice(1, 5); var firmwareVersionMinor = statusData[5]; var firmwareVersionMajor = statusData[6]; var lastSyncTimeBuffer = statusData.slice(7, 11); var resetCounterBuffer = statusData.slice(11, 15); var statusBitsBuffer = statusData.slice(15, 17); var rxCounterBuffer = statusData.slice(17, 21); var sdCounterBuffer = statusData.slice(21, 25);...
  • Page 31 Question Answer Range Extender LED blinks 2 x yellow after Range Extender seems not be startup, but packet recording or upload is activated with respect to LoRaWAN. not possible Please configure and activate the Range Extender first. Range Extender LED blinks red and did not The Over The Air Activation is active but it stop seems that no server response can be...
  • Page 32 Wireless M-Bus Range Extender / User Manual Version 1.0 Page 32 of 32...