CN114979836B - 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
- CN114979836B CN114979836B CN202210758393.7A CN202210758393A CN114979836B CN 114979836 B CN114979836 B CN 114979836B CN 202210758393 A CN202210758393 A CN 202210758393A CN 114979836 B CN114979836 B CN 114979836B
- 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.)
- Active
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 a correct data code, if so, judging whether the data code corresponds to a single channel or a double channel, and if the data code corresponds to a single channel, 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 computer, 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 the electric energy form channel or the double channels according to requirements, and achieve double-address communication or single-address double-channel communication to meet the requirements 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 develops a method for acquiring data of a dual-channel direct current 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 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; 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.
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, accessing data of a channel (a first channel or a second channel) or double channels (the first channel and the second channel) of an electric energy form according to requirements, and realizing double-address communication or single-address double-channel communication to 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 the single address), 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; 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, accessing data of a channel (a first channel or a second channel) or double channels (the first channel and the second channel) of an electric energy form according to requirements, and realizing double-address communication or single-address double-channel communication to 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 acquiring 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 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.
2. The method for acquiring data of the dual-channel direct current electric energy meter according to claim 1, wherein: 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 the electric energy data of the second channel and the 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 CN114979836A (en) | 2022-08-30 |
CN114979836B true 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 (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1575148A (en) * | 1976-07-07 | 1980-09-17 | Heliowatt Werke | Electrical energy meters |
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 complete set of low-voltage intelligent collection device and a dual-channel collection method for low-voltage collection |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9379907B2 (en) * | 2004-10-20 | 2016-06-28 | Electro Industries/Gauge Tech | Multichannel intelligent electronic device with advanced communication capabilities |
-
2022
- 2022-06-30 CN CN202210758393.7A patent/CN114979836B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1575148A (en) * | 1976-07-07 | 1980-09-17 | Heliowatt Werke | Electrical energy meters |
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 complete set of low-voltage intelligent collection device and a dual-channel collection method for low-voltage collection |
Also Published As
Publication number | Publication date |
---|---|
CN114979836A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201170925Y (en) | Remote resident centralized meter reading control system | |
CN107295039A (en) | Data access treating method and apparatus | |
CN104954096A (en) | One-master multi-slave high-speed synchronous serial communication data transmission method | |
CN103795440A (en) | Data processing device for power line communication and data processing method thereof | |
CN102722686B (en) | Magnetic card decoding method | |
CN202041845U (en) | A vehicle-mounted CAN bus system measurement and control analysis platform | |
CN201402287Y (en) | Voltage drop detecting device of secondary circuit of voltage transformer | |
CN114979836B (en) | Method for collecting data of dual-channel direct current electric energy meter | |
CN102413008B (en) | Based on method of testing and the system of electric power 104 stipulations | |
CN109861795A (en) | CANFD bus system sampling point configuration and testing method and corresponding data transmission method | |
CN104007410A (en) | Digital electric energy meter verifying device | |
CN102043105B (en) | Full-function test device and test method of AC (alternating current) charging pile | |
CN209627389U (en) | Charging pile communication compatibility detection device | |
CN201732158U (en) | Self-checking device | |
CN112910086B (en) | Intelligent substation data verification method and system | |
CN106911530B (en) | Key test instruction transmission system and method based on serial port redundancy strategy | |
CN201918002U (en) | Remote meter reading system | |
CN113223287B (en) | A communication method and system between a smart energy meter and a load identification module based on SPI | |
CN211454780U (en) | Remote meter reading equipment platform | |
CN114895144A (en) | Line selection evaluation method, device, electronic equipment and storage medium | |
CN116582772B (en) | Electric energy data acquisition method, system, electronic equipment and medium | |
CN111934952A (en) | Method, device, equipment and storage medium for testing station electric energy acquisition terminal | |
CN218567591U (en) | Error calibrating device | |
CN111711547B (en) | End-to-end time delay measuring method of computer based on hardware interrupt signal | |
CN216904919U (en) | Synchronous CAN module with 20 channels and more |
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 |