CN112669530A - Method for improving data acquisition quality of air conditioner time type metering equipment - Google Patents

Method for improving data acquisition quality of air conditioner time type metering equipment Download PDF

Info

Publication number
CN112669530A
CN112669530A CN202011391640.1A CN202011391640A CN112669530A CN 112669530 A CN112669530 A CN 112669530A CN 202011391640 A CN202011391640 A CN 202011391640A CN 112669530 A CN112669530 A CN 112669530A
Authority
CN
China
Prior art keywords
time
data
stop code
metering
stop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202011391640.1A
Other languages
Chinese (zh)
Inventor
邓伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zhongdian Energy Saving Co ltd
Original Assignee
Wuhan Zhongdian Energy Saving Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhongdian Energy Saving Co ltd filed Critical Wuhan Zhongdian Energy Saving Co ltd
Priority to CN202011391640.1A priority Critical patent/CN112669530A/en
Publication of CN112669530A publication Critical patent/CN112669530A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention provides a method for improving the data acquisition quality of air-conditioning time type metering equipment, wherein the air-conditioning time type metering equipment comprises a single chip microcomputer, a wireless communication module and a peripheral acquisition circuit, and the data storage of the single chip microcomputer is divided into two areas: an area for storing a real-time stop code; the other region stores stop codes at regular time intervals; the method comprises the following steps: step 1: when the communication is normal, the data is directly transmitted back to the metering system platform for display and storage; step 2: once the singlechip detects that the communication is not up, starting to store the metering stop code with the timestamp in a timing storage area of a singlechip memory according to a specified time interval; and step 3: and after the communication is recovered, uploading one stored stop code to the metering system platform according to the timestamp. The invention stores the stop code according to time periods, thereby not only ensuring the traceability of data, but also reducing the doubt of owners, and ensuring the feasibility of charging according to time periods and steps.

Description

Method for improving data acquisition quality of air conditioner time type metering equipment
Technical Field
The invention relates to the technical field of heating ventilation air conditioners, in particular to a method for improving data acquisition quality of air conditioner time type metering equipment.
Background
The metering charging mode of the air conditioner is generally divided into two modes: energy type and time type. Energy-based metering devices are typically rarely used by small-scale owners because of air conditioning design, higher cost, and limited installation conditions. Therefore, the time-based metering is suitable for office buildings, small shops, business apartments, residential districts and other business conditions.
The main advantages of time-based metering are: the manufacturing cost is low, and the construction cost is low; the electronic system has small influence of external interference and long service life; the air conditioner water system is not related, and the installation, debugging and maintenance are very convenient; the operation of the air conditioning unit and the normal use of other users are not influenced; the fan coil at the tail end is used as a measuring object, the applicability is wide, and the influence of the change of the house type structure and the room interval is avoided. Especially, when the time type metering equipment adopting wireless communication is adopted, only the power is needed to be taken at the fan coil, the equipment is installed, the data is transmitted back to the metering system in a wireless mode, and the convenience is brought, and the laying of power supply and communication cables is omitted.
However, two situations are often encountered when using wireless metering devices: firstly, the owner closes the main electric brake of the house, and the metering equipment cannot work after being powered off because the metering equipment takes power from the fan coil pipe in the owner; and secondly, due to the fault of the wireless router, although the metering equipment can work when power is supplied, the metering data cannot be transmitted back to the platform software of the metering system.
In the first case, the power of the owner is cut off, the fan coil cannot work, so that the energy cost for air conditioning cannot be generated, and the owner can easily explain that the stop code of the metering equipment is not changed during the power-off period, and only intermediate data is lost.
The second situation will bring a great obstacle to the operator because although the end code of the metering device cannot be collected, if the user uses the air conditioner, the end code of the metering device will increase all the time, and as a result, the end code displayed by the upper computer will not change within a period of time, and a sudden rising end code will appear after the wireless route is normal. On the one hand the owner may be confused about the data and on the other hand it is not possible to implement a step charge for the time period.
Disclosure of Invention
The invention aims to provide a method for improving the data acquisition quality of air-conditioning time type metering equipment, aiming at the problems in the prior art, so that the metering equipment can still transmit the missing data to a metering system and supplement the missing data once the communication is recovered under the condition of wireless communication route failure, thereby eliminating the doubt of owners and simultaneously solving the problem of charging according to time steps.
In order to achieve the purpose, the invention adopts the technical scheme that:
a method for improving data acquisition quality of air-conditioning time type metering equipment is characterized by comprising the following steps: air conditioner time type metering equipment includes singlechip, wireless communication module and peripheral acquisition circuit, the operating time of each gear of fan coil is responsible for gathering to peripheral acquisition circuit, and wireless communication module is responsible for returning the data measurement system platform, the data storage of singlechip divides into two regions: an area for storing a real-time stop code; the other region stores stop codes at regular time intervals; the method comprises the following steps:
step 1: when the communication is normal, the data is directly transmitted back to the metering system platform for display and storage;
step 2: once the singlechip detects that the communication is not up, starting to store the metering stop code with the timestamp in a timing storage area of a singlechip memory according to a specified time interval;
and step 3: and after the communication is recovered, uploading one stored stop code to the metering system platform according to the timestamp.
Further, the logic of the real-time storage of the stop code is to update the stop code of the real-time storage area every 1-5 seconds on the premise that the stop code is changed.
Further, the logic of storing the stop codes at regular time is that the stop codes in the real-time storage area are copied to the regular storage area every 10-30 minutes, and meanwhile, a time stamp is added, so that the stop codes are still stored at regular time even if the fan coil is not used and the stop codes are not changed; storing data table contents includes: time stamp, low-grade stop code, middle-grade stop code, high-grade stop code and zone bit.
Further, the data stored by the single chip microcomputer are uploaded to a metering system platform, and no matter whether the wireless communication works normally all the time or recovers normally after a period of failure, a mechanism for uploading the data is specifically formulated as follows:
step 1: starting metering;
step 2: recording to a real-time storage area in real time;
and step 3: recording the timing information to a timing storage area at regular time, and marking the position 0;
and 4, step 4: when uploading, the stop code of the real-time storage area is read firstly, then the historical record of the timing storage area is read, whether the identification position is 0 or not needs to be judged firstly when reading, the record is not uploaded to the metering system platform and can be uploaded at the moment, the flag position is set to 1 after the uploading of the record is finished, the record is uploaded to the upper computer of the metering system, and the repeated uploading is not needed.
Compared with the prior art, the invention has the following beneficial effects: the method for improving the data acquisition quality of the air-conditioning time type metering equipment provided by the invention has the following advantages:
1. the software can be updated on the hardware of the existing wireless air conditioner metering equipment almost without changing.
2. The same can be applied to wired air conditioner metering equipment.
3. The stop code is stored according to time periods, so that the traceability of data is ensured, and doubts of owners about using detailed lists of air conditioners are reduced.
4. Ensuring the feasibility of charging per time slot and step.
Drawings
Fig. 1 is a flowchart of a method for improving data collection quality of an air-conditioning time-type metering device according to an embodiment of the present invention.
Fig. 2 is a flowchart of a data uploading mechanism of a method for improving data acquisition quality of an air-conditioning time-type metering device according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of an air-conditioning time type metering device system according to an embodiment of the present invention.
Detailed Description
In order to better understand the present invention, the following examples are further provided to illustrate the present invention, but the present invention is not limited to the following examples. Various changes or modifications may be effected therein by one skilled in the art and such equivalents are intended to be within the scope of the invention as defined by the claims appended hereto.
As shown in fig. 1 to 3, an embodiment of the present invention provides a method for improving data acquisition quality of an air-conditioning time-type metering device, where the air-conditioning time-type metering device is mainly composed of a single chip microcomputer, a wireless communication module, and a peripheral acquisition circuit, the peripheral acquisition circuit is mainly responsible for acquiring operation time of each gear of a fan coil, the wireless communication module is responsible for returning data to a metering system platform, and data storage of the single chip microcomputer is divided into two areas: an area for storing a real-time stop code; the other region stores stop codes at regular time intervals; the method comprises the following specific steps:
step 1: when the communication is normal, the data is directly transmitted back to the metering system platform for display and storage;
step 2: once the singlechip detects that the communication is not up, starting to store the metering stop code with a time stamp in a timing storage area of a singlechip memory at a specified time interval (for example, every 30 minutes);
and step 3: and after the communication is recovered, uploading one stored stop code to the metering system platform according to the timestamp.
Therefore, the integrity of the code stopping data of the metering equipment is ensured under the condition of communication faults, and the specific length of time for which the code stopping data can be stored depends on the size of the storage space of the single chip microcomputer.
By using the invention, under the condition of wireless communication route failure, once communication is recovered, the metering equipment can still transmit the missing data to the metering system and compensate the missing data, thereby eliminating the doubt of owners and simultaneously solving the problem of charging according to time steps.
1. The air conditioner time type metering equipment takes a single chip microcomputer as a core, and is assisted by a high-grade, medium-grade and low-grade acquisition circuit and a wireless communication module of a fan coil.
2. The data storage of the single chip microcomputer is divided into two areas: an area for storing a real-time stop code; the other region stores stop codes at regular time intervals.
3. The logic of the real-time storage of the stop code is to update the stop code of the real-time storage area every 1-5 seconds on the premise that the stop code is changed.
4. The logic of the timing storage stop code is that the stop code in the real-time storage area is copied to the timing storage area every 10-30 minutes, and meanwhile, a time stamp is added, so that the stop code is stored regularly even if the fan coil is not used and the stop code is not changed. The stored data is like the following table:
Figure BDA0002813020930000041
5. because the storage space of the single chip microcomputer is limited, a circulating storage mechanism is also needed: first-in first-out means that data with the longest time is deleted first and then the latest data is stored in the data sorted in time sequence.
6. Finally, the data stored by the single chip microcomputer are uploaded to an upper computer of the metering system, so that a data uploading mechanism is formulated, the logic is the same no matter whether the wireless communication works normally all the time or recovers to be normal after a period of time of failure, and the specific steps are as follows:
step 1: firstly, reading a stop code of a real-time storage area;
step 2: and reading the historical record of the timing storage area, judging whether the identification position is 0 or not when reading, indicating that the record is not uploaded to the upper computer of the metering system, uploading the record at the moment, setting the flag position to be 1 after the record is uploaded, indicating that the record is uploaded to the upper computer of the metering system, and not repeatedly uploading.
7. Uploaded data is not deleted immediately, but is deleted when the condition of circular storage is satisfied.
Those not described in detail in this specification are within the skill of the art.

Claims (4)

1. A method for improving data acquisition quality of air-conditioning time type metering equipment is characterized by comprising the following steps: air conditioner time type metering equipment includes singlechip, wireless communication module and peripheral acquisition circuit, the operating time of each gear of fan coil is responsible for gathering to peripheral acquisition circuit, and wireless communication module is responsible for returning the data measurement system platform, the data storage of singlechip divides into two regions: an area for storing a real-time stop code; the other region stores stop codes at regular time intervals; the method comprises the following steps:
step 1: when the communication is normal, the data is directly transmitted back to the metering system platform for display and storage;
step 2: once the singlechip detects that the communication is not up, starting to store the metering stop code with the timestamp in a timing storage area of a singlechip memory according to a specified time interval;
and step 3: and after the communication is recovered, uploading one stored stop code to the metering system platform according to the timestamp.
2. The method for improving the data acquisition quality of the air-conditioning time type metering equipment according to claim 1, wherein the logic for storing the stop code in real time is to update the stop code in the real-time storage area every 1-5 seconds on the premise that the stop code is changed.
3. The method for improving the data acquisition quality of the air-conditioning time type metering equipment according to claim 1, wherein the logic of regularly storing the stop codes is that the stop codes in the real-time storage area are copied to the regular storage area every 10-30 minutes, and meanwhile, a timestamp is added, so that the stop codes are still stored regularly even if a fan coil is not used and the stop codes are not changed; storing data table contents includes: time stamp, low-grade stop code, middle-grade stop code, high-grade stop code and zone bit.
4. The method for improving the data acquisition quality of the air-conditioning time type metering equipment according to any one of claims 1 to 3, wherein the data stored by the single chip microcomputer are uploaded to a metering system platform, and no matter whether the wireless communication works normally all the time or recovers to be normal after a time of failure, a mechanism for uploading the data is specifically formulated as follows:
step 1: starting metering;
step 2: recording to a real-time storage area in real time;
and step 3: recording the timing information to a timing storage area at regular time, and marking the position 0;
and 4, step 4: when uploading, the stop code of the real-time storage area is read firstly, then the historical record of the timing storage area is read, whether the identification position is 0 or not needs to be judged firstly when reading, the record is not uploaded to the metering system platform and can be uploaded at the moment, the flag position is set to 1 after the uploading of the record is finished, the record is uploaded to the upper computer of the metering system, and the repeated uploading is not needed.
CN202011391640.1A 2020-12-02 2020-12-02 Method for improving data acquisition quality of air conditioner time type metering equipment Withdrawn CN112669530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011391640.1A CN112669530A (en) 2020-12-02 2020-12-02 Method for improving data acquisition quality of air conditioner time type metering equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011391640.1A CN112669530A (en) 2020-12-02 2020-12-02 Method for improving data acquisition quality of air conditioner time type metering equipment

Publications (1)

Publication Number Publication Date
CN112669530A true CN112669530A (en) 2021-04-16

Family

ID=75400813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011391640.1A Withdrawn CN112669530A (en) 2020-12-02 2020-12-02 Method for improving data acquisition quality of air conditioner time type metering equipment

Country Status (1)

Country Link
CN (1) CN112669530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113352927A (en) * 2021-06-03 2021-09-07 郑州宜家安好软件科技有限公司 Offline charging method, device, system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000074960A (en) * 1998-08-31 2000-03-14 Mitsubishi Electric Corp Method and device for metering watthour for every time zone
CN101196334A (en) * 2006-12-05 2008-06-11 日立空调·家用电器株式会社 Operation data collecting device for abnormity resolution for air-conditioner and air-conditioner thereof
CN201561528U (en) * 2009-09-28 2010-08-25 重庆大学 Tail end controller and billing system for central air-conditioning metering
CN102279067A (en) * 2011-04-01 2011-12-14 重庆大学 Method and device for metering cooling capacity and heating capacity at tail end of fan coil of central air-conditioning system
CN102650462A (en) * 2012-06-05 2012-08-29 杭州源牌环境科技有限公司 Wireless time sampling instrument for temperature controller of fan coil
CN107995277A (en) * 2017-11-28 2018-05-04 上海华测导航技术股份有限公司 A kind of method resumed based on GNSS receiver data breakpoint
CN112016025A (en) * 2019-05-31 2020-12-01 北京易真学思教育科技有限公司 Data acquisition method and device and terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000074960A (en) * 1998-08-31 2000-03-14 Mitsubishi Electric Corp Method and device for metering watthour for every time zone
CN101196334A (en) * 2006-12-05 2008-06-11 日立空调·家用电器株式会社 Operation data collecting device for abnormity resolution for air-conditioner and air-conditioner thereof
CN201561528U (en) * 2009-09-28 2010-08-25 重庆大学 Tail end controller and billing system for central air-conditioning metering
CN102279067A (en) * 2011-04-01 2011-12-14 重庆大学 Method and device for metering cooling capacity and heating capacity at tail end of fan coil of central air-conditioning system
CN102650462A (en) * 2012-06-05 2012-08-29 杭州源牌环境科技有限公司 Wireless time sampling instrument for temperature controller of fan coil
CN107995277A (en) * 2017-11-28 2018-05-04 上海华测导航技术股份有限公司 A kind of method resumed based on GNSS receiver data breakpoint
CN112016025A (en) * 2019-05-31 2020-12-01 北京易真学思教育科技有限公司 Data acquisition method and device and terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113352927A (en) * 2021-06-03 2021-09-07 郑州宜家安好软件科技有限公司 Offline charging method, device, system and storage medium

Similar Documents

Publication Publication Date Title
CN111510875B (en) Mobile communication device and method for managing operation of multiple actuators
CN101483008B (en) Terminal device for vehicle scheduling monitoring and working process thereof
CN102577023A (en) Power control system
CN112686649B (en) Construction equipment management system based on artificial intelligence
JPH11337149A (en) System for comparing states of use of air conditioning apparatuses
CN101398682B (en) Split type or integral air conditioner cluster network centralization of management control device and method
JP2008015838A (en) Product information management system of refrigerator
US9780589B2 (en) Electric power control system
CN104422088A (en) Air-conditioning apparatus
CN112669530A (en) Method for improving data acquisition quality of air conditioner time type metering equipment
CN203655119U (en) Transformer station inspection robot automatic door control system based on mechanical travel switch
CN105300025A (en) Refrigerator monitoring system
DE102006003333B4 (en) Self-configurable consumption indicator with radio receiver in the home area and method for this
CN203480680U (en) Intelligent handheld electric energy concentrator
CN210670149U (en) Remote monitoring system for electric engineering machinery
CN204598000U (en) A kind of automobile-used gateway controller
CN105741151A (en) Electric locomotive leasing system and electric locomotive and communication box thereof
JP5291529B2 (en) Information management method
CN1402020A (en) Automatic weather station
CN201100726Y (en) Centralized management control device for separated or mono air conditioner cluster network
CN205373256U (en) Fridge monitored control system
CN109669394B (en) Milling machine construction data storage method
CN207617629U (en) A kind of car-mounted terminal informationization all-in-one machine
CN210310348U (en) Air conditioner control device of motor train unit
CN110069052A (en) The travelling data management method of motor-car automatic neutral-section passing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210416