Bluetooth photoelectric head tool for upgrading electric energy meter and electric energy meter upgrading method

The automated upgrade method using Bluetooth photoelectric head tooling solves the problems of low efficiency and complex operation in electricity meter upgrades, achieving an efficient and reliable electricity meter upgrade process that adapts to complex environments and simplifies operation.

CN121116348APending Publication Date: 2025-12-12NINGXIA LGG INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511242882.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-02
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

The existing electricity meter upgrade is inefficient, has poor environmental adaptability, and is complicated to operate. In particular, communication delays and error rates are high in complex environments. Traditional infrared upgrades require manual operation and are inefficient.

Method used

It adopts a Bluetooth photoelectric head fixture, integrating a main control module, a two-way communication module, a storage module, and a button module. It supports infrared and Bluetooth communication, achieves automated upgrades through the DLMS protocol, supports multi-version program storage and fragmented transmission, and performs CRC verification and activation confirmation.

Benefits of technology

It improves the efficiency and accuracy of electricity meter upgrades, enhances communication reliability in complex environments, simplifies operation procedures, and reduces the inconvenience of carrying equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121116348A_ABST
    Figure CN121116348A_ABST
Patent Text Reader

Abstract

According to the Bluetooth photoelectric head tool for upgrading the electric energy meter, a bidirectional communication module, a storage module and a key module are integrated through a main control module, and multidirectional interaction with the electric energy meter, a PC terminal and mobile equipment is achieved; the tool can store multiple versions of upgrading programs, automatically match the model of the electric energy meter and execute the upgrading process, and meanwhile, supports infrared communication and a Bluetooth standby channel, and improves the communication reliability in a complex environment. In addition, the invention further provides an electric energy meter upgrading method based on the tool, interaction with the electric energy meter is achieved through the DLMS protocol, the method comprises the steps of upgrading program matching, fragmentation transmission, CRC verification, activation confirmation and the like, transmission errors can be automatically processed, the upgrading result can be fed back, and the upgrading efficiency and accuracy are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power equipment maintenance technology, and in particular to a Bluetooth photoelectric head tool for electric energy meter upgrading and an electric energy meter upgrading method. BACKGROUND

[0002] With the development of science and technology and the improvement of residents' living standards, intelligent electric meters (such as Internet of Things electric meters and remote meter reading systems) gradually replace traditional mechanical electric meters. Intelligent electric meters can realize precise metering, remote monitoring, automatic meter reading and other functions, and improve the efficiency of power management. However, some old electric meters may have increased metering errors due to long-term use, or may not support new energy access, have low intelligence and poor user convenience, so it is necessary to upgrade the electric meters to improve efficiency, safety and user experience, and to adapt to the demand for energy transformation.

[0003] However, when the existing electric meters are upgraded by the master station or concentrator, the complex environment can easily cause high communication delay and high error rate, and some meters need to be upgraded locally because they are not online. In addition, due to the complex overseas site environment, the software versions of different batches of electric meters differ greatly, and multiple devices need to be carried. Traditional infrared upgrading requires manual alignment and operation on each meter, which is low in efficiency. SUMMARY

[0004] The purpose of the present application is to provide a Bluetooth photoelectric head tool for electric energy meter upgrading and an electric energy meter upgrading method, which solves the problems of low upgrading efficiency, poor environmental adaptability and complex operation of existing electric energy meters.

[0005] To solve the above technical problems, the present application provides a Bluetooth photoelectric head tool for electric energy meter upgrading, comprising: a main control module, a bidirectional communication module, a storage module and a key module; The bidirectional communication module is in communication connection with the electric energy meter, and the main control module is in communication connection with the bidirectional communication module, the storage module and the key module, respectively, for matching the upgrading program corresponding to the electric energy meter stored in the storage module according to the electric energy meter data read by the bidirectional communication module, and parsing the automatic upgrading instruction triggered by the key module to control the upgrading process.

[0006] As a preferred embodiment, the Bluetooth photoelectric head tool for electric energy meter upgrading comprises a USB interface connected with a PC end, an infrared transceiver module in communication connection with the electric energy meter, and a Bluetooth backup channel for connecting a photoelectric head, the photoelectric head is connected with an infrared interface on the electric energy meter, and is used for reading the electric energy meter data.

[0007] The scheme needs to be described in detail is a Bluetooth optical head tool for upgrading electric energy meter, the infrared transceiver module adopts 38kHz carrier modulation, and a transmission baud rate is adaptively matched with a target electric energy meter.

[0008] The scheme needs to be further described in detail is a Bluetooth optical head tool for upgrading electric energy meter, characterized in that the master control module is an FM33LE025 controller, and the storage module is a 32MB flash memory.

[0009] To solve the above technical problems, the application also provides an electric energy meter upgrading method based on the Bluetooth optical head tool. Receiving a DLMS protocol frame sent by the electric energy meter, and initializing the Bluetooth optical head tool by pressing the key module of the Bluetooth optical head tool; Receiving an upgrade package issued by a PC end, and comparing whether the storage module stores a version number consistent with an electric meter model identification code in the upgrade package; If not, a DLMS Break signal is sent to terminate the process; If yes, it is judged whether the storage module exists an upgrade program corresponding to the version number, if not, a new storage partition is allocated, and if yes, an upgrade status word of the upgrade program is read; Extracting a COSEM version object returned by the electric energy meter, and comparing with an upgrade program version list in the storage module; Locking a corresponding upgrade program version storage partition, and loading a fragment transmission parameter; Sending upgrade package information to the electric energy meter, reading an upgrade status word of the electric energy meter, and transmitting a corresponding upgrade program; According to response information fed back by the electric energy meter, it is judged whether the electric energy meter correctly receives the upgrade program, if not, the upgrade package information needs to be re-sent, and if yes, after transmitting the last upgrade program, CRC check upgrade information of each package of the upgrade program fed back by the electric energy meter is read; According to the CRC check upgrade information, it is judged whether there is a missing transmission error, if yes, an upgrade initialization command is sent to make the electric energy meter return to a state before the upgrade, and re-transmission is performed, and if not, it indicates that the check is successful, an activation command is sent to the electric energy meter, and new version number information is continuously read to judge whether the activation is successful.

[0010] As a preferred embodiment, an electric energy meter upgrading method, after the check is successful, further includes: Sending the upgrade result to a mobile device through Bluetooth broadcast, and controlling the Bluetooth optical head tool to enter a low-power consumption mode.

[0011] As a preferred embodiment, an electric energy meter upgrading method is characterized in that the upgrading package is an upgrading package in the DLMS wrapper format.

[0012] The application provides a Bluetooth photoelectric head tool for electric energy meter upgrading, which integrates a bidirectional communication module, a storage module and a button module through a master control module to realize multi-directional interaction with an electric energy meter, a PC terminal and a mobile device; the tool can store multiple versions of upgrading programs, automatically match the type of the electric energy meter and execute an upgrading process, and supports infrared communication and a Bluetooth backup channel to improve the communication reliability in a complex environment. In addition, the application also provides an electric energy meter upgrading method based on the tool, which realizes interaction with the electric energy meter through a DLMS protocol, including the steps of upgrading program matching, fragmented transmission, CRC checking and activation confirmation, can automatically process transmission errors and feed back the upgrading result, and significantly improves the upgrading efficiency and accuracy. The problems of high communication delay, high bit error rate, complicated local upgrading operation, inconvenience of carrying multiple devices and low efficiency of traditional infrared upgrading in the existing electric energy meter upgrading process are solved. BRIEF DESCRIPTION OF DRAWINGS

[0013] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, for those skilled in the art, other drawings can also be obtained without creative effort based on these drawings.

[0014] Figure 1 A structural schematic diagram of a Bluetooth photoelectric head tool for electric energy meter upgrading provided by the embodiment of the present application is shown in the figure. Figure 2 A flowchart of an electric energy meter upgrading method provided by the embodiment of the present application is shown in the figure. In the figure: 1, master control module; 2, bidirectional communication module; 3, storage module; 4, button module; 5, electric energy meter; 6, PC terminal; 7, USB interface; 8, infrared transceiver module; 9, Bluetooth backup channel; 10, mobile device. DETAILED DESCRIPTION

[0015] In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings.

[0016] The core of the present application is to provide a Bluetooth photoelectric head tool for electric energy meter upgrading and an electric energy meter upgrading method, which solves the problems of low upgrading efficiency, poor environmental adaptability and complicated operation of the existing electric energy meter.

[0017] Figure 1 A structural schematic diagram of a Bluetooth photoelectric head tool for electric energy meter upgrading provided by the embodiment of the present application is shown in the figure. Figure 2A flow chart of the electric energy meter upgrading method provided by the embodiment of the present application is shown in FIG. 1. Figures 1 to 2

[0018] Embodiment 1 The Bluetooth photoelectric head tool for electric energy meter upgrading comprises a master control module 1, a bidirectional communication module 2, a storage module 3 and a button module 4. The bidirectional communication module 2 is in communication connection with the electric energy meter 5, the master control module 1 is in communication connection with the bidirectional communication module 2, the storage module 3 and the button module 4 respectively, and is used for matching the upgrading program corresponding to the electric energy meter 5 stored in the storage module 3 according to the data of the electric energy meter 5 read by the bidirectional communication module 2, and analyzing the automatic upgrading instruction triggered by the trigger module, and controlling the upgrading process. Preferably, the Bluetooth photoelectric head tool for electric energy meter upgrading is characterized in that the master control module 1 is an FM33LE025 controller, and the storage module 3 is a 32MB flash memory.

[0019] On the basis of Embodiment 1, the Bluetooth photoelectric head tool for electric energy meter upgrading comprises a USB interface 7 connected with a PC end 6, an infrared transceiver module 8 in communication connection with the electric energy meter 5 and a Bluetooth backup channel 9 used for connecting the photoelectric head, the photoelectric head is connected with the infrared interface on the electric energy meter 5, and is used for reading the data of the electric energy meter 5.

[0020] In this embodiment, the Bluetooth photoelectric head tool for electric energy meter upgrading adopts 38kHz carrier modulation for the infrared transceiver module 8, and the transmission baud rate is adaptively matched with the target electric energy meter 5.

[0021] ​The main control module 1 adopts an FM33LE025 controller as a core processing unit of the tooling, and is responsible for coordinating the work of each module: receiving the data (such as the model and the current version) of the electric energy meter 5 transmitted by the bidirectional communication module 2; matching the corresponding upgrade program in the storage module 2; analyzing the manual upgrade instruction or the automatic upgrade instruction triggered by the key module 3; and controlling the start, interruption and result feedback of the upgrade process. The bidirectional communication module 2 realizes multi-channel communication between the tooling and external devices, including the connection of the USB interface 7 and the PC end 6, which is used to receive the upgrade package (DLMS wrapper format) issued by the PC end 6; the infrared transceiver module 8 is connected with the infrared interface of the electric energy meter 5, adopts 38kHz carrier modulation, and the transmission baud rate can be adaptively matched with the target electric energy meter (the range is usually 1200-9600bps), which is used to read the data of the electric energy meter 5 and transmit the upgrade program; the Bluetooth backup channel 9 is connected with the photoelectric head (adapted to the infrared interface of the electric energy meter 5), which is enabled when the infrared communication is interfered, and simultaneously supports broadcasting the upgrade result to the mobile device 10 (such as a mobile phone or a tablet computer). The storage module 2 adopts a 32MB flash memory, which is used to store the upgrade programs of different models of electric energy meters (stored in different partitions according to the model and the version number); store the upgrade program version list (including the COSEM version object information); and store the upgrade status word (such as the transmission progress and the verification result). The key module 4 includes at least one physical key, which is used to trigger the “automatic upgrade” and “manual interruption” instructions, and is adapted to the on-site emergency operation demand.

[0022] The Bluetooth photoelectric head tooling for electric energy meter upgrade provided in the embodiment integrates the bidirectional communication module 2, the storage module 3 and the key module 4 through the main control module 1, realizes multi-directional interaction with the electric energy meter 5, the PC end 6 and the mobile device 10, can store multiple versions of upgrade programs, automatically matches the model of the electric energy meter and executes the upgrade process, and simultaneously supports the infrared communication and the Bluetooth backup channel, thereby improving the communication reliability in complex environments.

[0023] The Bluetooth photoelectric head tooling for electric energy meter upgrade provided in the embodiment integrates the bidirectional communication module 2, the storage module 3 and the key module 4 through the main control module 1, realizes multi-directional interaction with the electric energy meter 5, the PC end 6 and the mobile device 10, can store multiple versions of upgrade programs, automatically matches the model of the electric energy meter and executes the upgrade process, and simultaneously supports the infrared communication and the Bluetooth backup channel, thereby improving the communication reliability in complex environments.

[0024] Embodiment 2 The electric energy meter upgrade method based on any one of the Bluetooth photoelectric head toolings described above comprises the following steps. S1: receiving the DLMS protocol frame sent by the electric energy meter 5, and initializing the Bluetooth photoelectric head tooling by pressing the key module 4 of the Bluetooth photoelectric head tooling.

[0025] After the power meter 5 is powered on, the DLMS SNRM (DLMS protocol frame) is sent to the Bluetooth photoelectric head tool to establish a connection request; after the Bluetooth photoelectric head tool receives the DLMS protocol frame, the master control module 1 (configure communication parameters), the two-way communication module 2 (activate the infrared transceiver module 8 / the Bluetooth standby channel 9) and the storage module 3 (read the version list) are initialized, and the upgrade process is prepared.

[0026] S2: The upgrade package issued by the PC end 6 is received, and it is compared whether the version number consistent with the meter model identification code in the upgrade package is stored in the storage module 3.

[0027] The PC end 6 issues the upgrade package in the DLMS wrapper format (including the model identification code of the electric energy meter 5 and the target version number) to the Bluetooth photoelectric head tool through the USB interface; the Bluetooth photoelectric head tool compares whether the historical version number consistent with the "meter model identification code" exists in the storage module 3. If not, step S3 is entered, and if yes, step S4 is entered.

[0028] S3: The DLMS Break signal is sent to the electric energy meter 5 to terminate the upgrade process.

[0029] S4: It is judged whether the upgrade program corresponding to the version number exists in the storage module 3. If not, step S5 is entered, and if yes, step S6 is entered.

[0030] S5: A new storage partition is allocated. That is, a new storage partition (named according to the model + version number) is allocated for the upgrade program.

[0031] S6: The upgrade status word of the upgrade program is read. The upgrade status word (such as "not transmitted", "partially transmitted", "completed") of the program is read.

[0032] S7: The COSEM version object returned by the electric energy meter 5 is extracted, and compared with the upgrade program version list in the storage module 3. Specifically, the Bluetooth photoelectric head tool sends a request to the electric energy meter 5, extracts the COSEM version object (the current running version) returned by the electric energy meter 5, so as to determine whether the current electric energy meter is the electric energy meter to be upgraded; the COSEM version object is compared with the upgrade program version list in the storage module 3, and it is confirmed that the target version is a higher version or a compatible version.

[0033] S8: The corresponding upgrade program version storage partition is locked, and the fragmentation transmission parameters are loaded. Specifically, the storage partition of the corresponding upgrade program is locked (to prevent data tampering), and the fragmentation parameters (such as the size of each package, the transmission rate) are transmitted to the electric energy meter 5.

[0034] S9: send the upgrade package information to the electric energy meter 5, read the upgrade status word of the electric energy meter 5, and transmit the corresponding upgrade program. Specifically, the Bluetooth photoelectric head tool sends the upgrade package information (the size of the upgrade package, the total number of packages, etc.) to the electric energy meter 5 through the infrared transceiver module 8, and reads the upgrade status word of the electric energy meter 5 in real time (feedback of the reception result of each package) to determine whether the electric energy meter 5 is ready to accept the upgrade package.

[0035] S10: according to the response information fed back by the electric energy meter 5, determine whether the electric energy meter 5 correctly receives the upgrade program, if not, go to step S11, if yes, go to step S12.

[0036] S11: need to resend the upgrade package information.

[0037] S12: after transmitting the last package of the upgrade program, read the CRC check upgrade information of each package of the upgrade program fed back by the electric energy meter 5. Specifically, if the electric energy meter 5 feeds back "reception error", the Bluetooth photoelectric head tool resends the current package; if it feeds back "reception correct", continue to transmit the next package, and after transmitting the last package, the Bluetooth photoelectric head tool reads the CRC check information (check value calculated by the electric energy meter 5 and returned) of each package fed back by the electric energy meter 5.

[0038] S13: according to the CRC check upgrade information, determine whether there is a missing transmission or a wrong transmission, if yes, go to step S14, if no, go to step S15.

[0039] S14: send the upgrade initialization command to make the electric energy meter 5 return to the state before the upgrade, and perform retransmission.

[0040] S15: indicate that the check is successful, send the activation command to the electric energy meter 5, and continuously read the new version number information to determine whether the activation is successful Specifically, the Bluetooth photoelectric head tool compares the locally stored CRC check information with the feedback value of the electric energy meter 5: if there is a missing transmission / wrong transmission (the check is inconsistent), send the upgrade initialization command to make the electric energy meter 5 return to the state before the upgrade, and re-execute step 4. If the check is consistent, send the activation command (trigger program installation) to the electric energy meter 5, and continuously read the new version number information of the electric energy meter 5: if the new version number is consistent with the target version number, it is determined that the activation is successful, for example, the original version number is V5.23, and the version number after the upgrade is V5.24, the version number will be upgraded; if not, repeatedly send the activation command (up to 3 times), and still fail to record the error log.

[0041] As a preferred embodiment, after the check is successful, the electric energy meter upgrade method further comprises: send the upgrade result to the mobile device 10 through Bluetooth broadcast, and control the Bluetooth photoelectric head tool to enter the low-power consumption mode.

[0042] As a preferred embodiment, an electric energy meter upgrading method, the upgrading package is a DLMS wrapper format upgrading package.

[0043] After the activation is successful, the Bluetooth photoelectric head tool broadcasts the upgrading result (including the meter model, the version before and after the upgrading, and the time consumption) to the mobile device 10 through the Bluetooth standby channel 9; the main control module 1 controls the tool to enter the low-power mode (turn off the USB interface and reduce the radio frequency power), and waits for the next operation instruction.

[0044] The electric energy meter upgrading method provided in the embodiment is based on the above tool, realizes the interaction with the electric energy meter through the DLMS protocol, includes the steps of upgrading program matching, slice transmission, CRC check and activation confirmation, can automatically process the transmission error and feed back the upgrading result, and significantly improves the upgrading efficiency and accuracy. The problems of high communication delay, high bit error rate, complicated local upgrading operation, inconvenient multi-device carrying and low efficiency of traditional infrared upgrading in the existing electric energy meter upgrading process are solved.

[0045] Other embodiments of this application will be readily apparent to those skilled in the art upon considering the specification and practice of the application disclosed herein. The application as defined by the claims shall not be limited by the detailed description and examples, which are deemed illustrative only, and the true scope and spirit of the application shall be indicated by the appended claims.

[0046] It should be understood that the application is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The embodiments of the application described above are not intended to be limiting of the scope of the application.

Claims

1. A Bluetooth photoelectric head fixture for upgrading electricity meters, characterized in that, include: The main control module (1), the two-way communication module (2), the storage module (3), and the button module (4) are included. The bidirectional communication module (2) is connected to the electricity meter (5) for communication. The main control module (1) is connected to the bidirectional communication module (2), the storage module (3) and the button module (4) for communication. It is used to match the upgrade program corresponding to the electricity meter (5) stored in the storage module (3) according to the data of the electricity meter (5) read by the bidirectional communication module (2), and to parse the automatic upgrade command triggered by the button module (4) to control the upgrade process.

2. The Bluetooth photoelectric head fixture for upgrading electricity meters according to claim 1, characterized in that, The bidirectional communication module (2) includes a USB interface (7) connected to the PC (6), an infrared transceiver module (8) connected to the energy meter (5), and a Bluetooth backup channel (9) for connecting the photoelectric head. The photoelectric head is connected to the infrared interface on the energy meter (5) for reading the data of the energy meter (5).

3. The Bluetooth photoelectric head fixture for upgrading electricity meters according to claim 2, characterized in that, The infrared transceiver module (8) uses 38kHz carrier modulation and the transmission baud rate is adaptively matched to the target energy meter (5).

4. The Bluetooth photoelectric head fixture for upgrading electricity meters according to claim 2, characterized in that, The main control module (1) is an FM33LE025 controller, and the storage module (3) is a 32MB Flash memory.

5. A method for upgrading an electricity meter, based on the Bluetooth photoelectric head fixture described in any one of claims 1-4, characterized in that, include: Receive the DLMS protocol frame sent by the power meter (5), and press the button module (4) of the Bluetooth photoelectric head tool to initialize the Bluetooth photoelectric head tool; Receive the upgrade package sent by the PC (6) and compare whether the storage module (3) stores a version number that matches the meter model identification code in the upgrade package; If not, send a DLMS Break signal to terminate the process; If yes, then determine whether there is an upgrade program corresponding to the version number in the storage module (3); if no, then allocate a new storage partition. If so, read the upgrade status word of the upgrade program; Extract the COSEM version object returned by the energy meter (5) and compare it with the upgrade program version list in the storage module (3); Lock the corresponding upgrade program version storage partition and load the fragment transmission parameters; Send upgrade package information to the energy meter (5), read the upgrade status word of the energy meter (5), and transmit the corresponding upgrade program; Based on the response information fed back by the electricity meter (5), determine whether the electricity meter (5) has correctly received the upgrade program. If not, the upgrade package information needs to be resent. If so, after transmitting the last package of upgrade program, read the CRC check upgrade information of each package of upgrade program fed back by the energy meter (5); Based on the CRC check upgrade information, determine whether there are any missing or incorrect packets. If so, send an upgrade initialization command to restore the energy meter (5) to the state before the upgrade and retransmit it. If not, it means that the check is successful and send an activation command to the energy meter (5), and continuously read the new version number information to determine whether the activation is successful.

6. The method for upgrading an electricity meter according to claim 5, characterized in that, After successful verification, the following also applies: The upgrade results are sent to the mobile device via Bluetooth broadcast, and the Bluetooth photoelectric head tool is controlled to enter low power mode.

7. The method for upgrading an electricity meter according to claim 5, characterized in that, The upgrade package is an upgrade package in DLMS wrapper format.