CN111858233A - 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
CN111858233A
CN111858233A CN202010553544.6A CN202010553544A CN111858233A CN 111858233 A CN111858233 A CN 111858233A CN 202010553544 A CN202010553544 A CN 202010553544A CN 111858233 A CN111858233 A CN 111858233A
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.)
Granted
Application number
CN202010553544.6A
Other languages
Chinese (zh)
Other versions
CN111858233B (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 Topband 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 Topband Co Ltd filed Critical Shenzhen Topband 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)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

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

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 confluence monitoring units, namely photovoltaic confluence monitoring modules, are usually required to monitor key information such as the generation current, the confluence voltage and the alarm state of a photovoltaic solar panel at any time so as to ensure the normal operation of the power station. In actual engineering, the photovoltaic confluence monitoring modules are basically grouped and connected in series by an RS485 bus, and then communicated with a local upper computer through an industrial standard MODBUS-RTU communication protocol. As is known, when a MODBUS-RTU communicates on a serial bus, each serial device must be configured with a unique address (e.g., 1-244) on the bus, and the serial device can normally transmit and receive data only when the serial device serial attributes, such as baud rate, are set to be consistent, otherwise, the serial device is a black box with respect to an upper computer. However, in the current equipment networking installation process, the photovoltaic junction monitoring module is generally required to be installed in a junction box before shipment, and the junction box generally has certain weight and volume because other primary electric equipment can be wrapped. During construction, one power station usually has hundreds to thousands of junction boxes, and addresses of photovoltaic junction monitoring module equipment in the power station are set in advance, which is very inconvenient in the actual installation and use process,
In addition, the solar power station is usually remote, and is troublesome to carry in the construction process, and especially troublesome to modify parameters of equipment power supply before the equipment is formally used. Therefore, after the combiner box is installed on a construction site, the solar panel supplies power, and then a professional engineering technician uniformly modifies parameters according to user habits. However, in a solar power station, hundreds to thousands of "photovoltaic confluence monitoring modules" are generally used according to the size of the power station, and are distributed very dispersedly (the distance between two modules is different from 100 meters to 1000 meters), and in addition, the solar photovoltaic panel is installed to be short and is in a high-pressure working environment, and the engineering personnel cannot easily pass through the solar power station, so that the working efficiency of engineering technicians is very low, and the solar power station is very unsafe.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for setting module attributes of a monitoring module, aiming at some technical defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a module attribute setting method for constructing a monitoring module is applied to a plurality of interconnected monitoring modules connected with the same setting host, and comprises the following steps:
S1, any monitoring module in the monitoring modules is triggered to switch from a default state to a trigger state;
s2, the first monitoring module in the trigger state receives module attribute data information broadcasted by the setting host according to a first preset rule, and sets the module attribute of the first monitoring module according to the module attribute data information when the current response state identifier of the first monitoring module is a 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 module attribute setting is finished 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 another monitoring module to the triggered state according to a third preset rule, and executing the steps S2 to S4 in sequence;
and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring modules are set according to the response instruction.
Preferably, the module attribute data information includes module address information and interface attribute information;
In step S2, the setting the module attribute of the first monitoring module according to the module attribute data information includes:
and 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 step S4, the updating the module attribute data information according to the second preset rule includes: the module address information is updated in an increasing or decreasing manner.
Preferably, the method for setting module attributes of a monitoring module according to the present invention further includes:
and S7, the setting host sets the interface attribute of the setting host according to the interface attribute information.
Preferably, the method for setting module attributes of a monitoring module according to 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 step S0, the setting, by the second monitoring module, the module address according to the corresponding initial address information includes:
reading the default address information of the second monitoring module to set the module address of the second monitoring module according to the default address information of the second monitoring module; or
And receiving a user instruction to acquire the initial address information according to the user instruction and set the module address of the second monitoring module.
Preferably, in step S6, the determining, by the setting host according to the response instruction, that the setting of the module attributes of the monitoring modules is completed includes:
counting time from when the setting host receives the response instruction, and judging that the module attributes of the monitoring modules are all set when the counting time length meets the preset time length and the next response instruction is not received; or
And the setting host counts the response instructions and judges that the module attributes of the monitoring modules are set completely when the count meets a preset condition.
Preferably, in the step S1, the setting host broadcasting the module attribute data information according to a first preset rule includes:
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 broadcasting the module attribute data information according to the first preset rule further includes:
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 another monitoring module into the triggering state according to a third preset rule includes: and after the previous monitoring module is triggered to be in a triggering state, triggering another adjacent 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-off state, and the monitoring module being in the trigger state includes the monitoring module being in a power-on state;
or
The monitoring module is in the default state, the monitoring module is in a power-on state, the state identification of the monitoring module is a first identification, and the monitoring module is in the trigger state, the monitoring module is in the power-on state, and the state identification of the monitoring module is a second identification.
Preferably, the status identification of the monitoring module being a first identification comprises the current response status identification of the monitoring module being a default status identification different from the first status identification and the second status identification;
the state identifier of the monitoring module is the second identifier, the current response state identifier of the monitoring module is the first state identifier or the second state identifier, and the triggering of the monitoring module to enable the monitoring module to be in the triggering state comprises the triggering of the current response state identifier of the monitoring module to be the first state identifier.
Preferably, the method for setting module attributes of a monitoring module according to 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
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.
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, trigger control modules respectively connected with the monitoring modules, and a setting host connected with the plurality of detection modules through buses;
the trigger control module is used for controlling the monitoring modules to be sequentially triggered according to a preset rule so as to enter a trigger 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, and modifying the current response state identifier into a second state identifier and generating a corresponding response instruction after the module attribute is modified successfully;
The setting host is further configured to receive the response instruction, so that the setting host updates the module attribute data information according to the response instruction and according to a second preset rule, and stops broadcasting the module attribute data information when it is determined that the module attributes of the monitoring modules are all set according to the response instruction.
Preferably, the first and second electrodes are formed of a metal,
the trigger 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 be powered on to enter the trigger state; or
The trigger control module is further used for triggering the state identifier of the monitoring module to be switched from the first identifier to the second identifier.
Preferably, the trigger control module is further configured to trigger that the current response status identifier of the monitoring module is a first status identifier.
Preferably, the first and second electrodes are formed of a metal,
the setting host comprises an upper computer or a monitoring module which enters a triggering state at the earliest stage; or
The power supply module is a photovoltaic array, and the monitoring module is a confluence monitoring module.
The implementation of the method and the system for setting the module attribute of the monitoring module has the following beneficial effects: the device property setting of the monitoring modules of a plurality of numbers can be realized efficiently and quickly, 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 flowchart illustrating a module property setting method of a monitoring module according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for setting module attributes of a monitoring module according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for setting module attributes of a monitoring module according to another embodiment of the present invention;
FIG. 4 is a logical block diagram of one embodiment of a module property setting system of a monitoring module of the present invention;
FIG. 5 is a logic block diagram of another embodiment of a module property setting system of a monitoring module of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail 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 applied to a plurality of interconnected monitoring modules connected to a same setting host, and includes the steps of: s1, any monitoring module in the monitoring modules is triggered to switch from the default state to the trigger state; s2, the first monitoring module in the trigger state receives the module attribute data information broadcasted by the setting host according to the first preset rule, and sets the module attribute of the first monitoring module according to the module attribute data information when the current response state identifier of the first monitoring module is the first state identifier; s3, the first monitoring module modifies the current response state identification as the second state identification after the module attribute setting is completed 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 another monitoring module to be in a triggering state according to a third preset rule, and executing the steps S2 to S4 in sequence; and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring modules are set completely according to the response instruction.
That is, a plurality of monitoring modules form an interconnected relationship with the setting host through the bus, that is, a plurality of monitoring modules can be interconnected through the bus and connected with the setting host, and before address setting is performed on the monitoring modules, the monitoring modules on the same bus are all set to be in a default state. When module attributes such as module addresses of the monitoring modules and the like are set for the monitoring modules, any one of the monitoring modules is triggered first to enter a triggering state from a default state. And defining the monitoring module which is in a trigger state at present as a first monitoring module, and receiving module attribute data information broadcasted by the setting host according to a first preset rule by the first monitoring module. It can be understood that, when the detection module address is set, before or after the first monitoring module is triggered, the host starts to broadcast the module attribute data information, and after the first monitoring module connected to the setting host receives the module attribute data information, the current response status identifier inside the monitoring module is obtained to perform judgment, and when the current response status identifier inside the monitoring module is the first status identifier, the monitoring module responds to the received module attribute data, and sets the corresponding module attribute according to the module attribute data. After completing the setting of the module attribute, the monitoring module modifies the current response identifier to be the second state identifier, and generates a corresponding response instruction for completing the setting of the module attribute. The response instruction may be broadcast in a broadcast form on the same bus. And after receiving the response instruction, the setting host updates the module attribute data information according to a certain rule, namely a second preset rule, so as to set the module attribute of the next monitoring module. 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 module attribute setting of the monitoring module is sequentially performed according to the above steps. And in the process of setting the module attributes of the monitoring modules, when the setting host receives the response instruction and judges that the module attributes of the monitoring modules are all set according to the received response instruction, the broadcasting of the module attribute data information is stopped, and the setting of the module attributes of the monitoring modules is finished. According to the process, after each monitoring module is triggered, the module attributes of the monitoring module are set, the module attributes of each monitoring module are different, the monitoring modules and the corresponding module attributes are in one-to-one correspondence, and therefore when the monitoring modules on the same bus are operated, specific monitoring modules can be identified to carry out required operation.
Further, the module attribute data information includes module address information and interface attribute information; in step S2, the setting of the module attribute of the first monitoring module according to the module attribute data information includes: and 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 to include 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 monitoring module sets a module address according to the module address information, and sets an interface attribute of the monitoring module according to the interface attribute information, where the interface attribute may include common characteristics of the interface, such as baud rate and stop bit. It can be understood that, in order to realize convenience of data transmission on the same bus, the interface attribute setting information may 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 the setup host confirms that the module attribute setup of the current monitoring module is completed, the setup host may update the module address information in an increasing or decreasing manner to obtain updated module attribute data information, and re-broadcast the updated module attribute data information to perform module attribute setup for the next monitoring module.
As shown in fig. 2, in an embodiment, after the setting host stops broadcasting the module attribute data information, the following step is further performed, S7, the setting host sets the interface attribute of the setting host according to the interface attribute information. That is, after the setting host determines that the module attribute setting of all the monitoring modules is completed, the setting host can set the interface attribute of the setting host to be the same as that of the monitoring modules, that is, the setting host sets the interface attribute of the setting host according to the interface attribute information in the module attribute data information for broadcasting the defined monitoring modules, so as to conveniently realize the data communication between the setting host and each monitoring module.
As shown in fig. 3, in an embodiment, the method for setting module attributes of a monitoring module according to 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. Specifically, any monitoring module may be set as the setting host, that is, the monitoring module that is triggered first, that is, the second monitoring module, may be selected as the setting host. When the monitoring module is triggered as the setting host, it can set the module address according to the corresponding initial address information, and at the same time, it starts to broadcast module attribute information data as the setting host to set the corresponding module attribute for other monitoring modules.
Optionally, on the basis, the second monitoring module sets a module address according to the corresponding initial address information, including: reading the default address information of the second monitoring module to set the 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 according to the user instruction and set a module address of the second monitoring module. That is, in one embodiment, when the second monitoring module is set as the setup host, it may first set its module address according to the default address information in the second detection module by setting its module address according to the initial address information. In another embodiment, it may also determine the initial address information through a user instruction according to a user instruction received through the second monitoring module, so as to set the address of the second monitoring module.
In an embodiment, in step S6, the determining, by the setup host according to the response command, that the module attributes of the monitoring modules are all setup includes: counting time from 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 counting time length meets the preset time length; that is, the process of receiving the response instruction by the setting host to determine that the module attributes of all the monitoring modules have been set may be that the setting host starts timing after receiving the response instruction until the current timing is ended after receiving the next response instruction, and performs new timing. The normal condition is that the monitoring modules are triggered one by one and the module attribute setting is carried out, the setting host receives the corresponding response instruction of the monitoring modules one by one until the response instruction of the last monitoring module is received, after the response instruction is received, the host cannot receive the next response instruction within a long time, at the moment, all the monitoring modules can be judged to finish the module attribute setting, and the setting host stops broadcasting the module attribute data information, namely stopping the module attribute setting of the monitoring modules.
In an embodiment, in step S6, the determining, by the setup host according to the response command, that the module attributes of the monitoring modules are all setup includes: and the setting host counts the response instructions and judges that the module attributes of the monitoring modules are set when the count meets a preset condition. The number of the monitoring modules can be obtained, the setting host can judge that the monitoring modules all complete the module attribute setting 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, and the setting host stops broadcasting the module attribute data information, namely, stops setting the module attributes of the monitoring modules. It can be understood that the number of the monitoring modules can be set through a user instruction, and when the host is set as the second monitoring module, the second monitoring module can be rejected as the count of the monitoring modules.
In one embodiment, in step S1, the setting host broadcasting the module attribute data information according to the first preset rule includes: and the host is set to broadcast the module attribute data information according to the first preset interval time. When the host is configured to broadcast the module attribute data information, the host may broadcast the module attribute data information at certain intervals. That is, module attribute data information is broadcast once at intervals to wait for confirmation of whether there is a response command replied by the monitoring module, and if not, the module attribute data information is broadcast once again. It may also be configured to broadcast according to a predetermined interval time without actually determining whether there is a reply instruction, and after receiving a response instruction replied by the monitoring module, update the module attribute data information and then broadcast according to the same interval time. 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 setting host modifies the data attribute of the module attribute data information according to a second preset interval time. It can be understood that, in some application scenarios, the monitoring modules may be different monitoring modules, that is, 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 attribute data information of the monitoring modules, the interface attribute of the setting host may be sequentially modified into different interface attributes, the module attribute data information is broadcast once every time the interface attribute is updated, when the interface attribute of the setting host is consistent with the interface attribute of the first monitoring module, the first monitoring module may receive the broadcast information of the setting host and set the broadcast information. And simultaneously, the response instruction of the first monitoring module returns to the setting host, when the setting host receives the response instruction and sets the module attribute of the next monitoring module, the interface attribute of the first monitoring module is sequentially modified into different interface attributes according to the same rule again, and the process is repeated.
In one embodiment, in step S5, triggering another monitoring module to be in a triggered state according to a third preset rule includes: and after the previous monitoring module is triggered to be in a trigger state, triggering another adjacent monitoring module to be in a trigger state according to a third preset interval time. That is, the monitoring modules are sequentially triggered at certain time intervals, and the triggering processes may also be sequentially triggered according to the installation position sequence of the monitoring modules. Therefore, the sequencing of the module addresses of the monitoring modules and the sequencing of the installation positions of the monitoring modules can be formed into a corresponding relation.
In one embodiment, the monitoring module being in the default state includes the monitoring module being in a power-off state, and the monitoring module being in the trigger state includes the monitoring module being in a power-on state; namely, the monitoring modules are powered off at the beginning, and the monitoring modules are powered on, so that the monitoring modules are powered on to enter a powered-on state, namely, the monitoring modules are correspondingly in a trigger state. Namely, the sequential triggering process of the monitoring modules is the sequential electrifying process of the monitoring modules.
In one embodiment, the monitoring module being in the default state includes the monitoring module being in a power-on state and the status identifier of the monitoring module being the first identifier, and the monitoring module being in the trigger state includes the monitoring module being in the power-on state and the status identifier of the monitoring module being the second identifier. Namely, the monitoring modules are all powered on, state marks are arranged in the monitoring modules, and when the state marks are default marks, namely first marks, the monitoring modules are in default states. At this time, the monitoring module does not receive the module attribute data information broadcasted by the setting host even if the monitoring module is in a power-on state. And 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 module attribute data information broadcasted by the setting host, and judges whether to respond to the module attribute data.
Optionally, the state identifier of the monitoring module being the first identifier includes that 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; the state identification of the monitoring module is the second identification, the current response state identification of the monitoring module is the first state identification or the second state identification, and the monitoring module is triggered to be in a trigger state, and the current response state identification of the monitoring module is triggered to be 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 different from the default state identifiers of the first state identifier and the second state identifier, the current response state identifier of the monitoring module 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 status identifier of the monitoring module is represented by the current response status identifier of the monitoring module, that is, when the current response status identifier of the monitoring module is the first status identifier or the second status identifier, that is, the second identifier corresponding to the status identifier of the monitoring module, the monitoring module is determined to be in the trigger state. When the trigger monitoring module is in the trigger state, the current response state of the trigger monitoring module can be the first state identifier.
In an embodiment, the method for setting module attributes 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 the attribute data information of the module; that is, in the module attribute setting process of the monitoring module, it may generate the first trigger instruction by triggering any first monitoring module, and end the module attribute setting process of the whole monitoring module. The setup host may receive a first trigger instruction generated by any of the first monitoring modules to stop broadcasting the module attribute data information.
In an embodiment, the method for setting module attributes of a monitoring module according to the present invention further includes: and 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. That is, in the module attribute setting process of the monitoring module, the monitoring module may end the module attribute setting process of the entire monitoring module by triggering the setting host, that is, the second trigger instruction generated by the setting host stops broadcasting the module attribute data information.
In addition, as shown in fig. 4, a module attribute setting system of a monitoring module according to the present invention includes: the monitoring system comprises a plurality of monitoring modules 120, a plurality of power supply modules 130 respectively corresponding to the plurality of monitoring modules 120, trigger control modules 140 respectively connected with the monitoring modules 120, and a setting host 110 connected with the plurality of detection modules 120 through a bus; 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 in a trigger state, set a module attribute of the monitoring module 120 when the current response state identifier is in a first state identifier, and modify the current response state identifier to be a second state identifier after the module attribute is successfully modified and generate a corresponding response instruction; the setup host 110 is further configured to receive a response instruction, so that the setup host 110 updates the module attribute data information according to the response instruction and according to a second preset rule, 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 one embodiment, the trigger control module 140 includes a power-up control module connected between the power supply module 130 and the monitoring module 120 for controlling the power supply module 130 to power up the monitoring module 120 to enter the trigger state; in another embodiment, the trigger control module 140 is further configured to trigger the monitoring module 120 to switch the status identifier from the first identifier to the second identifier. Specifically, the current response status flag of the monitoring module 120 may be triggered by the trigger control module 140 to be the first status flag. That is, the plurality of monitoring modules 120 are respectively and correspondingly connected to the plurality of monitored devices 150, the host 110 is connected to the plurality of monitoring modules 120 through a bus, the triggering control module 140 controls the triggering of the monitoring modules, the monitoring modules 120 correspond to the power supply module 130, and the power supply module 130 can provide power supply voltage 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 setup host 110 includes an upper computer or a monitoring module that enters a trigger state at first; 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.
As shown in fig. 5, in one embodiment, 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 connected through a serial bus, and the serial port may be an RS485 interface. 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 monitoring module that converges is used for monitoring the operating characteristic of photovoltaic square matrix, and the monitoring equipment that corresponds with monitoring module promptly is solar photovoltaic square matrix. Meanwhile, each photovoltaic confluence monitoring module is provided with an independent power supply, the power supply is connected to the nearby solar panel through an independent switch S1, and in the construction process, all switches S1 are disconnected, namely the photovoltaic confluence monitoring modules are not powered and are in a non-working state. When the construction is completed, the switch S1 needs to be closed one by one to supply power to the photovoltaic confluence monitoring module. That is, it can be understood that the power supply module 130 for supplying power to the monitoring module 120 is disposed on the photovoltaic array, and it can also be understood that power is supplied to the monitoring module through the photovoltaic array while being monitored. In the module attribute setting system of the monitoring module, the specific process of setting the module attribute of the confluence monitoring module is as follows: after wiring is finished, before the trigger control module controls switching-on to electrify the convergence monitoring module, the upper computer is used as a setting host, and the upper computer is connected with the convergence monitoring modules which are connected with each other through a bus. The method comprises the steps that a setting host runs firstly, a convergence monitoring module is not electrified, the setting host broadcasts a setting message, namely module attribute data information, on a bus at a certain time interval, such as 100ms, wherein the setting message comprises serial port attributes such as baud rate and the like and a current device address required to be set. 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 local to different serial port attributes such as different baud rates at a certain time interval, for example, 100ms, before the setting host receives no response message, namely, a response instruction, and sends the same setting message. When any one of the bus monitoring modules is powered on during closing, the bus monitoring module enters a trigger state, and the bus monitoring module sets the response state st of the bus monitoring module to 0. Only the convergence 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 into the set message which has already responded, namely the response state st is 1. In this way, only the new bus monitoring module that is powered on by closing switch S1 will respond to the setup message broadcast by the setup host. Meanwhile, it should be noted that when the convergence monitoring module receives the setting message sent by the setting host and can correctly analyze the setting message, that is, the serial port attributes of the setting host and the convergence monitoring module need to be consistent, the setting message can only be responded. And the convergence monitoring module modifies the equipment address and the serial port attribute of the local machine according to the set message. The convergence monitoring module modifies the response state of the current machine into the set message which is responded, namely the response state st is 1, and the set message is not responded any more next time. After receiving the reply message of the convergence monitoring module, the host changes the device address in the set message into the device address of the next convergence monitoring module, and usually calculates the device address of the next convergence monitoring module according to a certain rule, for example, add up to 1. And repeating the equipment address setting of the next confluence monitoring module until the setting is completed or abnormal exit is realized, setting the host exit setting mode, and setting the host into the serial port attribute which is unified with the confluence monitoring module. It should be noted that, in the process of sequentially triggering the bus monitoring modules, when the setting process is normally finished, it indicates that all devices on the bus can normally receive and transmit messages. When the setting process is abnormal, the abnormality of the second confluence monitoring module can be conveniently known. In order to increase reliability, the state of the bus monitoring module can be confirmed by triggering the bus monitoring module, that is, when the bus monitoring module is powered on, the bus monitoring module is not in a triggered state, and only after the state of the bus monitoring module is set, the bus monitoring module can be confirmed to be in the triggered state. Therefore, secondary setting after the equipment is powered on again can be avoided.
It is to be understood that the foregoing examples, while indicating the preferred embodiments of the invention, are given by way of illustration and description, and are not to be construed as limiting the scope of the invention; it should be noted that, for those skilled in the art, the above technical features can be freely combined, and several changes and modifications can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention; therefore, all equivalent changes and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.

Claims (17)

1. A module attribute setting method of a monitoring module is characterized in that the method is applied to a plurality of interconnected monitoring modules connected with the same setting host, and the method comprises the following steps:
s1, any monitoring module in the monitoring modules is triggered to switch from a default state to a trigger state;
s2, the first monitoring module in the trigger state receives module attribute data information broadcasted by the setting host according to a first preset rule, and sets the module attribute of the first monitoring module according to the module attribute data information when the current response state identifier of the first monitoring module is a 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 module attribute setting is finished 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 another monitoring module to the triggered state according to a third preset rule, and executing the steps S2 to S4 in sequence;
and S6, stopping broadcasting the module attribute data information when the setting host judges that the module attributes of the monitoring modules are set according to the response instruction.
2. The method according to claim 1, wherein the module attribute data information includes module address information and interface attribute information;
in step S2, the setting the module attribute of the first monitoring module according to the module attribute data information includes:
and 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.
3. The method for setting module attributes of a 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 increasing or decreasing manner.
4. The method of setting module properties of a monitoring module according to claim 2, further comprising:
and S7, the setting host sets the interface attribute of the setting host according to the interface attribute information.
5. The method of setting module properties of a monitoring module according to claim 2, further comprising:
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 attributes of a 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, including:
reading the default address information of the second monitoring module to set the module address of the second monitoring module according to the default address information of the second monitoring module; or
And receiving a user instruction to acquire the initial address information according to the user instruction and set the module address of the second monitoring module.
7. The method as claimed in claim 1, wherein in step S6, the step of determining by the setup host that the setup of the module attributes of the monitoring modules is completed according to the response command includes:
Counting time from when the setting host receives the response instruction, and judging that the module attributes of the monitoring modules are all set when the counting time length meets the preset time length and the next response instruction is not received; or
And the setting host counts the response instructions and judges that the module attributes of the monitoring modules are set completely when the count meets a preset condition.
8. The module property setting method of monitoring module according to claim 1, wherein in said step S1, said setting host broadcasting module property data information according to a first preset rule includes:
and the setting host broadcasts the module attribute data information according to a first preset interval time.
9. The module property setting method of claim 8, wherein in the step S1, the setting host broadcasting the module property data information according to the first preset rule further comprises:
and the setting host modifies the data attribute of the module attribute data information according to the second preset interval time.
10. The module property setting method of the monitoring module according to claim 1, wherein in the step S5, the triggering another monitoring module into the triggered state with a third preset rule includes: and after the previous monitoring module is triggered to be in a triggering state, triggering another adjacent monitoring module to be in the triggering state according to a third preset interval time.
11. The module property setting method of a monitoring module according to claim 1,
the monitoring module is in the default state, the monitoring module is in a power-off state, and the monitoring module is in the trigger state, the monitoring module is in a power-on state;
or
The monitoring module is in the default state, the monitoring module is in a power-on state, the state identification of the monitoring module is a first identification, and the monitoring module is in the trigger state, the monitoring module is in the power-on state, and the state identification of the monitoring module is a second identification.
12. The module property setting method of a monitoring module according to claim 11,
the status identifier of the monitoring module being a first identifier comprises the current response status identifier of the monitoring module being a default status identifier different from the first status identifier and the second status identifier;
the state identifier of the monitoring module is the second identifier, the current response state identifier of the monitoring module is the first state identifier or the second state identifier, and the triggering of the monitoring module to enable the monitoring module to be in the triggering state comprises the triggering of the current response state identifier of the monitoring module to be the first state identifier.
13. The method of setting module properties of a monitoring module according to claim 1, further comprising:
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
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.
14. A module property 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, trigger control modules respectively connected with the monitoring modules, and a setting host connected with the plurality of detection modules through buses;
the trigger control module is used for controlling the monitoring modules to be sequentially triggered according to a preset rule so as to enter a trigger 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, and modifying the current response state identifier into a second state identifier and generating a corresponding response instruction after the module attribute is modified successfully;
The setting host is further configured to receive the response instruction, so that the setting host updates the module attribute data information according to the response instruction and according to a second preset rule, and stops broadcasting the module attribute data information when it is determined that the module attributes of the monitoring modules are all set according to the response instruction.
15. The module property setting system of a monitoring module of claim 14,
the trigger 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 be powered on to enter the trigger state; or
The trigger control module is further used for triggering the state identifier of the monitoring module to be switched from the first identifier to the second identifier.
16. The system of claim 15, wherein the trigger control module is further configured to trigger the current response status indicator of the monitoring module to be a first status indicator.
17. The module property setting system of a monitoring module of claim 14,
the setting host comprises an upper computer or a monitoring module which enters a triggering state at the earliest stage; or
The power supply module is a photovoltaic array, 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 true CN111858233A (en) 2020-10-30
CN111858233B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291130A (en) * 2020-12-03 2021-01-29 国创新能源汽车智慧能源装备创新中心(江苏)有限公司 Networking system and method of field bus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050200759A1 (en) * 2004-03-09 2005-09-15 Nec Corporation Digital broadcasting system
CN102202284A (en) * 2011-04-29 2011-09-28 电信科学技术研究院 Method for sending Minimization Driving Test measure configuration parameter, system and equipment thereof
WO2015131708A1 (en) * 2014-10-17 2015-09-11 中兴通讯股份有限公司 Method, device, and system for monitoring terminal device
US20160134625A1 (en) * 2014-03-24 2016-05-12 Tencent Technology (Shenzhen) Company Limited Method and apparatus for controlling communications terminal and corresponding communications terminal
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050200759A1 (en) * 2004-03-09 2005-09-15 Nec Corporation Digital broadcasting system
CN102202284A (en) * 2011-04-29 2011-09-28 电信科学技术研究院 Method for sending Minimization Driving Test measure configuration parameter, system and equipment thereof
US20160134625A1 (en) * 2014-03-24 2016-05-12 Tencent Technology (Shenzhen) Company Limited Method and apparatus for controlling communications terminal and corresponding communications terminal
WO2015131708A1 (en) * 2014-10-17 2015-09-11 中兴通讯股份有限公司 Method, device, and system for monitoring terminal device
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN111858233B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
CN111147619B (en) Method and system for realizing automatic address allocation of RS485 slave equipment locally
EP2618457B1 (en) Intelligent power distribution system and method
EP2514142B1 (en) Network system and method of controlling network system
CN101635637A (en) Method and system for distributing intelligent addresses based on serial bus
CN106878488A (en) A kind of Modbus RTU bus address auto-allocation methods
CN109100978B (en) Battery management system address setting and checking method
CN111787128B (en) Automatic addressing method, system and main control module thereof
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
CN109613348A (en) A kind of high-voltaghe compartment tooling automatic detection device
CN105140886A (en) Protective relaying system and method for gathering data using thereof
CN111858233B (en) Module attribute setting method and system for monitoring module
CN101873179B (en) Monitoring method and monitoring device of indoor covering system
CN113347070A (en) Intelligent building field bus ad hoc network method and system
CN105354769A (en) Data processing method and device used for power distribution network equipment
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
CN104460404A (en) Security system with point bus abstraction and partitioning
CN205137807U (en) Indoor set controller reaches and allies oneself with air conditioning system more
CN210743149U (en) On-line smoke detection system based on EtherCAT bus
CN108737583A (en) From the configuration method of controller and configuration system in system
CN112944569A (en) Air conditioner communication method capable of automatically changing wireless communication channel
CN117202465B (en) Control method for indoor weak current illumination safety power supply
CN110995490B (en) In-situ module device and configuration-free method

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