CN117319354A - Address configuration method and device for photovoltaic tracking bracket controller - Google Patents

Address configuration method and device for photovoltaic tracking bracket controller Download PDF

Info

Publication number
CN117319354A
CN117319354A CN202311597001.4A CN202311597001A CN117319354A CN 117319354 A CN117319354 A CN 117319354A CN 202311597001 A CN202311597001 A CN 202311597001A CN 117319354 A CN117319354 A CN 117319354A
Authority
CN
China
Prior art keywords
controller
slave
address configuration
address
slave controller
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.)
Pending
Application number
CN202311597001.4A
Other languages
Chinese (zh)
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.)
Trina Solar Co Ltd
Original Assignee
Trina Solar 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 Trina Solar Co Ltd filed Critical Trina Solar Co Ltd
Priority to CN202311597001.4A priority Critical patent/CN117319354A/en
Publication of CN117319354A publication Critical patent/CN117319354A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node

Abstract

The embodiment of the disclosure discloses an address configuration method and device of a photovoltaic tracking bracket controller, wherein the method comprises the following steps: the method comprises the steps that a master controller and isolation switches at two ends of each slave controller which are not provided with addresses are switched on periodically, and only one isolation switch at one end is closed, and the master controller and each slave controller are connected in a single string through the isolation switches at two ends; transmitting a request address signal through each slave controller of which address is not configured; in response to receiving a request address signal sent by any slave controller, the master controller feeds back an address configuration instruction to the slave controller; in response to receiving the address configuration instruction, configuring an address from the slave controller, and closing the corresponding isolating switches at two ends under the condition that the slave controller completes address configuration; and closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration. The technical problem that the labor cost of address configuration of the photovoltaic tracking bracket controller cannot be reduced in the related art can be solved.

Description

Address configuration method and device for photovoltaic tracking bracket controller
Technical Field
The disclosure relates to the technical field of photovoltaics, in particular to an address configuration method and device of a photovoltaic tracking bracket controller.
Background
At present, a mode of a host machine and a plurality of slaves is generally adopted in a multi-motor photovoltaic tracking bracket scene, namely a master controller is arranged on one photovoltaic tracking bracket to control one driving point, and the master controller simultaneously utilizes a bus to control the slaves to realize synchronous rotation and information interaction of all driving points. The addresses of the slaves in the bus are typically configured after the rack and various devices are installed. The address configuration of the slave usually includes the following two methods: the debugger uses equipment to connect each slave controller to directly carry out address configuration; or the slave controllers write in serial numbers before leaving the factory, an installer records the serial numbers of the slave controllers installed on each bracket and gives the serial numbers to a debugger, the debugger is directly connected with the master controller, and the addresses of the slave computers are set by using the bus through the serial numbers. In the two methods, debugging personnel are required to connect the controller for configuration in a wired mode, and the photovoltaic bracket controller is usually higher in installation position and complex in topography, so that inconvenience is brought to parameter configuration.
Therefore, how to reduce the labor cost of address configuration of the photovoltaic tracking stand controller is a technical problem to be solved.
Disclosure of Invention
The embodiment of the disclosure provides an address configuration method and device of a photovoltaic tracking bracket controller, which at least solve the technical problem of how to reduce the labor cost of address configuration of the photovoltaic tracking bracket controller in the related art.
According to an aspect of the disclosed embodiments, there is provided an address configuration method of a photovoltaic tracking stand controller, including:
the method comprises the steps that isolation switches at two ends of a master controller and slave controllers which are not provided with addresses are periodically switched on, and only one end of the isolation switch is closed, wherein the master controller and the slave controllers are connected in a single string through the isolation switches at two ends;
transmitting a request address signal through each slave controller of which address is not configured;
in response to receiving a request address signal sent by any slave controller, the master controller feeds back an address configuration instruction to the slave controller;
responding to the received address configuration instruction, the slave controller configures an address, and closes the corresponding isolating switches at two ends under the condition that the slave controller completes address configuration;
and closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
In one exemplary embodiment, in response to receiving a request address signal sent by any slave controller, the master controller feeds back an address configuration instruction to the slave controller, including:
in response to receiving a request address signal sent by any slave controller, the master controller sends host response information to the slave controller;
in response to receiving the host response information, the slave controller transmits slave response information to the master controller;
and in response to receiving the slave response information, the master controller sends the address configuration instruction to the slave controller.
In one exemplary embodiment, further comprising:
in response to receiving the host response information, the slave controller ceases to transmit a corresponding request address signal.
In one exemplary embodiment, the isolating switches periodically switching the master controller and each slave controller of unconfigured addresses are closed and only the isolating switch of one end is closed, comprising:
the main controller switches the isolating switches at two ends of the main controller to be closed in a first period;
the slave controllers of the unconfigured addresses switch the isolating switches at the two ends to be closed in a second period;
wherein the second period is not less than twice the first period.
In one exemplary embodiment, further comprising:
and sending configuration completion information to the master controller under the condition that the slave controller completes address configuration.
In an exemplary embodiment, when each slave controller completes address configuration, closing a corresponding isolation switch at two ends of the master controller, including:
and under the condition that the request address signal is not received within a preset period number, determining that each slave controller completes address configuration, and closing the isolating switches corresponding to the two ends of the master controller.
According to another aspect of the embodiments of the present disclosure, there is also provided an address configuration apparatus of a photovoltaic tracking stand controller, including:
the switching module is used for periodically switching the isolating switches at the two ends of the master controller and the slave controllers with the non-configured addresses to be closed and only closing the isolating switch at one end, wherein the master controller and the slave controllers are connected in a single string through the isolating switches at the two ends;
a request module for transmitting a request address signal through each slave controller of the unconfigured address;
the feedback module is used for responding to a request address signal sent by any slave controller, and the master controller feeds back an address configuration instruction to the slave controller;
the configuration module is used for responding to the received address configuration instruction, configuring an address by the slave controller and closing the corresponding isolating switches at two ends under the condition that the slave controller completes address configuration;
and the closing module is used for closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
In one exemplary embodiment, the feedback module includes:
the host response unit is used for responding to the received request address signal sent by any slave controller, and the master controller sends host response information to the slave controller;
the slave response unit is used for responding to the received host response information, and the slave controller sends slave response information to the master controller;
and the instruction unit is used for responding to the received response information of the slave machine, and the master controller sends the address configuration instruction to the slave controller.
In an exemplary embodiment, the address configuration device of the photovoltaic tracking stand controller further includes:
and the suspension module is used for suspending the transmission of the corresponding request address signal by the slave controller in response to receiving the host response information.
In an exemplary embodiment, the switching module includes:
the main controller switching unit is used for switching the isolating switches at the two ends of the main controller to be closed by the main controller in a first period;
the slave controller switching unit is used for switching the isolating switches at the two ends of each slave controller with each unconfigured address to be closed in a second period;
wherein the second period is not less than twice the first period.
In an exemplary embodiment, the address configuration device of the photovoltaic tracking stand controller further includes:
and the completion module is used for sending configuration completion information to the master controller under the condition that the slave controller completes address configuration.
In one exemplary embodiment, the closing module includes:
and the closing unit is used for determining that each slave controller completes address configuration under the condition that the request address signal is not received within the preset time length, and closing the isolating switches corresponding to the two ends of the master controller.
According to another aspect of the embodiments of the present disclosure, there is also provided a computer apparatus including: a processor adapted to implement instructions and a storage device storing instructions adapted to be loaded by the processor and to perform any of the above-described address configuration methods of a photovoltaic tracking stent controller.
According to another aspect of an embodiment of the present disclosure, there is also a computer readable storage medium storing a computer program for executing the address configuration method of any one of the above-described photovoltaic tracking stand controllers.
According to another aspect of embodiments of the present disclosure, there is also a computer program product comprising a computer program which, when executed by a processor, implements the address configuration method of any of the above-described photovoltaic tracking rack controllers.
The technical scheme of the present disclosure is described in further detail below through the accompanying drawings and examples.
Drawings
The following drawings are only intended to illustrate and explain the present disclosure and do not limit the scope of the present disclosure. Wherein:
FIG. 1 is a flow chart of a method of address configuration of a photovoltaic tracking rack controller according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a multi-motor photovoltaic tracking system according to an alternative embodiment of the present invention;
FIG. 3 is a schematic diagram of the internal structure of a controller according to an alternative embodiment of the present invention;
FIG. 4 is a schematic diagram of a 485 bus connection of a controller according to an alternative embodiment of the invention;
FIG. 5 is a schematic flow diagram of a master controller in accordance with an alternative embodiment of the present invention;
FIG. 6 is a schematic flow diagram of a slave controller in accordance with an alternative embodiment of the present invention;
FIG. 7 is a schematic diagram of an address configuration device of a photovoltaic tracking stand controller according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a computer device in an embodiment of the present disclosure.
Detailed Description
The present application is further described in detail below by way of the accompanying drawings and examples. The features and advantages of the present application will become more apparent from the description.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In addition, the technical features described below in the different embodiments of the present application may be combined with each other as long as they do not collide with each other.
In this embodiment, there is provided an address configuration method of a photovoltaic tracking stand controller, and fig. 1 is a flowchart of an address configuration method of a photovoltaic tracking stand controller according to an embodiment of the present disclosure, as shown in fig. 1, including:
and 102, periodically switching the isolating switches at two ends of the master controller and each slave controller without the address to be closed and closing the isolating switch at one end only, wherein the master controller and each slave controller are connected in a single string through the isolating switches at two ends.
The above-mentioned periodic switching may be to turn off the isolating switch at one end of the master controller and each slave controller of the unconfigured address in accordance with a predetermined period. The predetermined period may be a manually preset isolating switch of the slave controller for indicating a program parameter, e.g. switching each unconfigured address every 2 seconds, switching the isolating switch of the master controller every 4 seconds. The isolating switch may be a switch that communicates control communications provided between the respective controllers. The master controller and each slave controller are inserted in the communication line. The communication line may be an RS-485 bus.
Step 104, transmitting a request address signal through each slave controller of which the address is not configured.
The request address signal is used to indicate the master controller to distribute addresses to the slave controllers.
And step 106, the master controller feeds back an address configuration instruction to the slave controllers in response to receiving a request address signal sent by any slave controller.
The address configuration instruction is configured to instruct the slave controller to configure an address.
And step 108, responding to the received address configuration instruction, configuring the address by the slave controller, and closing the corresponding isolating switches at two ends under the condition that the address configuration of the slave controller is completed.
The slave controllers close the isolating switches at the two corresponding ends, so that the slave controllers adjacent to the slave controllers are communicated with the master controller through the slave controllers.
And step 110, closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
And under the condition that the isolating switches corresponding to the two ends of the main controller are also closed, the main controller and each slave controller are communicated through communication lines connected in single strings of the isolating switches at the two ends of the main controller.
In the embodiment of the disclosure, through the steps 102 to 110, the isolating switches at two ends of the master controller and each slave controller which are not configured with addresses are periodically switched off, and only one end of the isolating switch is closed, wherein the master controller and each slave controller are connected in a single string through the isolating switches at two ends; transmitting a request address signal through each slave controller of which address is not configured; responding to a request address signal sent by any slave controller, and feeding back an address configuration instruction to the slave controller by the master controller; responding to the received address configuration instruction, configuring an address by the slave controller, and closing the corresponding isolating switches at two ends under the condition that the address configuration is completed by the slave controller; and closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration. The technical problem that the labor cost of the address configuration of the photovoltaic tracking bracket controller cannot be reduced in the related art can be solved, the slave controllers are configured one by periodically switching the closing states of the switches on two sides of each controller, automation of the address configuration of the photovoltaic tracking bracket controller is ensured, the configuration accuracy is improved, and the labor cost is reduced.
In an exemplary embodiment, the step 106 includes:
in response to receiving a request address signal sent by any one of the slave controllers, the master controller sends host response information to the slave controller.
In response to receiving the master response information, the slave controller transmits slave response information to the master controller.
And in response to receiving the slave response information, the master controller transmits the address configuration instruction to the slave controller.
Through the embodiment, under the condition that the request address signal is received, the master controller and the corresponding slave controllers mutually send response information, and then the master controller sends an address configuration instruction to the corresponding slave controllers, so that the accuracy of address configuration is ensured.
In one exemplary embodiment, further comprising:
in response to receiving the host response information, the slave controller suspends transmitting a corresponding request address signal.
The request address signal transmitted from the controller may be transmitted periodically, for example, at a period of one tenth of the switching period of the isolating switch of the slave controller.
Through the embodiment, the transmission of the request address signal is stopped under the condition that the host response information is received, so that the confusion of the system flow caused by the transmission of the request address signal for a plurality of times is avoided, and the reliability of the address configuration flow is improved.
In an exemplary embodiment, the step 102 includes:
the main controller switches the isolating switches at two ends of the main controller to be closed at a first period.
The slave controller of each unconfigured address switches the isolating switch at each two ends to be closed in a second period.
Wherein the second period is not less than twice the first period.
Through the embodiment, the isolating switch of the master control is switched at least twice in the switching period of the slave controller, so that the technical effect of improving the address configuration efficiency is achieved because the isolating switches of the adjacent master control and slave control are not closed at the same time and address configuration is not performed in the switching period of the slave controller.
In one exemplary embodiment, further comprising:
and sending configuration completion information to the master controller when the slave controller completes address configuration.
By the embodiment, after the slave controller configures the address, configuration completion information is fed back to the master controller, so that the master controller determines that the corresponding slave control configuration is completed, and the master controller determines the total progress of the slave address configuration in real time.
In an exemplary embodiment, when each slave controller completes address configuration, closing the corresponding isolation switch at two ends of the master controller, including:
and under the condition that the request address signal is not received within a preset period number, determining that each slave controller completes address configuration, and closing the isolating switches corresponding to the two ends of the master controller.
Through the embodiment, under the condition that the request address signal is not received in a plurality of periods, each slave controller can default to have the address configured, and then the master controller closes the corresponding isolating switches at two ends, so that the communication of the whole communication line is realized.
Fig. 2 is a schematic structural diagram of a multi-motor photovoltaic tracking system according to an alternative embodiment of the present invention, as shown in fig. 2, including:
the direct current motor 1, a motor connecting wire 2, a main beam 3, a main controller 4 (MASTER TCU) (Tracker control unit, a tracker control unit), a SLAVE controller 5 (SLAVE TCU) and an RS-485 communication cable;
the direct current motor can be a direct current brush motor or a direct current brushless motor, and one direct current brushless motor is arranged at each driving point. And a cable for controlling the motor to rotate is led out from the controller. The girder is used for arranging and fixing a girder with a photovoltaic module, and the girder can be driven to rotate around the girder by a direct current motor. The main controller is used for centralizing the information of all controllers and carrying out real-time calculation of an angle tracking algorithm to control all driving point movements. The slave controller is used for monitoring the real-time inclination angle value at the driving point and feeding back to the master controller, and receiving the target angle returned by the master controller and the motor speed control information to control the motor to rotate. RS-485 communication cables connect the various controllers for data communication therebetween. The main controller and the slave controller are installed on the main beam through structural members, are connected with the motor through motor connecting wires, and are mutually connected in a hand-in-hand mode through communication cables to realize communication.
FIG. 3 is a schematic diagram of the internal structure of a controller according to an alternative embodiment of the present invention, as shown in FIG. 3, including:
485 module, MCU (Micro Controller Unit, microcontroller), two left and right switches on 485B line by MCU control.
FIG. 4 is a schematic diagram of 485 bus connection of a controller according to an alternative embodiment of the invention, as shown in FIG. 4, comprising:
the controllers are connected in a single string through 485AB lines and comprise a master controller and a plurality of slave controllers.
FIG. 5 is a schematic flow diagram of a master controller according to an alternative embodiment of the present invention, as shown in FIG. 5, comprising:
the main controller switches the switch state to ensure that only one switch is turned on; judging that the request address frame of the slave is not received for 2 seconds, and switching the switch state again; determining that the slave replies after receiving the request address frame of the slave; switching the switch state again under the condition that the slave response 1 is not received for 2 seconds; determining that the address allocation instruction is sent to the slave machine under the condition that the slave machine response 1 is received; switching the switch state again under the condition that the slave response 2 is not received for 2 seconds; under the condition that the slave response 2 is received and all slave configuration is not completed, the switch is changed after waiting for 2 seconds; and closing 485 switches on two sides under the condition that all slave configuration is completed, and entering into an operating mode. The period of the signal receiving and transmitting of the master controller and the slave controller can be 400 milliseconds.
FIG. 6 is a schematic flow diagram of a slave controller according to an alternative embodiment of the present invention, as shown in FIG. 6, including:
switching the switch state from the controller ensures that only one switch is turned on; transmitting a request address frame; re-transmitting the request address frame in the case that the host response is not received for 400 milliseconds; switching the switch state under the condition that the host response is not received for 4 seconds; under the condition of receiving the host response, responding to the host slave response 1; switching the switch state under the condition that an address configuration instruction sent by the host or the configuration of an unfinished address is not received for 4 seconds; under the condition that an address configuration instruction sent by a host is received and the configuration of the address is completed, a configuration completion response, namely a slave response 2, is sent; and the 485 switches on the two sides are closed to enter the working mode.
According to another aspect of the embodiments of the present disclosure, there is further provided an address configuration apparatus of a photovoltaic tracking stand controller, and fig. 7 is a schematic diagram of the address configuration apparatus of the photovoltaic tracking stand controller according to the embodiments of the present disclosure, as shown in fig. 7, including:
and the switching module is used for periodically switching the isolating switches at the two ends of the master controller and each slave controller which is not provided with the address to be closed and only closing the isolating switch at one end, wherein the master controller and each slave controller are connected in a single string through the isolating switches at the two ends.
The above-mentioned periodic switching may be to turn off the isolating switch at one end of the master controller and each slave controller of the unconfigured address in accordance with a predetermined period. The predetermined period may be a manually preset isolating switch of the slave controller for indicating a program parameter, e.g. switching each unconfigured address every 2 seconds, switching the isolating switch of the master controller every 4 seconds. The isolating switch may be a switch that communicates control communications provided between the respective controllers. The master controller and each slave controller are inserted in the communication line. The communication line may be an RS-485 bus.
And the request module is used for sending a request address signal through the slave controllers of the unconfigured addresses.
The request address signal is used to indicate the master controller to distribute addresses to the slave controllers.
And the feedback module is used for responding to a request address signal sent by any slave controller, and the master controller feeds back an address configuration instruction to the slave controller.
The address configuration instruction is configured to instruct the slave controller to configure an address.
And the configuration module is used for responding to the received address configuration instruction, configuring the address by the slave controller and closing the corresponding isolating switches at two ends under the condition that the address configuration of the slave controller is completed.
The slave controllers close the isolating switches at the two corresponding ends, so that the slave controllers adjacent to the slave controllers are communicated with the master controller through the slave controllers.
And the closing module is used for closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
And under the condition that the isolating switches corresponding to the two ends of the main controller are also closed, the main controller and each slave controller are communicated through communication lines connected in single strings of the isolating switches at the two ends of the main controller.
In the embodiment of the disclosure, the isolating switches at two ends of the master controller and each slave controller which are not configured with addresses are periodically switched off, and only one end of the isolating switch is closed, wherein the master controller and each slave controller are connected in a single string through the isolating switches at two ends; transmitting a request address signal through each slave controller of which address is not configured; responding to a request address signal sent by any slave controller, and feeding back an address configuration instruction to the slave controller by the master controller; responding to the received address configuration instruction, configuring an address by the slave controller, and closing the corresponding isolating switches at two ends under the condition that the address configuration is completed by the slave controller; and closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration. The technical problem that the labor cost of the address configuration of the photovoltaic tracking bracket controller cannot be reduced in the related art can be solved, the slave controllers are configured one by periodically switching the closing states of the switches on two sides of each controller, automation of the address configuration of the photovoltaic tracking bracket controller is ensured, the configuration accuracy is improved, and the labor cost is reduced.
In an exemplary embodiment, the feedback module includes:
and the host response unit is used for responding to the received request address signal sent by any slave controller, and the master controller sends host response information to the slave controller.
And the slave response unit is used for responding to the received host response information and sending the slave response information to the master controller by the slave controller.
And the instruction unit is used for responding to the received response information of the slave machine, and the master controller sends the address configuration instruction to the slave controller.
Through the embodiment, under the condition that the request address signal is received, the master controller and the corresponding slave controllers mutually send response information, and then the master controller sends an address configuration instruction to the corresponding slave controllers, so that the accuracy of address configuration is ensured.
In an exemplary embodiment, the address configuration device of the photovoltaic tracking stand controller further includes:
and the suspension module is used for suspending the transmission of the corresponding request address signal by the slave controller in response to receiving the host response information.
The request address signal transmitted from the controller may be transmitted periodically, for example, at a period of one tenth of the switching period of the isolating switch of the slave controller.
Through the embodiment, the transmission of the request address signal is stopped under the condition that the host response information is received, so that the confusion of the system flow caused by the transmission of the request address signal for a plurality of times is avoided, and the reliability of the address configuration flow is improved.
In an exemplary embodiment, the above-mentioned switching module includes:
and the main controller switching unit is used for switching the isolating switches at the two ends of the main controller to be closed by the main controller in a first period.
And the slave controller switching unit is used for switching the isolating switches at the two ends of each slave controller with a second period.
Wherein the second period is not less than twice the first period.
Through the embodiment, the isolating switch of the master control is switched at least twice in the switching period of the slave controller, so that the technical effect of improving the address configuration efficiency is achieved because the isolating switches of the adjacent master control and slave control are not closed at the same time and address configuration is not performed in the switching period of the slave controller.
In an exemplary embodiment, the address configuration device of the photovoltaic tracking stand controller further includes:
and the completion module is used for sending configuration completion information to the master controller under the condition that the slave controller completes address configuration.
By the embodiment, after the slave controller configures the address, configuration completion information is fed back to the master controller, so that the master controller determines that the corresponding slave control configuration is completed, and the master controller determines the total progress of the slave address configuration in real time.
In one exemplary embodiment, the above-mentioned closing module includes:
and the closing unit is used for determining that each slave controller completes address configuration under the condition that the request address signal is not received within the preset time length, and closing the isolating switches corresponding to the two ends of the master controller.
Through the embodiment, under the condition that the request address signal is not received in a plurality of periods, each slave controller can default to have the address configured, and then the master controller closes the corresponding isolating switches at two ends, so that the communication of the whole communication line is realized.
The embodiment of the present disclosure further provides a computer device, and fig. 8 is a schematic diagram of the computer device in the embodiment of the present disclosure, where the computer device can implement all the steps in the address configuration method of the photovoltaic tracking stand controller in the foregoing embodiment, and the computer device specifically includes the following contents:
a processor (processor) 801, a memory (memory) 802, a communication interface (Communications Interface) 803, and a communication bus 804.
The processor 801, the memory 802, and the communication interface 803 complete communication with each other through the communication bus 804. The communication interface 803 is used to enable information transfer between related devices.
The processor 801 is configured to call a computer program in the memory 802, and when the processor executes the computer program, the address configuration method of the photovoltaic tracking stand controller in the foregoing embodiment is implemented.
Optionally, in an embodiment, the computer program instructions implement the following steps when executed by a processor:
and S1, periodically switching the isolating switches at two ends of the master controller and each slave controller without the address to be closed and closing the isolating switch at one end only, wherein the master controller and each slave controller are connected in a single string through the isolating switches at two ends.
Step S2, transmitting a request address signal through each slave controller of which address is not configured.
And step S3, responding to the received request address signal sent by any slave controller, and feeding back an address configuration instruction to the slave controller by the master controller.
And step S4, responding to the received address configuration instruction, configuring the address by the slave controller, and closing the corresponding isolating switches at two ends under the condition that the address configuration of the slave controller is completed.
And S5, closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
The embodiments of the present disclosure also provide a computer readable storage medium storing a computer program that, in response to being executed by a processor, implements the operations of the address configuration method of a photovoltaic tracking stand controller described above.
The disclosed embodiments also provide a computer program product comprising a computer program which, when executed by a processor, implements: the address configuration method of the photovoltaic tracking bracket controller.
While the present disclosure provides method operational steps as described above in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an actual device or client product, the instructions may be executed sequentially or in parallel (e.g., in a parallel processor or a multithreaded processor) in accordance with the methods shown in the embodiments or figures.
It will be appreciated by those skilled in the art that embodiments of the present description may be provided as a method, apparatus (system) or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments. In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure is not limited to any single aspect, nor to any single embodiment, nor to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the disclosure may be used alone or in combination with one or more other aspects and/or embodiments.
Finally, it should be noted that: the above embodiments are merely for illustrating the technical solution of the present disclosure, and are not limited thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments may be modified or some or all of the technical features may be replaced with equivalents. Such modifications and substitutions do not depart from the spirit of the embodiments of the disclosure, and are intended to be included within the scope of the claims and specification of the present disclosure.

Claims (15)

1. An address configuration method of a photovoltaic tracking bracket controller is characterized by comprising the following steps:
the method comprises the steps that isolation switches at two ends of a master controller and slave controllers which are not provided with addresses are periodically switched on, and only one end of the isolation switch is closed, wherein the master controller and the slave controllers are connected in a single string through the isolation switches at two ends;
transmitting a request address signal through each slave controller of which address is not configured;
in response to receiving a request address signal sent by any slave controller, the master controller feeds back an address configuration instruction to the slave controller;
responding to the received address configuration instruction, the slave controller configures an address, and closes the corresponding isolating switches at two ends under the condition that the slave controller completes address configuration;
and closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
2. The address configuration method of a photovoltaic tracking rack controller according to claim 1, wherein in response to receiving a request address signal sent by any slave controller, the master controller feeds back an address configuration instruction to the slave controller, comprising:
in response to receiving a request address signal sent by any slave controller, the master controller sends host response information to the slave controller;
in response to receiving the host response information, the slave controller transmits slave response information to the master controller;
and in response to receiving the slave response information, the master controller sends the address configuration instruction to the slave controller.
3. The method of address configuration of a photovoltaic tracking rack controller of claim 2, further comprising:
in response to receiving the host response information, the slave controller ceases to transmit a corresponding request address signal.
4. A method of address configuration of a photovoltaic tracking rack controller according to any one of claims 1 to 3, wherein periodically switching the disconnectors across the master controller and each slave controller of unconfigured addresses is closed and only one of the disconnectors is closed, comprising:
the main controller switches the isolating switches at two ends of the main controller to be closed in a first period;
the slave controllers of the unconfigured addresses switch the isolating switches at the two ends to be closed in a second period;
wherein the second period is not less than twice the first period.
5. The address configuration method of a photovoltaic tracking rack controller according to any one of claims 1 to 3, further comprising:
and sending configuration completion information to the master controller under the condition that the slave controller completes address configuration.
6. The address configuration method of a photovoltaic tracking stand controller according to any one of claims 1 to 3, wherein, in a case where each slave controller completes address configuration, closing a corresponding isolation switch at two ends of the master controller, comprising:
and under the condition that the request address signal is not received within a preset period number, determining that each slave controller completes address configuration, and closing the isolating switches corresponding to the two ends of the master controller.
7. An address configuration device of a photovoltaic tracking bracket controller, comprising:
the switching module is used for periodically switching the isolating switches at the two ends of the master controller and the slave controllers with the non-configured addresses to be closed and only closing the isolating switch at one end, wherein the master controller and the slave controllers are connected in a single string through the isolating switches at the two ends;
a request module for transmitting a request address signal through each slave controller of the unconfigured address;
the feedback module is used for responding to a request address signal sent by any slave controller, and the master controller feeds back an address configuration instruction to the slave controller;
the configuration module is used for responding to the received address configuration instruction, configuring an address by the slave controller and closing the corresponding isolating switches at two ends under the condition that the slave controller completes address configuration;
and the closing module is used for closing the isolating switches corresponding to the two ends of the master controller under the condition that each slave controller completes address configuration.
8. The address configuration device of claim 7, wherein the feedback module comprises:
the host response unit is used for responding to the received request address signal sent by any slave controller, and the master controller sends host response information to the slave controller;
the slave response unit is used for responding to the received host response information, and the slave controller sends slave response information to the master controller;
and the instruction unit is used for responding to the received response information of the slave machine, and the master controller sends the address configuration instruction to the slave controller.
9. The address configuration device of a photovoltaic tracking rack controller according to claim 8, wherein the address configuration device of a photovoltaic tracking rack controller further comprises:
and the suspension module is used for suspending the transmission of the corresponding request address signal by the slave controller in response to receiving the host response information.
10. The address configuration device of a photovoltaic tracking rack controller according to any one of claims 7-9, wherein the switching module comprises:
the main controller switching unit is used for switching the isolating switches at the two ends of the main controller to be closed by the main controller in a first period;
the slave controller switching unit is used for switching the isolating switches at the two ends of each slave controller with each unconfigured address to be closed in a second period;
wherein the second period is not less than twice the first period.
11. The address configuration device of a photovoltaic tracking rack controller according to any one of claims 7 to 9, further comprising:
and the completion module is used for sending configuration completion information to the master controller under the condition that the slave controller completes address configuration.
12. The address configuration device of a photovoltaic tracking rack controller according to any one of claims 7-9, wherein the closing module comprises:
and the closing unit is used for determining that each slave controller completes address configuration under the condition that the request address signal is not received within the preset time length, and closing the isolating switches corresponding to the two ends of the master controller.
13. A computer device, the computer device comprising: a processor adapted to implement instructions and a storage device storing instructions adapted to be loaded by the processor and to perform the address configuration method of the photovoltaic tracking stent controller of any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the address configuration method of the photovoltaic tracking stand controller according to any one of claims 1 to 6.
15. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the address configuration method of a photovoltaic tracking rack controller according to any one of claims 1 to 6.
CN202311597001.4A 2023-11-28 2023-11-28 Address configuration method and device for photovoltaic tracking bracket controller Pending CN117319354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311597001.4A CN117319354A (en) 2023-11-28 2023-11-28 Address configuration method and device for photovoltaic tracking bracket controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311597001.4A CN117319354A (en) 2023-11-28 2023-11-28 Address configuration method and device for photovoltaic tracking bracket controller

Publications (1)

Publication Number Publication Date
CN117319354A true CN117319354A (en) 2023-12-29

Family

ID=89255539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311597001.4A Pending CN117319354A (en) 2023-11-28 2023-11-28 Address configuration method and device for photovoltaic tracking bracket controller

Country Status (1)

Country Link
CN (1) CN117319354A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060282549A1 (en) * 2002-12-20 2006-12-14 Thomas Vinnemann Automatic addressing on bus systems
CN101635637A (en) * 2008-07-21 2010-01-27 江森自控楼宇设备科技(无锡)有限公司 Method and system for distributing intelligent addresses based on serial bus
CN208061195U (en) * 2017-12-12 2018-11-06 深圳市正浩创新科技有限公司 System bus addresses device
CN109936640A (en) * 2017-12-19 2019-06-25 苏州阿特斯阳光电力科技有限公司 From the address distribution method and device of node device
WO2021093540A1 (en) * 2019-11-13 2021-05-20 深圳竹芒科技股份有限公司 Master/slave communication system, method for identifying positions of slave machines, and appartus for leasing mobile power source
CN116319683A (en) * 2023-03-27 2023-06-23 阳光电源股份有限公司 Method, system and device for distributing networking address and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060282549A1 (en) * 2002-12-20 2006-12-14 Thomas Vinnemann Automatic addressing on bus systems
CN101635637A (en) * 2008-07-21 2010-01-27 江森自控楼宇设备科技(无锡)有限公司 Method and system for distributing intelligent addresses based on serial bus
WO2010009584A1 (en) * 2008-07-21 2010-01-28 Johnson Controls Technology Company Method and system for smart address assignment based on serial bus
CN208061195U (en) * 2017-12-12 2018-11-06 深圳市正浩创新科技有限公司 System bus addresses device
CN109936640A (en) * 2017-12-19 2019-06-25 苏州阿特斯阳光电力科技有限公司 From the address distribution method and device of node device
WO2021093540A1 (en) * 2019-11-13 2021-05-20 深圳竹芒科技股份有限公司 Master/slave communication system, method for identifying positions of slave machines, and appartus for leasing mobile power source
CN116319683A (en) * 2023-03-27 2023-06-23 阳光电源股份有限公司 Method, system and device for distributing networking address and electronic equipment

Similar Documents

Publication Publication Date Title
CN104169905B (en) Utilize the methods, devices and systems of configurable and fault-tolerant baseboard management controller arrangement
EP2687927B1 (en) Cpu of plc, system program for plc, and recording medium storing system program for plc
US10579031B2 (en) Controller
US10162673B2 (en) Controller preventing communication collisions between parallel control programs
JP2003099102A (en) Input/output device having setting functional property, failure separating functional property and redundant failure supporting functional property
JP2010537296A (en) Control node and control unit
CN103645678A (en) Real-time response type network control system
EP3547049B1 (en) Safety control system and safety control unit
US20160344653A1 (en) Control system, development support apparatus, controller, and control method
CN105681086B (en) Communication manager and data acquisition method of programmable logic control equipment
CN112276943A (en) Robot teaching control method, teaching control system, computer device, and medium
US20190272197A1 (en) Control apparatus, control method and non-transitory storage medium
JP7000686B2 (en) Control device
JP6414941B2 (en) Servo actuator control system
CN111818125A (en) Control method of whole-plant merchant RPA robot
JPH04290102A (en) Device for information transmission to servomechanism
CN117319354A (en) Address configuration method and device for photovoltaic tracking bracket controller
EP2672345B1 (en) Cpu of plc and recording medium storing a system program for plc
CN107817720B (en) A kind of steering gear control system and method
WO2019082627A1 (en) Control device, control method for control device, information processing program, and recording medium
CN102347878A (en) Multi-point communication system, method and equipment
CN103095739A (en) Cabinet server system and node communication method thereof
KR101357226B1 (en) Method And System for Centralized Building Automation Using Control Unit Point-to-Point Connected to another Control Unit
US11374788B2 (en) Network system having master device carrying out part of a process and slave device carrying out remainder of the process
US10708117B2 (en) Network system, control method, and control device

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