Power distribution cabinet monitoring method and power distribution cabinet indicating device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI SMART LIANGXIN POWER DISTRIBUTION CO LTD
- Filing Date
- 2024-12-12
- Publication Date
- 2026-06-16
AI Technical Summary
In existing technologies, the efficiency of troubleshooting power distribution cabinet faults is low, and maintenance personnel have difficulty quickly locating the fault location. In particular, when the circuit indicator lights can only monitor closing and tripping faults, a large amount of manpower is required to troubleshoot other types of faults.
The power distribution cabinet uses an indicator device, including a control unit, indicator light modules, and multiple gateways. It polls the operating status information of slave devices through a pre-configured address directory, and activates the indicator light modules to display the fault location after parsing based on the communication protocol, thus achieving rapid location.
It enables rapid location of power distribution cabinet faults, improves maintenance efficiency, and reduces waste of human resources.
Smart Images

Figure CN122225673A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power distribution cabinet technology, and more specifically, to a power distribution cabinet monitoring method and an indicator device for power distribution cabinets. Background Technology
[0002] As the final stage equipment in a power distribution system, distribution cabinets are commonly used for power transmission and control. A distribution cabinet is mainly composed of various components such as circuit breakers, contactors, thermal relays, fuses, control relays, various instrument transformers, and various electrical instruments. Therefore, monitoring the operational faults of each component in the distribution cabinet is particularly important.
[0003] In related technologies, alarm indicator lights are often added to the incoming and outgoing circuits of the power distribution cabinet. When a component in the power distribution cabinet fails, the maintenance personnel receive the fault alarm in the background and need to go to the site to find the faulty component by following the circuit indicator lights or by opening the cabinet doors one by one, and then repair the found faulty component.
[0004] However, distribution cabinets are typically arranged in rows, making it difficult for maintenance personnel to quickly locate faulty cabinets based on circuit indicator lights. Furthermore, circuit indicator lights can only monitor faults related to the closing and opening of circuit breakers; when other types of faults occur, maintenance personnel need to invest significant manpower to troubleshoot the various components within the cabinet. Summary of the Invention
[0005] The purpose of this application is to provide a method for monitoring a power distribution cabinet and an indicating device for the power distribution cabinet, which can quickly locate the fault point of the power distribution cabinet and improve the maintenance efficiency of the power distribution cabinet.
[0006] The embodiments of this application are implemented as follows:
[0007] A first aspect of this application provides a method for monitoring a power distribution cabinet. The method is applied to a control unit in an indicator device for a power distribution cabinet. The indicator device for a power distribution cabinet includes a control unit, an indicator module connected to the control unit, and multiple gateways. The control unit in the indicator device for a power distribution cabinet is also communicatively connected to each slave device in the power distribution cabinet and a centralized gateway in a host computer.
[0008] The control unit polls each slave device according to the pre-configured address directory to obtain the operating status information of each slave device, and synchronously uploads it to the centralized gateway in the host computer. The address directory includes the address of each slave device, which is generated according to the connection topology between the control unit and each slave device. The operating status information includes at least one of the following: operating status data, alarm status data, power measurement data, and abnormal codes.
[0009] The operating status information of each slave device is parsed based on a preset communication protocol to obtain the parsing result information corresponding to each slave device.
[0010] Activate the indicator light module according to the parsing result information corresponding to each slave device.
[0011] As one possible implementation, the aforementioned multiple gateways include: an internal communication gateway, and a control unit that polls each slave device according to a pre-configured address directory to obtain the operating status information of each slave device, including:
[0012] The control unit determines the address of each slave device based on a pre-configured address directory;
[0013] The control unit establishes a communication connection with each slave device through an internal communication gateway based on the address of each slave device, and reads the operating status information of each slave device from the registers in each slave device through the internal communication gateway.
[0014] As one possible implementation, the control unit reads the operating status information of each slave device from its registers via an internal communication gateway, including:
[0015] The control unit reads the operating status information of each slave device from the registers of each slave device through the internal communication gateway according to the preset communication point table. The preset communication point table includes: register address, data type to be read, and data length to be read.
[0016] As one possible implementation, the aforementioned gateways also include: an address DIP switch gateway and a baud rate DIP switch gateway. The process of generating the address for the slave device includes:
[0017] Based on the connection topology between the control unit and each slave device, the master station address of the power distribution cabinet indicator device is set through the address dialing gateway, and the baud rate is set through the baud rate gateway.
[0018] Based on the connection topology between the control unit and each slave device, determine the communication protocol between the power distribution cabinet indicator device and each slave device in the power distribution cabinet;
[0019] The address of each slave device is generated based on the communication protocol between the indicator device of the distribution cabinet and each slave device in the distribution cabinet.
[0020] As one possible implementation, the indicator device for the power distribution cabinet also includes: a reset button, which is connected to the control unit and each gateway. Before the control unit polls each slave device according to a pre-configured address directory to obtain the operating status information of each slave device, it also includes:
[0021] Based on the power-on status of the indicator device for the power distribution cabinet and the touch status of the reset button in the indicator device, determine whether the indicator device for the power distribution cabinet is in the power-on initialization state.
[0022] If so, scan each slave device that is already connected to the indicator device of the power distribution cabinet, and generate an address directory based on the address of each slave device.
[0023] As one possible implementation, the aforementioned gateways also include: an external communication gateway, wherein the control unit in the power distribution cabinet's indicator device is connected to the centralized gateway in the host computer via the external communication gateway;
[0024] After obtaining the operating status information of each slave device, the following is also included:
[0025] Based on the category of each slave device, the power measurement data in the operating status information of each slave device is merged and compressed;
[0026] Based on the merged and compressed power measurement data, a new communication point table is generated and uploaded to the central gateway via an external communication gateway.
[0027] As one possible implementation, the aforementioned gateways also include: a clock circuit gateway, and the power distribution cabinet monitoring method also includes:
[0028] The control unit sets the clock pulse signal through the clock circuit gateway, and obtains the operating status information of each slave device based on the clock pulse signal.
[0029] As one possible implementation, the aforementioned gateways also include: an indicator light operation gateway, an indicator light fault gateway, and an indicator light communication gateway, which activate the indicator light module according to the parsing result information corresponding to each slave device, including:
[0030] The control unit activates the indicator communication gateway, indicator operation gateway, and / or indicator fault gateway according to the parsing result information corresponding to each slave device, so as to drive the indicator module to display the corresponding indicator information.
[0031] A second aspect of this application provides an indicator device for a power distribution cabinet. The indicator device includes an indicator light module, a control unit, a reset button, multiple gateways, and an installation component. The indicator light module, each gateway, and the reset button are all connected to the control unit. The reset button is also connected to each gateway. The control unit in the indicator device is also communicatively connected to each slave device in the power distribution cabinet and a centralized gateway in a host computer. The indicator device is installed on the power distribution cabinet via the installation component.
[0032] The control unit is used to implement the steps of the power distribution cabinet monitoring method described in the first aspect above.
[0033] As one possible implementation, the aforementioned gateways include: an external communication gateway, an internal communication gateway, a clock circuit gateway, an address DIP switch gateway, a baud rate DIP switch gateway, an indicator light operation gateway, an indicator light fault gateway, and an indicator light communication gateway.
[0034] The external communication gateway, internal communication gateway, clock circuit gateway, address DIP switch gateway, baud rate DIP switch gateway, indicator light operation gateway, indicator light fault gateway, and indicator light communication gateway are all connected to the control unit.
[0035] A third aspect of this application provides a control unit, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the power distribution cabinet monitoring method described in the first aspect.
[0036] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the power distribution cabinet monitoring method described in the first aspect.
[0037] The beneficial effects of the embodiments of this application include:
[0038] This application provides a method for monitoring a power distribution cabinet. The method uses an indicator device to monitor the operating status of various components within the power distribution cabinet. The indicator device includes an indicator light module and a control unit. The control unit is connected to both the indicator light module and each component in the power distribution cabinet. Each component in the power distribution cabinet acts as a slave device connected to the indicator device. The indicator device is installed on the power distribution cabinet. The control unit polls each slave device connected to the indicator device based on a pre-configured address directory to obtain the operating status information of each slave device. The control unit parses the operating status information of each slave device based on a preset communication protocol to obtain the parsing result information of each slave device. Based on the parsing result information of each slave device, the control unit activates the indicator light module to display an indication signal corresponding to the parsing result information. In addition, the pre-configured address directory contains the addresses of each slave device connected to the distribution cabinet's indicator device. The addresses of each slave device are generated based on the connection topology between the control unit and each slave device. This eliminates the need for a centralized gateway on the host computer to configure the addresses of each slave device for the distribution cabinet's indicator device, and allows for rapid location of the fault within the distribution cabinet based on the addresses of each slave device. This achieves the effect of quickly locating the fault point in the distribution cabinet and improving the maintenance efficiency of the distribution cabinet. Attached Figure Description
[0039] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a schematic diagram of the structure of a first type of indicator device for a power distribution cabinet provided in an embodiment of this application;
[0041] Figure 2 A flowchart illustrating the first power distribution cabinet monitoring method provided in this application embodiment;
[0042] Figure 3 This is a schematic diagram of the structure of a second type of indicator device for a power distribution cabinet provided in an embodiment of this application;
[0043] Figure 4 A flowchart illustrating the second power distribution cabinet monitoring method provided in this application embodiment;
[0044] Figure 5 A flowchart illustrating the third power distribution cabinet monitoring method provided in this application embodiment;
[0045] Figure 6 This is a schematic diagram of the structure of a third type of indicator device for a power distribution cabinet provided in an embodiment of this application;
[0046] Figure 7 A flowchart illustrating the fourth power distribution cabinet monitoring method provided in this application embodiment;
[0047] Figure 8 A flowchart illustrating the fifth power distribution cabinet monitoring method provided in this application embodiment;
[0048] Figure 9 This is a schematic diagram of the first type of indicator light module provided in the embodiments of this application;
[0049] Figure 10 This is a schematic diagram of the second type of indicator light module provided in the embodiments of this application;
[0050] Figure 11 A flowchart illustrating the operating logic of an indicator device for a power distribution cabinet, provided in an embodiment of this application;
[0051] Figure 12 Communication topology diagram of a first type of power distribution cabinet indicator device and each slave station device provided in the embodiments of this application;
[0052] Figure 13 This application provides a communication topology diagram of a second type of power distribution cabinet indicator device and each slave station device.
[0053] Figure 14 This is a schematic diagram of the structure of a fourth type of indicator device for a power distribution cabinet provided in an embodiment of this application;
[0054] Figure 15 A debugging flowchart for an edge computing gateway provided in an embodiment of this application;
[0055] Figure 16 A gateway debugging flowchart for an indicator device for a power distribution cabinet is provided as an embodiment of this application;
[0056] Figure 17 This is a schematic diagram of a control unit provided in an embodiment of this application.
[0057] Figure Descriptions: 10: Indicator device for power distribution cabinet; 101: Control unit; 1701: Memory; 1702: Processor; 102: Indicator module; 103: Gateway; 1031: Internal communication gateway; 1032: Baud rate DIP switch gateway; 1033: Address DIP switch gateway; 1034: Clock circuit gateway; 1035: External communication gateway; 1036: Indicator running gateway; 1037: Indicator fault gateway; 1038: Indicator communication gateway; 104: Reset button; 20: Power distribution cabinet; 201: Slave device; 30: Host computer; 301: Central gateway. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0059] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0060] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0061] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "set up," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0062] Currently, alarm indicator lights are often added to the incoming and outgoing circuits of distribution cabinets. When a component in the distribution cabinet malfunctions, maintenance personnel can receive the alarm in the backend. They can then go to the site and open the corresponding distribution cabinet door according to the indicator light to locate the faulty component, or they can open each cabinet door one by one and check the fault information of each component, repairing the found faulty component. However, this approach prevents maintenance personnel from quickly locating the faulty component based on the indicator lights, resulting in a significant amount of troubleshooting work. Furthermore, the indicator lights only monitor faults related to the closing and opening of the distribution cabinet, requiring maintenance personnel to actively check each component in the cabinet, leading to low efficiency in troubleshooting distribution cabinet faults.
[0063] To address this, this application provides an indicator device for power distribution cabinets. The device includes an indicator light module and a control unit. The indicator light module is connected to the control unit, which is also connected to subordinate slave devices. The control unit polls each slave device according to a pre-configured address directory to obtain its operating status information. It then parses this information using a preset communication protocol to obtain corresponding parsing results for each slave device. The control unit activates the indicator light module to display the operating status of each slave device based on these results. This allows for rapid location of faults in the power distribution cabinet and improves maintenance efficiency.
[0064] In one alternative implementation, power distribution cabinets are often arranged in rows, and each power distribution cabinet contains a variety of components of varying quantities for power conversion and control of electrical equipment. In order to ensure the safety and reliability of the operation of the power distribution cabinets, it is particularly important to quickly locate and repair the faults of the components in the power distribution cabinets.
[0065] The following description, in conjunction with the accompanying drawings, provides a detailed explanation of the indicator device for the power distribution cabinet and the monitoring method for the power distribution cabinet provided in the embodiments of this application.
[0066] Figure 1 A schematic diagram of the structure of an indicator device for a power distribution cabinet provided in this application is shown below. Figure 1The power distribution cabinet indicator device 10 provided in this application embodiment includes: a control unit 101, an indicator light module 102 and multiple gateways 103 connected to the control unit 101. The control unit 101 is also communicatively connected to each slave device 201 in the power distribution cabinet 20 and the centralized gateway 301 in the host computer 30.
[0067] Optionally, the indicator module 102 can be implemented by cascading multiple indicator lights. The indicator lights can be implemented by light-emitting diodes. The light-emitting colors of each light-emitting diode in the indicator module 102 can be different to distinguish the fault types of the power distribution cabinet 20. This application does not make specific limitations in this regard.
[0068] Optionally, the control unit 101 can be implemented by a microcontroller, control chip, single-chip microcomputer, etc. The control unit 101 is mainly used to monitor the operating status of each slave device in the power distribution cabinet 20, and control the indicator module 102 to display the corresponding indicator signal based on the operating status of each slave device. The maintenance personnel can determine the fault type and fault location of the power distribution cabinet 20 based on the indicator signal displayed by the indicator module 102, and thus perform accurate maintenance.
[0069] Optionally, the indicator device 10 for the power distribution cabinet is installed on the power distribution cabinet 20, and the control unit 101 in the indicator device 10 for the power distribution cabinet is communicatively connected to multiple components in the power distribution cabinet 20, so that each component acts as a slave device of the indicator device 10 for the power distribution cabinet.
[0070] Optionally, the indicator device 10 for the power distribution cabinet is mainly used to monitor the fault status of each component in the power distribution cabinet 20 and make corresponding fault indications. The indicator device 10 for the power distribution cabinet is plugged into the power distribution cabinet 20. Each power distribution cabinet 20 has its paired indicator device 10 for the power distribution cabinet. However, the slave devices managed by each indicator device 10 for the power distribution cabinet are set according to the primary scheme and intelligent scheme of the complete set. The centralized gateway 301 in the host computer 30 connected to the indicator device 10 for the power distribution cabinet does not need slave devices connected to the indicator device 10 for the power distribution cabinet. It is only necessary to set the address range of the slave devices to the device address range specified by the preset communication protocol to complete the communication connection between the indicator device 10 for the power distribution cabinet and the slave devices.
[0071] Optionally, the indicator device 10 for the power distribution cabinet communicates with the various components of the power distribution cabinet 20 that need to monitor the operating status. These components that establish communication connections with the indicator device 10 for the power distribution cabinet are slave devices of the indicator device 10 for the power distribution cabinet. At the same time, the indicator device 10 for the power distribution cabinet serves as the master device corresponding to these slave devices.
[0072] Optionally, when the indicator device 10 for the power distribution cabinet is connected to the centralized gateway 301 in the host computer 30, the indicator device 10 for the power distribution cabinet acts as a slave device of the host computer 30, and the host computer 30 acts as the master device for the indicator device 10. Therefore, when the indicator device 10 for the power distribution cabinet acts as the master device, the slave devices connected to the indicator device 10 are the components in the power distribution cabinet 20 that need to be monitored. These components can be electricity meters, switches, circuit breakers, etc., and this application does not make specific limitations on them.
[0073] Figure 2 This is a flowchart of a power distribution cabinet monitoring method provided in this application. The power distribution cabinet monitoring method provided in this application embodiment is applied to the control unit 101 in the power distribution cabinet indicator device 10 mentioned above. See also... Figure 2 The power distribution cabinet monitoring method provided in this application includes:
[0074] S201. The control unit polls each slave device according to the pre-configured address directory to obtain the operating status information of each slave device, and synchronously uploads it to the centralized gateway in the host computer. The address directory includes the address of each slave device. The address of each slave device is generated according to the connection topology between the control unit and each slave device. The operating status information includes at least one of the following: operating status data, alarm status data, power measurement data, and abnormal code.
[0075] Optionally, the pre-configured address directory is generated before the power distribution cabinet indicator device 10 starts monitoring the operating status of the slave devices. The power distribution cabinet indicator device 10 sets the master station address and baud rate according to the complete set of primary scheme and intelligent scheme, and sets the addresses of each slave device connected to the power distribution cabinet indicator device 10. When the power distribution cabinet indicator device 10 is initially powered on, it generates a preset address directory based on the set slave device addresses.
[0076] Optionally, the control unit 101 sequentially polls each slave device connected to the distribution cabinet indicator device 10 according to a pre-configured address directory. The pre-configured address directory includes the addresses of each slave device, which can also serve as identifiers for each slave device. Maintenance personnel can quickly locate the faulty slave device based on its address. The addresses of each slave device are generated based on the connection topology between the control unit 101 and the slave devices. This connection topology is pre-set by the complete primary and intelligent control schemes.
[0077] Optionally, after the control unit 101 establishes a communication connection with each slave device, it acquires the operating status information of each slave device. The operating status information includes: operating status data, alarm status data, error codes, and power measurement data. The operating status data indicates the data generated by each slave device during operation, such as the opening and closing data of the circuit breaker; the alarm status data indicates the data generated by each slave device when there is an operating fault; the error codes indicate the error codes generated by each slave device when there is an operating fault; and the power measurement data indicates that the control unit reads the power parameter information generated by each slave device from the slave devices in the distribution cabinet, such as the motor coil reading bit of each slave device, which is usually represented by 01 function codes.
[0078] S202. Based on the preset communication protocol, the operating status information of each slave device is parsed to obtain the parsing result information corresponding to each slave device.
[0079] Optionally, the preset communication protocol is the communication rule between the control unit 101 and each slave device that is pre-set in the complete set of primary and intelligent solutions. The preset communication protocol can be isolated communication, CAN communication, etc., and this application does not make specific limitations on it.
[0080] Optionally, the operating status information of each slave device is parsed based on the communication protocol between the control unit 101 and each slave device to obtain information such as operating status, alarm status, abnormal code, and 01 function code contained in the operating status information of each slave device. The operating status information obtained by the control unit 101 from each slave device is equivalent to a data packet. The control unit 101 parses this data packet based on a preset communication protocol to obtain data such as operating status, alarm status, abnormal code, and 01 function code contained in the data packet. For example, the analog signal corresponding to the operating status information read by the control unit 101 is parsed and processed based on the preset communication protocol to obtain the digital signal corresponding to the operating status information.
[0081] S203. Activate the indicator light module according to the parsing result information corresponding to each slave device.
[0082] Optionally, the control unit 101 activates the indicator module 102 according to the parsing result information corresponding to each slave device, so that the indicator module 102 displays the indication signal corresponding to the parsing result information.
[0083] In this embodiment, the operating status of each component in the power distribution cabinet is monitored by an indicator device. The indicator device includes an indicator light module and a control unit. The control unit is connected to both the indicator light module and each component in the power distribution cabinet. Each component in the power distribution cabinet serves as a slave device connected to the indicator device. The indicator device is installed on the power distribution cabinet. The control unit polls each slave device connected to the indicator device based on a pre-configured address directory to obtain the operating status information of each slave device. The control unit parses the operating status information of each slave device based on a preset communication protocol to obtain the parsing result information of each slave device, and activates the indicator light module to display the indicator signal corresponding to the parsing result information based on the parsing result information of each slave device. In addition, the pre-configured address directory contains the addresses of each slave device connected to the distribution cabinet's indicator device. The addresses of each slave device are generated based on the connection topology between the control unit and each slave device. This eliminates the need for a centralized gateway on the host computer to configure the addresses of each slave device for the distribution cabinet's indicator device, and allows for rapid location of the fault within the distribution cabinet based on the addresses of each slave device. This achieves the effect of quickly locating the fault point in the distribution cabinet and improving the maintenance efficiency of the distribution cabinet.
[0084] In one alternative implementation, see [link to implementation details]. Figure 3 The multiple gateways 103 in the power distribution cabinet indicator device 10 provided in this application embodiment include: an internal communication gateway 1031, a baud rate DIP switch gateway 1032, an address DIP switch gateway 1033, a clock circuit gateway 1034, an external communication gateway 1035, an indicator light operation gateway 1036, an indicator light fault gateway 1037, and an indicator light communication gateway 1038. Among them, the internal communication gateway 1031, baud rate DIP switch gateway 1032, address DIP switch gateway 1033, clock circuit gateway 1034, external communication gateway 1035, indicator light operation gateway 1036, indicator light fault gateway 1037, and indicator light communication gateway 1038 are all communicatively connected to the control unit 101.
[0085] In one alternative implementation, see [link to implementation details]. Figure 4 The specific operation of step S201 above can be as follows:
[0086] S401 The control unit determines the address of each slave device according to the pre-configured address directory.
[0087] Optionally, the control unit 101 can determine the address of each slave device according to a pre-configured address directory. The pre-configured address directory can be pre-written in the gateway firmware of the control unit 101 according to the device type-address field method based on the communication protocol between the control unit 101 and each slave device.
[0088] Table 1 Device Type - Address Domain Comparison Table
[0089] Address of slave device Slave device type Address of slave device Slave device type 1-10 Frame series 31-40 Temperature sensor 11-20 Plastic shell series 41-50 reactive power compensation 21-30 Instrument series 51-xxx …
[0090] Referring to Table 1 above, address range 1-10 is set as the address of slave device 1, address range 11-20 is set as the address of slave device 2, etc. Table 1 is only an example, and the address of the slave device does not necessarily have to be set according to the setting rules in Table 1. This application does not make any specific restrictions on this.
[0091] S402. The control unit establishes a communication connection with each slave device through the internal communication gateway based on the address of each slave device, and reads the operating status information of each slave device from the registers in each slave device through the internal communication gateway.
[0092] Optionally, each slave device contains multiple registers, which are used to implement data partitioning storage for the slave device. For example, the operating status data, alarm status data, exception codes, and 01 function codes of the slave device are stored in different registers in the slave device.
[0093] Optionally, the control unit establishes a communication connection with each slave device according to the address of each slave device, and reads the operating status information of each slave device from the corresponding registers in the slave device, such as reading the operating status data of the slave device from the register storing operating status data, reading the alarm status data of the slave device from the register storing alarm status data, reading the operating exception code of the slave device from the register storing exception code, and reading the 01 function code of the slave device from the register storing 01 function code.
[0094] In one optional implementation, step S302 can specifically be performed as follows:
[0095] The control unit reads the operating status information of each slave device from the registers of each slave device through the internal communication gateway according to the preset communication point table. The preset communication point table includes: register address, data type to be read, and data length to be read.
[0096] Optionally, the preset communication point table is a communication point table that the user sets in advance in the host computer. The preset communication point table includes: register address, read data type and read data length. The register address is used to indicate the identifier of each register in the slave device that obtains operating status information. The read data type is used to indicate the type of data that the control unit can obtain from the current register. The read data length is used to indicate the length of data that the control unit obtains from the current register at one time.
[0097] Optionally, the control unit reads the operating status data, alarm status data, operating error code, 01 function code, and other operating status information of each slave device from the corresponding register in each slave device according to the register address indicated by the preset communication point table.
[0098] In one alternative implementation, see [link to implementation details]. Figure 5 The process of generating the address of the slave device includes:
[0099] S501. Based on the connection topology between the control unit and each slave device, set the master station address of the power distribution cabinet indicator device through the address dialing gateway, and set the baud rate through the baud rate gateway.
[0100] Optionally, the connection topology between the control unit and each slave device is pre-set by the complete set of primary and intelligent schemes and burned into the control unit.
[0101] Optionally, the connection topology between the control unit and each slave device is used to indicate the communication topology between the control unit and each slave device. The control unit sets the master station address and baud rate of the configuration cabinet indicator device according to the communication topology between the control unit and each slave device. The master station address is used to indicate the identifier of the power distribution cabinet indicator device, and the baud rate is used to indicate the rate at which the power distribution cabinet indicator device 10 receives and sends data.
[0102] S502. Based on the connection topology between the control unit and each slave device, determine the communication protocol between the power distribution cabinet indicator device and each slave device in the power distribution cabinet.
[0103] Optionally, based on the communication topology between the control unit and each slave device, the communication protocol between the power distribution cabinet indicator device and each slave device can be determined, that is, the communication rules between the power distribution cabinet indicator device and each slave device can be determined based on the communication topology between the control unit and each slave device.
[0104] S503. Generate the address of each slave device according to the communication protocol between the power distribution cabinet indicator device and each slave device in the power distribution cabinet.
[0105] In one alternative implementation, see [link to implementation details]. Figure 6 The power distribution cabinet indicator device 10 provided in this application embodiment also includes a reset button 104. The reset button 104 is connected to the control unit 101 and is also strongly associated with each gateway. When the power distribution cabinet equipment is modified or upgraded, it is necessary to update the address of the slave device connected to the power distribution cabinet indicator device 10 installed on the power distribution cabinet. By touching the reset button 104, the address of the slave device can be recalibrated. When the control unit 101 subsequently obtains the operating status information of the slave device, it polls each slave device according to the newly calibrated address of the slave device.
[0106] Optionally, when new components are added to the power distribution cabinet, the communication point table can be directly burned into the gateway firmware according to the reserved address of the component and the primary scheme, thereby updating the pre-configured address directory in the power distribution cabinet's indicator device.
[0107] In one alternative implementation, see [link to implementation details]. Figure 7 Before step S201 above, the following steps are also included:
[0108] S701. Determine whether the indicator device for the power distribution cabinet is in the power-on initialization state based on the power-on status of the indicator device for the power distribution cabinet and the touch status of the reset key in the indicator device for the power distribution cabinet.
[0109] Optionally, the power-on state is used to indicate the current operating state of the indicator device for the power distribution cabinet. If the indicator device for the power distribution cabinet is not powered on, the indicator device for the power distribution cabinet is currently in standby state; if the indicator device for the power distribution cabinet is powered on, the indicator device for the power distribution cabinet is currently in power-on initialization state, which is used to indicate the start-up state of the indicator device for the power distribution cabinet.
[0110] Optionally, the touch state of the reset button in the power distribution cabinet indicator is used to indicate whether the reset button has been triggered. When the reset button in the power distribution cabinet indicator is triggered, the power distribution cabinet indicator needs to recalibrate the addresses of each slave device connected to it, the power distribution cabinet indicator enters the power-on initialization state, and the power distribution cabinet indicator restarts.
[0111] S702. If so, scan each slave device that is already connected to the indicator device of the power distribution cabinet, and generate an address directory based on the address of each slave device.
[0112] Optionally, when the reset button of the power distribution cabinet indicator is touched, or when the power distribution cabinet indicator is powered on again, the control unit in the power distribution cabinet indicator rescans each slave device currently communicating with the power distribution cabinet indicator, obtains the address of each slave device, so as to obtain the recalibrated address of each slave device, generates a new address directory, and stores it in the firmware of the power distribution cabinet indicator.
[0113] In one alternative implementation, see [link to implementation details]. Figure 8 Following step S201 above, the following is also included:
[0114] S801. Based on the category of each slave device, merge and compress the power measurement data in the operating status information of each slave device.
[0115] Optionally, the category of the slave device is used to indicate the type of the slave device. The category of the slave device is determined by its factory model. The power measurement data of the slave device is merged and compressed according to the category of the slave device.
[0116] S802. Based on the merged and compressed power measurement data, generate a new communication point table and upload the new communication point table to the central gateway via the external communication gateway.
[0117] Optionally, based on the motor coil read bits of each slave device, the communication topology between each slave device and the control unit is updated, and a new communication point table is generated based on the motor coil read bits of each slave device and reported to the centralized gateway in the host computer.
[0118] In an optional implementation, the above-mentioned power distribution cabinet monitoring method further includes:
[0119] The control unit 101 sets the clock pulse signal through the clock circuit gateway 1034, and the control unit 101 obtains the operating status information of each slave device 201 based on the clock pulse signal.
[0120] Optionally, the control unit 101 can set a clock pulse signal through the clock circuit gateway 1034. The clock pulse signal can be implemented by PWM with rising and falling edges. The control unit 101 reads the operating status information of each slave device 201 connected to the indicator device 10 of the power distribution cabinet at regular intervals according to the clock pulse signal set by the clock circuit gateway 1034.
[0121] In one optional implementation, step S203 can be performed as follows:
[0122] The control unit 101 activates the indicator light operation gateway 1036, indicator light fault gateway 1037 and / or indicator light communication gateway 1038 according to the parsing result information corresponding to each slave device 201, so as to drive the indicator light module 102 to display the corresponding indicator light information.
[0123] Optionally, the control unit drives the corresponding gateway based on the operating status data, fault data, and communication status data contained in the parsing results of each slave device 201, so that the indicator module is activated by the corresponding indicator gateway.
[0124] As one possible implementation, the indicator device 10 for the distribution cabinet further includes a mounting assembly, wherein the indicator device 10 for the distribution cabinet is connected to the header sheet metal of the distribution cabinet 20 via the mounting assembly.
[0125] Optionally, the mounting component can be a snap-fit structure, whereby the user pushes the indicator device 10 of the distribution cabinet to snap it into the mounting hole on the header sheet metal of the distribution cabinet 20; alternatively, the mounting component can be a bolt structure, whereby the user can install the indicator device 10 of the distribution cabinet onto the header sheet metal of the distribution cabinet using screws. This saves installation space for the indicator device 10 and improves the ease of maintenance.
[0126] In one alternative implementation, see [link to implementation details]. Figure 3 The power distribution cabinet indicator 10 provided in this embodiment further includes an internal communication interface and an external communication interface. The power distribution cabinet indicator 10 communicates with each slave device via the internal communication interface, and communicates with the centralized gateway 301 in the host computer 30 via the external communication interface. Both the internal and external communication interfaces can be implemented using the I / O ports of a microcontroller, control chip, or microcontroller; this application does not impose specific limitations on this.
[0127] Figure 9 For a schematic diagram of the first type of indicator light module provided in this application, see [link / reference]. Figure 9 In the power distribution cabinet indicator device provided in this application embodiment, the red light in the indicator module is used to indicate the operating status of the slave devices. The red light is used to read the operating status register of the slave devices. When all slave devices are closed, the red light is constantly on; when any slave device is not closed, the red light is constantly off. The yellow light 1 in the indicator module is used to indicate the fault status of the slave devices. The yellow light 1 is used to read the alarm status register of the slave devices. When there is a faulty component in any slave device, the yellow light 1 is constantly on; when there is no fault in any slave device, the yellow light 1 is constantly off. The blue light in the indicator module is used to indicate the communication status of the slave devices. The blue light is used to read the communication status of the slave devices. When all slave devices are communicating normally... When the blue light is on, it remains constantly lit. When any communication fault occurs in any of the slave devices, the blue light turns off. Yellow light 2 in the indicator module indicates the temperature status of the slave devices and is used to read the over-temperature alarm register of the slave devices. When an over-temperature component is present in any slave device, yellow light 2 remains constantly lit. When no over-temperature fault occurs in any slave device, yellow light 2 turns off. The webpage is mapped via the QR code on the sticker; scanning the QR code leads to the login interface. When the user touches the reset button for 3 seconds, all indicator lights in the indicator module flash rapidly. When the user stops touching the reset button, the indicator lights stop flashing. The power distribution cabinet uses an indicator device to quickly scan all slave devices and establish an address directory of the communicated slave devices.
[0128] Figure 10For a schematic diagram of the second type of indicator light module provided in this application, see [link / reference]. Figure 10 In the power distribution cabinet indicator device provided in this application embodiment, the red light in the indicator module is used to indicate the operating status of the slave devices. The red light is used to read the operating status register of the slave devices. When all slave devices are closed, the red light is constantly on; when any slave device is not closed, the red light is constantly off. The yellow light in the indicator module is used to indicate the fault status of the slave devices. The yellow light is used to read the alarm status register of the slave devices. When a faulty component exists in any slave device, the yellow light is constantly on; when no fault exists in any slave device, the yellow light is constantly off. The blue light in the indicator is used to represent the communication status of the slave devices. The blue light is used to read the communication status of the slave devices. When all slave devices are communicating normally, the blue light is activated and stays on. When any slave device has a communication failure, the blue light is activated and stays off. The webpage is mapped through the QR code on the sticker. After scanning the QR code, the login interface is entered. When the user touches the reset button for 3 seconds, the indicator lights of the indicator module flash rapidly. When the user stops touching the reset button, the indicator lights of the indicator module stop flashing. The power distribution cabinet uses the indicator device to quickly scan all slave devices and establish the address directory of the slave devices that have been connected to the communication.
[0129] Figure 11 An operational logic diagram of an indicator device for a power distribution cabinet provided in this application embodiment is shown below. Figure 11 The operating logic of the indicator device for the power distribution cabinet provided in this application embodiment is consistent with the implementation process of the power distribution cabinet monitoring method provided in this application embodiment, and will not be described in detail here.
[0130] In one alternative implementation, Figure 12 and Figure 13 These are schematic diagrams illustrating the connection between a power distribution cabinet indicator device, a host computer's centralized gateway, and various slave devices within the power distribution cabinet, as provided in the embodiments of this application. The power distribution cabinet indicator device acquires the operating status information of its subordinate slave devices via a downlink communication line and feeds back the collected operating status information of the slave devices to the centralized gateway in the host computer in real time via an uplink communication line. The power distribution cabinet indicator device is powered by a 24V working power supply line. The control unit in the power distribution cabinet indicator device is connected to the indicator light module via a wire to control the indicator light module to display the corresponding indicator light.
[0131] In one alternative implementation, see [link to implementation details]. Figure 14 The power distribution cabinet indicator device 10 provided in this application embodiment also includes: a sticker, a front shell, a rubber ring, an atomizing module, a circuit board, and a rear shell. The control unit 101, the indicator module 102, and the reset button 104 are all deployed on the circuit board.
[0132] The sticker is affixed to the front cover, the atomizing module covers the indicator light module 102 on the circuit board, and the control unit 101 is connected to the reset button 104 and the indicator light module 102 via the circuit board.
[0133] Optionally, the sticker is used to indicate the meaning of each indicator light in the indicator light module 102, such as operating status, fault status, and network status. The sticker also includes QR code information, and users can obtain the operating status information of each slave device connected to the power distribution cabinet indicator device 10 by scanning the QR code. The atomizing module is used to soften the indicator light of the indicator light module 102. The circuit board can specifically be a PCB board. The control unit 101 controls the indicator light module 102 through the circuits laid on the circuit board and obtains the touch signal of the reset button 104 through the circuits laid on the circuit board. The rubber ring is used to fix the front shell and the rear shell, and the front shell and the rear shell are used to protect the circuit board.
[0134] Figure 15 A debugging flowchart for a centralized gateway of a host computer provided in this application is shown below. Figure 15 The debugging process of the centralized gateway of the host computer provided in this application embodiment is as follows: set the communication protocol of the slave device according to the communication topology connection structure, and set the address of the slave device; set the register address to be read, the data type to be read and the data length to be read in each slave device according to the pre-configured communication point table; when it is necessary to add communication points, the register needs to be reconfigured; when it is necessary to add a new power distribution cabinet, the address of each slave device connected to the indicator device of the power distribution cabinet needs to be reconfigured.
[0135] Figure 16 For a debugging flowchart of an indicator device for a power distribution cabinet provided in this application, please refer to [link / reference]. Figure 16 The debugging process of the indicator device for the power distribution cabinet provided in this application embodiment is as follows: Set the communication protocol of the slave device according to the communication topology connection structure, and set the address of the slave device; match the communication point table according to the address of the slave device, and start reading the operating status information of each slave device according to the device type based on the address of the slave device; when it is necessary to add communication points, it is necessary to customize the underlying firmware, which cannot be directly operated by the customer; when it is necessary to add a new power distribution cabinet, it is only necessary to recalibrate the address of the slave device and rescan the address of each newly calibrated slave device to complete the communication connection with each newly calibrated slave device.
[0136] The following describes the control unit and computer-readable storage medium used to implement the power distribution cabinet monitoring method provided in this application. The specific implementation process and technical effects are described above and will not be repeated below.
[0137] Figure 17 This is a schematic diagram of the structure of a control unit provided in an embodiment of this application. See also... Figure 17The control unit includes a memory 1701 and a processor 1702. The memory 1701 stores a computer program that can run on the processor 1702. When the processor 1702 executes the computer program, it implements the steps in any of the above method embodiments.
[0138] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps in the various method embodiments described above.
[0139] Optionally, this application also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform any of the above-described embodiments of the power distribution cabinet monitoring method.
[0140] In the embodiments provided by this invention, it should be understood that the disclosed methods can be implemented in other ways. For example, the division of units is merely a logical functional division; in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units may be electrical, mechanical, or other forms.
[0141] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0142] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0143] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute partial steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0144] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0145] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for monitoring a power distribution cabinet, characterized in that, The power distribution cabinet monitoring method is applied to the control unit in the power distribution cabinet indicator device. The power distribution cabinet indicator device includes: the control unit, an indicator module connected to the control unit, and multiple gateways. The control unit is also communicatively connected to each slave device in the power distribution cabinet and a centralized gateway in the host computer. The control unit polls each slave device according to a pre-configured address directory to obtain the operating status information of each slave device, and synchronously uploads it to the centralized gateway in the host computer. The address directory includes the addresses of each slave device, and the addresses of each slave device are generated according to the connection topology between the control unit and each slave device. The operating status information includes at least one of the following: operating status data, alarm status data, power measurement data, and anomaly code. The operating status information of each slave device is parsed based on a preset communication protocol to obtain the parsing result information corresponding to each slave device. The indicator light module is activated according to the parsing result information corresponding to each slave device.
2. The power distribution cabinet monitoring method according to claim 1, characterized in that, The plurality of gateways includes: an internal communication gateway, wherein the control unit polls each slave device according to a pre-configured address directory to obtain the operating status information of each slave device, including: The control unit determines the address of each slave device according to a pre-configured address directory; The control unit establishes a communication connection with each slave device through an internal communication gateway based on the address of each slave device, and reads the operating status information of each slave device from the registers in each slave device through the internal communication gateway.
3. The power distribution cabinet monitoring method according to claim 2, characterized in that, The control unit reads the operating status information of each slave device from the registers of each slave device through the internal communication gateway, including: The control unit reads the operating status information of each slave device from the registers of each slave device through the internal communication gateway according to a preset communication point table. The preset communication point table includes: register address, data type, and data length.
4. The power distribution cabinet monitoring method according to claim 1, characterized in that, The plurality of gateways further includes: an address dialing gateway and a baud rate dialing gateway, wherein the address generation process of the slave device includes: Based on the connection topology between the control unit and each of the slave devices, the master station address of the power distribution cabinet indicator device is set through the address dial-up gateway, and the baud rate is set through the baud rate dial-up gateway. Based on the connection topology between the control unit and each of the slave devices, the communication protocol between the power distribution cabinet indicator device and each slave device in the power distribution cabinet is determined; The address of each slave device is generated according to the communication protocol between the power distribution cabinet indicator device and each slave device in the power distribution cabinet.
5. The power distribution cabinet monitoring method according to claim 1, characterized in that, The power distribution cabinet indicator device further includes: a reset button, which is connected to the control unit and each gateway. Before the control unit polls each slave device according to a pre-configured address directory to obtain the operating status information of each slave device, it also includes: Based on the power-on status of the indicator device for the power distribution cabinet and the touch status of the reset button in the indicator device for the power distribution cabinet, determine whether the indicator device for the power distribution cabinet is in the power-on initialization state; If so, scan each slave device that is already connected to the indicator device of the power distribution cabinet, and generate the address directory based on the address of each slave device.
6. The power distribution cabinet monitoring method according to claim 1, characterized in that, The plurality of gateways also includes an external communication gateway, through which the control unit in the power distribution cabinet indicator device communicates with the centralized gateway in the host computer. After obtaining the operating status information of each slave device, the process also includes: Based on the category of each slave device, the power measurement data in the operating status information of each slave device is merged and compressed; Based on the merged and compressed power measurement data, a new communication point table is generated and uploaded to the central gateway via the external communication gateway.
7. The power distribution cabinet monitoring method according to claim 1, characterized in that, The plurality of gateways further includes: a clock circuit gateway, and the method further includes: The control unit sets a clock pulse signal through the clock circuit gateway, and the control unit obtains the operating status information of each slave device based on the clock pulse signal.
8. The power distribution cabinet monitoring method according to claim 1, characterized in that, The plurality of gateways further includes: an indicator light operation gateway, an indicator light fault gateway, and an indicator light communication gateway. Activating the indicator light module according to the parsing result information corresponding to each slave device includes: The control unit activates the indicator communication gateway, the indicator operation gateway, and / or the indicator fault gateway according to the parsing result information corresponding to each slave device, so as to drive the indicator module to display the corresponding indicator information.
9. An indicating device for a power distribution cabinet, characterized in that, The indicator device for the power distribution cabinet includes: an indicator light module, a control unit, a reset button, multiple gateways, and an installation component. The indicator light module, each of the gateways, and the reset button are all connected to the control unit. The reset button is also connected to each of the gateways. The control unit in the indicator device for the power distribution cabinet is also communicatively connected to each slave device in the power distribution cabinet and the centralized gateway in the host computer. The indicator device for the power distribution cabinet is installed on the power distribution cabinet via the installation component. The control unit is used to implement the steps of the power distribution cabinet monitoring method according to any one of claims 1-8.
10. The indicating device for a power distribution cabinet according to claim 9, characterized in that, The plurality of gateways includes: an external communication gateway, an internal communication gateway, a clock circuit gateway, an address DIP switch gateway, a baud rate DIP switch gateway, an indicator light operation gateway, an indicator light fault gateway, and an indicator light communication gateway. The external communication gateway, the internal communication gateway, the clock circuit gateway, the address DIP switch gateway, the baud rate DIP switch gateway, the indicator light operation gateway, the indicator light fault gateway, and the indicator light communication gateway are all connected to the control unit.