CN111858233B - Module attribute setting method and system for monitoring module - Google Patents

Module attribute setting method and system for monitoring module Download PDF

Info

Publication number
CN111858233B
CN111858233B CN202010553544.6A CN202010553544A CN111858233B CN 111858233 B CN111858233 B CN 111858233B CN 202010553544 A CN202010553544 A CN 202010553544A CN 111858233 B CN111858233 B CN 111858233B
Authority
CN
China
Prior art keywords
module
monitoring module
monitoring
setting
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010553544.6A
Other languages
Chinese (zh)
Other versions
CN111858233A (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tuobang Automation Technology Co ltd
Original Assignee
Shenzhen Tuobang Automation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tuobang Automation Technology Co ltd filed Critical Shenzhen Tuobang Automation Technology Co ltd
Priority to CN202010553544.6A priority Critical patent/CN111858233B/en
Publication of CN111858233A publication Critical patent/CN111858233A/en
Application granted granted Critical
Publication of CN111858233B publication Critical patent/CN111858233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02SGENERATION OF ELECTRIC POWER BY CONVERSION OF INFRARED RADIATION, VISIBLE LIGHT OR ULTRAVIOLET LIGHT, e.g. USING PHOTOVOLTAIC [PV] MODULES
    • H02S40/00Components or accessories in combination with PV modules, not provided for in groups H02S10/00 - H02S30/00
    • H02S40/30Electrical components
    • H02S40/34Electrical components comprising specially adapted electrical connection means to be structurally associated with the PV module, e.g. junction boxes
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02SGENERATION OF ELECTRIC POWER BY CONVERSION OF INFRARED RADIATION, VISIBLE LIGHT OR ULTRAVIOLET LIGHT, e.g. USING PHOTOVOLTAIC [PV] MODULES
    • H02S50/00Monitoring or testing of PV systems, e.g. load balancing or fault identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention relates to a method and a system for setting module attributes of a monitoring module, comprising the following steps: s1, any monitoring module is triggered to a trigger state; s2, the first monitoring module in the current triggering state receives module attribute data information broadcasted by the setting host, and sets module attributes according to the module attribute data information when the current response state identifier is the first state identifier; s3, the first monitoring module modifies the current response state identifier of the first monitoring module into a second state identifier after the setting is completed and generates a response instruction; s4, the host is set to receive the response instruction and update the attribute data information of the module; s5, triggering the other monitoring module to be in a triggering state, and sequentially executing the steps S2 to S4; and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring module are all set according to the response instruction. The method and the device can realize the equipment attribute setting of a plurality of monitoring modules efficiently and quickly, and the process is simple.

Description

Module attribute setting method and system for monitoring module
Technical Field
The present invention relates to the field of electronic communications technologies, and in particular, to a method and a system for setting module attributes of a monitoring module.
Background
In a photovoltaic solar power station, a plurality of converging monitoring units, namely photovoltaic converging monitoring modules, are generally required to monitor key information such as power generation current, converging voltage, alarm state and the like of a photovoltaic solar panel in real time so as to ensure the normal operation of the power station. In actual engineering, the photovoltaic confluence monitoring modules are basically connected in series by using an RS485 bus, and then are communicated with a local upper computer through an industry standard MODBUS-RTU communication protocol. As is well known, when the MODBUS-RTU communicates on the serial bus, each serial device must be configured with a unique address (e.g. 1-244) on the bus, and the serial device can receive and send normally only when the serial properties of the device, such as baud rate, are consistent, otherwise, the serial device is a black box relative to the host computer. However, in summary of the current equipment networking installation process, the photovoltaic busbar monitoring module is usually required to be installed in a busbar box before shipment, and the busbar box usually has a certain weight and volume because other primary power equipment can be wrapped. In construction, a power station usually has hundreds to thousands of junction boxes, and addresses of photovoltaic junction monitoring module devices in the junction boxes are set in advance, so that the junction boxes are extremely inconvenient in the actual installation and use processes,
in addition, solar power plants are often remote, and during construction, the handling is troublesome, and especially, the parameter modification of the power supply of the equipment before the formal use of the equipment is also troublesome. Therefore, the solar panel is used for supplying power after the junction box is installed on a construction site, and then a professional engineering technician uniformly modifies parameters according to user habits. However, in a solar power plant, hundreds to thousands of "photovoltaic confluence monitoring modules" are generally used according to the size of the solar power plant, and the solar power plant is scattered (the distance between two modules is different from 100 meters to 1000 meters), and the solar photovoltaic panel is installed relatively short, so that the solar power plant is in a high-pressure working environment, and engineering personnel cannot easily pass through, therefore, the working efficiency of engineering technicians is very low and the solar power plant is very unsafe.
Disclosure of Invention
The invention aims to solve the technical problems of the prior art and provides a method and a system for setting module attribute of a monitoring module.
The technical scheme adopted for solving the technical problems is as follows: a module attribute setting method for constructing a monitoring module, which is applied to a plurality of interconnected monitoring modules connected with the same setting host, the method comprising:
s1, any one of the monitoring modules is triggered to be switched from a default state to a trigger state;
s2, a first monitoring module in the current triggering state receives module attribute data information broadcasted by the setting host according to a first preset rule, and when the current response state identifier of the first monitoring module is a first state identifier, the module attribute of the first monitoring module is set according to the module attribute data information;
s3, the first monitoring module modifies the current response state identifier of the first monitoring module into a second state identifier after the module attribute is set, and generates a corresponding response instruction;
s4, the setting host receives the response instruction and updates the module attribute data information according to a second preset rule;
s5, triggering the other monitoring module into the triggering state according to a third preset rule, and sequentially executing the steps S2 to S4;
and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring modules are all set according to the response instruction.
Preferably, the module attribute data information includes module address information and interface attribute information;
in the step S2, the setting the module attribute of the first monitoring module according to the module attribute data information includes:
setting the module address of the first monitoring module according to the module address information and setting the interface attribute of the first monitoring module according to the interface attribute information.
Preferably, in the step S4, the updating the module attribute data information according to the second preset rule includes: the module address information is updated in an incremental or decremental manner.
Preferably, the module attribute setting method of the monitoring module of the present invention further includes:
s7, the setting host sets the interface attribute of the setting host according to the interface attribute information.
Preferably, the module attribute setting method of the monitoring module of the present invention further includes:
s0, setting the first triggered second monitoring module as the setting host, and setting the module address of the second monitoring module according to the corresponding initial address information.
Preferably, in the step S0, the setting, by the second monitoring module, a module address of the second monitoring module according to the corresponding initial address information includes:
reading default address information of the second monitoring module to set a module address of the second monitoring module according to the default address information of the second monitoring module; or (b)
And receiving a user instruction to acquire the initial address information and set a module address of the second monitoring module according to the user instruction.
Preferably, in the step S6, the determining, by the setting host, that the module attributes of the plurality of monitoring modules are all set according to the response instruction includes:
starting timing when the setting host receives the response instruction, and judging that the module attributes of the monitoring modules are all set when the next response instruction is not received when the timing time length meets the preset time length; or (b)
And the setting host counts the response instructions, and judges that the module attributes of the monitoring modules are all set up when the count meets the preset condition.
Preferably, in the step S1, the setting host broadcasts module attribute data information according to a first preset rule including:
and the setting host broadcasts the module attribute data information according to a first preset interval time.
Preferably, in the step S1, the setting host broadcasts module attribute data information according to a first preset rule further including:
and the setting host modifies the data attribute of the module attribute data information according to the second preset interval time.
Preferably, in the step S5, the triggering the other monitoring module to the triggering state according to a third preset rule includes: after the previous monitoring module is triggered to be in a triggering state, triggering the adjacent other monitoring module to be in the triggering state according to a third preset interval time.
Preferably, the monitoring module being in the default state includes the monitoring module being in a power-down state, and the monitoring module being in the trigger state includes the monitoring module being in a power-up state;
or (b)
The monitoring module is in the default state, the monitoring module is in a power-on state, the state identifier of the monitoring module is a first identifier, and the monitoring module is in the trigger state, the monitoring module is in the power-on state, and the state identifier of the monitoring module is a second identifier.
Preferably, the state identification of the monitoring module being a first identification includes the current response state identification of the monitoring module being a default state identification different from the first and second state identifications;
the state identification of the monitoring module being a second identification comprises that the current response state identification of the monitoring module is the first state identification or the second state identification, and the triggering of the monitoring module to be a triggering state comprises triggering the current response state identification of the monitoring module to be the first state identification.
Preferably, the module attribute setting method of the monitoring module of the present invention further includes:
triggering any first monitoring module to generate a first triggering instruction, wherein the setting host receives the first triggering instruction to stop broadcasting the module attribute data information; or (b)
Triggering the setting host to enable the setting host to generate a second triggering instruction to trigger to stop broadcasting the module attribute data information.
The invention also constructs a module attribute setting system of the monitoring module, which comprises: the system comprises a plurality of monitoring modules, a plurality of power supply modules respectively corresponding to the monitoring modules, a trigger control module respectively connected with the monitoring modules, and a setting host connected with the detecting modules through buses;
the triggering control module is used for controlling the monitoring module to be triggered sequentially according to a preset rule so as to enter a triggering state;
the setting host is used for broadcasting module attribute data information according to a first preset rule;
the monitoring module is used for acquiring a corresponding current response state identifier when the monitoring module is in the trigger state, setting a module attribute of the monitoring module when the current response state identifier is a first state identifier, modifying the current response state identifier into a second state identifier after the module attribute is successfully modified, and generating a corresponding response instruction;
the setting host is further configured to receive the response instruction, so that the setting host updates the module attribute data information according to a second preset rule according to the response instruction, and stops broadcasting the module attribute data information when it is determined that the module attributes of the plurality of monitoring modules are all set according to the response instruction.
Preferably, the method comprises the steps of,
the triggering control module comprises a power-on control module which is connected with the power supply module and the monitoring module and is used for controlling the power supply module to power on the monitoring module so as to enable the monitoring module to power on to enter the triggering state; or (b)
The triggering control module is also used for triggering the state identification of the monitoring module to be switched from the first identification to the second identification.
Preferably, the triggering control module is further configured to trigger the current response status identifier of the monitoring module to be a first status identifier.
Preferably, the method comprises the steps of,
the setting host comprises an upper computer or a monitoring module which firstly enters a triggering state; or (b)
The power supply module is a photovoltaic matrix, and the monitoring module is a confluence monitoring module.
The method and the system for setting the module attribute of the monitoring module have the following beneficial effects: the device attribute setting of a plurality of monitoring modules can be efficiently and rapidly realized, the process is simple, and the implementation cost is low.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a program flow diagram of an embodiment of a module attribute setting method for a monitoring module according to the present invention;
FIG. 2 is a program flow diagram of another embodiment of a module attribute setting method of a monitoring module according to the present invention;
FIG. 3 is a program flow diagram of another embodiment of a module attribute setting method of a monitoring module according to the present invention;
FIG. 4 is a logical block diagram of one embodiment of a module attribute setup system of a monitoring module of the present invention;
FIG. 5 is a logic block diagram of another embodiment of a module attribute setting system of a monitoring module of the present invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
As shown in fig. 1, in a first embodiment of a method for setting module attributes of a monitoring module according to the present invention, the method is applicable to a plurality of interconnected monitoring modules connected to the same setting host, and includes the steps of: s1, any one of a plurality of monitoring modules is triggered to be switched from a default state to a trigger state; s2, the first monitoring module in the current triggering state receives module attribute data information broadcasted by the setting host according to a first preset rule, and when the current response state identification of the first monitoring module is a first state identification, the module attribute of the first monitoring module is set according to the module attribute data information; s3, the first monitoring module modifies the current response state identifier of the first monitoring module into a second state identifier after the module attribute is set, and generates a corresponding response instruction; s4, the host is set to receive a response instruction, and module attribute data information is updated according to a second preset rule; s5, triggering another monitoring module into a triggering state according to a third preset rule, and sequentially executing the steps S2 to S4; and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring modules are all set according to the response instruction.
That is, the plurality of monitoring modules are connected to the setting host through a bus, that is, the plurality of monitoring modules can be connected to each other through a bus and to the setting host, and before the address setting is performed on the monitoring modules, the monitoring modules on the same bus are all set to a default state. When the monitoring module is set with the module attributes such as the module address of the monitoring module, any one of the monitoring modules is triggered to enter the triggering state from the default state. And defining the monitoring module in the current trigger state as a first monitoring module, wherein the first monitoring module receives module attribute data information broadcasted by the setting host according to a first preset rule. It can be understood that when the detection module address is set, before or after triggering the first monitoring module, the first monitoring module connected with the setting host broadcasts the module attribute data information, and after receiving the module attribute data information, the first monitoring module connected with the setting host acquires the current response state identifier inside the monitoring module to judge, and when the current response state identifier inside the monitoring module is the first state identifier, the first monitoring module responds to the received module attribute data, and sets the corresponding module attribute according to the module attribute data. After the module attribute setting is completed, the monitoring module modifies the current response identifier into a second state identifier and generates a corresponding response instruction for completing the module attribute setting. The response instructions may be broadcast on the same bus in broadcast form. After the setting host receives the response instruction, the module attribute data information is updated according to a certain rule, namely a second preset rule, so that the module attribute of the next monitoring module is set. The next monitoring module may be a monitoring module triggered to be in a triggered state according to a third preset rule, and after the next monitoring module is triggered, the setting of the module attribute of the monitoring module is sequentially performed according to the above steps. And sequentially performing, in the process of setting the module attributes of the monitoring modules, stopping broadcasting the module attribute data information when the host receives the response instruction and judges that the module attributes of a plurality of monitoring modules are set according to the received response instruction, namely finishing the setting of the module attributes of the monitoring modules. According to the above process, after each monitoring module is triggered, the module attribute of the monitoring module is set, the module attribute of each monitoring module is different, and the monitoring modules and the corresponding module attribute are in a one-to-one correspondence relationship, so that when the monitoring modules on the same bus are operated, the specific monitoring module can be identified to perform the required operation.
Further, the module attribute data information includes module address information and interface attribute information; in step S2, setting module attributes of the first monitoring module according to the module attribute data information, including: setting the module address of the first monitoring module according to the module address information and setting the interface attribute of the first monitoring module according to the interface attribute information. Specifically, the module attribute of the monitoring module may be defined as module address information of the monitoring module and interface attribute information of the monitoring module, when the monitoring module receives the module attribute information, the module address of the monitoring module is set according to the module address information, and meanwhile, the interface attribute of the monitoring module is set according to the interface attribute information, where the interface attribute may include the baud rate, stop bit and other common characteristics of the interface. It can be understood that, in order to realize the convenience of data transmission on the same bus, the set interface attribute information can be fixed, that is, the interface attributes of all the monitoring modules are set to be the same interface attribute.
On the above basis, in step S4, updating the module attribute data information according to the second preset rule includes: the module address information is updated in an incremental or decremental manner. That is, after confirming that the module attribute of the current monitoring module is set, the setting host may update the module address information in an incremental or decremental manner to obtain updated module attribute data information, and rebroadcast the updated module attribute data information to set the module attribute of the next monitoring module.
As shown in fig. 2, in an embodiment, after the host is set to stop broadcasting the module attribute data information, the following steps are further performed, and S7, the host is set to set the interface attribute of the host according to the interface attribute information. That is, after the setting host determines that the setting of the module attribute of all the monitoring modules is completed, the setting host may set the interface attribute of the setting host to be the same as the interface attribute of the monitoring module, that is, the setting host sets its own interface attribute according to the interface attribute information in the module attribute data information for broadcasting and defining the monitoring module, so as to facilitate the data communication between the setting host and each monitoring module.
As shown in fig. 3, in an embodiment, a module attribute setting method of a monitoring module of the present invention further includes: s0, setting a first triggered second monitoring module as a setting host, and setting a module address of the second monitoring module according to corresponding initial address information. Specifically, any monitoring module may be set as the setting host, that is, it may select the monitoring module that is triggered first, that is, the second monitoring module, to be set as the setting host. When the monitoring module is triggered to set up the host, the monitoring module can firstly set up the module address according to the corresponding initial address information, and simultaneously, the monitoring module starts to broadcast module attribute information data as the set host so as to set up corresponding module attributes of other monitoring modules.
Optionally, on the above basis, the second monitoring module sets a module address thereof according to the corresponding initial address information, including: reading default address information of the second monitoring module to set a module address of the second monitoring module according to the default address information of the second monitoring module; or receiving a user instruction to acquire initial address information and set a module address of the second monitoring module according to the user instruction. That is, in an embodiment, when the second monitoring module is set to set the host, it sets its module address according to the initial address information and may set its module address according to the default address information in the second detection module. In another embodiment, the initial address information may also be determined by the user instruction according to the user instruction received by the second monitoring module, so as to set the address of the second monitoring module.
In one embodiment, in step S6, the setting host determines that the module attributes of the plurality of monitoring modules are all set according to the response instruction includes: starting timing when the host computer is set to receive the response instruction, and judging that the module attributes of the monitoring modules are all set when the next response instruction is not received when the timing time length meets the preset time length; that is, the process of setting the host to receive the response instruction to determine that all the module attributes of the monitoring modules have been set may be to start timing after the host receives the response instruction, to end the current timing after receiving the next response instruction, and to perform new timing. The normal condition is that the monitoring modules are triggered one by one and the module attribute setting is carried out, the host is set to receive response instructions of the corresponding monitoring modules one by one until the response instruction of the last monitoring module is received, after the response instruction is received, the next response instruction can not be received within a longer time, at this time, all the monitoring modules can be judged to have completed the module attribute setting, and the host is set to stop broadcasting module attribute data information, namely, the module attribute setting of the monitoring modules is stopped.
In one embodiment, in step S6, the setting host determines that the module attributes of the plurality of monitoring modules are all set according to the response instruction includes: and the host is set to count the response instructions, and the module attributes of the monitoring modules are judged to be set completely when the count meets the preset condition. The number of the monitoring modules can be obtained, the host is set according to the number of times of obtaining the response instructions, when the number of times of obtaining the response instructions is consistent with the number of the monitoring modules, the host can judge that the monitoring modules all complete the module attribute setting, and the host stops broadcasting the module attribute data information, namely, stops the module attribute setting of the monitoring modules. It is understood that the number of monitoring modules may be set by user instructions, and when the host is set as the second monitoring module, it may reject the second monitoring module into the count of monitoring modules.
In one embodiment, in step S1, the setting host broadcasts module attribute data information according to a first preset rule includes: the host is set to broadcast the module attribute data information according to the first preset interval time. When the host is set to broadcast the module attribute data information, the host can broadcast the module attribute data information at certain intervals. That is, the module attribute data information is broadcast once at intervals to wait for a response instruction confirming whether the monitoring module replies, and if not, the module attribute data information is broadcast once again. It may also broadcast according to a predetermined interval time without actually having a reply instruction, and broadcast according to the same interval time after receiving a response instruction replied by the monitoring module and updating the module attribute data information. The broadcast rule may be preset.
Further, on the above basis, in step S1, the setting host broadcasting the module attribute data information according to the first preset rule further includes: and the host is set to modify the data attribute of the module attribute data information according to the second preset interval time. That is, in some application scenarios, the monitoring modules may be different monitoring modules, that is, the data protocols followed by the monitoring modules are different, the default interface attribute of the obtained monitoring module may be different from the default interface attribute of the setting host, when the setting host broadcasts data according to the default interface attribute, part of the monitoring modules may not receive the data, when the setting host broadcasts the module attribute data information, the interface attribute of the setting host may be modified to be different in sequence, and when the interface attribute of the setting host is updated once, the module attribute data information is broadcast once, and when the interface attribute of the setting host is consistent with the interface attribute of the first monitoring module, the first monitoring module can receive the broadcast information of the setting host and set. And simultaneously, the response instruction of the first monitoring module is returned to the setting host, and when the setting host receives the response instruction to set the module attribute of the next monitoring module, the interface attribute of the setting host is sequentially modified into different interface attributes again according to the same rule, and the process is repeated.
In one embodiment, in step S5, triggering another monitoring module to a triggering state according to a third preset rule includes: after the previous monitoring module is triggered to be in a triggering state, triggering the adjacent other monitoring module to be in a triggering state according to a third preset interval time. That is, the monitoring modules are triggered sequentially at a certain time interval, and the triggering process of the monitoring modules can also be triggered sequentially according to the installation position sequence of the monitoring modules. The ordering of the module addresses of the monitoring modules and the ordering of the installation positions of the monitoring modules can be formed into corresponding relations.
In an embodiment, the monitoring module being in a default state includes the monitoring module being in a powered-down state, and the monitoring module being in a trigger state includes the monitoring module being in a powered-up state; the monitoring modules are powered on, so that the monitoring modules are powered on to enter a powered-on state, namely, the triggering state is corresponding to the powered-on state. The sequential triggering process of the monitoring module is a sequential power-on process of the monitoring module.
In an embodiment, the monitoring module being in a default state includes the monitoring module being in a powered-on state and the state identifier of the monitoring module being a first identifier, the monitoring module being in a triggered state includes the monitoring module being in a powered-on state and the state identifier of the monitoring module being a second identifier. The monitoring module is in a power-on state, a state identifier is arranged in the monitoring module, and the monitoring module is in a default state when the state identifier is a default identifier, namely a first identifier. At this time, the monitoring module does not receive the module attribute data information broadcast by the set host even in the power-on state. Triggering the monitoring module to switch the state identifier of the monitoring module into a second identifier, wherein the monitoring module is still in a power-on state at the moment, can receive the module attribute data information broadcasted by the set host, and judges whether to respond to the module attribute data.
Optionally, the state identification of the monitoring module being the first identification includes the current response state identification of the monitoring module being a default state identification different from the first state identification and the second state identification; the state identification of the monitoring module being the second identification comprises that the current response state identification of the monitoring module is the first state identification or the second state identification, and triggering the monitoring module to be the triggering state comprises that the current response state identification of the monitoring module is the first state identification. The state identifier of the monitoring module may be represented by a current response state identifier of the monitoring module, that is, when the current response state identifier of the monitoring module is a default state identifier different from the first state identifier and the second state identifier, that is, the first identifier corresponding to the state identifier of the monitoring module, so as to confirm that the monitoring module is in the default state. Meanwhile, when the state identifier of the monitoring module is represented by the current response state identifier of the monitoring module, namely when the current response state identifier of the monitoring module is the first state identifier or the second state identifier, namely the second identifier corresponding to the state identifier of the monitoring module, the monitoring module is confirmed to be in a triggering state. When the trigger monitoring module is in a trigger state, the trigger monitoring module can trigger the current response state of the monitoring module to be a first state identifier.
In an embodiment, a method for setting module attribute of a monitoring module according to the present invention further includes: triggering any first monitoring module to generate a first triggering instruction, and setting a host to receive the first triggering instruction to stop broadcasting module attribute data information; that is, in the module attribute setting process of the monitoring module, the module attribute setting process of the whole monitoring module can be ended by triggering any first monitoring module to generate a first triggering instruction. The setting host can receive a first trigger instruction generated by any first monitoring module to stop broadcasting the module attribute data information.
In an embodiment, a method for setting module attribute of a monitoring module according to the present invention further includes: triggering the setup host to cause the setup host to generate a second trigger instruction to trigger to stop broadcasting the module attribute data information. That is, in the module attribute setting process of the monitoring module, the setting host can be triggered to end the module attribute setting process of the whole monitoring module, that is, the setting host generates a second trigger instruction to stop broadcasting module attribute data information.
In addition, as shown in fig. 4, a module attribute setting system of a monitoring module of the present invention includes: the system comprises a plurality of monitoring modules 120, a plurality of power supply modules 130 respectively corresponding to the monitoring modules 120, a trigger control module 140 respectively connected with the monitoring modules 120, and a setting host 110 connected with the monitoring modules 120 through buses; the trigger control module 140 is configured to control the monitoring module 120 to be sequentially triggered to enter a trigger state according to a preset rule; the host 110 is configured to broadcast module attribute data information according to a first preset rule; the monitoring module 120 is configured to obtain a corresponding current response state identifier when the current response state identifier is a trigger state, set a module attribute of the monitoring module 120 when the current response state identifier is a first state identifier, and modify the current response state identifier to be a second state identifier and generate a corresponding response instruction after the module attribute is successfully modified; the setting host 110 is further configured to receive a response instruction, so that the setting host 110 updates the module attribute data information according to a second preset rule according to the response instruction, and stops broadcasting the module attribute data information when it is determined that the module attributes of the plurality of monitoring modules 120 are all set according to the response instruction.
In an embodiment, the trigger control module 140 includes a power-on control module connected to the power supply module 130 and the monitoring module 120 for controlling the power supply module 130 to power on the monitoring module 120 so that the monitoring module 120 is powered on to enter a trigger state; in another embodiment, the trigger control module 140 is further configured to trigger the state identifier of the monitoring module 120 to switch from the first identifier to the second identifier. Specifically, the trigger control module 140 may trigger the current response state identifier of the monitoring module 120 to be the first state identifier. That is, the plurality of monitoring modules 120 are correspondingly connected with the plurality of monitored devices 150, the host 110 and the plurality of monitoring modules 120 are connected through buses, the triggering control module 140 controls the monitoring modules to trigger, the monitoring modules 120 correspond to the power supply modules 130, and the power supply modules 130 can provide power supply voltages for the monitoring modules 120. The module attribute setting of the monitoring module 120 thereof may be set with reference to the module attribute setting method of the monitoring module described above. And will not be described in detail herein.
In one embodiment, the host 110 includes a host computer or a monitoring module that first enters a trigger state; when the monitoring module is selected as the setting host 110, it may specifically set the module attributes of all the monitoring modules according to the module attributes of the monitoring modules described above.
In one embodiment, as shown in fig. 5, the power supply module 130 is a photovoltaic array, and the monitoring module 120 is a bus monitoring module. The connection between the host 110 and the monitoring module 120 is set to be connected through a serial bus, and the serial port can be an RS485 interface. That is, in solar power distribution engineering, the monitoring module 120 is a junction monitoring module, which is also referred to as a photovoltaic junction monitoring module. The converging monitoring module is used for monitoring the working characteristics of the photovoltaic square matrix, namely the monitored equipment corresponding to the monitoring module is the solar photovoltaic square matrix. Meanwhile, each photovoltaic confluence monitoring module is provided with an independent power supply, the power supply is connected to a nearby solar panel through an independent switch S1, and in the construction process, all the switches S1 are disconnected, namely the photovoltaic confluence monitoring modules are not powered and are in a non-working state. After the construction is completed, the switch S1 needs to be closed one by one to supply power to the photovoltaic confluence monitoring module. It is understood that the power supply module 130 for supplying power to the monitoring module 120 is disposed on the photovoltaic array, and may be understood as supplying power to the monitoring module simultaneously when monitored through the photovoltaic array. In the module attribute setting system of the monitoring module, the specific process of module attribute setting of the converging monitoring module is as follows: after wiring is completed, before the control module is triggered to control switching-on to electrify the confluence monitoring module, the upper computer is used as a setting host, and the upper computer is connected with the confluence monitoring module through a bus. The setting host operates first, the bus monitoring module is not electrified, the setting host broadcasts setting messages, namely module attribute data information, on a bus at certain time intervals, for example, 100ms, and the setting messages comprise serial port attributes such as baud rate and the equipment address needing to be set currently. In order to prevent the serial port attributes of the setting host and the bus monitoring module from being inconsistent, the setting host sets the setting host to be different in serial port attribute such as different baud rates at a certain time interval, for example, 100ms, before the setting host receives the response message, namely, the response instruction. When any one of the bus monitoring modules is powered on in a closing state, the bus monitoring module enters a trigger state, and the response state st of the bus monitoring module is set to 0. Only the bus monitoring module with the response state st of 0 responds to the setting message, and after the response is completed, the response state is modified to be the responded setting message, namely, the response state st=1. In this way, only the new bus monitoring module powered on by closing the switch S1 will respond to the setting message broadcast by the setting host. Meanwhile, it should be noted that when the convergence monitoring module receives the setting message sent by the setting host and can be resolved correctly, the setting host and the serial port attribute of the convergence monitoring module are consistent, and the response to the setting message can be achieved. And the convergence monitoring module modifies the equipment address and the serial port attribute of the local device according to the set message. The bus monitoring module modifies the response state of the local device to be a response set message, namely, the response state st=1, and the response set message is not responded any more next time. After receiving the reply message of the confluence monitoring module, the host changes the device address in the set message into the device address of the next confluence monitoring module, and usually calculates the device address of the next confluence monitoring module according to a certain rule, for example, accumulation 1. And repeatedly setting the device address of the next confluence monitoring module until the setting is completed or the host computer is abnormally exited, setting the host computer to exit the setting mode, and setting the host computer to have serial port attributes unified with the confluence monitoring module. It should be noted that, in the process of triggering the bus monitoring module in sequence, when the setting process is normally finished, it is indicated that all devices on the bus can normally receive and transmit messages. When the setting process is abnormal, the number of the confluence monitoring modules can be conveniently known to be abnormal. In order to increase reliability, the triggering of the bus monitoring module can also be performed by performing state confirmation on the bus monitoring module, that is, the bus monitoring module is not in a triggering state when being powered on, and can be confirmed to be in the triggering state only after the state of the bus monitoring module is set. Therefore, the secondary setting after the equipment is restarted and powered on can be avoided.
It is to be understood that the above examples only represent preferred embodiments of the present invention, which are described in more detail and are not to be construed as limiting the scope of the invention; it should be noted that, for a person skilled in the art, the above technical features can be freely combined, and several variations and modifications can be made without departing from the scope of the invention; therefore, all changes and modifications that come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims (17)

1. A module attribute setting method of a monitoring module, which is applied to a plurality of interconnected monitoring modules connected to the same setting host, the method comprising:
s1, any one of the monitoring modules is triggered to be switched from a default state to a trigger state; the monitoring module is in a default state and comprises the monitoring module is in a power-down state, and the monitoring module is in a trigger state and comprises the monitoring module is in a power-up state;
s2, a first monitoring module in the current triggering state receives module attribute data information broadcasted by the setting host according to a first preset rule, and when the current response state identifier of the first monitoring module is a first state identifier, the module attribute of the first monitoring module is set according to the module attribute data information;
s3, the first monitoring module modifies the current response state identifier of the first monitoring module into a second state identifier after the module attribute is set, and generates a corresponding response instruction;
s4, the setting host receives the response instruction and updates the module attribute data information according to a second preset rule;
s5, triggering the other monitoring module into the triggering state according to a third preset rule, and sequentially executing the steps S2 to S4;
and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring modules are all set according to the response instruction.
2. The module attribute setting method of a monitoring module according to claim 1, wherein the module attribute data information includes module address information and interface attribute information;
in the step S2, the setting the module attribute of the first monitoring module according to the module attribute data information includes: setting a module address of the first monitoring module according to the module address information and setting an interface attribute of the first monitoring module according to the interface attribute information.
3. The method for setting module attribute of monitoring module according to claim 2, wherein in the step S4, the updating the module attribute data information according to the second preset rule includes: the module address information is updated in an incremental or decremental manner.
4. The module attribute setting method of a monitoring module according to claim 2, characterized in that the method further comprises: s7, the setting host sets the interface attribute of the setting host according to the interface attribute information.
5. The module attribute setting method of a monitoring module according to claim 2, characterized in that the method further comprises: s0, setting the first triggered second monitoring module as the setting host, and setting the module address of the second monitoring module according to the corresponding initial address information.
6. The method for setting module attribute of monitoring module according to claim 5, wherein in the step S0, the second monitoring module sets its module address according to the corresponding initial address information, comprising:
reading default address information of the second monitoring module to set a module address of the second monitoring module according to the default address information of the second monitoring module; or (b)
And receiving a user instruction to acquire the initial address information and set a module address of the second monitoring module according to the user instruction.
7. The method for setting module attributes of monitoring modules according to claim 1, wherein in step S6, the setting host determines that the setting of module attributes of the plurality of monitoring modules is completed according to the response instruction comprises:
starting timing when the setting host receives the response instruction, and judging that the module attributes of the monitoring modules are all set when the next response instruction is not received when the timing time length meets the preset time length; or (b)
And the setting host counts the response instructions, and judges that the module attributes of the monitoring modules are all set up when the count meets the preset condition.
8. The method for setting module attribute of monitoring module according to claim 1, wherein in the step S1, the setting host broadcasts module attribute data information according to a first preset rule, comprising:
and the setting host broadcasts the module attribute data information according to a first preset interval time.
9. The method for setting module attribute of monitoring module according to claim 8, wherein in the step S1, the setting host broadcasts module attribute data information according to a first preset rule further comprising:
and the setting host modifies the data attribute of the module attribute data information according to a second preset interval time.
10. The method according to claim 1, wherein in the step S5, the step of causing another monitoring module to be triggered to the trigger state according to a third preset rule includes: after the previous monitoring module is triggered to be in a triggering state, triggering the adjacent other monitoring module to be in the triggering state according to a third preset interval time.
11. The method for setting module properties of a monitoring module according to claim 1, wherein,
the monitoring module is in the default state and further comprises a first identifier of the state identifier of the monitoring module, and the monitoring module is in the trigger state and further comprises a second identifier of the state identifier of the monitoring module.
12. The method for setting module attributes of a monitoring module according to claim 11, wherein,
the state identification of the monitoring module is a first identification, and the current response state identification of the monitoring module is a default state identification different from the first state identification and the second state identification;
the state identification of the monitoring module being a second identification comprises that the current response state identification of the monitoring module is the first state identification or the second state identification, and the triggering of the monitoring module to be a triggering state comprises triggering the current response state identification of the monitoring module to be the first state identification.
13. The module attribute setting method of a monitoring module according to claim 1, characterized in that the method further comprises:
triggering any first monitoring module to generate a first triggering instruction, wherein the setting host receives the first triggering instruction to stop broadcasting the module attribute data information; or (b)
Triggering the setting host to enable the setting host to generate a second triggering instruction to trigger to stop broadcasting the module attribute data information.
14. A module attribute setting system of a monitoring module, comprising: the system comprises a plurality of monitoring modules, a plurality of power supply modules respectively corresponding to the monitoring modules, a trigger control module respectively connected with the monitoring modules, and a setting host connected with the detecting modules through buses;
the triggering control module is used for controlling the monitoring module to be triggered sequentially according to a preset rule so as to enter a triggering state;
the triggering control module comprises a power-on control module which is connected with the power supply module and the monitoring module and is used for controlling the power supply module to power on the monitoring module so as to enable the monitoring module to power on to enter the triggering state;
the setting host is used for broadcasting module attribute data information according to a first preset rule;
the monitoring module is used for acquiring a corresponding current response state identifier when the monitoring module is in the trigger state, setting a module attribute of the monitoring module when the current response state identifier is a first state identifier, modifying the current response state identifier into a second state identifier after the module attribute is successfully modified, and generating a corresponding response instruction;
the setting host is further configured to receive the response instruction, so that the setting host updates the module attribute data information according to a second preset rule according to the response instruction, and stops broadcasting the module attribute data information when it is determined that the module attributes of the plurality of monitoring modules are all set according to the response instruction.
15. The module attribute setting system of the monitoring module according to claim 14, wherein,
the triggering control module is also used for triggering the state identification of the monitoring module to be switched from the first identification to the second identification.
16. The module attribute setting system of claim 15 wherein the trigger control module is further configured to trigger a current response status identifier of the monitoring module to be a first status identifier.
17. The module attribute setting system of the monitoring module according to claim 14, wherein,
the setting host comprises an upper computer or a monitoring module which firstly enters a triggering state; or (b)
The power supply module is a photovoltaic matrix, and the monitoring module is a confluence monitoring module.
CN202010553544.6A 2020-06-17 2020-06-17 Module attribute setting method and system for monitoring module Active CN111858233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010553544.6A CN111858233B (en) 2020-06-17 2020-06-17 Module attribute setting method and system for monitoring module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010553544.6A CN111858233B (en) 2020-06-17 2020-06-17 Module attribute setting method and system for monitoring module

Publications (2)

Publication Number Publication Date
CN111858233A CN111858233A (en) 2020-10-30
CN111858233B true CN111858233B (en) 2023-05-12

Family

ID=72987852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010553544.6A Active CN111858233B (en) 2020-06-17 2020-06-17 Module attribute setting method and system for monitoring module

Country Status (1)

Country Link
CN (1) CN111858233B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291130B (en) * 2020-12-03 2022-04-01 国创移动能源创新中心(江苏)有限公司 Networking system and method of field bus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260379A (en) * 2004-03-09 2005-09-22 Nec Corp Digital broadcasting system
CN102202284B (en) * 2011-04-29 2013-06-12 电信科学技术研究院 Method for sending Minimization Driving Test measure configuration parameter, system and equipment thereof
CN104954534B (en) * 2014-03-24 2019-03-15 腾讯科技(深圳)有限公司 Control method, device and the corresponding communication terminal of communication terminal
CN105577412A (en) * 2014-10-17 2016-05-11 中兴通讯股份有限公司 Monitoring method, device and system of terminal equipment
CN206412986U (en) * 2017-01-24 2017-08-15 南京新联电子股份有限公司 Photovoltaic conflux monitoring terminal
US10129084B1 (en) * 2017-08-17 2018-11-13 CallFire, Inc. Centralized parameter management system

Also Published As

Publication number Publication date
CN111858233A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN108400908B (en) Automatic checking and accepting method for monitoring information of transformer substation
CN111147619B (en) Method and system for realizing automatic address allocation of RS485 slave equipment locally
CN106878488A (en) A kind of Modbus RTU bus address auto-allocation methods
CN104460346A (en) Feeder automation action logic test method based on power distribution terminal service verification
CN103391210A (en) ID distribution system and method of CAN bus network
CN101609407A (en) Detection method based on the full station model file coupling of publisher/subscriber's pattern
CN111858233B (en) Module attribute setting method and system for monitoring module
CN106302032B (en) A kind of point-to-multipoint poll means of communication
CN104486182A (en) Serial Modbus communication extending method
CN105140886A (en) Protective relaying system and method for gathering data using thereof
CN109284121A (en) The method and system of accumulation power supply multistage network multi-control apparatus synchronized update program
EP3419302B1 (en) Management system, management method, operation terminal, and control apparatus
CN101873179B (en) Monitoring method and monitoring device of indoor covering system
WO2012079729A2 (en) Monitoring inverters in a photovoltaic system
CN113347070A (en) Intelligent building field bus ad hoc network method and system
CN107942701A (en) appliance control system and method based on internet of things
CN105333574A (en) Identification method for connection mode of base station air-conditioning system and base station air-conditioning system
CN110493338A (en) A kind of equipment mutual control method, system and computer readable storage medium
JP2006295585A (en) Method for setting address of communication terminal and communication terminal inspection device utilizing method
CN114465843A (en) System and method for automatically configuring field device ID based on CAN bus
CN112367250A (en) Internet of things multi-protocol gateway
CN110749032B (en) Operation control method and device, air conditioner and storage medium
CN117202465B (en) Control method for indoor weak current illumination safety power supply
JP4382028B2 (en) Communication system and communication method thereof
CN116996341B (en) Device management method, device, terminal device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211201

Address after: 518000 floor 7, Kangrong Industrial Park, weitangtou Avenue, Shixin residence, Langxin community, Shiyan street, Bao'an District, Shenzhen, Guangdong

Applicant after: SHENZHEN TUOBANG AUTOMATION TECHNOLOGY Co.,Ltd.

Address before: Room 413, block B, Tsinghua University Research Institute, high tech Industrial Park, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN TOPBAND Co.,Ltd.

GR01 Patent grant
GR01 Patent grant