Communication converter for electricity meter

By designing a communication converter that includes an infrared communication module, a signal processing module, an isolation module, and a wired communication module, the problem of unstable infrared communication was solved, and the isolation conversion between infrared communication and wired communication was realized, thereby improving the efficiency of meter updates and the effectiveness of signal transmission.

CN119277230APending Publication Date: 2025-01-07SHENZHEN STAR INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411373211.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

When using infrared communication, the communication success rate is unstable, which affects the efficiency of meter updating.

Method used

Design a communication converter comprising an infrared communication module, a signal processing module, an isolation module, and a wired communication module to achieve isolation conversion between infrared communication and wired communication. The signal processing module converts the infrared communication signal into a wired communication signal, which is then transmitted through the isolation module and connected to the wired communication interface of the electricity meter.

Benefits of technology

It improves communication success rate, enhances signal transmission effectiveness, increases the efficiency of meter updates, and is easy to carry and offers diverse power access methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277230A_ABST
    Figure CN119277230A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of ammeters, and particularly relates to communication for ammeters. The communication converter comprises an infrared communication module, a signal processing module, an isolation module and a wired communication module, an optical signal end of the infrared communication module is used for carrying out optical signal communication with an infrared mobile terminal, and an electric signal end of the infrared communication module is connected with a first end of the signal processing module; the second end of the signal processing module is connected with one side of the isolation module, the other side of the isolation module is connected with the first end of the wired communication module, and the second end of the wired communication module is used for being connected with a wired communication interface of the ammeter. The converter can isolate and convert infrared communication and wired communication, and the infrared mobile terminal and the converter are convenient to carry and take electricity, so that the requirement of connection with the infrared mobile terminal can be met, the effectiveness of signal transmission can be improved, the communication success rate is improved, and the working efficiency of electric meter updating is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application is applicable to the technical field of electric meters, and in particular to a communication converter for electric meters. Background Art

[0002] With the development of society, the power system has entered thousands of households. Every household has installed a smart meter to measure the electricity used. Meter users can remotely recharge their electricity bills on their mobile phones, which greatly facilitates the user experience. Since the total electricity consumption in each period is different, the peak and valley periods are subdivided in the electricity consumption period. When the meter is manufactured before leaving the factory, the corresponding peak and valley rates have been written in the program inside the meter. However, in the future, new regulations will be introduced for some policies, and the meter rates need to be adjusted. Usually, the master station remote upgrade method is used to upgrade the meter program to modify the rate, but in the actual operation process, some meters cannot be remotely upgraded due to various factors, and relevant personnel will need to go to the meter installation site to upgrade again.

[0003] When reading data or changing the program of a single meter, there are three types of communication: RS485 communication, infrared communication, and carrier communication. Among them, carrier communication requires the meter to be plugged into a carrier module for communication. The controller of the manufacturer corresponding to the module needs to be connected to the meter's AC input circuit, and then the host computer is used to read the communication; when RS485 communication is used, the two differential data lines of the RS485 communication tool are connected to the meter's 485 auxiliary terminals, and the other end is communicated by the host computer; infrared communication is relatively simple and does not require wiring. The host computer transmits infrared to the meter for communication.

[0004] Considering portability and operability, relevant personnel generally carry mobile terminals with infrared communication function to interact with the electric meter. Since infrared communication uses wireless connection, the communication success rate will be affected by factors such as natural light. Compared with the other two communications, it is not stable. Sometimes the mobile terminal needs to be directly facing the infrared module of the electric meter for successful communication, which greatly affects work efficiency.

[0005] Therefore, how to improve the communication success rate when using infrared communication to improve the efficiency of meter updating has become an urgent problem to be solved. Summary of the invention

[0006] In view of this, an embodiment of the present application provides a communication converter for an electric meter to solve the problem of how to improve the communication success rate when using infrared communication, so as to improve the working efficiency of the electric meter update.

[0007] An embodiment of the present application provides a communication converter for an electric meter, the communication converter comprising an infrared communication module, a signal processing module, an isolation module and a wired communication module, the optical signal end of the infrared communication module being used to perform optical signal communication with an infrared mobile terminal, the electrical signal end of the infrared communication module being connected to a first end of the signal processing module, the second end of the signal processing module being connected to one side of the isolation module, the other side of the isolation module being connected to a first end of the wired communication module, and the second end of the wired communication module being used to connect to a wired communication interface of the electric meter.

[0008] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the communication converter of the present application includes an infrared communication module, a signal processing module, an isolation module and a wired communication module, the optical signal end of the infrared communication module is used to communicate optical signals with the infrared mobile terminal, the electrical signal end of the infrared communication module is connected to the first end of the signal processing module, the second end of the signal processing module is connected to one side of the isolation module, the other side of the isolation module is connected to the first end of the wired communication module, and the second end of the wired communication module is used to connect to the wired communication interface of the electric meter. The above circuit can isolate and convert infrared communication and wired communication, and the infrared mobile terminal and the converter are easy to carry, which can not only meet the needs of connecting with the infrared mobile terminal, but also improve the effectiveness of signal transmission, and the infrared mobile terminal and the converter have diversified power supply methods, which are more portable than traditional computer connections, improve the communication success rate, and thus improve the work efficiency of updating the electric meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0010] Figure 1 It is a structural schematic diagram of a communication converter for an electric meter provided in the first embodiment of the present application; Figure 2 This is a connection diagram of a communication converter for an electric meter provided in Embodiment 2 of the present application; Figure 3 This is a connection diagram of a communication converter for an electric meter provided in Embodiment 3 of the present application; Figure 4 This is a connection diagram of a communication converter for an electric meter provided in the fourth embodiment of the present application; Figure 5 This is a connection diagram of a communication converter for an electric meter provided in Embodiment 5 of the present application; Figure 6 This is a connection diagram of a communication converter for an electric meter provided in Embodiment 6 of the present application; Figure 7 This is a connection diagram of a communication converter for an electric meter provided in Example 7 of the present application. DETAILED DESCRIPTION

[0011] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0012] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0013] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0014] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0015] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0016] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0017] It should be understood that the size of the serial numbers of the steps in the following embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0018] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.

[0019] The present application provides a communication converter for an electric meter, which is used to connect to an infrared mobile terminal and an electric meter, that is, as a conversion device between the infrared mobile terminal and the electric meter, it can connect to the infrared communication of the infrared mobile terminal and the wired communication of the electric meter. The converter specifically includes a communication converter. The details of the communication converter are shown below.

[0020] During operation, the staff no longer need to hold the infrared mobile terminal to connect to the electric meter. They can directly connect the converter to the electric meter by wire, and then dock the other end of the converter with the infrared mobile terminal. Specifically, the docking can be done by using a docking bayonet, which will not limit the posture of the staff, etc., and reduce interference from the external environment, thereby improving the transmission accuracy of the infrared signal and the overall work efficiency.

[0021] See also Figure 1 , is a structural schematic diagram of a communication converter for an electric meter provided in Example 1 of the present application, wherein the communication converter includes an infrared communication module, a signal processing module, an isolation module and a wired communication module, and the optical signal end of the infrared communication module is used to perform optical signal communication with the infrared mobile terminal. The optical signal communication here includes infrared transmission and reception. Of course, the infrared transmission of the infrared mobile terminal is aligned with the infrared reception of the infrared communication module, and the infrared reception of the infrared mobile terminal is aligned with the infrared transmission of the infrared communication module. In one embodiment, the optical signal can be a far-infrared optical signal.

[0022] The electrical signal end of the infrared communication module is connected to the first end of the signal processing module to send a serial port signal with a fixed baud rate to the signal processing module. Figure 1The TTL level shown in the figure, the first end of the signal processing module includes receiving (i.e., RXD1) and sending (i.e., TXD1), the second end of the signal processing module includes receiving (i.e., RXD2) and sending (i.e., TXD2), the second end of the signal processing module is connected to one side of the isolation module, and the other side of the isolation module is connected to the first end of the wired communication module. The second end of the wired communication module is used to connect to the wired communication interface of the electric meter. The signal processing module converts the serial port signal with a fixed baud rate sent by the infrared communication module into a signal with a baud rate required by the wired communication module, and transmits it to the wired communication module through the isolation module.

[0023] like Figure 1 As shown, the wired communication module is an RS485 communication module, which can generate a differential signal to communicate with the meter via RS485. Accordingly, the signal processing module can convert the infrared serial port signal with a fixed baud rate into a serial port signal corresponding to the RS485 required baud rate, and isolate the output serial port signal to the wired communication module through the isolation module.

[0024] The signal processing module can be a microcontroller unit (MCU), the isolation module is composed of an isolation chip, the RS485 communication module is composed of an RS485 chip, and the converter is composed of signal processing, communication, isolation, and power control circuits. By inputting an infrared signal with a fixed baud rate to the converter, the converter's infrared receives the signal and sends it to the MCU for processing. After the MCU processes the signal, it sends the data to the RS485 chip. An isolation chip is added between the MCU and the RS485 chip for isolation. After that, the RS485 chip converts the MCU data into an RS485 differential signal and sends it to the meter. The meter then returns the data, and finally the infrared mobile terminal receives the signal returned by the meter.

[0025] The communication converter of the embodiment of the present application includes an infrared communication module, a signal processing module, an isolation module and a wired communication module. The optical signal end of the infrared communication module is used to communicate optical signals with the infrared mobile terminal. The electrical signal end of the infrared communication module is connected to the first end of the signal processing module. The second end of the signal processing module is connected to one side of the isolation module. The other side of the isolation module is connected to the first end of the wired communication module. The second end of the wired communication module is used to connect to the wired communication interface of the electric meter. The above circuit can isolate and convert infrared communication and wired communication. The infrared mobile terminal and the converter are easy to carry. At this time, it can meet the needs of connecting with the infrared mobile terminal, and can improve the effectiveness of signal transmission, improve the communication success rate, and thus improve the work efficiency of updating the electric meter.

[0026] See also Figure 2, which is a connection diagram of a communication converter for an electric meter provided in Example 2 of the present application, wherein the communication converter also includes a power supply module, and the power supply module includes an external power supply sub-module, an internal power supply sub-module and a power supply selection circuit.

[0027] The power supply selection circuit includes a first selection switch (i.e., SW1) and a power supply chip (i.e., U2). The first input end of the first selection switch is connected to the voltage output end of the external power supply sub-module, the second input end of the first selection switch is connected to the voltage output end of the internal power supply sub-module, the output end of the first selection switch is connected to the input end of the power supply chip, and the output end of the power supply chip is connected to the infrared communication module, the signal processing module and the isolation module for power supply.

[0028] In addition, the isolation module isolates the voltage output by the power supply chip and outputs it to the wired communication module.

[0029] like Figure 2 As shown, the external power supply submodule includes a USB male (i.e. J1) power supply circuit, a USB female (i.e. USB1) power supply circuit and / or a TYPE-C (i.e. USB2) circuit, and the power supply outputs of the USB male power supply circuit, the USB female power supply circuit and the TYPE-C circuit are all connected to the first input end of the first selection switch, and the internal power supply submodule includes an energy storage power supply, and the power supply output of the energy storage power supply is connected to the second input end of the first selection switch. The power supply of the converter can be switched, and supports battery power supply or external power supply. The interface of the external power supply is a commonly used interface in daily life, including TYPE-C, USB male, and USB female. This makes the power supply method of the infrared mobile terminal and the converter diversified, which is more portable than the traditional computer connection.

[0030] like Figure 2 As shown, the power supply module also includes an external power supply protection submodule, which includes a TVS tube (i.e., U1) circuit and a thermistor (i.e., PT1) protection circuit. The thermistor protection circuit is arranged between the first input end of the first selection switch and the voltage output end of the external power supply submodule. One end of the TVS tube circuit is connected to the voltage input end of the power supply module, and the other end of the TVS tube circuit is grounded.

[0031] The converter can be powered by its own energy storage power supply (6V) or an external power supply. It can use TYPE-C, USB male connector, or USB female connector to provide 5V power. It can switch to external power supply or energy storage power supply by toggling the first selection switch SW1, and then output 5V voltage through LDO (i.e. U2) to power the entire system. The TVS tube can quickly respond to voltage mutations or surges, and lead the overvoltage to the ground, thereby protecting the devices in the USB interface from damage by overvoltage. PT1 is a thermistor with a positive temperature coefficient. The higher the temperature, the smaller the resistance. It can prevent the surge current at the startup moment. After the circuit reaches thermal stability, the resistance remains unchanged.

[0032] See also Figure 3 , is a connection diagram of a communication converter for an electric meter provided in Embodiment 2 of the present application, wherein, the isolation module includes an isolation chip, the power input end of the isolation chip is connected to the output of the power supply module, and the power output end of the isolation chip is connected to the wired communication module to power the wired communication module; The serial port signal output from the second end of the signal processing module is capacitively coupled and isolated by the isolation chip to generate a first isolation signal and send it to the first end of the wired communication module. The serial port signal output from the first end of the wired communication module is capacitively coupled and isolated by the isolation chip to generate a second isolation signal and send it to the first end of the signal processing module.

[0033] like Figure 3 As shown, the voltage of the energy storage power supply or external power supply is connected to the 1 and 2 pins of U5 through the LDO output 5V voltage, then the 15 and 16 pins can get the 5V voltage after transformer coupling, the MCU signal of the 3 and 4 pins will be output to the 14 and 13 pins through capacitor coupling, and the signal sent by RS485 is coupled to the 6 pin through the 11 pin capacitor and output to the MCU.

[0034] like Figure 4 As shown, a connection diagram of a communication converter for an electric meter provided in Example 4 of the present application, the isolation chip U5 can adopt the NSIP8841 chip, which can not only realize the voltage isolation between the input and output, but also realize the data isolation of the input and output. The DC / DC is integrated inside the chip, and electrical isolation is performed by transformer coupling, and the data input and output channels are isolated by capacitive coupling. Using an isolation chip placed between the MCU and the RS485 chip can help isolate different parts of the circuit and prevent circuit failure or damage due to electrical interference or other factors. This isolation can also improve the stability and reliability of the system and ensure the accuracy and security of data transmission. In a data communication system, the isolation chip can also help realize the conversion and adaptation between different levels or protocols.

[0035] See also Figure 5 , which is a connection diagram of a communication converter for an electric meter provided in Example 5 of the present application, wherein the infrared communication module includes an infrared signal demodulation circuit and an infrared signal transmission circuit, one end of the infrared signal demodulation circuit is used to connect to the infrared mobile terminal to obtain the transmitted optical signal, and the other end of the infrared signal demodulation circuit is connected to the signal processing module to demodulate the received optical signal and then input the serial port signal to the signal processing module.

[0036] One end of the infrared signal transmission line is connected to the signal processing module to obtain the serial port signal with a fixed baud rate sent by the signal processing module, and the other end of the infrared signal transmission line is used to connect to the infrared mobile terminal to control the light source to transmit an optical signal to the infrared mobile terminal according to the serial port signal with a fixed baud rate sent by the signal processing module.

[0037] like Figure 5 As shown, the infrared signal transmission circuit includes a first switch tube and an infrared light source, the signal processing module is connected to the base of the first switch tube, the emitter of the first switch tube is connected to a voltage source, and the collector of the first switch tube is connected to the infrared light source. Specifically, the first switch tube is a triode (ie, T1), and the infrared light source is an infrared transmitting tube (ie, LED1).

[0038] Among them, the infrared receiving tube receives the optical signal of different wavelengths and demodulates it to output TTL signal, which can be directly decoded by the signal processing module. The decoded serial port signal is input to the serial port RXD1 of the signal processing module. In addition, the signal processing module sends the TXD1 pin through the serial port to control the transistor to control the infrared transmitting tube to output the optical signal. In this way, the effective control of the optical signal is realized and the accuracy of the optical signal control is improved.

[0039] See also Figure 6 , which is a connection diagram of a communication converter for an electric meter provided in Example 6 of the present application, wherein the signal processing module includes a micro control unit and a baud rate adjustment circuit, the baud rate adjustment circuit includes a second selection switch (i.e., SW2), the output end of the second selection switch is connected to the micro control unit, the first input end of the second selection switch is connected to a voltage source, and the second input end of the second selection switch is grounded.

[0040] The microcontroller unit is connected to the electrical signal end of the infrared communication module and one side of the isolation module, so as to use the preset baud rate obtained by adjusting the signal output from the output end of the second selection switch to convert the fixed baud rate serial port signal input from the electrical signal end of the infrared communication module into a serial port signal with a preset baud rate and send it to the isolation module.

[0041] The microcontroller unit is also used for converting the serial port signal sent by the isolation module into a serial port signal with a fixed baud rate and sending the serial port signal to the infrared communication module.

[0042] By toggling the second selection switch to adjust the baud rate, the RS485 signal of the corresponding baud rate is output to the meter. For example, the baud rate can be switched between 2400bps and 9600bps. The MCU can use the FM33A0610EV chip. SW2 is connected to the GPIO port of the MCU. Different levels are input to the GPIO through SW2 to control the MCU output and the baud rate of the MCU identifying the 485 signal. The converter uses the infrared transceiver, RS485 transceiver and a GPIO pin of the MCU to control the baud rate of RS485 transmission. The above settings can effectively adapt to the meter, and the FM33A0610EV chip can meet the operation requirements and improve the operation efficiency.

[0043] See also Figure 7 , is a connection diagram of a communication converter for an electric meter provided in Example 7 of the present application, wherein the wired communication module is an RS485 communication module, the RS485 communication module includes an RS 485 chip (i.e., U6) and a differential signal line, the DI pin and RO pin of the RS 485 chip are both connected to the isolation module, the A / B pin of the RS 485 chip is connected to one end of the differential signal line, and the other end of the differential signal line is used to connect to the electric meter.

[0044] Among them, U6 can use the polarized RS485 chip BL3085, which can send the differential signal received by the chip A and B pins to the MCU through the RO pin, or input the serial port signal to the DI pin, and the chip outputs the differential signal through A and B; / RE and DE control the current transceiver status of the chip. TVS1, TVS 2, and TVS 3 can quickly respond to voltage mutations or surges, and lead the overvoltage to the ground, thereby protecting the 485 chip from damage by overvoltage. RT1 and RT2 use thermistors PTC. When the current is overloaded, the PTC will heat up and increase the resistance value, thereby limiting the current flowing through the line and playing a protective role. When a short circuit or overload occurs in the line, the PTC will automatically disconnect the circuit to prevent excessive current from flowing through the line and avoid equipment damage.

[0045] The above-mentioned MCU may include: at least one processor, a memory, and a computer program stored in the memory and executable on at least one processor, and the processor implements the steps of any of the above-mentioned communication converter embodiments when executing the computer program. The MCU may include, but is not limited to, a processor and a memory. The so-called processor may be a CPU, and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0046] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of the MCU, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be the hard disk of the MCU, and in other embodiments, it may also be an external storage device of the MCU, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the MCU. Furthermore, the memory may also include both an internal storage unit of the MCU and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of a computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0047] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiment can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0048] The present application implements all or part of the processes in the above-mentioned embodiment method, and may also be completed through a computer program product. When the computer program product runs on an MCU, the MCU can implement the steps in the above-mentioned method embodiment when executing.

[0049] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0050] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0051] In the embodiments provided in the present application, it should be understood that the disclosed device / MCU and method can be implemented in other ways. For example, the device / MCU embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0052] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0053] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A communication converter for an electric meter, characterized in that: The communication converter includes an infrared communication module, a signal processing module, an isolation module and a wired communication module. The optical signal end of the infrared communication module is used to perform optical signal communication with the infrared mobile terminal, the electrical signal end of the infrared communication module is connected to the first end of the signal processing module, the second end of the signal processing module is connected to one side of the isolation module, the other side of the isolation module is connected to the first end of the wired communication module, and the second end of the wired communication module is used to connect to the wired communication interface of the electric meter.

2. The communication converter according to claim 1, characterized in that: The communication converter also includes a power supply module; The power supply module includes an external power supply submodule, an internal power supply submodule and a power supply selection circuit, the power supply selection circuit includes a first selection switch and a power supply chip, the first input end of the first selection switch is connected to the voltage output end of the external power supply submodule, the second input end of the first selection switch is connected to the voltage output end of the internal power supply submodule, the output end of the first selection switch is connected to the input end of the power supply chip, and the output end of the power supply chip is connected to the infrared communication module, the signal processing module and the isolation module for power supply; The isolation module isolates the voltage output by the power supply chip and outputs it to the wired communication module.

3. The communication converter according to claim 2, characterized in that: The external power supply submodule includes a USB male power supply circuit, a USB female power supply circuit and / or a TYPE-C circuit, and the power supply outputs of the USB male power supply circuit, the USB female power supply circuit and the TYPE-C circuit are all connected to the first input end of the first selection switch; The internal power supply submodule includes an energy storage power supply, and the power supply output of the energy storage power supply is connected to the second input end of the first selection switch.

4. The communication converter according to claim 2, characterized in that: The power supply module also includes an external power supply protection submodule, which includes a TVS tube circuit and a thermistor protection circuit. The thermistor protection circuit is arranged between the first input end of the first selection switch and the voltage output end of the external power supply submodule, one end of the TVS tube circuit is connected to the voltage input end of the power supply module, and the other end of the TVS tube circuit is grounded.

5. The communication converter according to claim 2, characterized in that: The isolation module includes an isolation chip, a power input end of the isolation chip is connected to the output of the power supply module, and a power output end of the isolation chip is connected to the wired communication module to supply power to the wired communication module; The serial port signal output from the second end of the signal processing module is capacitively coupled and isolated by the isolation chip to generate a first isolation signal and send it to the first end of the wired communication module. The serial port signal output from the first end of the wired communication module is capacitively coupled and isolated by the isolation chip to generate a second isolation signal and send it to the first end of the signal processing module.

6. The communication converter according to claim 1, characterized in that: The infrared communication module includes an infrared signal demodulation circuit and an infrared signal transmission circuit, one end of the infrared signal demodulation circuit is used to connect to the infrared mobile terminal to obtain the transmitted optical signal, and the other end of the infrared signal demodulation circuit is connected to the signal processing module to demodulate the received optical signal and then input the serial port signal to the signal processing module; One end of the infrared signal transmission circuit is connected to the signal processing module to obtain the serial port signal with a fixed baud rate sent by the signal processing module, and the other end of the infrared signal transmission circuit is used to connect to the infrared mobile terminal to control the light source to transmit an optical signal to the infrared mobile terminal according to the serial port signal with a fixed baud rate sent by the signal processing module.

7. The communication converter according to claim 6, characterized in that: The infrared signal transmission circuit includes a first switch tube and an infrared light source, the signal processing module is connected to the base of the first switch tube, the emitter of the first switch tube is connected to a voltage source, and the collector of the first switch tube is connected to the infrared light source.

8. The communication converter according to claim 1, characterized in that: The signal processing module includes a micro control unit and a baud rate adjustment circuit, wherein the baud rate adjustment circuit includes a second selection switch, wherein an output end of the second selection switch is connected to the micro control unit, a first input end of the second selection switch is connected to a voltage source, and a second input end of the second selection switch is grounded; The micro control unit is connected to the electrical signal end of the infrared communication module and one side of the isolation module, so as to use the preset baud rate obtained by adjusting the signal output from the output end of the second selection switch to convert the serial port signal with a fixed baud rate input from the electrical signal end of the infrared communication module into a serial port signal with a preset baud rate and send it to the isolation module; The micro control unit is also used to convert the received serial port signal sent by the isolation module into a serial port signal with a fixed baud rate and send it to the infrared communication module.

9. The communication converter according to claim 1, characterized in that: The wired communication module is an RS485 communication module, which includes an RS485 chip and a differential signal line. The DI pin and RO pin of the RS485 chip are both connected to the isolation module, the A / B pin of the RS485 chip is connected to one end of the differential signal line, and the other end of the differential signal line is used to connect to the electric meter.