CN112969165A - Multi-channel anti-collision method and system for electric energy meter verification - Google Patents

Multi-channel anti-collision method and system for electric energy meter verification Download PDF

Info

Publication number
CN112969165A
CN112969165A CN202110109645.9A CN202110109645A CN112969165A CN 112969165 A CN112969165 A CN 112969165A CN 202110109645 A CN202110109645 A CN 202110109645A CN 112969165 A CN112969165 A CN 112969165A
Authority
CN
China
Prior art keywords
pulse
bluetooth
electric energy
energy meter
receiving device
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.)
Pending
Application number
CN202110109645.9A
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
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 State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Corp of China SGCC
Priority to CN202110109645.9A priority Critical patent/CN112969165A/en
Publication of CN112969165A publication Critical patent/CN112969165A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • H04W74/0841Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment
    • H04W74/085Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment collision avoidance
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a multi-channel anti-collision method and a multi-channel anti-collision system for electric energy meter verification, and belongs to the technical field of wireless communication. The method comprises the following steps: acquiring a communication address of the electric energy meter to be calibrated, determining pulse calibration parameter information and sending the pulse calibration parameter information to the electric energy meter to be calibrated; obtaining pulse verification parameter information, returning a response frame through the pulse verification parameters, and switching the Bluetooth module to a private wireless working mode; after receiving the detection platform body command, the management module switches the Bluetooth module to a private wireless working mode through a communication address and a channel in the pulse verification parameters; switching and transmitting pulse signals according to multiple channels in the verification parameters to obtain returned confirmation information, and stopping switching and transmitting after confirmation; and replying a confirmation frame according to the received multi-channel signal, determining a pulse signal, and restoring the pulse to the platform body after processing. The invention can meet the verification precision and support communication during verification under the condition that a plurality of electric energy meters are verified, thereby improving the detection efficiency.

Description

Multi-channel anti-collision method and system for electric energy meter verification
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a multi-channel anti-collision method and system for electric energy meter verification.
Background
When the current intelligent electric energy meter is checked on a table body or an automatic line, a common communication mode is RS485, a pulse output mode is an auxiliary terminal, in the design of the next generation of multi-core modular intelligent electric energy meter, an auxiliary terminal is removed, Bluetooth replaces RS485 communication, LED light pulse replaces auxiliary terminal pulse, under the background, if the pulse receiving device is changed into the optical signal receiving head by the platform body or the automatic line, the problems of high modification cost, long period and difficult hole alignment of optical signals exist, in order to reduce the equipment modification cost and difficulty and to be compatible with the existing platform body or automatic line verification mode as much as possible, the method considers that the Bluetooth data transmission and reception are used for replacing the signal output and reception of the original auxiliary terminal, and simultaneously the standard Bluetooth communication function is kept, the pulse signal detection is realized, and meanwhile, the rapid data interaction through the Bluetooth between the electric energy meter and the table body and between the automatic lines is still supported.
The Bluetooth works in the range of 2.4G-2.48G frequency bands, 2M is taken as a step, the whole working frequency band is divided into 40 channels, the communication anti-collision under a multi-Bluetooth working scene is realized through a channel frequency hopping mechanism of a software protocol stack, the Bluetooth frequency hopping mechanism is provided with a dynamic delay synchronization function, the maximum delay between physical layer data frames can reach 10ms and is not fixed, and the requirement of electric energy meter verification cannot be met when the standard Bluetooth sends pulse data to realize precision verification. Based on the reasons, the electric energy meter is not feasible in technology for realizing pulse verification by using a standard Bluetooth protocol stack, private protocol data can be transmitted by directly using the wireless radio frequency of a Bluetooth module, the electric energy meter to be detected serves as a data transmitting end, the verification platform body serves as a data receiving end, the wireless radio frequency of the Bluetooth module and the wireless radio frequency of the Bluetooth module are set to work on a certain channel fixedly, and then data interaction is carried out through the wireless radio frequency, so that the requirement of low transmission delay is met, but when the private protocol is transmitted by using the wireless radio frequency, the wireless radio frequency is fixed, the problem of channel conflict exists when a plurality of data transmitting ends use the same channel to transmit data, and the accuracy and the integrity of the data receiving end are influenced.
Disclosure of Invention
The invention aims to solve the problem of multi-channel interference conflict existing in the process of transmitting pulses by an electric energy meter through a Bluetooth channel, and provides a multi-channel anti-collision method for electric energy meter verification, which comprises the following steps:
the control verification platform body acquires a communication address of the electric energy meter to be verified, sends the communication address to a management module on the Bluetooth pulse receiving device, determines pulse verification parameters according to the communication address through the management module, and sends the pulse verification parameters to the electric energy meter to be verified;
when the electric energy meter to be detected receives the pulse detection parameters, returning a response frame, and switching the Bluetooth of the electric energy meter to be detected to a private wireless working mode;
when the verification stage body receives the response frame and sends a detection stage body command to the management module of the Bluetooth pulse receiving device according to the response frame, the management module is controlled to switch the Bluetooth module of the Bluetooth pulse receiving device to a private wireless working mode through pulse verification parameters;
when the electric energy meter to be determined receives the pulse signal, acquiring the return confirmation information of the Bluetooth pulse receiving device according to the pulse signal parameters, and stopping switching transmission after receiving the return confirmation information;
and after controlling any one path of signal in the multi-path channel received by the Bluetooth pulse receiving device, replying an electric energy meter confirmation frame, restoring the pulse signal in a preset mode, and sending the pulse signal to the verification table body.
Optionally, the electric energy meter to be determined is switched between a standard low-power-consumption bluetooth protocol stack mode and a private wireless working mode.
Optionally, after the bluetooth module of the bluetooth and bluetooth pulse receiving device of the electric energy meter to be determined is switched to the private wireless working mode, the bluetooth pulse receiving device is in a wireless receiving state, and is switched from a wireless transmitting state to a wireless transmitting state before transmitting a pulse signal or receiving a confirmation frame for transmitting, and after the transmission is completed, the wireless receiving device is switched back to the receiving state;
wherein, the bluetooth pulse receiving device uses a plurality of bluetooth modules to receive the pulse signal.
Optionally, the bluetooth pulse receiving device filters pulse signals sent from the same channel through the bluetooth module, and when the bluetooth module of the bluetooth pulse receiving device receives the pulse signals, the pulse signals are output to the management module and restored through the management module;
the restoring pulse signal comprises: communication information, clock pulse signals, active pulse signals, reactive pulse signals and harmonic pulse signals.
Optionally, the pulse verification parameters include: communication address, multi-channel information, channel switching delay and transmission power.
The invention also provides a multi-channel anti-collision system for electric energy meter verification, which comprises:
the pulse verification parameter obtaining unit 201 controls the verification platform body to obtain a communication address of the electric energy meter to be verified, sends the communication address to a management module on the Bluetooth pulse receiving device, determines pulse verification parameters according to the communication address through the management module, and sends the pulse verification parameters to the electric energy meter to be verified;
a receive return response frame unit 202, which returns a response frame after the electric energy meter to be detected receives the pulse verification parameters, and switches the bluetooth of the electric energy meter to be detected to a private wireless working mode;
the working mode switching unit 203 is used for controlling the management module to switch the Bluetooth module of the Bluetooth pulse receiving device to a private wireless working mode through pulse verification parameters after the verification platform receives the response frame and sends a detection platform command to the management module of the Bluetooth pulse receiving device according to the response frame;
the confirmation information unit 204 is used for acquiring the return confirmation information of the Bluetooth pulse receiving device according to the pulse signal parameters after the electric energy meter to be determined receives the pulse signal, and stopping switching transmission after the confirmation information is received;
the pulse signal restoring unit 205 is configured to reply to the electric energy meter confirmation frame after controlling any one of the multiple channels of signals received by the bluetooth pulse receiving device, restore the pulse signal in a preset manner, and send the restored pulse signal to the verification stage.
Optionally, the electric energy meter to be determined is switched between a standard low-power-consumption bluetooth protocol stack mode and a private wireless working mode.
Optionally, after the bluetooth module of the bluetooth and bluetooth pulse receiving device of the electric energy meter to be determined is switched to the private wireless working mode, the bluetooth pulse receiving device is in a wireless receiving state, and is switched from a wireless transmitting state to a wireless transmitting state before transmitting a pulse signal or receiving a confirmation frame for transmitting, and after the transmission is completed, the wireless receiving device is switched back to the receiving state;
wherein, the bluetooth pulse receiving device uses a plurality of bluetooth modules to receive the pulse signal.
Optionally, the bluetooth pulse receiving device filters pulse signals sent from the same channel through the bluetooth module, and when the bluetooth module of the bluetooth pulse receiving device receives the pulse signals, the pulse signals are output to the management module and restored through the management module;
the restoring pulse signal comprises: communication information, clock pulse signals, active pulse signals, reactive pulse signals and harmonic pulse signals.
Optionally, the pulse verification parameters include: communication address, multi-channel information, channel switching delay and transmission power.
The invention directly sends data on a physical layer by designating a mode of switching and sending a plurality of channel frequencies, realizes low-delay pulse transmission and expands the number of Bluetooth working channels so as to meet the common verification requirements of a plurality of epitopes, and simultaneously controls the Bluetooth transmitting power and implements the Bluetooth private protocol and the standard protocol cross multiplexing;
the invention better solves the problems of high time delay, accuracy jump, channel conflict and the like of simultaneously using the standard Bluetooth technology to detect the meter by multiple meter positions after the auxiliary terminal of the intelligent electric energy meter is cancelled.
Drawings
FIG. 1 is a flow chart of a multi-channel anti-collision method for electric energy meter verification according to the present invention;
FIG. 2 is a system diagram of a method for calibrating an electric energy meter and performing multi-channel anti-collision processing by using a meter calibration stand and a Bluetooth pulse device according to an embodiment of the invention;
fig. 3 is a schematic diagram of pulse reduction of an electric energy meter calibration and multi-channel anti-collision processing method using a cross-standard platform and a bluetooth pulse device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a method for calibrating an electric energy meter by Bluetooth low energy and performing communication at the same time according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a pulse receiving device of an electric energy meter verification and multi-channel anti-collision processing method using a beacon body and a bluetooth pulse device according to an embodiment of the present invention;
fig. 6 is a block diagram of a multi-channel anti-collision system for electric energy meter verification according to the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The invention directly sends data on a physical layer by designating a mode of switching and sending a plurality of channel frequencies, realizes low-delay pulse transmission and expands the number of Bluetooth working channels so as to meet the common verification requirements of a plurality of epitopes, and simultaneously solves the problems of high delay, precision jump, channel conflict and the like faced by simultaneously using a standard Bluetooth technology to detect the multi-epitope by controlling the Bluetooth transmitting power and implementing the Bluetooth private protocol and the standard protocol to be cross-multiplexed.
The invention provides a multi-channel anti-collision method for electric energy meter verification, as shown in fig. 1, comprising the following steps:
the control verification platform body acquires a communication address of the electric energy meter to be verified, sends the communication address to a management module on the Bluetooth pulse receiving device, determines pulse verification parameters according to the communication address through the management module, and sends the pulse verification parameters to the electric energy meter to be verified;
when the electric energy meter to be detected receives the pulse detection parameters, returning a response frame, and switching the Bluetooth of the electric energy meter to be detected to a private wireless working mode;
when the verification stage body receives the response frame and sends a detection stage body command to the management module of the Bluetooth pulse receiving device according to the response frame, the management module is controlled to switch the Bluetooth module of the Bluetooth pulse receiving device to a private wireless working mode through pulse verification parameters;
when the electric energy meter to be determined receives the pulse signal, acquiring the return confirmation information of the Bluetooth pulse receiving device according to the pulse signal parameters, and stopping switching transmission after receiving the return confirmation information;
and after controlling any one path of signal in the multi-path channel received by the Bluetooth pulse receiving device, replying an electric energy meter confirmation frame, restoring the pulse signal in a preset mode, and sending the pulse signal to the verification table body.
The electric energy meter to be determined is switched between a standard low-power-consumption Bluetooth protocol stack mode and a private wireless working mode.
After the Bluetooth module of the Bluetooth and the Bluetooth pulse receiving device of the electric energy meter to be determined is switched to a private wireless working mode, the Bluetooth pulse receiving device is in a wireless receiving state, the wireless receiving device is switched to a sending state before sending a pulse signal or receiving a confirmation frame and then sends the pulse signal or the confirmation frame, and after the sending is finished, the wireless receiving device is switched back to the receiving state;
wherein, the bluetooth pulse receiving device uses a plurality of bluetooth modules to receive the pulse signal.
The Bluetooth module of the Bluetooth pulse receiving device receives the pulse signals, outputs the pulse signals to the management module, and restores the pulse signals through the management module;
wherein, restore pulse signal, include: communication information, clock pulse signals, active pulse signals, reactive pulse signals and harmonic pulse signals.
Wherein, the pulse verification parameters comprise: communication address, multi-channel information, channel switching delay and transmission power.
The invention is further illustrated by the following examples:
the invention is used for verifying the mode of transmitting and receiving transmission signals by a plurality of channels, and the structure of the system verification is shown in figure 2;
the pulse receiving device management module of the verification platform body (a multi-meter platform body or an automation line) generates parameters such as multi-channel information, channel switching delay, transmitting power and the like according to information such as a communication address and the like, the parameters are sent to the electric energy meter to be verified through Bluetooth, the electric energy meter to be verified replies a confirmation frame after receiving the parameters, and the Bluetooth of the electric energy meter is switched to a private wireless mode; after receiving the confirmation frame, the verification platform body controls the Bluetooth module on the receiving device to be switched to a private mode through the management module, the private mode uses fixed channels which respectively correspond to multiple channels in the parameters generated by the management module, the Bluetooth module 1 uses the channel 1, the Bluetooth module 2 and the Bluetooth module N uses the channel N.
The Bluetooth module of the electric energy meter to be detected is configured with a corresponding pulse input GPIO port as an interrupt edge triggering mode, the interrupt mode is higher in real-time performance than a polling mode, and the transmitted delay error (less than 1 mu s) is very small. When a pulse signal is input, the Bluetooth module of the electric meter detects the rising edge and the falling edge of the pulse through the GPIO port, then generates the pulse signal, switches the radio frequency to enter a sending state, loads the pulse signal to the Bluetooth PHY radio frequency, sends the pulse signal by using a channel 1 in a preset multi-channel, switches the radio frequency to enter a receiving state after the sending is finished, simultaneously starts timing, the timing time is the preset channel switching delay, if a confirmation frame returned by the pulse receiving device in the timing time indicates that the pulse signal is successfully sent, at the moment, the subsequent channel switching sending is not needed, the timing is stopped, and the channel is switched back to the channel 1 to wait for the next pulse input; and if the acknowledgement frame is not received within the timing time, switching the channel to the channel 2 in the multi-channel for sending after the timing is finished, and timing to wait for returning the acknowledgement frame until all the channels in the multi-channel are sent once according to the same flow.
The detecting platform body pulse receiving device monitors multi-channel signals at the same time, when any one Bluetooth module receives the pulse signals, the level is output to the management module on the corresponding pin according to different pulse types, and the level is collected and analyzed by the management module in a unified mode.
The invention solves the problem of anti-collision of Bluetooth pulse transmission:
besides 40 channels in the standard 2.4G-2.48G frequency band range, the electric energy meter to be verified additionally expands a plurality of non-standard channels for the Bluetooth module, wherein the non-standard channels are mainly concentrated between 2.36G-2.4G and 2.48G-2.5G, the minimum non-standard channels can be stepped by 1M, and the non-standard channels and the standard channels are used for being uniformly distributed to different epitopes and different platforms, so that the channels in the small space range are ensured not to conflict.
When the state of the electric energy meter is controlled, the transmitting power of the Bluetooth module of the electric energy meter to be detected is controlled in the minimum state, and the effective communication distance is ensured not to exceed 1 meter, so that channel conflicts can be prevented from occurring on a plurality of platforms or the automatic detection line of the electric energy meter.
The pulse receiving device of the verification platform body can monitor signals of a plurality of channels at the same time, even if the signals on one or a plurality of channels are collided to cause reception failure, the pulse can be correctly analyzed and restored as long as the signal of one channel is successfully received, meanwhile, the pulse receiving device of the platform body can return a confirmation frame after receiving the signal of any one channel, the electric energy meter to be tested can not use the rest channels for signal transmission after receiving the confirmation frame, and the probability of channel collision is further reduced.
By properly allocating the multi-channel transmission and controlling the transmit power, it is substantially ensured that the burst transmission channels do not collide.
The invention is used for carrying out anti-collision treatment on the Bluetooth pulse receiving device and the multi-channel for electric energy meter verification, as shown in figure 3;
after the Bluetooth module of the electric energy meter to be verified detects a pulse signal, switching transmission is carried out between multiple channels at intervals of channel switching delay, the total time T (total number of channels N-1) x (channel switching delay T1) of all the channels which are sent once is the total time T, after the Bluetooth module of the pulse receiving device receives the pulse signal, the pulse signal is output to the management module, the management module collects and analyzes the pulse signal in a unified mode and then restores the pulse signal to a table body through the interface module, a direct connection mode is adopted between the Bluetooth module and the management module, the signal transmission delay between the Bluetooth module and the management module can be ignored, the management module does not output the pulse signal immediately after collecting the pulse signal, but restores the pulse signal after the delay time T2, so that the receiving device can be ensured to receive the signals on all the sending channels once, the restoration delay time of each pulse signal is the same, and the pulse width restored and output is unchanged, however, a situation that a collision may occur when one or more of multiple channels of the electric energy meter to be verified transmit pulse signals are used by the same channel at the same time as other devices, so that a problem that a bluetooth module on a receiving device cannot successfully receive signals on the corresponding channel occurs, at this time, in order to ensure that a reduction delay is fixed, a management module needs to dynamically adjust a delay timing time T2, taking the total number N of channels as 5, the channel switching delay T1 as 2ms as an example, and T as (5-1) x2 as 8ms, if the management module first acquires a signal of the bluetooth module 1, T2 is equal to 8 ms; if the management module collects the signal of the bluetooth module 2 first, it indicates that the bluetooth module 1 fails to receive, and a channel switching delay has elapsed at this time, then T2 is equal to 8-2x1 ═ 6 ms; if the management module collects the signal of the bluetooth module 3 first, it indicates that both the bluetooth modules 1 and 2 fail to receive, and at this time, two signal switching delays have elapsed, then T2 is 8-2x2 is 4 ms; by analogy, if the management module collects the signal of the bluetooth module 5 first, it indicates that all the previous 4 bluetooth modules failed to receive, and at this time, four signal switching delays have elapsed, and then T2 is 8-2x4 is 0 ms.
The Bluetooth verification needs to bypass the work of a Bluetooth standard protocol stack to realize low-delay pulse transmission, but in the verification process of a platform body or an automatic line, besides metering pulse and daily timing, a large amount of data needs to be communicated through Bluetooth, and in order to meet the coexistence requirements of pulse verification and Bluetooth communication, an anti-collision mechanism realizes flexible interactive multiplexing of a private protocol and a standard Bluetooth protocol on software. The electric energy meter defaults to close the private protocol after being electrified, the standard Bluetooth protocol is started, the table body realizes data communication through Bluetooth communication, the electric energy meter is controlled to enter the private protocol state when pulse detection is carried out, meanwhile, Bluetooth standard connection is disconnected, a frequency hopping mechanism is closed, and after the pulse detection is finished, the table body is controlled to be electrified again through the private protocol or the automatic line of the table body to restore the default protocol state.
The invention is used for the low-power Bluetooth verification of the electric energy meter and simultaneously carries out communication, as shown in figure 4;
there are 2 communication modes in the verification state: a normal communication mode and a pulse-following communication mode. The common communication mode is that the Bluetooth modules on the platform pulse receiving device and the electric energy meter to be tested are in a receiving state when being idle, the Bluetooth modules can receive data from an opposite terminal in the receiving state, when pulse data or command data needs to be sent, the Bluetooth modules are switched to a sending state, and the Bluetooth modules are switched back to the receiving state immediately after the sending is finished; the pulse following communication mode is that a window time is opened for communication after each pulse data transmission is finished, and the specific process is as follows:
1) after entering a pulse verification mode, the Bluetooth module of the electric energy meter to be verified is in an idle state, and the Bluetooth module of the pulse receiving device is in a receiving state;
2) when the Bluetooth of the electric energy meter detects that the pulse is input, switching the Bluetooth into a sending state, starting a pulse transmission window, wherein the window time is constant, only transmitting pulse data in the window, switching the Bluetooth into a receiving state after the transmission of the pulse window is finished, delaying a fixed time, and preparing to receive communication data;
3) when the pulse receiving device Bluetooth receives the pulse signal, a pulse transmission window of the electric energy meter Bluetooth is synchronously obtained, the restored pulse data is received within the window time, the Bluetooth is switched to a sending state after the window time is over, and a fixed time is delayed to ensure that the electric energy meter Bluetooth is switched to a receiving state and prepare for sending communication data;
4) after the delay time is reached, the pulse converter starts a communication window to start transmission of communication data, the time of the communication window meets the transmission requirement of the longest communication frame, and after the window time is over, the pulse converter switches the Bluetooth to a receiving state to prepare for receiving the next pulse data or communication recovery frame;
5) the communication window of the electric energy meter Bluetooth synchronous pulse converter receives communication data in the window time and sends the communication data to the electric energy meter MCU, the Bluetooth is switched to be in an idle state after the window time is over, and at the moment, the electric energy meter Bluetooth does not receive the communication data any more and does not transmit pulse data any more until the next pulse input is detected or a communication return frame is returned;
6) after receiving a communication reply frame returned by the MCU of the electric energy meter, the Bluetooth of the electric energy meter judges whether the current Bluetooth is in an idle state, if the current Bluetooth is in the idle state, the Bluetooth is switched to a sending state, communication data transmission is started, and the Bluetooth is switched to the idle state after the transmission is finished;
7) if the Bluetooth of the electric energy meter detects pulse input during communication data transmission, the current operation is immediately stopped, the Bluetooth is switched to be in a sending state, and a pulse transmission window is opened to transmit pulse data.
The structure diagram of the pulse receiving device proposed by the present invention is shown in fig. 5:
the pulse receiving device comprises a standard DB9 interface, an insulating upper cover, an insulating lower bottom, a verification signal interface and an external antenna. Wherein the DB9 interface signal pin includes: a power input pin, an active/reactive/multifunctional pulse output pin and an RS485 communication pin.
The DB9 signal is specifically defined as shown in the following table:
serial number 1 2 3 4 5 6 7 8 9
Signal VCC GND P+ Q+ COM MUT+ MUT- 485A 485B
A power supply VCC (+5V) of the pulse receiving device gets electricity from the verification platform body, and supplies power to a master control management chip, a Bluetooth module, a pulse output circuit and an RS485 communication circuit in the device after power conversion and isolation;
a Bluetooth module in the device converts a pulse signal wirelessly transmitted by a to-be-detected electric energy meter into an electric signal, and the electric signal is processed by a main control management chip and is isolated by an optical coupler and then output in a leakage mode;
the upper computer of the verification table body needs to perform data interaction with a master control management chip in the pulse receiving device, signals between the table body and the pulse receiving device are isolated by an optical coupler for ensuring the stability and the anti-interference performance of RS485 communication, and differential output is performed.
The electrical characteristics of the DB9 output interface of the pulse receiving device are required and described as follows.
(reference conditions: temperature: +23 ℃. + -. 2 ℃ and humidity ≦ 85%)
Figure BDA0002916959990000101
Figure BDA0002916959990000111
Note: when 5mA current passes through all the pulse output ports, the voltage drop is not higher than 0.8V (relative to the reference port), the allowed voltage is less than or equal to 24VDC, and the allowed current is less than or equal to 10 mA; when no pulse is output, the direct current impedance of the pulse output port is not less than 100k omega;
the Bluetooth module in the pulse receiving device supports an onboard antenna and an external extension antenna, and different choices of a calibrating device/platform manufacturer for installation positions are met. The pulse receiving device can be arranged in front of the tested electric energy meter or arranged in front of the tested electric energy meter by adopting the antenna, and the pulse receiving device is arranged at other positions of the calibrating device/platform body, so that the separation design is convenient for aesthetic consideration and the inspection tour of the tested meter. In addition, if the implementation needs higher radio frequency receiving sensitivity and better anti-interference characteristic, an external directional antenna can be selected to appoint to receive the signal of the included angle position right in front of the tested electric energy meter, and the purpose of limiting the wireless interference signal from entering the pulse receiving device is achieved.
The pulse receiving device can receive the wireless pulse signal of the electric energy meter and convert the wireless pulse signal into the electric pulse signal which can be identified by the error processor of the verification platform body within the precision range allowed by the relevant verification regulations and national standards, the wireless pulse signal can be converted into the electric pulse form with high precision, the pulse receiving device can be added to the old platform body conveniently and simply, and the non-contact netlist verification function of the new generation of multi-core internet of things without auxiliary terminals can be met. Compared with the traditional optical pulse verification mode, the wireless Bluetooth verification does not need the installation position and the light environment of the pulse receiving device, and is insensitive to the light irradiation of the application environment.
The method can be used for multi-epitope detection:
the Bluetooth working mode is changed into a private wireless working mode, and wireless frequency setting is as follows: in order to realize a unified meter calibration and meter detection process, a meter calibration command can be sent through a standard 698 frame expanded by a new generation of electric energy meter [ method 128 of F20B ], a Bluetooth working mode is changed into a private wireless working mode, and simultaneously, wireless frequency is fixed to realize frequency setting, so that the problems of automatic Bluetooth frequency hopping and frequency band occupation interference are solved.
The technology of the invention can meet the verification precision under the condition of verifying a plurality of electric energy meters, simultaneously supports communication during verification and simultaneously improves the detection efficiency.
The invention also provides a multi-channel anti-collision system for electric energy meter verification, as shown in fig. 6:
the pulse verification parameter obtaining unit 201 controls the verification platform body to obtain a communication address of the electric energy meter to be verified, sends the communication address to a management module on the Bluetooth pulse receiving device, determines pulse verification parameters according to the communication address through the management module, and sends the pulse verification parameters to the electric energy meter to be verified;
a receive return response frame unit 202, which returns a response frame after the electric energy meter to be detected receives the pulse verification parameters, and switches the bluetooth of the electric energy meter to be detected to a private wireless working mode;
the working mode switching unit 203 is used for controlling the management module to switch the Bluetooth module of the Bluetooth pulse receiving device to a private wireless working mode through pulse verification parameters after the verification platform receives the response frame and sends a detection platform command to the management module of the Bluetooth pulse receiving device according to the response frame;
the confirmation information unit 204 is used for acquiring the return confirmation information of the Bluetooth pulse receiving device according to the pulse signal parameters after the electric energy meter to be determined receives the pulse signal, and stopping switching transmission after the confirmation information is received;
the pulse signal restoring unit 205 is configured to reply to the electric energy meter confirmation frame after controlling any one of the multiple channels of signals received by the bluetooth pulse receiving device, restore the pulse signal in a preset manner, and send the restored pulse signal to the verification stage.
The electric energy meter to be determined is switched between a standard low-power-consumption Bluetooth protocol stack mode and a private wireless working mode.
After the Bluetooth module of the Bluetooth and the Bluetooth pulse receiving device of the electric energy meter to be determined is switched to a private wireless working mode, the Bluetooth pulse receiving device is in a wireless receiving state, the wireless receiving device is switched to a sending state before sending a pulse signal or receiving a confirmation frame and then sends the pulse signal or the confirmation frame, and after the sending is finished, the wireless receiving device is switched back to the receiving state;
wherein, the bluetooth pulse receiving device uses a plurality of bluetooth modules to receive the pulse signal.
The Bluetooth module of the Bluetooth pulse receiving device receives the pulse signals, outputs the pulse signals to the management module, and restores the pulse signals through the management module;
wherein, restore pulse signal, include: communication information, clock pulse signals, active pulse signals, reactive pulse signals and harmonic pulse signals.
Wherein, the pulse verification parameters comprise: communication address, multi-channel information, channel switching delay and transmission power.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The scheme in the embodiment of the application can be implemented by adopting various computer languages, such as object-oriented programming language Java and transliterated scripting language JavaScript.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A multi-channel anti-collision method for electric energy meter verification, the method comprising:
the control verification platform body acquires a communication address of the electric energy meter to be verified, sends the communication address to a management module on the Bluetooth pulse receiving device, determines pulse verification parameters according to the communication address through the management module, and sends the pulse verification parameters to the electric energy meter to be verified;
when the electric energy meter to be detected receives the pulse detection parameters, returning to a response frame, and switching the Bluetooth of the electric energy meter to be detected to a private wireless working mode;
when the verification stage body receives the response frame and sends a detection stage body command to the management module of the Bluetooth pulse receiving device according to the response frame, the management module is controlled to switch the Bluetooth module of the Bluetooth pulse receiving device to a private wireless working mode through pulse verification parameters;
when the electric energy meter to be determined receives the pulse signal, acquiring the return confirmation information of the Bluetooth pulse receiving device according to the pulse signal parameters, and stopping switching transmission after receiving the return confirmation information;
and after controlling any one path of signal in the multi-path channel received by the Bluetooth pulse receiving device, replying an electric energy meter confirmation frame, restoring the pulse signal in a preset mode, and sending the pulse signal to the verification table body.
2. The method of claim 1, wherein the electric energy meter to be calibrated is switched between a standard bluetooth low energy protocol stack mode and a private wireless operating mode.
3. The method as claimed in claim 1, wherein after the bluetooth module of the bluetooth and bluetooth pulse receiving device of the electric energy meter to be verified is switched to the private wireless working mode, the bluetooth pulse receiving device is in a receiving state wirelessly, and is switched to a sending state before sending a pulse signal or receiving a confirmation frame for sending, and is switched back to the receiving state after sending is completed;
wherein, the bluetooth pulse receiving device uses a plurality of bluetooth modules to receive the pulse signal.
4. The method of claim 1, wherein the bluetooth pulse receiving device filters the pulse signals transmitted from the same channel through the bluetooth module, and when the bluetooth module of the bluetooth pulse receiving device receives the pulse signals, the bluetooth pulse receiving device outputs the pulse signals to the management module, and the management module restores the pulse signals;
the restoring pulse signal comprises: communication information, clock pulse signals, active pulse signals, reactive pulse signals and harmonic pulse signals.
5. The method of claim 1, the pulse verification parameters comprising: communication address, multi-channel information, channel switching delay and transmission power.
6. A multi-channel anti-collision system for electric energy meter verification, the system comprising:
the pulse verification parameter obtaining unit 201 controls the verification platform body to obtain a communication address of the electric energy meter to be verified, sends the communication address to a management module on the Bluetooth pulse receiving device, determines pulse verification parameters according to the communication address through the management module, and sends the pulse verification parameters to the electric energy meter to be verified;
a receive return response frame unit 202, which returns a response frame after the electric energy meter to be detected receives the pulse verification parameters, and switches the bluetooth of the electric energy meter to be detected to a private wireless working mode;
the working mode switching unit 203 is used for controlling the management module to switch the Bluetooth module of the Bluetooth pulse receiving device to a private wireless working mode through pulse verification parameters after the verification platform receives the response frame and sends a detection platform command to the management module of the Bluetooth pulse receiving device according to the response frame;
the confirmation information unit 204 is used for acquiring the return confirmation information of the Bluetooth pulse receiving device according to the pulse signal parameters after the electric energy meter to be determined receives the pulse signal, and stopping switching transmission after the confirmation information is received;
the pulse signal restoring unit 205 is configured to reply to the electric energy meter confirmation frame after controlling any one of the multiple channels of signals received by the bluetooth pulse receiving device, restore the pulse signal in a preset manner, and send the restored pulse signal to the verification stage.
7. The method of claim 6, wherein the electric energy meter to be calibrated is switched between a standard bluetooth low energy protocol stack mode and a private wireless operating mode.
8. The method as claimed in claim 6, wherein after the Bluetooth module of the Bluetooth and Bluetooth pulse receiving device of the electric energy meter to be verified is switched to the private wireless working mode, the Bluetooth pulse receiving device is in a receiving state wirelessly, and is switched to a sending state before sending a pulse signal or receiving a confirmation frame for sending, and is switched back to the receiving state after sending is completed;
wherein, the bluetooth pulse receiving device uses a plurality of bluetooth modules to receive the pulse signal.
9. The method of claim 6, wherein the bluetooth pulse receiving device filters the pulse signals transmitted from the same channel through the bluetooth module, and when the bluetooth module of the bluetooth pulse receiving device receives the pulse signals, the bluetooth pulse receiving device outputs the pulse signals to the management module, and the management module restores the pulse signals;
the restoring pulse signal comprises: communication information, clock pulse signals, active pulse signals, reactive pulse signals and harmonic pulse signals.
10. The method of claim 6, the pulse verification parameters comprising: communication address, multi-channel information, channel switching delay and transmission power.
CN202110109645.9A 2021-01-26 2021-01-26 Multi-channel anti-collision method and system for electric energy meter verification Pending CN112969165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110109645.9A CN112969165A (en) 2021-01-26 2021-01-26 Multi-channel anti-collision method and system for electric energy meter verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110109645.9A CN112969165A (en) 2021-01-26 2021-01-26 Multi-channel anti-collision method and system for electric energy meter verification

Publications (1)

Publication Number Publication Date
CN112969165A true CN112969165A (en) 2021-06-15

Family

ID=76273144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110109645.9A Pending CN112969165A (en) 2021-01-26 2021-01-26 Multi-channel anti-collision method and system for electric energy meter verification

Country Status (1)

Country Link
CN (1) CN112969165A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114325551A (en) * 2021-11-23 2022-04-12 云南电网有限责任公司 Calibration error calculator for multi-path error synchronous test electric energy meter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106898129A (en) * 2017-01-13 2017-06-27 成都中科慧源科技有限公司 The radio communication gas meter, flow meter and its application method of a kind of many communication channels
JP2017143481A (en) * 2016-02-12 2017-08-17 パナソニックIpマネジメント株式会社 Communication device
CN111028495A (en) * 2019-12-06 2020-04-17 中国电力科学研究院有限公司 Method and device for calibrating electric energy meter based on low-power-consumption Bluetooth communication
CN112153591A (en) * 2020-08-13 2020-12-29 国网浙江省电力有限公司营销服务中心 Bluetooth converter for metering equipment verification and working method thereof
CN112235016A (en) * 2020-07-09 2021-01-15 青岛鼎信通讯股份有限公司 Intelligent electric energy meter calibrating device based on Bluetooth communication
CN112598895A (en) * 2020-11-16 2021-04-02 中国电力科学研究院有限公司 System and method for preventing multi-channel conflict during electric energy meter verification

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017143481A (en) * 2016-02-12 2017-08-17 パナソニックIpマネジメント株式会社 Communication device
CN106898129A (en) * 2017-01-13 2017-06-27 成都中科慧源科技有限公司 The radio communication gas meter, flow meter and its application method of a kind of many communication channels
CN111028495A (en) * 2019-12-06 2020-04-17 中国电力科学研究院有限公司 Method and device for calibrating electric energy meter based on low-power-consumption Bluetooth communication
CN112235016A (en) * 2020-07-09 2021-01-15 青岛鼎信通讯股份有限公司 Intelligent electric energy meter calibrating device based on Bluetooth communication
CN112153591A (en) * 2020-08-13 2020-12-29 国网浙江省电力有限公司营销服务中心 Bluetooth converter for metering equipment verification and working method thereof
CN112598895A (en) * 2020-11-16 2021-04-02 中国电力科学研究院有限公司 System and method for preventing multi-channel conflict during electric energy meter verification

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赖荣光;: "检定高压电能表的多表位误差计的设计", 电子技术与软件工程, no. 10, 24 May 2019 (2019-05-24) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114325551A (en) * 2021-11-23 2022-04-12 云南电网有限责任公司 Calibration error calculator for multi-path error synchronous test electric energy meter
CN114325551B (en) * 2021-11-23 2023-10-17 云南电网有限责任公司 Multipath error synchronous test electric energy meter verification error calculator

Similar Documents

Publication Publication Date Title
CN111028495B (en) Method and device for calibrating electric energy meter based on low-power-consumption Bluetooth communication
CN112598895B (en) System and method for preventing multichannel conflict during verification of electric energy meter
CN101488803B (en) Satellite time clock synchronization method, system and base station
EP2943025A1 (en) Locating method and device for connection between base station antenna feed port and antenna port
CN111882847A (en) Electric energy meter pulse transmission method and device based on low-power-consumption Bluetooth chip
US20230237000A1 (en) Detecting load capacitance on serial communication data lines
CN104133795A (en) Multi-channel high-speed synchronous sampling and quadrature modulation system
CN112969165A (en) Multi-channel anti-collision method and system for electric energy meter verification
CN1988413A (en) Synchronous method and device for time division duplex communication system
CN111614357A (en) Ultra-multichannel embedded high-speed signal acquisition and processing system and method
CN101500248B (en) Antenna calibration method and apparatus
CN115987845A (en) Test system and method of V2X equipment
CN102025410B (en) Method and device for implementing calibration, and terminal
CN101752901A (en) Method, system, equipment and device for synchronizing data sampling at different places
CN104243246A (en) Method and device for Zigbee technology-based FlexRay bus test and optimization
CN113900985B (en) IO and SPI multiplexing chip, multiplexing auxiliary chip and data interaction method
CN214669553U (en) Communication and signal conversion device for electric energy meter calibrating device
CN103997122A (en) System of multi-core parallel intelligent controller
CN101222251B (en) Method and system for single time slot numerically controlling attenuation
CN110068801B (en) Short wave digital receiver based on FPGA
CN113535614A (en) Communication system for decoding BISS-C protocol
CN102013918B (en) Method, system and device for transmitting data
US20080126497A1 (en) Controller Apparatus with Shared Expansion Connection and Method for the same
CN101771461A (en) Method, device and system for keeping signal synchronization in TD-SCDMA system
CN112153492A (en) Electric energy acquisition terminal wireless signal gain device

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