Adaptation method and device for verification of single-phase electric energy meter, verification adapter and medium
By logically converting and timing control of the pulse signal of the single-phase electric energy meter, it is adapted to the signal format acceptable to the verification device, which solves the problem that the single-phase electric energy meter cannot be effectively checked, and the standardized adaptation of the verification device and the single-phase electric energy meter is realized, avoiding the de-checking and reducing the modification cost.
Patent Information
- Application Number
- CN202411647597.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-02-25
AI Technical Summary
Since the update speed of the verification device is difficult to keep up with the rapid changes in the specifications of single-phase electricity meter, the output specifications of single-phase electricity meter are difficult to match the input specifications of the verification device. Some single-phase electricity meters cannot be effectively verified and need to be rejected.
An adaptation method and device for single-phase electric energy meter verification is provided. By obtaining discrete signals corresponding to the target pulse hole of a single-phase electric energy meter, logic conversion and timing control are performed, mapped into a standard signal format suitable for the calibration device, and the target square wave signal is input to the calibration device.
The adaptation of single-phase power meter output specification and verification device input specification is realized, avoiding single-phase power meter de-checking and reducing modification and upgrade costs.
Smart Images

Figure CN119511186A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of electric energy meter calibration, and in particular to an adaptation method, a device, a calibration adapter and a medium for calibrating a single-phase electric energy meter. Background Art
[0002] The calibration device of single-phase electric energy meters mainly relies on pulse signals to implement measurement and calibration. The pulse signal of the single-phase electric energy meter is output based on the working state of its internal circuit, and is transmitted to the calibration device through the pulse hole for collection and analysis by the calibration system in the calibration device. The pulse holes designed for different types of single-phase electric energy meters are different. However, the speed of updating and replacing the calibration device cannot keep up with the rapid changes in the specifications of single-phase electric energy meters, and multiple single-phase electric energy meters of different specifications are used in the power grid at the same time, which makes it difficult for the output specifications of the single-phase electric energy meter to match the input specifications of the calibration device, which ultimately leads to some single-phase electric energy meters being unable to be effectively calibrated and can only be returned for inspection. Summary of the invention
[0003] Based on this, it is necessary to address the technical problem in the prior art that the updating speed of the calibration device cannot keep up with the rapid changes in the specifications of the single-phase electricity meter, and multiple single-phase electricity meters of different specifications are used in the power grid at the same time, which makes it difficult for the output specifications of the single-phase electricity meter to adapt to the input specifications of the calibration device, and ultimately leads to some single-phase electricity meters cannot be effectively calibrated and can only be returned for inspection. An adaptation method, device, calibration adapter and medium for single-phase electricity meter calibration are proposed.
[0004] In a first aspect, a single-phase electric energy meter calibration adaptation method is provided, the method is applied to a calibration adapter, the method comprising:
[0005] Obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein an output specification of the target pulse hole does not match an input specification of a verification device;
[0006] Based on a standard signal format corresponding to the verification device, performing a logic conversion on the discrete signal to obtain a first signal;
[0007] Based on a standard signal format corresponding to the verification device, timing control and mapping are performed on the first signal to obtain a second signal;
[0008] According to the second signal, a target square wave signal is input to the calibration device, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
[0009] Further, the verification adapter is electrically connected to the target pulse hole of the single-phase electric energy meter through a physical cable;
[0010] The pulse signal input from the target pulse hole of the single-phase electric energy meter through the physical cable is collected by the signal collection unit in the calibration adapter according to the sampling frequency corresponding to the single-phase electric energy meter to obtain the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter;
[0011] The step of acquiring the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter includes: acquiring the discrete signal sent by the signal acquisition unit.
[0012] Furthermore, the step of performing a logic conversion on the discrete signal based on a standard signal format corresponding to the verification device to obtain a first signal includes:
[0013] Based on the standard pulse frequency in the standard signal format corresponding to the verification device, the pulse frequency of the discrete signal is adjusted by frequency division or frequency multiplication to obtain a third signal;
[0014] Based on the standard pulse width in the standard signal format corresponding to the verification device, the pulse width of the third signal is adjusted by adopting a timing adjustment method to obtain the first signal.
[0015] Furthermore, the step of performing timing control and mapping on the first signal based on a standard signal format corresponding to the verification device to obtain a second signal includes:
[0016] Based on the time deviation configuration corresponding to the single-phase electric energy meter, the first signal is time-controlled and mapped in a delayed manner or an advanced manner to eliminate the time difference, thereby obtaining the second signal.
[0017] Furthermore, the step of inputting a target square wave signal to the verification device according to the second signal comprises:
[0018] The target square wave signal is input into the verification device according to the second signal by means of differential signal transmission.
[0019] Furthermore, the step of inputting a target square wave signal to the verification device according to the second signal further includes:
[0020] Based on the signal gain compensation method, according to the second signal, the target square wave signal is input to the calibration device through the target signal line of the calibration adapter, wherein the target signal line is electromagnetically shielded by a shielded cable or a shielding layer.
[0021] Furthermore, the circuit design in the calibration adapter adopts a multi-layer PCB board design to reduce electromagnetic interference.
[0022] In a second aspect, a single-phase electric energy meter calibration adaptation method is provided, wherein the device is applied to a calibration adapter, and the device comprises:
[0023] A signal acquisition module, used to acquire a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein the output specification of the target pulse hole does not match the input specification of the verification device;
[0024] A logic conversion module, configured to perform logic conversion on the discrete signal based on a standard signal format corresponding to the verification device to obtain a first signal;
[0025] A timing control and mapping module, configured to perform timing control and mapping on the first signal based on a standard signal format corresponding to the verification device to obtain a second signal;
[0026] A signal output module is used to input a target square wave signal to the calibration device according to the second signal, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
[0027] According to a third aspect, a calibration adapter is provided, which includes a signal acquisition unit, a signal output unit, and a control unit. The control unit is electrically connected to the signal acquisition unit and the signal output unit. The signal acquisition unit is used to acquire the pulse signal input by the target pulse hole of the single-phase electric energy meter through a physical cable. The signal output unit is used to input the target square wave signal to the calibration device. The control unit is configured to implement the steps of the adaptation method for calibrating the above-mentioned single-phase electric energy meter.
[0028] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a control unit, the steps of the adaptation method for single-phase electric energy meter calibration are implemented.
[0029] The present application discloses an adaptation method, device, calibration adapter and medium for calibration of a single-phase electric energy meter, wherein the method is applied to a calibration adapter, and includes: obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein the output specification of the target pulse hole does not match the input specification of a calibration device; performing a logic conversion on the discrete signal based on a standard signal format corresponding to the calibration device to obtain a first signal; performing timing control and mapping on the first signal based on a standard signal format corresponding to the calibration device to obtain a second signal; and inputting a target square wave signal into the calibration device according to the second signal, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter. The present application converts a discrete signal whose output specification does not match the input specification of a calibration device into a target square wave signal whose output specification matches the input specification of the calibration device, thereby providing a basis for enabling a single-phase electric energy meter whose output specification does not match the input specification of a calibration device to obtain effective calibration, and a single-phase electric energy meter whose output specification does not match the input specification of a calibration device does not need to be withdrawn for inspection, thereby greatly reducing the cost of modification and upgrading of single-phase electric energy meters. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] in:
[0032] Figure 1 An application environment diagram of an adaptation method for verifying a single-phase electric energy meter in one embodiment;
[0033] Figure 2 It is a flow chart of an adaptation method for single-phase electric energy meter verification in one embodiment;
[0034] Figure 3 It is a structural block diagram of an adapter device for single-phase electric energy meter verification in one embodiment;
[0035] Figure 4 FIG. 4 is a structural block diagram of a calibration adapter in one embodiment. DETAILED DESCRIPTION
[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] The single-phase electric energy meter calibration adaptation method provided in the embodiment of the present invention can be applied in the following aspects: Figure 1 The application environment includes: a single-phase electric energy meter 1, a calibration adapter 2, a calibration device 3, and a target computer 4. The calibration adapter 2 is electrically connected to the single-phase electric energy meter 1. The calibration device 3 is electrically connected to the calibration adapter 2. The target computer 4 is electrically connected to the calibration device 3. A software program is installed in the target computer 4, and the calibration result of the calibration device 3 can be viewed through the software program.
[0038] Optionally, the verification adapter 2 includes an adapter body and a physical cable 21 , and the physical cable 21 is connected between the adapter body and the single-phase electric energy meter 1 .
[0039] The physical cable 21 generally refers to a physical cable used to transmit electrical energy or signals. It is composed of a conductor (usually metal, such as copper, aluminum, etc.), an insulating layer, a sheath, etc. The physical cable can be used in various fields, such as transmitting current in power transmission and transmitting signals in the communication field.
[0040] The single-phase energy meter 1 is an instrument used to measure the energy consumption in a single-phase circuit. The single-phase energy meter 1 is mainly used in single-phase power supply environments such as residential households to record the energy consumed over a period of time so that users can understand the electricity consumption and calculate electricity bills. The single-phase energy meter 1 usually has metering and display functions, and its precision and accuracy are of great significance for accurate billing and reasonable electricity management.
[0041] The single-phase energy meter measures the voltage and current in the power system through its internal metering circuit, and generates a pulse signal proportional to the power consumption according to the actual power consumption. This pulse signal is usually output through the pulse output interface (i.e. pulse hole) of the single-phase energy meter. The frequency and amplitude of the pulse signal reflect the amount of energy measured by the single-phase energy meter.
[0042] Single-phase energy meter calibration refers to the process of testing and verifying the metering performance, accuracy, etc. of single-phase energy meters according to relevant technical standards and specifications. Through a series of testing methods and equipment, check whether the single-phase energy meter is accurate in measurement under different working conditions and whether the error is within the specified range to ensure that it can reliably measure energy consumption, ensure the fairness of power transactions and the accuracy of energy measurement. This is very important for both power suppliers and users, and can avoid economic disputes and other problems caused by inaccurate measurement.
[0043] like Figure 4 As shown, the adapter body of the calibration adapter 2 includes a shell, a signal acquisition unit 22, a signal output unit 23, and a control unit 24. The signal acquisition unit 22, the signal output unit 23, and the control unit 24 are located inside the shell. The control unit 24 is electrically connected to the signal acquisition unit 22 and the signal output unit 23. The signal acquisition unit 22 is used to collect the pulse signal input by the target pulse hole of the single-phase electric energy meter 1 through the physical cable 21, and the signal output unit 23 is used to input the target square wave signal to the calibration device 3. The control unit 24 is configured to implement the following steps: obtain a discrete signal corresponding to the target pulse hole of the single-phase electric energy meter, and the output specification of the target pulse hole does not match the input specification of the calibration device; based on the standard signal format corresponding to the calibration device, the discrete signal is logically converted to obtain a first signal; based on the standard signal format corresponding to the calibration device, the first signal is time-controlled and mapped to obtain a second signal; according to the second signal, the target square wave signal is input to the calibration device. Through the present application, a discrete signal whose output specification does not match the input specification of the calibration device is converted into a target square wave signal whose output specification matches the input specification of the calibration device, thereby providing a basis for enabling a single-phase electric energy meter whose output specification does not match the input specification of the calibration device to obtain effective calibration. A single-phase electric energy meter whose output specification does not match the input specification of the calibration device does not need to be returned for inspection, thereby greatly reducing the cost of modification and upgrading of the single-phase electric energy meter.
[0044] The signal acquisition unit 22 is electrically connected to the target pulse hole of the single-phase electric energy meter 1 through the physical cable 21, so as to acquire the pulse signal input from the target pulse hole of the single-phase electric energy meter 1 through the physical cable 21. The signal output unit 23 is electrically connected to the verification device, so as to input the target square wave signal to the verification device 3.
[0045] Optionally, the control unit 25 includes a core controller and a matching integrated circuit. The core controller uses an FPGA (field programmable gate array). The control unit 25 realizes the adaptation method of the single-phase electric energy meter verification of the present application through the cooperation of the matching integrated circuit and the FPGA.
[0046] The high-speed parallel processing capability of FPGA enables it to process multiple input signals in real time and convert them into the required output format. During the signal conversion process, FPGA first digitizes the collected pulse signal, and compares and converts the input signal with the standard signal format corresponding to the calibration device through the logic circuit inside the FPGA. FPGA's high-speed I / O (Input / Output) port and low-latency buffer. It has a faster rise / fall time and can process pulse signals with a nanosecond response time, reducing the accumulated delay of the signal during transmission.
[0047] It can be understood that the control unit 25 is implemented as a PCB board.
[0048] PCB board, Printed Circuit Board, the Chinese name is printed circuit board, also known as printed circuit board.
[0049] Optionally, the signal output unit 23 adopts an adjustable output interface design to support more signal standards. The signal output unit 23 adopts a high-speed signal transmission circuit to ensure that the delay of the signal during transmission does not exceed a specified threshold, thereby ensuring that the verification device can accurately capture each pulse signal.
[0050] The calibration device 3 analyzes the collected signal (that is, the target square wave signal) to complete calibration tasks such as error test, communication test, daily time error test, etc. The calibration device is used to perform calibration according to the target square wave signal to obtain the calibration result corresponding to the single-phase electric energy meter. It can be understood that for the single-phase electric energy meter 1 with a passed calibration result, it can continue to be put into use, and for the single-phase electric energy meter 1 with a failed calibration result, it needs to be repaired or scrapped.
[0051] The target computer 4 may include but is not limited to various personal computers, laptops, smart phones, tablet computers, and portable wearable devices.
[0052] The present invention is described in detail below through specific embodiments.
[0053] See also Figure 2 As shown, Figure 2 A flow chart of an adaptation method for calibrating a single-phase electric energy meter provided in an embodiment of the present invention, wherein the method is applied to calibrating an adapter, and the method comprises:
[0054] S1: Obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein the output specification of the target pulse hole does not match the input specification of a verification device;
[0055] It is understandable that the pulse interface of the single-phase electric energy meter is the 7th and 8th holes, or the 9th and 10th holes. The current calibration device uses the 9th and 10th holes as the pulse interface as the standard pulse position. Therefore, it is impossible to calibrate the single-phase electric energy meter with the pulse interface as the 7th and 8th holes. Therefore, the 7th hole of the single-phase electric energy meter with the pulse interface as the 7th and 8th holes is used as a target pulse hole, and the 8th hole of the single-phase electric energy meter with the pulse interface as the 7th and 8th holes is used as a target pulse hole.
[0056] The signal acquisition unit in the verification adapter acquires the pulse signal input from the target pulse hole of the single-phase electric energy meter through the physical cable to realize digitization of the pulse signal (analog signal) into a discrete signal.
[0057] It can be understood that a discrete signal is a digitized signal.
[0058] Specifically, a discrete signal input by a signal acquisition unit is obtained.
[0059] S2: Based on a standard signal format corresponding to the verification device, performing a logic conversion on the discrete signal to obtain a first signal;
[0060] Specifically, based on the standard signal format corresponding to the verification device, the discrete signal is logically converted to achieve pulse frequency adjustment and pulse width adjustment, and a first signal with a standard pulse frequency and a standard pulse width is obtained.
[0061] It can be understood that the first logic circuit in the control unit of the calibration adapter performs logic conversion on the discrete signal based on the standard signal format corresponding to the calibration device.
[0062] It can be understood that the first signal is a digitized signal.
[0063] S3: Based on a standard signal format corresponding to the verification device, timing control and mapping are performed on the first signal to obtain a second signal;
[0064] Specifically, based on the standard signal format corresponding to the verification device, the first signal is time-controlled and mapped to achieve mapping of the first signal to a signal corresponding to the input specification required by the verification device in terms of timing, ensuring that the pulse is accurately transmitted in the time domain, and the mapped signal is used as the second signal.
[0065] It can be understood that the second signal is a digitized signal.
[0066] S4: According to the second signal, a target square wave signal is input to the calibration device, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
[0067] It can be understood that the target square wave signal is an analog signal.
[0068] Specifically, the second signal is a digital signal whose pulse frequency, pulse width, and timing all match the input specifications required by the verification device. Therefore, according to the second signal (digital signal), the control signal output unit 23 inputs a standardized square wave signal to the verification device, and the standardized square wave signal is called a target square wave signal (that is, an analog signal), so that the verification device can identify and process the target square wave signal. The target square wave signal is a square wave signal obtained by converting a discrete signal corresponding to the target pulse hole of the single-phase electric energy meter, and the target square wave signal is a standardized square wave signal required by the input specification of the verification device, so the accuracy and reliability of the verification result can be ensured.
[0069] This embodiment obtains a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, the output specification of the target pulse hole does not match the input specification of a calibration device, performs a logic conversion on the discrete signal based on a standard signal format corresponding to the calibration device to obtain a first signal, performs timing control and mapping on the first signal based on a standard signal format corresponding to the calibration device to obtain a second signal; and inputs a target square wave signal into the calibration device according to the second signal. This application converts a discrete signal whose output specification does not match the input specification of a calibration device into a target square wave signal whose output specification matches the input specification of the calibration device, providing a basis for enabling a single-phase electric energy meter whose output specification does not match the input specification of a calibration device to obtain effective calibration. A single-phase electric energy meter whose output specification does not match the input specification of a calibration device does not need to be returned for inspection, thereby greatly reducing the cost of modification and upgrading of single-phase electric energy meters.
[0070] In one embodiment, the verification adapter is electrically connected to the target pulse hole of the single-phase electric energy meter through a physical cable;
[0071] The pulse signal input from the target pulse hole of the single-phase electric energy meter through the physical cable is collected by the signal collection unit in the calibration adapter according to the sampling frequency corresponding to the single-phase electric energy meter to obtain the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter;
[0072] Optionally, the signal acquisition unit uses a high-speed data acquisition chip to achieve real-time capture and acquisition of pulse signals through precise clock synchronization and data processing.
[0073] The pulse signal inputted by the target pulse hole of the single-phase electric energy meter through the physical cable represents the electric energy consumption measured by the electric energy meter. The pulse signal inputted by the target pulse hole of the single-phase electric energy meter through the physical cable is usually a square wave signal, whose amplitude and frequency correspond to the consumption rate and period of electric energy respectively.
[0074] v(t) represents the change of the pulse signal voltage input to the signal acquisition unit over time, which is usually a periodic square wave.
[0075] T in is the period of the signal input to the signal acquisition unit, is the frequency of the pulse signal input to the signal acquisition unit, in Hertz (Hz).
[0076] For the pulse signal input into the signal acquisition unit: in:
[0077] V m is the maximum amplitude of the pulse signal input into the signal acquisition unit, sin is the sine function, and π is the pi.
[0078] sgn(x) is the sign function, and its output is either 1 or -1.
[0079] After being collected by the signal acquisition unit, the analog signal is digitized into a discrete signal x[n] (the discrete signal is used as the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter), and its sampling frequency is f s :x[n]=v(nT s ),in:
[0080] is the sampling interval.
[0081] The step of obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter comprises:
[0082] S11: Acquire the discrete signal sent by the signal acquisition unit.
[0083] This embodiment obtains the discrete signal sent by the signal acquisition unit to obtain a digitized signal, which provides a basis for signal conversion.
[0084] In one embodiment, the step of performing a logic conversion on the discrete signal based on a standard signal format corresponding to the verification device to obtain the first signal includes:
[0085] S21: Based on the standard pulse frequency in the standard signal format corresponding to the verification device, the pulse frequency of the discrete signal is adjusted by frequency division or frequency multiplication to obtain a third signal;
[0086] As mentioned above, the pulse frequency f of the discrete signal in The standard pulse frequency f in the standard signal format corresponding to the verification device std Differently, FPGA will adjust the pulse frequency of the discrete signal to the standard frequency by means of frequency division or frequency multiplication.
[0087] If f in ≠f std , the timing control module of the FPGA will adjust the discrete signal to f according to the duty cycle and period of the pulse out , the discrete signal after pulse frequency adjustment is used as the third signal to ensure:
[0088] Where T std is the period of the standard pulse.
[0089] FPGA can adjust the pulse frequency of the discrete signal by frequency division or frequency multiplication, for example:
[0090] f out = k·f in
[0091] Where k is the frequency division coefficient or frequency multiplication coefficient.
[0092] S22: Based on the standard pulse width in the standard signal format corresponding to the verification device, a timing adjustment method is used to adjust the pulse width of the third signal to obtain the first signal.
[0093] If the pulse width W of the third signal in The standard pulse width W in the standard signal format corresponding to the test device std Differently, the FPGA will synchronize the pulse width of the third signal to a standard value through timing adjustment:
[0094] W out =W std
[0095] Wherein, pulse width W is the high level duration of the pulse.
[0096] This embodiment performs pulse frequency adjustment and pulse width adjustment based on the standard signal format corresponding to the calibration device, providing a basis for converting a discrete signal whose output specification does not match the input specification of the calibration device into a target square wave signal whose output specification matches the input specification of the calibration device.
[0097] In one embodiment, the step of performing timing control and mapping on the first signal based on a standard signal format corresponding to the verification device to obtain the second signal includes:
[0098] S31: Based on the time deviation configuration corresponding to the single-phase electric energy meter, a delay method or an advance method is used to perform timing control and mapping on the first signal to eliminate the time difference, thereby obtaining the second signal.
[0099] If the first signal and the time deviation configuration corresponding to the single-phase electric energy meter have a time offset Δt in timing, the FPGA eliminates the time difference by delaying or advancing the output:
[0100] t out =t in +Δt
[0101] Among them, t in is the first signal.
[0102] Through such timing control, the output signal t out (as the second signal) and the standard signal t corresponding to the time deviation configuration corresponding to the single-phase electric energy meter std Synchronization, wherein the timing control and the mapped first signal are used as the second signal.
[0103] This embodiment is based on the time deviation configuration corresponding to the single-phase electric energy meter, and adopts a delay method or an advance method to perform timing control and mapping on the first signal to eliminate the time difference, thereby providing a basis for converting a discrete signal whose output specification does not match the input specification of the calibration device into a target square wave signal whose output specification matches the input specification of the calibration device.
[0104] In one embodiment, the step of inputting a target square wave signal to the verification device according to the second signal comprises:
[0105] S411: using a differential signal transmission method, inputting the target square wave signal into the verification device according to the second signal.
[0106] Differential signal transmission is an effective way to reduce transmission delay and improve signal anti-interference ability. Commonly used transmission standards such as RS-485 are based on the principle of differential signal transmission. Differential signal transmission eliminates the influence of signal ground noise on signal transmission speed by transmitting opposite electrical signals on two signal lines, thereby reducing delay.
[0107] By controlling the signal output unit to adopt differential transmission technology, the signal transmission rate is increased, and the transmission stability and anti-interference are also enhanced, thereby reducing the overall signal transmission delay.
[0108] This embodiment provides a basis for ensuring that the signal is transmitted to the verification device with minimal delay through differential signal transmission, thereby ensuring the real-time nature of the signal and ensuring that the verification device can accurately capture and process each pulse signal.
[0109] In one embodiment, the step of inputting a target square wave signal to the verification device according to the second signal further includes:
[0110] S421: Based on a signal gain compensation method, according to the second signal, the target square wave signal is input to the calibration device through the target signal line of the calibration adapter, wherein the target signal line is electromagnetically shielded by a shielded cable or a shielding layer.
[0111] During the signal transmission over a long distance, the amplitude of the signal will be attenuated due to the resistance and capacitance effects of the cable. The signal output unit performs gain compensation on the transmitted signal through the signal driving circuit to ensure that the target square wave signal still maintains sufficient amplitude and quality when it reaches the calibration device, thereby reducing the transmission delay caused by signal attenuation.
[0112] During high-speed signal transmission, external electromagnetic interference will affect the signal, causing distortion of the signal waveform, thereby increasing transmission delay. To this end, the signal output unit adopts an electromagnetic shielding design to shield sensitive signal lines and reduce external noise interference.
[0113] This embodiment achieves control of signal attenuation through signal gain compensation. By using a shielded cable or a shielding layer to perform electromagnetic shielding on the target signal line, interference noise can be effectively reduced, thereby ensuring signal integrity and transmission speed.
[0114] In another embodiment of the present application, the step of inputting a target square wave signal to the calibration device according to the second signal includes: based on a signal gain compensation method and a differential signal transmission method, according to the second signal, inputting the target square wave signal to the calibration device through a target signal line of the calibration adapter, wherein the target signal line is electromagnetically shielded using a shielded cable or a shielding layer.
[0115] In one embodiment, the circuit design in the calibration adapter adopts a multi-layer PCB board design to reduce electromagnetic interference.
[0116] Multilayer PCB. Refers to a printed circuit board made up of multiple conductive layers and insulating layers stacked alternately. It usually contains three or more layers. In addition to the top and bottom layers for placing components and wiring, the middle layers can also be used for wiring to achieve more complex circuit connections.
[0117] The circuit design in the calibration adapter described in this embodiment adopts a multi-layer PCB board design to reduce electromagnetic interference during signal transmission.
[0118] See also Figure 3 As shown, in one embodiment, an adapter device for calibrating a single-phase electric energy meter is provided, the device is applied to calibrate an adapter, and the device includes:
[0119] The signal acquisition module 801 is used to acquire a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein the output specification of the target pulse hole does not match the input specification of the verification device;
[0120] A logic conversion module 802, configured to perform logic conversion on the discrete signal based on a standard signal format corresponding to the verification device to obtain a first signal;
[0121] A timing control and mapping module 803, configured to perform timing control and mapping on the first signal based on a standard signal format corresponding to the verification device to obtain a second signal;
[0122] The signal output module 804 is used to input a target square wave signal to the calibration device according to the second signal, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
[0123] This embodiment obtains a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, the output specification of the target pulse hole does not match the input specification of a calibration device, performs a logic conversion on the discrete signal based on a standard signal format corresponding to the calibration device to obtain a first signal, performs timing control and mapping on the first signal based on a standard signal format corresponding to the calibration device to obtain a second signal; and inputs a target square wave signal into the calibration device according to the second signal. This application converts a discrete signal whose output specification does not match the input specification of a calibration device into a target square wave signal whose output specification matches the input specification of the calibration device, providing a basis for enabling a single-phase electric energy meter whose output specification does not match the input specification of a calibration device to obtain effective calibration. A single-phase electric energy meter whose output specification does not match the input specification of a calibration device does not need to be returned for inspection, thereby greatly reducing the cost of modification and upgrading of single-phase electric energy meters.
[0124] In one embodiment, the verification adapter is electrically connected to the target pulse hole of the single-phase electric energy meter through a physical cable;
[0125] The pulse signal input from the target pulse hole of the single-phase electric energy meter through the physical cable is collected by the signal collection unit in the calibration adapter according to the sampling frequency corresponding to the single-phase electric energy meter to obtain the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter;
[0126] The step of acquiring the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter in the signal acquisition module 801 includes: acquiring the discrete signal sent by the signal acquisition unit.
[0127] In one embodiment, the step of performing logic conversion on the discrete signal based on the standard signal format corresponding to the verification device to obtain the first signal in the logic conversion module 802 includes:
[0128] Based on the standard pulse frequency in the standard signal format corresponding to the verification device, the pulse frequency of the discrete signal is adjusted by frequency division or frequency multiplication to obtain a third signal;
[0129] Based on the standard pulse width in the standard signal format corresponding to the verification device, the pulse width of the third signal is adjusted by adopting a timing adjustment method to obtain the first signal.
[0130] In one embodiment, the step of performing timing control and mapping on the first signal based on the standard signal format corresponding to the verification device to obtain the second signal in the timing control and mapping module 803 includes:
[0131] Based on the time deviation configuration corresponding to the single-phase electric energy meter, the first signal is time-controlled and mapped in a delayed manner or an advanced manner to eliminate the time difference, thereby obtaining the second signal.
[0132] In one embodiment, the step of inputting a target square wave signal to the verification device according to the second signal in the signal output module 804 includes:
[0133] The target square wave signal is input into the verification device according to the second signal by means of differential signal transmission.
[0134] In one embodiment, the step of inputting a target square wave signal to the verification device according to the second signal in the signal output module 804 further includes:
[0135] Based on the signal gain compensation method, according to the second signal, the target square wave signal is input to the calibration device through the target signal line of the calibration adapter, wherein the target signal line is electromagnetically shielded by a shielded cable or a shielding layer.
[0136] In one embodiment, the circuit design in the calibration adapter adopts a multi-layer PCB board design to reduce electromagnetic interference.
[0137] See also Figure 4As shown, in one embodiment, a verification adapter 2 is proposed, the adapter body of the verification adapter 2 includes a signal acquisition unit 22, a signal output unit 23, and a control unit 24, the control unit 24 is electrically connected to the signal acquisition unit 22 and the signal output unit 23, the signal acquisition unit 22 is used to collect the pulse signal input by the target pulse hole of the single-phase electric energy meter 1 through the physical cable 21, the signal output unit 23 is used to input the target square wave signal to the verification device 3, and the control unit is configured to implement the following steps:
[0138] Obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein an output specification of the target pulse hole does not match an input specification of a verification device;
[0139] Based on a standard signal format corresponding to the verification device, performing a logic conversion on the discrete signal to obtain a first signal;
[0140] Based on a standard signal format corresponding to the verification device, timing control and mapping are performed on the first signal to obtain a second signal;
[0141] According to the second signal, a target square wave signal is input to the calibration device, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
[0142] This embodiment obtains a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, the output specification of the target pulse hole does not match the input specification of a calibration device, performs a logic conversion on the discrete signal based on a standard signal format corresponding to the calibration device to obtain a first signal, performs timing control and mapping on the first signal based on a standard signal format corresponding to the calibration device to obtain a second signal; and inputs a target square wave signal into the calibration device according to the second signal. This application converts a discrete signal whose output specification does not match the input specification of a calibration device into a target square wave signal whose output specification matches the input specification of the calibration device, providing a basis for enabling a single-phase electric energy meter whose output specification does not match the input specification of a calibration device to obtain effective calibration. A single-phase electric energy meter whose output specification does not match the input specification of a calibration device does not need to be returned for inspection, thereby greatly reducing the cost of modification and upgrading of single-phase electric energy meters.
[0143] In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a control unit, the following steps are implemented:
[0144] Obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein an output specification of the target pulse hole does not match an input specification of a verification device;
[0145] Based on a standard signal format corresponding to the verification device, performing a logic conversion on the discrete signal to obtain a first signal;
[0146] Based on a standard signal format corresponding to the verification device, timing control and mapping are performed on the first signal to obtain a second signal;
[0147] According to the second signal, a target square wave signal is input to the calibration device, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
[0148] This embodiment obtains a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, the output specification of the target pulse hole does not match the input specification of a calibration device, performs a logic conversion on the discrete signal based on a standard signal format corresponding to the calibration device to obtain a first signal, performs timing control and mapping on the first signal based on a standard signal format corresponding to the calibration device to obtain a second signal; and inputs a target square wave signal into the calibration device according to the second signal. This application converts a discrete signal whose output specification does not match the input specification of a calibration device into a target square wave signal whose output specification matches the input specification of the calibration device, providing a basis for enabling a single-phase electric energy meter whose output specification does not match the input specification of a calibration device to obtain effective calibration. A single-phase electric energy meter whose output specification does not match the input specification of a calibration device does not need to be returned for inspection, thereby greatly reducing the cost of modification and upgrading of single-phase electric energy meters.
[0149] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0150] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. An adaptation method for single-phase electric energy meter calibration, characterized in that: The method is applied to calibrate an adapter, and the method comprises: Obtaining a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein an output specification of the target pulse hole does not match an input specification of a verification device; Based on a standard signal format corresponding to the verification device, performing a logic conversion on the discrete signal to obtain a first signal; Based on a standard signal format corresponding to the verification device, timing control and mapping are performed on the first signal to obtain a second signal; According to the second signal, a target square wave signal is input to the calibration device, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
2. The adaptation method for single-phase electric energy meter verification according to claim 1, characterized in that: The verification adapter is electrically connected to the target pulse hole of the single-phase electric energy meter through a physical cable; The pulse signal input from the target pulse hole of the single-phase electric energy meter through the physical cable is collected by the signal collection unit in the calibration adapter according to the sampling frequency corresponding to the single-phase electric energy meter to obtain the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter; The step of acquiring the discrete signal corresponding to the target pulse hole of the single-phase electric energy meter includes: acquiring the discrete signal sent by the signal acquisition unit.
3. The adaptation method for single-phase electric energy meter verification according to claim 1, characterized in that: The step of performing logic conversion on the discrete signal based on the standard signal format corresponding to the verification device to obtain the first signal comprises: Based on the standard pulse frequency in the standard signal format corresponding to the verification device, the pulse frequency of the discrete signal is adjusted by frequency division or frequency multiplication to obtain a third signal; Based on the standard pulse width in the standard signal format corresponding to the verification device, the pulse width of the third signal is adjusted by adopting a timing adjustment method to obtain the first signal.
4. The adaptation method for single-phase electric energy meter calibration according to claim 1, characterized in that: The step of performing timing control and mapping on the first signal based on a standard signal format corresponding to the verification device to obtain a second signal comprises: Based on the time deviation configuration corresponding to the single-phase electric energy meter, the first signal is time-controlled and mapped in a delayed manner or an advanced manner to eliminate the time difference, thereby obtaining the second signal.
5. The adaptation method for single-phase electric energy meter verification according to claim 1, characterized in that: The step of inputting a target square wave signal to the verification device according to the second signal comprises: The target square wave signal is input into the verification device according to the second signal by means of differential signal transmission.
6. The adaptation method for single-phase electric energy meter verification according to claim 1, characterized in that: The step of inputting a target square wave signal to the verification device according to the second signal further includes: Based on the signal gain compensation method, according to the second signal, the target square wave signal is input to the calibration device through the target signal line of the calibration adapter, wherein the target signal line is electromagnetically shielded by a shielded cable or a shielding layer.
7. The single-phase electric energy meter calibration adaptation method according to claim 1, characterized in that: The circuit design in the calibration adapter adopts a multi-layer PCB board design to reduce electromagnetic interference.
8. An adapter device for single-phase electric energy meter calibration, characterized in that: The device is applied to calibrate the adapter, and the device comprises: A signal acquisition module, used to acquire a discrete signal corresponding to a target pulse hole of a single-phase electric energy meter, wherein the output specification of the target pulse hole does not match the input specification of the verification device; A logic conversion module, configured to perform logic conversion on the discrete signal based on a standard signal format corresponding to the verification device to obtain a first signal; A timing control and mapping module, configured to perform timing control and mapping on the first signal based on a standard signal format corresponding to the verification device to obtain a second signal; A signal output module is used to input a target square wave signal to the calibration device according to the second signal, wherein the calibration device is used to perform calibration according to the target square wave signal to obtain a calibration result corresponding to the single-phase electric energy meter.
9. A calibration adapter, characterized in that: The calibration adapter includes a signal acquisition unit, a signal output unit, and a control unit. The control unit is electrically connected to the signal acquisition unit and the signal output unit. The signal acquisition unit is used to acquire the pulse signal input by the target pulse hole of the single-phase electric energy meter through a physical cable. The signal output unit is used to input the target square wave signal to the calibration device. The control unit is configured to implement the steps of the adaptation method for calibration of the single-phase electric energy meter as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the control unit, the steps of the adaptation method for single-phase electric energy meter calibration as claimed in any one of claims 1 to 7 are implemented.