Electric energy meter detection device and control method
By designing the electric energy meter detection device, the multi-parameter acquisition and analysis of the electric energy meter is realized, and the problem of inefficient detection caused by the single function of existing equipment is solved, and the efficiency and accuracy of the electric energy meter detection are improved.
Patent Information
- Application Number
- CN202510418918.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-06-27
AI Technical Summary
The existing power meter detection equipment has a single function, resulting in low detection efficiency and cannot meet the detection needs of multiple power meter models at the same time.
An energy meter detection device is designed, including communication circuits, sampling circuits, meter switch control circuits and main control modules. Through these modules, the state switching and multi-parameter acquisition of the power meter are realized, including the acquisition and analysis of the battery no-load voltage, battery load voltage, meter power consumption current and meter test point voltage.
It realizes the collection and analysis of multiple parameters during the operation of the power meter, improves the detection efficiency, and ensures the reliability and accuracy of the power meter.
Smart Images

Figure CN120214679A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy meter detection, and particularly to an electric energy meter detection device and a control method. Background Art
[0002] With the development and improvement of China's power industry, the social demand for electricity is increasing. As the core device for electric energy metering in the power system, the accuracy and reliability of the electric energy meter are directly related to the fair transaction between the power supply and demand sides and the efficient operation of the power grid. In order to ensure the quality of the electric energy meter, a series of detections and calibrations need to be carried out before its factory shipment to ensure that all functions of the electric energy meter meet the factory standards.
[0003] During the production process, the electric energy meter may have abnormal power consumption due to various reasons in the production process. The causes of this abnormality are relatively complex, and it will cause the internal battery of the electric energy meter to consume power too quickly when the power is off. After all the internal battery power is consumed, when the electric energy meter performs a power-off operation, the internal part may not be able to fully process the data, which will further affect other functions of the electric energy meter. At the same time, there are many types of electric energy meters. According to the standards, they can be divided into State Grid standards, Southern Power Grid standards, and local standards, etc. According to the types, they can be divided into single-phase meters, three-phase meters, DC meters, etc. Most of the current electric energy meter power consumption detection devices are single-point detections, that is, they have a single function and can only detect the test point data of one meter model, and the obtained data is single. If there are additional requirements, additional processes and steps need to be added, resulting in low detection efficiency. Summary of the Invention
[0004] In view of this, the present invention provides an electric energy meter detection device and a control method to solve or partially solve the technical problem that the existing electric meter detection scheme obtains single data, and additional processes and steps need to be added if there are additional requirements, resulting in low detection efficiency.
[0005] The technical solution proposed by the present invention is as follows:
[0006] In the first aspect of the present invention, a power meter detection device is provided, including: a communication circuit, connected to the main control module and the host computer respectively, for realizing communication between the main control module and the host computer; a sampling circuit, connected to the main control module and the power meter under test respectively, for collecting the no-load voltage of the battery of the power meter under test, the load voltage of the battery, the power consumption current of the meter, and the voltage at the test point of the meter; a meter switch control circuit, connected to the main control module and the power meter under test respectively, for controlling the opening and closing of the power meter under test; a main control module, for controlling the operation of the meter switch control circuit and the sampling circuit based on the control instruction sent by the host computer, controlling the opening and closing of the power meter under test through the meter switch control circuit, collecting the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the meter through the sampling circuit when the power meter under test is closed, collecting the voltage at the test point of the meter through the sampling circuit when the power meter under test is open, determining the detection result according to the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the meter, and the voltage at the test point of the meter, and outputting the detection result.
[0007] Optionally, the sampling circuit includes at least one set of analog-to-digital conversion circuits, and the analog-to-digital conversion circuit includes a reference voltage circuit, an analog-to-digital conversion chip, and a multiplexing chip; the reference voltage circuit is used to provide a reference voltage source for the analog-to-digital conversion chip; the communication interface of the analog-to-digital conversion chip is connected to the main control module, the first channel pin of the analog-to-digital conversion chip is connected to the positive battery test point of the power meter under test, the second channel pin of the analog-to-digital conversion chip is connected to the second input pin of the multiplexing chip, the seventh channel pin of the analog-to-digital conversion chip is connected to the fourth output pin of the multiplexing chip, the fifth channel pin of the analog-to-digital conversion chip is respectively connected to the third output pin of the multiplexing chip, one end of the first resistor, and one end of the first capacitor, the sixth channel pin of the analog-to-digital conversion chip is respectively connected to the eighth channel pin of the analog-to-digital conversion chip, the other end of the first resistor, the other end of the first capacitor, and the negative battery test point of the power meter under test, the third channel pin and the fourth channel pin of the analog-to-digital conversion chip are respectively connected to the first preset test point and the second preset test point of the power meter under test, the positive battery test point is connected to the first input pin of the multiplexing chip, the fifth output pin of the multiplexing chip is connected to the negative battery test point, the first output pin, the second output pin, the sixth output pin, the seventh output pin, and the eighth output pin of the multiplexing chip are left unconnected, and the control pin of the multiplexing chip is connected to the main control module. The multiplexing chip selectively connects the first input pin to the third output pin and the fourth output pin, and selectively connects the second input pin to the fifth output pin and the sixth output pin according to the switching signal sent by the main control module.
[0008] Optionally, the analog-to-digital conversion circuit further includes a pin interface. The first connection pin and the fifth output pin of the pin interface are connected. The second connection pin of the pin interface is connected to the first channel pin. The eleventh connection pin of the pin interface is respectively connected to the sixth channel interface and the eighth channel interface. The twelfth connection pin of the pin interface is connected to the first input pin. The third connection pin and the fifth connection pin of the pin interface are respectively connected to the third channel pin and the fourth channel pin through voltage-dividing resistors. The first connection pin and the eleventh connection pin are respectively connected to the battery negative test point through corresponding connection lines. The second connection pin and the twelfth connection pin are respectively connected to the battery positive test point through corresponding connection lines. The third connection pin and the fifth connection pin are respectively connected to the first preset test point and the second preset test point through corresponding connection lines.
[0009] Optionally, the meter switch control circuit includes a relay, a triode, and a diode. The base of the triode is connected to the main control module. The emitter of the triode is grounded. The collector of the triode is respectively connected to the positive electrode of the diode and one end of the coil of the relay. The other end of the coil of the relay is connected to a preset voltage source. The switch of the relay is connected to the working circuit of the meter under test to control the opening and closing of the meter under test.
[0010] Optionally, the meter detection device further includes a display module. The display module is connected to the main control module and is configured to receive and display at least one of the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the meter, the voltage of the meter test point, and the detection result.
[0011] Optionally, the meter detection device further includes a power supply circuit. The power supply circuit is configured to convert the input voltage of an external power supply into the supply voltages for the communication circuit, the sampling circuit, the meter switch control circuit, and the main control module, and supply power to the communication circuit, the sampling circuit, the meter switch control circuit, and the main control module.
[0012] A second aspect of the present invention provides a control method for a meter detection device, which is applied to the meter detection device according to any one of the first aspects of the present invention, and includes: controlling the meter switch control circuit to perform a state switch on the meter under test to make the meter under test in a closed state, and controlling the sampling circuit to collect the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the meter of the meter under test; controlling the meter switch control circuit to perform a state switch on the meter under test to make the meter under test in an open state, and controlling the sampling circuit to collect the voltage of the meter test point of the meter under test; determining a detection result based on the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the meter, and the voltage of the meter test point, and outputting the detection result.
[0013] Optionally, determine the detection result based on the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electricity meter, and the voltage at the test point of the electricity meter, and output the detection result, including: calculating the internal resistance of the battery based on the no-load voltage of the battery and the load voltage of the battery; determining whether the values of the internal resistance of the battery, the power consumption current of the electricity meter, and the voltage at the test point of the electricity meter are abnormal, obtaining the detection result, and outputting the detection result.
[0014] Optionally, control the sampling circuit to collect the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the electricity meter of the electricity meter to be measured, including: controlling the working state of the multiplexing chip to connect the first input pin and the fourth output pin, connect the second input pin and the eighth output pin, send a differential fourth-channel conversion command to the analog-to-digital conversion chip, and receive the no-load voltage of the battery collected by the analog-to-digital conversion chip based on the differential fourth-channel conversion command, where the no-load voltage of the battery is the difference between the collected voltage of the seventh-channel pin and the collected voltage of the eighth-channel pin; controlling the working state of the multiplexing chip to connect the first input pin and the third output pin, connect the second input pin and the seventh output pin, send a differential third-channel conversion command to the analog-to-digital conversion chip, and receive the load voltage of the battery collected by the analog-to-digital conversion chip based on the differential third-channel conversion command, where the load voltage of the battery is the difference between the collected voltage of the fifth-channel pin and the collected voltage of the sixth-channel pin; controlling the working state of the multiplexing chip to connect the first input pin and the first output pin, connect the second input pin and the fifth output pin, send a differential first-channel conversion command to the analog-to-digital conversion chip, and receive the power consumption current of the electricity meter collected by the analog-to-digital conversion chip based on the differential first-channel conversion command, where the power consumption current of the electricity meter is the difference between the collected current of the first-channel pin and the collected current of the second-channel pin.
[0015] Optionally, control the electricity meter switch control circuit to switch the state of the electricity meter to be measured to make the electricity meter to be measured in the on state, and control the sampling circuit to collect the voltage at the test point of the electricity meter of the electricity meter to be measured, including: sending a single-ended third-channel conversion command and a single-ended fourth-channel conversion command to the analog-to-digital conversion chip, and controlling the electricity meter switch control circuit to switch the state of the electricity meter to be measured to make the electricity meter to be measured in the on state; receiving the voltage at the test point of the electricity meter collected by the analog-to-digital conversion chip based on the single-ended third-channel conversion command and the single-ended fourth-channel conversion command, where the voltage at the test point of the electricity meter includes the first preset test point voltage collected by the third-channel pin and the second preset test point voltage collected by the fourth-channel pin.
[0016] The present invention has the following beneficial effects:
[0017] An electric energy meter detection device and control method of the present invention realize communication between a main control module and a host computer through a communication circuit. After the main control module receives a control instruction sent by the host computer, it controls the state switching of the electric energy meter to be detected through an electric meter switch control circuit. When the electric energy meter to be detected is in the off state, it controls a sampling circuit to collect the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the electric meter of the electric energy meter to be detected. When the electric energy meter to be detected is in the on state, it controls the sampling circuit to collect the voltage at the test point of the electric meter of the electric energy meter to be detected, determines the detection result based on the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electric meter, and the voltage at the test point of the electric meter, and outputs the detection result. Furthermore, it can collect multiple parameters during the operation of the electric energy meter based on a set of detection devices, obtain a detection result containing multiple parameters, and improve the detection efficiency of the electric energy meter. Description of the Drawings
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0019] Figure 1 It is a schematic structural diagram of an electric energy meter detection device in an embodiment of the present invention;
[0020] Figure 2 It is a schematic structural diagram of another electric energy meter detection device in an embodiment of the present invention;
[0021] Figure 3 It is a circuit schematic diagram of a reference voltage circuit in an embodiment of the present invention;
[0022] Figure 4 It is a circuit schematic diagram of an analog-to-digital conversion chip and its peripheral circuits in an embodiment of the present invention;
[0023] Figure 5 It is a circuit schematic diagram of a multiplexing chip and its peripheral circuits in an embodiment of the present invention;
[0024] Figure 6 It is a circuit schematic diagram of an electric meter switch control circuit in an embodiment of the present invention;
[0025] Figure 7 It is a circuit schematic diagram of a communication circuit in an embodiment of the present invention;
[0026] Figure 8 It is a flowchart of the control method of the electric energy meter detection device in an embodiment of the present invention;
[0027] Figure 9 It is an overall operation flowchart of the electric energy meter detection device in an embodiment of the present invention;
[0028] Figure 10 This is the operation flowchart of the sampling circuit in the embodiment of the present invention;
[0029] Figure 11 This is the data conversion flowchart of the sampling circuit in the embodiment of the present invention. Detailed implementation manners
[0030] Next, the technical solutions of the present invention will be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0031] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0032] In the description of the present invention, it should be noted that unless otherwise clearly specified and defined, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can also be the internal communication of two components. It can be a wireless connection or a wired connection. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0033] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0034] Currently, the power consumption detection equipment of electric meters has the problem of single function. To improve production efficiency while ensuring the quality of electric energy meters, the embodiments of the present invention provide an electric energy meter detection device and a control method, which can collect multiple parameters during the operation of the electric energy meter, such as current, voltage, and battery internal resistance, preprocess and analyze and correct the collected data, judge whether there are faults or abnormal conditions in the electric energy meter or battery according to the results, and send them to the host computer for further analysis and decision-making. The device has perfect isolation and power supply measures, can effectively detect the power consumption of the electric energy meter and the battery status, and power on and off the electric energy meter to ensure the correct operation of the electric energy meter and guarantee reliability.
[0035] As Figure 1 shown, the embodiments of the present invention provide an electric energy meter detection device, including:
[0036] A communication circuit, which is respectively connected to the main control module and the host computer, and is used to realize the communication between the main control module and the host computer; a sampling circuit, which is respectively connected to the main control module and the electric energy meter to be measured, and is used to collect the no-load voltage of the battery of the electric energy meter to be measured, the load voltage of the battery, the power consumption current of the electric meter, and the voltage at the meter test point; an electric meter switch control circuit, which is respectively connected to the main control module and the electric energy meter to be measured, and is used to control the opening and closing of the electric energy meter to be measured; a main control module, which is used to control the operation of the electric meter switch control circuit and the sampling circuit based on the control instructions sent by the host computer, control the opening and closing of the electric energy meter to be measured through the electric meter switch control circuit, when the electric energy meter to be measured is closed, collect the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the electric meter through the sampling circuit, when the electric energy meter to be measured is opened, collect the voltage at the meter test point through the sampling circuit, and determine the detection result according to the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electric meter, and the voltage at the meter test point and output the detection result.
[0037] Specifically, the main control module includes a main control chip. Exemplarily, the model of the main control chip is FM33A06XEV, and the main control chip is connected to each circuit module in the electric energy meter detection device and controls each circuit module.
[0038] The main control chip can receive multiple sampling signals at the same time. Therefore, the sampling circuit can be provided with multiple sampling channels to collect voltage signals and current signals at different positions of the electric energy meter through the multiple sampling channels, including the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electric meter, and the voltage at the meter test point.
[0039] The electric meter switch control circuit is used to power on and off the electric energy meter to be measured, so as to switch the operating state of the electric energy meter to be measured. After testing the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the electric meter, the main control module powers on the electric energy meter to be measured once through the electric meter switch control circuit. After ensuring the correct operation of the electric energy meter to be measured, the voltage at the meter test point is collected through the sampling circuit.
[0040] The communication circuit can connect the main control module and the host computer in a wired or wireless communication manner. For example, the communication circuit can adopt a 485 communication module or a Bluetooth communication module. Specifically, as Figure 7 shown, the communication circuit includes an optocoupler isolation circuit and a 485 communication chip U57. One communication interface of the 485 communication chip U57 is connected to the main control chip through the optocoupler isolation circuit, and the other communication interface is connected to the host computer.
[0041] The host computer is an intelligent terminal device, such as a computer, a tablet, etc. The host computer sends control instructions to the main control module to control the operation of other circuits through the main control module.
[0042] After obtaining the sampled data, the main control module calculates the internal resistance of the battery based on the no-load voltage and the load voltage of the battery, and determines whether the values of the battery internal resistance, the power consumption current of the electric meter, and the voltage at the test point of the electric meter are greater than the corresponding set values. If they are greater than the corresponding set values, it indicates that an abnormality of the electric energy meter is detected, and the detection results including whether each index of the electric energy meter is abnormal are output to the host computer or an external display. The main control module sends the collected data to the host computer for further analysis and decision-making.
[0043] A kind of electric energy meter detection device according to an embodiment of the present invention realizes the communication between the main control module and the host computer through the communication circuit. After receiving the control instructions sent by the host computer, the main control module controls the state switching of the electric energy meter to be measured through the electric meter switch control circuit. When the electric energy meter to be measured is in the off state, the sampling circuit is controlled to collect the no-load voltage of the battery, the load voltage of the battery, and the power consumption current of the electric meter of the electric energy meter to be measured. When the electric energy meter to be measured is in the on state, the sampling circuit is controlled to collect the voltage at the test point of the electric meter of the electric energy meter to be measured, determines the detection results based on the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electric meter, and the voltage at the test point of the electric meter, and outputs the detection results. Furthermore, it can collect multiple parameters during the operation of the electric energy meter based on a set of detection devices, obtain detection results including multiple parameters, and improve the detection efficiency of the electric energy meter.
[0044] In some embodiments, such as Figure 3 、 Figure 4 and Figure 5As shown in the figure, the sampling circuit includes at least one set of analog-to-digital conversion circuits. The analog-to-digital conversion circuit includes a reference voltage circuit U60, an analog-to-digital conversion chip U62, and a multiplexing chip U61. The reference voltage circuit U60 is used to provide a reference voltage source for the analog-to-digital conversion chip U62. The communication interface of the analog-to-digital conversion chip U62 is connected to the main control module. The first channel pin of the analog-to-digital conversion chip U62 is connected to the battery positive test point of the electricity meter under test. The second channel pin of the analog-to-digital conversion chip U62 is connected to the second input pin of the multiplexing chip U61. The seventh channel pin of the analog-to-digital conversion chip U62 is connected to the fourth output pin of the multiplexing chip U61. The fifth channel pin of the analog-to-digital conversion chip U62 is respectively connected to the third output pin of the multiplexing chip U61, one end of the first resistor, and one end of the first capacitor. The sixth channel pin of the analog-to-digital conversion chip U62 is respectively connected to the eighth channel pin of the analog-to-digital conversion chip U62, the other end of the first resistor, the other end of the first capacitor, and the battery negative test point of the electricity meter under test. The third channel pin and the fourth channel pin of the analog-to-digital conversion chip U62 are respectively connected to the first preset test point and the second preset test point of the electricity meter under test. The battery positive test point is respectively connected to the first input pin of the multiplexing chip U61. The fifth output pin of the multiplexing chip U61 is connected to the battery negative test point. The first output pin, the second output pin, the sixth output pin, the seventh output pin, and the eighth output pin of the multiplexing chip U61 are left unconnected. The control pin of the multiplexing chip U61 is connected to the main control module. The multiplexing chip U61 selectively connects the first input pin to the third output pin and the fourth output pin, and selectively connects the second input pin to the fifth output pin and the sixth output pin according to the switching signal sent by the main control module.
[0045] Specifically, the reference voltage circuit U60 includes a voltage conversion chip U60, which converts the voltage source VADC1 into a reference voltage source REF1 through the voltage conversion chip.
[0046] The model of the analog-to-digital conversion chip U62 is LTC2414, and its SPI communication interface and the CS terminal are isolated by an optocoupler and then connected to the main control chip.
[0047] The analog-to-digital conversion chip U62 has eight channel pins, namely the first channel pin CH0, the second channel pin CH1, the third channel pin CH2, the fourth channel pin CH3, the fifth channel pin CH4, the sixth channel pin CH5, the seventh channel pin CH6, and the eighth channel pin CH7. The eight channel pins are connected to the channel voltage-dividing resistors, and the meter power consumption current of the measured electric energy meter is tested in a differential manner through the first channel pin CH0 and the second channel pin CH1. The voltage of 2 meter test points of the measured electric energy meter is tested in a single-ended measurement manner through the third channel pin CH2 and the fourth channel pin CH3. Finally, the battery load voltage is measured through the fifth channel pin CH4 and the sixth channel pin CH5, and the battery no-load voltage is measured through the seventh channel pin CH6 and the eighth channel pin CH7. The battery internal resistance is calculated based on the battery no-load voltage and the battery load voltage.
[0048] The multiplexing chip U61 includes a first input pin X, a second input pin Y, a first output pin X0, a second output pin X1, a third output pin X2, a fourth output pin X3, a fifth output pin Y0, a sixth output pin Y1, a seventh output pin Y2, and an eighth output pin Y3. The control pin of the multiplexing chip U61 is connected to the main control chip, and the square wave signal input through the main control chip is used to switch the first input pin X to connect to any one of the third output pin X2 and the fourth output pin X3, and the second input pin to connect to any one of the fifth output pin Y0 and the sixth output pin Y1.
[0049] It should be understood that in the above description of the multiplexing chip U61, both the input pins and the output pins are bidirectional pins, and the input and output expression methods are only for distinction purposes.
[0050] In an example, the model of the multiplexing chip U61 is 74HC4051D. The chip also has output pins X0, X1, Y2, and Y3. Since these four pins are not used during detection, these four pins are set to be empty.
[0051] When performing the detection, the main control module controls the working state of the multiplexing chip U61, connecting the first input pin X and the fourth output pin X3, and the second input pin Y and the eighth output pin Y3. The second input channel Y of the multiplexing chip U61 is connected to the eighth output pin Y3, that is, the current test channel is in a null state, and the battery is not connected to the working circuit of the electricity meter to be measured. That is, the battery positive test point and the battery negative test point of the current electricity meter are directly connected to the differential fourth channel of the analog-to-digital conversion chip U62. Among them, the differential fourth channel includes the seventh channel pin CH6 and the eighth channel pin CH7. The no-load voltage of the battery is tested through the differential fourth channel. Subsequently, the selected state of the multiplexing chip U61 is switched, connecting the first input pin X and the third output pin X2, and the second input pin Y and the seventh output pin Y2. At this time, the current test channel is in a null state, the battery is not connected to the external electricity meter circuit, and the battery is directly connected to the second resistor R238. The load voltage of the battery is tested through the differential third channel of the analog-to-digital conversion chip U62, that is, the fifth channel pin CH4 and the sixth channel pin CH5. The internal resistance of the battery can be calculated according to the no-load voltage and the load voltage of the battery. Finally, the selected state of the multiplexing chip U61 is switched, connecting the first input pin X and the first output pin X0, and the second input pin Y and the fifth output pin Y0. At this time, the battery current flows through the subsequent circuit of the electricity meter after passing through the third resistor R225, the fourth resistor R226, and the fifth resistor R227. The power consumption current of the electricity meter can be collected through the differential first channel of the analog-to-digital conversion chip U62, that is, the first channel pin CH0 and the second channel pin CH1. Subsequently, the electricity meter to be measured is powered on through the electricity meter switch control circuit. The main control module sends single-ended third channel and single-ended fourth channel commands to the analog-to-digital conversion chip U62 respectively, and collects the voltages of two preset test points of the electricity meter to be measured through the third channel pin CH2 and the fourth channel pin CH3 of the analog-to-digital conversion chip U62, obtaining the voltage of the electricity meter test point. At this time, there are already data such as the no-load voltage of the battery, the loaded voltage of the battery, the power consumption current of the electricity meter, and the voltage of the electricity meter test point. According to the data, the internal resistance of the battery can be calculated, and it can be judged whether the data of the internal resistance of the battery, the power consumption of the electricity meter, and the voltage test point are normal, thereby completing the electricity meter detection task.
[0052] In the embodiment of the present invention, through the application of the analog-to-digital conversion chip U62 and the multiplexing chip U61, the analog-to-digital conversion chip U62 can collect data such as the no-load voltage of the battery, the loaded voltage of the battery, the power consumption current of the electricity meter, and the voltage of the electricity meter test point, realizing multi-parameter collection and improving the detection efficiency.
[0053] In some embodiments, the analog-to-digital conversion circuit further includes a pin interface. The first connection pin of the pin interface is connected to the fifth output channel Y0. The second connection pin of the pin interface is connected to the first channel pin of the analog-to-digital conversion chip. The eleventh connection pin of the pin interface is respectively connected to the sixth channel interface and the eighth channel interface. The twelfth connection pin of the pin interface is connected to the first input pin of the multi-channel sampling chip. The third connection pin and the fifth connection pin of the pin interface are respectively connected to the third channel pin and the fourth channel pin of the analog-to-digital conversion chip. The first connection pin and the eleventh connection pin are respectively connected to the battery negative test point through corresponding connection lines. The second connection pin and the twelfth connection pin are respectively connected to the battery positive test point through corresponding connection lines. The third connection pin and the fifth connection pin are respectively connected to the first preset test point and the second preset test point through corresponding connection lines.
[0054] Specifically, the pin interface ADC1 includes twelve connection pins. The connection lines led out from the pin interface ADC1 are connected to the meter test points. Among them, the first connection pin and the eleventh connection pin are connected to the meter battery current outflow test point, that is, the battery negative test point. The second connection pin and the twelfth connection pin are connected to the battery positive test point. The third connection pin, the fifth connection pin, the seventh connection pin and the ninth connection pin are connected to the components on the power meter board or the power supply voltage test point. The fourth connection pin, the sixth connection pin, the eighth connection pin and the tenth connection pin are connected to the meter ground. By setting the pin interface ADC1, it is convenient for the power meter detection device to be connected to each test point, improving the test convenience.
[0055] In some embodiments, as Figure 6 shown, the meter switch control circuit includes a relay M7, a triode V5 and a diode D16. The base of the triode V5 is connected to the main control module. The emitter of the triode V5 is grounded. The collector of the triode V5 is respectively connected to the positive pole of the diode D16 and one end of the coil of the relay M7. The other end of the coil of the relay M7 is connected to a preset voltage source. The switch of the relay M7 is connected to the working circuit of the measured power meter to control the opening and closing of the measured power meter.
[0056] Specifically, when the control pin JDQ1 of the relay M7 is at a low level, the base of the triode V2 is at a low level. At this time, the triode V5 is in a cut-off state, the relay M7 is not attracted, and the measured power meter is in a power-off state. When the control pin JDQ1 of the relay M7 is at a high level, the triode V5 conducts, and there is current flowing through the coil of the relay M7 to generate a magnetic field, controlling the switch of the relay M7 to attract. At this time, the measured power meter is in a powered state. After testing the current, voltage and battery internal resistance data, the device will power on the measured power meter once through the relay M7 control circuit according to the command of the upper computer system to ensure the correct operation of the measured power meter.
[0057] The power-on and power-off of the electricity meter under test are controlled by the triode V5 in cooperation with the relay M7. The power-on and power-off process is reliable. By setting the diode D16, the reverse current flow at both ends of the relay M7 can be avoided, protecting the circuit.
[0058] Furthermore, the electricity meter detection device further includes a display module. The display module is connected to the main control module and is used to receive and display at least one of the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electricity meter, the voltage at the test point of the electricity meter, and the detection result.
[0059] Specifically, the display module includes a liquid crystal driving chip and a liquid crystal screen. The main control module is connected to the liquid crystal driving chip through the I2c interface, controls the output of the display content, and displays it through the liquid crystal screen, facilitating the detection personnel to obtain the detection result.
[0060] Furthermore, the electricity meter detection device further includes a power supply circuit. The power supply circuit is used to convert the input voltage of the external power supply into the supply voltages for the communication circuit, the sampling circuit, the electricity meter switch control circuit, and the main control module, and supply power to the communication circuit, the sampling circuit, the electricity meter switch control circuit, and the main control module.
[0061] Specifically, when the electricity meter detection device of the embodiment of the present invention is in use, it is arranged on the test bench body, and the power supply circuit converts the external power supply, that is, the bench body power supply, into the working power supplies of each circuit.
[0062] In one example, as Figure 2 shown, the other circuits include a 6-channel analog-to-digital conversion circuit, a communication circuit, an electricity meter switch control circuit, as well as a main control module and a display module. The power supply for each module is isolated from each other. Therefore, the electricity meter detection device requires a total of 9 power supplies. Each power supply is provided by an independent transformer channel. Each transformer has two outputs, which are 10.5V and 12.8V respectively. The device has 4 transformers to supply power to each module. For each power supply, it is obtained through steps of step-down, rectification, and further step-down by the transformer. Among them, the power supplies for the analog-to-digital conversion circuit and the communication circuit are obtained by step-down of the transformer followed by half-wave rectification and LDO step-down, both being 5V. The power supply (12V) for the electricity meter switch control circuit is obtained by step-down of one transformer followed by full-wave rectification and then DC-DC step-down. The power supply (5V) for the display module and the power supply (3.3V) for the main control module are obtained through the output channel of the same transformer. The power supply for the display module is obtained by full-wave rectification and DC-DC module step-down, and the power supply for the main control module is obtained by further step-down of the power supply after DC-DC step-down through LDO.
[0063] In some embodiments, as Figure 9 and Figure 10 shown, the operation process of the electricity meter detection device of the embodiment of the present invention is as follows:
[0064] First, initialize each component and start the internal software timer. Continuously check in the internal loop whether the timer has expired and perform various timing tasks, such as A / D conversion tasks, display tasks, etc. Also, check whether the host computer has sent commands, such as power-on / off commands, current and voltage data reading commands, etc., and perform corresponding actions according to the host computer commands, such as executing the opening and closing of the relay M7 or transmitting the analog-to-digital conversion data.
[0065] Specifically, in this part, first initialize the analog-to-digital conversion chip U62. This initialization program includes hardware initialization, binding and registration of hardware resources. After this step is completed, send a command to read the data of the selected channel to the analog-to-digital conversion chip U62 according to the internally defined sampling channel data table. Subsequently, the program executes other steps. At the same time, the analog-to-digital conversion chip U62 starts to convert the data of the selected channel. When the timer expires, the program will read the data of the channel selected when the command was sent during initialization and send the data that should be sent to the analog-to-digital conversion chip U62 in the next round according to the sampling channel data table. After receiving the data of the completed analog-to-digital conversion, the program will also check and convert the received data to see if the received data frame is correct and if the channel source of the received data is correct. Subsequently, store the converted data, exit the processing of the analog-to-digital conversion chip U62, and perform the processing of other parts of the program. At the same time, the analog-to-digital conversion chip U62 will convert the analog quantity of the newly selected channel.
[0066] The control flow of the analog-to-digital conversion circuit is as Figure 11 shown. First, select and enable the analog-to-digital conversion chip U62 and the multiplexing chip U61. The multiplexing chip U61 selects channels X-X3 and Y-Y3. At the same time, the analog-to-digital conversion chip U62 initializes and sends a differential fourth-channel conversion command. After module scheduling (conversion completed), read the no-load voltage of the battery of the differential fourth channel. Subsequently, switch the channels selected by the multiplexing chip U61, select X-X2 and Y-Y2, send a differential third-channel data reading command to the analog-to-digital conversion chip U62, and wait for the next round of conversion completion and module call. After the module call, read the battery load voltage of the differential third channel. At the same time, switch the channels selected by the multiplexing chip U61 to X-X0 and Y-Y0, send a command to read the differential first channel to the analog-to-digital conversion chip U62, and wait for the module call again. After the call, read the power consumption current data of the electric meter. Subsequently, control the relay M7 to power on the electric meter to be tested, and send commands to the analog-to-digital conversion chip U62 to read the voltages of two test points of the electric meter for the single-ended third channel and the single-ended fourth channel respectively. At this time, there are already data such as the no-load voltage of the battery, the loaded voltage of the battery, the power consumption current of the electric meter, and the voltages of the test points of the electric meter. According to these data, the internal resistance of the battery can be calculated, and it can be judged whether the data of the internal resistance of the battery, the power consumption of the electric meter, and the voltage test points are normal, thus completing the electric meter detection task.
[0067] The embodiment of the present invention also provides a control method for an electric energy meter detection device, which is applied to the electric energy meter detection device in the above embodiment. As Figure 8 shown, the control method of the electric energy meter detection device includes:
[0068] Step S101, controlling the meter switch control circuit to switch the state of the electric energy meter under test, so that the electric energy meter under test is in the off state, and controlling the sampling circuit to collect the no-load voltage of the battery, the load voltage of the battery and the power consumption current of the meter of the electric energy meter under test;
[0069] Step S102, controlling the meter switch control circuit to switch the state of the electric energy meter under test, so that the electric energy meter under test is in the on state, and controlling the sampling circuit to collect the voltage at the meter test point of the electric energy meter under test;
[0070] Step S103, determining the detection result according to the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the meter and the voltage at the meter test point, and outputting the detection result.
[0071] Specifically, calculate the internal resistance of the battery according to the no-load voltage of the battery and the load voltage of the battery; judge whether the values of the internal resistance of the battery, the power consumption current of the meter and the voltage at the meter test point are abnormal, obtain the detection result and output the detection result.
[0072] A control method for an electric energy meter detection device according to an embodiment of the present invention realizes communication between the main control module and the upper computer through a communication circuit. After receiving the control instruction sent by the upper computer, the main control module switches the state of the electric energy meter under test through the meter switch control circuit. When the electric energy meter under test is in the off state, the sampling circuit is controlled to collect the no-load voltage of the battery, the load voltage of the battery and the power consumption current of the meter of the electric energy meter under test. When the electric energy meter under test is in the on state, the sampling circuit is controlled to collect the voltage at the meter test point of the electric energy meter under test. Determine the detection result according to the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the meter and the voltage at the meter test point, and output the detection result, so as to be able to collect multiple parameters during the operation of the electric energy meter based on a set of detection devices, obtain a detection result including multiple parameters, and improve the detection efficiency of the electric energy meter.
[0073] In some embodiments, step S101 includes:
[0074] Step S1011, controlling the working state of the multiplexing chip U61, connecting the first input pin and the fourth output pin, connecting the second input pin and the eighth output pin, sending a differential fourth-channel conversion command to the analog-to-digital conversion chip U62, and receiving the no-load voltage of the battery collected by the analog-to-digital conversion chip U62 based on the differential fourth-channel conversion command. The no-load voltage of the battery is the difference between the collected voltage of the seventh-channel pin and the collected voltage of the eighth-channel pin;
[0075] Step S1012: Control the working state of the multiplexing chip U61 to connect the first input pin and the third output pin, and the second input pin and the seventh output pin. Send a differential third-channel conversion command to the analog-to-digital conversion chip U62, and receive the battery load voltage collected by the analog-to-digital conversion chip U62 based on the differential third-channel conversion command. Here, the battery load voltage is the difference between the collected voltage of the fifth-channel pin and the collected voltage of the sixth-channel pin.
[0076] Step S1013: Control the working state of the multiplexing chip U61 to connect the first input pin and the first output pin, and the second input pin and the fifth output pin. Send a differential first-channel conversion command to the analog-to-digital conversion chip U62, and receive the power consumption current of the electricity meter collected by the analog-to-digital conversion chip U62 based on the differential first-channel conversion command. Here, the power consumption current of the electricity meter is the difference between the collected current of the first-channel pin and the collected current of the second-channel pin.
[0077] Step S102 includes:
[0078] Step S1021: Send a single-ended third-channel conversion command and a single-ended fourth-channel conversion command to the analog-to-digital conversion chip U62, and control the electricity meter switch control circuit to switch the state of the electricity meter under test to make the electricity meter under test in the on state.
[0079] Step S1022: Receive the voltage of the test point of the electricity meter collected by the analog-to-digital conversion chip U62 based on the single-ended third-channel conversion command and the single-ended fourth-channel conversion command. Here, the voltage of the test point of the electricity meter includes the first preset test point voltage collected by the third-channel pin and the second preset test point voltage collected by the fourth-channel pin.
[0080] In the embodiment of the present invention, by controlling the analog-to-digital conversion chip U62 and the multiplexing chip U61 correspondingly, the analog-to-digital conversion chip U62 can collect data such as the no-load voltage of the battery, the loaded voltage of the battery, the power consumption current of the electricity meter, and the voltage of the test point of the electricity meter, realizing multi-parameter collection and improving the detection efficiency.
[0081] Although the exemplary embodiments and their advantages have been described in detail, those skilled in the art can make various changes, substitutions, and modifications to these embodiments without departing from the spirit of the present invention and the defined protection scope. Such modifications and variations all fall within the defined scope.
Claims
1. An electric energy meter detection device, characterized in that: include: The communication circuit is connected to the main control module and the host computer respectively, and is used to realize the communication between the main control module and the host computer; The sampling circuit is connected to the main control module and the electric energy meter under test, and is used to collect the battery no-load voltage, battery load voltage, meter power consumption current and meter test point voltage of the electric energy meter under test; The electric meter switch control circuit is connected to the main control module and the electric energy meter under test respectively, and is used to control the opening and closing of the electric energy meter under test; The main control module is used to control the operation of the meter switch control circuit and the sampling circuit based on the control instructions sent by the host computer, and control the opening and closing of the measured energy meter through the meter switch control circuit. When the measured energy meter is turned off, the battery no-load voltage, the battery load voltage and the meter power consumption current are collected through the sampling circuit. When the measured energy meter is turned on, the meter test point voltage is collected through the sampling circuit. The detection result is determined according to the battery no-load voltage, the battery load voltage, the meter power consumption current and the meter test point voltage, and the detection result is output.
2. The electric energy meter detection device according to claim 1, characterized in that: The sampling circuit at least includes at least one group of analog-to-digital conversion circuits, and the analog-to-digital conversion circuits include a reference voltage circuit, an analog-to-digital conversion chip, and a multiplexing chip; The reference voltage circuit is used to provide a reference voltage source for the analog-to-digital conversion chip; The communication interface of the analog-to-digital conversion chip is connected to the main control module, the first channel pin of the analog-to-digital conversion chip is connected to the positive battery test point of the electric energy meter under test, the second channel pin of the analog-to-digital conversion chip is connected to the second input pin of the multiplexing chip, the seventh channel pin of the analog-to-digital conversion chip is connected to the fourth output pin of the multiplexing chip, the fifth channel pin of the analog-to-digital conversion chip is respectively connected to the third output pin of the multiplexing chip, one end of the first resistor and one end of the first capacitor, the sixth channel pin of the analog-to-digital conversion chip is respectively connected to the eighth channel pin of the analog-to-digital conversion chip, the other end of the first resistor, the other end of the first capacitor and the negative battery test point of the electric energy meter under test, the third The channel pin and the fourth channel pin of the analog-to-digital conversion chip are respectively connected to the first preset test point and the second preset test point of the electric energy meter under test, the battery positive electrode test point is connected to the first input pin of the multiplexing chip, the fifth output pin of the multiplexing chip is connected to the battery negative electrode test point, the first output pin, the second output pin, the sixth output pin, the seventh output pin and the eighth output pin of the multiplexing chip are left empty, the control pin of the multiplexing chip is connected to the main control module, and the multiplexing chip selects one of the first input pin to be connected to the third output pin and the fourth output pin according to the switching signal sent by the main control module, and selects one of the second input pin to be connected to the fifth output pin and the sixth output pin.
3. The electric energy meter detection device according to claim 2, characterized in that: The analog-to-digital conversion circuit also includes a pin interface, a first connecting pin of the pin interface is connected to the fifth output pin, a second connecting pin of the pin interface is connected to the first channel pin, an eleventh connecting pin of the pin interface is respectively connected to the sixth channel interface and the eighth channel interface, a twelfth connecting pin of the pin interface is connected to the first input pin, a third connecting pin of the pin interface and a fifth connecting pin of the pin interface are respectively connected to the third channel pin and the fourth channel pin through a voltage divider resistor, the first connecting pin and the eleventh connecting pin are respectively connected to the negative electrode test point of the battery through corresponding connecting lines, the second connecting pin and the twelfth connecting pin are respectively connected to the positive electrode test point of the battery through corresponding connecting lines, and the third connecting pin and the fifth connecting pin are respectively connected to the first preset test point and the second preset test point through corresponding connecting lines.
4. The electric energy meter detection device according to claim 1, characterized in that: The meter switch control circuit includes a relay, a transistor and a diode. The base of the transistor is connected to the main control module, the emitter of the transistor is grounded, the collector of the transistor is respectively connected to the positive electrode of the diode and one end of the coil of the relay, the other end of the coil of the relay is connected to a preset voltage source, and the switch of the relay is connected to the working circuit of the electric energy meter under test to control the opening and closing of the electric energy meter under test.
5. The electric energy meter detection device according to claim 1, characterized in that: It also includes a display module, which is connected to the main control module and is used to receive and display at least one of the battery no-load voltage, the battery load voltage, the meter power consumption current, the meter test point voltage and the detection result.
6. The electric energy meter detection device according to claim 1, characterized in that: It also includes a power supply circuit, which is used to convert the input voltage of the external power supply into the power supply voltage of the communication circuit, the sampling circuit, the meter switch control circuit and the main control module, and to power the communication circuit, the sampling circuit, the meter switch control circuit and the main control module.
7. A control method for an electric energy meter detection device, applied to the electric energy meter detection device according to any one of claims 1 to 6, characterized in that: include: Control the meter switch control circuit to switch the state of the measured energy meter, so that the measured energy meter is in the off state, and control the sampling circuit to collect the battery no-load voltage, battery load voltage and meter power consumption current of the measured energy meter; Control the meter switch control circuit to switch the state of the measured energy meter, so that the measured energy meter is in the on state, and control the sampling circuit to collect the voltage of the meter test point of the measured energy meter; The detection result is determined according to the battery no-load voltage, the battery load voltage, the power consumption current of the electric meter and the test point voltage of the electric meter, and the detection result is output.
8. The control method of the electric energy meter detection device according to claim 7, characterized in that: The step of determining a detection result according to the no-load voltage of the battery, the load voltage of the battery, the power consumption current of the electric meter and the test point voltage of the electric meter and outputting the detection result comprises: Calculating the battery internal resistance according to the battery no-load voltage and the battery load voltage; Determine whether the values of the battery internal resistance, the meter power consumption current and the meter test point voltage are abnormal, obtain a detection result and output the detection result.
9. The control method of the electric energy meter detection device according to claim 7, characterized in that: The control sampling circuit collects the battery no-load voltage, battery load voltage and meter power consumption current of the electric energy meter under test, including: Controlling the working state of the multiplexing chip, connecting the first input pin and the fourth output pin, connecting the second input pin and the eighth output pin, sending a differential fourth channel conversion command to the analog-to-digital conversion chip, and receiving the battery no-load voltage collected by the analog-to-digital conversion chip based on the differential fourth channel conversion command, wherein the battery no-load voltage is the difference between the collected voltage of the seventh channel pin and the collected voltage of the eighth channel pin; Controlling the working state of the multiplexing chip, connecting the first input pin and the third output pin, connecting the second input pin and the seventh output pin, sending a differential third channel conversion command to the analog-to-digital conversion chip, and receiving the battery load voltage collected by the analog-to-digital conversion chip based on the differential third channel conversion command, wherein the battery load voltage is the difference between the collected voltage of the fifth channel pin and the collected voltage of the sixth channel pin; Control the working state of the multiplexing chip, connect the first input pin and the first output pin, connect the second input pin and the fifth output pin, send a differential first channel conversion command to the analog-to-digital conversion chip, and receive the meter power consumption current collected by the analog-to-digital conversion chip based on the differential first channel conversion command, wherein the meter power consumption current is a value obtained by converting the difference between the collected voltage of the first channel pin and the collected voltage of the second channel pin.
10. The control method of the electric energy meter detection device according to claim 9, characterized in that: The control circuit for controlling the electric meter switch switches the state of the electric energy meter under test, so that the electric energy meter under test is in the on state, and controls the sampling circuit to collect the voltage of the electric meter test point of the electric energy meter under test, including: Sending a single-ended third channel conversion command and a single-ended fourth channel conversion command to the analog-to-digital conversion chip, and controlling the meter switch control circuit to switch the state of the measured electric energy meter so that the measured electric energy meter is in the on state; Receive the meter test point voltage collected by the analog-to-digital conversion chip based on the single-ended third channel conversion command and the single-ended fourth channel conversion command, wherein the meter test point voltage includes a first preset test point voltage collected by the third channel pin and a second preset test point voltage collected by the fourth channel pin.