Building Energy Monitoring System Data Acquisition Gateway - Smart Energy Management Building Energy Efficiency

As a professional provider of IoT data acquisition solutions and an expert in industrial IoT data acquisition, the editor of Shanghai Data Acquisition IOT Technology Co., Ltd, (daq-iot) hereby presents the following introduction, and sincerely welcomes discussions and exchanges. Supported Communication Interfaces: CAN, RS485, Mbus, 4–20mA, Profibus, CC-Link, HART, digital I/O, etc. Industrial Protocols: Modbus RTU/TCP, HJ212, IEC104, DLT645, DLMS, IEC61850, MQTT, etc. Mail:export@daq-iot.com

asIoTData Acquisition solution Professional provider, data acquisitionIoTEditor daq iot Here is an introduction to the following content, and we sincerely welcome everyone to discuss and exchange ideas.

As a professional provider of IoT data collection solutions, daq-iot, the data acquisition and IoT editor, will introduce the following content here and sincerely welcome everyone to discuss and communicate.

Data upload

图片

Data upload address port: http://www.daq-iot.com:8033

1. The project implementation party should self review the consistency between the energy consumption data collected by each monitoring branch and the actual load, submit a data verification table, and ensure that the measurement deviation is within a reasonable range;

2. The energy consumption data collected by each monitoring branch is consistent with the direct reading data of the energy consumption metering device. The uploaded data received by the monitoring center should be consistent with the original data collected on site. And the number of raw data received should meet the requirements of formula (1).

N

24

f

n

  1. ——In the formula: N is the total number of raw data that the system should upload per day;

F is the frequency of data upload, unit: times/hour;

N is the total number of measurement points in the system;

图片

3. To ensure the authenticity, reliability, and stability of data uploading,energy consumption dataThe energy consumption data should be uploaded directly from the data collector (Gateway), and it is not supported to export energy consumption data from the building monitoring system or power monitoring system database to the monitoring center. If the energy consumption data is uploaded using theData Acquisitiondevice of the power monitoring system, theData Acquisitiondevice must have two data transmission channels and be able to ensure the normal operation of both systems simultaneously.

Appendix 1Data Acquisition Deviceperformance metrics

parameterindicator
collection interfaceAt least 2 channels are available RS-485 interface
Collecting communication speedThe maximum speed is not less than 9600bps
Collect communication ProtocolSupports DL/T645-1997, CJ/T188-2004GB/T19582-2008Each interface is independently configurable
Support the number of measuring devicesNo less than 64 units
sampling cycleAccording to data center commands or active scheduled collection, the timing cycle can be configured from 10 minutes to 1 hour
Data processing methodAnalyze Protocol, perform addition, subtraction, and multiplication operations, and add additional information
storage capacityNot less than 32MB
Remote transmission interfaceAt least one wired or wireless interface
Remote transmission cycleAccording to the collection cycle Real-time remote transmission
Number of supported data serversAt least 2
Configure/maintain interfacesHaving a local configuration/maintenance interface
Network functionReceive commands, report faults, encrypt data, resume breakpoint transmission, DNS resolution
powerLess than 10W

Appendix 2 Collector Communication Protocol

  1. Data encryption
    TcpProtocol
    Use AES encryption algorithmEncrypt XML packets (encrypt all data) with a key length of 128 bits. The encryption key is stored in the local file system of the data center and Data Acquisition device.
    Encryption key: aesmodeaes.mode
    Encryption mode: ECB
    Filling method: PKCS7-PKS5Padding
    Character set: UTF-8
    Binary: Hexadecimal
    Encryption/Decryption Test Address:mklab.cn/utils/aes Test configuration as shown in the figure
图片
  1. XML data format for data transmission
    2.1 Authentication Data Packet (id_malidate)
    <root>
    <! -- General Part -->
    <!--
    Building_id: Building number
    Gateway_id: Collector ID
    Type: The type of authentication packet
    --><common>
    <building_id>XXXXXXXXXX</building_id >
    <gateway_id>XX</gateway_id>
    <type>One of the following two types of operations</type>
    </common>
    <! -- Authentication -->
    <! -- There are 2 types of operations
    Request: Collector requests authentication (this packet is sent by the collector to the server)
    Result: The server sends the verification result, and the result sub element is valid (this data packet is sent by the server to the collector)
    -->
    <id_validate operation="request/result">
    <result>pass/fail</result>
    </id_validate>
    </root>
    2.2 Heartbeat/Timing Data Packet (Heart_teat)
    <root>
    <! -- General Part -->
    <!—
    Building_id: Building number
    Gateway_id: Collector ID
    Type: The type of heartbeat/timing packet
    -->
    <common>
    <building_id>XXXXXXXXXX</building_id > <gateway_id>XX</gateway_id >
    <type>One of the following two types of operations</type>
    </common>
    <! -- Heartbeat/Timing ->
    <! -- There are 2 types of operations
    Notify: The collector regularly sends survival notifications to the server, without the need for child elements (once every minute, set offline if not sent for five minutes, and close the link) (this data packet is sent by the collector to the server)
    Time: After receiving the survival notification, the server sends the timing information. At this time, the sub element time is valid, and the collector's time needs to be based on the server time (this data packet is sent by the server to the collector)
    -->
    <heart_beat operation="notify/time">
    <time>yyyyMMddHHmmss</time>
    </heart_beat>
    </root>
    2.3 Energy consumption remote transmission data packet
    <root>
    <! -- General Part -->
    <!—
    Building_id: Building number
    Gateway_id: Collector ID
    Type: Type of energy consumption remote transmission data packet
    -->
    <common>
    <building_id>XXXXXXXXXX</building_id>
    <gateway_id>XX</gateway_id>
    <type>One of the following two types of operations</type>
    </common>
    <! -- Energy consumption remote transmission -->
    <! -- There are 4 types of operations
    Report: Energy consumption data regularly reported by the collector (this data packet is sent by the collector to the server)
    Continuous check: After the data packet is received, the server responds to the uploaded data with one response for each piece of data, without the need for child elements (this data packet is sent by the server to the collector)
    There are 5 types of elements
    Sequence element: The sequence number of the data sent by the collector to the server (the collector guarantees uniqueness, with a length not exceeding 20 digits)
    Parser element: Whether the data sent to the server has been parsed by the collector (pass yes)
    Time element: Data Acquisition Time
    Meter element: Equipment number of the measuring device
    Function element: The specific acquisition function of each measuring device, with the following three types
    Attribute
    ID attribute: Data Acquisition function number of the measuring device
    1. Multi functional energy meter:
    1: Total active energy
    2: A-phase current
    3: B-phase current
    4: C-phase current
    5: A-phase voltage
    6: B-phase voltage
    7: C-phase voltage
    8: Total active power
    9: Total power factor
    Encoding Instructions
    Build_i (Building Code) -10 digits, unique to each building, assigned by the higher-level platform
    Gateway_i (Collector ID) -2 digits, unique to each collector, customized by the manufacturer
    Energy consumption coding attribute: Energy consumption data classification/item coding is shown in the table below
    (Note: Coding is unique under the same collector, and the same coding energy consumption data is summed and uploaded)
    Energy consumption coding instructions
12345
Energy consumption classification codeSub item energy consumption codeElectricity codingSerial number (0-9&A-Z)
X XXXX

Energy consumption classification code

Energy consumption classificationEnergy consumption classification code
electricity01
water02
Gas (natural gas or coal gas)03
Centralized heating capacity04
Centralized cooling capacity05
other energy sources06
coal07
liquefied petroleum gas08
Artificial gas09
gasoline10
kerosene11
diesel12
renewable energy13

Sub item energy consumption code

Sub item energy consumptionSub item energy consumption code
Electricity consumption for lighting socketsA
Air conditioning electricity consumptionB
Power consumptionC
Special electricity usageD
Total electricity consumptionE

Use a code meter

Sub item energy consumptionelectricity consumer nameUsing electrical codesExample (last x takes 0-9&A-Z)
01AElectricity consumption for lighting sockets001A0x
01ALighting and sockets101A1x
01ACorridor and Emergency Response201A2x
01Aoutdoor lighting301A3x
01BAir conditioning electricity consumption401A4x
01BCold and hot stations501A5x
01Bcryogenic pump601A6x
01Bcooling pump701A7x
01Bcold machine801A8x
01Bcooling tower901A9x
01Bhot water circulating pumpA01AAx
01Belectric boilerB01ABx
01BAir conditioning terminalC01ACx
01BAll air unitD01ADx
01BFresh Air Handling UnitE01AEx
01Bexhaust fan unitF01AFx
01CPower consumption001C0x
01Celevator101C1x
01Cwater pump201C2x
01Cventilator301C3x
01CElectric water heater401C4x
01DOther electricity consumption001D0x
01DInformation Center101D1x
01Dkitchen equipment201D2x
01Dspecial equipment301D3x
01EMain circuit electricity consumption001E0x
01EMain and backup circuit power consumption101E1x

Error attribute: The status code for this feature indicating an error, 0 indicates no error, and 1 indicates a fault
-->
<data operation="report/continuous_ack">
<sequence>XXXXXXXX</sequence>
<parser>yes/no</parser>
<time>yyyyMMddHHmmss</time>
<meter id="1">
<function id="1" coding="XXXX" error="XX">Data value/function>
<function id="2" coding="XXXX" error="XX">Data value/function>
</meter>
<meter id="2">
<function id="1" coding="XXXX" error="XX">Data value/function>
<function id="2" coding="XXXX" error="XX">Data value/function>
</meter>
</data>
</root>
2.4 Configuration Information Package (config)
This data packet will be returned to the collector by the server simultaneously with the authentication information and configuration information during the authentication process. If the configuration information is modified, the server will
It will also send configuration information to the collector.
<root>
<! -- General Part -->
<!—
Building_id: Building number
Gateway_id: Collector ID
Type: Configure the type of information packet
-->
<common>
<building_id>XXXXXXXXXX</building_id >
<gateway_id>XX</gateway_id >
<type>One of the two types of operations</type>
</common>
<! -- Configuration Information -->
<! -- There are 2 types of operations
Period: represents the server's configuration of the collector's collection period, and the period sub element is valid (this data packet is sent by the server to the collector)
Period_ack: represents the response of the collector to the server's collection cycle configuration information (this data packet is sent by the collector to the server)
-->
<config operation="period/period_ack">
<period>15</period>
</config>
</root>

  1. Data transmission format
    Byte length of data packet (4 bytes)+data packet (encrypted data) Example: Full data packet format: 132<root>Data</root>
    132: Represents the byte length of "<root>data</root>", which is hexadecimal (4 bytes). <root>Data</root>: represents encrypted data
  2. Encryption case:
    Cipher text:
    000001801224FE967F74404694D77C944945B594701DEFC2188624BA6589C8115AA7C98F644B46E9F39F186D3A6D67692CBC9B65F13FBA22A1022EB9D1E3724D1DE48AE868958738368E80022A1748EB008648BFAE0E62F57CAD266DD65CD37FFA8B5727BC8A90DA4FBCB11F6EB437B5D1A808CC7ABDDC9AB972AA03EB252B28D9D2AC186E206B9ED5A32F01D4921EC898CEB09962A6EE96453A5F91A499FA565F3E27AD4267E364B307C871D91482F1D1F0CA5543F3738CB8B80AC872AD4DA7917A4C9D
    among which 00000180 Represents the length of the ciphertext (not encrypted), and the following data is a complete ciphertext packet.
    Clear text:
    <root><common><building_id>420100A002</building_id><gateway_id >01</gateway_id><type>result</type></common><id_validate operation="result"><result>pass</result></id_validate></root>
  3. Message example:

---------Register---------------

Collector sends:

<root><common><building_id>500229H001</building_id><gateway_id>01</gateway_id><type>request</type></common></root>

Server response:

<root><common><building_id>500229H001</building_id><gateway_id>01</gateway_id><type>result</type></common><id_validate operation="result"><result>pass</result></id_validate></root>

-----------Data transmission---------

Collector sends:

<root><common><building_id>500229H001</building_id><gateway_id>01</gateway_id><type>report</type></common><data operation="report"><sequence>00020221017152341570</sequence><parser>yes</parser><time>20221017152341</time><meter id="1"><function id="1" coding="01A00" error="0" >1</function><function id="1" coding="01B00" error="0" >2</function><function id="1" coding="01C00" error="0" >3</function><function id="1" coding="01D00" error="0" >4</function></meter></data></root>

Server response:

<root><common><building_id>500229H002</building_id><gateway_id>01</gateway_id><type>continuous_ack</type></common></root>

评论

此博客中的热门博文

DAQ-IOT Modbus RTU RS485 Split Core Current Transformer CT AC Analog Signal Coil Sensor DC 12V 5A DC Current Transformer Power On or Off Status Monitoring