A centralized meter box and infrared communication method thereof

By using a collector with a power switch group and an infrared transceiver component connected by a communication line in the electric energy meter, the problem of waste of communication resources and increased cost of multi-meter electric energy meters is solved, and the miniaturization of the light panel and the reduction of hardware costs are achieved. .

CN113611101BActive Publication Date: 2024-10-25LEHE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111020973.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-01
Publication Date
2024-10-25
Estimated Expiration
2041-09-01

AI Technical Summary

Technical Problem

The existing infrared communication method of electric energy meters has the problems of resource waste and cost increase, especially in the case of multiple meter locations, which leads to difficulty in miniaturization design of light panels and high hardware costs.

Method used

Use a collector with a power supply, signal transceiver interface and a preset number of IO ports, connect it to the light board through the power switch group, use a communication line to connect all infrared transceiver components at the same time, and control the power switch to close through the IO port to achieve The corresponding infrared transceiver components are powered, reducing the number of wires and types of components.

Benefits of technology

It realizes the miniaturization of the light board, reduces the hardware cost and software development difficulty, reduces the number of wires and component types, and improves communication stability and MCU hardware serial port resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113611101B_ABST
    Figure CN113611101B_ABST
Patent Text Reader

Abstract

The present application discloses a centralized meter box, including a collector with a power supply, a signal transceiver interface and a preset number of IO ports, the power supply is connected to the light board through a power switch group, the power switch group has the preset number of power switches, each of the two ends of the power switch is respectively connected to a corresponding IO port and a corresponding infrared transceiver component on the light board, and the signal transceiver interface is connected to all the infrared transceiver components at the same time using a communication line, the collector is used to control the corresponding power switch to close through the IO port according to a preset command to power the corresponding infrared transceiver component, the infrared transceiver component is used to communicate with the corresponding electric energy meter, which can realize the miniaturization of the light board, reduce the hardware cost and the difficulty of software development. The present application also discloses an infrared communication method for a centralized meter box.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of centralized metering communication of electric energy meters, and in particular relates to a centralized meter box and an infrared communication method thereof. Background Art

[0002] With the continuous development of information technology, information security issues have become increasingly prominent. Smart grid is a modern power grid that integrates information flow, power flow and business flow. The information flow of the energy meter has information security issues. In view of this, based on the security characteristics and data characteristics of the energy meter, the confidentiality of user information and power company information is particularly important. Among them, the centralized meter box has low installation cost, small size, light weight, easy operation, low maintenance cost, and can be expanded. It is very convenient to read meters and perform fault maintenance, and has a large customer market.

[0003] In the communication process between the collector and the energy meter, the infrared light board needs to be used as a relay, that is, each energy meter needs a set of corresponding infrared transceiver circuits to communicate with the collector. There are two infrared communication methods. The first method is as follows Figure 1 As shown, Figure 1 This is a schematic diagram of separate communication between the energy meter and the collector. It can be seen that each energy meter communicates with the collector separately, and the communication line between the collector and the energy meter is connected separately. Figure 2 As shown, Figure 2 This is a schematic diagram of the collector and the electric energy meter being controlled by a logic chip. It can be seen that a logic chip is used to control communication between the collector and the electric energy meter. The collector controls the selection of the logic chip to communicate with the corresponding electric energy meter in turn.

[0004] However, the disadvantage of the first solution is that each meter position will occupy one UART (transceiver serial port) of the collector, resulting in a waste of resources. When selecting the MCU, a model that meets the number of communication serial ports must be selected, which invisibly increases the hardware cost. If there is no chip available for a multi-meter box, such as 12 meters, the number of wires required is at least 12 (meter positions) * 2 (transceiver) + 2 (power supply + ground) power supply = 26, which makes it difficult to design a miniaturized light board. The disadvantage of the second solution is that the addition of logic chips increases the cost of the product. At the same time, the number of light board wires is also at least 26, which also makes it difficult to design a miniaturized light board. Summary of the invention

[0005] In order to solve the above problems, the present invention provides a centralized meter box and an infrared communication method thereof, which can realize the miniaturization of the light board and reduce the hardware cost and the difficulty of software development.

[0006] A centralized meter box provided by the present invention includes a collector having a power supply, a signal transceiver interface and a preset number of IO ports, wherein the power supply is connected to a light board via a power switch group, the power switch group having the preset number of power switches, and the two ends of each of the power switches are respectively connected to a corresponding IO port and a corresponding infrared transceiver component on the light board, and the signal transceiver interface is connected to all the infrared transceiver components at the same time using a communication line, the collector is used to control the corresponding power switch to close through the IO port according to a preset command to power the corresponding infrared transceiver component, and the infrared transceiver component is used to communicate with the corresponding electric energy meter.

[0007] Preferably, in the above-mentioned centralized meter box, the preset number is 8 to 18.

[0008] Preferably, in the above-mentioned centralized meter box, the power switch is a MOS switch.

[0009] Preferably, in the above-mentioned centralized meter box, the signal transceiver interface is UART.

[0010] Preferably, in the above-mentioned centralized meter box, the power supply is a 3.3V power supply.

[0011] Preferably, in the above-mentioned centralized meter box, the collector has a wireless communication module for reporting the collected data to a main station.

[0012] The present invention provides an infrared communication method for a centralized meter box, using the centralized meter box as described in any one of the above items, comprising:

[0013] According to the table number writing command, the corresponding power switches are controlled to close through the IO ports in turn to supply power to the corresponding infrared transceiver components;

[0014] The signal transceiver interface is used to transmit the meter number of the corresponding electric energy meter to the infrared transceiver component;

[0015] Using the infrared transceiver component to write the meter number into the electric energy meter;

[0016] The response data is returned to the collector through the signal transceiver interface to perform the next operation.

[0017] Preferably, in the above-mentioned infrared communication method of the centralized meter box, it also includes:

[0018] According to the meter reading command, the corresponding power switches are controlled to close in sequence through the IO ports to supply power to the corresponding infrared transceiver components;

[0019] Sending a meter reading instruction to the corresponding electric energy meter using the signal transceiver interface;

[0020] The electric energy meter is used to return the meter reading response data to the collector.

[0021] Preferably, in the above-mentioned infrared communication method of the centralized meter box, it also includes:

[0022] According to the broadcast command, all the power switches are controlled to close through all the IO ports to supply power to all the infrared transceiver components;

[0023] Sending commands to all the electric energy meters using the signal transceiver interface;

[0024] When the electric energy meter receives the command, it returns the response data to the collector through the signal transceiver interface in sequence.

[0025] Preferably, in the infrared communication method of the above-mentioned centralized meter box, the reply time interval between each of the electric energy meters and the previous electric energy meter returning response data is 300ms, and when the reply times out, the collector sends a broadcast command to the timed-out electric energy meter alone.

[0026] It can be known from the above description that the above-mentioned centralized meter box provided by the present invention includes a collector with a power supply, a signal transceiver interface and a preset number of IO ports. The power supply is connected to the light board through a power switch group. The power switch group has the preset number of power switches. The two ends of each power switch are respectively connected to a corresponding IO port and a corresponding infrared transceiver component on the light board, and the signal transceiver interface is connected to all the infrared transceiver components at the same time using a communication line. The collector is used to control the corresponding power switch to close through the IO port according to a preset command to power the corresponding infrared transceiver component. The infrared transceiver component is used to communicate with the corresponding electric energy meter. It can be seen that only fewer light board wiring is needed to realize the normal signal collection function, so that the light board can be miniaturized, and there is no need to use chips, so the hardware cost and software development difficulty can be reduced. The infrared communication method of the above-mentioned centralized meter box provided by the present invention also has the same advantages as the above-mentioned centralized meter box. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0028] Figure 1 A schematic diagram of separate communication between the energy meter and the collector;

[0029] Figure 2 This is a schematic diagram of the collector and the electric energy meter being controlled by a logic chip;

[0030] Figure 3 A schematic diagram of an embodiment of a centralized meter box provided by the present invention;

[0031] Figure 4 A schematic diagram of an embodiment of an infrared communication method for a centralized meter box provided by the present invention. DETAILED DESCRIPTION

[0032] The core of the present invention is to provide a centralized meter box and an infrared communication method thereof, which can realize the miniaturization of the light board and reduce the hardware cost and the difficulty of software development.

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] An implementation example of a centralized meter box provided by the present invention is as follows: Figure 3 As shown, Figure 3 A schematic diagram of an embodiment of a centralized meter box provided by the present invention, the centralized meter box includes a collector 4 with a power supply 1, a signal transceiver interface 2 and a preset number of IO ports 3, the power supply 1 is connected to the light board 6 through a power switch group 5, the power switch group 5 has a preset number of power switches 501, the two ends of each power switch 501 are respectively connected to a corresponding IO port 3 and a corresponding infrared transceiver component 7 on the light board 6, and the signal transceiver interface 2 is connected to all infrared transceiver components 7 at the same time using a communication line, the collector 4 is used to control the corresponding power switch 501 to close through the IO port 3 according to a preset command to power the corresponding infrared transceiver component 7, and the infrared transceiver component 7 is used to communicate with its corresponding electric energy meter 8.

[0035] It should be noted that the centralized meter box can use only one collector 4 to realize signal collection of multiple electricity meters. After the collector 4 collects the electricity quantity, events and other information of the electricity meter 8, it can report to the system main station in a centralized manner. During the entire collection process, infrared communication is generally used between the collector 4 and the electricity meter 8. Figure 3 The 12-channel infrared transceiver is used as an example for explanation, but it is not limited to 12 channels, and can also be other numbers. The working steps can be described as follows:

[0036] Step 1: The collector 4 only needs one signal transceiver interface 2 to communicate with the electric energy meters 8 of all the meter positions. The 12 infrared transceiver components 7 on the light board are connected to the signal transceiver interface 2 in parallel. Each channel only needs one wire, and no longer needs two wires as in the prior art.

[0037] Step 2: Use the 12 IO ports 3 of the collector 4 to connect the power switch 501 of the 12-way infrared transceiver component 7 on the light board. When the power switch 501 specifically adopts a MOS tube, the IO port 3 is connected to the gate of the MOS tube of the power switch 501;

[0038] Step 3: Write the meter number. After the meter box is powered on, the collector 4 turns on the power switch 501 of each meter position from left to right in turn. This is because during the meter number writing process, at most one meter position's power switch 501 can be turned on at the same time, otherwise it will cause confusion. The fixed meter number is written to the electric energy meter 8 of the corresponding meter position through the signal transceiver interface 2. After receiving the meter number writing command, the electric energy meter 8 of the meter position sends the response data to the collector 4 through the signal transceiver interface 2, and then the meter number writing operation of the next meter position can be carried out, so that the mutual influence between the various meter positions will not be caused.

[0039] Step 4: meter reading. The collector 4 turns on the power switch 501 of each meter position in turn. At the same time, the collector 4 sends a meter reading command to the electric energy meter 8 of the meter position through the signal transceiver interface 2. After receiving the meter reading command, the electric energy meter 8 of the meter position sends the response data to the collector 4 through the signal transceiver interface 2;

[0040] Step 5: Send a broadcast command. At this time, the collector 4 turns on all power switches 501 and broadcasts a command to all electric energy meters 8. After receiving the broadcast command, the electric energy meter 8 at each meter position needs to return the response data to the collector 4. Since one signal transceiver interface 2 is used, it is necessary to set the truth table according to the meter position corresponding to the electric energy meter 8. The table number is written in the third step. Corresponding to different meter positions, the reply time interval of the response data is different. Each meter position can be delayed by 300ms compared with the previous meter position to stagger the reply time. Regardless of whether the reply of the corresponding meter position is completed, the power switch 501 of the current meter position needs to be turned off within the specified time interval until all 12 meter positions have completed the reply, and then all the power switches 501 are turned off. If the reply of an individual meter position times out, the collector 4 will send a broadcast command again separately, such as broadcast time calibration.

[0041] This embodiment provides the above-mentioned centralized meter box, which can reduce the number of wirings and the types of components. For example, when there are 12 meter positions, the prior art solution requires at least 26 light board wirings, while this embodiment only requires 16 light board wirings, which is conducive to the miniaturization of printed circuit board design, reduces the utilization of MCU hardware serial port resources, increases the range of optional light board models, reduces hardware costs, and has a large cost reduction space after batch supply. Since the wiring is reduced and the program control lines are reduced, the program design is simple, the interference effect is small, and the communication stability is improved.

[0042] It can be seen from the above description that in the embodiment of the above-mentioned centralized meter box provided by the present invention, since it includes a collector with a power supply, a signal transceiver interface and a preset number of IO ports, the power supply is connected to the light board through a power switch group, and the power switch group has a preset number of power switches. The two ends of each power switch are respectively connected to a corresponding IO port and a corresponding infrared transceiver component on the light board, and the signal transceiver interface is connected to all infrared transceiver components at the same time using a communication line. The collector is used to control the corresponding power switch to close through the IO port according to a preset command to power the corresponding infrared transceiver component, and the infrared transceiver component is used to communicate with the corresponding electric energy meter. It can be seen that only fewer light board wiring is needed to realize the normal signal collection function, thereby realizing the miniaturization of the light board, and there is no need to use chips, thereby reducing hardware costs and software development difficulties.

[0043] In a specific embodiment of the above-mentioned centralized meter box, the preset number can be 8 to 18, and further, the preset number can be 12, which is more common, and the power switch can be a MOS switch, and the signal transceiver interface can be preferably UART. In addition, the above-mentioned power supply is preferably a 3.3V power supply, and the collector can have a wireless communication module for reporting the collected data to the main station, and further, the wireless communication module can be preferably a GPRS module. Of course, the above are all preferred solutions, and other specific device types can also be selected according to actual needs, which are not limited here.

[0044] The implementation example of the infrared communication method of the centralized meter box provided by the present invention is as follows: Figure 4 As shown, Figure 4 A schematic diagram of an embodiment of an infrared communication method for a centralized meter box provided by the present invention, using any of the centralized meter boxes as above, comprising the following steps:

[0045] S1: According to the table number writing command, the corresponding power switches are controlled to close through the IO ports in turn to supply power to the corresponding infrared transceiver components;

[0046] S2: using the signal transceiver interface to transmit the meter number of the corresponding electric energy meter to the infrared transceiver component;

[0047] S3: Use the infrared transceiver component to write the meter number into the electric energy meter;

[0048] S4: Return the response data to the collector through the signal transceiver interface and proceed to the next operation.

[0049] Specifically, after the meter box is powered on, the collector turns on the power switch of each meter position from left to right in turn. This is because during the meter number writing process, at most one meter position's power switch can be turned on at the same time, otherwise it will cause confusion. The fixed meter number is written to the electric energy meter of the corresponding meter position through the signal transceiver interface. After the electric energy meter of the meter position receives the meter number writing command, it sends the response data to the collector through the signal transceiver interface before the meter number writing operation of the next meter position can be carried out. In this way, there will be no mutual influence between the various meter positions.

[0050] In a specific embodiment of the infrared communication method of the centralized meter box, the following meter reading steps may also be included:

[0051] According to the meter reading command, the corresponding power switches are controlled to close through the IO ports in turn to supply power to the corresponding infrared transceiver components;

[0052] Sending meter reading instructions to the corresponding electric energy meter using the signal transceiver interface;

[0053] The electric energy meter is used to return the meter reading response data to the collector.

[0054] Specifically, the collector turns on the power switch of each meter position in turn, and at the same time, the collector sends a meter reading command to the electric energy meter at that meter position through the signal transceiver interface. After receiving the meter reading command, the electric energy meter at that meter position sends the response data to the collector through the signal transceiver interface.

[0055] In another specific embodiment of the infrared communication method of the centralized meter box, the following steps may also be included:

[0056] According to the broadcast command, all power switches are controlled to close through all IO ports to power all infrared transceiver components;

[0057] Send commands to all electric energy meters using the signal transceiver interface;

[0058] When the electric energy meter receives the command, it returns the response data to the collector through the signal transceiver interface in turn.

[0059] In the above steps, the reply time interval between each electric energy meter and the previous electric energy meter returning response data may preferably be 300ms, and when the reply times out, the collector sends a broadcast command to the timed-out electric energy meter alone.

[0060] Specifically, the collector turns on all power switches and broadcasts commands to all electricity meters. After receiving the broadcast command, the electricity meter at each meter position needs to return the response data to the collector. Since a signal transceiver interface is used, it is necessary to set the truth table according to the meter position corresponding to the electricity meter. The table number is written in the third step. Corresponding to different meter positions, the reply time interval of the response data is different. Each meter position can be delayed by 300ms compared to the previous meter position to stagger the reply time. Regardless of whether the reply of the corresponding meter position is completed, the power switch of the current meter position needs to be turned off within the specified time interval until all 12 meter positions have completed the reply, and then all power switches are turned off. If the reply of an individual meter position times out, the collector will send a broadcast command again separately, such as broadcast time calibration.

[0061] By using the above method, the light board can be miniaturized without using chips, thus reducing hardware costs and software development difficulty.

[0062] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A centralized meter box, characterized in that: The collector comprises a power supply, a signal transceiver interface and a preset number of IO ports, wherein the power supply is connected to the light board through a power switch group, the power switch group has the preset number of power switches, and the two ends of each of the power switches are respectively connected to a corresponding IO port and a corresponding infrared transceiver component on the light board, each infrared transceiver component can only communicate with the corresponding electric energy meter, and the signal transceiver interface is connected to all the infrared transceiver components at the same time by a communication line, and the collector is used to control the corresponding power switch to close through the IO port according to a preset command to supply power to the corresponding infrared transceiver component, and the infrared transceiver component is used to communicate with the corresponding electric energy meter; According to the meter reading command, the corresponding power switches are controlled to close in sequence through the IO ports to supply power to the corresponding infrared transceiver components; Sending a meter reading instruction to the corresponding electric energy meter using the signal transceiver interface; The electric energy meter is used to return the meter reading response data to the collector.

2. The centralized meter box according to claim 1, characterized in that: The preset number is 8 to 18.

3. The centralized meter box according to claim 1, characterized in that: The power switch is a MOS switch.

4. The centralized meter box according to claim 1, characterized in that: The signal transceiver interface is UART.

5. The centralized meter box according to claim 1, characterized in that: The power supply is a 3.3V power supply.

6. The centralized meter box according to claim 1, characterized in that: The collector has a wireless communication module for reporting the collected data to the main station.

7. An infrared communication method for a centralized meter box, characterized in that: The centralized meter box according to any one of claims 1 to 6 comprises: According to the table number writing command, the corresponding power switches are controlled to close through the IO ports in turn to supply power to the corresponding infrared transceiver components; The signal transceiver interface is used to transmit the meter number of the corresponding electric energy meter to the infrared transceiver component; Using the infrared transceiver component to write the meter number into the electric energy meter; The response data is returned to the collector through the signal transceiver interface to perform the next operation.

8. The infrared communication method of the centralized meter box according to claim 7, characterized in that: Also includes: According to the broadcast command, all the power switches are controlled to close through all the IO ports to supply power to all the infrared transceiver components; Sending commands to all the electric energy meters using the signal transceiver interface; When the electric energy meter receives the command, it returns the response data to the collector through the signal transceiver interface in sequence.

9. The infrared communication method of the centralized meter box according to claim 8, characterized in that: The reply time interval between each electric energy meter and the previous electric energy meter returning response data is 300ms, and when the reply times out, the collector sends a broadcast command to the timed-out electric energy meter alone.