A detection tooling module for a multi-core modular electric energy meter
By designing the detection tooling module of multi-core modular power meter, the lack of interface testing of the power meter expansion module in the existing technology is solved, automatic matching identification and stable communication are realized, and production costs and R&D cycle are reduced.
Patent Information
- Application Number
- CN202010565649.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-19
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2040-06-19
AI Technical Summary
The existing technology lacks effective testing solutions to detect the expansion module interface of multi-core modular power meters, which leads to the inability to automatically match, identify and communicate stably in different application scenarios, increasing production costs and R&D cycle.
A multi-core modular power meter detection tooling module is designed, including control module, expansion module interface module and serial port module. By simulating different types of expansion modules, checking whether the interface module and serial port module are normally transmitted, and the protocol exchange process with the power meter is realized.
The inspection tooling module can realize the connection and certification relationship with the management core without modifying the management core program, reduce the R&D cycle, reduce development difficulty, improve detection efficiency and production efficiency, and save production costs.
Smart Images

Figure CN112034410B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of metering equipment, and in particular to a detection tooling module of a multi-core modular electric energy meter. Background Art
[0002] The 12th Technical Committee (TC12) of the International Organization of Legal Metrology (OIML) approved and issued the International Recommendation 46 (IR46) "Active Energy Meter" standard in October 2012, which gave rise to the "dual-core" concept of smart meters. The IR46 standard points out that the metering part and the management part of the "dual-core" smart meter need to be designed independently, and isolated areas are divided in the smart meter. The metering function is realized by an independent metering core module, and the other related extended functions are realized by the management core module.
[0003] The International Organization of Legal Metrology (OIML) is an international legal metrology organization. Its IR standard documents are international metrology regulations. Once released, all OIML member countries are required to adopt and implement them. However, there are obvious differences between my country's current electricity meter standard system and the IR46 standard. In order to achieve alignment with international standards, a multi-core modular electricity meter was proposed based on the IR46 "dual-core". In October 2019, State Grid Corporation also clarified in the latest technical documents that "multi-core" refers to metering core, management core and communication core. Among them, the communication core contains 3 module interfaces. The uplink module has a strong power interface and is mainly used for uplink carrier communication. When downlink communication is carried out with smart home devices through the carrier, the module is an uplink and downlink function multiplexing module. The other two are extension modules with unified size and hardware interface, which can be installed interchangeably. The extension modules are optional according to application requirements, which may be non-intrusive load sensing modules, multi-meter collection modules, orderly charging modules, etc.
[0004] For different application scenarios, the multi-core modular energy meter expansion module interface can match a variety of modules, and new models will definitely be added in the future. In order to ensure that no matter what module is inserted on site, the meter can automatically match and identify it, and can communicate normally and stably, the meter needs to ensure the accuracy of the interface level and communication protocol on its own management chip. There is currently no technical solution for how to test this interface.
[0005] Since the stability of this interface will directly affect the actual application function of the meter, it is particularly important to conduct batch testing of this interface before leaving the factory. The output of each production batch of the meter is very large. If a quick and easy method cannot be implemented, the entire production cost will be greatly increased. Summary of the invention
[0006] One of the purposes of the present invention is to provide a detection tooling module for a multi-core modular electric energy meter, which solves the technical problem of testing the interface of the expansion module of the multi-core modular electric energy meter in the prior art. The preferred embodiment of the present invention can achieve many beneficial effects, as described below.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A detection tooling module of a multi-core modular electric energy meter of the present invention comprises a control module, and an expansion module interface module and a serial port module connected to the control module;
[0009] The expansion module interface module is used to connect the expansion module of the electric energy meter;
[0010] The serial port module is used to connect the terminal device and the management core module of the electric energy meter;
[0011] The control module is used to run different types of expansion modules, check whether the expansion module interface module and the serial port module are transmitting data normally, and implement the protocol exchange process with the electric energy meter.
[0012] Furthermore, the control module includes: a dip switch module, and the dip switch module is used to simulate different types of expansion modules.
[0013] Furthermore, the control module is a single chip microcomputer of the SCM403C model.
[0014] Furthermore, the serial port module includes: a management core interface and a terminal device interface.
[0015] Furthermore, the management core interface and the terminal device interface are both R232 interfaces.
[0016] Further, the expansion module interface module also includes a metering core interface;
[0017] The metering core interface is used to connect to the metering core module of the electric energy meter and to perform data transmission with the metering core module.
[0018] Furthermore, the metering core interface is an SPI interface.
[0019] Furthermore, it also includes: a voltage regulator connected to the control module.
[0020] Furthermore, it also includes: a power light and a running light connected to the control module;
[0021] The power light is used to indicate that the detection tooling module is normally powered on;
[0022] The operating light is used to indicate that the detection tooling module is operating normally.
[0023] Further, it also includes: a first data receiving and sending indicator light group and a second data receiving and sending indicator light group connected to the control module;
[0024] The first data receiving and sending indicator light group is used to indicate whether the detection tooling module and the management core module are performing data transmission normally;
[0025] The second data receiving and sending indicator light group is used to prompt whether the detection tooling module and the terminal device are transmitting data normally.
[0026] The detection tooling module of a multi-core modular electric energy meter provided by the present invention has at least the following beneficial technical effects:
[0027] The present invention is mainly composed of a control module, an expansion module interface module and a serial port module connected to the control module, wherein the expansion module interface module is used to connect the expansion module of the electric energy meter; the serial port module is used to connect the terminal device and the management core module of the electric energy meter. That is, the present invention utilizes the communication workflow between the management core and the expansion module of the multi-core modular electric energy meter, and designs a detection tooling module to achieve the connection and authentication relationship with the management core without modifying the management core program.
[0028] Therefore, the present invention reduces the development cycle: the present invention is used to simulate various states of the expansion module, which greatly improves the development speed. There is no need to configure a dedicated expansion module, and the dedicated expansion module also needs to build a complete set of environments to allow the expansion module to be in a normal working state, which will increase the development difficulty and development cycle. In short, the present invention effectively reduces the development difficulty, improves the development efficiency, and also improves the detection efficiency and increases the detection quality.
[0029] The present invention saves production costs: when the electric meters are mass-produced, all expansion module interfaces only need to be inserted into the present invention to automatically complete the detection of the entire interface software and hardware functions, thereby improving production efficiency and saving production costs. 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] Figure 1 It is a schematic diagram of the structure of the present invention;
[0032] Figure 2 is a circuit schematic diagram of a control module of the present invention;
[0033] Figure 3 It is a circuit schematic diagram of the serial port module of the present invention;
[0034] Figure 4 is a circuit schematic diagram of the expansion module interface module of the present invention;
[0035] Figure 5 is a circuit schematic diagram of a voltage regulator of the present invention;
[0036] Figure 6 It is a circuit schematic diagram of the power lamp and the operation lamp of the present invention;
[0037] Figure 7 It is a circuit principle diagram of the first data receiving and sending indicator light group and the second data receiving and sending indicator light group of the present invention.
[0038] In the figure, 1 is a control module, 200 is an expansion module interface module, 300 is a serial port module; 201 is a metering core interface, 301 is a management core interface, and 302 is a terminal device interface. DETAILED DESCRIPTION
[0039] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0040] See also Figure 1 The present invention is a detection tooling module for a multi-core modular electric energy meter, which includes a control module 100, and an expansion module interface module 200 and a serial port module 300 connected to the control module 100;
[0041] The expansion module interface module is used to connect the expansion module of the electric energy meter;
[0042] The serial port module is used to connect the terminal device and the management core module of the electric energy meter;
[0043] The control module is used to run different types of expansion modules, check whether the expansion module interface module and the serial port module are transmitting data normally, and implement the protocol exchange process with the electric energy meter.
[0044] It should be noted that the control module provides a hardware platform, and different types of expansion modules can be designed according to user needs, among which the expansion modules can be non-intrusive load sensing modules, orderly charging modules, multi-meter collection modules, etc. The control module supports communication protocols in the standard DL / T698.45-2017 format.
[0045] The present invention is directly connected to the expansion module, terminal device, management core module and metering core module of the electric energy meter through the expansion module interface module and the serial port module; wherein the terminal device is a PC. The present invention can detect whether the electric energy meter can operate normally when the control module runs simulation programs of different types of expansion modules, and realize the protocol exchange process with the electric energy meter. At the same time, in order to facilitate production operations and track test results, the present invention can also be directly connected to a PC. The present invention can be directly controlled by the application software on the PC side. The PC will be able to obtain complete test information, which is convenient for production to repair and troubleshoot faulty electric energy meters.
[0046] The present invention is mainly composed of a control module, and an expansion module interface module and a serial port module connected to the control module. That is, the present invention utilizes the communication workflow between the management core and the expansion module of the multi-core modular electric energy meter, and designs a detection tooling module to achieve connection and authentication relationship with the management core without modifying the management core program.
[0047] Therefore, the use of the present invention to simulate various states of the expansion module greatly improves the research and development speed and reduces the research and development cycle. The present invention effectively reduces the development difficulty, improves the development efficiency, and also improves the detection efficiency and increases the detection quality. When using the present invention, there is no need to configure a dedicated expansion module, and the dedicated expansion module must also build a complete set of environments to allow the expansion module to be in a normal working state, which will increase the development difficulty and development cycle. When the electric meter is mass-produced, all expansion module interfaces only need to be inserted into the present invention to automatically complete the detection of the entire interface software and hardware functions. While improving production efficiency, it also saves production costs.
[0048] The control module includes: a dip switch module, and the dip switch module is used to simulate different types of expansion modules.
[0049] See also Figure 2 Preferably, the control module is a single chip microcomputer of the SCM403C model.
[0050] The present invention adopts a dial switch module and a SCM403C type single chip microcomputer, which has the characteristics of high integration, high performance, low power consumption and the like.
[0051] See also Figure 3The serial port module 300 includes: a management core interface 301 and a terminal device interface 302. Both the management core interface and the terminal device interface are R232 interfaces.
[0052] It should be noted that the management core first identifies the insertion signal of the present invention through the management core interface, and then performs R232 serial port communication and data transmission.
[0053] See also Figure 4 The expansion module interface module also includes a metering core interface 201, which is used to connect to the metering core module of the electric energy meter and perform data transmission with the metering core module. The metering core interface is an SPI interface.
[0054] It should be noted that the present invention realizes SPI unidirectional communication between the metering core and the present invention through the SPI interface. The SPI interface has the characteristics of supporting full-duplex operation, simple operation, and high data transmission rate, which improves the data transmission efficiency between the metering core and the present invention.
[0055] See also Figure 5 The present invention also includes: a voltage regulator connected to the control module.
[0056] Preferably, the voltage regulator is a voltage regulator of the XC6214P332PR model. The voltage regulator of the XC6214P332PR model has built-in overcurrent and overtemperature protection circuits. When the output current reaches the maximum limit value, the overcurrent protection circuit will work. When the chip temperature reaches a certain level, the overheat protection circuit will work to protect the chip from being damaged. It also has the characteristics of low noise and high precision.
[0057] See also Figure 6 , the present invention further comprises: a power light and a running light connected to the control module;
[0058] The power light is used to indicate that the detection tooling module is normally powered on;
[0059] The operating light is used to indicate that the detection tooling module is operating normally.
[0060] The present invention can clearly indicate whether the present invention is powered on normally and operates normally through the power light and the operation light. If the operation light flashes normally or is always on, it can indicate that the result of the current test is qualified. If the operation light is off, it can indicate that the result of the current test is unqualified. This is convenient for users to use.
[0061] See also Figure 7 , the present invention further comprises: a first data transceiver indicator light group and a second data transceiver indicator light group connected to the control module;
[0062] The first data receiving and sending indicator light group is used to indicate whether the detection tooling module and the management core module are performing data transmission normally;
[0063] The second data receiving and sending indicator light group is used to prompt whether the detection tooling module and the terminal device are transmitting data normally.
[0064] like Figure 7 As shown, the L3 and L4 lights are the first data receiving and sending indicator light group, and the L5 and L6 lights are the second data receiving and sending indicator light group. Among them, the L3 and L4 lights respectively indicate the sending data indication and receiving data indication of the present invention and the management core module, and the L5 and L6 lights respectively indicate the sending data indication and receiving data indication of the present invention and the PC. If the indicator light flashes or is always on, it means that the sending data indication or receiving data of the present invention and the management core module or the PC is normal. For example, if the L3 light flashes or is always on, it means that the sending data of the present invention and the management core module is normal. If the L3 light is off, it means that the sending data of the present invention and the management core module is abnormal.
[0065] Therefore, the present invention can check the data transmission between the present invention and the electric energy meter management core module and the PC one by one through the L3 lamp, the L4 lamp, the L5 lamp and the L6 lamp, thereby improving the efficiency of troubleshooting and accelerating the detection speed.
[0066] The working process of the present invention and the multi-core modular electric energy meter is as follows:
[0067] S1: After the electric energy meter is powered on and stabilized, the management core module automatically detects the identification pin signal of the present invention to determine whether the present invention is connected;
[0068] S2: After the management core module confirms the access of the present invention, it waits for 3 seconds, reads the list of electric energy meter modules configured in the present invention, and confirms the type of expansion module simulated by the present invention. The present invention gives a correct response according to the protocol requirements. If the communication is normal, the subsequent steps will be continued; if the communication is abnormal, the management core module reads the list of electric energy meter modules of the present invention again, up to three times. If all three times fail, the present invention records the communication interface fault log, indicates the error through the indicator light, and stops the test.
[0069] S3: After the management core module successfully communicates with the present invention, the specific port into which the present invention is inserted will be detected, and a logical address will be allocated to the present invention, and the management core module will establish a corresponding relationship between the logical address and the port.
[0070] S4: The management core module determines the authentication mechanism of the present invention according to the type of expansion module simulated by the present invention, and the present invention also makes a corresponding response according to the configured model to ensure that the authentication process passes smoothly.
[0071] S5: If the present invention is configured as a non-intrusive load sensing module, the following process is performed:
[0072] The present invention requests the configuration data of the metering core module from the management core module, and receives and verifies the configuration data sent by the metering core module through the SPI communication interface. If the data is abnormal, the fault log is recorded, the error is indicated by the indicator light, and the test is stopped.
[0073] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A detection tooling module for a multi-core modular electric energy meter, characterized in that: It includes a control module, and an expansion module interface module and a serial port module connected to the control module; The expansion module interface module is used to connect the expansion module of the electric energy meter; The serial port module is used to connect the terminal device and the management core module of the electric energy meter; The control module is used to run different types of expansion modules, check whether the expansion module interface module and the serial port module are performing data transmission normally, and implement the protocol exchange process with the electric energy meter; The control module includes: a dip switch module, and the dip switch module is used to simulate different types of expansion modules; The serial port module includes: a management core interface and a terminal device interface; The expansion module interface module also includes a metering core interface; The metering core interface is used to connect to the metering core module of the electric energy meter and to perform data transmission with the metering core module.
2. The detection tooling module according to claim 1, characterized in that: The control module is a single chip microcomputer of the SCM403C model.
3. The detection tooling module according to claim 1, characterized in that: The management core interface and the terminal device interface are both R232 interfaces.
4. The detection tooling module according to claim 1, characterized in that: The metering core interface is an SPI interface.
5. The detection tooling module according to claim 1, characterized in that: Also includes: A voltage regulator is connected to the control module.
6. The detection tooling module according to claim 1, characterized in that: Also includes: a power light and a running light connected to the control module; The power light is used to indicate that the detection tooling module is normally powered on; The operating light is used to indicate that the detection tooling module is operating normally.
7. The detection tooling module according to claim 3, characterized in that: Also includes: A first data receiving and sending indicator light group and a second data receiving and sending indicator light group connected to the control module; The first data receiving and sending indicator light group is used to indicate whether the detection tooling module and the management core module are performing data transmission normally; The second data receiving and sending indicator light group is used to prompt whether the detection tooling module and the terminal device are transmitting data normally.
Citation Information
Patent Citations
Detection tool module of multi-core modular electric energy meter
CN212623047U