Photovoltaic tracking control system, address allocation method thereof and readable medium
The start command frame is sent by the master device, combined with the voltage difference and quantity of slave devices, and the slave device address is automatically allocated using the pressure difference test meter, which solves the problem of error-prone and high cost in the manual configuration in the photovoltaic tracking bracket system, and realizes efficient and automated address configuration.
Patent Information
- Application Number
- CN202510598423.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-08-08
AI Technical Summary
In existing photovoltaic tracking bracket systems, manual configuration of slave equipment addresses is prone to errors, high workload and high cost, especially in complex terrain, with low convenience and safety.
The start command frame is sent through the master device, combined with the voltage difference and quantity of the slave device, and the slave device address is automatically allocated using the pressure difference test table to avoid bus conflicts and realize fully automated address configuration.
No additional hardware is required, and the slave device address configuration is efficiently automated, avoiding manual operations, reducing time and labor costs, and improving configuration efficiency.
Smart Images

Figure CN120454612A_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the field of new energy technology, and in particular to a photovoltaic tracking control system, an address allocation method thereof, and a readable medium. Background Art
[0002] The photovoltaic industry plays a vital role in my country's energy mix. Tracking photovoltaic systems automatically adjust the orientation of their modules based on sunlight conditions, reducing the angle between the modules and direct sunlight, thereby capturing more solar radiation and effectively improving power generation efficiency. To effectively reduce the cost per kilowatt-hour (KWh), the latest tracking bracket design allows single-string lengths exceeding 90 meters, with a maximum of 120 meters. Therefore, multiple drive units are evenly distributed on a single main beam, operating simultaneously to provide sufficient power for the tracking system and ensure system safety.
[0003] In the above schemes with multiple drive devices, a 485-based bus connection method is usually used to achieve communication and synchronous rotation between the various drive devices, and is generally set to a one-master-multiple-slave mode. The firmware of each slave device remains consistent when leaving the factory, and the corresponding identification serial number is pre-entered. In order for the master device to be able to identify and distinguish different slave devices, the address of each slave device needs to be configured before operation. Currently, the address of each slave device is manually configured on site after the multi-drive photovoltaic tracking bracket is installed. Problems with the above existing technical solutions:
[0004] 1) Manual intervention is required. In photovoltaic tracking bracket scenarios where the master / slave equipment is installed at high locations and the terrain is complex, manual configuration is less convenient and less safe.
[0005] 2) A photovoltaic tracking bracket site has a large number of devices, and each tracking bracket must be configured with different addresses corresponding to the corresponding number of slave devices. The workload is large, cumbersome, prone to errors, and has high time and labor costs. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a photovoltaic tracking control system and its address allocation method and readable medium, so as to solve the problem that manual address allocation is prone to errors and has high time and labor costs.
[0007] To address the above technical problems, the present invention provides a photovoltaic tracking control system, comprising: a master device, multiple slave devices, and multiple motors, wherein the master device and the slave devices are tracker control units; wherein the master device and the multiple slave devices are connected via a master-slave communication protocol and are electrically connected in series, with the master device located on one side of the series circuit; and wherein a voltage differential test table is stored in the slave devices; the master device is configured to send a startup command frame to the slave devices and to assign addresses to the slave devices based on the order in which the slave devices send address allocation request frames, wherein the startup command frame includes the master device voltage value and the number of slave devices; and the slave devices are configured to obtain their own voltage values, calculate the voltage differential between the master device voltage value and their own voltage value, and determine the order in which the slave devices send address allocation request frames based on the voltage differential, the number of slave devices, and the voltage differential test table.
[0008] Optionally, the voltage difference test table includes: when different numbers of slave devices are connected to the master device, each time a slave device is added, the voltage difference between the voltage value of the slave device at each position in the series circuit and the voltage value of the master device.
[0009] Optionally, determining the order in which the slave device sends the allocation address request frame based on the pressure difference, the number of slave devices and the pressure difference test table includes: looking up the pressure difference test table based on the pressure difference and the number of slave devices to determine the position of the slave device in the series circuit; when the position of the slave device in the series circuit is the nth slave device, sending the allocation address request frame after the nth time interval, where n≥1.
[0010] Optionally, allocating an address to the slave device includes: the master device sends an address allocation frame according to the order in which the slave devices send address allocation request frames, and the address allocation frame includes the serial number of the slave device and the allocated address number; after the multiple slave devices receive the address allocation frame, each verifies whether the serial number of the slave device in the address allocation frame is consistent with its own serial number, and the slave device that successfully verifies sets its address to the allocated address number.
[0011] Optionally, the method further includes: the slave device that has successfully been verified sends a configuration success response frame; after receiving the configuration success response frame, the master device sends the next address allocation frame and sets the allocated address number in the next address allocation frame to be plus 1.
[0012] Optionally, it also includes: after the master device receives the configuration success response frame, setting the number of devices to be assigned addresses to be reduced by 1 and the number of devices with assigned addresses to be increased by 1, and the initial value of the number of devices to be assigned addresses is equal to the number of slave devices.
[0013] Optionally, it also includes: before allocating an address to the slave device, the master device determines whether the number of received address allocation request frames is equal to the number of devices to be allocated addresses; if so, allocates an address to the slave device; if not, determines whether the waiting time after the master device sends the start instruction frame is equal to the number of slave devices multiplied by the time interval; if so, allocates an address to the slave device.
[0014] Optionally, it also includes: judging whether the number of devices with allocated addresses is equal to the number of allocation address request frames received by the master device; if so, judging whether the number of devices with addresses to be allocated is equal to 0; if not, resending the startup instruction frame.
[0015] To solve the above technical problems, the present invention provides an address allocation method, which is applied to the photovoltaic tracking control system as described above, comprising: a master device sends a startup instruction frame to a slave device, wherein the startup instruction frame includes the master device voltage value and the number of slave devices; the slave device obtains its own voltage value, calculates the voltage difference between the master device voltage value and its own voltage value, and determines the order in which the slave devices send allocation address request frames based on the voltage difference, the number of slave devices and the voltage difference test table; the master device allocates addresses to the slave devices according to the order in which the slave devices send the allocation address request frames.
[0016] To solve the above technical problem, the present invention provides a computer-readable medium storing computer program code, which implements the above-mentioned address allocation method when executed by a processor.
[0017] Compared with the prior art, the present invention has the following advantages:
[0018] The photovoltaic tracking control system and address allocation method of the present invention use a pure software method without the need for additional components or cables. Based on the voltage value sent by the master device and the number of slave devices, the degree of voltage drop of the slave device compared with the master device is compared with a voltage difference test table, and judgment information of which slave device is the closest to the master device is obtained. The order of sending address allocation request frames to the master device is determined, avoiding bus conflict problems. The master device does not need to automatically obtain the serial numbers of all slave devices with extremely high efficiency, and performs serial number verification and address allocation operations after obtaining the serial numbers of a preset number of slave devices. The entire process is automatic and efficient, requiring no manual operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings are included to provide a further understanding of the present application. They are incorporated into and constitute a part of this application. The accompanying drawings illustrate embodiments of the present application and, together with this specification, serve to explain the principles of the present application. In the accompanying drawings:
[0020] Figure 1 is a schematic diagram of a photovoltaic tracking control system according to an embodiment of the present disclosure.
[0021] Figure 2 Schematic diagram of a differential pressure test table according to an embodiment of the present disclosure.
[0022] Figure 3 is a flowchart of an address allocation method according to an embodiment of the present disclosure.
[0023] Figure 4 according to Figure 3 Flowchart of an embodiment of step S32 in FIG.
[0024] Figure 5 according to Figure 3 Flowchart of the embodiment of step S33 in FIG. DETAILED DESCRIPTION
[0025] To more clearly illustrate the technical solutions of the embodiments of this application, the following is a brief introduction to the drawings required for describing the embodiments. Obviously, the drawings described below are merely examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without inventive effort. Unless otherwise apparent from the context or otherwise noted, the same reference numerals in the figures represent the same structure or operation.
[0026] Figure 1 FIG is a schematic diagram of a photovoltaic tracking control system according to an embodiment of the present disclosure. Figure 1 As shown, the photovoltaic tracking control system 100 includes: a master device 1, multiple slave devices 2, and multiple motors 3. This application does not limit the number of slave devices 2, and can be increased as needed. Both the master device 1 and the slave devices 2 are tracker control units (TCUs). Multiple motors 3 are evenly mounted on a main beam, and each motor 3 corresponds to a TCU. The TCU controls the rotation of the motors to adjust the angle of the photovoltaic panels, so that they always face the sun and maximize the amount of solar radiation received.
[0027] The master device and multiple slave devices are connected via a master-slave communication protocol, including but not limited to RS-485, I2C, SPI, and CAN. In this embodiment, master device 1 and multiple slave devices 2 are connected via a 485 communication cable. Master device 1 calculates the tracking angle in real time and transmits it to all slave devices 2 via the 485 communication cable, controlling the simultaneous rotation of all motors 3.
[0028] Because devices in a master-slave communication protocol share the same bus, simultaneous attempts to send data on the bus can lead to data conflicts and interference, resulting in communication failures. To prevent bus conflicts caused by simultaneous transmissions from slave devices, which could result in the master receiving invalid information, slave devices must transmit information to the master at different times. Furthermore, to enable the master to distinguish between different slave devices, the addresses of each slave device must be configured before operation.
[0029] The master device 1 and multiple slave devices 2 are electrically connected in series, with the master device 1 located on one side of the series circuit. Optionally, the power supply lines between the master device 1 and the multiple slave devices 2 are connected in a hand-in-hand manner. The hand-in-hand (Daisy Chain) wiring method refers to connecting the devices in series one by one to form a long chain. The terminal of the last device is usually connected to the terminal of the first device to form a closed loop, but generally CAN and RS-485 do not require a closed loop, but instead install terminal resistors at both ends of the chain. During installation, the master device 1 supplies power to the slave devices 2 connected to it. There will be differences in the power supply voltage between the slave devices 2, and with each additional slave device 2, the power supply voltage of the slave device 2 farther away from the master device 1 will be further reduced.
[0030] In the present disclosure, a pressure difference test table is stored in the slave device 2 . Figure 2 FIG. 1 is a schematic diagram of a pressure differential test table according to an embodiment of the present disclosure. Figure 2 As shown in the figure, the voltage difference test table includes: when different numbers of slave devices are connected to the master device, the voltage difference between the slave device voltage at each position in the series circuit and the master device voltage is measured for each additional slave device. When there are 20 slave devices, the voltage difference between the slave device in the first position (the slave closest to the master device) is 2.81V. The voltage difference between the slave device in the second position is 4.71V, and so on for the slave devices in the other positions. When there are 21 slave devices, the voltage difference between the slave device in the first position is 2.71V. The voltage difference between the slave device in the second position is 4.61V, and so on for the slave devices in the other positions.
[0031] In the present disclosure, master device 1 can automatically assign addresses to slave devices 2 based on the voltage difference between the master and slave devices. Master device 1 is configured to send a startup command frame to slave device 2, which includes the master device voltage value and the number of slave devices. Slave device 2 is configured to obtain its own voltage value, calculate the voltage difference between the master and its own voltage values, and determine the order in which the slave devices should send address request frames based on the voltage difference, the number of slave devices, and a voltage difference test table. Master device 1 is also configured to assign addresses to slave devices 2 based on the order in which the slave devices send the address request frames.
[0032] The present disclosure also provides an address allocation method, which is applied to the photovoltaic tracking control system of the present application. Figure 3 FIG. 1 is a flow chart of an address allocation method according to an embodiment of the present disclosure. Figure 3 As shown, the address allocation method 300 includes:
[0033] Step S31: the master device sends a startup instruction frame to the slave device, where the startup instruction frame includes the master device voltage value and the number of slave devices.
[0034] The master device is factory-set with the number of slave devices it controls, and this can be remotely modified through the platform based on actual conditions. The firmware burned into the slave devices at the factory contains a unique serial number and a fixed initial address of 0. The master device sends a startup command frame after completing initial power-on initialization.
[0035] Step S32: The slave device obtains its own voltage value, calculates the voltage difference between the master device voltage value and its own voltage value, and determines the order in which the slave device sends the allocation address request frame according to the voltage difference, the number of slave devices and the voltage difference test table.
[0036] Figure 4 according to Figure 3 Flowchart of an embodiment of step S32 in FIG.
[0037] Step S321: The slave device obtains its own voltage value and calculates the voltage difference between the master device voltage value and its own voltage value;
[0038] Step S322 looks up the pressure difference test table according to the pressure difference and the number of slave devices to determine the position of the slave device in the series circuit.
[0039] For example, if the number of slave devices is 23 and the voltage difference is 582.51, Figure 2 The current slave device is the 21st slave device by looking up the pressure difference test table.
[0040] In step S323 , when the slave device is the nth slave device in the series circuit, an address allocation request frame is sent after the nth time interval, where n≥1.
[0041] Optionally, the time interval is in the order of ten milliseconds. Assuming the time interval is 20 milliseconds, the 21st slave device sends an address allocation request frame after 21*20=420 milliseconds.
[0042] In other words, all slave devices start timing after receiving the startup command frame, and obtain the judgment information of which slave device it is from the slave device closest to the master device from the voltage difference test table based on the voltage difference between the master device and itself and the number of slave devices, and decide the order in which they send address allocation request frames to the master device. The nth slave device sends the address allocation request frame after the nth time interval.
[0043] The address allocation request frame includes at least the serial number of the slave device. After receiving the address allocation request frame, the master device unpacks it and stores the serial numbers of the slave devices in the order in which they are received.
[0044] Step S33: The master device allocates addresses to the slave devices according to the order in which the slave devices send the address allocation request frames.
[0045] Figure 5 according to Figure 3 Flowchart of the embodiment of step S33 in FIG. Step S33 includes:
[0046] Step S331: The master device determines whether the number of received address allocation request frames is equal to the number of devices to be allocated addresses. The initial value of the number of devices to be allocated addresses is equal to the number of slave devices. If not, the process proceeds to step S332. If equal, the process proceeds to step S333.
[0047] Step S332: Determine whether the waiting time after the master device sends the start instruction frame is equal to the number of slave devices multiplied by the time interval. If not, continue to wait for receiving the allocation address request frame. If yes, proceed to step S333.
[0048] Theoretically, if each slave device can identify its own number from the nearest slave to the master and send an address allocation request frame within the specified time, then the number of address allocation request frames received within a time interval equal to the number of slave devices multiplied by the time interval will equal the number of devices to be allocated addresses. However, in practice, the voltage differential caused by the cable may affect the device's voltage. This may result in only some slave devices being able to identify their own number from the nearest slave to the master and send an address allocation request frame within the specified time. In this case, the number of address allocation request frames may not equal the number of devices to be allocated addresses.
[0049] Step S333: The master device sends an address allocation frame according to the order in which the slave devices send the address allocation request frames. The address allocation frame includes the serial number of the slave device and the allocated address number.
[0050] Step S334: After receiving the address allocation frame, the multiple slave devices each verify whether the serial number of the slave device in the address allocation frame is consistent with their own serial number, and set the address of the slave device that succeeds in verification as the allocated address number.
[0051] In other words, multiple slave devices can receive the address assignment frame at the same time, but only the slave device with the same serial number as the slave device in the address assignment frame can be successfully authenticated. The address of the successfully authenticated slave device is set to the assigned address number in the address assignment frame. Other slave devices that fail to authenticate will discard the address assignment frame.
[0052] Step S335: The slave device that has been successfully verified sends a configuration success response frame. After receiving the configuration success response frame, the master device sends the next address allocation frame and sets the allocated address number in the next address allocation frame to be increased by 1.
[0053] Optionally, it also includes:
[0054] Step S336: After receiving the configuration success response frame, the master device sets the number of devices to be assigned addresses to be reduced by 1 and the number of devices to which addresses have been assigned to be increased by 1.
[0055] Step S337: Determine whether the number of devices that have been allocated addresses is equal to the number of received allocation address request frames. If yes, proceed to step S338; if not, proceed to step S333.
[0056] Step S338: Determine whether the number of devices to be assigned addresses is equal to 0. If not, resend the startup instruction frame.
[0057] If the number of devices to be assigned addresses is 0, all slave devices have been assigned addresses. If the number of devices to be assigned addresses is not 0, some slave devices have not yet been assigned addresses. The master device sends a start command frame again to continue assigning addresses to the slave devices.
[0058] The photovoltaic tracking control system and address allocation method of the present invention utilize a pure software method without the need for additional components or cables. Based on the voltage value of the master device itself and the number of slave devices, the degree of voltage drop of the slave device compared to the master device is compared with a voltage differential test table to obtain information on which slave device is closest to the master device. The method then determines the order in which address allocation request frames are sent to the master device, thereby avoiding bus conflicts in 485 communications. This eliminates the need for the master device to automatically and efficiently obtain the serial numbers of all slave devices. After obtaining the serial numbers of a preset number of slave devices, the master device performs serial number verification and address allocation operations. The entire process is automated and requires no manual operation, resulting in high efficiency.
[0059] Flowcharts are used in this application to illustrate the operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in exact order. Instead, the various steps may be processed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.
[0060] The present application also includes a computer-readable medium storing computer program code, which implements the above-mentioned address allocation method when executed by a processor.
[0061] When the address allocation method is implemented as a computer program, it can also be stored in a computer-readable storage medium as an article of manufacture. For example, a computer-readable storage medium can include, but is not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs)), smart cards, and flash memory devices (e.g., electrically erasable programmable read-only memories (EPROMs), cards, sticks, key drives). In addition, the various storage media described herein can represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" can include, but is not limited to, wireless channels and various other media (and / or storage media) that can store, contain, and / or carry code and / or instructions and / or data.
[0062] The basic concepts have been described above. It will be apparent to those skilled in the art that the above disclosures are merely illustrative and do not constitute limitations on this application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and amendments to this application. Such modifications, improvements, and amendments are suggested in this application and remain within the spirit and scope of the exemplary embodiments of this application.
[0063] At the same time, this application uses specific terms to describe the embodiments of this application. For example, "one embodiment," "an embodiment," and / or "some embodiments" refer to a certain feature, structure, or characteristic related to at least one embodiment of this application. Therefore, it should be emphasized and noted that "one embodiment," "an embodiment," or "an alternative embodiment" mentioned twice or multiple times in different locations in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of this application may be appropriately combined.
[0064] Some aspects of the present application can be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software can be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". The processor can be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors or combinations thereof. In addition, various aspects of the present application may be expressed as computer products located in one or more computer-readable media, which include computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes...), optical disks (e.g., compact disks CDs, digital versatile disks DVDs...), smart cards, and flash memory devices (e.g., cards, sticks, key drives...).
[0065] A computer-readable medium may include a propagated data signal embodying computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may be in a variety of forms, including electromagnetic, optical, etc., or a suitable combination thereof. A computer-readable medium may be any computer-readable medium other than a computer-readable storage medium that can be connected to an instruction execution system, apparatus, or device to communicate, propagate, or transmit the program for use. The program code on the computer-readable medium may be transmitted via any suitable medium, including radio, cable, fiber optic cable, radio frequency signal, or similar medium, or any combination of the above.
[0066] Similarly, it should be noted that, in order to simplify the presentation of this disclosure and thereby facilitate understanding of one or more embodiments of the invention, the foregoing descriptions of the embodiments of this application sometimes combine multiple features into a single embodiment, figure, or description thereof. However, this disclosure method does not imply that the subject matter of this application requires more features than those mentioned. In fact, an embodiment may have fewer features than all of the features of a single embodiment disclosed above.
[0067] As used herein, unless the context clearly indicates otherwise, the terms "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.
[0068] Unless otherwise specified, the relative arrangement of the parts and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application. Meanwhile, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to actual proportional relationships. Technology, methods and equipment known to those of ordinary skill in the relevant art may not be discussed in detail, but in appropriate cases, the technology, methods and equipment should be considered as a part of the specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments can have different values. It should be noted that similar numbers and letters represent similar items in the following drawings, and therefore, once an item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.
[0069] It should be understood that when a component is referred to as being “on another component,” “connected to another component,” “coupled to another component,” or “contacting another component,” it can be directly on, connected to, coupled to, or contacting the other component, or intervening components may be present. In contrast, when a component is referred to as being “directly on another component,” “directly connected to,” “directly coupled to,” or “directly contacting” another component, there are no intervening components. Similarly, when a first component is referred to as being “electrically in contact with” or “electrically coupled to” a second component, an electrical path exists between the first and second components that allows current to flow. This electrical path may include capacitors, coupled inductors, and / or other components that allow current to flow, even without direct contact between the conductive components.
[0070] In some embodiments, numbers are used to describe the quantity of components and attributes. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise stated, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification are approximate values, which may change according to the required characteristics of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the settings of such numerical values are as accurate as possible within the feasible range.
[0071] Although the present application has been described with reference to the current specific embodiments, ordinary technicians in this technical field should recognize that the above embodiments are only used to illustrate the present application, and various equivalent changes or substitutions can be made without departing from the spirit of the present application. Therefore, as long as the changes and modifications to the above embodiments are within the scope of the essential spirit of the present application, they will fall within the scope of the present application.
Claims
1. A photovoltaic tracking control system, characterized in that: include: A master device, multiple slave devices and multiple motors, wherein the master device and the slave devices are tracker control units; The master device and the multiple slave devices are connected via a master-slave communication protocol, the master device and the multiple slave devices are electrically connected in series, the master device is located on one side of the series circuit, and a pressure difference test table is stored in the slave device; The master device is configured to send a startup instruction frame to the slave device, and assign addresses to the slave devices according to the order in which the slave devices send allocation address request frames, wherein the startup instruction frame includes a master device voltage value and the number of slave devices; The slave device is configured to obtain its own voltage value, calculate the voltage difference between the master device voltage value and its own voltage value, and determine the order in which the slave devices send allocation address request frames according to the voltage difference, the number of slave devices and the voltage difference test table.
2. The photovoltaic tracking control system according to claim 1, characterized in that: The voltage difference test table includes: when different numbers of slave devices are connected to the master device, each time a slave device is added, the voltage difference between the voltage value of the slave device at each position in the series circuit and the voltage value of the master device.
3. The photovoltaic tracking control system according to claim 2, characterized in that: Determining the order in which the slave devices send allocation address request frames according to the pressure difference, the number of the slave devices, and the pressure difference test table includes: Look up the pressure difference test table according to the pressure difference and the number of the slave devices to determine the position of the slave device in the series circuit; When the slave device is located at the nth slave device in the series circuit, the address allocation request frame is sent after the nth time interval, where n≥1.
4. The photovoltaic tracking control system according to claim 1, characterized in that: Allocating an address to the slave device includes: The master device sends an address allocation frame according to the order in which the slave devices send the address allocation request frames, wherein the address allocation frame includes a serial number of the slave device and an allocated address number; After receiving the address allocation frame, the multiple slave devices each verify whether the serial number of the slave device in the address allocation frame is consistent with its own serial number. The slave device that succeeds in the verification sets its address to the allocated address number.
5. The photovoltaic tracking control system according to claim 4, characterized in that: Also includes: The slave device that succeeds in verification sends a configuration success response frame; After receiving the configuration success response frame, the master device sends a next address allocation frame and sets the allocated address number in the next address allocation frame to be increased by 1.
6. The photovoltaic tracking control system according to claim 5, characterized in that: Also includes: After receiving the configuration success response frame, the master device sets the number of devices to be assigned addresses to be reduced by 1 and the number of devices to be assigned addresses to be increased by 1, and the initial value of the number of devices to be assigned addresses is equal to the number of slave devices.
7. The photovoltaic tracking control system according to claim 6, characterized in that: Also includes: Before allocating an address to the slave device, the master device determines whether the number of received address allocation request frames is equal to the number of devices to be allocated addresses. If so, the master device allocates an address to the slave device. If not, the master device determines whether the waiting time after sending the start instruction frame is equal to the number of slave devices multiplied by the time interval. If so, the master device allocates an address to the slave device.
8. The photovoltaic tracking control system according to claim 7, characterized in that: Also includes: Determine whether the number of devices with allocated addresses is equal to the number of the allocation address request frames received by the master device. If so, determine whether the number of devices with to-be-allocated addresses is equal to 0. If not, resend the startup instruction frame.
9. An address allocation method, applied to the photovoltaic tracking control system according to any one of claims 1 to 8, characterized in that: include: The master device sends a startup instruction frame to the slave device, wherein the startup instruction frame includes the master device voltage value and the number of slave devices; The slave device obtains its own voltage value, calculates the voltage difference between the voltage value of the master device and the voltage value of the slave device, and determines the order in which the slave device sends the allocation address request frame according to the voltage difference, the number of the slave devices and the voltage difference test table; The master device allocates addresses to the slave devices according to the order in which the slave devices send the allocation address request frames.
10. A computer-readable medium storing computer program code, characterized in that: The computer program code implements the address allocation method according to claim 9 when executed by a processor.