CN114979836A - Method for collecting data of dual-channel direct current electric energy meter - Google Patents
Method for collecting data of dual-channel direct current electric energy meter Download PDFInfo
- Publication number
- CN114979836A CN114979836A CN202210758393.7A CN202210758393A CN114979836A CN 114979836 A CN114979836 A CN 114979836A CN 202210758393 A CN202210758393 A CN 202210758393A CN 114979836 A CN114979836 A CN 114979836A
- Authority
- CN
- China
- Prior art keywords
- data
- channel
- electric energy
- address
- address addr
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2209/00—Arrangements in telecontrol or telemetry systems
- H04Q2209/60—Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/16—Information or communication technologies improving the operation of electric vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention relates to a method for acquiring data of a dual-channel direct current electric energy meter, which comprises the following steps: judging whether the device address is the local address ADDR or the tail number +1 of the local address ADDR; if the local address ADDR is the local address ADDR, judging whether the data code is correct data code, if so, judging whether the data code is single-channel corresponding data code or double-channel corresponding data code, and if the data code is single-channel corresponding data code, returning the data information of the first channel; if the data codes correspond to the two channels, returning the data information of the first channel and the second channel; if the address is the tail number +1 of the address ADDR of the machine, judging whether the data code is correct data code, if so, returning the data information of the second channel; if the address is not the local address ADDR or the tail number +1 of the local address ADDR, returning error information and waiting for requesting a data frame next time; the method can access data of a channel of the electric energy form or a double channel according to requirements, and double-address communication or single-address double-channel communication is achieved to meet the requirement of self-adaptive data communication.
Description
Technical Field
The invention relates to the technical field of double-channel direct current electric energy meters, in particular to a method for acquiring data of a double-channel direct current electric energy meter.
Background
An electric energy meter is an instrument for measuring electric energy, and is also called a watt-hour meter, a fire meter and a kilowatt-hour meter, and refers to an instrument for measuring various electric quantities.
With the development of electric vehicles, the more electric charging piles of two guns or 4 guns are required. In order to meet the space and performance requirements of the charging pile with double guns or 4 guns, the double-channel direct current electric energy meter is produced.
The data collected by the existing dual-channel electric energy meter is often collected by a single address, and the requirement of data communication is difficult to adapt.
Therefore, in the patent application of the present invention, the applicant elaborately researched a method for collecting data of a dual-channel dc electric energy meter to solve the above problems.
Disclosure of Invention
The invention aims at the defects of the prior art, and mainly aims to provide a method for acquiring data of a dual-channel direct current electric energy meter, which can access data of a channel (a first channel or a second channel) or a dual channel (the first channel and the second channel) of the electric energy meter according to requirements, realize dual-address communication or single-address dual-channel communication, and meet the requirements of self-adaptive data communication.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for collecting data of a dual-channel direct current electric energy meter comprises the following steps:
receiving a request data frame initiated by a terminal, wherein the request data frame comprises a device address and a data code;
judging whether the equipment address is the local address ADDR or the tail number +1 of the local address ADDR;
if the address is the address ADDR of the local machine, judging whether the data code is the correct data code, and if not, returning error information; if the data coding is the data coding corresponding to the single channel or the data coding corresponding to the double channels, returning the data information of the first channel to the requester; if the data codes correspond to the two channels, returning the data information of the first channel and the second channel to the requester;
if the address is the tail number +1 of the address ADDR of the computer, judging whether the data code is a correct data code, and if so, returning the data information of the second channel to the requester;
if the address is not the local address ADDR or the tail number +1 of the local address ADDR, returning error information and waiting for the next data frame request.
As a preferred scheme, the receiving terminal receives a request data frame initiated at set time intervals.
Preferably, the data information of the first channel includes power data of the first channel and instantaneous data of the power meter.
Preferably, the data information of the second channel includes power data of the second channel and instantaneous data of the power meter.
As a preferable scheme, when the device address is the tail number +1 of the local address ADDR, if the data encoding is an erroneous data encoding, the next data frame request is waited.
Compared with the prior art, the invention has obvious advantages and beneficial effects, particularly: the method mainly comprises the steps of judging whether an equipment address is a local address ADDR or a tail number +1 of the local address ADDR, judging whether a data code is a correct data code, judging whether single-channel data or double-channel data is obtained if the data code is the correct code, and accessing data of a channel (a first channel or a second channel) or double channels (the first channel and the second channel) of the electric energy form according to requirements to realize double-address communication or single-address double-channel communication and meet the requirement of self-adaptive data communication.
To more clearly illustrate the structural features and effects of the present invention, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
Drawings
FIG. 1 is a general flow diagram of an embodiment of the present invention.
Detailed Description
Referring to fig. 1, which shows a specific structure of an embodiment of the present invention, a method for acquiring data of a dual-channel dc electric energy meter includes:
in this embodiment, the receiving terminal sends the request data frame every set time. The request data frame comprises a device address and a data encoding;
judging whether the device address is the local address ADDR or the tail number +1 of the local address ADDR;
if the address is the local address ADDR (namely a single address), judging whether the data code is a correct data code, and if not, returning error information; if the data information is the data code corresponding to the single channel or the data code corresponding to the double channels, returning the data information of the first channel to the requester; in this embodiment, the data information of the first channel includes power data of the first channel and instantaneous data of the power meter.
If the data codes correspond to the two channels, returning the data information of the first channel and the second channel to the requester; in this embodiment, the data information of the second channel includes the power data of the second channel and the instantaneous data of the power meter.
If the address is the tail number +1 (namely the double address) of the address ADDR of the local machine, judging whether the data code is the correct data code, and if so, returning the data information of the second channel to the requester; in this embodiment, when the device address is the end +1 of the local address ADDR, if the data encoding is an erroneous data encoding, the next data frame is waited for.
If the address is not the local address ADDR or the tail number +1 of the local address ADDR, returning error information and waiting for the next data frame request.
The design key points of the invention are as follows: the method mainly comprises the steps of judging whether an equipment address is a local address ADDR or a tail number +1 of the local address ADDR, judging whether a data code is a correct data code, judging whether single-channel data or double-channel data is obtained if the data code is the correct code, and accessing data of a channel (a first channel or a second channel) or double channels (the first channel and the second channel) of the electric energy form according to requirements to realize double-address communication or single-address double-channel communication and meet the requirement of self-adaptive data communication.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the technical scope of the present invention, so that any minor modifications, equivalent changes and modifications made to the above embodiment according to the technical spirit of the present invention are within the technical scope of the present invention.
Claims (5)
1. A method for collecting data of a dual-channel direct current electric energy meter is characterized by comprising the following steps: comprises the following steps:
receiving a request data frame initiated by a terminal, wherein the request data frame comprises a device address and a data code;
judging whether the device address is the local address ADDR or the tail number +1 of the local address ADDR;
if the address is the address ADDR of the local machine, judging whether the data code is the correct data code, and if not, returning error information; if the data information is the data code corresponding to the single channel or the data code corresponding to the double channels, returning the data information of the first channel to the requester; if the data codes correspond to the two channels, returning the data information of the first channel and the second channel to the requester;
if the address is the tail number +1 of the address ADDR of the machine, judging whether the data code is correct, and if so, returning the data information of the second channel to the requester;
if the address is not the local address ADDR or the tail number +1 of the local address ADDR, returning error information and waiting for the next data frame request.
2. The method for acquiring data of the dual-channel direct current electric energy meter according to claim 1, wherein the method comprises the following steps: and receiving a request data frame initiated by the terminal every set time.
3. The method for acquiring data of the dual-channel direct current electric energy meter according to claim 1, wherein the method comprises the following steps: the data information of the first channel comprises electric energy data of the first channel and instant data of the electric energy meter.
4. The method for acquiring data of the dual-channel direct current electric energy meter according to claim 1, wherein the method comprises the following steps: the data information of the second channel comprises electric energy data of the second channel and instant data of the electric energy meter.
5. The method for acquiring data of the dual-channel direct current electric energy meter according to claim 1, wherein the method comprises the following steps: when the device address is the tail number +1 of the local address ADDR, if the data code is an erroneous data code, the next data frame request is waited.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210758393.7A CN114979836B (en) | 2022-06-30 | 2022-06-30 | Method for collecting data of dual-channel direct current electric energy meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210758393.7A CN114979836B (en) | 2022-06-30 | 2022-06-30 | Method for collecting data of dual-channel direct current electric energy meter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114979836A true CN114979836A (en) | 2022-08-30 |
CN114979836B CN114979836B (en) | 2023-03-14 |
Family
ID=82966871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210758393.7A Active CN114979836B (en) | 2022-06-30 | 2022-06-30 | Method for collecting data of dual-channel direct current electric energy meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114979836B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1575148A (en) * | 1976-07-07 | 1980-09-17 | Heliowatt Werke | Electrical energy meters |
US20080158008A1 (en) * | 2004-10-20 | 2008-07-03 | Electro Industries/Gauge Tech. | Multichannel intelligent electronic device with advanced communication capabilities |
CN101694739A (en) * | 2009-10-10 | 2010-04-14 | 江苏省电力公司南京供电公司 | Double-channel multifunctional electric energy information collector and communication method thereof |
CN108520624A (en) * | 2018-05-08 | 2018-09-11 | 国网安徽省电力有限公司 | A kind of low-voltage intelligent acquires the double channels acquisition method of complexes and low pressure acquisition |
-
2022
- 2022-06-30 CN CN202210758393.7A patent/CN114979836B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1575148A (en) * | 1976-07-07 | 1980-09-17 | Heliowatt Werke | Electrical energy meters |
US20080158008A1 (en) * | 2004-10-20 | 2008-07-03 | Electro Industries/Gauge Tech. | Multichannel intelligent electronic device with advanced communication capabilities |
CN101694739A (en) * | 2009-10-10 | 2010-04-14 | 江苏省电力公司南京供电公司 | Double-channel multifunctional electric energy information collector and communication method thereof |
CN108520624A (en) * | 2018-05-08 | 2018-09-11 | 国网安徽省电力有限公司 | A kind of low-voltage intelligent acquires the double channels acquisition method of complexes and low pressure acquisition |
Also Published As
Publication number | Publication date |
---|---|
CN114979836B (en) | 2023-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102393738B (en) | Diagnostic device and test method of automobile electronic control unit (ECU) | |
CN201600774U (en) | Double-channel automatic meter reading system | |
CN202041845U (en) | Vehicle-mounted CAN (Control Area Network) bus system test and control analysis platform | |
CN109068354B (en) | Data coding transmission method, terminal and system based on Beidou communication | |
CN102413008B (en) | Based on method of testing and the system of electric power 104 stipulations | |
CN114979836B (en) | Method for collecting data of dual-channel direct current electric energy meter | |
CN114268556B (en) | Broadband micropower MAC layer consistency test system in electricity consumption information acquisition system | |
CN102043105B (en) | Full-function test device and test method of AC (alternating current) charging pile | |
CN201903579U (en) | Measuring device for carrying out online measurement on voltage of 48 monomer batteries | |
CN105407500B (en) | The display methods and device of a kind of intelligent terminal and its satellite signal quality | |
CN110209605A (en) | The register reading/writing method and calculating equipment of PCIE Cardbus NIC Cardbus | |
CN105590436A (en) | Point-to-point meter reading method | |
CN201732158U (en) | Self-checking device | |
CN109861795A (en) | CANFD bus system sampled point configures and test method and corresponding data transmission method | |
CN113223287B (en) | SPI-based communication method and system for intelligent electric energy meter and load identification module | |
CN103235926A (en) | Intelligent meter reading method and system for substation equipment based on two-dimension code technology | |
CN105445545A (en) | IEC62056-standard-based three-phase harmonic fiber electric energy meter | |
CN201918002U (en) | Remote meter reading system | |
CN110032523B (en) | Register storage method based on address bit dynamic definition for diesel engine assembly test | |
CN109309682B (en) | FT 3-IEC 61850-9-2 protocol conversion method and system for digital metering | |
CN204390459U (en) | A kind of remote reading meter | |
CN105406943A (en) | High-integrity coding method of 1553B bus | |
CN103901370B (en) | Magnetic resonance system, radio frequency coil testing device and channel matching method and device | |
CN205139241U (en) | Three -phase harmonic optic fibre electric energy meter based on IEC62056 standard | |
CN111934952A (en) | Method, device, equipment and storage medium for testing station electric energy acquisition terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |