1 Introduction
1.1 Problem proposition
2 Intelligent design scheme
2.1 The system constituting
2.2 System advantages
3 Intelligent logging devices
3.1 Composition
3.2 Function
Offset | Content | Explanation |
---|---|---|
0 | Sign | 1 byte. 0 × 41 |
1 | Basal meter address | 1 byte. 1~80 |
2 | Value of temperature | 2 bytes. Lower byte is at the front and the unit is 0.1. |
4 | Year | 1 byte. 0~99 |
5 | Month | 1 byte. 1~12 |
6 | Date | 1 byte. 1~31 |
7 | Hour | 1 byte. 0~23 |
8 | Minute | 1 byte. 0~59 |
9 | Second | 1 byte. 0~59 |
A | Retain | 6 bytes |
3.3 Intelligent logging devices tested
Thermostat Number | Upper computer data acquisition cycle | Acquisition data time intelligent logging devices | ROM usage | RAM usage | Data transfer time |
---|---|---|---|---|---|
16 | 3 s | 200 ms | 2 K | 256 b | 250 ms |
24 | 3 s | 130 ms | 2 K | 384 b | 300 ms |
48 | 3 s | 70 ms | 2.5 K | 768 b | 630 ms |
64 | 3 s | 50 ms | 2.5 K | 1024 b | 860 ms |
80 | 3 s | 40 ms | 2.5 K | 1.2 K | 1 s |
Logging devices number | Thermostat number connected logging devices | Upper computer data acquisition cycle | Acquisition data time intelligent logging devices | RAM usage | Data transfer time |
---|---|---|---|---|---|
80 | 80 | 120 s | 15 ms | 1.2 K | 1 s |
The time each intelligent logging devices occupy serial port | 1.5 s | The time each intelligent logging devices for collecting 80 thermostats | 500 ms |
Logging devices number | Thermostat number connected logging devices | Upper computer data acquisition cycle | Acquisition data time intelligent logging devices | RAM usage | Data transfer time |
---|---|---|---|---|---|
4 | 80 | 120 s | 15 ms | 1.2 K | 1 s |
The time each intelligent logging devices occupy serial port | 1.5 s | The time each intelligent logging devices for collecting 80 thermostats | 500 ms |
The decentralized system (80 thermostats) | The centralized system (80 thermostats, 4 logging devices) | ||||
---|---|---|---|---|---|
Start collecting and data storage | Data transferring time | Collecting cycle | Collecting time logging devices | Data transferring time | Collecting cycle |
Negligible | 1 s | 80 s | 15 ms | 1 s | 4 s |
The decentralized system | The centralized system | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
80 thermostats | 2 switches | 1 upper computer | 80 thermostats | 4 logging devices | 1 upper computer | ||||||
Price | Subtotal | Price | Subtotal | Price | Subtotal | Price | Subtotal | Price | Subtotal | Price | Subtotal |
0.14 | 11.2 | 0.3 | 0.6 | 0.6 | 0.6 | 0.1 | 8 | 0.22 | 0.88 | 0.6 | 0.6 |
Total 12.4 | Total 9.48 |
4 Upper computer software
5 Experiments
6 Contrast
Centralized control system | Decentralized control systems | ||||||||
---|---|---|---|---|---|---|---|---|---|
Maximum data collection point | Operating Performance | Reliability | Comprehensive cost | Stability data collection | Maximum data collection point | Operating Performance | Reliability | Comprehensive cost | Stability Data collection |
6400 | Well be off line | High | 40 % reduction | High | 80 | Not off line | Medium | High | Medium |
7 Data collection algorithm improve
Acquisition interval | 1 ms | 10 ms | 100 ms | 1000 ms |
---|---|---|---|---|
Logging device acquisition cycle | 80 ms | 800 ms | 8000 ms | 80000 ms |
Upper computer acquisition cycle | 6.4 s | 64 s | 640 s | 6400 s |
Result | Normal | Normal | Loss | Loss |
7.1 Design philosophy
7.2 Algorithm design
7.3 Contrast
Without using data fitting algorithm | Using data fitting algorithm | ||||||
---|---|---|---|---|---|---|---|
Accuracy | Scale | Reliability | Satisfaction | Accuracy | Scale | Reliability | Satisfaction |
General | Poor | Good | 60 % | wonderful | wonderful | Good | 90 % |
Devices/number Parameter | Upper computer | Logging device | Thermostat |
---|---|---|---|
1 | 10 | 800 | |
Sampling interval | 1 s | 100 ms | 1 ms |
Sampling period | 6000 ms | 8000 ms | 80 ms |
Upper computer using time | 600,000 ms | (losing data) |
Without using data fitting algorithm | Using data fitting algorithm | ||||||
---|---|---|---|---|---|---|---|
160 | 640 | 1280 | 2560 | 160 | 640 | 1280 | 2560 |
2.3 | 11.2 | 21.4 | 45.8 | Reduction 15 % | Reduction 23 % | Reduction 31.5 % | Reduction 38 % |